diff --git a/api/__init__.py b/api/__init__.py index 728be15a..b62d35de 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -684,9 +684,9 @@ class LoLLMsAPPI(LollmsApplication): else: break - link_text = self.personality.link_text + link_text = "\n" #self.personality.link_text if not is_continue: - self.full_message_list.append("\n"+self.config.discussion_prompt_separator +message["sender"].replace(":","")+": "+message["content"].strip()+self.personality.link_text+self.personality.ai_message_prefix) + self.full_message_list.append("\n"+self.config.discussion_prompt_separator +message["sender"].replace(":","")+": "+message["content"].strip()+link_text+self.personality.ai_message_prefix) else: self.full_message_list.append("\n"+self.config.discussion_prompt_separator +message["sender"].replace(":","")+": "+message["content"].strip()) @@ -706,6 +706,7 @@ class LoLLMsAPPI(LollmsApplication): if self.config["debug"]: ASCIIColors.yellow(discussion_messages) + ASCIIColors.yellow(f"prompt size:{len(tokens)} tokens") return discussion_messages, message["content"], tokens @@ -722,7 +723,7 @@ class LoLLMsAPPI(LollmsApplication): else: self.full_message_list.append(ump + message["content"]) - link_text = self.personality.link_text + link_text = "\n"# self.personality.link_text if len(self.full_message_list) > self.config["nb_messages_to_remember"]: discussion_messages = self.personality.personality_conditioning+ link_text.join(self.full_message_list[-self.config["nb_messages_to_remember"]:]) @@ -785,6 +786,7 @@ class LoLLMsAPPI(LollmsApplication): "user_message_id": self.current_user_message_id, "ai_message_id": self.current_ai_message_id, 'finished_generating_at': self.current_discussion.current_message_finished_generating_at, + 'metadata':metadata }, room=client_id ) return False @@ -798,6 +800,7 @@ class LoLLMsAPPI(LollmsApplication): "user_message_id": self.current_user_message_id, "ai_message_id": self.current_ai_message_id, 'finished_generating_at': self.current_discussion.current_message_finished_generating_at, + 'metadata':metadata }, room=client_id ) self.socketio.sleep(0.01) @@ -822,6 +825,7 @@ class LoLLMsAPPI(LollmsApplication): 'discussion_id':self.current_discussion.discussion_id, 'message_type': message_type.value, 'finished_generating_at': self.current_discussion.current_message_finished_generating_at, + 'metadata':metadata }, room=client_id ) self.socketio.sleep(0.01) @@ -835,6 +839,7 @@ class LoLLMsAPPI(LollmsApplication): 'discussion_id':self.current_discussion.discussion_id, 'message_type': message_type.value, 'finished_generating_at': self.current_discussion.current_message_finished_generating_at, + 'metadata':metadata }, room=client_id ) self.socketio.sleep(0.01) diff --git a/configs/config.yaml b/configs/config.yaml index c7131447..eff35ae5 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Models Configuration file =========================== -version: 15 +version: 16 binding_name: null model_name: null @@ -45,4 +45,5 @@ auto_update: false audio_in_language: 'en-US' audio_out_voice: null auto_speak: false +audio_pitch: 1 silenceTimer: 5000 \ No newline at end of file diff --git a/restart_script.py b/restart_script.py index aa8f79b6..f8cbac6b 100644 --- a/restart_script.py +++ b/restart_script.py @@ -2,8 +2,8 @@ import os import sys def main(): - if len(sys.argv) != 2: - print("Usage: python restart_script.py ") + if len(sys.argv) != 1: + print("Usage: python restart_script.py") sys.exit(1) # Reload the main script with the original arguments diff --git a/web/dist/assets/index-b5959380.js b/web/dist/assets/index-04dfca4a.js similarity index 63% rename from web/dist/assets/index-b5959380.js rename to web/dist/assets/index-04dfca4a.js index 290370b0..145dbfdb 100644 --- a/web/dist/assets/index-b5959380.js +++ b/web/dist/assets/index-04dfca4a.js @@ -1,36 +1,36 @@ -(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 xl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Ct(t){if(Ce(t)){const e={};for(let n=0;n{if(n){const s=n.split(xm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Te(t){let e="";if(Qe(t))e=t;else if(Ce(t))for(let n=0;nNo(n,e))}const V=t=>Qe(t)?t:t==null?"":Ce(t)||Ve(t)&&(t.toString===zh||!Oe(t.toString))?JSON.stringify(t,$h,2):String(t),$h=(t,e)=>e&&e.__v_isRef?$h(t,e.value):bs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Bs(e)?{[`Set(${e.size})`]:[...e.values()]}:Ve(e)&&!Ce(e)&&!Uh(e)?String(e):e,Ke={},_s=[],Pt=()=>{},Tm=()=>!1,Mm=/^on[^a-z]/,zr=t=>Mm.test(t),El=t=>t.startsWith("onUpdate:"),ot=Object.assign,Cl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Om=Object.prototype.hasOwnProperty,Pe=(t,e)=>Om.call(t,e),Ce=Array.isArray,bs=t=>$s(t)==="[object Map]",Bs=t=>$s(t)==="[object Set]",Mc=t=>$s(t)==="[object Date]",Rm=t=>$s(t)==="[object RegExp]",Oe=t=>typeof t=="function",Qe=t=>typeof t=="string",po=t=>typeof t=="symbol",Ve=t=>t!==null&&typeof t=="object",jh=t=>Ve(t)&&Oe(t.then)&&Oe(t.catch),zh=Object.prototype.toString,$s=t=>zh.call(t),Nm=t=>$s(t).slice(8,-1),Uh=t=>$s(t)==="[object Object]",Al=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,or=xl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ur=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Dm=/-(\w)/g,Zt=Ur(t=>t.replace(Dm,(e,n)=>n?n.toUpperCase():"")),Lm=/\B([A-Z])/g,ts=Ur(t=>t.replace(Lm,"-$1").toLowerCase()),qr=Ur(t=>t.charAt(0).toUpperCase()+t.slice(1)),ki=Ur(t=>t?`on${qr(t)}`:""),go=(t,e)=>!Object.is(t,e),ys=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},br=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Im=t=>{const e=Qe(t)?Number(t):NaN;return isNaN(e)?t:e};let Oc;const Pm=()=>Oc||(Oc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Nt;class Fm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!e&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Nt;try{return Nt=this,e()}finally{Nt=n}}}on(){Nt=this}off(){Nt=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},qh=t=>(t.w&On)>0,Hh=t=>(t.n&On)>0,jm=({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":Ce(t)?Al(n)&&a.push(i.get("length")):(a.push(i.get(Kn)),bs(t)&&a.push(i.get(ja)));break;case"delete":Ce(t)||(a.push(i.get(Kn)),bs(t)&&a.push(i.get(ja)));break;case"set":bs(t)&&a.push(i.get(Kn));break}if(a.length===1)a[0]&&za(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);za(Sl(l))}}function za(t,e){const n=Ce(t)?t:[...t];for(const s of n)s.computed&&Nc(s);for(const s of n)s.computed||Nc(s)}function Nc(t,e){(t!==Lt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Um=xl("__proto__,__v_isRef,__isVue"),Kh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(po)),qm=Ml(),Hm=Ml(!1,!0),Vm=Ml(!0),Dc=Gm();function Gm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=$e(this);for(let r=0,i=this.length;r{t[e]=function(...n){js();const s=$e(this)[e].apply(this,n);return zs(),s}}),t}function Km(t){const e=$e(this);return gt(e,"has",t),e.hasOwnProperty(t)}function Ml(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?c_:Jh:e?Qh:Yh).get(s))return s;const i=Ce(s);if(!t){if(i&&Pe(Dc,o))return Reflect.get(Dc,o,r);if(o==="hasOwnProperty")return Km}const a=Reflect.get(s,o,r);return(po(o)?Kh.has(o):Um(o))||(t||gt(s,"get",o),e)?a:ut(a)?i&&Al(o)?a:a.value:Ve(a)?t?Xh(a):Us(a):a}}const Wm=Wh(),Zm=Wh(!0);function Wh(t=!1){return function(n,s,o,r){let i=n[s];if(Es(i)&&ut(i)&&!ut(o))return!1;if(!t&&(!yr(o)&&!Es(o)&&(i=$e(i),o=$e(o)),!Ce(n)&&ut(i)&&!ut(o)))return i.value=o,!0;const a=Ce(n)&&Al(s)?Number(s)t,Hr=t=>Reflect.getPrototypeOf(t);function jo(t,e,n=!1,s=!1){t=t.__v_raw;const o=$e(t),r=$e(e);n||(e!==r&>(o,"get",e),gt(o,"get",r));const{has:i}=Hr(o),a=s?Ol:n?Dl:mo;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 zo(t,e=!1){const n=this.__v_raw,s=$e(n),o=$e(t);return e||(t!==o&>(s,"has",t),gt(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Uo(t,e=!1){return t=t.__v_raw,!e&>($e(t),"iterate",Kn),Reflect.get(t,"size",t)}function Lc(t){t=$e(t);const e=$e(this);return Hr(e).has.call(e,t)||(e.add(t),rn(e,"add",t,t)),this}function Ic(t,e){e=$e(e);const n=$e(this),{has:s,get:o}=Hr(n);let r=s.call(n,t);r||(t=$e(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?go(e,i)&&rn(n,"set",t,e):rn(n,"add",t,e),this}function Pc(t){const e=$e(this),{has:n,get:s}=Hr(e);let o=n.call(e,t);o||(t=$e(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&rn(e,"delete",t,void 0),r}function Fc(){const t=$e(this),e=t.size!==0,n=t.clear();return e&&rn(t,"clear",void 0,void 0),n}function qo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=$e(i),l=e?Ol:t?Dl:mo;return!t&>(a,"iterate",Kn),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function Ho(t,e,n){return function(...s){const o=this.__v_raw,r=$e(o),i=bs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?Ol:e?Dl:mo;return!e&>(r,"iterate",l?ja:Kn),{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 hn(t){return function(...e){return t==="delete"?!1:this}}function t_(){const t={get(r){return jo(this,r)},get size(){return Uo(this)},has:zo,add:Lc,set:Ic,delete:Pc,clear:Fc,forEach:qo(!1,!1)},e={get(r){return jo(this,r,!1,!0)},get size(){return Uo(this)},has:zo,add:Lc,set:Ic,delete:Pc,clear:Fc,forEach:qo(!1,!0)},n={get(r){return jo(this,r,!0)},get size(){return Uo(this,!0)},has(r){return zo.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:qo(!0,!1)},s={get(r){return jo(this,r,!0,!0)},get size(){return Uo(this,!0)},has(r){return zo.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:qo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Ho(r,!1,!1),n[r]=Ho(r,!0,!1),e[r]=Ho(r,!1,!0),s[r]=Ho(r,!0,!0)}),[t,n,e,s]}const[n_,s_,o_,r_]=t_();function Rl(t,e){const n=e?t?r_:o_:t?s_:n_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Pe(n,o)&&o in s?n:s,o,r)}const i_={get:Rl(!1,!1)},a_={get:Rl(!1,!0)},l_={get:Rl(!0,!1)},Yh=new WeakMap,Qh=new WeakMap,Jh=new WeakMap,c_=new WeakMap;function u_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function d_(t){return t.__v_skip||!Object.isExtensible(t)?0:u_(Nm(t))}function Us(t){return Es(t)?t:Nl(t,!1,Zh,i_,Yh)}function h_(t){return Nl(t,!1,e_,a_,Qh)}function Xh(t){return Nl(t,!0,Xm,l_,Jh)}function Nl(t,e,n,s,o){if(!Ve(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=d_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function vs(t){return Es(t)?vs(t.__v_raw):!!(t&&t.__v_isReactive)}function Es(t){return!!(t&&t.__v_isReadonly)}function yr(t){return!!(t&&t.__v_isShallow)}function ef(t){return vs(t)||Es(t)}function $e(t){const e=t&&t.__v_raw;return e?$e(e):t}function tf(t){return _r(t,"__v_skip",!0),t}const mo=t=>Ve(t)?Us(t):t,Dl=t=>Ve(t)?Xh(t):t;function nf(t){Tn&&Lt&&(t=$e(t),Gh(t.dep||(t.dep=Sl())))}function sf(t,e){t=$e(t);const n=t.dep;n&&za(n)}function ut(t){return!!(t&&t.__v_isRef===!0)}function f_(t){return of(t,!1)}function p_(t){return of(t,!0)}function of(t,e){return ut(t)?t:new g_(t,e)}class g_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:$e(e),this._value=n?e:mo(e)}get value(){return nf(this),this._value}set value(e){const n=this.__v_isShallow||yr(e)||Es(e);e=n?e:$e(e),go(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:mo(e),sf(this))}}function ht(t){return ut(t)?t.value:t}const m_={get:(t,e,n)=>ht(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ut(o)&&!ut(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function rf(t){return vs(t)?t:new Proxy(t,m_)}var af;class __{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[af]=!1,this._dirty=!0,this.effect=new Tl(e,()=>{this._dirty||(this._dirty=!0,sf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=$e(this);return nf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}af="__v_isReadonly";function b_(t,e,n=!1){let s,o;const r=Oe(t);return r?(s=t,o=Pt):(s=t.get,o=t.set),new __(s,o,r||!o,n)}function Mn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Vr(r,e,n)}return o}function At(t,e,n,s){if(Oe(t)){const r=Mn(t,e,n,s);return r&&jh(r)&&r.catch(i=>{Vr(i,e,n)}),r}const o=[];for(let r=0;r>>1;bo(ct[s])zt&&ct.splice(e,1)}function x_(t){Ce(t)?ws.push(...t):(!nn||!nn.includes(t,t.allowRecurse?jn+1:jn))&&ws.push(t),cf()}function Bc(t,e=_o?zt+1:0){for(;ebo(n)-bo(s)),jn=0;jnt.id==null?1/0:t.id,k_=(t,e)=>{const n=bo(t)-bo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function df(t){Ua=!1,_o=!0,ct.sort(k_);const e=Pt;try{for(zt=0;ztQe(g)?g.trim():g)),h&&(o=n.map(br))}let a,l=s[a=ki(e)]||s[a=ki(Zt(e))];!l&&r&&(l=s[a=ki(ts(e))]),l&&At(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,At(c,t,6,o)}}function hf(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(!Oe(t)){const l=c=>{const u=hf(c,e,!0);u&&(a=!0,ot(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ve(t)&&s.set(t,null),null):(Ce(r)?r.forEach(l=>i[l]=null):ot(i,r),Ve(t)&&s.set(t,i),i)}function Gr(t,e){return!t||!zr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pe(t,e[0].toLowerCase()+e.slice(1))||Pe(t,ts(e))||Pe(t,e))}let it=null,Kr=null;function vr(t){const e=it;return it=t,Kr=t&&t.type.__scopeId||null,e}function ns(t){Kr=t}function ss(){Kr=null}function Be(t,e=it,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Wc(-1);const r=vr(e);let i;try{i=t(...o)}finally{vr(r),s._d&&Wc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ei(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:g,ctx:m,inheritAttrs:p}=t;let b,_;const y=vr(t);try{if(n.shapeFlag&4){const A=o||s;b=jt(u.call(A,A,h,r,g,f,m)),_=l}else{const A=e;b=jt(A.length>1?A(r,{attrs:l,slots:a,emit:c}):A(r,null)),_=e.props?l:C_(l)}}catch(A){ro.length=0,Vr(A,t,1),b=ge(St)}let x=b;if(_&&p!==!1){const A=Object.keys(_),{shapeFlag:R}=x;A.length&&R&7&&(i&&A.some(El)&&(_=A_(_,i)),x=an(x,_))}return n.dirs&&(x=an(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),b=x,vr(y),b}const C_=t=>{let e;for(const n in t)(n==="class"||n==="style"||zr(n))&&((e||(e={}))[n]=t[n]);return e},A_=(t,e)=>{const n={};for(const s in t)(!El(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function S_(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?$c(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function M_(t,e){e&&e.pendingBranch?Ce(t)?e.effects.push(...t):e.effects.push(t):x_(t)}function rr(t,e){if(Je){let n=Je.provides;const s=Je.parent&&Je.parent.provides;s===n&&(n=Je.provides=Object.create(s)),n[t]=e}}function sn(t,e,n=!1){const s=Je||it;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&&Oe(e)?e.call(s.proxy):e}}const Vo={};function Wn(t,e,n){return pf(t,e,n)}function pf(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ke){const a=$m()===(Je==null?void 0:Je.scope)?Je:null;let l,c=!1,u=!1;if(ut(t)?(l=()=>t.value,c=yr(t)):vs(t)?(l=()=>t,s=!0):Ce(t)?(u=!0,c=t.some(x=>vs(x)||yr(x)),l=()=>t.map(x=>{if(ut(x))return x.value;if(vs(x))return Vn(x);if(Oe(x))return Mn(x,a,2)})):Oe(t)?e?l=()=>Mn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Pt,e&&s){const x=l;l=()=>Vn(x())}let h,f=x=>{h=_.onStop=()=>{Mn(x,a,4)}},g;if(xo)if(f=Pt,e?n&&At(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=v1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Pt;let m=u?new Array(t.length).fill(Vo):Vo;const p=()=>{if(_.active)if(e){const x=_.run();(s||c||(u?x.some((A,R)=>go(A,m[R])):go(x,m)))&&(h&&h(),At(e,a,3,[x,m===Vo?void 0:u&&m[0]===Vo?[]:m,f]),m=x)}else _.run()};p.allowRecurse=!!e;let b;o==="sync"?b=p:o==="post"?b=()=>rt(p,a&&a.suspense):(p.pre=!0,a&&(p.id=a.uid),b=()=>Il(p));const _=new Tl(l,b);e?n?p():m=_.run():o==="post"?rt(_.run.bind(_),a&&a.suspense):_.run();const y=()=>{_.stop(),a&&a.scope&&Cl(a.scope.effects,_)};return g&&g.push(y),y}function O_(t,e,n){const s=this.proxy,o=Qe(t)?t.includes(".")?gf(s,t):()=>s[t]:t.bind(s,s);let r;Oe(e)?r=e:(r=e.handler,n=e);const i=Je;As(this);const a=pf(o,r.bind(s),n);return i?As(i):Zn(),a}function gf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Vn(n,e)});else if(Uh(t))for(const n in t)Vn(t[n],e);return t}function mf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yr(()=>{t.isMounted=!0}),Bl(()=>{t.isUnmounting=!0}),t}const vt=[Function,Array],R_={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=ql(),s=mf();let o;return()=>{const r=e.default&&Pl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const p of r)if(p.type!==St){i=p;break}}const a=$e(t),{mode:l}=a;if(s.isLeaving)return Ci(i);const c=jc(i);if(!c)return Ci(i);const u=yo(c,a,s,n);Cs(c,u);const h=n.subTree,f=h&&jc(h);let g=!1;const{getTransitionKey:m}=c.type;if(m){const p=m();o===void 0?o=p:p!==o&&(o=p,g=!0)}if(f&&f.type!==St&&(!Cn(c,f)||g)){const p=yo(f,a,s,n);if(Cs(f,p),l==="out-in")return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ci(i);l==="in-out"&&c.type!==St&&(p.delayLeave=(b,_,y)=>{const x=bf(s,f);x[String(f.key)]=f,b._leaveCb=()=>{_(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},_f=R_;function bf(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 yo(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:g,onLeaveCancelled:m,onBeforeAppear:p,onAppear:b,onAfterAppear:_,onAppearCancelled:y}=e,x=String(t.key),A=bf(n,t),R=(v,k)=>{v&&At(v,s,9,k)},O=(v,k)=>{const M=k[1];R(v,k),Ce(v)?v.every(L=>L.length<=1)&&M():v.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(v){let k=a;if(!n.isMounted)if(o)k=p||a;else return;v._leaveCb&&v._leaveCb(!0);const M=A[x];M&&Cn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),R(k,[v])},enter(v){let k=l,M=c,L=u;if(!n.isMounted)if(o)k=b||l,M=_||c,L=y||u;else return;let F=!1;const Q=v._enterCb=I=>{F||(F=!0,I?R(L,[v]):R(M,[v]),D.delayedLeave&&D.delayedLeave(),v._enterCb=void 0)};k?O(k,[v,Q]):Q()},leave(v,k){const M=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return k();R(h,[v]);let L=!1;const F=v._leaveCb=Q=>{L||(L=!0,k(),Q?R(m,[v]):R(g,[v]),v._leaveCb=void 0,A[M]===t&&delete A[M])};A[M]=t,f?O(f,[v,F]):F()},clone(v){return yo(v,e,n,s)}};return D}function Ci(t){if(Wr(t))return t=an(t),t.children=null,t}function jc(t){return Wr(t)?t.children?t.children[0]:void 0:t}function Cs(t,e){t.shapeFlag&6&&t.component?Cs(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 Pl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Wr=t=>t.type.__isKeepAlive,N_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=ql(),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,A,R,O)=>{const D=y.component;c(y,x,A,0,a),l(D.vnode,y,x,A,D,a,R,y.slotScopeIds,O),rt(()=>{D.isDeactivated=!1,D.a&&ys(D.a);const v=y.props&&y.props.onVnodeMounted;v&&wt(v,D.parent,y)},a)},s.deactivate=y=>{const x=y.component;c(y,f,null,1,a),rt(()=>{x.da&&ys(x.da);const A=y.props&&y.props.onVnodeUnmounted;A&&wt(A,x.parent,y),x.isDeactivated=!0},a)};function g(y){Ai(y),u(y,n,a,!0)}function m(y){o.forEach((x,A)=>{const R=Wa(x.type);R&&(!y||!y(R))&&p(A)})}function p(y){const x=o.get(y);!i||!Cn(x,i)?g(x):i&&Ai(i),o.delete(y),r.delete(y)}Wn(()=>[t.include,t.exclude],([y,x])=>{y&&m(A=>no(y,A)),x&&m(A=>!no(x,A))},{flush:"post",deep:!0});let b=null;const _=()=>{b!=null&&o.set(b,Si(n.subTree))};return Yr(_),Fl(_),Bl(()=>{o.forEach(y=>{const{subTree:x,suspense:A}=n,R=Si(x);if(y.type===R.type&&y.key===R.key){Ai(R);const O=R.component.da;O&&rt(O,A);return}g(y)})}),()=>{if(b=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!wo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let A=Si(x);const R=A.type,O=Wa(xs(A)?A.type.__asyncResolved||{}:R),{include:D,exclude:v,max:k}=t;if(D&&(!O||!no(D,O))||v&&O&&no(v,O))return i=A,x;const M=A.key==null?R:A.key,L=o.get(M);return A.el&&(A=an(A),x.shapeFlag&128&&(x.ssContent=A)),b=M,L?(A.el=L.el,A.component=L.component,A.transition&&Cs(A,A.transition),A.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),k&&r.size>parseInt(k,10)&&p(r.values().next().value)),A.shapeFlag|=256,i=A,ff(x.type)?x:A}}},D_=N_;function no(t,e){return Ce(t)?t.some(n=>no(n,e)):Qe(t)?t.split(",").includes(e):Rm(t)?t.test(e):!1}function L_(t,e){vf(t,"a",e)}function I_(t,e){vf(t,"da",e)}function vf(t,e,n=Je){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Zr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Wr(o.parent.vnode)&&P_(s,e,n,o),o=o.parent}}function P_(t,e,n,s){const o=Zr(e,t,s,!0);wf(()=>{Cl(s[e],o)},n)}function Ai(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Si(t){return t.shapeFlag&128?t.ssContent:t}function Zr(t,e,n=Je,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;js(),As(n);const a=At(e,n,t,i);return Zn(),zs(),a});return s?o.unshift(r):o.push(r),r}}const un=t=>(e,n=Je)=>(!xo||t==="sp")&&Zr(t,(...s)=>e(...s),n),F_=un("bm"),Yr=un("m"),B_=un("bu"),Fl=un("u"),Bl=un("bum"),wf=un("um"),$_=un("sp"),j_=un("rtg"),z_=un("rtc");function U_(t,e=Je){Zr("ec",t,e)}function we(t,e){const n=it;if(n===null)return t;const s=Xr(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;awo(e)?!(e.type===St||e.type===Me&&!Ef(e.children)):!0)?t:null}const qa=t=>t?If(t)?Xr(t)||t.proxy:qa(t.parent):null,oo=ot(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=>qa(t.parent),$root:t=>qa(t.root),$emit:t=>t.emit,$options:t=>jl(t),$forceUpdate:t=>t.f||(t.f=()=>Il(t.update)),$nextTick:t=>t.n||(t.n=_e.bind(t.proxy)),$watch:t=>O_.bind(t)}),Ti=(t,e)=>t!==Ke&&!t.__isScriptSetup&&Pe(t,e),H_={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 g=i[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(Ti(s,e))return i[e]=1,s[e];if(o!==Ke&&Pe(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Pe(c,e))return i[e]=3,r[e];if(n!==Ke&&Pe(n,e))return i[e]=4,n[e];Ha&&(i[e]=0)}}const u=oo[e];let h,f;if(u)return e==="$attrs"&>(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Ke&&Pe(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,Pe(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Ti(o,e)?(o[e]=n,!0):s!==Ke&&Pe(s,e)?(s[e]=n,!0):Pe(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!==Ke&&Pe(t,i)||Ti(e,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(oo,i)||Pe(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Pe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Ha=!0;function V_(t){const e=jl(t),n=t.proxy,s=t.ctx;Ha=!1,e.beforeCreate&&Uc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:f,beforeUpdate:g,updated:m,activated:p,deactivated:b,beforeDestroy:_,beforeUnmount:y,destroyed:x,unmounted:A,render:R,renderTracked:O,renderTriggered:D,errorCaptured:v,serverPrefetch:k,expose:M,inheritAttrs:L,components:F,directives:Q,filters:I}=e;if(c&&G_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const q=i[T];Oe(q)&&(s[T]=q.bind(n))}if(o){const T=o.call(n,n);Ve(T)&&(t.data=Us(T))}if(Ha=!0,r)for(const T in r){const q=r[T],G=Oe(q)?q.bind(n,n):Oe(q.get)?q.get.bind(n,n):Pt,ye=!Oe(q)&&Oe(q.set)?q.set.bind(n):Pt,me=Et({get:G,set:ye});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>me.value,set:ee=>me.value=ee})}if(a)for(const T in a)Cf(a[T],s,n,T);if(l){const T=Oe(l)?l.call(n):l;Reflect.ownKeys(T).forEach(q=>{rr(q,T[q])})}u&&Uc(u,t,"c");function Z(T,q){Ce(q)?q.forEach(G=>T(G.bind(n))):q&&T(q.bind(n))}if(Z(F_,h),Z(Yr,f),Z(B_,g),Z(Fl,m),Z(L_,p),Z(I_,b),Z(U_,v),Z(z_,O),Z(j_,D),Z(Bl,y),Z(wf,A),Z($_,k),Ce(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(q=>{Object.defineProperty(T,q,{get:()=>n[q],set:G=>n[q]=G})})}else t.exposed||(t.exposed={});R&&t.render===Pt&&(t.render=R),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Q&&(t.directives=Q)}function G_(t,e,n=Pt,s=!1){Ce(t)&&(t=Va(t));for(const o in t){const r=t[o];let i;Ve(r)?"default"in r?i=sn(r.from||o,r.default,!0):i=sn(r.from||o):i=sn(r),ut(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Uc(t,e,n){At(Ce(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Cf(t,e,n,s){const o=s.includes(".")?gf(n,s):()=>n[s];if(Qe(t)){const r=e[t];Oe(r)&&Wn(o,r)}else if(Oe(t))Wn(o,t.bind(n));else if(Ve(t))if(Ce(t))t.forEach(r=>Cf(r,e,n,s));else{const r=Oe(t.handler)?t.handler.bind(n):e[t.handler];Oe(r)&&Wn(o,r,t)}}function jl(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=>xr(l,c,i,!0)),xr(l,e,i)),Ve(e)&&r.set(e,l),l}function xr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&xr(t,r,n,!0),o&&o.forEach(i=>xr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=K_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const K_={data:qc,props:Bn,emits:Bn,methods:Bn,computed:Bn,beforeCreate:dt,created:dt,beforeMount:dt,mounted:dt,beforeUpdate:dt,updated:dt,beforeDestroy:dt,beforeUnmount:dt,destroyed:dt,unmounted:dt,activated:dt,deactivated:dt,errorCaptured:dt,serverPrefetch:dt,components:Bn,directives:Bn,watch:Z_,provide:qc,inject:W_};function qc(t,e){return e?t?function(){return ot(Oe(t)?t.call(this,this):t,Oe(e)?e.call(this,this):e)}:e:t}function W_(t,e){return Bn(Va(t),Va(e))}function Va(t){if(Ce(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,g]=Sf(h,e,!0);ot(i,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Ve(t)&&s.set(t,_s),_s;if(Ce(r))for(let u=0;u-1,g[1]=p<0||m-1||Pe(g,"default"))&&a.push(h)}}}const c=[i,a];return Ve(t)&&s.set(t,c),c}function Hc(t){return t[0]!=="$"}function Vc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Gc(t,e){return Vc(t)===Vc(e)}function Kc(t,e){return Ce(e)?e.findIndex(n=>Gc(n,t)):Oe(e)&&Gc(e,t)?0:-1}const Tf=t=>t[0]==="_"||t==="$stable",zl=t=>Ce(t)?t.map(jt):[jt(t)],J_=(t,e,n)=>{if(e._n)return e;const s=Be((...o)=>zl(e(...o)),n);return s._c=!1,s},Mf=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Tf(o))continue;const r=t[o];if(Oe(r))e[o]=J_(o,r,s);else if(r!=null){const i=zl(r);e[o]=()=>i}}},Of=(t,e)=>{const n=zl(e);t.slots.default=()=>n},X_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=$e(e),_r(e,"_",n)):Mf(e,t.slots={})}else t.slots={},e&&Of(t,e);_r(t.slots,Jr,1)},e1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ke;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(ot(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Mf(e,o)),i=e}else e&&(Of(t,e),i={default:1});if(r)for(const a in o)!Tf(a)&&!(a in i)&&delete o[a]};function Rf(){return{app:null,config:{isNativeTag:Tm,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 t1=0;function n1(t,e){return function(s,o=null){Oe(s)||(s=Object.assign({},s)),o!=null&&!Ve(o)&&(o=null);const r=Rf(),i=new Set;let a=!1;const l=r.app={_uid:t1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:w1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Oe(c.install)?(i.add(c),c.install(l,...u)):Oe(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=ge(s,o);return f.appContext=r,u&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,Xr(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 Ka(t,e,n,s,o=!1){if(Ce(t)){t.forEach((f,g)=>Ka(f,e&&(Ce(e)?e[g]:e),n,s,o));return}if(xs(s)&&!o)return;const r=s.shapeFlag&4?Xr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ke?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(Qe(c)?(u[c]=null,Pe(h,c)&&(h[c]=null)):ut(c)&&(c.value=null)),Oe(l))Mn(l,a,12,[i,u]);else{const f=Qe(l),g=ut(l);if(f||g){const m=()=>{if(t.f){const p=f?Pe(h,l)?h[l]:u[l]:l.value;o?Ce(p)&&Cl(p,r):Ce(p)?p.includes(r)||p.push(r):f?(u[l]=[r],Pe(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,Pe(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(m.id=-1,rt(m,n)):m()}}}const rt=M_;function s1(t){return o1(t)}function o1(t,e){const n=Pm();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:g=Pt,insertStaticContent:m}=t,p=(w,C,P,$=null,j=null,ne=null,re=!1,z=null,se=!!C.dynamicChildren)=>{if(w===C)return;w&&!Cn(w,C)&&($=H(w),ee(w,j,ne,!0),w=null),C.patchFlag===-2&&(se=!1,C.dynamicChildren=null);const{type:U,ref:Y,shapeFlag:ie}=C;switch(U){case Qr:b(w,C,P,$);break;case St:_(w,C,P,$);break;case ir:w==null&&y(C,P,$,re);break;case Me:F(w,C,P,$,j,ne,re,z,se);break;default:ie&1?R(w,C,P,$,j,ne,re,z,se):ie&6?Q(w,C,P,$,j,ne,re,z,se):(ie&64||ie&128)&&U.process(w,C,P,$,j,ne,re,z,se,X)}Y!=null&&j&&Ka(Y,w&&w.ref,ne,C||w,!C)},b=(w,C,P,$)=>{if(w==null)s(C.el=a(C.children),P,$);else{const j=C.el=w.el;C.children!==w.children&&c(j,C.children)}},_=(w,C,P,$)=>{w==null?s(C.el=l(C.children||""),P,$):C.el=w.el},y=(w,C,P,$)=>{[w.el,w.anchor]=m(w.children,C,P,$,w.el,w.anchor)},x=({el:w,anchor:C},P,$)=>{let j;for(;w&&w!==C;)j=f(w),s(w,P,$),w=j;s(C,P,$)},A=({el:w,anchor:C})=>{let P;for(;w&&w!==C;)P=f(w),o(w),w=P;o(C)},R=(w,C,P,$,j,ne,re,z,se)=>{re=re||C.type==="svg",w==null?O(C,P,$,j,ne,re,z,se):k(w,C,j,ne,re,z,se)},O=(w,C,P,$,j,ne,re,z)=>{let se,U;const{type:Y,props:ie,shapeFlag:he,transition:de,dirs:ke}=w;if(se=w.el=i(w.type,ne,ie&&ie.is,ie),he&8?u(se,w.children):he&16&&v(w.children,se,null,$,j,ne&&Y!=="foreignObject",re,z),ke&&Ln(w,null,$,"created"),D(se,w,w.scopeId,re,$),ie){for(const oe in ie)oe!=="value"&&!or(oe)&&r(se,oe,null,ie[oe],ne,w.children,$,j,J);"value"in ie&&r(se,"value",null,ie.value),(U=ie.onVnodeBeforeMount)&&wt(U,$,w)}ke&&Ln(w,null,$,"beforeMount");const W=(!j||j&&!j.pendingBranch)&&de&&!de.persisted;W&&de.beforeEnter(se),s(se,C,P),((U=ie&&ie.onVnodeMounted)||W||ke)&&rt(()=>{U&&wt(U,$,w),W&&de.enter(se),ke&&Ln(w,null,$,"mounted")},j)},D=(w,C,P,$,j)=>{if(P&&g(w,P),$)for(let ne=0;ne<$.length;ne++)g(w,$[ne]);if(j){let ne=j.subTree;if(C===ne){const re=j.vnode;D(w,re,re.scopeId,re.slotScopeIds,j.parent)}}},v=(w,C,P,$,j,ne,re,z,se=0)=>{for(let U=se;U{const z=C.el=w.el;let{patchFlag:se,dynamicChildren:U,dirs:Y}=C;se|=w.patchFlag&16;const ie=w.props||Ke,he=C.props||Ke;let de;P&&In(P,!1),(de=he.onVnodeBeforeUpdate)&&wt(de,P,C,w),Y&&Ln(C,w,P,"beforeUpdate"),P&&In(P,!0);const ke=j&&C.type!=="foreignObject";if(U?M(w.dynamicChildren,U,z,P,$,ke,ne):re||q(w,C,z,null,P,$,ke,ne,!1),se>0){if(se&16)L(z,C,ie,he,P,$,j);else if(se&2&&ie.class!==he.class&&r(z,"class",null,he.class,j),se&4&&r(z,"style",ie.style,he.style,j),se&8){const W=C.dynamicProps;for(let oe=0;oe{de&&wt(de,P,C,w),Y&&Ln(C,w,P,"updated")},$)},M=(w,C,P,$,j,ne,re)=>{for(let z=0;z{if(P!==$){if(P!==Ke)for(const z in P)!or(z)&&!(z in $)&&r(w,z,P[z],null,re,C.children,j,ne,J);for(const z in $){if(or(z))continue;const se=$[z],U=P[z];se!==U&&z!=="value"&&r(w,z,U,se,re,C.children,j,ne,J)}"value"in $&&r(w,"value",P.value,$.value)}},F=(w,C,P,$,j,ne,re,z,se)=>{const U=C.el=w?w.el:a(""),Y=C.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:he,slotScopeIds:de}=C;de&&(z=z?z.concat(de):de),w==null?(s(U,P,$),s(Y,P,$),v(C.children,P,Y,j,ne,re,z,se)):ie>0&&ie&64&&he&&w.dynamicChildren?(M(w.dynamicChildren,he,P,j,ne,re,z),(C.key!=null||j&&C===j.subTree)&&Nf(w,C,!0)):q(w,C,P,Y,j,ne,re,z,se)},Q=(w,C,P,$,j,ne,re,z,se)=>{C.slotScopeIds=z,w==null?C.shapeFlag&512?j.ctx.activate(C,P,$,re,se):I(C,P,$,j,ne,re,se):le(w,C,se)},I=(w,C,P,$,j,ne,re)=>{const z=w.component=f1(w,$,j);if(Wr(w)&&(z.ctx.renderer=X),p1(z),z.asyncDep){if(j&&j.registerDep(z,Z),!w.el){const se=z.subTree=ge(St);_(null,se,C,P)}return}Z(z,w,C,P,j,ne,re)},le=(w,C,P)=>{const $=C.component=w.component;if(S_(w,C,P))if($.asyncDep&&!$.asyncResolved){T($,C,P);return}else $.next=C,w_($.update),$.update();else C.el=w.el,$.vnode=C},Z=(w,C,P,$,j,ne,re)=>{const z=()=>{if(w.isMounted){let{next:Y,bu:ie,u:he,parent:de,vnode:ke}=w,W=Y,oe;In(w,!1),Y?(Y.el=ke.el,T(w,Y,re)):Y=ke,ie&&ys(ie),(oe=Y.props&&Y.props.onVnodeBeforeUpdate)&&wt(oe,de,Y,ke),In(w,!0);const pe=Ei(w),Se=w.subTree;w.subTree=pe,p(Se,pe,h(Se.el),H(Se),w,j,ne),Y.el=pe.el,W===null&&T_(w,pe.el),he&&rt(he,j),(oe=Y.props&&Y.props.onVnodeUpdated)&&rt(()=>wt(oe,de,Y,ke),j)}else{let Y;const{el:ie,props:he}=C,{bm:de,m:ke,parent:W}=w,oe=xs(C);if(In(w,!1),de&&ys(de),!oe&&(Y=he&&he.onVnodeBeforeMount)&&wt(Y,W,C),In(w,!0),ie&&ue){const pe=()=>{w.subTree=Ei(w),ue(ie,w.subTree,w,j,null)};oe?C.type.__asyncLoader().then(()=>!w.isUnmounted&&pe()):pe()}else{const pe=w.subTree=Ei(w);p(null,pe,P,$,w,j,ne),C.el=pe.el}if(ke&&rt(ke,j),!oe&&(Y=he&&he.onVnodeMounted)){const pe=C;rt(()=>wt(Y,W,pe),j)}(C.shapeFlag&256||W&&xs(W.vnode)&&W.vnode.shapeFlag&256)&&w.a&&rt(w.a,j),w.isMounted=!0,C=P=$=null}},se=w.effect=new Tl(z,()=>Il(U),w.scope),U=w.update=()=>se.run();U.id=w.uid,In(w,!0),U()},T=(w,C,P)=>{C.component=w;const $=w.vnode.props;w.vnode=C,w.next=null,Q_(w,C.props,$,P),e1(w,C.children,P),js(),Bc(),zs()},q=(w,C,P,$,j,ne,re,z,se=!1)=>{const U=w&&w.children,Y=w?w.shapeFlag:0,ie=C.children,{patchFlag:he,shapeFlag:de}=C;if(he>0){if(he&128){ye(U,ie,P,$,j,ne,re,z,se);return}else if(he&256){G(U,ie,P,$,j,ne,re,z,se);return}}de&8?(Y&16&&J(U,j,ne),ie!==U&&u(P,ie)):Y&16?de&16?ye(U,ie,P,$,j,ne,re,z,se):J(U,j,ne,!0):(Y&8&&u(P,""),de&16&&v(ie,P,$,j,ne,re,z,se))},G=(w,C,P,$,j,ne,re,z,se)=>{w=w||_s,C=C||_s;const U=w.length,Y=C.length,ie=Math.min(U,Y);let he;for(he=0;heY?J(w,j,ne,!0,!1,ie):v(C,P,$,j,ne,re,z,se,ie)},ye=(w,C,P,$,j,ne,re,z,se)=>{let U=0;const Y=C.length;let ie=w.length-1,he=Y-1;for(;U<=ie&&U<=he;){const de=w[U],ke=C[U]=se?bn(C[U]):jt(C[U]);if(Cn(de,ke))p(de,ke,P,null,j,ne,re,z,se);else break;U++}for(;U<=ie&&U<=he;){const de=w[ie],ke=C[he]=se?bn(C[he]):jt(C[he]);if(Cn(de,ke))p(de,ke,P,null,j,ne,re,z,se);else break;ie--,he--}if(U>ie){if(U<=he){const de=he+1,ke=dehe)for(;U<=ie;)ee(w[U],j,ne,!0),U++;else{const de=U,ke=U,W=new Map;for(U=ke;U<=he;U++){const tt=C[U]=se?bn(C[U]):jt(C[U]);tt.key!=null&&W.set(tt.key,U)}let oe,pe=0;const Se=he-ke+1;let Ie=!1,He=0;const De=new Array(Se);for(U=0;U=Se){ee(tt,j,ne,!0);continue}let at;if(tt.key!=null)at=W.get(tt.key);else for(oe=ke;oe<=he;oe++)if(De[oe-ke]===0&&Cn(tt,C[oe])){at=oe;break}at===void 0?ee(tt,j,ne,!0):(De[at-ke]=U+1,at>=He?He=at:Ie=!0,p(tt,C[at],P,null,j,ne,re,z,se),pe++)}const Xe=Ie?r1(De):_s;for(oe=Xe.length-1,U=Se-1;U>=0;U--){const tt=ke+U,at=C[tt],Tc=tt+1{const{el:ne,type:re,transition:z,children:se,shapeFlag:U}=w;if(U&6){me(w.component.subTree,C,P,$);return}if(U&128){w.suspense.move(C,P,$);return}if(U&64){re.move(w,C,P,X);return}if(re===Me){s(ne,C,P);for(let ie=0;iez.enter(ne),j);else{const{leave:ie,delayLeave:he,afterLeave:de}=z,ke=()=>s(ne,C,P),W=()=>{ie(ne,()=>{ke(),de&&de()})};he?he(ne,ke,W):W()}else s(ne,C,P)},ee=(w,C,P,$=!1,j=!1)=>{const{type:ne,props:re,ref:z,children:se,dynamicChildren:U,shapeFlag:Y,patchFlag:ie,dirs:he}=w;if(z!=null&&Ka(z,null,P,w,!0),Y&256){C.ctx.deactivate(w);return}const de=Y&1&&he,ke=!xs(w);let W;if(ke&&(W=re&&re.onVnodeBeforeUnmount)&&wt(W,C,w),Y&6)N(w.component,P,$);else{if(Y&128){w.suspense.unmount(P,$);return}de&&Ln(w,null,C,"beforeUnmount"),Y&64?w.type.remove(w,C,P,j,X,$):U&&(ne!==Me||ie>0&&ie&64)?J(U,C,P,!1,!0):(ne===Me&&ie&384||!j&&Y&16)&&J(se,C,P),$&&xe(w)}(ke&&(W=re&&re.onVnodeUnmounted)||de)&&rt(()=>{W&&wt(W,C,w),de&&Ln(w,null,C,"unmounted")},P)},xe=w=>{const{type:C,el:P,anchor:$,transition:j}=w;if(C===Me){Ae(P,$);return}if(C===ir){A(w);return}const ne=()=>{o(P),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(w.shapeFlag&1&&j&&!j.persisted){const{leave:re,delayLeave:z}=j,se=()=>re(P,ne);z?z(w.el,ne,se):se()}else ne()},Ae=(w,C)=>{let P;for(;w!==C;)P=f(w),o(w),w=P;o(C)},N=(w,C,P)=>{const{bum:$,scope:j,update:ne,subTree:re,um:z}=w;$&&ys($),j.stop(),ne&&(ne.active=!1,ee(re,w,C,P)),z&&rt(z,C),rt(()=>{w.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},J=(w,C,P,$=!1,j=!1,ne=0)=>{for(let re=ne;rew.shapeFlag&6?H(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),te=(w,C,P)=>{w==null?C._vnode&&ee(C._vnode,null,null,!0):p(C._vnode||null,w,C,null,null,null,P),Bc(),uf(),C._vnode=w},X={p,um:ee,m:me,r:xe,mt:I,mc:v,pc:q,pbc:M,n:H,o:t};let fe,ue;return e&&([fe,ue]=e(X)),{render:te,hydrate:fe,createApp:n1(te,fe)}}function In({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Nf(t,e,n=!1){const s=t.children,o=e.children;if(Ce(s)&&Ce(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 i1=t=>t.__isTeleport,Me=Symbol(void 0),Qr=Symbol(void 0),St=Symbol(void 0),ir=Symbol(void 0),ro=[];let It=null;function E(t=!1){ro.push(It=t?null:[])}function a1(){ro.pop(),It=ro[ro.length-1]||null}let vo=1;function Wc(t){vo+=t}function Df(t){return t.dynamicChildren=vo>0?It||_s:null,a1(),vo>0&&It&&It.push(t),t}function S(t,e,n,s,o,r){return Df(d(t,e,n,s,o,r,!0))}function nt(t,e,n,s,o){return Df(ge(t,e,n,s,o,!0))}function wo(t){return t?t.__v_isVNode===!0:!1}function Cn(t,e){return t.type===e.type&&t.key===e.key}const Jr="__vInternal",Lf=({key:t})=>t??null,ar=({ref:t,ref_key:e,ref_for:n})=>t!=null?Qe(t)||ut(t)||Oe(t)?{i:it,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Me?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Lf(e),ref:e&&ar(e),scopeId:Kr,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:it};return a?(Ul(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Qe(n)?8:16),vo>0&&!i&&It&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&It.push(l),l}const ge=l1;function l1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===xf)&&(t=St),wo(t)){const a=an(t,e,!0);return n&&Ul(a,n),vo>0&&!r&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag|=-2,a}if(b1(t)&&(t=t.__vccOpts),e){e=c1(e);let{class:a,style:l}=e;a&&!Qe(a)&&(e.class=Te(a)),Ve(l)&&(ef(l)&&!Ce(l)&&(l=ot({},l)),e.style=Ct(l))}const i=Qe(t)?1:ff(t)?128:i1(t)?64:Ve(t)?4:Oe(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function c1(t){return t?ef(t)||Jr in t?ot({},t):t:null}function an(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?u1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Lf(a),ref:e&&e.ref?n&&o?Ce(o)?o.concat(ar(e)):[o,ar(e)]:ar(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!==Me?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&&an(t.ssContent),ssFallback:t.ssFallback&&an(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function be(t=" ",e=0){return ge(Qr,null,t,e)}function os(t,e){const n=ge(ir,null,t);return n.staticCount=e,n}function B(t="",e=!1){return e?(E(),nt(St,null,t)):ge(St,null,t)}function jt(t){return t==null||typeof t=="boolean"?ge(St):Ce(t)?ge(Me,null,t.slice()):typeof t=="object"?bn(t):ge(Qr,null,String(t))}function bn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:an(t)}function Ul(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Ce(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Ul(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Jr in e)?e._ctx=it:o===3&&it&&(it.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Oe(e)?(e={default:e,_ctx:it},n=32):(e=String(e),s&64?(n=16,e=[be(e)]):n=8);t.children=e,t.shapeFlag|=n}function u1(...t){const e={};for(let n=0;nJe||it,As=t=>{Je=t,t.scope.on()},Zn=()=>{Je&&Je.scope.off(),Je=null};function If(t){return t.vnode.shapeFlag&4}let xo=!1;function p1(t,e=!1){xo=e;const{props:n,children:s}=t.vnode,o=If(t);Y_(t,n,o,e),X_(t,s);const r=o?g1(t,e):void 0;return xo=!1,r}function g1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=tf(new Proxy(t.ctx,H_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?_1(t):null;As(t),js();const r=Mn(s,t,0,[t.props,o]);if(zs(),Zn(),jh(r)){if(r.then(Zn,Zn),e)return r.then(i=>{Zc(t,i,e)}).catch(i=>{Vr(i,t,0)});t.asyncDep=r}else Zc(t,r,e)}else Pf(t,e)}function Zc(t,e,n){Oe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ve(e)&&(t.setupState=rf(e)),Pf(t,n)}let Yc;function Pf(t,e,n){const s=t.type;if(!t.render){if(!e&&Yc&&!s.render){const o=s.template||jl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=ot(ot({isCustomElement:r,delimiters:a},i),l);s.render=Yc(o,c)}}t.render=s.render||Pt}As(t),js(),V_(t),zs(),Zn()}function m1(t){return new Proxy(t.attrs,{get(e,n){return gt(t,"get","$attrs"),e[n]}})}function _1(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 Xr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(rf(tf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in oo)return oo[n](t)},has(e,n){return n in e||n in oo}}))}function Wa(t,e=!0){return Oe(t)?t.displayName||t.name:t.name||e&&t.__name}function b1(t){return Oe(t)&&"__vccOpts"in t}const Et=(t,e)=>b_(t,e,xo);function Hl(t,e,n){const s=arguments.length;return s===2?Ve(e)&&!Ce(e)?wo(e)?ge(t,null,[e]):ge(t,e):ge(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wo(n)&&(n=[n]),ge(t,e,n))}const y1=Symbol(""),v1=()=>sn(y1),w1="3.2.47",x1="http://www.w3.org/2000/svg",zn=typeof document<"u"?document:null,Qc=zn&&zn.createElement("template"),k1={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?zn.createElementNS(x1,t):zn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>zn.createTextNode(t),createComment:t=>zn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>zn.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{Qc.innerHTML=s?`${t}`:t;const a=Qc.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 E1(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 C1(t,e,n){const s=t.style,o=Qe(n);if(n&&!o){if(e&&!Qe(e))for(const r in e)n[r]==null&&Za(s,r,"");for(const r in n)Za(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 Jc=/\s*!important$/;function Za(t,e,n){if(Ce(n))n.forEach(s=>Za(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=A1(t,e);Jc.test(n)?t.setProperty(ts(s),n.replace(Jc,""),"important"):t[s]=n}}const Xc=["Webkit","Moz","ms"],Mi={};function A1(t,e){const n=Mi[e];if(n)return n;let s=Zt(e);if(s!=="filter"&&s in t)return Mi[e]=s;s=qr(s);for(let o=0;oOi||(N1.then(()=>Oi=0),Oi=Date.now());function L1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(I1(s,n.value),e,5,[s])};return n.value=t,n.attached=D1(),n}function I1(t,e){if(Ce(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 nu=/^on[a-z]/,P1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?E1(t,s,o):e==="style"?C1(t,n,s):zr(e)?El(e)||O1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):F1(t,e,s,o))?T1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),S1(t,e,s,o))};function F1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&nu.test(e)&&Oe(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||nu.test(e)&&Qe(n)?!1:e in t}const fn="transition",Zs="animation",Ss=(t,{slots:e})=>Hl(_f,Bf(t),e);Ss.displayName="Transition";const Ff={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},B1=Ss.props=ot({},_f.props,Ff),Pn=(t,e=[])=>{Ce(t)?t.forEach(n=>n(...e)):t&&t(...e)},su=t=>t?Ce(t)?t.some(e=>e.length>1):t.length>1:!1;function Bf(t){const e={};for(const F in t)F in Ff||(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:g=`${n}-leave-to`}=t,m=$1(o),p=m&&m[0],b=m&&m[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:x,onLeave:A,onLeaveCancelled:R,onBeforeAppear:O=_,onAppear:D=y,onAppearCancelled:v=x}=e,k=(F,Q,I)=>{_n(F,Q?u:a),_n(F,Q?c:i),I&&I()},M=(F,Q)=>{F._isLeaving=!1,_n(F,h),_n(F,g),_n(F,f),Q&&Q()},L=F=>(Q,I)=>{const le=F?D:y,Z=()=>k(Q,F,I);Pn(le,[Q,Z]),ou(()=>{_n(Q,F?l:r),tn(Q,F?u:a),su(le)||ru(Q,s,p,Z)})};return ot(e,{onBeforeEnter(F){Pn(_,[F]),tn(F,r),tn(F,i)},onBeforeAppear(F){Pn(O,[F]),tn(F,l),tn(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Q){F._isLeaving=!0;const I=()=>M(F,Q);tn(F,h),jf(),tn(F,f),ou(()=>{F._isLeaving&&(_n(F,h),tn(F,g),su(A)||ru(F,s,b,I))}),Pn(A,[F,I])},onEnterCancelled(F){k(F,!1),Pn(x,[F])},onAppearCancelled(F){k(F,!0),Pn(v,[F])},onLeaveCancelled(F){M(F),Pn(R,[F])}})}function $1(t){if(t==null)return null;if(Ve(t))return[Ri(t.enter),Ri(t.leave)];{const e=Ri(t);return[e,e]}}function Ri(t){return Im(t)}function tn(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 ou(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let j1=0;function ru(t,e,n,s){const o=t._endId=++j1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=$f(t,e);if(!i)return s();const c=i+"end";let u=0;const h=()=>{t.removeEventListener(c,f),r()},f=g=>{g.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[m]||"").split(", "),o=s(`${fn}Delay`),r=s(`${fn}Duration`),i=iu(o,r),a=s(`${Zs}Delay`),l=s(`${Zs}Duration`),c=iu(a,l);let u=null,h=0,f=0;e===fn?i>0&&(u=fn,h=i,f=r.length):e===Zs?c>0&&(u=Zs,h=c,f=l.length):(h=Math.max(i,c),u=h>0?i>c?fn:Zs:null,f=u?u===fn?r.length:l.length:0);const g=u===fn&&/\b(transform|all)(,|$)/.test(s(`${fn}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:g}}function iu(t,e){for(;t.lengthau(n)+au(t[s])))}function au(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function jf(){return document.body.offsetHeight}const zf=new WeakMap,Uf=new WeakMap,qf={name:"TransitionGroup",props:ot({},B1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=ql(),s=mf();let o,r;return Fl(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!V1(o[0].el,n.vnode.el,i))return;o.forEach(U1),o.forEach(q1);const a=o.filter(H1);jf(),a.forEach(l=>{const c=l.el,u=c.style;tn(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,_n(c,i))};c.addEventListener("transitionend",h)})}),()=>{const i=$e(t),a=Bf(i);let l=i.tag||Me;o=r,r=e.default?Pl(e.default()):[];for(let c=0;cdelete t.mode;qf.props;const Ut=qf;function U1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function q1(t){Uf.set(t,t.el.getBoundingClientRect())}function H1(t){const e=zf.get(t),n=Uf.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 V1(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}=$f(s);return o.removeChild(s),r}const Ts=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ce(e)?n=>ys(e,n):e};function G1(t){t.target.composing=!0}function lu(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ge={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Ts(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=br(a)),t._assign(a)}),n&&An(t,"change",()=>{t.value=t.value.trim()}),e||(An(t,"compositionstart",G1),An(t,"compositionend",lu),An(t,"change",lu))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Ts(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&br(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},xt={deep:!0,created(t,e,n){t._assign=Ts(n),An(t,"change",()=>{const s=t._modelValue,o=ko(t),r=t.checked,i=t._assign;if(Ce(s)){const a=kl(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(Bs(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Hf(t,r))})},mounted:cu,beforeUpdate(t,e,n){t._assign=Ts(n),cu(t,e,n)}};function cu(t,{value:e,oldValue:n},s){t._modelValue=e,Ce(e)?t.checked=kl(e,s.props.value)>-1:Bs(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=No(e,Hf(t,!0)))}const Ya={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Bs(e);An(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?br(ko(i)):ko(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Ts(s)},mounted(t,{value:e}){uu(t,e)},beforeUpdate(t,e,n){t._assign=Ts(n)},updated(t,{value:e}){uu(t,e)}};function uu(t,e){const n=t.multiple;if(!(n&&!Ce(e)&&!Bs(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(No(ko(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function ko(t){return"_value"in t?t._value:t.value}function Hf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const K1=["ctrl","shift","alt","meta"],W1={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)=>K1.some(n=>t[`${n}Key`]&&!e.includes(n))},ae=(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||Z1[o]===s))return t(n)},lt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Ys(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Ys(t,!0),s.enter(t)):s.leave(t,()=>{Ys(t,!1)}):Ys(t,e))},beforeUnmount(t,{value:e}){Ys(t,e)}};function Ys(t,e){t.style.display=e?t._vod:"none"}const Y1=ot({patchProp:P1},k1);let du;function Q1(){return du||(du=s1(Y1))}const J1=(...t)=>{const e=Q1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=X1(s);if(!o)return;const r=e._component;!Oe(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 X1(t){return Qe(t)?document.querySelector(t):t}function e0(){return Vf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const t0=typeof Proxy=="function",n0="devtools-plugin:setup",s0="plugin:settings:set";let ls,Ja;function o0(){var t;return ls!==void 0||(typeof window<"u"&&window.performance?(ls=!0,Ja=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ls=!0,Ja=global.perf_hooks.performance):ls=!1),ls}function r0(){return o0()?Ja.now():Date.now()}class i0{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 r0()}},n&&n.on(s0,(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 a0(t,e){const n=t,s=Vf(),o=e0(),r=t0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(n0,t,e);else{const i=r?new i0(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! +(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 xl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Ct(t){if(Ce(t)){const e={};for(let n=0;n{if(n){const s=n.split(xm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Te(t){let e="";if(Qe(t))e=t;else if(Ce(t))for(let n=0;nNo(n,e))}const H=t=>Qe(t)?t:t==null?"":Ce(t)||Ge(t)&&(t.toString===Uh||!Oe(t.toString))?JSON.stringify(t,jh,2):String(t),jh=(t,e)=>e&&e.__v_isRef?jh(t,e.value):bs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Bs(e)?{[`Set(${e.size})`]:[...e.values()]}:Ge(e)&&!Ce(e)&&!qh(e)?String(e):e,Ke={},_s=[],Pt=()=>{},Tm=()=>!1,Mm=/^on[^a-z]/,zr=t=>Mm.test(t),El=t=>t.startsWith("onUpdate:"),ot=Object.assign,Cl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Om=Object.prototype.hasOwnProperty,Pe=(t,e)=>Om.call(t,e),Ce=Array.isArray,bs=t=>$s(t)==="[object Map]",Bs=t=>$s(t)==="[object Set]",Oc=t=>$s(t)==="[object Date]",Rm=t=>$s(t)==="[object RegExp]",Oe=t=>typeof t=="function",Qe=t=>typeof t=="string",po=t=>typeof t=="symbol",Ge=t=>t!==null&&typeof t=="object",zh=t=>Ge(t)&&Oe(t.then)&&Oe(t.catch),Uh=Object.prototype.toString,$s=t=>Uh.call(t),Nm=t=>$s(t).slice(8,-1),qh=t=>$s(t)==="[object Object]",Al=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,or=xl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ur=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Dm=/-(\w)/g,Zt=Ur(t=>t.replace(Dm,(e,n)=>n?n.toUpperCase():"")),Lm=/\B([A-Z])/g,ts=Ur(t=>t.replace(Lm,"-$1").toLowerCase()),qr=Ur(t=>t.charAt(0).toUpperCase()+t.slice(1)),ki=Ur(t=>t?`on${qr(t)}`:""),go=(t,e)=>!Object.is(t,e),ys=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},br=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Im=t=>{const e=Qe(t)?Number(t):NaN;return isNaN(e)?t:e};let Rc;const Pm=()=>Rc||(Rc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Nt;class Fm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!e&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Nt;try{return Nt=this,e()}finally{Nt=n}}}on(){Nt=this}off(){Nt=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},Hh=t=>(t.w&On)>0,Vh=t=>(t.n&On)>0,jm=({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{(d==="length"||d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Ce(t)?Al(n)&&a.push(i.get("length")):(a.push(i.get(Kn)),bs(t)&&a.push(i.get(ja)));break;case"delete":Ce(t)||(a.push(i.get(Kn)),bs(t)&&a.push(i.get(ja)));break;case"set":bs(t)&&a.push(i.get(Kn));break}if(a.length===1)a[0]&&za(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);za(Sl(l))}}function za(t,e){const n=Ce(t)?t:[...t];for(const s of n)s.computed&&Dc(s);for(const s of n)s.computed||Dc(s)}function Dc(t,e){(t!==Lt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Um=xl("__proto__,__v_isRef,__isVue"),Wh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(po)),qm=Ml(),Hm=Ml(!1,!0),Vm=Ml(!0),Lc=Gm();function Gm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=$e(this);for(let r=0,i=this.length;r{t[e]=function(...n){js();const s=$e(this)[e].apply(this,n);return zs(),s}}),t}function Km(t){const e=$e(this);return gt(e,"has",t),e.hasOwnProperty(t)}function Ml(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?c_:Xh:e?Jh:Qh).get(s))return s;const i=Ce(s);if(!t){if(i&&Pe(Lc,o))return Reflect.get(Lc,o,r);if(o==="hasOwnProperty")return Km}const a=Reflect.get(s,o,r);return(po(o)?Wh.has(o):Um(o))||(t||gt(s,"get",o),e)?a:ut(a)?i&&Al(o)?a:a.value:Ge(a)?t?ef(a):Us(a):a}}const Wm=Zh(),Zm=Zh(!0);function Zh(t=!1){return function(n,s,o,r){let i=n[s];if(Es(i)&&ut(i)&&!ut(o))return!1;if(!t&&(!yr(o)&&!Es(o)&&(i=$e(i),o=$e(o)),!Ce(n)&&ut(i)&&!ut(o)))return i.value=o,!0;const a=Ce(n)&&Al(s)?Number(s)t,Hr=t=>Reflect.getPrototypeOf(t);function jo(t,e,n=!1,s=!1){t=t.__v_raw;const o=$e(t),r=$e(e);n||(e!==r&>(o,"get",e),gt(o,"get",r));const{has:i}=Hr(o),a=s?Ol:n?Dl:mo;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 zo(t,e=!1){const n=this.__v_raw,s=$e(n),o=$e(t);return e||(t!==o&>(s,"has",t),gt(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Uo(t,e=!1){return t=t.__v_raw,!e&>($e(t),"iterate",Kn),Reflect.get(t,"size",t)}function Ic(t){t=$e(t);const e=$e(this);return Hr(e).has.call(e,t)||(e.add(t),rn(e,"add",t,t)),this}function Pc(t,e){e=$e(e);const n=$e(this),{has:s,get:o}=Hr(n);let r=s.call(n,t);r||(t=$e(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?go(e,i)&&rn(n,"set",t,e):rn(n,"add",t,e),this}function Fc(t){const e=$e(this),{has:n,get:s}=Hr(e);let o=n.call(e,t);o||(t=$e(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&rn(e,"delete",t,void 0),r}function Bc(){const t=$e(this),e=t.size!==0,n=t.clear();return e&&rn(t,"clear",void 0,void 0),n}function qo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=$e(i),l=e?Ol:t?Dl:mo;return!t&>(a,"iterate",Kn),i.forEach((c,d)=>s.call(o,l(c),l(d),r))}}function Ho(t,e,n){return function(...s){const o=this.__v_raw,r=$e(o),i=bs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),d=n?Ol:e?Dl:mo;return!e&>(r,"iterate",l?ja:Kn),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[d(h[0]),d(h[1])]:d(h),done:f}},[Symbol.iterator](){return this}}}}function hn(t){return function(...e){return t==="delete"?!1:this}}function t_(){const t={get(r){return jo(this,r)},get size(){return Uo(this)},has:zo,add:Ic,set:Pc,delete:Fc,clear:Bc,forEach:qo(!1,!1)},e={get(r){return jo(this,r,!1,!0)},get size(){return Uo(this)},has:zo,add:Ic,set:Pc,delete:Fc,clear:Bc,forEach:qo(!1,!0)},n={get(r){return jo(this,r,!0)},get size(){return Uo(this,!0)},has(r){return zo.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:qo(!0,!1)},s={get(r){return jo(this,r,!0,!0)},get size(){return Uo(this,!0)},has(r){return zo.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:qo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Ho(r,!1,!1),n[r]=Ho(r,!0,!1),e[r]=Ho(r,!1,!0),s[r]=Ho(r,!0,!0)}),[t,n,e,s]}const[n_,s_,o_,r_]=t_();function Rl(t,e){const n=e?t?r_:o_:t?s_:n_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Pe(n,o)&&o in s?n:s,o,r)}const i_={get:Rl(!1,!1)},a_={get:Rl(!1,!0)},l_={get:Rl(!0,!1)},Qh=new WeakMap,Jh=new WeakMap,Xh=new WeakMap,c_=new WeakMap;function u_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function d_(t){return t.__v_skip||!Object.isExtensible(t)?0:u_(Nm(t))}function Us(t){return Es(t)?t:Nl(t,!1,Yh,i_,Qh)}function h_(t){return Nl(t,!1,e_,a_,Jh)}function ef(t){return Nl(t,!0,Xm,l_,Xh)}function Nl(t,e,n,s,o){if(!Ge(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=d_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function vs(t){return Es(t)?vs(t.__v_raw):!!(t&&t.__v_isReactive)}function Es(t){return!!(t&&t.__v_isReadonly)}function yr(t){return!!(t&&t.__v_isShallow)}function tf(t){return vs(t)||Es(t)}function $e(t){const e=t&&t.__v_raw;return e?$e(e):t}function nf(t){return _r(t,"__v_skip",!0),t}const mo=t=>Ge(t)?Us(t):t,Dl=t=>Ge(t)?ef(t):t;function sf(t){Tn&&Lt&&(t=$e(t),Kh(t.dep||(t.dep=Sl())))}function of(t,e){t=$e(t);const n=t.dep;n&&za(n)}function ut(t){return!!(t&&t.__v_isRef===!0)}function f_(t){return rf(t,!1)}function p_(t){return rf(t,!0)}function rf(t,e){return ut(t)?t:new g_(t,e)}class g_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:$e(e),this._value=n?e:mo(e)}get value(){return sf(this),this._value}set value(e){const n=this.__v_isShallow||yr(e)||Es(e);e=n?e:$e(e),go(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:mo(e),of(this))}}function ht(t){return ut(t)?t.value:t}const m_={get:(t,e,n)=>ht(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ut(o)&&!ut(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function af(t){return vs(t)?t:new Proxy(t,m_)}var lf;class __{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[lf]=!1,this._dirty=!0,this.effect=new Tl(e,()=>{this._dirty||(this._dirty=!0,of(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=$e(this);return sf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}lf="__v_isReadonly";function b_(t,e,n=!1){let s,o;const r=Oe(t);return r?(s=t,o=Pt):(s=t.get,o=t.set),new __(s,o,r||!o,n)}function Mn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Vr(r,e,n)}return o}function At(t,e,n,s){if(Oe(t)){const r=Mn(t,e,n,s);return r&&zh(r)&&r.catch(i=>{Vr(i,e,n)}),r}const o=[];for(let r=0;r>>1;bo(ct[s])zt&&ct.splice(e,1)}function x_(t){Ce(t)?ws.push(...t):(!nn||!nn.includes(t,t.allowRecurse?jn+1:jn))&&ws.push(t),uf()}function $c(t,e=_o?zt+1:0){for(;ebo(n)-bo(s)),jn=0;jnt.id==null?1/0:t.id,k_=(t,e)=>{const n=bo(t)-bo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function hf(t){Ua=!1,_o=!0,ct.sort(k_);const e=Pt;try{for(zt=0;ztQe(g)?g.trim():g)),h&&(o=n.map(br))}let a,l=s[a=ki(e)]||s[a=ki(Zt(e))];!l&&r&&(l=s[a=ki(ts(e))]),l&&At(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,At(c,t,6,o)}}function ff(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(!Oe(t)){const l=c=>{const d=ff(c,e,!0);d&&(a=!0,ot(i,d))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Ge(t)&&s.set(t,null),null):(Ce(r)?r.forEach(l=>i[l]=null):ot(i,r),Ge(t)&&s.set(t,i),i)}function Gr(t,e){return!t||!zr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pe(t,e[0].toLowerCase()+e.slice(1))||Pe(t,ts(e))||Pe(t,e))}let it=null,Kr=null;function vr(t){const e=it;return it=t,Kr=t&&t.type.__scopeId||null,e}function ns(t){Kr=t}function ss(){Kr=null}function Be(t,e=it,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Zc(-1);const r=vr(e);let i;try{i=t(...o)}finally{vr(r),s._d&&Zc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ei(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:h,data:f,setupState:g,ctx:m,inheritAttrs:p}=t;let b,_;const y=vr(t);try{if(n.shapeFlag&4){const A=o||s;b=jt(d.call(A,A,h,r,g,f,m)),_=l}else{const A=e;b=jt(A.length>1?A(r,{attrs:l,slots:a,emit:c}):A(r,null)),_=e.props?l:C_(l)}}catch(A){ro.length=0,Vr(A,t,1),b=fe(St)}let x=b;if(_&&p!==!1){const A=Object.keys(_),{shapeFlag:R}=x;A.length&&R&7&&(i&&A.some(El)&&(_=A_(_,i)),x=an(x,_))}return n.dirs&&(x=an(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),b=x,vr(y),b}const C_=t=>{let e;for(const n in t)(n==="class"||n==="style"||zr(n))&&((e||(e={}))[n]=t[n]);return e},A_=(t,e)=>{const n={};for(const s in t)(!El(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function S_(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?jc(s,i,c):!!i;if(l&8){const d=e.dynamicProps;for(let h=0;ht.__isSuspense;function M_(t,e){e&&e.pendingBranch?Ce(t)?e.effects.push(...t):e.effects.push(t):x_(t)}function rr(t,e){if(Je){let n=Je.provides;const s=Je.parent&&Je.parent.provides;s===n&&(n=Je.provides=Object.create(s)),n[t]=e}}function sn(t,e,n=!1){const s=Je||it;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&&Oe(e)?e.call(s.proxy):e}}const Vo={};function Wn(t,e,n){return gf(t,e,n)}function gf(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ke){const a=$m()===(Je==null?void 0:Je.scope)?Je:null;let l,c=!1,d=!1;if(ut(t)?(l=()=>t.value,c=yr(t)):vs(t)?(l=()=>t,s=!0):Ce(t)?(d=!0,c=t.some(x=>vs(x)||yr(x)),l=()=>t.map(x=>{if(ut(x))return x.value;if(vs(x))return Vn(x);if(Oe(x))return Mn(x,a,2)})):Oe(t)?e?l=()=>Mn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),At(t,a,3,[f])}:l=Pt,e&&s){const x=l;l=()=>Vn(x())}let h,f=x=>{h=_.onStop=()=>{Mn(x,a,4)}},g;if(xo)if(f=Pt,e?n&&At(e,a,3,[l(),d?[]:void 0,f]):l(),o==="sync"){const x=v1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Pt;let m=d?new Array(t.length).fill(Vo):Vo;const p=()=>{if(_.active)if(e){const x=_.run();(s||c||(d?x.some((A,R)=>go(A,m[R])):go(x,m)))&&(h&&h(),At(e,a,3,[x,m===Vo?void 0:d&&m[0]===Vo?[]:m,f]),m=x)}else _.run()};p.allowRecurse=!!e;let b;o==="sync"?b=p:o==="post"?b=()=>rt(p,a&&a.suspense):(p.pre=!0,a&&(p.id=a.uid),b=()=>Il(p));const _=new Tl(l,b);e?n?p():m=_.run():o==="post"?rt(_.run.bind(_),a&&a.suspense):_.run();const y=()=>{_.stop(),a&&a.scope&&Cl(a.scope.effects,_)};return g&&g.push(y),y}function O_(t,e,n){const s=this.proxy,o=Qe(t)?t.includes(".")?mf(s,t):()=>s[t]:t.bind(s,s);let r;Oe(e)?r=e:(r=e.handler,n=e);const i=Je;As(this);const a=gf(o,r.bind(s),n);return i?As(i):Zn(),a}function mf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Vn(n,e)});else if(qh(t))for(const n in t)Vn(t[n],e);return t}function _f(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Yr(()=>{t.isMounted=!0}),Bl(()=>{t.isUnmounting=!0}),t}const vt=[Function,Array],R_={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=ql(),s=_f();let o;return()=>{const r=e.default&&Pl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const p of r)if(p.type!==St){i=p;break}}const a=$e(t),{mode:l}=a;if(s.isLeaving)return Ci(i);const c=zc(i);if(!c)return Ci(i);const d=yo(c,a,s,n);Cs(c,d);const h=n.subTree,f=h&&zc(h);let g=!1;const{getTransitionKey:m}=c.type;if(m){const p=m();o===void 0?o=p:p!==o&&(o=p,g=!0)}if(f&&f.type!==St&&(!Cn(c,f)||g)){const p=yo(f,a,s,n);if(Cs(f,p),l==="out-in")return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ci(i);l==="in-out"&&c.type!==St&&(p.delayLeave=(b,_,y)=>{const x=yf(s,f);x[String(f.key)]=f,b._leaveCb=()=>{_(),b._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=y})}return i}}},bf=R_;function yf(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 yo(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:p,onAppear:b,onAfterAppear:_,onAppearCancelled:y}=e,x=String(t.key),A=yf(n,t),R=(v,k)=>{v&&At(v,s,9,k)},O=(v,k)=>{const M=k[1];R(v,k),Ce(v)?v.every(L=>L.length<=1)&&M():v.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(v){let k=a;if(!n.isMounted)if(o)k=p||a;else return;v._leaveCb&&v._leaveCb(!0);const M=A[x];M&&Cn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),R(k,[v])},enter(v){let k=l,M=c,L=d;if(!n.isMounted)if(o)k=b||l,M=_||c,L=y||d;else return;let F=!1;const Q=v._enterCb=I=>{F||(F=!0,I?R(L,[v]):R(M,[v]),D.delayedLeave&&D.delayedLeave(),v._enterCb=void 0)};k?O(k,[v,Q]):Q()},leave(v,k){const M=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return k();R(h,[v]);let L=!1;const F=v._leaveCb=Q=>{L||(L=!0,k(),Q?R(m,[v]):R(g,[v]),v._leaveCb=void 0,A[M]===t&&delete A[M])};A[M]=t,f?O(f,[v,F]):F()},clone(v){return yo(v,e,n,s)}};return D}function Ci(t){if(Wr(t))return t=an(t),t.children=null,t}function zc(t){return Wr(t)?t.children?t.children[0]:void 0:t}function Cs(t,e){t.shapeFlag&6&&t.component?Cs(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 Pl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Wr=t=>t.type.__isKeepAlive,N_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=ql(),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:d,o:{createElement:h}}}=s,f=h("div");s.activate=(y,x,A,R,O)=>{const D=y.component;c(y,x,A,0,a),l(D.vnode,y,x,A,D,a,R,y.slotScopeIds,O),rt(()=>{D.isDeactivated=!1,D.a&&ys(D.a);const v=y.props&&y.props.onVnodeMounted;v&&wt(v,D.parent,y)},a)},s.deactivate=y=>{const x=y.component;c(y,f,null,1,a),rt(()=>{x.da&&ys(x.da);const A=y.props&&y.props.onVnodeUnmounted;A&&wt(A,x.parent,y),x.isDeactivated=!0},a)};function g(y){Ai(y),d(y,n,a,!0)}function m(y){o.forEach((x,A)=>{const R=Wa(x.type);R&&(!y||!y(R))&&p(A)})}function p(y){const x=o.get(y);!i||!Cn(x,i)?g(x):i&&Ai(i),o.delete(y),r.delete(y)}Wn(()=>[t.include,t.exclude],([y,x])=>{y&&m(A=>no(y,A)),x&&m(A=>!no(x,A))},{flush:"post",deep:!0});let b=null;const _=()=>{b!=null&&o.set(b,Si(n.subTree))};return Yr(_),Fl(_),Bl(()=>{o.forEach(y=>{const{subTree:x,suspense:A}=n,R=Si(x);if(y.type===R.type&&y.key===R.key){Ai(R);const O=R.component.da;O&&rt(O,A);return}g(y)})}),()=>{if(b=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!wo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let A=Si(x);const R=A.type,O=Wa(xs(A)?A.type.__asyncResolved||{}:R),{include:D,exclude:v,max:k}=t;if(D&&(!O||!no(D,O))||v&&O&&no(v,O))return i=A,x;const M=A.key==null?R:A.key,L=o.get(M);return A.el&&(A=an(A),x.shapeFlag&128&&(x.ssContent=A)),b=M,L?(A.el=L.el,A.component=L.component,A.transition&&Cs(A,A.transition),A.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),k&&r.size>parseInt(k,10)&&p(r.values().next().value)),A.shapeFlag|=256,i=A,pf(x.type)?x:A}}},D_=N_;function no(t,e){return Ce(t)?t.some(n=>no(n,e)):Qe(t)?t.split(",").includes(e):Rm(t)?t.test(e):!1}function L_(t,e){wf(t,"a",e)}function I_(t,e){wf(t,"da",e)}function wf(t,e,n=Je){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Zr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Wr(o.parent.vnode)&&P_(s,e,n,o),o=o.parent}}function P_(t,e,n,s){const o=Zr(e,t,s,!0);xf(()=>{Cl(s[e],o)},n)}function Ai(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Si(t){return t.shapeFlag&128?t.ssContent:t}function Zr(t,e,n=Je,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;js(),As(n);const a=At(e,n,t,i);return Zn(),zs(),a});return s?o.unshift(r):o.push(r),r}}const un=t=>(e,n=Je)=>(!xo||t==="sp")&&Zr(t,(...s)=>e(...s),n),F_=un("bm"),Yr=un("m"),B_=un("bu"),Fl=un("u"),Bl=un("bum"),xf=un("um"),$_=un("sp"),j_=un("rtg"),z_=un("rtc");function U_(t,e=Je){Zr("ec",t,e)}function we(t,e){const n=it;if(n===null)return t;const s=Xr(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;awo(e)?!(e.type===St||e.type===Me&&!Cf(e.children)):!0)?t:null}const qa=t=>t?Pf(t)?Xr(t)||t.proxy:qa(t.parent):null,oo=ot(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=>qa(t.parent),$root:t=>qa(t.root),$emit:t=>t.emit,$options:t=>jl(t),$forceUpdate:t=>t.f||(t.f=()=>Il(t.update)),$nextTick:t=>t.n||(t.n=_e.bind(t.proxy)),$watch:t=>O_.bind(t)}),Ti=(t,e)=>t!==Ke&&!t.__isScriptSetup&&Pe(t,e),H_={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 g=i[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(Ti(s,e))return i[e]=1,s[e];if(o!==Ke&&Pe(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Pe(c,e))return i[e]=3,r[e];if(n!==Ke&&Pe(n,e))return i[e]=4,n[e];Ha&&(i[e]=0)}}const d=oo[e];let h,f;if(d)return e==="$attrs"&>(t,"get",e),d(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Ke&&Pe(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,Pe(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Ti(o,e)?(o[e]=n,!0):s!==Ke&&Pe(s,e)?(s[e]=n,!0):Pe(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!==Ke&&Pe(t,i)||Ti(e,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(oo,i)||Pe(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Pe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Ha=!0;function V_(t){const e=jl(t),n=t.proxy,s=t.ctx;Ha=!1,e.beforeCreate&&qc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:h,mounted:f,beforeUpdate:g,updated:m,activated:p,deactivated:b,beforeDestroy:_,beforeUnmount:y,destroyed:x,unmounted:A,render:R,renderTracked:O,renderTriggered:D,errorCaptured:v,serverPrefetch:k,expose:M,inheritAttrs:L,components:F,directives:Q,filters:I}=e;if(c&&G_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const q=i[T];Oe(q)&&(s[T]=q.bind(n))}if(o){const T=o.call(n,n);Ge(T)&&(t.data=Us(T))}if(Ha=!0,r)for(const T in r){const q=r[T],G=Oe(q)?q.bind(n,n):Oe(q.get)?q.get.bind(n,n):Pt,ye=!Oe(q)&&Oe(q.set)?q.set.bind(n):Pt,me=Et({get:G,set:ye});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>me.value,set:ee=>me.value=ee})}if(a)for(const T in a)Af(a[T],s,n,T);if(l){const T=Oe(l)?l.call(n):l;Reflect.ownKeys(T).forEach(q=>{rr(q,T[q])})}d&&qc(d,t,"c");function Z(T,q){Ce(q)?q.forEach(G=>T(G.bind(n))):q&&T(q.bind(n))}if(Z(F_,h),Z(Yr,f),Z(B_,g),Z(Fl,m),Z(L_,p),Z(I_,b),Z(U_,v),Z(z_,O),Z(j_,D),Z(Bl,y),Z(xf,A),Z($_,k),Ce(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(q=>{Object.defineProperty(T,q,{get:()=>n[q],set:G=>n[q]=G})})}else t.exposed||(t.exposed={});R&&t.render===Pt&&(t.render=R),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Q&&(t.directives=Q)}function G_(t,e,n=Pt,s=!1){Ce(t)&&(t=Va(t));for(const o in t){const r=t[o];let i;Ge(r)?"default"in r?i=sn(r.from||o,r.default,!0):i=sn(r.from||o):i=sn(r),ut(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function qc(t,e,n){At(Ce(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Af(t,e,n,s){const o=s.includes(".")?mf(n,s):()=>n[s];if(Qe(t)){const r=e[t];Oe(r)&&Wn(o,r)}else if(Oe(t))Wn(o,t.bind(n));else if(Ge(t))if(Ce(t))t.forEach(r=>Af(r,e,n,s));else{const r=Oe(t.handler)?t.handler.bind(n):e[t.handler];Oe(r)&&Wn(o,r,t)}}function jl(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=>xr(l,c,i,!0)),xr(l,e,i)),Ge(e)&&r.set(e,l),l}function xr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&xr(t,r,n,!0),o&&o.forEach(i=>xr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=K_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const K_={data:Hc,props:Bn,emits:Bn,methods:Bn,computed:Bn,beforeCreate:dt,created:dt,beforeMount:dt,mounted:dt,beforeUpdate:dt,updated:dt,beforeDestroy:dt,beforeUnmount:dt,destroyed:dt,unmounted:dt,activated:dt,deactivated:dt,errorCaptured:dt,serverPrefetch:dt,components:Bn,directives:Bn,watch:Z_,provide:Hc,inject:W_};function Hc(t,e){return e?t?function(){return ot(Oe(t)?t.call(this,this):t,Oe(e)?e.call(this,this):e)}:e:t}function W_(t,e){return Bn(Va(t),Va(e))}function Va(t){if(Ce(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,g]=Tf(h,e,!0);ot(i,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!r&&!l)return Ge(t)&&s.set(t,_s),_s;if(Ce(r))for(let d=0;d-1,g[1]=p<0||m-1||Pe(g,"default"))&&a.push(h)}}}const c=[i,a];return Ge(t)&&s.set(t,c),c}function Vc(t){return t[0]!=="$"}function Gc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Kc(t,e){return Gc(t)===Gc(e)}function Wc(t,e){return Ce(e)?e.findIndex(n=>Kc(n,t)):Oe(e)&&Kc(e,t)?0:-1}const Mf=t=>t[0]==="_"||t==="$stable",zl=t=>Ce(t)?t.map(jt):[jt(t)],J_=(t,e,n)=>{if(e._n)return e;const s=Be((...o)=>zl(e(...o)),n);return s._c=!1,s},Of=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Mf(o))continue;const r=t[o];if(Oe(r))e[o]=J_(o,r,s);else if(r!=null){const i=zl(r);e[o]=()=>i}}},Rf=(t,e)=>{const n=zl(e);t.slots.default=()=>n},X_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=$e(e),_r(e,"_",n)):Of(e,t.slots={})}else t.slots={},e&&Rf(t,e);_r(t.slots,Jr,1)},e1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ke;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(ot(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Of(e,o)),i=e}else e&&(Rf(t,e),i={default:1});if(r)for(const a in o)!Mf(a)&&!(a in i)&&delete o[a]};function Nf(){return{app:null,config:{isNativeTag:Tm,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 t1=0;function n1(t,e){return function(s,o=null){Oe(s)||(s=Object.assign({},s)),o!=null&&!Ge(o)&&(o=null);const r=Nf(),i=new Set;let a=!1;const l=r.app={_uid:t1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:w1,get config(){return r.config},set config(c){},use(c,...d){return i.has(c)||(c&&Oe(c.install)?(i.add(c),c.install(l,...d)):Oe(c)&&(i.add(c),c(l,...d))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,d){return d?(r.components[c]=d,l):r.components[c]},directive(c,d){return d?(r.directives[c]=d,l):r.directives[c]},mount(c,d,h){if(!a){const f=fe(s,o);return f.appContext=r,d&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,Xr(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,d){return r.provides[c]=d,l}};return l}}function Ka(t,e,n,s,o=!1){if(Ce(t)){t.forEach((f,g)=>Ka(f,e&&(Ce(e)?e[g]:e),n,s,o));return}if(xs(s)&&!o)return;const r=s.shapeFlag&4?Xr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,d=a.refs===Ke?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(Qe(c)?(d[c]=null,Pe(h,c)&&(h[c]=null)):ut(c)&&(c.value=null)),Oe(l))Mn(l,a,12,[i,d]);else{const f=Qe(l),g=ut(l);if(f||g){const m=()=>{if(t.f){const p=f?Pe(h,l)?h[l]:d[l]:l.value;o?Ce(p)&&Cl(p,r):Ce(p)?p.includes(r)||p.push(r):f?(d[l]=[r],Pe(h,l)&&(h[l]=d[l])):(l.value=[r],t.k&&(d[t.k]=l.value))}else f?(d[l]=i,Pe(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(d[t.k]=i))};i?(m.id=-1,rt(m,n)):m()}}}const rt=M_;function s1(t){return o1(t)}function o1(t,e){const n=Pm();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:f,setScopeId:g=Pt,insertStaticContent:m}=t,p=(w,C,P,$=null,j=null,ne=null,re=!1,z=null,se=!!C.dynamicChildren)=>{if(w===C)return;w&&!Cn(w,C)&&($=V(w),ee(w,j,ne,!0),w=null),C.patchFlag===-2&&(se=!1,C.dynamicChildren=null);const{type:U,ref:Y,shapeFlag:ie}=C;switch(U){case Qr:b(w,C,P,$);break;case St:_(w,C,P,$);break;case ir:w==null&&y(C,P,$,re);break;case Me:F(w,C,P,$,j,ne,re,z,se);break;default:ie&1?R(w,C,P,$,j,ne,re,z,se):ie&6?Q(w,C,P,$,j,ne,re,z,se):(ie&64||ie&128)&&U.process(w,C,P,$,j,ne,re,z,se,X)}Y!=null&&j&&Ka(Y,w&&w.ref,ne,C||w,!C)},b=(w,C,P,$)=>{if(w==null)s(C.el=a(C.children),P,$);else{const j=C.el=w.el;C.children!==w.children&&c(j,C.children)}},_=(w,C,P,$)=>{w==null?s(C.el=l(C.children||""),P,$):C.el=w.el},y=(w,C,P,$)=>{[w.el,w.anchor]=m(w.children,C,P,$,w.el,w.anchor)},x=({el:w,anchor:C},P,$)=>{let j;for(;w&&w!==C;)j=f(w),s(w,P,$),w=j;s(C,P,$)},A=({el:w,anchor:C})=>{let P;for(;w&&w!==C;)P=f(w),o(w),w=P;o(C)},R=(w,C,P,$,j,ne,re,z,se)=>{re=re||C.type==="svg",w==null?O(C,P,$,j,ne,re,z,se):k(w,C,j,ne,re,z,se)},O=(w,C,P,$,j,ne,re,z)=>{let se,U;const{type:Y,props:ie,shapeFlag:he,transition:de,dirs:Ee}=w;if(se=w.el=i(w.type,ne,ie&&ie.is,ie),he&8?d(se,w.children):he&16&&v(w.children,se,null,$,j,ne&&Y!=="foreignObject",re,z),Ee&&Ln(w,null,$,"created"),D(se,w,w.scopeId,re,$),ie){for(const oe in ie)oe!=="value"&&!or(oe)&&r(se,oe,null,ie[oe],ne,w.children,$,j,J);"value"in ie&&r(se,"value",null,ie.value),(U=ie.onVnodeBeforeMount)&&wt(U,$,w)}Ee&&Ln(w,null,$,"beforeMount");const W=(!j||j&&!j.pendingBranch)&&de&&!de.persisted;W&&de.beforeEnter(se),s(se,C,P),((U=ie&&ie.onVnodeMounted)||W||Ee)&&rt(()=>{U&&wt(U,$,w),W&&de.enter(se),Ee&&Ln(w,null,$,"mounted")},j)},D=(w,C,P,$,j)=>{if(P&&g(w,P),$)for(let ne=0;ne<$.length;ne++)g(w,$[ne]);if(j){let ne=j.subTree;if(C===ne){const re=j.vnode;D(w,re,re.scopeId,re.slotScopeIds,j.parent)}}},v=(w,C,P,$,j,ne,re,z,se=0)=>{for(let U=se;U{const z=C.el=w.el;let{patchFlag:se,dynamicChildren:U,dirs:Y}=C;se|=w.patchFlag&16;const ie=w.props||Ke,he=C.props||Ke;let de;P&&In(P,!1),(de=he.onVnodeBeforeUpdate)&&wt(de,P,C,w),Y&&Ln(C,w,P,"beforeUpdate"),P&&In(P,!0);const Ee=j&&C.type!=="foreignObject";if(U?M(w.dynamicChildren,U,z,P,$,Ee,ne):re||q(w,C,z,null,P,$,Ee,ne,!1),se>0){if(se&16)L(z,C,ie,he,P,$,j);else if(se&2&&ie.class!==he.class&&r(z,"class",null,he.class,j),se&4&&r(z,"style",ie.style,he.style,j),se&8){const W=C.dynamicProps;for(let oe=0;oe{de&&wt(de,P,C,w),Y&&Ln(C,w,P,"updated")},$)},M=(w,C,P,$,j,ne,re)=>{for(let z=0;z{if(P!==$){if(P!==Ke)for(const z in P)!or(z)&&!(z in $)&&r(w,z,P[z],null,re,C.children,j,ne,J);for(const z in $){if(or(z))continue;const se=$[z],U=P[z];se!==U&&z!=="value"&&r(w,z,U,se,re,C.children,j,ne,J)}"value"in $&&r(w,"value",P.value,$.value)}},F=(w,C,P,$,j,ne,re,z,se)=>{const U=C.el=w?w.el:a(""),Y=C.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:he,slotScopeIds:de}=C;de&&(z=z?z.concat(de):de),w==null?(s(U,P,$),s(Y,P,$),v(C.children,P,Y,j,ne,re,z,se)):ie>0&&ie&64&&he&&w.dynamicChildren?(M(w.dynamicChildren,he,P,j,ne,re,z),(C.key!=null||j&&C===j.subTree)&&Df(w,C,!0)):q(w,C,P,Y,j,ne,re,z,se)},Q=(w,C,P,$,j,ne,re,z,se)=>{C.slotScopeIds=z,w==null?C.shapeFlag&512?j.ctx.activate(C,P,$,re,se):I(C,P,$,j,ne,re,se):ce(w,C,se)},I=(w,C,P,$,j,ne,re)=>{const z=w.component=f1(w,$,j);if(Wr(w)&&(z.ctx.renderer=X),p1(z),z.asyncDep){if(j&&j.registerDep(z,Z),!w.el){const se=z.subTree=fe(St);_(null,se,C,P)}return}Z(z,w,C,P,j,ne,re)},ce=(w,C,P)=>{const $=C.component=w.component;if(S_(w,C,P))if($.asyncDep&&!$.asyncResolved){T($,C,P);return}else $.next=C,w_($.update),$.update();else C.el=w.el,$.vnode=C},Z=(w,C,P,$,j,ne,re)=>{const z=()=>{if(w.isMounted){let{next:Y,bu:ie,u:he,parent:de,vnode:Ee}=w,W=Y,oe;In(w,!1),Y?(Y.el=Ee.el,T(w,Y,re)):Y=Ee,ie&&ys(ie),(oe=Y.props&&Y.props.onVnodeBeforeUpdate)&&wt(oe,de,Y,Ee),In(w,!0);const ge=Ei(w),Se=w.subTree;w.subTree=ge,p(Se,ge,h(Se.el),V(Se),w,j,ne),Y.el=ge.el,W===null&&T_(w,ge.el),he&&rt(he,j),(oe=Y.props&&Y.props.onVnodeUpdated)&&rt(()=>wt(oe,de,Y,Ee),j)}else{let Y;const{el:ie,props:he}=C,{bm:de,m:Ee,parent:W}=w,oe=xs(C);if(In(w,!1),de&&ys(de),!oe&&(Y=he&&he.onVnodeBeforeMount)&&wt(Y,W,C),In(w,!0),ie&&ue){const ge=()=>{w.subTree=Ei(w),ue(ie,w.subTree,w,j,null)};oe?C.type.__asyncLoader().then(()=>!w.isUnmounted&&ge()):ge()}else{const ge=w.subTree=Ei(w);p(null,ge,P,$,w,j,ne),C.el=ge.el}if(Ee&&rt(Ee,j),!oe&&(Y=he&&he.onVnodeMounted)){const ge=C;rt(()=>wt(Y,W,ge),j)}(C.shapeFlag&256||W&&xs(W.vnode)&&W.vnode.shapeFlag&256)&&w.a&&rt(w.a,j),w.isMounted=!0,C=P=$=null}},se=w.effect=new Tl(z,()=>Il(U),w.scope),U=w.update=()=>se.run();U.id=w.uid,In(w,!0),U()},T=(w,C,P)=>{C.component=w;const $=w.vnode.props;w.vnode=C,w.next=null,Q_(w,C.props,$,P),e1(w,C.children,P),js(),$c(),zs()},q=(w,C,P,$,j,ne,re,z,se=!1)=>{const U=w&&w.children,Y=w?w.shapeFlag:0,ie=C.children,{patchFlag:he,shapeFlag:de}=C;if(he>0){if(he&128){ye(U,ie,P,$,j,ne,re,z,se);return}else if(he&256){G(U,ie,P,$,j,ne,re,z,se);return}}de&8?(Y&16&&J(U,j,ne),ie!==U&&d(P,ie)):Y&16?de&16?ye(U,ie,P,$,j,ne,re,z,se):J(U,j,ne,!0):(Y&8&&d(P,""),de&16&&v(ie,P,$,j,ne,re,z,se))},G=(w,C,P,$,j,ne,re,z,se)=>{w=w||_s,C=C||_s;const U=w.length,Y=C.length,ie=Math.min(U,Y);let he;for(he=0;heY?J(w,j,ne,!0,!1,ie):v(C,P,$,j,ne,re,z,se,ie)},ye=(w,C,P,$,j,ne,re,z,se)=>{let U=0;const Y=C.length;let ie=w.length-1,he=Y-1;for(;U<=ie&&U<=he;){const de=w[U],Ee=C[U]=se?bn(C[U]):jt(C[U]);if(Cn(de,Ee))p(de,Ee,P,null,j,ne,re,z,se);else break;U++}for(;U<=ie&&U<=he;){const de=w[ie],Ee=C[he]=se?bn(C[he]):jt(C[he]);if(Cn(de,Ee))p(de,Ee,P,null,j,ne,re,z,se);else break;ie--,he--}if(U>ie){if(U<=he){const de=he+1,Ee=dehe)for(;U<=ie;)ee(w[U],j,ne,!0),U++;else{const de=U,Ee=U,W=new Map;for(U=Ee;U<=he;U++){const tt=C[U]=se?bn(C[U]):jt(C[U]);tt.key!=null&&W.set(tt.key,U)}let oe,ge=0;const Se=he-Ee+1;let Ie=!1,He=0;const De=new Array(Se);for(U=0;U=Se){ee(tt,j,ne,!0);continue}let at;if(tt.key!=null)at=W.get(tt.key);else for(oe=Ee;oe<=he;oe++)if(De[oe-Ee]===0&&Cn(tt,C[oe])){at=oe;break}at===void 0?ee(tt,j,ne,!0):(De[at-Ee]=U+1,at>=He?He=at:Ie=!0,p(tt,C[at],P,null,j,ne,re,z,se),ge++)}const Xe=Ie?r1(De):_s;for(oe=Xe.length-1,U=Se-1;U>=0;U--){const tt=Ee+U,at=C[tt],Mc=tt+1{const{el:ne,type:re,transition:z,children:se,shapeFlag:U}=w;if(U&6){me(w.component.subTree,C,P,$);return}if(U&128){w.suspense.move(C,P,$);return}if(U&64){re.move(w,C,P,X);return}if(re===Me){s(ne,C,P);for(let ie=0;iez.enter(ne),j);else{const{leave:ie,delayLeave:he,afterLeave:de}=z,Ee=()=>s(ne,C,P),W=()=>{ie(ne,()=>{Ee(),de&&de()})};he?he(ne,Ee,W):W()}else s(ne,C,P)},ee=(w,C,P,$=!1,j=!1)=>{const{type:ne,props:re,ref:z,children:se,dynamicChildren:U,shapeFlag:Y,patchFlag:ie,dirs:he}=w;if(z!=null&&Ka(z,null,P,w,!0),Y&256){C.ctx.deactivate(w);return}const de=Y&1&&he,Ee=!xs(w);let W;if(Ee&&(W=re&&re.onVnodeBeforeUnmount)&&wt(W,C,w),Y&6)N(w.component,P,$);else{if(Y&128){w.suspense.unmount(P,$);return}de&&Ln(w,null,C,"beforeUnmount"),Y&64?w.type.remove(w,C,P,j,X,$):U&&(ne!==Me||ie>0&&ie&64)?J(U,C,P,!1,!0):(ne===Me&&ie&384||!j&&Y&16)&&J(se,C,P),$&&xe(w)}(Ee&&(W=re&&re.onVnodeUnmounted)||de)&&rt(()=>{W&&wt(W,C,w),de&&Ln(w,null,C,"unmounted")},P)},xe=w=>{const{type:C,el:P,anchor:$,transition:j}=w;if(C===Me){Ae(P,$);return}if(C===ir){A(w);return}const ne=()=>{o(P),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(w.shapeFlag&1&&j&&!j.persisted){const{leave:re,delayLeave:z}=j,se=()=>re(P,ne);z?z(w.el,ne,se):se()}else ne()},Ae=(w,C)=>{let P;for(;w!==C;)P=f(w),o(w),w=P;o(C)},N=(w,C,P)=>{const{bum:$,scope:j,update:ne,subTree:re,um:z}=w;$&&ys($),j.stop(),ne&&(ne.active=!1,ee(re,w,C,P)),z&&rt(z,C),rt(()=>{w.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},J=(w,C,P,$=!1,j=!1,ne=0)=>{for(let re=ne;rew.shapeFlag&6?V(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),te=(w,C,P)=>{w==null?C._vnode&&ee(C._vnode,null,null,!0):p(C._vnode||null,w,C,null,null,null,P),$c(),df(),C._vnode=w},X={p,um:ee,m:me,r:xe,mt:I,mc:v,pc:q,pbc:M,n:V,o:t};let pe,ue;return e&&([pe,ue]=e(X)),{render:te,hydrate:pe,createApp:n1(te,pe)}}function In({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Df(t,e,n=!1){const s=t.children,o=e.children;if(Ce(s)&&Ce(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 i1=t=>t.__isTeleport,Me=Symbol(void 0),Qr=Symbol(void 0),St=Symbol(void 0),ir=Symbol(void 0),ro=[];let It=null;function E(t=!1){ro.push(It=t?null:[])}function a1(){ro.pop(),It=ro[ro.length-1]||null}let vo=1;function Zc(t){vo+=t}function Lf(t){return t.dynamicChildren=vo>0?It||_s:null,a1(),vo>0&&It&&It.push(t),t}function S(t,e,n,s,o,r){return Lf(u(t,e,n,s,o,r,!0))}function nt(t,e,n,s,o){return Lf(fe(t,e,n,s,o,!0))}function wo(t){return t?t.__v_isVNode===!0:!1}function Cn(t,e){return t.type===e.type&&t.key===e.key}const Jr="__vInternal",If=({key:t})=>t??null,ar=({ref:t,ref_key:e,ref_for:n})=>t!=null?Qe(t)||ut(t)||Oe(t)?{i:it,r:t,k:e,f:!!n}:t:null;function u(t,e=null,n=null,s=0,o=null,r=t===Me?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&If(e),ref:e&&ar(e),scopeId:Kr,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:it};return a?(Ul(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Qe(n)?8:16),vo>0&&!i&&It&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&It.push(l),l}const fe=l1;function l1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===kf)&&(t=St),wo(t)){const a=an(t,e,!0);return n&&Ul(a,n),vo>0&&!r&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag|=-2,a}if(b1(t)&&(t=t.__vccOpts),e){e=c1(e);let{class:a,style:l}=e;a&&!Qe(a)&&(e.class=Te(a)),Ge(l)&&(tf(l)&&!Ce(l)&&(l=ot({},l)),e.style=Ct(l))}const i=Qe(t)?1:pf(t)?128:i1(t)?64:Ge(t)?4:Oe(t)?2:0;return u(t,e,n,s,o,i,r,!0)}function c1(t){return t?tf(t)||Jr in t?ot({},t):t:null}function an(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?u1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&If(a),ref:e&&e.ref?n&&o?Ce(o)?o.concat(ar(e)):[o,ar(e)]:ar(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!==Me?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&&an(t.ssContent),ssFallback:t.ssFallback&&an(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function be(t=" ",e=0){return fe(Qr,null,t,e)}function os(t,e){const n=fe(ir,null,t);return n.staticCount=e,n}function B(t="",e=!1){return e?(E(),nt(St,null,t)):fe(St,null,t)}function jt(t){return t==null||typeof t=="boolean"?fe(St):Ce(t)?fe(Me,null,t.slice()):typeof t=="object"?bn(t):fe(Qr,null,String(t))}function bn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:an(t)}function Ul(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Ce(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Ul(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Jr in e)?e._ctx=it:o===3&&it&&(it.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Oe(e)?(e={default:e,_ctx:it},n=32):(e=String(e),s&64?(n=16,e=[be(e)]):n=8);t.children=e,t.shapeFlag|=n}function u1(...t){const e={};for(let n=0;nJe||it,As=t=>{Je=t,t.scope.on()},Zn=()=>{Je&&Je.scope.off(),Je=null};function Pf(t){return t.vnode.shapeFlag&4}let xo=!1;function p1(t,e=!1){xo=e;const{props:n,children:s}=t.vnode,o=Pf(t);Y_(t,n,o,e),X_(t,s);const r=o?g1(t,e):void 0;return xo=!1,r}function g1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=nf(new Proxy(t.ctx,H_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?_1(t):null;As(t),js();const r=Mn(s,t,0,[t.props,o]);if(zs(),Zn(),zh(r)){if(r.then(Zn,Zn),e)return r.then(i=>{Yc(t,i,e)}).catch(i=>{Vr(i,t,0)});t.asyncDep=r}else Yc(t,r,e)}else Ff(t,e)}function Yc(t,e,n){Oe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ge(e)&&(t.setupState=af(e)),Ff(t,n)}let Qc;function Ff(t,e,n){const s=t.type;if(!t.render){if(!e&&Qc&&!s.render){const o=s.template||jl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=ot(ot({isCustomElement:r,delimiters:a},i),l);s.render=Qc(o,c)}}t.render=s.render||Pt}As(t),js(),V_(t),zs(),Zn()}function m1(t){return new Proxy(t.attrs,{get(e,n){return gt(t,"get","$attrs"),e[n]}})}function _1(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 Xr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(af(nf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in oo)return oo[n](t)},has(e,n){return n in e||n in oo}}))}function Wa(t,e=!0){return Oe(t)?t.displayName||t.name:t.name||e&&t.__name}function b1(t){return Oe(t)&&"__vccOpts"in t}const Et=(t,e)=>b_(t,e,xo);function Hl(t,e,n){const s=arguments.length;return s===2?Ge(e)&&!Ce(e)?wo(e)?fe(t,null,[e]):fe(t,e):fe(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wo(n)&&(n=[n]),fe(t,e,n))}const y1=Symbol(""),v1=()=>sn(y1),w1="3.2.47",x1="http://www.w3.org/2000/svg",zn=typeof document<"u"?document:null,Jc=zn&&zn.createElement("template"),k1={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?zn.createElementNS(x1,t):zn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>zn.createTextNode(t),createComment:t=>zn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>zn.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{Jc.innerHTML=s?`${t}`:t;const a=Jc.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 E1(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 C1(t,e,n){const s=t.style,o=Qe(n);if(n&&!o){if(e&&!Qe(e))for(const r in e)n[r]==null&&Za(s,r,"");for(const r in n)Za(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 Xc=/\s*!important$/;function Za(t,e,n){if(Ce(n))n.forEach(s=>Za(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=A1(t,e);Xc.test(n)?t.setProperty(ts(s),n.replace(Xc,""),"important"):t[s]=n}}const eu=["Webkit","Moz","ms"],Mi={};function A1(t,e){const n=Mi[e];if(n)return n;let s=Zt(e);if(s!=="filter"&&s in t)return Mi[e]=s;s=qr(s);for(let o=0;oOi||(N1.then(()=>Oi=0),Oi=Date.now());function L1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(I1(s,n.value),e,5,[s])};return n.value=t,n.attached=D1(),n}function I1(t,e){if(Ce(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 su=/^on[a-z]/,P1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?E1(t,s,o):e==="style"?C1(t,n,s):zr(e)?El(e)||O1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):F1(t,e,s,o))?T1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),S1(t,e,s,o))};function F1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&su.test(e)&&Oe(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||su.test(e)&&Qe(n)?!1:e in t}const fn="transition",Zs="animation",Ss=(t,{slots:e})=>Hl(bf,$f(t),e);Ss.displayName="Transition";const Bf={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},B1=Ss.props=ot({},bf.props,Bf),Pn=(t,e=[])=>{Ce(t)?t.forEach(n=>n(...e)):t&&t(...e)},ou=t=>t?Ce(t)?t.some(e=>e.length>1):t.length>1:!1;function $f(t){const e={};for(const F in t)F in Bf||(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:d=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,m=$1(o),p=m&&m[0],b=m&&m[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:x,onLeave:A,onLeaveCancelled:R,onBeforeAppear:O=_,onAppear:D=y,onAppearCancelled:v=x}=e,k=(F,Q,I)=>{_n(F,Q?d:a),_n(F,Q?c:i),I&&I()},M=(F,Q)=>{F._isLeaving=!1,_n(F,h),_n(F,g),_n(F,f),Q&&Q()},L=F=>(Q,I)=>{const ce=F?D:y,Z=()=>k(Q,F,I);Pn(ce,[Q,Z]),ru(()=>{_n(Q,F?l:r),tn(Q,F?d:a),ou(ce)||iu(Q,s,p,Z)})};return ot(e,{onBeforeEnter(F){Pn(_,[F]),tn(F,r),tn(F,i)},onBeforeAppear(F){Pn(O,[F]),tn(F,l),tn(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Q){F._isLeaving=!0;const I=()=>M(F,Q);tn(F,h),zf(),tn(F,f),ru(()=>{F._isLeaving&&(_n(F,h),tn(F,g),ou(A)||iu(F,s,b,I))}),Pn(A,[F,I])},onEnterCancelled(F){k(F,!1),Pn(x,[F])},onAppearCancelled(F){k(F,!0),Pn(v,[F])},onLeaveCancelled(F){M(F),Pn(R,[F])}})}function $1(t){if(t==null)return null;if(Ge(t))return[Ri(t.enter),Ri(t.leave)];{const e=Ri(t);return[e,e]}}function Ri(t){return Im(t)}function tn(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 ru(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let j1=0;function iu(t,e,n,s){const o=t._endId=++j1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=jf(t,e);if(!i)return s();const c=i+"end";let d=0;const h=()=>{t.removeEventListener(c,f),r()},f=g=>{g.target===t&&++d>=l&&h()};setTimeout(()=>{d(n[m]||"").split(", "),o=s(`${fn}Delay`),r=s(`${fn}Duration`),i=au(o,r),a=s(`${Zs}Delay`),l=s(`${Zs}Duration`),c=au(a,l);let d=null,h=0,f=0;e===fn?i>0&&(d=fn,h=i,f=r.length):e===Zs?c>0&&(d=Zs,h=c,f=l.length):(h=Math.max(i,c),d=h>0?i>c?fn:Zs:null,f=d?d===fn?r.length:l.length:0);const g=d===fn&&/\b(transform|all)(,|$)/.test(s(`${fn}Property`).toString());return{type:d,timeout:h,propCount:f,hasTransform:g}}function au(t,e){for(;t.lengthlu(n)+lu(t[s])))}function lu(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function zf(){return document.body.offsetHeight}const Uf=new WeakMap,qf=new WeakMap,Hf={name:"TransitionGroup",props:ot({},B1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=ql(),s=_f();let o,r;return Fl(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!V1(o[0].el,n.vnode.el,i))return;o.forEach(U1),o.forEach(q1);const a=o.filter(H1);zf(),a.forEach(l=>{const c=l.el,d=c.style;tn(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const h=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c._moveCb=null,_n(c,i))};c.addEventListener("transitionend",h)})}),()=>{const i=$e(t),a=$f(i);let l=i.tag||Me;o=r,r=e.default?Pl(e.default()):[];for(let c=0;cdelete t.mode;Hf.props;const Ut=Hf;function U1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function q1(t){qf.set(t,t.el.getBoundingClientRect())}function H1(t){const e=Uf.get(t),n=qf.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 V1(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}=jf(s);return o.removeChild(s),r}const Ts=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ce(e)?n=>ys(e,n):e};function G1(t){t.target.composing=!0}function cu(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ve={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Ts(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=br(a)),t._assign(a)}),n&&An(t,"change",()=>{t.value=t.value.trim()}),e||(An(t,"compositionstart",G1),An(t,"compositionend",cu),An(t,"change",cu))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Ts(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&br(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},xt={deep:!0,created(t,e,n){t._assign=Ts(n),An(t,"change",()=>{const s=t._modelValue,o=ko(t),r=t.checked,i=t._assign;if(Ce(s)){const a=kl(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(Bs(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Vf(t,r))})},mounted:uu,beforeUpdate(t,e,n){t._assign=Ts(n),uu(t,e,n)}};function uu(t,{value:e,oldValue:n},s){t._modelValue=e,Ce(e)?t.checked=kl(e,s.props.value)>-1:Bs(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=No(e,Vf(t,!0)))}const Ya={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Bs(e);An(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?br(ko(i)):ko(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Ts(s)},mounted(t,{value:e}){du(t,e)},beforeUpdate(t,e,n){t._assign=Ts(n)},updated(t,{value:e}){du(t,e)}};function du(t,e){const n=t.multiple;if(!(n&&!Ce(e)&&!Bs(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(No(ko(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function ko(t){return"_value"in t?t._value:t.value}function Vf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const K1=["ctrl","shift","alt","meta"],W1={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)=>K1.some(n=>t[`${n}Key`]&&!e.includes(n))},ae=(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||Z1[o]===s))return t(n)},lt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Ys(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Ys(t,!0),s.enter(t)):s.leave(t,()=>{Ys(t,!1)}):Ys(t,e))},beforeUnmount(t,{value:e}){Ys(t,e)}};function Ys(t,e){t.style.display=e?t._vod:"none"}const Y1=ot({patchProp:P1},k1);let hu;function Q1(){return hu||(hu=s1(Y1))}const J1=(...t)=>{const e=Q1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=X1(s);if(!o)return;const r=e._component;!Oe(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 X1(t){return Qe(t)?document.querySelector(t):t}function e0(){return Gf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Gf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const t0=typeof Proxy=="function",n0="devtools-plugin:setup",s0="plugin:settings:set";let ls,Ja;function o0(){var t;return ls!==void 0||(typeof window<"u"&&window.performance?(ls=!0,Ja=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ls=!0,Ja=global.perf_hooks.performance):ls=!1),ls}function r0(){return o0()?Ja.now():Date.now()}class i0{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 r0()}},n&&n.on(s0,(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 a0(t,e){const n=t,s=Gf(),o=e0(),r=t0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(n0,t,e);else{const i=r?new i0(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 l0="store";function qs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Gf(t){return t!==null&&typeof t=="object"}function c0(t){return t&&typeof t.then=="function"}function u0(t,e){return function(){return t(e)}}function Kf(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 Wf(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;ei(t,n,[],t._modules.root,!0),Vl(t,n,e)}function Vl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};qs(o,function(i,a){r[a]=u0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Us({data:e}),t.strict&&g0(t),s&&n&&t._withCommit(function(){s.data=null})}function ei(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=Gl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=d0(t,i,n);s.forEachMutation(function(u,h){var f=i+h;h0(t,f,u,c)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,g=u.handler||u;f0(t,f,g,c)}),s.forEachGetter(function(u,h){var f=i+h;p0(t,f,u,c)}),s.forEachChild(function(u,h){ei(t,e,n.concat(h),u,o)})}function d0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=kr(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=kr(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 Zf(t,e)}},state:{get:function(){return Gl(t.state,n)}}}),o}function Zf(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 h0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function f0(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 c0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function p0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function g0(t){Wn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Gl(t,e){return e.reduce(function(n,s){return n[s]},t)}function kr(t,e,n){return Gf(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var m0="vuex bindings",hu="vuex:mutations",Ni="vuex:actions",cs="vuex",_0=0;function b0(t,e){a0({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:[m0]},function(n){n.addTimelineLayer({id:hu,label:"Vuex Mutations",color:fu}),n.addTimelineLayer({id:Ni,label:"Vuex Actions",color:fu}),n.addInspector({id:cs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===cs)if(s.filter){var o=[];Xf(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[Jf(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===cs){var o=s.nodeId;Zf(e,o),s.state=w0(k0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===cs){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(cs),n.sendInspectorState(cs),n.addTimelineEvent({layerId:hu,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=_0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ni,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:Ni,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var fu=8702998,y0=6710886,v0=16777215,Yf={label:"namespaced",textColor:v0,backgroundColor:y0};function Qf(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Jf(t,e){return{id:e||"root",label:Qf(e),tags:t.namespaced?[Yf]:[],children:Object.keys(t._children).map(function(n){return Jf(t._children[n],e+n+"/")})}}function Xf(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?[Yf]:[]}),Object.keys(e._children).forEach(function(o){Xf(t,e._children[o],n,s+o+"/")})}function w0(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=x0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?Qf(i):i,editable:!1,value:Xa(function(){return r[i]})}})}return o}function x0(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]=Xa(function(){return t[n]})}else e[n]=Xa(function(){return t[n]})}),e}function k0(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 Xa(t){try{return t()}catch(e){return e}}var Bt=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)||{}},ep={namespaced:{configurable:!0}};ep.namespaced.get=function(){return!!this._rawModule.namespaced};Bt.prototype.addChild=function(e,n){this._children[e]=n};Bt.prototype.removeChild=function(e){delete this._children[e]};Bt.prototype.getChild=function(e){return this._children[e]};Bt.prototype.hasChild=function(e){return e in this._children};Bt.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)};Bt.prototype.forEachChild=function(e){qs(this._children,e)};Bt.prototype.forEachGetter=function(e){this._rawModule.getters&&qs(this._rawModule.getters,e)};Bt.prototype.forEachAction=function(e){this._rawModule.actions&&qs(this._rawModule.actions,e)};Bt.prototype.forEachMutation=function(e){this._rawModule.mutations&&qs(this._rawModule.mutations,e)};Object.defineProperties(Bt.prototype,ep);var rs=function(e){this.register([],e,!1)};rs.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};rs.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};rs.prototype.update=function(e){tp([],this.root,e)};rs.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Bt(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&&qs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};rs.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)};rs.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function tp(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;tp(t.concat(s),e.getChild(s),n.modules[s])}}function E0(t){return new mt(t)}var mt=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 rs(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,g){return l.call(i,f,g)},this.commit=function(f,g,m){return c.call(i,f,g,m)},this.strict=o;var u=this._modules.root.state;ei(this,u,[],this._modules.root),Vl(this,u),s.forEach(function(h){return h(n)})},Kl={state:{configurable:!0}};mt.prototype.install=function(e,n){e.provide(n||l0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&b0(e,this)};Kl.state.get=function(){return this._state.data};Kl.state.set=function(t){};mt.prototype.commit=function(e,n,s){var o=this,r=kr(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)}))};mt.prototype.dispatch=function(e,n){var s=this,o=kr(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(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};mt.prototype.subscribe=function(e,n){return Kf(e,this._subscribers,n)};mt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Kf(s,this._actionSubscribers,n)};mt.prototype.watch=function(e,n,s){var o=this;return Wn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};mt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};mt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ei(this,this.state,e,this._modules.get(e),s.preserveState),Vl(this,this.state)};mt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Gl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Wf(this)};mt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};mt.prototype.hotUpdate=function(e){this._modules.update(e),Wf(this,!0)};mt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(mt.prototype,Kl);var C0=T0(function(t,e){var n={};return A0(e).forEach(function(s){var o=s.key,r=s.val;n[o]=function(){var a=this.$store.state,l=this.$store.getters;if(t){var c=M0(this.$store,"mapState",t);if(!c)return;a=c.context.state,l=c.context.getters}return typeof r=="function"?r.call(this,a,l):a[r]},n[o].vuex=!0}),n});function A0(t){return S0(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function S0(t){return Array.isArray(t)||Gf(t)}function T0(t){return function(e,n){return typeof e!="string"?(n=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,n)}}function M0(t,e,n){var s=t._modulesNamespaceMap[n];return s}function np(t,e){return function(){return t.apply(e,arguments)}}const{toString:O0}=Object.prototype,{getPrototypeOf:Wl}=Object,ti=(t=>e=>{const n=O0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),dn=t=>(t=t.toLowerCase(),e=>ti(e)===t),ni=t=>e=>typeof e===t,{isArray:Hs}=Array,Eo=ni("undefined");function R0(t){return t!==null&&!Eo(t)&&t.constructor!==null&&!Eo(t.constructor)&&ln(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const sp=dn("ArrayBuffer");function N0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&sp(t.buffer),e}const D0=ni("string"),ln=ni("function"),op=ni("number"),Zl=t=>t!==null&&typeof t=="object",L0=t=>t===!0||t===!1,lr=t=>{if(ti(t)!=="object")return!1;const e=Wl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},I0=dn("Date"),P0=dn("File"),F0=dn("Blob"),B0=dn("FileList"),$0=t=>Zl(t)&&ln(t.pipe),j0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ln(t.append)&&((e=ti(t))==="formdata"||e==="object"&&ln(t.toString)&&t.toString()==="[object FormData]"))},z0=dn("URLSearchParams"),U0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Do(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Hs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const ip=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ap=t=>!Eo(t)&&t!==ip;function el(){const{caseless:t}=ap(this)&&this||{},e={},n=(s,o)=>{const r=t&&rp(e,o)||o;lr(e[r])&&lr(s)?e[r]=el(e[r],s):lr(s)?e[r]=el({},s):Hs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Do(e,(o,r)=>{n&&ln(o)?t[r]=np(o,n):t[r]=o},{allOwnKeys:s}),t),H0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),V0=(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)},G0=(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&&Wl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},K0=(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},W0=t=>{if(!t)return null;if(Hs(t))return t;let e=t.length;if(!op(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Z0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Wl(Uint8Array)),Y0=(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])}},Q0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},J0=dn("HTMLFormElement"),X0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),pu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),eb=dn("RegExp"),lp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Do(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},tb=t=>{lp(t,(e,n)=>{if(ln(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(ln(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+"'")})}})},nb=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Hs(t)?s(t):s(String(t).split(e)),n},sb=()=>{},ob=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Di="abcdefghijklmnopqrstuvwxyz",gu="0123456789",cp={DIGIT:gu,ALPHA:Di,ALPHA_DIGIT:Di+Di.toUpperCase()+gu},rb=(t=16,e=cp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function ib(t){return!!(t&&ln(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ab=t=>{const e=new Array(10),n=(s,o)=>{if(Zl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Hs(s)?[]:{};return Do(s,(i,a)=>{const l=n(i,o+1);!Eo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:Hs,isArrayBuffer:sp,isBuffer:R0,isFormData:j0,isArrayBufferView:N0,isString:D0,isNumber:op,isBoolean:L0,isObject:Zl,isPlainObject:lr,isUndefined:Eo,isDate:I0,isFile:P0,isBlob:F0,isRegExp:eb,isFunction:ln,isStream:$0,isURLSearchParams:z0,isTypedArray:Z0,isFileList:B0,forEach:Do,merge:el,extend:q0,trim:U0,stripBOM:H0,inherits:V0,toFlatObject:G0,kindOf:ti,kindOfTest:dn,endsWith:K0,toArray:W0,forEachEntry:Y0,matchAll:Q0,isHTMLForm:J0,hasOwnProperty:pu,hasOwnProp:pu,reduceDescriptors:lp,freezeMethods:tb,toObjectSet:nb,toCamelCase:X0,noop:sb,toFiniteNumber:ob,findKey:rp,global:ip,isContextDefined:ap,ALPHABET:cp,generateString:rb,isSpecCompliantForm:ib,toJSONObject:ab};function Fe(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)}K.inherits(Fe,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:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const up=Fe.prototype,dp={};["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=>{dp[t]={value:t}});Object.defineProperties(Fe,dp);Object.defineProperty(up,"isAxiosError",{value:!0});Fe.from=(t,e,n,s,o,r)=>{const i=Object.create(up);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Fe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const lb=null;function tl(t){return K.isPlainObject(t)||K.isArray(t)}function hp(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function mu(t,e,n){return t?t.concat(e).map(function(o,r){return o=hp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function cb(t){return K.isArray(t)&&!t.some(tl)}const ub=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function si(t,e,n){if(!K.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!K.isUndefined(b[p])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(e);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!l&&K.isBlob(m))throw new Fe("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,b){let _=m;if(m&&!b&&typeof m=="object"){if(K.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&cb(m)||(K.isFileList(m)||K.endsWith(p,"[]"))&&(_=K.toArray(m)))return p=hp(p),_.forEach(function(x,A){!(K.isUndefined(x)||x===null)&&e.append(i===!0?mu([p],A,r):i===null?p:p+"[]",c(x))}),!1}return tl(m)?!0:(e.append(mu(b,p,r),c(m)),!1)}const h=[],f=Object.assign(ub,{defaultVisitor:u,convertValue:c,isVisitable:tl});function g(m,p){if(!K.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(m),K.forEach(m,function(_,y){(!(K.isUndefined(_)||_===null)&&o.call(e,_,K.isString(y)?y.trim():y,p,f))===!0&&g(_,p?p.concat(y):[y])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return g(t),e}function _u(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Yl(t,e){this._pairs=[],t&&si(t,this,e)}const fp=Yl.prototype;fp.append=function(e,n){this._pairs.push([e,n])};fp.toString=function(e){const n=e?function(s){return e.call(this,s,_u)}:_u;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function db(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pp(t,e,n){if(!e)return t;const s=n&&n.encode||db,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Yl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class hb{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){K.forEach(this.handlers,function(s){s!==null&&e(s)})}}const bu=hb,gp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fb=typeof URLSearchParams<"u"?URLSearchParams:Yl,pb=typeof FormData<"u"?FormData:null,gb=typeof Blob<"u"?Blob:null,mb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),_b=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:fb,FormData:pb,Blob:gb},isStandardBrowserEnv:mb,isStandardBrowserWebWorkerEnv:_b,protocols:["http","https","file","blob","url","data"]};function bb(t,e){return si(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function yb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function vb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&K.isArray(o)?o.length:i,l?(K.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!K.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&K.isArray(o[i])&&(o[i]=vb(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(yb(s),o,n,0)}),n}return null}const wb={"Content-Type":void 0};function xb(t,e,n){if(K.isString(t))try{return(e||JSON.parse)(t),K.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const oi={transitional:gp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=K.isObject(e);if(r&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return o&&o?JSON.stringify(mp(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.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 bb(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return si(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),xb(e)):e}],transformResponse:[function(e){const n=this.transitional||oi.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&K.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"?Fe.from(a,Fe.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, */*"}}};K.forEach(["delete","get","head"],function(e){oi.headers[e]={}});K.forEach(["post","put","patch"],function(e){oi.headers[e]=K.merge(wb)});const Ql=oi,kb=K.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"]),Eb=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]&&kb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},yu=Symbol("internals");function Qs(t){return t&&String(t).trim().toLowerCase()}function cr(t){return t===!1||t==null?t:K.isArray(t)?t.map(cr):String(t)}function Cb(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 Ab=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Li(t,e,n,s,o){if(K.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!K.isString(e)){if(K.isString(s))return e.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(e)}}function Sb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Tb(t,e){const n=K.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 ri{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Qs(l);if(!u)throw new Error("header name must be a non-empty string");const h=K.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=cr(a))}const i=(a,l)=>K.forEach(a,(c,u)=>r(c,u,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!Ab(e)?i(Eb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Qs(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Cb(o);if(K.isFunction(n))return n.call(this,o,s);if(K.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Qs(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Li(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Qs(i),i){const a=K.findKey(s,i);a&&(!n||Li(s,s[a],a,n))&&(delete s[a],o=!0)}}return K.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||Li(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return K.forEach(this,(o,r)=>{const i=K.findKey(s,r);if(i){n[i]=cr(o),delete n[r];return}const a=e?Sb(r):String(r).trim();a!==r&&delete n[r],n[a]=cr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return K.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&K.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[yu]=this[yu]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Qs(i);s[a]||(Tb(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}ri.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(ri.prototype);K.freezeMethods(ri);const on=ri;function Ii(t,e){const n=this||Ql,s=e||n,o=on.from(s.headers);let r=s.data;return K.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function _p(t){return!!(t&&t.__CANCEL__)}function Lo(t,e,n){Fe.call(this,t??"canceled",Fe.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Lo,Fe,{__CANCEL__:!0});function Mb(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Fe("Request failed with status code "+n.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Ob=qt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),K.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),K.isString(r)&&l.push("path="+r),K.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 Rb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Nb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function bp(t,e){return t&&!Rb(e)?Nb(t,e):e}const Db=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=K.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Lb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Ib(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 Pb=typeof XMLHttpRequest<"u",Fb=Pb&&function(t){return new Promise(function(n,s){let o=t.data;const r=on.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}K.isFormData(o)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+m))}const u=bp(t.baseURL,t.url);c.open(t.method.toUpperCase(),pp(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function h(){if(!c)return;const g=on.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),p={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};Mb(function(_){n(_),l()},function(_){s(_),l()},p),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 Fe("Request aborted",Fe.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new Fe("Network Error",Fe.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const p=t.transitional||gp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new Fe(m,p.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,t,c)),c=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||Db(u))&&t.xsrfCookieName&&Ob.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&K.forEach(r.toJSON(),function(m,p){c.setRequestHeader(p,m)}),K.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",vu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",vu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Lo(null,t,c):g),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Lb(u);if(f&&qt.protocols.indexOf(f)===-1){s(new Fe("Unsupported protocol "+f+":",Fe.ERR_BAD_REQUEST,t));return}c.send(o||null)})},ur={http:lb,xhr:Fb};K.forEach(ur,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Bb={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof on?t.toJSON():t;function Ms(t,e){e=e||{};const n={};function s(c,u,h){return K.isPlainObject(c)&&K.isPlainObject(u)?K.merge.call({caseless:h},c,u):K.isPlainObject(u)?K.merge({},u):K.isArray(u)?u.slice():u}function o(c,u,h){if(K.isUndefined(u)){if(!K.isUndefined(c))return s(void 0,c,h)}else return s(c,u,h)}function r(c,u){if(!K.isUndefined(u))return s(void 0,u)}function i(c,u){if(K.isUndefined(u)){if(!K.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(xu(c),xu(u),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);K.isUndefined(f)&&h!==a||(n[u]=f)}),n}const yp="1.3.6",Jl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Jl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const ku={};Jl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+yp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Fe(o(i," has been removed"+(n?" in "+n:"")),Fe.ERR_DEPRECATED);return n&&!ku[i]&&(ku[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 $b(t,e,n){if(typeof t!="object")throw new Fe("options must be an object",Fe.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 Fe("option "+r+" must be "+l,Fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fe("Unknown option "+r,Fe.ERR_BAD_OPTION)}}const nl={assertOptions:$b,validators:Jl},pn=nl.validators;class Er{constructor(e){this.defaults=e,this.interceptors={request:new bu,response:new bu}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ms(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&nl.assertOptions(s,{silentJSONParsing:pn.transitional(pn.boolean),forcedJSONParsing:pn.transitional(pn.boolean),clarifyTimeoutError:pn.transitional(pn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:nl.assertOptions(o,{encode:pn.function,serialize:pn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&K.merge(r.common,r[n.method]),i&&K.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=on.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,f;if(!l){const m=[wu.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,c),f=m.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 Lo(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 Xl(function(o){e=o}),cancel:e}}}const jb=Xl;function zb(t){return function(n){return t.apply(null,n)}}function Ub(t){return K.isObject(t)&&t.isAxiosError===!0}const sl={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(sl).forEach(([t,e])=>{sl[e]=t});const qb=sl;function vp(t){const e=new dr(t),n=np(dr.prototype.request,e);return K.extend(n,dr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return vp(Ms(t,o))},n}const st=vp(Ql);st.Axios=dr;st.CanceledError=Lo;st.CancelToken=jb;st.isCancel=_p;st.VERSION=yp;st.toFormData=si;st.AxiosError=Fe;st.Cancel=st.CanceledError;st.all=function(e){return Promise.all(e)};st.spread=zb;st.isAxiosError=Ub;st.mergeConfig=Ms;st.AxiosHeaders=on;st.formToJSON=t=>mp(K.isHTMLForm(t)?new FormData(t):t);st.HttpStatusCode=qb;st.default=st;const Ee=st;/*! + */var l0="store";function qs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Kf(t){return t!==null&&typeof t=="object"}function c0(t){return t&&typeof t.then=="function"}function u0(t,e){return function(){return t(e)}}function Wf(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 Zf(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;ei(t,n,[],t._modules.root,!0),Vl(t,n,e)}function Vl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};qs(o,function(i,a){r[a]=u0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Us({data:e}),t.strict&&g0(t),s&&n&&t._withCommit(function(){s.data=null})}function ei(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=Gl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=d0(t,i,n);s.forEachMutation(function(d,h){var f=i+h;h0(t,f,d,c)}),s.forEachAction(function(d,h){var f=d.root?h:i+h,g=d.handler||d;f0(t,f,g,c)}),s.forEachGetter(function(d,h){var f=i+h;p0(t,f,d,c)}),s.forEachChild(function(d,h){ei(t,e,n.concat(h),d,o)})}function d0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=kr(r,i,a),c=l.payload,d=l.options,h=l.type;return(!d||!d.root)&&(h=e+h),t.dispatch(h,c)},commit:s?t.commit:function(r,i,a){var l=kr(r,i,a),c=l.payload,d=l.options,h=l.type;(!d||!d.root)&&(h=e+h),t.commit(h,c,d)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return Yf(t,e)}},state:{get:function(){return Gl(t.state,n)}}}),o}function Yf(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 h0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function f0(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 c0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function p0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function g0(t){Wn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Gl(t,e){return e.reduce(function(n,s){return n[s]},t)}function kr(t,e,n){return Kf(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var m0="vuex bindings",fu="vuex:mutations",Ni="vuex:actions",cs="vuex",_0=0;function b0(t,e){a0({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:[m0]},function(n){n.addTimelineLayer({id:fu,label:"Vuex Mutations",color:pu}),n.addTimelineLayer({id:Ni,label:"Vuex Actions",color:pu}),n.addInspector({id:cs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===cs)if(s.filter){var o=[];ep(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[Xf(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===cs){var o=s.nodeId;Yf(e,o),s.state=w0(k0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===cs){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(cs),n.sendInspectorState(cs),n.addTimelineEvent({layerId:fu,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=_0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ni,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:Ni,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var pu=8702998,y0=6710886,v0=16777215,Qf={label:"namespaced",textColor:v0,backgroundColor:y0};function Jf(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Xf(t,e){return{id:e||"root",label:Jf(e),tags:t.namespaced?[Qf]:[],children:Object.keys(t._children).map(function(n){return Xf(t._children[n],e+n+"/")})}}function ep(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?[Qf]:[]}),Object.keys(e._children).forEach(function(o){ep(t,e._children[o],n,s+o+"/")})}function w0(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=x0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?Jf(i):i,editable:!1,value:Xa(function(){return r[i]})}})}return o}function x0(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]=Xa(function(){return t[n]})}else e[n]=Xa(function(){return t[n]})}),e}function k0(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 Xa(t){try{return t()}catch(e){return e}}var Bt=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)||{}},tp={namespaced:{configurable:!0}};tp.namespaced.get=function(){return!!this._rawModule.namespaced};Bt.prototype.addChild=function(e,n){this._children[e]=n};Bt.prototype.removeChild=function(e){delete this._children[e]};Bt.prototype.getChild=function(e){return this._children[e]};Bt.prototype.hasChild=function(e){return e in this._children};Bt.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)};Bt.prototype.forEachChild=function(e){qs(this._children,e)};Bt.prototype.forEachGetter=function(e){this._rawModule.getters&&qs(this._rawModule.getters,e)};Bt.prototype.forEachAction=function(e){this._rawModule.actions&&qs(this._rawModule.actions,e)};Bt.prototype.forEachMutation=function(e){this._rawModule.mutations&&qs(this._rawModule.mutations,e)};Object.defineProperties(Bt.prototype,tp);var rs=function(e){this.register([],e,!1)};rs.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};rs.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};rs.prototype.update=function(e){np([],this.root,e)};rs.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Bt(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&&qs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};rs.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)};rs.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function np(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;np(t.concat(s),e.getChild(s),n.modules[s])}}function E0(t){return new mt(t)}var mt=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 rs(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,g){return l.call(i,f,g)},this.commit=function(f,g,m){return c.call(i,f,g,m)},this.strict=o;var d=this._modules.root.state;ei(this,d,[],this._modules.root),Vl(this,d),s.forEach(function(h){return h(n)})},Kl={state:{configurable:!0}};mt.prototype.install=function(e,n){e.provide(n||l0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&b0(e,this)};Kl.state.get=function(){return this._state.data};Kl.state.set=function(t){};mt.prototype.commit=function(e,n,s){var o=this,r=kr(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(d){return d(l,o.state)}))};mt.prototype.dispatch=function(e,n){var s=this,o=kr(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(d){return d.before}).forEach(function(d){return d.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,h){c.then(function(f){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}d(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};mt.prototype.subscribe=function(e,n){return Wf(e,this._subscribers,n)};mt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Wf(s,this._actionSubscribers,n)};mt.prototype.watch=function(e,n,s){var o=this;return Wn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};mt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};mt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),ei(this,this.state,e,this._modules.get(e),s.preserveState),Vl(this,this.state)};mt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Gl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Zf(this)};mt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};mt.prototype.hotUpdate=function(e){this._modules.update(e),Zf(this,!0)};mt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(mt.prototype,Kl);var C0=T0(function(t,e){var n={};return A0(e).forEach(function(s){var o=s.key,r=s.val;n[o]=function(){var a=this.$store.state,l=this.$store.getters;if(t){var c=M0(this.$store,"mapState",t);if(!c)return;a=c.context.state,l=c.context.getters}return typeof r=="function"?r.call(this,a,l):a[r]},n[o].vuex=!0}),n});function A0(t){return S0(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function S0(t){return Array.isArray(t)||Kf(t)}function T0(t){return function(e,n){return typeof e!="string"?(n=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,n)}}function M0(t,e,n){var s=t._modulesNamespaceMap[n];return s}function sp(t,e){return function(){return t.apply(e,arguments)}}const{toString:O0}=Object.prototype,{getPrototypeOf:Wl}=Object,ti=(t=>e=>{const n=O0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),dn=t=>(t=t.toLowerCase(),e=>ti(e)===t),ni=t=>e=>typeof e===t,{isArray:Hs}=Array,Eo=ni("undefined");function R0(t){return t!==null&&!Eo(t)&&t.constructor!==null&&!Eo(t.constructor)&&ln(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const op=dn("ArrayBuffer");function N0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&op(t.buffer),e}const D0=ni("string"),ln=ni("function"),rp=ni("number"),Zl=t=>t!==null&&typeof t=="object",L0=t=>t===!0||t===!1,lr=t=>{if(ti(t)!=="object")return!1;const e=Wl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},I0=dn("Date"),P0=dn("File"),F0=dn("Blob"),B0=dn("FileList"),$0=t=>Zl(t)&&ln(t.pipe),j0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ln(t.append)&&((e=ti(t))==="formdata"||e==="object"&&ln(t.toString)&&t.toString()==="[object FormData]"))},z0=dn("URLSearchParams"),U0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Do(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Hs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const ap=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),lp=t=>!Eo(t)&&t!==ap;function el(){const{caseless:t}=lp(this)&&this||{},e={},n=(s,o)=>{const r=t&&ip(e,o)||o;lr(e[r])&&lr(s)?e[r]=el(e[r],s):lr(s)?e[r]=el({},s):Hs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Do(e,(o,r)=>{n&&ln(o)?t[r]=sp(o,n):t[r]=o},{allOwnKeys:s}),t),H0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),V0=(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)},G0=(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&&Wl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},K0=(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},W0=t=>{if(!t)return null;if(Hs(t))return t;let e=t.length;if(!rp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Z0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Wl(Uint8Array)),Y0=(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])}},Q0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},J0=dn("HTMLFormElement"),X0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),gu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),eb=dn("RegExp"),cp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Do(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},tb=t=>{cp(t,(e,n)=>{if(ln(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(ln(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+"'")})}})},nb=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Hs(t)?s(t):s(String(t).split(e)),n},sb=()=>{},ob=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Di="abcdefghijklmnopqrstuvwxyz",mu="0123456789",up={DIGIT:mu,ALPHA:Di,ALPHA_DIGIT:Di+Di.toUpperCase()+mu},rb=(t=16,e=up.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function ib(t){return!!(t&&ln(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ab=t=>{const e=new Array(10),n=(s,o)=>{if(Zl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Hs(s)?[]:{};return Do(s,(i,a)=>{const l=n(i,o+1);!Eo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:Hs,isArrayBuffer:op,isBuffer:R0,isFormData:j0,isArrayBufferView:N0,isString:D0,isNumber:rp,isBoolean:L0,isObject:Zl,isPlainObject:lr,isUndefined:Eo,isDate:I0,isFile:P0,isBlob:F0,isRegExp:eb,isFunction:ln,isStream:$0,isURLSearchParams:z0,isTypedArray:Z0,isFileList:B0,forEach:Do,merge:el,extend:q0,trim:U0,stripBOM:H0,inherits:V0,toFlatObject:G0,kindOf:ti,kindOfTest:dn,endsWith:K0,toArray:W0,forEachEntry:Y0,matchAll:Q0,isHTMLForm:J0,hasOwnProperty:gu,hasOwnProp:gu,reduceDescriptors:cp,freezeMethods:tb,toObjectSet:nb,toCamelCase:X0,noop:sb,toFiniteNumber:ob,findKey:ip,global:ap,isContextDefined:lp,ALPHABET:up,generateString:rb,isSpecCompliantForm:ib,toJSONObject:ab};function Fe(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)}K.inherits(Fe,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:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const dp=Fe.prototype,hp={};["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=>{hp[t]={value:t}});Object.defineProperties(Fe,hp);Object.defineProperty(dp,"isAxiosError",{value:!0});Fe.from=(t,e,n,s,o,r)=>{const i=Object.create(dp);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Fe.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const lb=null;function tl(t){return K.isPlainObject(t)||K.isArray(t)}function fp(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function _u(t,e,n){return t?t.concat(e).map(function(o,r){return o=fp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function cb(t){return K.isArray(t)&&!t.some(tl)}const ub=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function si(t,e,n){if(!K.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!K.isUndefined(b[p])});const s=n.metaTokens,o=n.visitor||d,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(e);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!l&&K.isBlob(m))throw new Fe("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,p,b){let _=m;if(m&&!b&&typeof m=="object"){if(K.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&cb(m)||(K.isFileList(m)||K.endsWith(p,"[]"))&&(_=K.toArray(m)))return p=fp(p),_.forEach(function(x,A){!(K.isUndefined(x)||x===null)&&e.append(i===!0?_u([p],A,r):i===null?p:p+"[]",c(x))}),!1}return tl(m)?!0:(e.append(_u(b,p,r),c(m)),!1)}const h=[],f=Object.assign(ub,{defaultVisitor:d,convertValue:c,isVisitable:tl});function g(m,p){if(!K.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(m),K.forEach(m,function(_,y){(!(K.isUndefined(_)||_===null)&&o.call(e,_,K.isString(y)?y.trim():y,p,f))===!0&&g(_,p?p.concat(y):[y])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return g(t),e}function bu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Yl(t,e){this._pairs=[],t&&si(t,this,e)}const pp=Yl.prototype;pp.append=function(e,n){this._pairs.push([e,n])};pp.toString=function(e){const n=e?function(s){return e.call(this,s,bu)}:bu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function db(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gp(t,e,n){if(!e)return t;const s=n&&n.encode||db,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Yl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class hb{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){K.forEach(this.handlers,function(s){s!==null&&e(s)})}}const yu=hb,mp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fb=typeof URLSearchParams<"u"?URLSearchParams:Yl,pb=typeof FormData<"u"?FormData:null,gb=typeof Blob<"u"?Blob:null,mb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),_b=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:fb,FormData:pb,Blob:gb},isStandardBrowserEnv:mb,isStandardBrowserWebWorkerEnv:_b,protocols:["http","https","file","blob","url","data"]};function bb(t,e){return si(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function yb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function vb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&K.isArray(o)?o.length:i,l?(K.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!K.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&K.isArray(o[i])&&(o[i]=vb(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(yb(s),o,n,0)}),n}return null}const wb={"Content-Type":void 0};function xb(t,e,n){if(K.isString(t))try{return(e||JSON.parse)(t),K.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const oi={transitional:mp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=K.isObject(e);if(r&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return o&&o?JSON.stringify(_p(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.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 bb(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return si(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),xb(e)):e}],transformResponse:[function(e){const n=this.transitional||oi.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&K.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"?Fe.from(a,Fe.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, */*"}}};K.forEach(["delete","get","head"],function(e){oi.headers[e]={}});K.forEach(["post","put","patch"],function(e){oi.headers[e]=K.merge(wb)});const Ql=oi,kb=K.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"]),Eb=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]&&kb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},vu=Symbol("internals");function Qs(t){return t&&String(t).trim().toLowerCase()}function cr(t){return t===!1||t==null?t:K.isArray(t)?t.map(cr):String(t)}function Cb(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 Ab=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Li(t,e,n,s,o){if(K.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!K.isString(e)){if(K.isString(s))return e.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(e)}}function Sb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Tb(t,e){const n=K.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 ri{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const d=Qs(l);if(!d)throw new Error("header name must be a non-empty string");const h=K.findKey(o,d);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=cr(a))}const i=(a,l)=>K.forEach(a,(c,d)=>r(c,d,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!Ab(e)?i(Eb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Qs(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Cb(o);if(K.isFunction(n))return n.call(this,o,s);if(K.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Qs(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Li(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Qs(i),i){const a=K.findKey(s,i);a&&(!n||Li(s,s[a],a,n))&&(delete s[a],o=!0)}}return K.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||Li(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return K.forEach(this,(o,r)=>{const i=K.findKey(s,r);if(i){n[i]=cr(o),delete n[r];return}const a=e?Sb(r):String(r).trim();a!==r&&delete n[r],n[a]=cr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return K.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&K.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[vu]=this[vu]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Qs(i);s[a]||(Tb(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}ri.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(ri.prototype);K.freezeMethods(ri);const on=ri;function Ii(t,e){const n=this||Ql,s=e||n,o=on.from(s.headers);let r=s.data;return K.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function bp(t){return!!(t&&t.__CANCEL__)}function Lo(t,e,n){Fe.call(this,t??"canceled",Fe.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Lo,Fe,{__CANCEL__:!0});function Mb(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Fe("Request failed with status code "+n.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Ob=qt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),K.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),K.isString(r)&&l.push("path="+r),K.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 Rb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Nb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function yp(t,e){return t&&!Rb(e)?Nb(t,e):e}const Db=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=K.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Lb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Ib(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(),d=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 d={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};d[e?"download":"upload"]=!0,t(d)}}const Pb=typeof XMLHttpRequest<"u",Fb=Pb&&function(t){return new Promise(function(n,s){let o=t.data;const r=on.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}K.isFormData(o)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+m))}const d=yp(t.baseURL,t.url);c.open(t.method.toUpperCase(),gp(d,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function h(){if(!c)return;const g=on.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),p={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};Mb(function(_){n(_),l()},function(_){s(_),l()},p),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 Fe("Request aborted",Fe.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new Fe("Network Error",Fe.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const p=t.transitional||mp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new Fe(m,p.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,t,c)),c=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||Db(d))&&t.xsrfCookieName&&Ob.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&K.forEach(r.toJSON(),function(m,p){c.setRequestHeader(p,m)}),K.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",wu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",wu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Lo(null,t,c):g),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Lb(d);if(f&&qt.protocols.indexOf(f)===-1){s(new Fe("Unsupported protocol "+f+":",Fe.ERR_BAD_REQUEST,t));return}c.send(o||null)})},ur={http:lb,xhr:Fb};K.forEach(ur,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Bb={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof on?t.toJSON():t;function Ms(t,e){e=e||{};const n={};function s(c,d,h){return K.isPlainObject(c)&&K.isPlainObject(d)?K.merge.call({caseless:h},c,d):K.isPlainObject(d)?K.merge({},d):K.isArray(d)?d.slice():d}function o(c,d,h){if(K.isUndefined(d)){if(!K.isUndefined(c))return s(void 0,c,h)}else return s(c,d,h)}function r(c,d){if(!K.isUndefined(d))return s(void 0,d)}function i(c,d){if(K.isUndefined(d)){if(!K.isUndefined(c))return s(void 0,c)}else return s(void 0,d)}function a(c,d,h){if(h in e)return s(c,d);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,d)=>o(ku(c),ku(d),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(d){const h=l[d]||o,f=h(t[d],e[d],d);K.isUndefined(f)&&h!==a||(n[d]=f)}),n}const vp="1.3.6",Jl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Jl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Eu={};Jl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+vp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Fe(o(i," has been removed"+(n?" in "+n:"")),Fe.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 $b(t,e,n){if(typeof t!="object")throw new Fe("options must be an object",Fe.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 Fe("option "+r+" must be "+l,Fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Fe("Unknown option "+r,Fe.ERR_BAD_OPTION)}}const nl={assertOptions:$b,validators:Jl},pn=nl.validators;class Er{constructor(e){this.defaults=e,this.interceptors={request:new yu,response:new yu}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ms(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&nl.assertOptions(s,{silentJSONParsing:pn.transitional(pn.boolean),forcedJSONParsing:pn.transitional(pn.boolean),clarifyTimeoutError:pn.transitional(pn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:nl.assertOptions(o,{encode:pn.function,serialize:pn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&K.merge(r.common,r[n.method]),i&&K.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=on.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let d,h=0,f;if(!l){const m=[xu.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,c),f=m.length,d=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 Lo(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 Xl(function(o){e=o}),cancel:e}}}const jb=Xl;function zb(t){return function(n){return t.apply(null,n)}}function Ub(t){return K.isObject(t)&&t.isAxiosError===!0}const sl={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(sl).forEach(([t,e])=>{sl[e]=t});const qb=sl;function wp(t){const e=new dr(t),n=sp(dr.prototype.request,e);return K.extend(n,dr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return wp(Ms(t,o))},n}const st=wp(Ql);st.Axios=dr;st.CanceledError=Lo;st.CancelToken=jb;st.isCancel=bp;st.VERSION=vp;st.toFormData=si;st.AxiosError=Fe;st.Cancel=st.CanceledError;st.all=function(e){return Promise.all(e)};st.spread=zb;st.isAxiosError=Ub;st.mergeConfig=Ms;st.AxiosHeaders=on;st.formToJSON=t=>_p(K.isHTMLForm(t)?new FormData(t):t);st.HttpStatusCode=qb;st.default=st;const ke=st;/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const fs=typeof window<"u";function Hb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ue=Object.assign;function Fi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Ft(o)?o.map(t):t(o)}return n}const io=()=>{},Ft=Array.isArray,Vb=/\/$/,Gb=t=>t.replace(Vb,"");function Bi(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=Yb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Kb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Eu(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Wb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Os(e.matched[s],n.matched[o])&&wp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Os(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function wp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Zb(t[n],e[n]))return!1;return!0}function Zb(t,e){return Ft(t)?Cu(t,e):Ft(e)?Cu(e,t):t===e}function Cu(t,e){return Ft(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Yb(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 Co;(function(t){t.pop="pop",t.push="push"})(Co||(Co={}));var ao;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ao||(ao={}));function Qb(t){if(!t)if(fs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Gb(t)}const Jb=/^[^#]+#/;function Xb(t,e){return t.replace(Jb,"#")+e}function ey(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 ii=()=>({left:window.pageXOffset,top:window.pageYOffset});function ty(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=ey(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 Au(t,e){return(history.state?history.state.position-e:-1)+t}const ol=new Map;function ny(t,e){ol.set(t,e)}function sy(t){const e=ol.get(t);return ol.delete(t),e}let oy=()=>location.protocol+"//"+location.host;function xp(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),Eu(l,"")}return Eu(n,t)+s+o}function ry(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=xp(t,location),m=n.value,p=e.value;let b=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}b=p?f.position-p.position:0}else s(g);o.forEach(_=>{_(n.value,m,{delta:b,type:Co.pop,direction:b?b>0?ao.forward:ao.back:ao.unknown})})};function l(){i=n.value}function c(f){o.push(f);const g=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(g),g}function u(){const{history:f}=window;f.state&&f.replaceState(Ue({},f.state,{scroll:ii()}),"")}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 Su(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ii():null}}function iy(t){const{history:e,location:n}=window,s={value:xp(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:oy()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(g){console.error(g),n[u?"replace":"assign"](f)}}function i(l,c){const u=Ue({},e.state,Su(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=Ue({},o.value,e.state,{forward:l,scroll:ii()});r(u.current,u,!0);const h=Ue({},Su(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 ay(t){t=Qb(t);const e=iy(t),n=ry(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ue({location:"",base:t,go:s,createHref:Xb.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 ly(t){return typeof t=="string"||t&&typeof t=="object"}function kp(t){return typeof t=="string"||typeof t=="symbol"}const gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ep=Symbol("");var Tu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Tu||(Tu={}));function Rs(t,e){return Ue(new Error,{type:t,[Ep]:!0},e)}function en(t,e){return t instanceof Error&&Ep in t&&(e==null||!!(t.type&e))}const Mu="[^/]+?",cy={sensitive:!1,strict:!1,start:!0,end:!0},uy=/[.+*?^${}()[\]/\\]/g;function dy(t,e){const n=Ue({},cy,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 fy(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const py={type:0,value:""},gy=/[a-zA-Z0-9_]/;function my(t){if(!t)return[[]];if(t==="/")return[[py]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}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)}:io}function i(u){if(kp(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||!Cp(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Nu(u)&&s.set(u.record.name,u)}function c(u,h){let f,g={},m,p;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Rs(1,{location:u});p=f.record.name,g=Ue(Ru(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Ru(u.params,f.keys.map(y=>y.name))),m=f.stringify(g)}else if("path"in u)m=u.path,f=n.find(y=>y.re.test(m)),f&&(g=f.parse(m),p=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw Rs(1,{location:u,currentLocation:h});p=f.record.name,g=Ue({},h.params,u.params),m=f.stringify(g)}const b=[];let _=f;for(;_;)b.unshift(_.record),_=_.parent;return{name:p,path:m,params:g,matched:b,meta:wy(b)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Ru(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function yy(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:vy(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 vy(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 Nu(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function wy(t){return t.reduce((e,n)=>Ue(e,n.meta),{})}function Du(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Cp(t,e){return e.children.some(n=>n===t||Cp(t,n))}const Ap=/#/g,xy=/&/g,ky=/\//g,Ey=/=/g,Cy=/\?/g,Sp=/\+/g,Ay=/%5B/g,Sy=/%5D/g,Tp=/%5E/g,Ty=/%60/g,Mp=/%7B/g,My=/%7C/g,Op=/%7D/g,Oy=/%20/g;function ec(t){return encodeURI(""+t).replace(My,"|").replace(Ay,"[").replace(Sy,"]")}function Ry(t){return ec(t).replace(Mp,"{").replace(Op,"}").replace(Tp,"^")}function rl(t){return ec(t).replace(Sp,"%2B").replace(Oy,"+").replace(Ap,"%23").replace(xy,"%26").replace(Ty,"`").replace(Mp,"{").replace(Op,"}").replace(Tp,"^")}function Ny(t){return rl(t).replace(Ey,"%3D")}function Dy(t){return ec(t).replace(Ap,"%23").replace(Cy,"%3F")}function Ly(t){return t==null?"":Dy(t).replace(ky,"%2F")}function Cr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Iy(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&rl(r)):[s&&rl(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Py(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Ft(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Fy=Symbol(""),Iu=Symbol(""),tc=Symbol(""),Rp=Symbol(""),il=Symbol("");function Js(){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 yn(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(Rs(4,{from:n,to:e})):h instanceof Error?a(h):ly(h)?a(Rs(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 $i(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(By(a)){const c=(a.__vccOpts||a)[e];c&&o.push(yn(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=Hb(c)?c.default:c;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&yn(f,n,s,r,i)()}))}}return o}function By(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Pu(t){const e=sn(tc),n=sn(Rp),s=Et(()=>e.resolve(ht(t.to))),o=Et(()=>{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(Os.bind(null,u));if(f>-1)return f;const g=Fu(l[c-2]);return c>1&&Fu(u)===g&&h[h.length-1].path!==g?h.findIndex(Os.bind(null,l[c-2])):f}),r=Et(()=>o.value>-1&&zy(n.params,s.value.params)),i=Et(()=>o.value>-1&&o.value===n.matched.length-1&&wp(n.params,s.value.params));function a(l={}){return jy(l)?e[ht(t.replace)?"replace":"push"](ht(t.to)).catch(io):Promise.resolve()}return{route:s,href:Et(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const $y=yf({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:Pu,setup(t,{slots:e}){const n=Us(Pu(t)),{options:s}=sn(tc),o=Et(()=>({[Bu(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Bu(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Hl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),vn=$y;function jy(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 zy(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(!Ft(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Fu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Bu=(t,e,n)=>t??e??n,Uy=yf({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=sn(il),o=Et(()=>t.route||s.value),r=sn(Iu,0),i=Et(()=>{let c=ht(r);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=Et(()=>o.value.matched[i.value]);rr(Iu,Et(()=>i.value+1)),rr(Fy,a),rr(il,o);const l=f_();return Wn(()=>[l.value,a.value,t.name],([c,u,h],[f,g,m])=>{u&&(u.instances[h]=c,g&&g!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!Os(u,g)||!f)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return $u(n.default,{Component:f,route:c});const g=h.props[u],m=g?g===!0?c.params:typeof g=="function"?g(c):g:null,b=Hl(f,Ue({},m,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return $u(n.default,{Component:b,route:c})||b}}});function $u(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Np=Uy;function qy(t){const e=by(t.routes,t),n=t.parseQuery||Iy,s=t.stringifyQuery||Lu,o=t.history,r=Js(),i=Js(),a=Js(),l=p_(gn);let c=gn;fs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Fi.bind(null,N=>""+N),h=Fi.bind(null,Ly),f=Fi.bind(null,Cr);function g(N,J){let H,te;return kp(N)?(H=e.getRecordMatcher(N),te=J):te=N,e.addRoute(te,H)}function m(N){const J=e.getRecordMatcher(N);J&&e.removeRoute(J)}function p(){return e.getRoutes().map(N=>N.record)}function b(N){return!!e.getRecordMatcher(N)}function _(N,J){if(J=Ue({},J||l.value),typeof N=="string"){const w=Bi(n,N,J.path),C=e.resolve({path:w.path},J),P=o.createHref(w.fullPath);return Ue(w,C,{params:f(C.params),hash:Cr(w.hash),redirectedFrom:void 0,href:P})}let H;if("path"in N)H=Ue({},N,{path:Bi(n,N.path,J.path).path});else{const w=Ue({},N.params);for(const C in w)w[C]==null&&delete w[C];H=Ue({},N,{params:h(N.params)}),J.params=h(J.params)}const te=e.resolve(H,J),X=N.hash||"";te.params=u(f(te.params));const fe=Kb(s,Ue({},N,{hash:Ry(X),path:te.path})),ue=o.createHref(fe);return Ue({fullPath:fe,hash:X,query:s===Lu?Py(N.query):N.query||{}},te,{redirectedFrom:void 0,href:ue})}function y(N){return typeof N=="string"?Bi(n,N,l.value.path):Ue({},N)}function x(N,J){if(c!==N)return Rs(8,{from:J,to:N})}function A(N){return D(N)}function R(N){return A(Ue(y(N),{replace:!0}))}function O(N){const J=N.matched[N.matched.length-1];if(J&&J.redirect){const{redirect:H}=J;let te=typeof H=="function"?H(N):H;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=y(te):{path:te},te.params={}),Ue({query:N.query,hash:N.hash,params:"path"in te?{}:N.params},te)}}function D(N,J){const H=c=_(N),te=l.value,X=N.state,fe=N.force,ue=N.replace===!0,w=O(H);if(w)return D(Ue(y(w),{state:typeof w=="object"?Ue({},X,w.state):X,force:fe,replace:ue}),J||H);const C=H;C.redirectedFrom=J;let P;return!fe&&Wb(s,te,H)&&(P=Rs(16,{to:C,from:te}),ye(te,te,!0,!1)),(P?Promise.resolve(P):k(C,te)).catch($=>en($)?en($,2)?$:G($):T($,C,te)).then($=>{if($){if(en($,2))return D(Ue({replace:ue},y($.to),{state:typeof $.to=="object"?Ue({},X,$.to.state):X,force:fe}),J||C)}else $=L(C,te,!0,ue,X);return M(C,te,$),$})}function v(N,J){const H=x(N,J);return H?Promise.reject(H):Promise.resolve()}function k(N,J){let H;const[te,X,fe]=Hy(N,J);H=$i(te.reverse(),"beforeRouteLeave",N,J);for(const w of te)w.leaveGuards.forEach(C=>{H.push(yn(C,N,J))});const ue=v.bind(null,N,J);return H.push(ue),us(H).then(()=>{H=[];for(const w of r.list())H.push(yn(w,N,J));return H.push(ue),us(H)}).then(()=>{H=$i(X,"beforeRouteUpdate",N,J);for(const w of X)w.updateGuards.forEach(C=>{H.push(yn(C,N,J))});return H.push(ue),us(H)}).then(()=>{H=[];for(const w of N.matched)if(w.beforeEnter&&!J.matched.includes(w))if(Ft(w.beforeEnter))for(const C of w.beforeEnter)H.push(yn(C,N,J));else H.push(yn(w.beforeEnter,N,J));return H.push(ue),us(H)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),H=$i(fe,"beforeRouteEnter",N,J),H.push(ue),us(H))).then(()=>{H=[];for(const w of i.list())H.push(yn(w,N,J));return H.push(ue),us(H)}).catch(w=>en(w,8)?w:Promise.reject(w))}function M(N,J,H){for(const te of a.list())te(N,J,H)}function L(N,J,H,te,X){const fe=x(N,J);if(fe)return fe;const ue=J===gn,w=fs?history.state:{};H&&(te||ue?o.replace(N.fullPath,Ue({scroll:ue&&w&&w.scroll},X)):o.push(N.fullPath,X)),l.value=N,ye(N,J,H,ue),G()}let F;function Q(){F||(F=o.listen((N,J,H)=>{if(!Ae.listening)return;const te=_(N),X=O(te);if(X){D(Ue(X,{replace:!0}),te).catch(io);return}c=te;const fe=l.value;fs&&ny(Au(fe.fullPath,H.delta),ii()),k(te,fe).catch(ue=>en(ue,12)?ue:en(ue,2)?(D(ue.to,te).then(w=>{en(w,20)&&!H.delta&&H.type===Co.pop&&o.go(-1,!1)}).catch(io),Promise.reject()):(H.delta&&o.go(-H.delta,!1),T(ue,te,fe))).then(ue=>{ue=ue||L(te,fe,!1),ue&&(H.delta&&!en(ue,8)?o.go(-H.delta,!1):H.type===Co.pop&&en(ue,20)&&o.go(-1,!1)),M(te,fe,ue)}).catch(io)}))}let I=Js(),le=Js(),Z;function T(N,J,H){G(N);const te=le.list();return te.length?te.forEach(X=>X(N,J,H)):console.error(N),Promise.reject(N)}function q(){return Z&&l.value!==gn?Promise.resolve():new Promise((N,J)=>{I.add([N,J])})}function G(N){return Z||(Z=!N,Q(),I.list().forEach(([J,H])=>N?H(N):J()),I.reset()),N}function ye(N,J,H,te){const{scrollBehavior:X}=t;if(!fs||!X)return Promise.resolve();const fe=!H&&sy(Au(N.fullPath,0))||(te||!H)&&history.state&&history.state.scroll||null;return _e().then(()=>X(N,J,fe)).then(ue=>ue&&ty(ue)).catch(ue=>T(ue,N,J))}const me=N=>o.go(N);let ee;const xe=new Set,Ae={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:b,getRoutes:p,resolve:_,options:t,push:A,replace:R,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:le.add,isReady:q,install(N){const J=this;N.component("RouterLink",vn),N.component("RouterView",Np),N.config.globalProperties.$router=J,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),fs&&!ee&&l.value===gn&&(ee=!0,A(o.location).catch(X=>{}));const H={};for(const X in gn)H[X]=Et(()=>l.value[X]);N.provide(tc,J),N.provide(Rp,Us(H)),N.provide(il,l);const te=N.unmount;xe.add(N),N.unmount=function(){xe.delete(N),xe.size<1&&(c=gn,F&&F(),F=null,l.value=gn,ee=!1,Z=!1),te()}}};return Ae}function us(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function Hy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iOs(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>Os(c,l))||o.push(l))}return[n,s,o]}const Vy="modulepreload",Gy=function(t){return"/"+t},ju={},ji=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Gy(r),r in ju)return;ju[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":Vy,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())},nc="/assets/logo-023c77a1.png";var Dp=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 Ky(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 Lp={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Dp,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;/*! + */const fs=typeof window<"u";function Hb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ue=Object.assign;function Fi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Ft(o)?o.map(t):t(o)}return n}const io=()=>{},Ft=Array.isArray,Vb=/\/$/,Gb=t=>t.replace(Vb,"");function Bi(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=Yb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Kb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Cu(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Wb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Os(e.matched[s],n.matched[o])&&xp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Os(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function xp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Zb(t[n],e[n]))return!1;return!0}function Zb(t,e){return Ft(t)?Au(t,e):Ft(e)?Au(e,t):t===e}function Au(t,e){return Ft(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Yb(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 Co;(function(t){t.pop="pop",t.push="push"})(Co||(Co={}));var ao;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ao||(ao={}));function Qb(t){if(!t)if(fs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Gb(t)}const Jb=/^[^#]+#/;function Xb(t,e){return t.replace(Jb,"#")+e}function ey(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 ii=()=>({left:window.pageXOffset,top:window.pageYOffset});function ty(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=ey(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 Su(t,e){return(history.state?history.state.position-e:-1)+t}const ol=new Map;function ny(t,e){ol.set(t,e)}function sy(t){const e=ol.get(t);return ol.delete(t),e}let oy=()=>location.protocol+"//"+location.host;function kp(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),Cu(l,"")}return Cu(n,t)+s+o}function ry(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=kp(t,location),m=n.value,p=e.value;let b=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}b=p?f.position-p.position:0}else s(g);o.forEach(_=>{_(n.value,m,{delta:b,type:Co.pop,direction:b?b>0?ao.forward:ao.back:ao.unknown})})};function l(){i=n.value}function c(f){o.push(f);const g=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(g),g}function d(){const{history:f}=window;f.state&&f.replaceState(Ue({},f.state,{scroll:ii()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:c,destroy:h}}function Tu(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ii():null}}function iy(t){const{history:e,location:n}=window,s={value:kp(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,d){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:oy()+t+l;try{e[d?"replaceState":"pushState"](c,"",f),o.value=c}catch(g){console.error(g),n[d?"replace":"assign"](f)}}function i(l,c){const d=Ue({},e.state,Tu(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,d,!0),s.value=l}function a(l,c){const d=Ue({},o.value,e.state,{forward:l,scroll:ii()});r(d.current,d,!0);const h=Ue({},Tu(s.value,l,null),{position:d.position+1},c);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function ay(t){t=Qb(t);const e=iy(t),n=ry(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ue({location:"",base:t,go:s,createHref:Xb.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 ly(t){return typeof t=="string"||t&&typeof t=="object"}function Ep(t){return typeof t=="string"||typeof t=="symbol"}const gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Cp=Symbol("");var Mu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Mu||(Mu={}));function Rs(t,e){return Ue(new Error,{type:t,[Cp]:!0},e)}function en(t,e){return t instanceof Error&&Cp in t&&(e==null||!!(t.type&e))}const Ou="[^/]+?",cy={sensitive:!1,strict:!1,start:!0,end:!0},uy=/[.+*?^${}()[\]/\\]/g;function dy(t,e){const n=Ue({},cy,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const d=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 fy(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const py={type:0,value:""},gy=/[a-zA-Z0-9_]/;function my(t){if(!t)return[[]];if(t==="/")return[[py]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",d="";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:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{i(y)}:io}function i(d){if(Ep(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let h=0;for(;h=0&&(d.record.path!==n[h].record.path||!Ap(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!Du(d)&&s.set(d.record.name,d)}function c(d,h){let f,g={},m,p;if("name"in d&&d.name){if(f=s.get(d.name),!f)throw Rs(1,{location:d});p=f.record.name,g=Ue(Nu(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),d.params&&Nu(d.params,f.keys.map(y=>y.name))),m=f.stringify(g)}else if("path"in d)m=d.path,f=n.find(y=>y.re.test(m)),f&&(g=f.parse(m),p=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw Rs(1,{location:d,currentLocation:h});p=f.record.name,g=Ue({},h.params,d.params),m=f.stringify(g)}const b=[];let _=f;for(;_;)b.unshift(_.record),_=_.parent;return{name:p,path:m,params:g,matched:b,meta:wy(b)}}return t.forEach(d=>r(d)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Nu(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function yy(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:vy(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 vy(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 Du(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function wy(t){return t.reduce((e,n)=>Ue(e,n.meta),{})}function Lu(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Ap(t,e){return e.children.some(n=>n===t||Ap(t,n))}const Sp=/#/g,xy=/&/g,ky=/\//g,Ey=/=/g,Cy=/\?/g,Tp=/\+/g,Ay=/%5B/g,Sy=/%5D/g,Mp=/%5E/g,Ty=/%60/g,Op=/%7B/g,My=/%7C/g,Rp=/%7D/g,Oy=/%20/g;function ec(t){return encodeURI(""+t).replace(My,"|").replace(Ay,"[").replace(Sy,"]")}function Ry(t){return ec(t).replace(Op,"{").replace(Rp,"}").replace(Mp,"^")}function rl(t){return ec(t).replace(Tp,"%2B").replace(Oy,"+").replace(Sp,"%23").replace(xy,"%26").replace(Ty,"`").replace(Op,"{").replace(Rp,"}").replace(Mp,"^")}function Ny(t){return rl(t).replace(Ey,"%3D")}function Dy(t){return ec(t).replace(Sp,"%23").replace(Cy,"%3F")}function Ly(t){return t==null?"":Dy(t).replace(ky,"%2F")}function Cr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Iy(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&rl(r)):[s&&rl(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Py(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Ft(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Fy=Symbol(""),Pu=Symbol(""),tc=Symbol(""),Np=Symbol(""),il=Symbol("");function Js(){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 yn(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(Rs(4,{from:n,to:e})):h instanceof Error?a(h):ly(h)?a(Rs(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 d=Promise.resolve(c);t.length<3&&(d=d.then(l)),d.catch(h=>a(h))})}function $i(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(By(a)){const c=(a.__vccOpts||a)[e];c&&o.push(yn(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 d=Hb(c)?c.default:c;r.components[i]=d;const f=(d.__vccOpts||d)[e];return f&&yn(f,n,s,r,i)()}))}}return o}function By(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Fu(t){const e=sn(tc),n=sn(Np),s=Et(()=>e.resolve(ht(t.to))),o=Et(()=>{const{matched:l}=s.value,{length:c}=l,d=l[c-1],h=n.matched;if(!d||!h.length)return-1;const f=h.findIndex(Os.bind(null,d));if(f>-1)return f;const g=Bu(l[c-2]);return c>1&&Bu(d)===g&&h[h.length-1].path!==g?h.findIndex(Os.bind(null,l[c-2])):f}),r=Et(()=>o.value>-1&&zy(n.params,s.value.params)),i=Et(()=>o.value>-1&&o.value===n.matched.length-1&&xp(n.params,s.value.params));function a(l={}){return jy(l)?e[ht(t.replace)?"replace":"push"](ht(t.to)).catch(io):Promise.resolve()}return{route:s,href:Et(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const $y=vf({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:Fu,setup(t,{slots:e}){const n=Us(Fu(t)),{options:s}=sn(tc),o=Et(()=>({[$u(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[$u(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Hl("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),vn=$y;function jy(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 zy(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(!Ft(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Bu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const $u=(t,e,n)=>t??e??n,Uy=vf({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=sn(il),o=Et(()=>t.route||s.value),r=sn(Pu,0),i=Et(()=>{let c=ht(r);const{matched:d}=o.value;let h;for(;(h=d[c])&&!h.components;)c++;return c}),a=Et(()=>o.value.matched[i.value]);rr(Pu,Et(()=>i.value+1)),rr(Fy,a),rr(il,o);const l=f_();return Wn(()=>[l.value,a.value,t.name],([c,d,h],[f,g,m])=>{d&&(d.instances[h]=c,g&&g!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),c&&d&&(!g||!Os(d,g)||!f)&&(d.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,d=t.name,h=a.value,f=h&&h.components[d];if(!f)return ju(n.default,{Component:f,route:c});const g=h.props[d],m=g?g===!0?c.params:typeof g=="function"?g(c):g:null,b=Hl(f,Ue({},m,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return ju(n.default,{Component:b,route:c})||b}}});function ju(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Dp=Uy;function qy(t){const e=by(t.routes,t),n=t.parseQuery||Iy,s=t.stringifyQuery||Iu,o=t.history,r=Js(),i=Js(),a=Js(),l=p_(gn);let c=gn;fs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Fi.bind(null,N=>""+N),h=Fi.bind(null,Ly),f=Fi.bind(null,Cr);function g(N,J){let V,te;return Ep(N)?(V=e.getRecordMatcher(N),te=J):te=N,e.addRoute(te,V)}function m(N){const J=e.getRecordMatcher(N);J&&e.removeRoute(J)}function p(){return e.getRoutes().map(N=>N.record)}function b(N){return!!e.getRecordMatcher(N)}function _(N,J){if(J=Ue({},J||l.value),typeof N=="string"){const w=Bi(n,N,J.path),C=e.resolve({path:w.path},J),P=o.createHref(w.fullPath);return Ue(w,C,{params:f(C.params),hash:Cr(w.hash),redirectedFrom:void 0,href:P})}let V;if("path"in N)V=Ue({},N,{path:Bi(n,N.path,J.path).path});else{const w=Ue({},N.params);for(const C in w)w[C]==null&&delete w[C];V=Ue({},N,{params:h(N.params)}),J.params=h(J.params)}const te=e.resolve(V,J),X=N.hash||"";te.params=d(f(te.params));const pe=Kb(s,Ue({},N,{hash:Ry(X),path:te.path})),ue=o.createHref(pe);return Ue({fullPath:pe,hash:X,query:s===Iu?Py(N.query):N.query||{}},te,{redirectedFrom:void 0,href:ue})}function y(N){return typeof N=="string"?Bi(n,N,l.value.path):Ue({},N)}function x(N,J){if(c!==N)return Rs(8,{from:J,to:N})}function A(N){return D(N)}function R(N){return A(Ue(y(N),{replace:!0}))}function O(N){const J=N.matched[N.matched.length-1];if(J&&J.redirect){const{redirect:V}=J;let te=typeof V=="function"?V(N):V;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=y(te):{path:te},te.params={}),Ue({query:N.query,hash:N.hash,params:"path"in te?{}:N.params},te)}}function D(N,J){const V=c=_(N),te=l.value,X=N.state,pe=N.force,ue=N.replace===!0,w=O(V);if(w)return D(Ue(y(w),{state:typeof w=="object"?Ue({},X,w.state):X,force:pe,replace:ue}),J||V);const C=V;C.redirectedFrom=J;let P;return!pe&&Wb(s,te,V)&&(P=Rs(16,{to:C,from:te}),ye(te,te,!0,!1)),(P?Promise.resolve(P):k(C,te)).catch($=>en($)?en($,2)?$:G($):T($,C,te)).then($=>{if($){if(en($,2))return D(Ue({replace:ue},y($.to),{state:typeof $.to=="object"?Ue({},X,$.to.state):X,force:pe}),J||C)}else $=L(C,te,!0,ue,X);return M(C,te,$),$})}function v(N,J){const V=x(N,J);return V?Promise.reject(V):Promise.resolve()}function k(N,J){let V;const[te,X,pe]=Hy(N,J);V=$i(te.reverse(),"beforeRouteLeave",N,J);for(const w of te)w.leaveGuards.forEach(C=>{V.push(yn(C,N,J))});const ue=v.bind(null,N,J);return V.push(ue),us(V).then(()=>{V=[];for(const w of r.list())V.push(yn(w,N,J));return V.push(ue),us(V)}).then(()=>{V=$i(X,"beforeRouteUpdate",N,J);for(const w of X)w.updateGuards.forEach(C=>{V.push(yn(C,N,J))});return V.push(ue),us(V)}).then(()=>{V=[];for(const w of N.matched)if(w.beforeEnter&&!J.matched.includes(w))if(Ft(w.beforeEnter))for(const C of w.beforeEnter)V.push(yn(C,N,J));else V.push(yn(w.beforeEnter,N,J));return V.push(ue),us(V)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),V=$i(pe,"beforeRouteEnter",N,J),V.push(ue),us(V))).then(()=>{V=[];for(const w of i.list())V.push(yn(w,N,J));return V.push(ue),us(V)}).catch(w=>en(w,8)?w:Promise.reject(w))}function M(N,J,V){for(const te of a.list())te(N,J,V)}function L(N,J,V,te,X){const pe=x(N,J);if(pe)return pe;const ue=J===gn,w=fs?history.state:{};V&&(te||ue?o.replace(N.fullPath,Ue({scroll:ue&&w&&w.scroll},X)):o.push(N.fullPath,X)),l.value=N,ye(N,J,V,ue),G()}let F;function Q(){F||(F=o.listen((N,J,V)=>{if(!Ae.listening)return;const te=_(N),X=O(te);if(X){D(Ue(X,{replace:!0}),te).catch(io);return}c=te;const pe=l.value;fs&&ny(Su(pe.fullPath,V.delta),ii()),k(te,pe).catch(ue=>en(ue,12)?ue:en(ue,2)?(D(ue.to,te).then(w=>{en(w,20)&&!V.delta&&V.type===Co.pop&&o.go(-1,!1)}).catch(io),Promise.reject()):(V.delta&&o.go(-V.delta,!1),T(ue,te,pe))).then(ue=>{ue=ue||L(te,pe,!1),ue&&(V.delta&&!en(ue,8)?o.go(-V.delta,!1):V.type===Co.pop&&en(ue,20)&&o.go(-1,!1)),M(te,pe,ue)}).catch(io)}))}let I=Js(),ce=Js(),Z;function T(N,J,V){G(N);const te=ce.list();return te.length?te.forEach(X=>X(N,J,V)):console.error(N),Promise.reject(N)}function q(){return Z&&l.value!==gn?Promise.resolve():new Promise((N,J)=>{I.add([N,J])})}function G(N){return Z||(Z=!N,Q(),I.list().forEach(([J,V])=>N?V(N):J()),I.reset()),N}function ye(N,J,V,te){const{scrollBehavior:X}=t;if(!fs||!X)return Promise.resolve();const pe=!V&&sy(Su(N.fullPath,0))||(te||!V)&&history.state&&history.state.scroll||null;return _e().then(()=>X(N,J,pe)).then(ue=>ue&&ty(ue)).catch(ue=>T(ue,N,J))}const me=N=>o.go(N);let ee;const xe=new Set,Ae={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:b,getRoutes:p,resolve:_,options:t,push:A,replace:R,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ce.add,isReady:q,install(N){const J=this;N.component("RouterLink",vn),N.component("RouterView",Dp),N.config.globalProperties.$router=J,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),fs&&!ee&&l.value===gn&&(ee=!0,A(o.location).catch(X=>{}));const V={};for(const X in gn)V[X]=Et(()=>l.value[X]);N.provide(tc,J),N.provide(Np,Us(V)),N.provide(il,l);const te=N.unmount;xe.add(N),N.unmount=function(){xe.delete(N),xe.size<1&&(c=gn,F&&F(),F=null,l.value=gn,ee=!1,Z=!1),te()}}};return Ae}function us(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function Hy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iOs(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>Os(c,l))||o.push(l))}return[n,s,o]}const Vy="modulepreload",Gy=function(t){return"/"+t},zu={},ji=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Gy(r),r in zu)return;zu[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const h=o[d];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":Vy,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((d,h)=>{c.addEventListener("load",d),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},nc="/assets/logo-023c77a1.png";var Lp=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 Ky(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 Ip={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Lp,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 x=y.length,A=0;A1?arguments[1]:void 0,y=_!==void 0,x=0,A=h(m),R,O,D,v;if(y&&(_=r(_,b>2?arguments[2]:void 0,2)),A!=null&&!(p==Array&&l(A)))for(v=A.call(m),O=new p;!(D=v.next()).done;x++)u(O,x,y?a(v,_,[D.value,x],!0):D.value);else for(R=c(m.length),O=new p(R);R>x;x++)u(O,x,y?_(m[x],x):m[x]);return O.length=x,O}},"./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),g=i(f.length),m=a(h,g),p;if(l&&u!=u){for(;g>m;)if(p=f[m++],p!=p)return!0}else for(;g>m;m++)if((l||m in f)&&f[m]===u)return l||m||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 g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},u(g)}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,g;return u===void 0?"Undefined":u===null?"Null":typeof(f=c(h=Object(u),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},"./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,g=a.f,m=0;m",R="java"+x+":",O;for(b.style.display="none",c.appendChild(b),b.src=String(R),O=b.contentWindow.document,O.open(),O.write(y+x+A+"document.F=Object"+y+"/"+x+A),O.close(),p=O.F;_--;)delete p[g][a[_]];return p()};n.exports=Object.create||function(_,y){var x;return _!==null?(m[g]=r(_),x=new m,m[g]=null,x[f]=_):x=p(),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),g=f.length,m=0,p;g>m;)i.f(u,p=f[m++],h[p]);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,g){if(a(h),f=l(f,!0),a(g),i)try{return c(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.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(m,p){if(m=l(m),p=c(p,!0),h)try{return f(m,p)}catch{}if(u(m,p))return a(!i.f.call(m,p),m[p])}},"./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),g=0,m=[],p;for(p in f)!r(l,p)&&r(f,p)&&m.push(p);for(;h.length>g;)r(f,p=h[g++])&&(~c(m,p)||m.push(p));return m}},"./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)),g=a.f;return g?f.concat(g(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,g=h.enforce,m=String(u).split("toString");i("inspectSource",function(p){return u.call(p)}),(n.exports=function(p,b,_,y){var x=y?!!y.unsafe:!1,A=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof _=="function"&&(typeof b=="string"&&!l(_,"name")&&a(_,"name",b),g(_).source=m.join(typeof b=="string"?b:"")),p===r){A?p[b]=_:c(b,_);return}else x?!R&&p[b]&&(A=!0):delete p[b];A?p[b]=_:a(p,b,_)})(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,g,m;return h<0||h>=f?c?"":void 0:(g=u.charCodeAt(h),g<55296||g>56319||h+1===f||(m=u.charCodeAt(h+1))<56320||m>57343?c?u.charAt(h):g:c?u.slice(h,h+2):(g-55296<<10)+(m-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),g=f.string,m=f.index,p;return m>=g.length?{value:void 0,done:!0}:(p=r(g,m,!0),f.index+=p.length,{value:p,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(p){for(var b=1;b2&&arguments[2]!==void 0?arguments[2]:[];f(this,p),this.name=b,this.contents=_,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+b})}return i(p,[{key:"toSvg",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,_,{class:(0,l.default)(this.attrs.class,_.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),p}();function m(p){return Object.keys(p).map(function(b){return b+'="'+p[b]+'"'}).join(" ")}s.default=g},"./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,g){return f[g.name]=g,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(m){for(var p=1;p0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var p=document.querySelectorAll("[data-feather]");Array.from(p).forEach(function(b){return f(b,m)})}function f(m){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=g(m),_=b["data-feather"];delete b["data-feather"];var y=c.default[_].toSvg(r({},p,b,{class:(0,a.default)(p.class,b.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),A=x.querySelector("svg");m.parentNode.replaceChild(A,m)}function g(m){return Array.from(m.attributes).reduce(function(p,b){return p[b.name]=b.value,p},{})}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")}})})})(Lp);var Wy=Lp.exports;const ve=is(Wy);const Zy={key:0,class:"container flex flex-col sm:flex-row items-center"},Yy={class:"w-full"},Qy={class:"flex flex-row font-medium"},Ip={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(E(),S("div",Zy,[d("div",Yy,[d("ul",Qy,[d("li",null,[ge(ht(vn),{to:{name:"discussions"},class:"link-item"},{default:Be(()=>[be(" Discussions ")]),_:1})]),d("li",null,[ge(ht(vn),{to:{name:"settings"},class:"link-item"},{default:Be(()=>[be(" Settings ")]),_:1})]),d("li",null,[ge(ht(vn),{to:{name:"extensions"},class:"link-item"},{default:Be(()=>[be(" Extensions ")]),_:1})]),d("li",null,[ge(ht(vn),{to:{name:"training"},class:"link-item"},{default:Be(()=>[be(" Training ")]),_:1})]),d("li",null,[ge(ht(vn),{to:{name:"quantizing"},class:"link-item"},{default:Be(()=>[be(" Quantizing ")]),_:1})]),d("li",null,[ge(ht(vn),{to:{name:"help"},class:"link-item"},{default:Be(()=>[be(" Help ")]),_:1})])])])])):B("",!0)}};const Jy={class:"top-0 shadow-lg"},Xy={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},e2=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:nc,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),t2={class:"flex gap-3 flex-1 items-center justify-end"},n2=os('
',3),s2=d("i",{"data-feather":"sun"},null,-1),o2=[s2],r2=d("i",{"data-feather":"moon"},null,-1),i2=[r2],a2=d("body",null,null,-1),l2={name:"TopBar",computed:{...C0(["isConnected"])},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(),_e(()=>{ve.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"),_e(()=>{ji(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}_e(()=>{ji(()=>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}ji(()=>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:Ip}},c2=Object.assign(l2,{setup(t){return(e,n)=>(E(),S(Me,null,[d("header",Jy,[d("nav",Xy,[ge(ht(vn),{to:{name:"discussions"}},{default:Be(()=>[e2]),_:1}),d("div",t2,[d("div",{title:"Connection status",class:Te(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),n2,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())},o2),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())},i2)])]),ge(Ip)]),a2],64))}}),u2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},d2={class:"flex overflow-hidden flex-grow"},h2={__name:"App",setup(t){return(e,n)=>(E(),S("div",u2,[ge(c2),d("div",d2,[ge(ht(Np),null,{default:Be(({Component:s})=>[(E(),nt(D_,null,[(E(),nt(q_(s)))],1024))]),_:1})])]))}};const qe=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},f2={data(){return{activeExtension:null}},computed:{activeExtensions(){return this.$store.state.extensionsZoo.filter(t=>t.is_active)}},methods:{showExtensionPage(t){this.activeExtension=t}}},p2={key:0},g2=["onClick"],m2={key:0},_2=["src"],b2={key:1},y2=d("p",null,"No extension is active. Please install and activate an extension.",-1),v2=[y2];function w2(t,e,n,s,o,r){return E(),S("div",null,[r.activeExtensions.length>0?(E(),S("div",p2,[(E(!0),S(Me,null,We(r.activeExtensions,i=>(E(),S("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[d("div",{class:Te({"active-tab":i===o.activeExtension})},V(i.name),3)],8,g2))),128)),o.activeExtension?(E(),S("div",m2,[d("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,_2)])):B("",!0)])):(E(),S("div",b2,v2))])}const x2=qe(f2,[["render",w2]]);var Pp={exports:{}};/* @license +*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(_,y){for(var x=y.length,A=0;A1?arguments[1]:void 0,y=_!==void 0,x=0,A=h(m),R,O,D,v;if(y&&(_=r(_,b>2?arguments[2]:void 0,2)),A!=null&&!(p==Array&&l(A)))for(v=A.call(m),O=new p;!(D=v.next()).done;x++)d(O,x,y?a(v,_,[D.value,x],!0):D.value);else for(R=c(m.length),O=new p(R);R>x;x++)d(O,x,y?_(m[x],x):m[x]);return O.length=x,O}},"./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,d,h){var f=r(c),g=i(f.length),m=a(h,g),p;if(l&&d!=d){for(;g>m;)if(p=f[m++],p!=p)return!0}else for(;g>m;m++)if((l||m in f)&&f[m]===d)return l||m||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,d){return i.call(a,c,d)};case 3:return function(c,d,h){return i.call(a,c,d,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 d=i.return;throw d!==void 0&&r(d.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(d,h){if(!h&&!a)return!1;var f=!1;try{var g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},d(g)}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(d,h){try{return d[h]}catch{}};n.exports=function(d){var h,f,g;return d===void 0?"Undefined":d===null?"Null":typeof(f=c(h=Object(d),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},"./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,d){for(var h=i(d),f=l.f,g=a.f,m=0;m",R="java"+x+":",O;for(b.style.display="none",c.appendChild(b),b.src=String(R),O=b.contentWindow.document,O.open(),O.write(y+x+A+"document.F=Object"+y+"/"+x+A),O.close(),p=O.F;_--;)delete p[g][a[_]];return p()};n.exports=Object.create||function(_,y){var x;return _!==null?(m[g]=r(_),x=new m,m[g]=null,x[f]=_):x=p(),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(d,h){a(d);for(var f=l(h),g=f.length,m=0,p;g>m;)i.f(d,p=f[m++],h[p]);return d}},"./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,g){if(a(h),f=l(f,!0),a(g),i)try{return c(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.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"),d=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(m,p){if(m=l(m),p=c(p,!0),h)try{return f(m,p)}catch{}if(d(m,p))return a(!i.f.call(m,p),m[p])}},"./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"),d=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?d: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(d,h){var f=i(d),g=0,m=[],p;for(p in f)!r(l,p)&&r(f,p)&&m.push(p);for(;h.length>g;)r(f,p=h[g++])&&(~c(m,p)||m.push(p));return m}},"./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 d=i(this,c);return!!d&&d.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(d,h){return r(d,h),i?l.call(d,h):d.__proto__=h,d}}():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)),g=a.f;return g?f.concat(g(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"),d=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,g=h.enforce,m=String(d).split("toString");i("inspectSource",function(p){return d.call(p)}),(n.exports=function(p,b,_,y){var x=y?!!y.unsafe:!1,A=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof _=="function"&&(typeof b=="string"&&!l(_,"name")&&a(_,"name",b),g(_).source=m.join(typeof b=="string"?b:"")),p===r){A?p[b]=_:c(b,_);return}else x?!R&&p[b]&&(A=!0):delete p[b];A?p[b]=_:a(p,b,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||d.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,d,h){c&&!i(c=h?c:c.prototype,l)&&r(c,l,{configurable:!0,value:d})}},"./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(d,h){return c[d]||(c[d]=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 d=String(i(a)),h=r(l),f=d.length,g,m;return h<0||h>=f?c?"":void 0:(g=d.charCodeAt(h),g<55296||g>56319||h+1===f||(m=d.charCodeAt(h+1))<56320||m>57343?c?d.charAt(h):g:c?d.slice(h,h+2):(g-55296<<10)+(m-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 d=r(l);return d<0?i(d+c,0):a(d,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,d=i("wks");n.exports=function(h){return d[h]||(d[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,d=i.getterFor(l);a(String,"String",function(h){c(this,{type:l,string:String(h),index:0})},function(){var f=d(this),g=f.string,m=f.index,p;return m>=g.length?{value:void 0,done:!0}:(p=r(g,m,!0),f.index+=p.length,{value:p,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(p){for(var b=1;b2&&arguments[2]!==void 0?arguments[2]:[];f(this,p),this.name=b,this.contents=_,this.tags=y,this.attrs=r({},d.default,{class:"feather feather-"+b})}return i(p,[{key:"toSvg",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,_,{class:(0,l.default)(this.attrs.class,_.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),p}();function m(p){return Object.keys(p).map(function(b){return b+'="'+p[b]+'"'}).join(" ")}s.default=g},"./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"),d=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],d.default[f])}).reduce(function(f,g){return f[g.name]=g,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"),d=h(c);function h(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:i.default,toSvg:l.default,replace:d.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var p=1;p0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var p=document.querySelectorAll("[data-feather]");Array.from(p).forEach(function(b){return f(b,m)})}function f(m){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=g(m),_=b["data-feather"];delete b["data-feather"];var y=c.default[_].toSvg(r({},p,b,{class:(0,a.default)(p.class,b.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),A=x.querySelector("svg");m.parentNode.replaceChild(A,m)}function g(m){return Array.from(m.attributes).reduce(function(p,b){return p[b.name]=b.value,p},{})}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 d=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(d)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Ip);var Wy=Ip.exports;const ve=is(Wy);const Zy={key:0,class:"container flex flex-col sm:flex-row items-center"},Yy={class:"w-full"},Qy={class:"flex flex-row font-medium"},Pp={__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(E(),S("div",Zy,[u("div",Yy,[u("ul",Qy,[u("li",null,[fe(ht(vn),{to:{name:"discussions"},class:"link-item"},{default:Be(()=>[be(" Discussions ")]),_:1})]),u("li",null,[fe(ht(vn),{to:{name:"settings"},class:"link-item"},{default:Be(()=>[be(" Settings ")]),_:1})]),u("li",null,[fe(ht(vn),{to:{name:"extensions"},class:"link-item"},{default:Be(()=>[be(" Extensions ")]),_:1})]),u("li",null,[fe(ht(vn),{to:{name:"training"},class:"link-item"},{default:Be(()=>[be(" Training ")]),_:1})]),u("li",null,[fe(ht(vn),{to:{name:"quantizing"},class:"link-item"},{default:Be(()=>[be(" Quantizing ")]),_:1})]),u("li",null,[fe(ht(vn),{to:{name:"help"},class:"link-item"},{default:Be(()=>[be(" Help ")]),_:1})])])])])):B("",!0)}};const Jy={class:"top-0 shadow-lg"},Xy={class:"container flex flex-col lg:flex-row item-center gap-2 pb-0"},e2=u("div",{class:"flex items-center gap-3 flex-1"},[u("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:nc,alt:"Logo"}),u("div",{class:"flex flex-col"},[u("p",{class:"text-2xl"},"Lord of Large Language Models"),u("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),t2={class:"flex gap-3 flex-1 items-center justify-end"},n2=os('
',3),s2=u("i",{"data-feather":"sun"},null,-1),o2=[s2],r2=u("i",{"data-feather":"moon"},null,-1),i2=[r2],a2=u("body",null,null,-1),l2={name:"TopBar",computed:{...C0(["isConnected"])},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(),_e(()=>{ve.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"),_e(()=>{ji(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}_e(()=>{ji(()=>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}ji(()=>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:Pp}},c2=Object.assign(l2,{setup(t){return(e,n)=>(E(),S(Me,null,[u("header",Jy,[u("nav",Xy,[fe(ht(vn),{to:{name:"discussions"}},{default:Be(()=>[e2]),_:1}),u("div",t2,[u("div",{title:"Connection status",class:Te(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),n2,u("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())},o2),u("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())},i2)])]),fe(Pp)]),a2],64))}}),u2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},d2={class:"flex overflow-hidden flex-grow"},h2={__name:"App",setup(t){return(e,n)=>(E(),S("div",u2,[fe(c2),u("div",d2,[fe(ht(Dp),null,{default:Be(({Component:s})=>[(E(),nt(D_,null,[(E(),nt(q_(s)))],1024))]),_:1})])]))}};const qe=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},f2={data(){return{activeExtension:null}},computed:{activeExtensions(){return this.$store.state.extensionsZoo.filter(t=>t.is_active)}},methods:{showExtensionPage(t){this.activeExtension=t}}},p2={key:0},g2=["onClick"],m2={key:0},_2=["src"],b2={key:1},y2=u("p",null,"No extension is active. Please install and activate an extension.",-1),v2=[y2];function w2(t,e,n,s,o,r){return E(),S("div",null,[r.activeExtensions.length>0?(E(),S("div",p2,[(E(!0),S(Me,null,We(r.activeExtensions,i=>(E(),S("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[u("div",{class:Te({"active-tab":i===o.activeExtension})},H(i.name),3)],8,g2))),128)),o.activeExtension?(E(),S("div",m2,[u("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,_2)])):B("",!0)])):(E(),S("div",b2,v2))])}const x2=qe(f2,[["render",w2]]);var Fp={exports:{}};/* @license Papa Parse v5.4.1 https://github.com/mholt/PapaParse License: MIT -*/(function(t,e){(function(n,s){t.exports=s()})(Dp,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(v,k){var M=(k=k||{}).dynamicTyping||!1;if(D(M)&&(k.dynamicTypingFunction=M,M={}),k.dynamicTyping=M,k.transform=!!D(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var L=function(){if(!l.WORKERS_SUPPORTED)return!1;var Q=(le=s.URL||s.webkitURL||null,Z=n.toString(),l.BLOB_URL||(l.BLOB_URL=le.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; ","(",Z,")();"],{type:"text/javascript"})))),I=new s.Worker(Q),le,Z;return I.onmessage=y,I.id=a++,i[I.id]=I}();return L.userStep=k.step,L.userChunk=k.chunk,L.userComplete=k.complete,L.userError=k.error,k.step=D(k.step),k.chunk=D(k.chunk),k.complete=D(k.complete),k.error=D(k.error),delete k.worker,void L.postMessage({input:v,config:k,workerId:L.id})}var F=null;return l.NODE_STREAM_INPUT,typeof v=="string"?(v=function(Q){return Q.charCodeAt(0)===65279?Q.slice(1):Q}(v),F=k.download?new h(k):new g(k)):v.readable===!0&&D(v.read)&&D(v.on)?F=new m(k):(s.File&&v instanceof File||v instanceof Object)&&(F=new f(k)),F.stream(v)},unparse:function(v,k){var M=!1,L=!0,F=",",Q=`\r -`,I='"',le=I+I,Z=!1,T=null,q=!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))&&(M=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(Z=k.skipEmptyLines),typeof k.newline=="string"&&(Q=k.newline),typeof k.quoteChar=="string"&&(I=k.quoteChar),typeof k.header=="boolean"&&(L=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");T=k.columns}k.escapeChar!==void 0&&(le=k.escapeChar+I),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(q=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var G=new RegExp(b(I),"g");if(typeof v=="string"&&(v=JSON.parse(v)),Array.isArray(v)){if(!v.length||Array.isArray(v[0]))return ye(null,v,Z);if(typeof v[0]=="object")return ye(T||Object.keys(v[0]),v,Z)}else if(typeof v=="object")return typeof v.data=="string"&&(v.data=JSON.parse(v.data)),Array.isArray(v.data)&&(v.fields||(v.fields=v.meta&&v.meta.fields||T),v.fields||(v.fields=Array.isArray(v.data[0])?v.fields:typeof v.data[0]=="object"?Object.keys(v.data[0]):[]),Array.isArray(v.data[0])||typeof v.data[0]=="object"||(v.data=[v.data])),ye(v.fields||[],v.data||[],Z);throw new Error("Unable to serialize unrecognized input");function ye(ee,xe,Ae){var N="";typeof ee=="string"&&(ee=JSON.parse(ee)),typeof xe=="string"&&(xe=JSON.parse(xe));var J=Array.isArray(ee)&&0=this._config.preview;if(r)s.postMessage({results:Q,workerId:l.WORKER_ID,finished:le});else if(D(this._config.chunk)&&!M){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||!le||!D(this._config.complete)||Q&&Q.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),le||Q&&Q.meta.paused||this._nextChunk(),Q}this._halted=!0},this._sendError=function(k){D(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function h(v){var k;(v=v||{}).chunkSize||(v.chunkSize=l.RemoteChunkSize),u.call(this,v),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,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=O(this._chunkLoaded,this),k.onerror=O(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var L in M)k.setRequestHeader(L,M[L])}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(M){var L=M.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(M){var L=k.statusText||M;this._sendError(new Error(L))}}function f(v){var k,M;(v=v||{}).chunkSize||(v.chunkSize=l.LocalChunkSize),u.call(this,v);var L=typeof FileReader<"u";this.stream=function(F){this._input=F,M=F.slice||F.webkitSlice||F.mozSlice,L?((k=new FileReader).onload=O(this._chunkLoaded,this),k.onerror=O(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 g(v){var k;u.call(this,v=v||{}),this.stream=function(M){return k=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,L=this._config.chunkSize;return L?(M=k.substring(0,L),k=k.substring(L)):(M=k,k=""),this._finished=!k,this.parseChunk(M)}}}function m(v){u.call(this,v=v||{});var k=[],M=!0,L=!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(){L&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):M=!0},this._streamData=O(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Q){this._streamError(Q)}},this),this._streamError=O(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=O(function(){this._streamCleanUp(),L=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function p(v){var k,M,L,F=Math.pow(2,53),Q=-F,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,le=/^((\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)))$/,Z=this,T=0,q=0,G=!1,ye=!1,me=[],ee={data:[],errors:[],meta:{}};if(D(v.step)){var xe=v.step;v.step=function(X){if(ee=X,J())N();else{if(N(),ee.data.length===0)return;T+=X.data.length,v.preview&&T>v.preview?M.abort():(ee.data=ee.data[0],xe(ee,Z))}}}function Ae(X){return v.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return ee&&L&&(te("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),v.skipEmptyLines&&(ee.data=ee.data.filter(function(X){return!Ae(X)})),J()&&function(){if(!ee)return;function X(ue,w){D(v.transformHeader)&&(ue=v.transformHeader(ue,w)),me.push(ue)}if(Array.isArray(ee.data[0])){for(var fe=0;J()&&fe=me.length?"__parsed_extra":me[C]),v.transform&&(j=v.transform(j,$)),j=H($,j),$==="__parsed_extra"?(P[$]=P[$]||[],P[$].push(j)):P[$]=j}return v.header&&(C>me.length?te("FieldMismatch","TooManyFields","Too many fields: expected "+me.length+" fields but parsed "+C,q+w):C=this._config.preview;if(r)s.postMessage({results:Q,workerId:l.WORKER_ID,finished:ce});else if(D(this._config.chunk)&&!M){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||!ce||!D(this._config.complete)||Q&&Q.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ce||Q&&Q.meta.paused||this._nextChunk(),Q}this._halted=!0},this._sendError=function(k){D(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function h(v){var k;(v=v||{}).chunkSize||(v.chunkSize=l.RemoteChunkSize),d.call(this,v),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,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=O(this._chunkLoaded,this),k.onerror=O(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var L in M)k.setRequestHeader(L,M[L])}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(M){var L=M.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(M){var L=k.statusText||M;this._sendError(new Error(L))}}function f(v){var k,M;(v=v||{}).chunkSize||(v.chunkSize=l.LocalChunkSize),d.call(this,v);var L=typeof FileReader<"u";this.stream=function(F){this._input=F,M=F.slice||F.webkitSlice||F.mozSlice,L?((k=new FileReader).onload=O(this._chunkLoaded,this),k.onerror=O(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 g(v){var k;d.call(this,v=v||{}),this.stream=function(M){return k=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,L=this._config.chunkSize;return L?(M=k.substring(0,L),k=k.substring(L)):(M=k,k=""),this._finished=!k,this.parseChunk(M)}}}function m(v){d.call(this,v=v||{});var k=[],M=!0,L=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.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(){L&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):M=!0},this._streamData=O(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Q){this._streamError(Q)}},this),this._streamError=O(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=O(function(){this._streamCleanUp(),L=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function p(v){var k,M,L,F=Math.pow(2,53),Q=-F,I=/^\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)))$/,Z=this,T=0,q=0,G=!1,ye=!1,me=[],ee={data:[],errors:[],meta:{}};if(D(v.step)){var xe=v.step;v.step=function(X){if(ee=X,J())N();else{if(N(),ee.data.length===0)return;T+=X.data.length,v.preview&&T>v.preview?M.abort():(ee.data=ee.data[0],xe(ee,Z))}}}function Ae(X){return v.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return ee&&L&&(te("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),v.skipEmptyLines&&(ee.data=ee.data.filter(function(X){return!Ae(X)})),J()&&function(){if(!ee)return;function X(ue,w){D(v.transformHeader)&&(ue=v.transformHeader(ue,w)),me.push(ue)}if(Array.isArray(ee.data[0])){for(var pe=0;J()&&pe=me.length?"__parsed_extra":me[C]),v.transform&&(j=v.transform(j,$)),j=V($,j),$==="__parsed_extra"?(P[$]=P[$]||[],P[$].push(j)):P[$]=j}return v.header&&(C>me.length?te("FieldMismatch","TooManyFields","Too many fields: expected "+me.length+" fields but parsed "+C,q+w):C=re.length/2?`\r -`:"\r"}(X,w)),L=!1,v.delimiter)D(v.delimiter)&&(v.delimiter=v.delimiter(X),ee.meta.delimiter=v.delimiter);else{var C=function($,j,ne,re,z){var se,U,Y,ie;z=z||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var he=0;he=I)return He(!0)}else for(de=T,T++;;){if((de=G.indexOf(k,de+1))===-1)return me||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:T}),Se();if(de===ee-1)return Se(G.substring(T,de).replace(he,k));if(k!==Z||G[de+1]!==Z){if(k===Z||de===0||G[de-1]!==Z){Y!==-1&&Y=I)return He(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:H.length,index:T}),de++}}else de++}return Se();function oe(Xe){H.push(Xe),fe=T}function pe(Xe){var tt=0;if(Xe!==-1){var at=G.substring(de+1,Xe);at&&at.trim()===""&&(tt=at.length)}return tt}function Se(Xe){return me||(Xe===void 0&&(Xe=G.substring(T)),X.push(Xe),T=ee,oe(X),J&&De()),He()}function Ie(Xe){T=Xe,oe(X),X=[],ie=G.indexOf(L,T)}function He(Xe){return{data:H,errors:te,meta:{delimiter:M,linebreak:L,aborted:q,truncated:!!Xe,cursor:fe+(ye||0)}}}function De(){Q(He()),H=[],te=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return T}}function y(v){var k=v.data,M=i[k.workerId],L=!1;if(k.error)M.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){L=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:A,resume:A};if(D(M.userStep)){for(var Q=0;Q{this.lollmsVersion=t})},computed:{async fetchLollmsVersion(){return await Ee.get("/get_lollms_version")}},async created(){},methods:{async api_get_req(t){try{const e=await Ee.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(t=>t.text()).then(t=>{const{data:e}=E2.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,"
")}}},ai=t=>(ns("data-v-6f1a11a2"),t=t(),ss(),t),A2={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},S2=ai(()=>d("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),T2={class:"mb-4"},M2=ai(()=>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)),O2={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},R2=ai(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),N2={class:"list-disc pl-4"},D2={class:"text-xl font-bold mb-1"},L2=["innerHTML"],I2=ai(()=>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 me."),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)),P2={class:"mt-8"},F2=os('

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),B2=["href"];function $2(t,e,n,s,o,r){return E(),S("div",A2,[d("div",null,[S2,d("p",T2," Lollms version "+V(o.lollmsVersion),1),M2]),d("div",O2,[R2,d("ul",N2,[(E(!0),S(Me,null,We(o.faqs,(i,a)=>(E(),S("li",{key:a},[d("h3",D2,V(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,L2)]))),128))])]),I2,d("div",P2,[F2,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,B2),be(".")])])])}const j2=qe(C2,[["render",$2],["__scopeId","data-v-6f1a11a2"]]);function Ht(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.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 ")])])])):B("",!0)}const Fp=qe(z2,[["render",G2]]),K2={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})}}},W2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Z2={class:"relative w-full max-w-md max-h-full"},Y2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Q2=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=d("span",{class:"sr-only"},"Close modal",-1),X2=[Q2,J2],ev={class:"p-4 text-center"},tv=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),nv={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function sv(t,e,n,s,o,r){return o.show?(E(),S("div",W2,[d("div",Z2,[d("div",Y2,[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"},X2),d("div",ev,[tv,d("h3",nv,V(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"},V(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"},V(o.DenyButtonText),1)])])])])):B("",!0)}const ov=qe(K2,[["render",sv]]);const rv={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),_e(()=>{ve.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),_e(()=>{ve.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Rn=t=>(ns("data-v-3ffdabf3"),t=t(),ss(),t),iv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},av={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"},lv={class:"flex flex-row flex-grow items-center"},cv={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"},uv=Rn(()=>d("i",{"data-feather":"check"},null,-1)),dv=Rn(()=>d("span",{class:"sr-only"},"Check icon",-1)),hv=[uv,dv],fv={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"},pv=Rn(()=>d("i",{"data-feather":"x"},null,-1)),gv=Rn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),mv=[pv,gv],_v=["title"],bv={class:"flex"},yv=["onClick"],vv=Rn(()=>d("span",{class:"sr-only"},"Copy message",-1)),wv=Rn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),xv=[vv,wv],kv=["onClick"],Ev=Rn(()=>d("span",{class:"sr-only"},"Close",-1)),Cv=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)),Av=[Ev,Cv];function Sv(t,e,n,s,o,r){return E(),S("div",iv,[ge(Ut,{name:"toastItem",tag:"div"},{default:Be(()=>[(E(!0),S(Me,null,We(o.toastArr,i=>(E(),S("div",{key:i.id,class:"relative"},[d("div",av,[d("div",lv,[wr(t.$slots,"default",{},()=>[i.success?(E(),S("div",cv,hv)):B("",!0),i.success?B("",!0):(E(),S("div",fv,mv)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},V(i.message),9,_v)],!0)]),d("div",bv,[d("button",{type:"button",onClick:ae(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"},xv,8,yv),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"},Av,8,kv)])])]))),128))]),_:3})])}const li=qe(rv,[["render",Sv],["__scopeId","data-v-3ffdabf3"]]),Ar="/assets/default_model-9e24e852.png",Tv={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,linkNotValid:!1,selected_variant:""}},async mounted(){_e(()=>{ve.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Ht(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ee.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"),"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Ar:this.icon},defaultImg(t){t.target.src=Ar},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):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(){this.$emit("copy","this.message.content")}},computed:{fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Ht(this.speed)},total_size_computed(){return Ht(this.total_size)},downloaded_size_computed(){return Ht(this.downloaded_size)}},watch:{linkNotValid(){_e(()=>{ve.replace()})}}},Mv=["title"],Ov={key:0,class:"flex flex-row"},Rv={class:"flex gap-3 items-center grow"},Nv=["src"],Dv={class:"font-bold font-large text-lg truncate"},Lv={key:1,class:"flex items-center flex-row gap-2 my-1"},Iv={class:"flex grow items-center"},Pv=d("i",{"data-feather":"box",class:"w-5"},null,-1),Fv=d("span",{class:"sr-only"},"Custom model / local model",-1),Bv=[Pv,Fv],$v=d("span",{class:"sr-only"},"Remove",-1),jv={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"},zv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Uv=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),qv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Hv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Vv={class:"flex justify-between mb-1"},Gv=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Kv={class:"text-sm font-medium text-blue-700 dark:text-white"},Wv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Zv={class:"flex justify-between mb-1"},Yv={class:"text-base font-medium text-blue-700 dark:text-white"},Qv={class:"text-sm font-medium text-blue-700 dark:text-white"},Jv={class:"flex flex-grow"},Xv={class:"flex flex-row flex-grow gap-3"},ew={class:"p-2 text-center grow"},tw={key:3},nw={class:"flex flex-row items-center gap-3"},sw=["src"],ow={class:"font-bold font-large text-lg truncate"},rw=d("div",{class:"grow"},null,-1),iw=d("div",{class:"flex-none gap-1"},null,-1),aw={class:"flex items-center flex-row-reverse gap-2 my-1"},lw=d("span",{class:"sr-only"},"Copy info",-1),cw={class:"flex flex-row items-center"},uw={key:0,class:"text-base text-red-600 flex items-center mt-1"},dw=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),hw=d("span",{class:"sr-only"},"Click to install",-1),fw=d("span",{class:"sr-only"},"Remove",-1),pw=["title"],gw={class:""},mw={class:"flex flex-row items-center"},_w=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),bw=d("b",null,"Manual download: ",-1),yw=["href","title"],vw=d("div",{class:"grow"},null,-1),ww=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),xw=[ww],kw={class:"flex items-center"},Ew=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Cw=d("b",null,"File size: ",-1),Aw={class:"flex items-center"},Sw=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Tw=d("b",null,"License: ",-1),Mw={class:"flex items-center"},Ow=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Rw=d("b",null,"Owner: ",-1),Nw=["href"],Dw=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Lw=["title"];function Iw(t,e,n,s,o,r){return E(),S("div",{class:Te(["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]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(E(),S("div",Ov,[d("div",Rv,[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,Nv),d("h3",Dv,V(n.title),1)])])):B("",!0),n.model.isCustomModel?(E(),S("div",Lv,[d("div",Iv,[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]=ae(()=>{},["stop"]))},Bv),be(" Custom model ")]),d("div",null,[n.model.isInstalled?(E(),S("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ae((...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 "),$v])):B("",!0)])])):B("",!0),o.installing?(E(),S("div",jv,[d("div",zv,[Uv,d("div",qv,[d("div",Hv,[d("div",Vv,[Gv,d("span",Kv,V(Math.floor(o.progress))+"%",1)]),d("div",Wv,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct({width:o.progress+"%"})},null,4)]),d("div",Zv,[d("span",Yv,"Download speed: "+V(r.speed_computed)+"/s",1),d("span",Qv,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),d("div",Jv,[d("div",Xv,[d("div",ew,[d("button",{onClick:e[3]||(e[3]=ae((...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 ")])])])])])):B("",!0),n.model.isCustomModel?B("",!0):(E(),S("div",tw,[d("div",nw,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Te(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,sw),d("h3",ow,V(n.title),1),rw,iw]),d("div",aw,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ae(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 "),lw]),d("div",cw,[o.linkNotValid?(E(),S("div",uw,[dw,be(" Link is not valid ")])):B("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(E(),S("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ae((...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 "),hw])):B("",!0),n.model.isInstalled?(E(),S("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ae((...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 "),fw])):B("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",gw,[d("div",mw,[_w,bw,d("a",{href:n.path,onClick:e[8]||(e[8]=ae(()=>{},["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,yw),vw,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]=ae(i=>r.toggleCopyLink(),["stop"]))},xw)]),d("div",kw,[d("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Ew,Cw,be(" "+V(r.fileSize),1)],2)]),d("div",Aw,[Sw,Tw,be(" "+V(n.license),1)]),d("div",Mw,[Ow,Rw,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},V(n.owner),9,Nw)])]),Dw,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},V(n.description.replace(/<\/?[^>]+>/ig," ")),9,Lw)],8,pw)]))],10,Mv)}const Pw=qe(Tv,[["render",Iw]]),Fw={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}}},Bw={class:"p-4"},$w={class:"flex items-center mb-4"},jw=["src"],zw={class:"text-lg font-semibold"},Uw=d("strong",null,"Author:",-1),qw=d("strong",null,"Description:",-1),Hw=d("strong",null,"Language:",-1),Vw=d("strong",null,"Category:",-1),Gw={key:0},Kw=d("strong",null,"Disclaimer:",-1),Ww=d("strong",null,"Conditioning Text:",-1),Zw=d("strong",null,"AI Prefix:",-1),Yw=d("strong",null,"User Prefix:",-1),Qw=d("strong",null,"Antiprompts:",-1);function Jw(t,e,n,s,o,r){return E(),S("div",Bw,[d("div",$w,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,jw),d("h2",zw,V(o.personalityName),1)]),d("p",null,[Uw,be(" "+V(o.personalityAuthor),1)]),d("p",null,[qw,be(" "+V(o.personalityDescription),1)]),d("p",null,[Hw,be(" "+V(o.personalityLanguage),1)]),d("p",null,[Vw,be(" "+V(o.personalityCategory),1)]),o.disclaimer?(E(),S("p",Gw,[Kw,be(" "+V(o.disclaimer),1)])):B("",!0),d("p",null,[Ww,be(" "+V(o.conditioningText),1)]),d("p",null,[Zw,be(" "+V(o.aiPrefix),1)]),d("p",null,[Yw,be(" "+V(o.userPrefix),1)]),d("div",null,[Qw,d("ul",null,[(E(!0),S(Me,null,We(o.antipromptsList,i=>(E(),S("li",{key:i.id},V(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?(E(),S("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 ")):B("",!0)])}const Xw=qe(Fw,[["render",Jw]]),Jn="/assets/logo-9d653710.svg",ex="/",tx={props:{personality:{},selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMounted:Function,onReinstall:Function,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,_e(()=>{ve.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return ex+this.personality.avatar},defaultImg(t){t.target.src=Jn},toggleTalk(){this.onTalk(this)},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ve.replace()})}}},nx=["title"],sx={class:"flex flex-row items-center flex-shrink-0 gap-3"},ox=["src"],rx={class:"font-bold font-large text-lg line-clamp-3"},ix=d("i",{"data-feather":"send",class:"w-5"},null,-1),ax=d("span",{class:"sr-only"},"Talk",-1),lx=[ix,ax],cx={class:"flex items-center flex-row-reverse gap-2 my-1"},ux=d("span",{class:"sr-only"},"Settings",-1),dx=d("span",{class:"sr-only"},"Reinstall personality",-1),hx=d("span",{class:"sr-only"},"Click to install",-1),fx=d("span",{class:"sr-only"},"Remove",-1),px={class:""},gx={class:""},mx={class:"flex items-center"},_x=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),bx=d("b",null,"Author: ",-1),yx={class:"flex items-center"},vx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),wx=d("b",null,"Language: ",-1),xx={class:"flex items-center"},kx=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Ex=d("b",null,"Category: ",-1),Cx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Ax=["title"];function Sx(t,e,n,s,o,r){return E(),S("div",{class:Te(["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[7]||(e[7]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Te(n.personality.installed?"":"opacity-50")},[d("div",sx,[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,ox),d("h3",rx,V(n.personality.name),1),d("button",{type:"button",title:"Talk",onClick:[e[1]||(e[1]=(...i)=>r.toggleTalk&&r.toggleTalk(...i)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},lx)]),d("div",cx,[r.selected_computed?(E(),S("button",{key:0,type:"button",title:"Settings",onClick:e[3]||(e[3]=ae((...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 "),ux])):B("",!0),r.selected_computed?(E(),S("button",{key:1,title:"Click to Reinstall personality",type:"button",onClick:e[4]||(e[4]=ae((...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 personality "),dx])):B("",!0),o.isMounted?B("",!0):(E(),S("button",{key:2,title:"Mount personality",type:"button",onClick:e[5]||(e[5]=ae((...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 "),hx])),o.isMounted?(E(),S("button",{key:3,title:"Unmount personality",type:"button",onClick:e[6]||(e[6]=ae((...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 "),fx])):B("",!0)]),d("div",px,[d("div",gx,[d("div",mx,[_x,bx,be(" "+V(n.personality.author),1)]),d("div",yx,[vx,wx,be(" "+V(n.personality.language),1)]),d("div",xx,[kx,Ex,be(" "+V(n.personality.category),1)])]),Cx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},V(n.personality.description),9,Ax)])],2)],10,nx)}const Bp=qe(tx,[["render",Sx]]),Tx="/",Mx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){_e(()=>{ve.replace()})},methods:{getImgUrl(){return Tx+this.binding.icon},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){_e(()=>{ve.replace()})}}},Ox=["title"],Rx={class:"flex flex-row items-center gap-3"},Nx=["src"],Dx={class:"font-bold font-large text-lg truncate"},Lx=d("div",{class:"grow"},null,-1),Ix={class:"flex-none gap-1"},Px=d("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),Fx=d("span",{class:"sr-only"},"Help",-1),Bx=[Px,Fx],$x={class:"flex items-center flex-row-reverse gap-2 my-1"},jx=d("span",{class:"sr-only"},"Click to install",-1),zx=d("span",{class:"sr-only"},"Reinstall binding",-1),Ux=d("span",{class:"sr-only"},"Settings",-1),qx={class:""},Hx={class:""},Vx={class:"flex items-center"},Gx=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Kx=d("b",null,"Author: ",-1),Wx={class:"flex items-center"},Zx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Yx=d("b",null,"Folder: ",-1),Qx={class:"flex items-center"},Jx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Xx=d("b",null,"Version: ",-1),ek={class:"flex items-center"},tk=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),nk=d("b",null,"Link: ",-1),sk=["href"],ok=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),rk=["title"];function ik(t,e,n,s,o,r){return E(),S("div",{class:Te(["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[6]||(e[6]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",Rx,[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,Nx),d("h3",Dx,V(n.binding.name),1),Lx,d("div",Ix,[n.selected?(E(),S("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...i)=>r.toggleReloadBinding&&r.toggleReloadBinding(...i)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Bx)):B("",!0)])]),d("div",$x,[n.binding.installed?B("",!0):(E(),S("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=ae((...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 "),jx])),n.binding.installed?(E(),S("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=ae((...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 "),zx])):B("",!0),n.selected?(E(),S("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[5]||(e[5]=ae((...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 "),Ux])):B("",!0)]),d("div",qx,[d("div",Hx,[d("div",Vx,[Gx,Kx,be(" "+V(n.binding.author),1)]),d("div",Wx,[Zx,Yx,be(" "+V(n.binding.folder),1)]),d("div",Qx,[Jx,Xx,be(" "+V(n.binding.version),1)]),d("div",ek,[tk,nk,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},V(n.binding.link),9,sk)])]),ok,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},V(n.binding.description),9,rk)])])],10,Ox)}const ak=qe(Mx,[["render",ik]]),Yt=Object.create(null);Yt.open="0";Yt.close="1";Yt.ping="2";Yt.pong="3";Yt.message="4";Yt.upgrade="5";Yt.noop="6";const hr=Object.create(null);Object.keys(Yt).forEach(t=>{hr[Yt[t]]=t});const lk={type:"error",data:"parser error"},ck=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",uk=typeof ArrayBuffer=="function",dk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,$p=({type:t,data:e},n,s)=>ck&&e instanceof Blob?n?s(e):zu(e,s):uk&&(e instanceof ArrayBuffer||dk(e))?n?s(e):zu(new Blob([e]),s):s(Yt[t]+(e||"")),zu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Uu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",so=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},fk=typeof ArrayBuffer=="function",jp=(t,e)=>{if(typeof t!="string")return{type:"message",data:zp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:pk(t.substring(1),e)}:hr[n]?t.length>1?{type:hr[n],data:t.substring(1)}:{type:hr[n]}:lk},pk=(t,e)=>{if(fk){const n=hk(t);return zp(n,e)}else return{base64:!0,data:t}},zp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Up=String.fromCharCode(30),gk=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{$p(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Up))})})},mk=(t,e)=>{const n=t.split(Up),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Hp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const bk=kt.setTimeout,yk=kt.clearTimeout;function ci(t,e){e.useNativeTimers?(t.setTimeoutFn=bk.bind(kt),t.clearTimeoutFn=yk.bind(kt)):(t.setTimeoutFn=kt.setTimeout.bind(kt),t.clearTimeoutFn=kt.clearTimeout.bind(kt))}const vk=1.33;function wk(t){return typeof t=="string"?xk(t):Math.ceil((t.byteLength||t.size)*vk)}function xk(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class kk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Vp extends et{constructor(e){super(),this.writable=!1,ci(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new kk(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=jp(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 Gp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),al=64,Ek={};let qu=0,Go=0,Hu;function Vu(t){let e="";do e=Gp[t%al]+e,t=Math.floor(t/al);while(t>0);return e}function Kp(){const t=Vu(+new Date);return t!==Hu?(qu=0,Hu=t):t+"."+Vu(qu++)}for(;Go{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)};mk(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,gk(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]=Kp()),!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=Wp(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 Kt(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 Kt extends et{constructor(e,n){super(),ci(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=Hp(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 Yp(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=Kt.requestsCount++,Kt.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=Sk,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Kt.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()}}Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Gu);else if(typeof addEventListener=="function"){const t="onpagehide"in kt?"pagehide":"unload";addEventListener(t,Gu,!1)}}function Gu(){for(let t in Kt.requests)Kt.requests.hasOwnProperty(t)&&Kt.requests[t].abort()}const Qp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Ko=kt.WebSocket||kt.MozWebSocket,Ku=!0,Ok="arraybuffer",Wu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Rk extends Vp{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=Wu?{}:Hp(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=Ku&&!Wu?n?new Ko(e,n):new Ko(e):new Ko(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||Ok,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{Ku&&this.ws.send(r)}catch{}o&&Qp(()=>{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]=Kp()),this.supportsBinary||(e.b64=1);const o=Wp(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!!Ko}}const Nk={websocket:Rk,polling:Mk},Dk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Lk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ll(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=Dk.exec(t||""),r={},i=14;for(;i--;)r[Lk[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=Ik(r,r.path),r.queryKey=Pk(r,r.query),r}function Ik(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 Pk(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Jp=class ps extends et{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=ll(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=ll(n.host).host),ci(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=Ck(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=qp,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 Nk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&ps.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;ps.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;ps.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",ps.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){ps.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,Xp=Object.prototype.toString,jk=typeof Blob=="function"||typeof Blob<"u"&&Xp.call(Blob)==="[object BlobConstructor]",zk=typeof File=="function"||typeof File<"u"&&Xp.call(File)==="[object FileConstructor]";function sc(t){return Bk&&(t instanceof ArrayBuffer||$k(t))||jk&&t instanceof Blob||zk&&t instanceof File}function fr(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}Vs.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};Vs.prototype.reset=function(){this.attempts=0};Vs.prototype.setMin=function(t){this.ms=t};Vs.prototype.setMax=function(t){this.max=t};Vs.prototype.setJitter=function(t){this.jitter=t};class dl extends et{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,ci(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 Vs({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||Kk;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 Jp(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){Qp(()=>{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 eg(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 Xs={};function pr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=Fk(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Xs[o]&&r in Xs[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new dl(s,e):(Xs[o]||(Xs[o]=new dl(s,e)),l=Xs[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(pr,{Manager:dl,Socket:eg,io:pr,connect:pr});const Zk=void 0,je=new pr(Zk);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()};const Yk={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})}}},Qk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Jk={class:"relative w-full max-w-md max-h-full"},Xk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},eE=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),tE=d("span",{class:"sr-only"},"Close modal",-1),nE=[eE,tE],sE={class:"p-4 text-center"},oE=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),rE={class:"p-4 text-center mx-auto mb-4"},iE=d("label",{class:"mr-2"},"Model path",-1);function aE(t,e,n,s,o,r){return o.show?(E(),S("div",Qk,[d("div",Jk,[d("div",Xk,[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"},nE),d("div",sE,[oE,d("div",rE,[iE,we(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),[[Ge,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")])])])])):B("",!0)}const lE=qe(Yk,[["render",aE]]),cE={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){_e(()=>{ve.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(){_e(()=>{ve.replace()})}}},uE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},dE={class:"relative w-full max-w-md"},hE={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},fE={class:"flex flex-row flex-grow items-center m-2 p-1"},pE={class:"grow flex items-center"},gE=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),mE={class:"text-lg font-semibold select-none mr-2"},_E={class:"items-end"},bE=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),yE=d("span",{class:"sr-only"},"Close form modal",-1),vE=[bE,yE],wE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},xE={class:"px-2"},kE={key:0},EE={key:0},CE={class:"text-base font-semibold"},AE={key:0,class:"relative inline-flex"},SE=["onUpdate:modelValue"],TE=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),ME={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},OE=["onUpdate:modelValue"],RE={key:1},NE={class:"text-base font-semibold"},DE={key:0,class:"relative inline-flex"},LE=["onUpdate:modelValue"],IE=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),PE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},FE=["onUpdate:modelValue"],BE=["value","selected"],$E={key:1},jE={class:"text-base font-semibold"},zE={key:0,class:"relative inline-flex"},UE=["onUpdate:modelValue"],qE=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),HE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},VE=["onUpdate:modelValue"],GE=["onUpdate:modelValue","min","max"],KE={key:2},WE={class:"mb-2 relative flex items-center gap-2"},ZE={for:"default-checkbox",class:"text-base font-semibold"},YE=["onUpdate:modelValue"],QE={key:0,class:"relative inline-flex"},JE=["onUpdate:modelValue"],XE=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),e5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},t5={key:3},n5={class:"text-base font-semibold"},s5={key:0,class:"relative inline-flex"},o5=["onUpdate:modelValue"],r5=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),i5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},a5=["onUpdate:modelValue"],l5=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),c5={class:"flex flex-row flex-grow gap-3"},u5={class:"p-2 text-center grow"};function d5(t,e,n,s,o,r){return o.show?(E(),S("div",uE,[d("div",dE,[d("div",hE,[d("div",fE,[d("div",pE,[gE,d("h3",mE,V(o.title),1)]),d("div",_E,[d("button",{type:"button",onClick:e[0]||(e[0]=ae(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"},vE)])]),d("div",wE,[(E(!0),S(Me,null,We(o.controls_array,(i,a)=>(E(),S("div",xE,[i.type=="str"?(E(),S("div",kE,[i.options?B("",!0):(E(),S("div",EE,[d("label",{class:Te(["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",CE,V(i.name)+": ",1),i.help?(E(),S("label",AE,[we(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,SE),[[xt,i.isHelp]]),TE])):B("",!0)],2),i.isHelp?(E(),S("p",ME,V(i.help),1)):B("",!0),we(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,OE),[[Ge,i.value]])])),i.options?(E(),S("div",RE,[d("label",{class:Te(["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",NE,V(i.name)+": ",1),i.help?(E(),S("label",DE,[we(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,LE),[[xt,i.isHelp]]),IE])):B("",!0)],2),i.isHelp?(E(),S("p",PE,V(i.help),1)):B("",!0),we(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"},[(E(!0),S(Me,null,We(i.options,l=>(E(),S("option",{value:l,selected:i.value===l},V(l),9,BE))),256))],8,FE),[[Ya,i.value]])])):B("",!0)])):B("",!0),i.type=="int"||i.type=="float"?(E(),S("div",$E,[d("label",{class:Te(["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",jE,V(i.name)+": ",1),i.help?(E(),S("label",zE,[we(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,UE),[[xt,i.isHelp]]),qE])):B("",!0)],2),i.isHelp?(E(),S("p",HE,V(i.help),1)):B("",!0),we(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,VE),[[Ge,i.value]]),i.min!=null&&i.max!=null?we((E(),S("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,GE)),[[Ge,i.value]]):B("",!0)])):B("",!0),i.type=="bool"?(E(),S("div",KE,[d("div",WE,[d("label",ZE,V(i.name)+": ",1),we(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,YE),[[xt,i.value]]),i.help?(E(),S("label",QE,[we(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,JE),[[xt,i.isHelp]]),XE])):B("",!0)]),i.isHelp?(E(),S("p",e5,V(i.help),1)):B("",!0)])):B("",!0),i.type=="list"?(E(),S("div",t5,[d("label",{class:Te(["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",n5,V(i.name)+": ",1),i.help?(E(),S("label",s5,[we(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,o5),[[xt,i.isHelp]]),r5])):B("",!0)],2),i.isHelp?(E(),S("p",i5,V(i.help),1)):B("",!0),we(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,a5),[[Ge,i.value]])])):B("",!0),l5]))),256)),d("div",c5,[d("div",u5,[d("button",{onClick:e[1]||(e[1]=ae(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"},V(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ae(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"},V(o.DenyButtonText),1)])])])])])])):B("",!0)}const tg=qe(cE,[["render",d5]]);const h5={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},f5={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},p5={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},g5={class:"text-xl font-semibold mb-4"},m5={class:"h-48 overflow-y-auto"},_5=["onClick"],b5={class:"font-bold"},y5=d("br",null,null,-1),v5={class:"text-xs text-gray-500"},w5={class:"flex justify-end mt-4"},x5=["disabled"];function k5(t,e,n,s,o,r){return E(),nt(Ss,{name:"fade"},{default:Be(()=>[n.show?(E(),S("div",f5,[d("div",p5,[d("h2",g5,V(n.title),1),d("div",m5,[d("ul",null,[(E(!0),S(Me,null,We(n.choices,(i,a)=>(E(),S("li",{key:a,onClick:l=>r.selectChoice(i),class:Te([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[d("span",b5,V(i.name),1),y5,d("span",v5,V(this.formatSize(i.size)),1)],10,_5))),128))])]),d("div",w5,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),d("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:Te([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,x5)])])])):B("",!0)]),_:1})}const E5=qe(h5,[["render",k5]]);const C5="/";Ee.defaults.baseURL="/";const A5={components:{AddModelDialog:lE,MessageBox:Fp,YesNoDialog:ov,ModelEntry:Pw,PersonalityViewer:Xw,Toast:li,PersonalityEntry:Bp,BindingEntry:ak,UniversalForm:tg,ChoiceDialog:E5},data(){return{audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_language:null,personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,minconf_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,persLangArr:[],persCatgArr:[],persArr:[],langArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:C5,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){je.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;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:this.selected_variant.name,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: +`);var T=0,q=!1;this.parse=function(G,ye,me){if(typeof G!="string")throw new Error("Input must be a string");var ee=G.length,xe=M.length,Ae=L.length,N=F.length,J=D(Q),V=[],te=[],X=[],pe=T=0;if(!G)return He();if(v.header&&!ye){var ue=G.split(L)[0].split(M),w=[],C={},P=!1;for(var $ in ue){var j=ue[$];D(v.transformHeader)&&(j=v.transformHeader(j,$));var ne=j,re=C[j]||0;for(0=I)return He(!0)}else for(de=T,T++;;){if((de=G.indexOf(k,de+1))===-1)return me||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:V.length,index:T}),Se();if(de===ee-1)return Se(G.substring(T,de).replace(he,k));if(k!==Z||G[de+1]!==Z){if(k===Z||de===0||G[de-1]!==Z){Y!==-1&&Y=I)return He(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:V.length,index:T}),de++}}else de++}return Se();function oe(Xe){V.push(Xe),pe=T}function ge(Xe){var tt=0;if(Xe!==-1){var at=G.substring(de+1,Xe);at&&at.trim()===""&&(tt=at.length)}return tt}function Se(Xe){return me||(Xe===void 0&&(Xe=G.substring(T)),X.push(Xe),T=ee,oe(X),J&&De()),He()}function Ie(Xe){T=Xe,oe(X),X=[],ie=G.indexOf(L,T)}function He(Xe){return{data:V,errors:te,meta:{delimiter:M,linebreak:L,aborted:q,truncated:!!Xe,cursor:pe+(ye||0)}}}function De(){Q(He()),V=[],te=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return T}}function y(v){var k=v.data,M=i[k.workerId],L=!1;if(k.error)M.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){L=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:A,resume:A};if(D(M.userStep)){for(var Q=0;Q{this.lollmsVersion=t})},computed:{async fetchLollmsVersion(){return await ke.get("/get_lollms_version")}},async created(){},methods:{async api_get_req(t){try{const e=await ke.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(t=>t.text()).then(t=>{const{data:e}=E2.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,"
")}}},ai=t=>(ns("data-v-6f1a11a2"),t=t(),ss(),t),A2={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},S2=ai(()=>u("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),T2={class:"mb-4"},M2=ai(()=>u("p",null,[be("Discord link: "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),O2={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},R2=ai(()=>u("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),N2={class:"list-disc pl-4"},D2={class:"text-xl font-bold mb-1"},L2=["innerHTML"],I2=ai(()=>u("div",null,[u("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),u("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me."),u("p",null,[be("Discord link: "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),P2={class:"mt-8"},F2=os('

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),B2=["href"];function $2(t,e,n,s,o,r){return E(),S("div",A2,[u("div",null,[S2,u("p",T2," Lollms version "+H(o.lollmsVersion),1),M2]),u("div",O2,[R2,u("ul",N2,[(E(!0),S(Me,null,We(o.faqs,(i,a)=>(E(),S("li",{key:a},[u("h3",D2,H(i.question),1),u("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,L2)]))),128))])]),I2,u("div",P2,[F2,u("p",null,[be("Check out the project on "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,B2),be(".")])])])}const j2=qe(C2,[["render",$2],["__scopeId","data-v-6f1a11a2"]]);function Ht(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.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 ")])])])):B("",!0)}const Bp=qe(z2,[["render",G2]]),K2={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})}}},W2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Z2={class:"relative w-full max-w-md max-h-full"},Y2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Q2=u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("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=u("span",{class:"sr-only"},"Close modal",-1),X2=[Q2,J2],ev={class:"p-4 text-center"},tv=u("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"},[u("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),nv={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function sv(t,e,n,s,o,r){return o.show?(E(),S("div",W2,[u("div",Z2,[u("div",Y2,[u("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"},X2),u("div",ev,[tv,u("h3",nv,H(o.message),1),u("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"},H(o.ConfirmButtonText),1),u("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"},H(o.DenyButtonText),1)])])])])):B("",!0)}const ov=qe(K2,[["render",sv]]);const rv={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),_e(()=>{ve.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),_e(()=>{ve.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Rn=t=>(ns("data-v-3ffdabf3"),t=t(),ss(),t),iv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},av={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"},lv={class:"flex flex-row flex-grow items-center"},cv={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"},uv=Rn(()=>u("i",{"data-feather":"check"},null,-1)),dv=Rn(()=>u("span",{class:"sr-only"},"Check icon",-1)),hv=[uv,dv],fv={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"},pv=Rn(()=>u("i",{"data-feather":"x"},null,-1)),gv=Rn(()=>u("span",{class:"sr-only"},"Cross icon",-1)),mv=[pv,gv],_v=["title"],bv={class:"flex"},yv=["onClick"],vv=Rn(()=>u("span",{class:"sr-only"},"Copy message",-1)),wv=Rn(()=>u("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),xv=[vv,wv],kv=["onClick"],Ev=Rn(()=>u("span",{class:"sr-only"},"Close",-1)),Cv=Rn(()=>u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("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)),Av=[Ev,Cv];function Sv(t,e,n,s,o,r){return E(),S("div",iv,[fe(Ut,{name:"toastItem",tag:"div"},{default:Be(()=>[(E(!0),S(Me,null,We(o.toastArr,i=>(E(),S("div",{key:i.id,class:"relative"},[u("div",av,[u("div",lv,[wr(t.$slots,"default",{},()=>[i.success?(E(),S("div",cv,hv)):B("",!0),i.success?B("",!0):(E(),S("div",fv,mv)),u("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},H(i.message),9,_v)],!0)]),u("div",bv,[u("button",{type:"button",onClick:ae(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"},xv,8,yv),u("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"},Av,8,kv)])])]))),128))]),_:3})])}const li=qe(rv,[["render",Sv],["__scopeId","data-v-3ffdabf3"]]),Ar="/assets/default_model-9e24e852.png",Tv={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,linkNotValid:!1,selected_variant:""}},async mounted(){_e(()=>{ve.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Ht(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await ke.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"),"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Ar:this.icon},defaultImg(t){t.target.src=Ar},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):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(){this.$emit("copy","this.message.content")}},computed:{fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Ht(this.speed)},total_size_computed(){return Ht(this.total_size)},downloaded_size_computed(){return Ht(this.downloaded_size)}},watch:{linkNotValid(){_e(()=>{ve.replace()})}}},Mv=["title"],Ov={key:0,class:"flex flex-row"},Rv={class:"flex gap-3 items-center grow"},Nv=["src"],Dv={class:"font-bold font-large text-lg truncate"},Lv={key:1,class:"flex items-center flex-row gap-2 my-1"},Iv={class:"flex grow items-center"},Pv=u("i",{"data-feather":"box",class:"w-5"},null,-1),Fv=u("span",{class:"sr-only"},"Custom model / local model",-1),Bv=[Pv,Fv],$v=u("span",{class:"sr-only"},"Remove",-1),jv={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"},zv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Uv=u("div",{role:"status",class:"justify-center"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1),qv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Hv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Vv={class:"flex justify-between mb-1"},Gv=u("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Kv={class:"text-sm font-medium text-blue-700 dark:text-white"},Wv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Zv={class:"flex justify-between mb-1"},Yv={class:"text-base font-medium text-blue-700 dark:text-white"},Qv={class:"text-sm font-medium text-blue-700 dark:text-white"},Jv={class:"flex flex-grow"},Xv={class:"flex flex-row flex-grow gap-3"},ew={class:"p-2 text-center grow"},tw={key:3},nw={class:"flex flex-row items-center gap-3"},sw=["src"],ow={class:"font-bold font-large text-lg truncate"},rw=u("div",{class:"grow"},null,-1),iw=u("div",{class:"flex-none gap-1"},null,-1),aw={class:"flex items-center flex-row-reverse gap-2 my-1"},lw=u("span",{class:"sr-only"},"Copy info",-1),cw={class:"flex flex-row items-center"},uw={key:0,class:"text-base text-red-600 flex items-center mt-1"},dw=u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),hw=u("span",{class:"sr-only"},"Click to install",-1),fw=u("span",{class:"sr-only"},"Remove",-1),pw=["title"],gw={class:""},mw={class:"flex flex-row items-center"},_w=u("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),bw=u("b",null,"Manual download: ",-1),yw=["href","title"],vw=u("div",{class:"grow"},null,-1),ww=u("i",{"data-feather":"clipboard",class:"w-5"},null,-1),xw=[ww],kw={class:"flex items-center"},Ew=u("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Cw=u("b",null,"File size: ",-1),Aw={class:"flex items-center"},Sw=u("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Tw=u("b",null,"License: ",-1),Mw={class:"flex items-center"},Ow=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Rw=u("b",null,"Owner: ",-1),Nw=["href"],Dw=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Lw=["title"];function Iw(t,e,n,s,o,r){return E(),S("div",{class:Te(["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]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(E(),S("div",Ov,[u("div",Rv,[u("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,Nv),u("h3",Dv,H(n.title),1)])])):B("",!0),n.model.isCustomModel?(E(),S("div",Lv,[u("div",Iv,[u("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]=ae(()=>{},["stop"]))},Bv),be(" Custom model ")]),u("div",null,[n.model.isInstalled?(E(),S("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ae((...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 "),$v])):B("",!0)])])):B("",!0),o.installing?(E(),S("div",jv,[u("div",zv,[Uv,u("div",qv,[u("div",Hv,[u("div",Vv,[Gv,u("span",Kv,H(Math.floor(o.progress))+"%",1)]),u("div",Wv,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct({width:o.progress+"%"})},null,4)]),u("div",Zv,[u("span",Yv,"Download speed: "+H(r.speed_computed)+"/s",1),u("span",Qv,H(r.downloaded_size_computed)+"/"+H(r.total_size_computed),1)])])]),u("div",Jv,[u("div",Xv,[u("div",ew,[u("button",{onClick:e[3]||(e[3]=ae((...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 ")])])])])])):B("",!0),n.model.isCustomModel?B("",!0):(E(),S("div",tw,[u("div",nw,[u("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Te(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,sw),u("h3",ow,H(n.title),1),rw,iw]),u("div",aw,[u("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ae(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 "),lw]),u("div",cw,[o.linkNotValid?(E(),S("div",uw,[dw,be(" Link is not valid ")])):B("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(E(),S("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ae((...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 "),hw])):B("",!0),n.model.isInstalled?(E(),S("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ae((...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 "),fw])):B("",!0)]),u("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[u("div",gw,[u("div",mw,[_w,bw,u("a",{href:n.path,onClick:e[8]||(e[8]=ae(()=>{},["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,yw),vw,u("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]=ae(i=>r.toggleCopyLink(),["stop"]))},xw)]),u("div",kw,[u("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Ew,Cw,be(" "+H(r.fileSize),1)],2)]),u("div",Aw,[Sw,Tw,be(" "+H(n.license),1)]),u("div",Mw,[Ow,Rw,u("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},H(n.owner),9,Nw)])]),Dw,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},H(n.description.replace(/<\/?[^>]+>/ig," ")),9,Lw)],8,pw)]))],10,Mv)}const Pw=qe(Tv,[["render",Iw]]),Fw={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}}},Bw={class:"p-4"},$w={class:"flex items-center mb-4"},jw=["src"],zw={class:"text-lg font-semibold"},Uw=u("strong",null,"Author:",-1),qw=u("strong",null,"Description:",-1),Hw=u("strong",null,"Language:",-1),Vw=u("strong",null,"Category:",-1),Gw={key:0},Kw=u("strong",null,"Disclaimer:",-1),Ww=u("strong",null,"Conditioning Text:",-1),Zw=u("strong",null,"AI Prefix:",-1),Yw=u("strong",null,"User Prefix:",-1),Qw=u("strong",null,"Antiprompts:",-1);function Jw(t,e,n,s,o,r){return E(),S("div",Bw,[u("div",$w,[u("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,jw),u("h2",zw,H(o.personalityName),1)]),u("p",null,[Uw,be(" "+H(o.personalityAuthor),1)]),u("p",null,[qw,be(" "+H(o.personalityDescription),1)]),u("p",null,[Hw,be(" "+H(o.personalityLanguage),1)]),u("p",null,[Vw,be(" "+H(o.personalityCategory),1)]),o.disclaimer?(E(),S("p",Gw,[Kw,be(" "+H(o.disclaimer),1)])):B("",!0),u("p",null,[Ww,be(" "+H(o.conditioningText),1)]),u("p",null,[Zw,be(" "+H(o.aiPrefix),1)]),u("p",null,[Yw,be(" "+H(o.userPrefix),1)]),u("div",null,[Qw,u("ul",null,[(E(!0),S(Me,null,We(o.antipromptsList,i=>(E(),S("li",{key:i.id},H(i.text),1))),128))])]),u("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?(E(),S("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 ")):B("",!0)])}const Xw=qe(Fw,[["render",Jw]]),Jn="/assets/logo-9d653710.svg",ex="/",tx={props:{personality:{},selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMounted:Function,onReinstall:Function,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,_e(()=>{ve.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return ex+this.personality.avatar},defaultImg(t){t.target.src=Jn},toggleTalk(){this.onTalk(this)},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ve.replace()})}}},nx=["title"],sx={class:"flex flex-row items-center flex-shrink-0 gap-3"},ox=["src"],rx={class:"font-bold font-large text-lg line-clamp-3"},ix=u("i",{"data-feather":"send",class:"w-5"},null,-1),ax=u("span",{class:"sr-only"},"Talk",-1),lx=[ix,ax],cx={class:"flex items-center flex-row-reverse gap-2 my-1"},ux=u("span",{class:"sr-only"},"Settings",-1),dx=u("span",{class:"sr-only"},"Reinstall personality",-1),hx=u("span",{class:"sr-only"},"Click to install",-1),fx=u("span",{class:"sr-only"},"Remove",-1),px={class:""},gx={class:""},mx={class:"flex items-center"},_x=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),bx=u("b",null,"Author: ",-1),yx={class:"flex items-center"},vx=u("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),wx=u("b",null,"Language: ",-1),xx={class:"flex items-center"},kx=u("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Ex=u("b",null,"Category: ",-1),Cx=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Ax=["title"];function Sx(t,e,n,s,o,r){return E(),S("div",{class:Te(["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[7]||(e[7]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[u("div",{class:Te(n.personality.installed?"":"opacity-50")},[u("div",sx,[u("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,ox),u("h3",rx,H(n.personality.name),1),u("button",{type:"button",title:"Talk",onClick:[e[1]||(e[1]=(...i)=>r.toggleTalk&&r.toggleTalk(...i)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},lx)]),u("div",cx,[r.selected_computed?(E(),S("button",{key:0,type:"button",title:"Settings",onClick:e[3]||(e[3]=ae((...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 "),ux])):B("",!0),r.selected_computed?(E(),S("button",{key:1,title:"Click to Reinstall personality",type:"button",onClick:e[4]||(e[4]=ae((...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 personality "),dx])):B("",!0),o.isMounted?B("",!0):(E(),S("button",{key:2,title:"Mount personality",type:"button",onClick:e[5]||(e[5]=ae((...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 "),hx])),o.isMounted?(E(),S("button",{key:3,title:"Unmount personality",type:"button",onClick:e[6]||(e[6]=ae((...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 "),fx])):B("",!0)]),u("div",px,[u("div",gx,[u("div",mx,[_x,bx,be(" "+H(n.personality.author),1)]),u("div",yx,[vx,wx,be(" "+H(n.personality.language),1)]),u("div",xx,[kx,Ex,be(" "+H(n.personality.category),1)])]),Cx,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},H(n.personality.description),9,Ax)])],2)],10,nx)}const $p=qe(tx,[["render",Sx]]),Tx="/",Mx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){_e(()=>{ve.replace()})},methods:{getImgUrl(){return Tx+this.binding.icon},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){_e(()=>{ve.replace()})}}},Ox=["title"],Rx={class:"flex flex-row items-center gap-3"},Nx=["src"],Dx={class:"font-bold font-large text-lg truncate"},Lx=u("div",{class:"grow"},null,-1),Ix={class:"flex-none gap-1"},Px=u("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),Fx=u("span",{class:"sr-only"},"Help",-1),Bx=[Px,Fx],$x={class:"flex items-center flex-row-reverse gap-2 my-1"},jx=u("span",{class:"sr-only"},"Click to install",-1),zx=u("span",{class:"sr-only"},"Reinstall binding",-1),Ux=u("span",{class:"sr-only"},"Settings",-1),qx={class:""},Hx={class:""},Vx={class:"flex items-center"},Gx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Kx=u("b",null,"Author: ",-1),Wx={class:"flex items-center"},Zx=u("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Yx=u("b",null,"Folder: ",-1),Qx={class:"flex items-center"},Jx=u("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Xx=u("b",null,"Version: ",-1),ek={class:"flex items-center"},tk=u("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),nk=u("b",null,"Link: ",-1),sk=["href"],ok=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),rk=["title"];function ik(t,e,n,s,o,r){return E(),S("div",{class:Te(["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[6]||(e[6]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[u("div",null,[u("div",Rx,[u("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,Nx),u("h3",Dx,H(n.binding.name),1),Lx,u("div",Ix,[n.selected?(E(),S("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...i)=>r.toggleReloadBinding&&r.toggleReloadBinding(...i)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Bx)):B("",!0)])]),u("div",$x,[n.binding.installed?B("",!0):(E(),S("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=ae((...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 "),jx])),n.binding.installed?(E(),S("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=ae((...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 "),zx])):B("",!0),n.selected?(E(),S("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[5]||(e[5]=ae((...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 "),Ux])):B("",!0)]),u("div",qx,[u("div",Hx,[u("div",Vx,[Gx,Kx,be(" "+H(n.binding.author),1)]),u("div",Wx,[Zx,Yx,be(" "+H(n.binding.folder),1)]),u("div",Qx,[Jx,Xx,be(" "+H(n.binding.version),1)]),u("div",ek,[tk,nk,u("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},H(n.binding.link),9,sk)])]),ok,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},H(n.binding.description),9,rk)])])],10,Ox)}const ak=qe(Mx,[["render",ik]]),Yt=Object.create(null);Yt.open="0";Yt.close="1";Yt.ping="2";Yt.pong="3";Yt.message="4";Yt.upgrade="5";Yt.noop="6";const hr=Object.create(null);Object.keys(Yt).forEach(t=>{hr[Yt[t]]=t});const lk={type:"error",data:"parser error"},ck=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",uk=typeof ArrayBuffer=="function",dk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,jp=({type:t,data:e},n,s)=>ck&&e instanceof Blob?n?s(e):Uu(e,s):uk&&(e instanceof ArrayBuffer||dk(e))?n?s(e):Uu(new Blob([e]),s):s(Yt[t]+(e||"")),Uu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},qu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",so=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),d=new Uint8Array(c);for(s=0;s>4,d[o++]=(i&15)<<4|a>>2,d[o++]=(a&3)<<6|l&63;return c},fk=typeof ArrayBuffer=="function",zp=(t,e)=>{if(typeof t!="string")return{type:"message",data:Up(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:pk(t.substring(1),e)}:hr[n]?t.length>1?{type:hr[n],data:t.substring(1)}:{type:hr[n]}:lk},pk=(t,e)=>{if(fk){const n=hk(t);return Up(n,e)}else return{base64:!0,data:t}},Up=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},qp=String.fromCharCode(30),gk=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{jp(r,!1,a=>{s[i]=a,++o===n&&e(s.join(qp))})})},mk=(t,e)=>{const n=t.split(qp),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Vp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const bk=kt.setTimeout,yk=kt.clearTimeout;function ci(t,e){e.useNativeTimers?(t.setTimeoutFn=bk.bind(kt),t.clearTimeoutFn=yk.bind(kt)):(t.setTimeoutFn=kt.setTimeout.bind(kt),t.clearTimeoutFn=kt.clearTimeout.bind(kt))}const vk=1.33;function wk(t){return typeof t=="string"?xk(t):Math.ceil((t.byteLength||t.size)*vk)}function xk(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class kk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Gp extends et{constructor(e){super(),this.writable=!1,ci(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new kk(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=zp(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 Kp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),al=64,Ek={};let Hu=0,Go=0,Vu;function Gu(t){let e="";do e=Kp[t%al]+e,t=Math.floor(t/al);while(t>0);return e}function Wp(){const t=Gu(+new Date);return t!==Vu?(Hu=0,Vu=t):t+"."+Gu(Hu++)}for(;Go{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)};mk(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,gk(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]=Wp()),!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=Zp(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 Kt(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 Kt extends et{constructor(e,n){super(),ci(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=Vp(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 Qp(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=Kt.requestsCount++,Kt.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=Sk,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Kt.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()}}Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Ku);else if(typeof addEventListener=="function"){const t="onpagehide"in kt?"pagehide":"unload";addEventListener(t,Ku,!1)}}function Ku(){for(let t in Kt.requests)Kt.requests.hasOwnProperty(t)&&Kt.requests[t].abort()}const Jp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Ko=kt.WebSocket||kt.MozWebSocket,Wu=!0,Ok="arraybuffer",Zu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Rk extends Gp{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=Zu?{}:Vp(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=Wu&&!Zu?n?new Ko(e,n):new Ko(e):new Ko(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||Ok,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{Wu&&this.ws.send(r)}catch{}o&&Jp(()=>{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]=Wp()),this.supportsBinary||(e.b64=1);const o=Zp(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!!Ko}}const Nk={websocket:Rk,polling:Mk},Dk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Lk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ll(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=Dk.exec(t||""),r={},i=14;for(;i--;)r[Lk[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=Ik(r,r.path),r.queryKey=Pk(r,r.query),r}function Ik(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 Pk(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Xp=class ps extends et{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=ll(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=ll(n.host).host),ci(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=Ck(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=Hp,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 Nk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&ps.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;ps.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;ps.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(d(),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,d(),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 d=()=>{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",ps.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){ps.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,eg=Object.prototype.toString,jk=typeof Blob=="function"||typeof Blob<"u"&&eg.call(Blob)==="[object BlobConstructor]",zk=typeof File=="function"||typeof File<"u"&&eg.call(File)==="[object FileConstructor]";function sc(t){return Bk&&(t instanceof ArrayBuffer||$k(t))||jk&&t instanceof Blob||zk&&t instanceof File}function fr(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}Vs.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};Vs.prototype.reset=function(){this.attempts=0};Vs.prototype.setMin=function(t){this.ms=t};Vs.prototype.setMax=function(t){this.max=t};Vs.prototype.setJitter=function(t){this.jitter=t};class dl extends et{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,ci(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 Vs({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||Kk;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 Xp(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){Jp(()=>{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 tg(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 Xs={};function pr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=Fk(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Xs[o]&&r in Xs[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new dl(s,e):(Xs[o]||(Xs[o]=new dl(s,e)),l=Xs[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(pr,{Manager:dl,Socket:tg,io:pr,connect:pr});const Zk=void 0,je=new pr(Zk);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()};const Yk={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})}}},Qk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Jk={class:"relative w-full max-w-md max-h-full"},Xk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},eE=u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("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),tE=u("span",{class:"sr-only"},"Close modal",-1),nE=[eE,tE],sE={class:"p-4 text-center"},oE=u("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"},[u("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),rE={class:"p-4 text-center mx-auto mb-4"},iE=u("label",{class:"mr-2"},"Model path",-1);function aE(t,e,n,s,o,r){return o.show?(E(),S("div",Qk,[u("div",Jk,[u("div",Xk,[u("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"},nE),u("div",sE,[oE,u("div",rE,[iE,we(u("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),[[Ve,o.model_path]])]),u("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 "),u("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")])])])])):B("",!0)}const lE=qe(Yk,[["render",aE]]),cE={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){_e(()=>{ve.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(){_e(()=>{ve.replace()})}}},uE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},dE={class:"relative w-full max-w-md"},hE={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},fE={class:"flex flex-row flex-grow items-center m-2 p-1"},pE={class:"grow flex items-center"},gE=u("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),mE={class:"text-lg font-semibold select-none mr-2"},_E={class:"items-end"},bE=u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("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),yE=u("span",{class:"sr-only"},"Close form modal",-1),vE=[bE,yE],wE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},xE={class:"px-2"},kE={key:0},EE={key:0},CE={class:"text-base font-semibold"},AE={key:0,class:"relative inline-flex"},SE=["onUpdate:modelValue"],TE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),ME={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},OE=["onUpdate:modelValue"],RE={key:1},NE={class:"text-base font-semibold"},DE={key:0,class:"relative inline-flex"},LE=["onUpdate:modelValue"],IE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),PE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},FE=["onUpdate:modelValue"],BE=["value","selected"],$E={key:1},jE={class:"text-base font-semibold"},zE={key:0,class:"relative inline-flex"},UE=["onUpdate:modelValue"],qE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),HE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},VE=["onUpdate:modelValue"],GE=["onUpdate:modelValue","min","max"],KE={key:2},WE={class:"mb-2 relative flex items-center gap-2"},ZE={for:"default-checkbox",class:"text-base font-semibold"},YE=["onUpdate:modelValue"],QE={key:0,class:"relative inline-flex"},JE=["onUpdate:modelValue"],XE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),e5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},t5={key:3},n5={class:"text-base font-semibold"},s5={key:0,class:"relative inline-flex"},o5=["onUpdate:modelValue"],r5=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),i5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},a5=["onUpdate:modelValue"],l5=u("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),c5={class:"flex flex-row flex-grow gap-3"},u5={class:"p-2 text-center grow"};function d5(t,e,n,s,o,r){return o.show?(E(),S("div",uE,[u("div",dE,[u("div",hE,[u("div",fE,[u("div",pE,[gE,u("h3",mE,H(o.title),1)]),u("div",_E,[u("button",{type:"button",onClick:e[0]||(e[0]=ae(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"},vE)])]),u("div",wE,[(E(!0),S(Me,null,We(o.controls_array,(i,a)=>(E(),S("div",xE,[i.type=="str"?(E(),S("div",kE,[i.options?B("",!0):(E(),S("div",EE,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",CE,H(i.name)+": ",1),i.help?(E(),S("label",AE,[we(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,SE),[[xt,i.isHelp]]),TE])):B("",!0)],2),i.isHelp?(E(),S("p",ME,H(i.help),1)):B("",!0),we(u("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,OE),[[Ve,i.value]])])),i.options?(E(),S("div",RE,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",NE,H(i.name)+": ",1),i.help?(E(),S("label",DE,[we(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,LE),[[xt,i.isHelp]]),IE])):B("",!0)],2),i.isHelp?(E(),S("p",PE,H(i.help),1)):B("",!0),we(u("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"},[(E(!0),S(Me,null,We(i.options,l=>(E(),S("option",{value:l,selected:i.value===l},H(l),9,BE))),256))],8,FE),[[Ya,i.value]])])):B("",!0)])):B("",!0),i.type=="int"||i.type=="float"?(E(),S("div",$E,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",jE,H(i.name)+": ",1),i.help?(E(),S("label",zE,[we(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,UE),[[xt,i.isHelp]]),qE])):B("",!0)],2),i.isHelp?(E(),S("p",HE,H(i.help),1)):B("",!0),we(u("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,VE),[[Ve,i.value]]),i.min!=null&&i.max!=null?we((E(),S("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,GE)),[[Ve,i.value]]):B("",!0)])):B("",!0),i.type=="bool"?(E(),S("div",KE,[u("div",WE,[u("label",ZE,H(i.name)+": ",1),we(u("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,YE),[[xt,i.value]]),i.help?(E(),S("label",QE,[we(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,JE),[[xt,i.isHelp]]),XE])):B("",!0)]),i.isHelp?(E(),S("p",e5,H(i.help),1)):B("",!0)])):B("",!0),i.type=="list"?(E(),S("div",t5,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",n5,H(i.name)+": ",1),i.help?(E(),S("label",s5,[we(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,o5),[[xt,i.isHelp]]),r5])):B("",!0)],2),i.isHelp?(E(),S("p",i5,H(i.help),1)):B("",!0),we(u("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,a5),[[Ve,i.value]])])):B("",!0),l5]))),256)),u("div",c5,[u("div",u5,[u("button",{onClick:e[1]||(e[1]=ae(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"},H(o.ConfirmButtonText),1),u("button",{onClick:e[2]||(e[2]=ae(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-11 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"},H(o.DenyButtonText),1)])])])])])])):B("",!0)}const rc=qe(cE,[["render",d5]]);const h5={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},f5={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},p5={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},g5={class:"text-xl font-semibold mb-4"},m5={class:"h-48 overflow-y-auto"},_5=["onClick"],b5={class:"font-bold"},y5=u("br",null,null,-1),v5={class:"text-xs text-gray-500"},w5={class:"flex justify-end mt-4"},x5=["disabled"];function k5(t,e,n,s,o,r){return E(),nt(Ss,{name:"fade"},{default:Be(()=>[n.show?(E(),S("div",f5,[u("div",p5,[u("h2",g5,H(n.title),1),u("div",m5,[u("ul",null,[(E(!0),S(Me,null,We(n.choices,(i,a)=>(E(),S("li",{key:a,onClick:l=>r.selectChoice(i),class:Te([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[u("span",b5,H(i.name),1),y5,u("span",v5,H(this.formatSize(i.size)),1)],10,_5))),128))])]),u("div",w5,[u("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),u("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:Te([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,x5)])])])):B("",!0)]),_:1})}const E5=qe(h5,[["render",k5]]);const C5="/";ke.defaults.baseURL="/";const A5={components:{AddModelDialog:lE,MessageBox:Bp,YesNoDialog:ov,ModelEntry:Pw,PersonalityViewer:Xw,Toast:li,PersonalityEntry:$p,BindingEntry:ak,UniversalForm:rc,ChoiceDialog:E5},data(){return{audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_language:null,personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,minconf_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,persLangArr:[],persCatgArr:[],persArr:[],langArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:C5,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){je.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;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:this.selected_variant.name,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.$store.dispatch("refreshDiskUsage")}}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.$store.dispatch("refreshDiskUsage")};je.on("install_progress",n),je.emit("install_model",{path:e}),console.log("Started installation, please wait")},uploadAvatar(t){const e=t.target.files[0],n=new FormData;n.append("avatar",e),console.log("Uploading avatar"),Ee.post("/upload_avatar",n).then(s=>{console.log("Avatar uploaded successfully"),this.$refs.toast.showToast("Avatar uploaded successfully!",4,!0);const o=s.data.fileName;console.log("response",s),this.user_avatar=o,this.update_setting("user_avatar",o,()=>{}).then(()=>{})}).catch(s=>{console.error("Error uploading avatar:",s)})},async update_software(){console.log("Posting");const t=await this.api_get_req("update_software");console.log("Posting done"),t.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Failure!",4,!1)},on_loading_text(t){console.log("Loading text",t),this.loading_text=t},async constructor(){for(this.isLoading=!0,_e(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.configFile.model_name&&(this.isModelSelected=!0),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories?language="+this.configFile.personality_language),this.persArr=await this.api_get_req("list_personalities?language="+this.configFile.personality_language+"&category"+this.configFile.personality_category),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),this.personality_language=this.configFile.personality_language,this.personality_category=this.configFile.personality_category,this.personalitiesFiltered=this.personalities.filter(t=>t.category===this.configFile.personality_category&&t.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.modelsFiltered=this.models,this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.isLoading=!1,this.isMounted=!0},async open_mzl(){this.mzl_collapsed=!this.mzl_collapsed,console.log("Fetching models")},async getVramUsage(){await this.api_get_req("vram_usage")},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: +failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage")};je.on("install_progress",n),je.emit("install_model",{path:e}),console.log("Started installation, please wait")},uploadAvatar(t){const e=t.target.files[0],n=new FormData;n.append("avatar",e),console.log("Uploading avatar"),ke.post("/upload_avatar",n).then(s=>{console.log("Avatar uploaded successfully"),this.$refs.toast.showToast("Avatar uploaded successfully!",4,!0);const o=s.data.fileName;console.log("response",s),this.user_avatar=o,this.update_setting("user_avatar",o,()=>{}).then(()=>{})}).catch(s=>{console.error("Error uploading avatar:",s)})},async update_software(){console.log("Posting");const t=await this.api_get_req("update_software");console.log("Posting done"),t.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Failure!",4,!1)},on_loading_text(t){console.log("Loading text",t),this.loading_text=t},async constructor(){for(this.isLoading=!0,_e(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.configFile.model_name&&(this.isModelSelected=!0),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories?language="+this.configFile.personality_language),this.persArr=await this.api_get_req("list_personalities?language="+this.configFile.personality_language+"&category"+this.configFile.personality_category),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),this.personality_language=this.configFile.personality_language,this.personality_category=this.configFile.personality_category,this.personalitiesFiltered=this.personalities.filter(t=>t.category===this.configFile.personality_category&&t.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.modelsFiltered=this.models,this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.isLoading=!1,this.isMounted=!0},async open_mzl(){this.mzl_collapsed=!this.mzl_collapsed,console.log("Fetching models")},async getVramUsage(){await this.api_get_req("vram_usage")},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.$store.dispatch("refreshDiskUsage")}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+` @@ -62,47 +62,47 @@ failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};je.on("prog was uninstalled!`,4,!0),this.$store.dispatch("refreshDiskUsage")}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.$store.dispatch("refreshDiskUsage")};je.on("install_progress",n),je.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){if(console.log("Binding selected"),!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,Ee.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,Ee.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{Ee.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. +`+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,ke.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,ke.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{ke.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)}},onReloadBinding(t){this.isLoading=!0,Ee.post("/reload_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reload_binding",e),e.data.status?this.$refs.toast.showToast("Binding reloaded 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}))},onSettingsPersonality(t){try{this.isLoading=!0,Ee.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{Ee.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. + 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)}},onReloadBinding(t){this.isLoading=!0,ke.post("/reload_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reload_binding",e),e.data.status?this.$refs.toast.showToast("Binding reloaded 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}))},onSettingsPersonality(t){try{this.isLoading=!0,ke.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{ke.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")},update_personality_language(t,e){this.personality_language=t,e()},update_personality_category(t,e){this.personality_category=t,e()},refresh(){console.log("Refreshing"),this.$store.dispatch("refreshConfig").then(()=>{console.log(this.personality_language),console.log(this.personality_category),this.api_get_req("list_personalities_categories?language="+this.personality_language).then(t=>{console.log("cats",t),this.persCatgArr=t,this.personalitiesFiltered=this.personalities.filter(e=>e.category===this.personality_category&&e.language===this.personality_language),this.personalitiesFiltered.sort()})})},toggleAccordion(){this.showAccordion=!this.showAccordion},async update_setting(t,e,n){console.log("Updating setting",t,":",e),this.isLoading=!0;const s={setting_name:t,setting_value:e};let o=await Ee.post("/update_setting",s);if(o)return this.isLoading=!1,console.log("update_setting",o),o.status?this.$refs.toast.showToast(`Setting updated successfully. + 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")},update_personality_language(t,e){this.personality_language=t,e()},update_personality_category(t,e){this.personality_category=t,e()},refresh(){console.log("Refreshing"),this.$store.dispatch("refreshConfig").then(()=>{console.log(this.personality_language),console.log(this.personality_category),this.api_get_req("list_personalities_categories?language="+this.personality_language).then(t=>{console.log("cats",t),this.persCatgArr=t,this.personalitiesFiltered=this.personalities.filter(e=>e.category===this.personality_category&&e.language===this.personality_language),this.personalitiesFiltered.sort()})})},toggleAccordion(){this.showAccordion=!this.showAccordion},async update_setting(t,e,n){console.log("Updating setting",t,":",e),this.isLoading=!0;const s={setting_name:t,setting_value:e};let o=await ke.post("/update_setting",s);if(o)return this.isLoading=!1,console.log("update_setting",o),o.status?this.$refs.toast.showToast(`Setting updated successfully. Don't forget to save to keep the setting permanently.`,4,!0):this.$refs.toast.showToast(`Setting update failed. -Please view the console for more details.`,4,!1),n!==void 0&&n(o),o.data;this.isLoading=!1},update_binding(t){this.isLoading=!0,console.log("updating binding_name"),this.update_setting("binding_name",t,e=>{console.log("updated binding_name");const n=this.bindingsArr.findIndex(o=>o.folder==t),s=this.bindingsArr[n];s&&(s.installed=!0),this.settingsChanged=!0,this.isLoading=!1,console.log("updating model"),this.update_model(null).then(()=>{console.log("updated model"),this.configFile.model_name=null,this.$store.dispatch("refreshConfig"),this.$store.dispatch("refreshModelsZoo"),this.$refs.toast.showToast("Binding changed.",4,!0),this.$forceUpdate()}),_e(()=>{ve.replace()})})},async update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0;let e=await this.update_setting("model_name",t);return this.isLoading=!1,e},applyConfiguration(){this.isLoading=!0,Ee.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),_e(()=>{ve.replace()})})},save_configuration(){this.showConfirmation=!1,Ee.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&&Ee.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 Ee.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=this.$store.state.config,n=Object.keys(t);for(let s=0;s{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let g={};return g=h,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+h.folder,g.isMounted=f,g});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&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&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},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.modelsFiltered.sort(),this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase(),e=this.models.filter(n=>{if(n.title&&n.title.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.path&&n.path.toLowerCase().includes(t))return n});e.length>0?this.modelsFiltered=e.sort():(this.modelsFiltered=this.models,this.modelsFiltered.sort()),this.searchModelInProgress=!1},computedFileSize(t){return Ht(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 Ee.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 Ee.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 Ee.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),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: +Please view the console for more details.`,4,!1),n!==void 0&&n(o),o.data;this.isLoading=!1},update_binding(t){this.isLoading=!0,console.log("updating binding_name"),this.update_setting("binding_name",t,e=>{console.log("updated binding_name");const n=this.bindingsArr.findIndex(o=>o.folder==t),s=this.bindingsArr[n];s&&(s.installed=!0),this.settingsChanged=!0,this.isLoading=!1,console.log("updating model"),this.update_model(null).then(()=>{console.log("updated model"),this.configFile.model_name=null,this.$store.dispatch("refreshConfig"),this.$store.dispatch("refreshModelsZoo"),this.$refs.toast.showToast("Binding changed.",4,!0),this.$forceUpdate()}),_e(()=>{ve.replace()})})},async update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0;let e=await this.update_setting("model_name",t);return this.isLoading=!1,e},applyConfiguration(){this.isLoading=!0,ke.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),_e(()=>{ve.replace()})})},save_configuration(){this.showConfirmation=!1,ke.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&&ke.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 ke.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=this.$store.state.config,n=Object.keys(t);for(let s=0;s{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let g={};return g=h,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+h.folder,g.isMounted=f,g});this.personalities.length==0?this.personalities=d:this.personalities=this.personalities.concat(d)}}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&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&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},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.modelsFiltered.sort(),this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase(),e=this.models.filter(n=>{if(n.title&&n.title.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.path&&n.path.toLowerCase().includes(t))return n});e.length>0?this.modelsFiltered=e.sort():(this.modelsFiltered=this.models,this.modelsFiltered.sort()),this.searchModelInProgress=!1},computedFileSize(t){return Ht(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 ke.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 ke.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 ke.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),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.$store.dispatch("refreshMountedPersonalities")):(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.$store.dispatch("refreshMountedPersonalities");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},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,Ee.post("/reinstall_personality",{name:t.personality.path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality -`+e.message,4,!1),{status:!1}))},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=Jn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor(),console.log("Getting voices"),this.getVoices()},activated(){this.isMounted&&this.constructor()},computed:{audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(t){this.$store.state.config.user_avatar=t}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(t){this.$store.state.config.enable_gpu=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},db_path:{get(){return this.$store.state.config.db_path},set(t){this.$store.state.config.db_path=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.$store.state.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),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)},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 Ar}},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 Ar}},model_name(){if(this.isMounted)return this.configFile.model_name},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 Ht(this.addModel.speed)},total_size_computed(){return Ht(this.addModel.total_size)},downloaded_size_computed(){return Ht(this.addModel.downloaded_size)}},watch:{bec_collapsed(){_e(()=>{ve.replace()})},pc_collapsed(){_e(()=>{ve.replace()})},mc_collapsed(){_e(()=>{ve.replace()})},sc_collapsed(){_e(()=>{ve.replace()})},showConfirmation(){_e(()=>{ve.replace()})},mzl_collapsed(){_e(()=>{ve.replace()})},pzl_collapsed(){_e(()=>{ve.replace()})},bzl_collapsed(){_e(()=>{ve.replace()})},all_collapsed(t){this.collapseAll(t),_e(()=>{ve.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,_e(()=>{ve.replace()})},isLoading(){_e(()=>{ve.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){_e(()=>{ve.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes? +Error: `+e.error,4,!1);this.isLoading=!1},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ke.post("/reinstall_personality",{name:t.personality.path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality +`+e.message,4,!1),{status:!1}))},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=Jn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor(),console.log("Getting voices"),this.getVoices()},activated(){this.isMounted&&this.constructor()},computed:{audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(t){this.$store.state.config.user_avatar=t}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(t){this.$store.state.config.enable_gpu=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(t){this.$store.state.config.audio_pitch=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},db_path:{get(){return this.$store.state.config.db_path},set(t){this.$store.state.config.db_path=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.$store.state.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),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)},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 Ar}},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 Ar}},model_name(){if(this.isMounted)return this.configFile.model_name},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 Ht(this.addModel.speed)},total_size_computed(){return Ht(this.addModel.total_size)},downloaded_size_computed(){return Ht(this.addModel.downloaded_size)}},watch:{bec_collapsed(){_e(()=>{ve.replace()})},pc_collapsed(){_e(()=>{ve.replace()})},mc_collapsed(){_e(()=>{ve.replace()})},sc_collapsed(){_e(()=>{ve.replace()})},showConfirmation(){_e(()=>{ve.replace()})},mzl_collapsed(){_e(()=>{ve.replace()})},pzl_collapsed(){_e(()=>{ve.replace()})},bzl_collapsed(){_e(()=>{ve.replace()})},all_collapsed(t){this.collapseAll(t),_e(()=>{ve.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,_e(()=>{ve.replace()})},isLoading(){_e(()=>{ve.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){_e(()=>{ve.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}},ce=t=>(ns("data-v-03304980"),t=t(),ss(),t),S5={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},T5={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"},M5={key:0,class:"flex gap-3 flex-1 items-center duration-75"},O5=ce(()=>d("i",{"data-feather":"x"},null,-1)),R5=[O5],N5=ce(()=>d("i",{"data-feather":"check"},null,-1)),D5=[N5],L5={key:1,class:"flex gap-3 flex-1 items-center"},I5=ce(()=>d("i",{"data-feather":"save"},null,-1)),P5=[I5],F5=ce(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),B5=[F5],$5=ce(()=>d("i",{"data-feather":"list"},null,-1)),j5=[$5],z5={class:"flex gap-3 flex-1 items-center justify-end"},U5={class:"flex gap-3 items-center"},q5={key:0,class:"flex gap-3 items-center"},H5=ce(()=>d("i",{"data-feather":"check"},null,-1)),V5=[H5],G5={key:1,role:"status"},K5=ce(()=>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)),W5=ce(()=>d("span",{class:"sr-only"},"Loading...",-1)),Z5={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"},Y5={class:"flex flex-row p-3"},Q5=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),J5=[Q5],X5=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),e4=[X5],t4=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),n4=ce(()=>d("div",{class:"mr-2"},"|",-1)),s4={class:"text-base font-semibold cursor-pointer select-none items-center"},o4={class:"flex gap-2 items-center"},r4={key:0},i4={class:"flex gap-2 items-center"},a4=["title"],l4=os('',34),c4=[l4],u4={class:"font-bold font-large text-lg"},d4={key:1},h4={class:"flex gap-2 items-center"},f4=os('',1),p4={class:"font-bold font-large text-lg"},g4=ce(()=>d("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),m4={class:"font-bold font-large text-lg"},_4=ce(()=>d("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),b4={class:"font-bold font-large text-lg"},y4={class:"mb-2"},v4=ce(()=>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(" CPU Ram usage: ")],-1)),w4={class:"flex flex-col mx-2"},x4=ce(()=>d("b",null,"Avaliable ram: ",-1)),k4=ce(()=>d("b",null,"Ram usage: ",-1)),E4={class:"p-2"},C4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},A4={class:"mb-2"},S4=ce(()=>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)),T4={class:"flex flex-col mx-2"},M4=ce(()=>d("b",null,"Avaliable disk space: ",-1)),O4=ce(()=>d("b",null,"Disk usage: ",-1)),R4={class:"p-2"},N4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},D4={class:"mb-2"},L4=os('',1),I4={class:"flex flex-col mx-2"},P4=ce(()=>d("b",null,"Model: ",-1)),F4=ce(()=>d("b",null,"Avaliable vram: ",-1)),B4=ce(()=>d("b",null,"GPU usage: ",-1)),$4={class:"p-2"},j4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},z4={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"},U4={class:"flex flex-row p-3"},q4=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),H4=[q4],V4=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),G4=[V4],K4=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),W4={class:"flex flex-col mb-2 px-3 pb-2"},Z4={class:"pb-2"},Y4={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"},Q4=ce(()=>d("th",null,"Generic",-1)),J4=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),X4={style:{width:"100%"}},e3=ce(()=>d("i",{"data-feather":"check"},null,-1)),t3=[e3],n3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),s3=ce(()=>d("i",{"data-feather":"check"},null,-1)),o3=[s3],r3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),i3=ce(()=>d("i",{"data-feather":"check"},null,-1)),a3=[i3],l3={class:"pb-2"},c3={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"},u3=ce(()=>d("th",null,"User",-1)),d3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),h3={style:{width:"100%"}},f3=ce(()=>d("i",{"data-feather":"check"},null,-1)),p3=[f3],g3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),m3={style:{width:"100%"}},_3={for:"avatar-upload"},b3=["src"],y3=ce(()=>d("i",{"data-feather":"check"},null,-1)),v3=[y3],w3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),x3=ce(()=>d("i",{"data-feather":"check"},null,-1)),k3=[x3],E3={class:"pb-2"},C3={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"},A3=ce(()=>d("th",null,"Audio",-1)),S3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),T3=ce(()=>d("i",{"data-feather":"check"},null,-1)),M3=[T3],O3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),R3=["value"],N3=ce(()=>d("i",{"data-feather":"check"},null,-1)),D3=[N3],L3=ce(()=>d("td",{style:{"min-width":"200px"}},[d("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),I3=["value"],P3=ce(()=>d("i",{"data-feather":"check"},null,-1)),F3=[P3],B3={class:"w-full"},$3={class:"w-full"},j3={class:"w-full"},z3={key:0},U3=ce(()=>d("i",{"data-feather":"alert-circle"},null,-1)),q3=[U3],H3={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"},V3={class:"flex flex-row p-3"},G3=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),K3=[G3],W3=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),Z3=[W3],Y3=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),Q3={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},J3=ce(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),X3={key:1,class:"mr-2"},eC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},tC={class:"flex gap-1 items-center"},nC=["src"],sC={class:"font-bold font-large text-lg line-clamp-1"},oC={key:0,class:"mb-2"},rC={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},iC=ce(()=>d("i",{"data-feather":"chevron-up"},null,-1)),aC=[iC],lC=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),cC=[lC],uC={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"},dC={class:"flex flex-row p-3"},hC=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),fC=[hC],pC=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),gC=[pC],mC=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),_C={class:"flex flex-row items-center"},bC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},yC=ce(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),vC={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},wC=ce(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),xC={key:2,class:"mr-2"},kC={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},EC={class:"flex gap-1 items-center"},CC=["src"],AC={class:"font-bold font-large text-lg line-clamp-1"},SC={class:"mx-2 mb-4"},TC={class:"relative"},MC={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},OC={key:0},RC=ce(()=>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)),NC=[RC],DC={key:1},LC=ce(()=>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)),IC=[LC],PC={key:0},FC={key:0,class:"mb-2"},BC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},$C={key:1},jC={key:0,class:"mb-2"},zC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},UC=ce(()=>d("i",{"data-feather":"chevron-up"},null,-1)),qC=[UC],HC=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),VC=[HC],GC={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"},KC={class:"flex flex-row p-3"},WC=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),ZC=[WC],YC=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),QC=[YC],JC=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),XC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},e8=ce(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),t8={key:1,class:"mr-2"},n8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},s8={class:"flex gap-1 items-center"},o8=["src"],r8={class:"font-bold font-large text-lg line-clamp-1"},i8={class:"mb-2"},a8={class:"p-2"},l8={key:0},c8={class:"mb-3"},u8=ce(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),d8={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},h8=ce(()=>d("div",{role:"status",class:"justify-center"},null,-1)),f8={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},p8={class:"w-full p-2"},g8={class:"flex justify-between mb-1"},m8=os(' Downloading Loading...',1),_8={class:"text-sm font-medium text-blue-700 dark:text-white"},b8=["title"],y8={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},v8={class:"flex justify-between mb-1"},w8={class:"text-base font-medium text-blue-700 dark:text-white"},x8={class:"text-sm font-medium text-blue-700 dark:text-white"},k8={class:"flex flex-grow"},E8={class:"flex flex-row flex-grow gap-3"},C8={class:"p-2 text-center grow"},A8={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"},S8={class:"flex flex-row p-3 items-center"},T8=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),M8=[T8],O8=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),R8=[O8],N8=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),D8={key:0,class:"mr-2"},L8={class:"mr-2 font-bold font-large text-lg line-clamp-1"},I8={key:1,class:"mr-2"},P8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},F8={key:0,class:"flex -space-x-4 items-center"},B8={class:"group items-center flex flex-row"},$8=["onClick"],j8=["src","title"],z8=["onClick"],U8=ce(()=>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)),q8=[U8],H8={class:"mx-2 mb-4"},V8=ce(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),G8={class:"relative"},K8={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},W8={key:0},Z8=ce(()=>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)),Y8=[Z8],Q8={key:1},J8=ce(()=>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)),X8=[J8],e9={key:0,class:"mx-2 mb-4"},t9={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},n9=["selected"],s9={key:1,class:"mx-2 mb-4"},o9={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},r9=["selected"],i9={key:0,class:"mb-2"},a9={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},l9=ce(()=>d("i",{"data-feather":"chevron-up"},null,-1)),c9=[l9],u9=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),d9=[u9],h9={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"},f9={class:"flex flex-row"},p9=ce(()=>d("i",{"data-feather":"chevron-right"},null,-1)),g9=[p9],m9=ce(()=>d("i",{"data-feather":"chevron-down"},null,-1)),_9=[m9],b9=ce(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),y9={class:"m-2"},v9={class:"flex flex-row gap-2 items-center"},w9=ce(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),x9={class:"m-2"},k9=ce(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),E9={class:"m-2"},C9={class:"flex flex-col align-bottom"},A9={class:"relative"},S9=ce(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),T9={class:"absolute right-0"},M9={class:"m-2"},O9={class:"flex flex-col align-bottom"},R9={class:"relative"},N9=ce(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),D9={class:"absolute right-0"},L9={class:"m-2"},I9={class:"flex flex-col align-bottom"},P9={class:"relative"},F9=ce(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),B9={class:"absolute right-0"},$9={class:"m-2"},j9={class:"flex flex-col align-bottom"},z9={class:"relative"},U9=ce(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),q9={class:"absolute right-0"},H9={class:"m-2"},V9={class:"flex flex-col align-bottom"},G9={class:"relative"},K9=ce(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),W9={class:"absolute right-0"},Z9={class:"m-2"},Y9={class:"flex flex-col align-bottom"},Q9={class:"relative"},J9=ce(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),X9={class:"absolute right-0"};function eA(t,e,n,s,o,r){const i=Ye("BindingEntry"),a=Ye("model-entry"),l=Ye("personality-entry"),c=Ye("YesNoDialog"),u=Ye("AddModelDialog"),h=Ye("MessageBox"),f=Ye("Toast"),g=Ye("UniversalForm"),m=Ye("ChoiceDialog");return E(),S(Me,null,[d("div",S5,[d("div",T5,[o.showConfirmation?(E(),S("div",M5,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ae(p=>o.showConfirmation=!1,["stop"]))},R5),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ae(p=>r.save_configuration(),["stop"]))},D5)])):B("",!0),o.showConfirmation?B("",!0):(E(),S("div",L5,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},P5),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},B5),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]=ae(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},j5)])),d("div",z5,[d("div",U5,[o.settingsChanged?(E(),S("div",q5,[be(" Apply changes: "),o.isLoading?B("",!0):(E(),S("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ae(p=>r.applyConfiguration(),["stop"]))},V5))])):B("",!0),o.isLoading?(E(),S("div",G5,[d("p",null,V(o.loading_text),1),K5,W5])):B("",!0)])])]),d("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",Z5,[d("div",Y5,[d("button",{onClick:e[6]||(e[6]=ae(p=>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"},[we(d("div",null,J5,512),[[lt,o.sc_collapsed]]),we(d("div",null,e4,512),[[lt,!o.sc_collapsed]]),t4,n4,d("div",s4,[d("div",o4,[d("div",null,[r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(E(),S("div",r4,[(E(!0),S(Me,null,We(r.vramUsage.gpus,p=>(E(),S("div",i4,[(E(),S("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c4,8,a4)),d("h3",u4,[d("div",null,V(r.computedFileSize(p.used_vram))+" / "+V(r.computedFileSize(p.total_vram))+" ("+V(p.percentage)+"%) ",1)])]))),256))])):B("",!0),r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(E(),S("div",d4,[d("div",h4,[f4,d("h3",p4,[d("div",null,V(r.vramUsage.gpus.length)+"x ",1)])])])):B("",!0)]),g4,d("h3",m4,[d("div",null,V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+"%)",1)]),_4,d("h3",b4,[d("div",null,V(r.disk_binding_models_usage)+" / "+V(r.disk_total_space)+" ("+V(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Te([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",y4,[v4,d("div",w4,[d("div",null,[x4,be(V(r.ram_available_space),1)]),d("div",null,[k4,be(" "+V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+")% ",1)])]),d("div",E4,[d("div",C4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",A4,[S4,d("div",T4,[d("div",null,[M4,be(V(r.disk_available_space),1)]),d("div",null,[O4,be(" "+V(r.disk_binding_models_usage)+" / "+V(r.disk_total_space)+" ("+V(r.disk_percent_usage)+"%)",1)])]),d("div",R4,[d("div",N4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(E(!0),S(Me,null,We(r.vramUsage.gpus,p=>(E(),S("div",D4,[L4,d("div",I4,[d("div",null,[P4,be(V(p.gpu_model),1)]),d("div",null,[F4,be(V(this.computedFileSize(p.available_space)),1)]),d("div",null,[B4,be(" "+V(this.computedFileSize(p.used_vram))+" / "+V(this.computedFileSize(p.total_vram))+" ("+V(p.percentage)+"%)",1)])]),d("div",$4,[d("div",j4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),d("div",z4,[d("div",U4,[d("button",{onClick:e[7]||(e[7]=ae(p=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(d("div",null,H4,512),[[lt,o.minconf_collapsed]]),we(d("div",null,G4,512),[[lt,!o.minconf_collapsed]]),K4])]),d("div",{class:Te([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",W4,[d("div",Z4,[d("table",Y4,[Q4,d("tr",null,[J4,d("td",X4,[we(d("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[8]||(e[8]=p=>r.db_path=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Ge,r.db_path]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[9]||(e[9]=p=>r.update_setting("db_path",r.db_path))},t3)])]),d("tr",null,[n3,d("td",null,[we(d("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[10]||(e[10]=p=>r.enable_gpu=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.enable_gpu]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[11]||(e[11]=p=>r.update_setting("enable_gpu",r.enable_gpu))},o3)])]),d("tr",null,[r3,d("td",null,[we(d("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[12]||(e[12]=p=>r.auto_update=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.auto_update]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[13]||(e[13]=p=>r.update_setting("auto_update",r.auto_update))},a3)])])])]),d("div",l3,[d("table",c3,[u3,d("tr",null,[d3,d("td",h3,[we(d("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[14]||(e[14]=p=>r.userName=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Ge,r.userName]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[15]||(e[15]=p=>r.update_setting("user_name",r.userName))},p3)])]),d("tr",null,[g3,d("td",m3,[d("label",_3,[d("img",{src:r.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,b3)]),d("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[16]||(e[16]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[17]||(e[17]=p=>r.update_setting("user_name",r.userName))},v3)])]),d("tr",null,[w3,d("td",null,[we(d("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[18]||(e[18]=p=>r.use_user_name_in_discussions=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.use_user_name_in_discussions]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[19]||(e[19]=p=>r.update_setting("use_user_name_in_discussions",r.use_user_name_in_discussions))},k3)])])])]),d("div",E3,[d("table",C3,[A3,d("tr",null,[S3,d("td",null,[we(d("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[20]||(e[20]=p=>r.auto_speak=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.auto_speak]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[21]||(e[21]=p=>r.update_setting("auto_speak",r.auto_speak))},M3)])]),d("tr",null,[O3,d("td",null,[we(d("select",{id:"audio_in_language","onUpdate:modelValue":e[22]||(e[22]=p=>r.audio_in_language=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(E(!0),S(Me,null,We(r.audioLanguages,p=>(E(),S("option",{key:p.code,value:p.code},V(p.name),9,R3))),128))],512),[[Ya,r.audio_in_language]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[23]||(e[23]=p=>r.update_setting("audio_in_language",r.audio_in_language))},D3)])]),d("tr",null,[L3,d("td",null,[we(d("select",{id:"audio_out_voice","onUpdate:modelValue":e[24]||(e[24]=p=>r.audio_out_voice=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(E(!0),S(Me,null,We(o.audioVoices,p=>(E(),S("option",{key:p.name,value:p.name},V(p.name),9,I3))),128))],512),[[Ya,r.audio_out_voice]])]),d("td",null,[d("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[25]||(e[25]=p=>r.update_setting("audio_out_voice",r.audio_out_voice))},F3)])])])])]),d("div",B3,[d("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[26]||(e[26]=p=>r.api_get_req("clear_uploads").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))}," Clear uploads ")]),d("div",$3,[d("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[27]||(e[27]=p=>r.api_get_req("restart_program").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))}," Restart program ")]),d("div",j3,[d("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[28]||(e[28]=p=>r.api_get_req("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[be(" Upgrade program "),o.has_updates?(E(),S("div",z3,q3)):B("",!0)])])],2)]),d("div",H3,[d("div",V3,[d("button",{onClick:e[29]||(e[29]=ae(p=>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"},[we(d("div",null,K3,512),[[lt,o.bzc_collapsed]]),we(d("div",null,Z3,512),[[lt,!o.bzc_collapsed]]),Y3,r.configFile.binding_name?B("",!0):(E(),S("div",Q3,[J3,be(" No binding selected! ")])),r.configFile.binding_name?(E(),S("div",X3,"|")):B("",!0),r.configFile.binding_name?(E(),S("div",eC,[d("div",tC,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,nC),d("h3",sC,V(r.binding_name),1)])])):B("",!0)])]),d("div",{class:Te([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr.length>0?(E(),S("div",oC,[d("label",rC," Bindings: ("+V(r.bindingsArr.length)+") ",1),d("div",{class:Te(["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"])},[ge(Ut,{name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(r.bindingsArr,(p,b)=>(E(),nt(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):B("",!0),o.bzl_collapsed?(E(),S("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[30]||(e[30]=p=>o.bzl_collapsed=!o.bzl_collapsed)},aC)):(E(),S("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[31]||(e[31]=p=>o.bzl_collapsed=!o.bzl_collapsed)},cC))],2)]),d("div",uC,[d("div",dC,[d("button",{onClick:e[32]||(e[32]=ae(p=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(d("div",null,fC,512),[[lt,o.mzc_collapsed]]),we(d("div",null,gC,512),[[lt,!o.mzc_collapsed]]),mC,d("div",_C,[r.configFile.binding_name?B("",!0):(E(),S("div",bC,[yC,be(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(E(),S("div",vC,[wC,be(" No model selected! ")])):B("",!0),r.configFile.model_name?(E(),S("div",xC,"|")):B("",!0),r.configFile.model_name?(E(),S("div",kC,[d("div",EC,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,CC),d("h3",AC,V(r.model_name),1)])])):B("",!0)])])]),d("div",{class:Te([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",SC,[d("form",null,[d("div",TC,[d("div",MC,[o.searchModelInProgress?(E(),S("div",OC,NC)):B("",!0),o.searchModelInProgress?B("",!0):(E(),S("div",DC,IC))]),we(d("input",{type:"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 models...",required:"","onUpdate:modelValue":e[33]||(e[33]=p=>o.searchModel=p),onKeyup:e[34]||(e[34]=ae((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Ge,o.searchModel]]),o.searchModel?(E(),S("button",{key:0,onClick:e[35]||(e[35]=ae(p=>o.searchModel="",["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")):B("",!0)])])]),o.searchModel?(E(),S("div",PC,[o.modelsFiltered.length>0?(E(),S("div",FC,[d("label",BC," Search results: ("+V(o.modelsFiltered.length)+") ",1),d("div",{class:Te(["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"])},[ge(Ut,{name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(o.modelsFiltered,(p,b)=>(E(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.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)])):B("",!0)])):B("",!0),o.searchModel?B("",!0):(E(),S("div",$C,[r.models&&r.models.length>0?(E(),S("div",jC,[d("label",zC," Models: ("+V(r.models.length)+") ",1),d("div",{class:Te(["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"])},[ge(Ut,{name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(r.models,(p,b)=>(E(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.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)])):B("",!0)])),o.mzl_collapsed?(E(),S("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[36]||(e[36]=(...p)=>r.open_mzl&&r.open_mzl(...p))},qC)):(E(),S("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[37]||(e[37]=(...p)=>r.open_mzl&&r.open_mzl(...p))},VC))],2)]),d("div",GC,[d("div",KC,[d("button",{onClick:e[38]||(e[38]=ae(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(d("div",null,ZC,512),[[lt,o.mzdc_collapsed]]),we(d("div",null,QC,512),[[lt,!o.mzdc_collapsed]]),JC,r.binding_name?B("",!0):(E(),S("div",XC,[e8,be(" No binding selected! ")])),r.configFile.binding_name?(E(),S("div",t8,"|")):B("",!0),r.configFile.binding_name?(E(),S("div",n8,[d("div",s8,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,o8),d("h3",r8,V(r.binding_name),1)])])):B("",!0)])]),d("div",{class:Te([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",i8,[d("div",a8,[o.modelDownlaodInProgress?B("",!0):(E(),S("div",l8,[d("div",c8,[u8,we(d("input",{type:"text","onUpdate:modelValue":e[39]||(e[39]=p=>o.addModel.url=p),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 URL ...",required:""},null,512),[[Ge,o.addModel.url]])]),d("button",{type:"button",onClick:e[40]||(e[40]=ae(p=>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?(E(),S("div",d8,[h8,d("div",f8,[d("div",p8,[d("div",g8,[m8,d("span",_8,V(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},V(o.addModel.url),9,b8),d("div",y8,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct({width:o.addModel.progress+"%"})},null,4)]),d("div",v8,[d("span",w8,"Download speed: "+V(r.speed_computed)+"/s",1),d("span",x8,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),d("div",k8,[d("div",E8,[d("div",C8,[d("button",{onClick:e[41]||(e[41]=ae((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["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 ")])])])])):B("",!0)])])],2)]),d("div",A8,[d("div",S8,[d("button",{onClick:e[43]||(e[43]=ae(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(d("div",null,M8,512),[[lt,o.pzc_collapsed]]),we(d("div",null,R8,512),[[lt,!o.pzc_collapsed]]),N8,r.configFile.personalities?(E(),S("div",D8,"|")):B("",!0),d("div",L8,V(r.active_pesonality),1),r.configFile.personalities?(E(),S("div",I8,"|")):B("",!0),r.configFile.personalities?(E(),S("div",P8,[r.mountedPersArr.length>0?(E(),S("div",F8,[(E(!0),S(Me,null,We(r.mountedPersArr,(p,b)=>(E(),S("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:b+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",B8,[d("button",{onClick:ae(_=>r.onPersonalitySelected(p),["stop"])},[d("img",{src:o.bUrl+p.avatar,onError:e[42]||(e[42]=(..._)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(..._)),class:Te(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,j8)],8,$8),d("button",{onClick:ae(_=>r.onPersonalityMounted(p),["stop"])},q8,8,z8)])]))),128))])):B("",!0)])):B("",!0)])]),d("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",H8,[d("form",null,[V8,d("div",G8,[d("div",K8,[o.searchPersonalityInProgress?(E(),S("div",W8,Y8)):B("",!0),o.searchPersonalityInProgress?B("",!0):(E(),S("div",Q8,X8))]),we(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[44]||(e[44]=p=>o.searchPersonality=p),onKeyup:e[45]||(e[45]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Ge,o.searchPersonality]]),o.searchPersonality?(E(),S("button",{key:0,onClick:e[46]||(e[46]=ae(p=>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")):B("",!0)])])]),o.searchPersonality?B("",!0):(E(),S("div",e9,[d("label",t9," Personalities Languages: ("+V(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[47]||(e[47]=p=>r.update_personality_language(p.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"},[(E(!0),S(Me,null,We(o.persLangArr,p=>(E(),S("option",{selected:p===this.configFile.personality_language},V(p),9,n9))),256))],32)])),o.searchPersonality?B("",!0):(E(),S("div",s9,[d("label",o9," Personalities Category: ("+V(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[48]||(e[48]=p=>r.update_personality_category(p.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"},[(E(!0),S(Me,null,We(o.persCatgArr,(p,b)=>(E(),S("option",{key:b,selected:p==this.configFile.personality_category},V(p),9,r9))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(E(),S("div",i9,[d("label",a9,V(o.searchPersonality?"Search results":"Personalities")+": ("+V(o.personalitiesFiltered.length)+") ",1),d("div",{class:Te(["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"])},[ge(Ut,{name:"bounce"},{default:Be(()=>[(E(!0),S(Me,null,We(o.personalitiesFiltered,(p,b)=>(E(),nt(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+p.name,personality:p,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(_=>_===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):B("",!0)]),o.pzl_collapsed?(E(),S("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[49]||(e[49]=p=>o.pzl_collapsed=!o.pzl_collapsed)},c9)):(E(),S("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[50]||(e[50]=p=>o.pzl_collapsed=!o.pzl_collapsed)},d9))],2)]),d("div",h9,[d("div",f9,[d("button",{onClick:e[51]||(e[51]=ae(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(d("div",null,g9,512),[[lt,o.mc_collapsed]]),we(d("div",null,_9,512),[[lt,!o.mc_collapsed]]),b9])]),d("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",y9,[d("div",v9,[we(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[52]||(e[52]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[53]||(e[53]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[54]||(e[54]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[xt,r.configFile.override_personality_model_parameters]]),w9])]),d("div",{class:Te(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",x9,[k9,we(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[55]||(e[55]=p=>r.configFile.seed=p),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),[[Ge,r.configFile.seed]])]),d("div",E9,[d("div",C9,[d("div",A9,[S9,d("p",T9,[we(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[56]||(e[56]=p=>r.configFile.temperature=p),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),[[Ge,r.configFile.temperature]])])]),we(d("input",{id:"temperature",onChange:e[57]||(e[57]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[58]||(e[58]=p=>r.configFile.temperature=p),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),[[Ge,r.configFile.temperature]])])]),d("div",M9,[d("div",O9,[d("div",R9,[N9,d("p",D9,[we(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[59]||(e[59]=p=>r.configFile.n_predict=p),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),[[Ge,r.configFile.n_predict]])])]),we(d("input",{id:"predict",onChange:e[60]||(e[60]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[61]||(e[61]=p=>r.configFile.n_predict=p),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),[[Ge,r.configFile.n_predict]])])]),d("div",L9,[d("div",I9,[d("div",P9,[F9,d("p",B9,[we(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[62]||(e[62]=p=>r.configFile.top_k=p),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),[[Ge,r.configFile.top_k]])])]),we(d("input",{id:"top_k",onChange:e[63]||(e[63]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[64]||(e[64]=p=>r.configFile.top_k=p),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),[[Ge,r.configFile.top_k]])])]),d("div",$9,[d("div",j9,[d("div",z9,[U9,d("p",q9,[we(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[65]||(e[65]=p=>r.configFile.top_p=p),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),[[Ge,r.configFile.top_p]])])]),we(d("input",{id:"top_p",onChange:e[66]||(e[66]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[67]||(e[67]=p=>r.configFile.top_p=p),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),[[Ge,r.configFile.top_p]])])]),d("div",H9,[d("div",V9,[d("div",G9,[K9,d("p",W9,[we(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[68]||(e[68]=p=>r.configFile.repeat_penalty=p),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),[[Ge,r.configFile.repeat_penalty]])])]),we(d("input",{id:"repeat_penalty",onChange:e[69]||(e[69]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[70]||(e[70]=p=>r.configFile.repeat_penalty=p),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),[[Ge,r.configFile.repeat_penalty]])])]),d("div",Z9,[d("div",Y9,[d("div",Q9,[J9,d("p",X9,[we(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[71]||(e[71]=p=>r.configFile.repeat_last_n=p),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),[[Ge,r.configFile.repeat_last_n]])])]),we(d("input",{id:"repeat_last_n",onChange:e[72]||(e[72]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[73]||(e[73]=p=>r.configFile.repeat_last_n=p),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),[[Ge,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),ge(c,{ref:"yesNoDialog",class:"z-20"},null,512),ge(u,{ref:"addmodeldialog"},null,512),ge(h,{ref:"messageBox"},null,512),ge(f,{ref:"toast"},null,512),ge(g,{ref:"universalForm",class:"z-20"},null,512),ge(m,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const tA=qe(A5,[["render",eA],["__scopeId","data-v-03304980"]]);const nA={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){_e(()=>{ve.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(t){this.inputValue=t.target.value,this.$emit("input",t.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},sA={class:"flex items-center space-x-2"},oA=["value","type","placeholder"],rA=["value","min","max"],iA=d("i",{"data-feather":"clipboard"},null,-1),aA=[iA],lA=d("i",{"data-feather":"upload"},null,-1),cA=[lA],uA=["accept"];function dA(t,e,n,s,o,r){return E(),S("div",sA,[t.useSlider?(E(),S("input",{key:1,type:"range",value:parseInt(o.inputValue),min:t.minSliderValue,max:t.maxSliderValue,onInput:e[2]||(e[2]=(...i)=>r.handleSliderInput&&r.handleSliderInput(...i)),class:"flex-1 px-4 py-2 text-lg border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,rA)):(E(),S("input",{key:0,value:o.inputValue,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,oA)),d("button",{onClick:e[3]||(e[3]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},aA),n.inputType==="file"?(E(),S("button",{key:2,onClick:e[4]||(e[4]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},cA)):B("",!0),n.inputType==="file"?(E(),S("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[5]||(e[5]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,uA)):B("",!0)])}const ng=qe(nA,[["render",dA]]);const hA={props:{title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!1},disableFocus:{type:Boolean,default:!1}},data(){return{isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","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",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},fA={key:0,class:"font-bold mb-2"},pA={key:1,class:"flex flex-wrap"},gA={key:2,class:"mb-2"};function mA(t,e,n,s,o,r){return E(),S(Me,null,[o.isActive?(E(),S("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...i)=>r.toggleCard&&r.toggleCard(...i))})):B("",!0),d("div",{class:Te(["bg-white rounded-lg shadow-lg p-6",r.cardWidthClass,"m-2",{hovered:!n.disableHoverAnimation&&o.isHovered,active:o.isActive}]),onMouseenter:e[1]||(e[1]=i=>o.isHovered=!0),onMouseleave:e[2]||(e[2]=i=>o.isHovered=!1),onClick:e[3]||(e[3]=ae((...i)=>r.toggleCard&&r.toggleCard(...i),["self"])),style:Ct({cursor:this.disableFocus?"":"pointer"})},[n.title?(E(),S("div",fA,V(n.title),1)):B("",!0),n.isHorizontal?(E(),S("div",pA,[wr(t.$slots,"default")])):(E(),S("div",gA,[wr(t.$slots,"default")]))],38)],64)}const sg=qe(hA,[["render",mA]]),_A={components:{ClipBoardTextInput:ng,Card:sg},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:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.model_name,tokenizer_name:this.tokenizer_name,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};Ee.post("/start_training",t).then(e=>{})},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)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},bA={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"},yA={class:"mb-4"},vA=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),wA={class:"mb-4"},xA=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),kA={class:"mb-4"},EA=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),CA={class:"mb-4"},AA=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),SA={class:"mb-4"},TA=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),MA={class:"mb-4"},OA=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),RA={class:"mb-4"},NA=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),DA={class:"mb-4"},LA=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),IA=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function PA(t,e,n,s,o,r){const i=Ye("ClipBoardTextInput"),a=Ye("Card");return E(),S("div",bA,[d("form",{onSubmit:e[0]||(e[0]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[ge(a,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[ge(a,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[d("div",yA,[vA,ge(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),d("div",wA,[xA,ge(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1}),ge(a,{title:"Data",isHorizontal:!1},{default:Be(()=>[d("div",kA,[EA,ge(i,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),ge(a,{title:"Training",isHorizontal:!1},{default:Be(()=>[d("div",CA,[AA,ge(i,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),d("div",SA,[TA,ge(i,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),d("div",MA,[OA,ge(i,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),d("div",RA,[NA,ge(i,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),ge(a,{title:"Output",isHorizontal:!1},{default:Be(()=>[d("div",DA,[LA,ge(i,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),ge(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[IA]),_:1})],32)])}const FA=qe(_A,[["render",PA]]),BA={components:{ClipBoardTextInput:ng,Card:sg},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)}}},$A={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"},jA={class:"mb-4"},zA=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),UA={class:"mb-4"},qA=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),HA=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function VA(t,e,n,s,o,r){const i=Ye("ClipBoardTextInput"),a=Ye("Card");return E(),S("div",$A,[d("form",{onSubmit:e[0]||(e[0]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[ge(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[ge(a,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[d("div",jA,[zA,ge(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),d("div",UA,[qA,ge(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),ge(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[HA]),_:1})],32)])}const GA=qe(BA,[["render",VA]]),KA={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,_e(()=>{ve.replace()})},watch:{showConfirmation(){_e(()=>{ve.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&_e(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},WA=["id"],ZA={class:"flex flex-row items-center gap-2"},YA={key:0},QA=["title"],JA=["value"],XA={class:"flex items-center flex-1 max-h-6"},e6={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},t6=d("i",{"data-feather":"check"},null,-1),n6=[t6],s6=d("i",{"data-feather":"x"},null,-1),o6=[s6],r6={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},i6=d("i",{"data-feather":"x"},null,-1),a6=[i6],l6=d("i",{"data-feather":"check"},null,-1),c6=[l6],u6={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},d6=d("i",{"data-feather":"edit-2"},null,-1),h6=[d6],f6=d("i",{"data-feather":"trash"},null,-1),p6=[f6];function g6(t,e,n,s,o,r){return E(),S("div",{class:Te([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md min-w-[23rem] max-w-[23rem]":" min-w-[23rem] max-w-[23rem]","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 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]=ae(i=>r.selectEvent(),["stop"]))},[d("div",ZA,[n.isCheckbox?(E(),S("div",YA,[we(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]=ae(()=>{},["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),[[xt,o.checkBoxValue_local]])])):B("",!0),n.selected?(E(),S("div",{key:1,class:Te(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):B("",!0),n.selected?B("",!0):(E(),S("div",{key:2,class:Te(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?B("",!0):(E(),S("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},V(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,QA)),o.editTitle?(E(),S("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]=Qa(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Qa(ae(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ae(()=>{},["stop"]))},null,40,JA)):B("",!0),d("div",XA,[o.showConfirmation&&!o.editTitleMode?(E(),S("div",e6,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ae(i=>r.deleteEvent(),["stop"]))},n6),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ae(i=>o.showConfirmation=!1,["stop"]))},o6)])):B("",!0),o.showConfirmation&&o.editTitleMode?(E(),S("div",r6,[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]=ae(i=>o.editTitleMode=!1,["stop"]))},a6),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ae(i=>r.editTitleEvent(),["stop"]))},c6)])):B("",!0),o.showConfirmation?B("",!0):(E(),S("div",u6,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ae(i=>o.editTitleMode=!0,["stop"]))},h6),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ae(i=>o.showConfirmation=!0,["stop"]))},p6)]))])],10,WA)}const og=qe(KA,[["render",g6]]);var ze={};const m6="Á",_6="á",b6="Ă",y6="ă",v6="∾",w6="∿",x6="∾̳",k6="Â",E6="â",C6="´",A6="А",S6="а",T6="Æ",M6="æ",O6="⁡",R6="𝔄",N6="𝔞",D6="À",L6="à",I6="ℵ",P6="ℵ",F6="Α",B6="α",$6="Ā",j6="ā",z6="⨿",U6="&",q6="&",H6="⩕",V6="⩓",G6="∧",K6="⩜",W6="⩘",Z6="⩚",Y6="∠",Q6="⦤",J6="∠",X6="⦨",eS="⦩",tS="⦪",nS="⦫",sS="⦬",oS="⦭",rS="⦮",iS="⦯",aS="∡",lS="∟",cS="⊾",uS="⦝",dS="∢",hS="Å",fS="⍼",pS="Ą",gS="ą",mS="𝔸",_S="𝕒",bS="⩯",yS="≈",vS="⩰",wS="≊",xS="≋",kS="'",ES="⁡",CS="≈",AS="≊",SS="Å",TS="å",MS="𝒜",OS="𝒶",RS="≔",NS="*",DS="≈",LS="≍",IS="Ã",PS="ã",FS="Ä",BS="ä",$S="∳",jS="⨑",zS="≌",US="϶",qS="‵",HS="∽",VS="⋍",GS="∖",KS="⫧",WS="⊽",ZS="⌅",YS="⌆",QS="⌅",JS="⎵",XS="⎶",eT="≌",tT="Б",nT="б",sT="„",oT="∵",rT="∵",iT="∵",aT="⦰",lT="϶",cT="ℬ",uT="ℬ",dT="Β",hT="β",fT="ℶ",pT="≬",gT="𝔅",mT="𝔟",_T="⋂",bT="◯",yT="⋃",vT="⨀",wT="⨁",xT="⨂",kT="⨆",ET="★",CT="▽",AT="△",ST="⨄",TT="⋁",MT="⋀",OT="⤍",RT="⧫",NT="▪",DT="▴",LT="▾",IT="◂",PT="▸",FT="␣",BT="▒",$T="░",jT="▓",zT="█",UT="=⃥",qT="≡⃥",HT="⫭",VT="⌐",GT="𝔹",KT="𝕓",WT="⊥",ZT="⊥",YT="⋈",QT="⧉",JT="┐",XT="╕",e7="╖",t7="╗",n7="┌",s7="╒",o7="╓",r7="╔",i7="─",a7="═",l7="┬",c7="╤",u7="╥",d7="╦",h7="┴",f7="╧",p7="╨",g7="╩",m7="⊟",_7="⊞",b7="⊠",y7="┘",v7="╛",w7="╜",x7="╝",k7="└",E7="╘",C7="╙",A7="╚",S7="│",T7="║",M7="┼",O7="╪",R7="╫",N7="╬",D7="┤",L7="╡",I7="╢",P7="╣",F7="├",B7="╞",$7="╟",j7="╠",z7="‵",U7="˘",q7="˘",H7="¦",V7="𝒷",G7="ℬ",K7="⁏",W7="∽",Z7="⋍",Y7="⧅",Q7="\\",J7="⟈",X7="•",eM="•",tM="≎",nM="⪮",sM="≏",oM="≎",rM="≏",iM="Ć",aM="ć",lM="⩄",cM="⩉",uM="⩋",dM="∩",hM="⋒",fM="⩇",pM="⩀",gM="ⅅ",mM="∩︀",_M="⁁",bM="ˇ",yM="ℭ",vM="⩍",wM="Č",xM="č",kM="Ç",EM="ç",CM="Ĉ",AM="ĉ",SM="∰",TM="⩌",MM="⩐",OM="Ċ",RM="ċ",NM="¸",DM="¸",LM="⦲",IM="¢",PM="·",FM="·",BM="𝔠",$M="ℭ",jM="Ч",zM="ч",UM="✓",qM="✓",HM="Χ",VM="χ",GM="ˆ",KM="≗",WM="↺",ZM="↻",YM="⊛",QM="⊚",JM="⊝",XM="⊙",eO="®",tO="Ⓢ",nO="⊖",sO="⊕",oO="⊗",rO="○",iO="⧃",aO="≗",lO="⨐",cO="⫯",uO="⧂",dO="∲",hO="”",fO="’",pO="♣",gO="♣",mO=":",_O="∷",bO="⩴",yO="≔",vO="≔",wO=",",xO="@",kO="∁",EO="∘",CO="∁",AO="ℂ",SO="≅",TO="⩭",MO="≡",OO="∮",RO="∯",NO="∮",DO="𝕔",LO="ℂ",IO="∐",PO="∐",FO="©",BO="©",$O="℗",jO="∳",zO="↵",UO="✗",qO="⨯",HO="𝒞",VO="𝒸",GO="⫏",KO="⫑",WO="⫐",ZO="⫒",YO="⋯",QO="⤸",JO="⤵",XO="⋞",eR="⋟",tR="↶",nR="⤽",sR="⩈",oR="⩆",rR="≍",iR="∪",aR="⋓",lR="⩊",cR="⊍",uR="⩅",dR="∪︀",hR="↷",fR="⤼",pR="⋞",gR="⋟",mR="⋎",_R="⋏",bR="¤",yR="↶",vR="↷",wR="⋎",xR="⋏",kR="∲",ER="∱",CR="⌭",AR="†",SR="‡",TR="ℸ",MR="↓",OR="↡",RR="⇓",NR="‐",DR="⫤",LR="⊣",IR="⤏",PR="˝",FR="Ď",BR="ď",$R="Д",jR="д",zR="‡",UR="⇊",qR="ⅅ",HR="ⅆ",VR="⤑",GR="⩷",KR="°",WR="∇",ZR="Δ",YR="δ",QR="⦱",JR="⥿",XR="𝔇",eN="𝔡",tN="⥥",nN="⇃",sN="⇂",oN="´",rN="˙",iN="˝",aN="`",lN="˜",cN="⋄",uN="⋄",dN="⋄",hN="♦",fN="♦",pN="¨",gN="ⅆ",mN="ϝ",_N="⋲",bN="÷",yN="÷",vN="⋇",wN="⋇",xN="Ђ",kN="ђ",EN="⌞",CN="⌍",AN="$",SN="𝔻",TN="𝕕",MN="¨",ON="˙",RN="⃜",NN="≐",DN="≑",LN="≐",IN="∸",PN="∔",FN="⊡",BN="⌆",$N="∯",jN="¨",zN="⇓",UN="⇐",qN="⇔",HN="⫤",VN="⟸",GN="⟺",KN="⟹",WN="⇒",ZN="⊨",YN="⇑",QN="⇕",JN="∥",XN="⤓",eD="↓",tD="↓",nD="⇓",sD="⇵",oD="̑",rD="⇊",iD="⇃",aD="⇂",lD="⥐",cD="⥞",uD="⥖",dD="↽",hD="⥟",fD="⥗",pD="⇁",gD="↧",mD="⊤",_D="⤐",bD="⌟",yD="⌌",vD="𝒟",wD="𝒹",xD="Ѕ",kD="ѕ",ED="⧶",CD="Đ",AD="đ",SD="⋱",TD="▿",MD="▾",OD="⇵",RD="⥯",ND="⦦",DD="Џ",LD="џ",ID="⟿",PD="É",FD="é",BD="⩮",$D="Ě",jD="ě",zD="Ê",UD="ê",qD="≖",HD="≕",VD="Э",GD="э",KD="⩷",WD="Ė",ZD="ė",YD="≑",QD="ⅇ",JD="≒",XD="𝔈",eL="𝔢",tL="⪚",nL="È",sL="è",oL="⪖",rL="⪘",iL="⪙",aL="∈",lL="⏧",cL="ℓ",uL="⪕",dL="⪗",hL="Ē",fL="ē",pL="∅",gL="∅",mL="◻",_L="∅",bL="▫",yL=" ",vL=" ",wL=" ",xL="Ŋ",kL="ŋ",EL=" ",CL="Ę",AL="ę",SL="𝔼",TL="𝕖",ML="⋕",OL="⧣",RL="⩱",NL="ε",DL="Ε",LL="ε",IL="ϵ",PL="≖",FL="≕",BL="≂",$L="⪖",jL="⪕",zL="⩵",UL="=",qL="≂",HL="≟",VL="⇌",GL="≡",KL="⩸",WL="⧥",ZL="⥱",YL="≓",QL="ℯ",JL="ℰ",XL="≐",eI="⩳",tI="≂",nI="Η",sI="η",oI="Ð",rI="ð",iI="Ë",aI="ë",lI="€",cI="!",uI="∃",dI="∃",hI="ℰ",fI="ⅇ",pI="ⅇ",gI="≒",mI="Ф",_I="ф",bI="♀",yI="ffi",vI="ff",wI="ffl",xI="𝔉",kI="𝔣",EI="fi",CI="◼",AI="▪",SI="fj",TI="♭",MI="fl",OI="▱",RI="ƒ",NI="𝔽",DI="𝕗",LI="∀",II="∀",PI="⋔",FI="⫙",BI="ℱ",$I="⨍",jI="½",zI="⅓",UI="¼",qI="⅕",HI="⅙",VI="⅛",GI="⅔",KI="⅖",WI="¾",ZI="⅗",YI="⅜",QI="⅘",JI="⅚",XI="⅝",eP="⅞",tP="⁄",nP="⌢",sP="𝒻",oP="ℱ",rP="ǵ",iP="Γ",aP="γ",lP="Ϝ",cP="ϝ",uP="⪆",dP="Ğ",hP="ğ",fP="Ģ",pP="Ĝ",gP="ĝ",mP="Г",_P="г",bP="Ġ",yP="ġ",vP="≥",wP="≧",xP="⪌",kP="⋛",EP="≥",CP="≧",AP="⩾",SP="⪩",TP="⩾",MP="⪀",OP="⪂",RP="⪄",NP="⋛︀",DP="⪔",LP="𝔊",IP="𝔤",PP="≫",FP="⋙",BP="⋙",$P="ℷ",jP="Ѓ",zP="ѓ",UP="⪥",qP="≷",HP="⪒",VP="⪤",GP="⪊",KP="⪊",WP="⪈",ZP="≩",YP="⪈",QP="≩",JP="⋧",XP="𝔾",eF="𝕘",tF="`",nF="≥",sF="⋛",oF="≧",rF="⪢",iF="≷",aF="⩾",lF="≳",cF="𝒢",uF="ℊ",dF="≳",hF="⪎",fF="⪐",pF="⪧",gF="⩺",mF=">",_F=">",bF="≫",yF="⋗",vF="⦕",wF="⩼",xF="⪆",kF="⥸",EF="⋗",CF="⋛",AF="⪌",SF="≷",TF="≳",MF="≩︀",OF="≩︀",RF="ˇ",NF=" ",DF="½",LF="ℋ",IF="Ъ",PF="ъ",FF="⥈",BF="↔",$F="⇔",jF="↭",zF="^",UF="ℏ",qF="Ĥ",HF="ĥ",VF="♥",GF="♥",KF="…",WF="⊹",ZF="𝔥",YF="ℌ",QF="ℋ",JF="⤥",XF="⤦",eB="⇿",tB="∻",nB="↩",sB="↪",oB="𝕙",rB="ℍ",iB="―",aB="─",lB="𝒽",cB="ℋ",uB="ℏ",dB="Ħ",hB="ħ",fB="≎",pB="≏",gB="⁃",mB="‐",_B="Í",bB="í",yB="⁣",vB="Î",wB="î",xB="И",kB="и",EB="İ",CB="Е",AB="е",SB="¡",TB="⇔",MB="𝔦",OB="ℑ",RB="Ì",NB="ì",DB="ⅈ",LB="⨌",IB="∭",PB="⧜",FB="℩",BB="IJ",$B="ij",jB="Ī",zB="ī",UB="ℑ",qB="ⅈ",HB="ℐ",VB="ℑ",GB="ı",KB="ℑ",WB="⊷",ZB="Ƶ",YB="⇒",QB="℅",JB="∞",XB="⧝",e$="ı",t$="⊺",n$="∫",s$="∬",o$="ℤ",r$="∫",i$="⊺",a$="⋂",l$="⨗",c$="⨼",u$="⁣",d$="⁢",h$="Ё",f$="ё",p$="Į",g$="į",m$="𝕀",_$="𝕚",b$="Ι",y$="ι",v$="⨼",w$="¿",x$="𝒾",k$="ℐ",E$="∈",C$="⋵",A$="⋹",S$="⋴",T$="⋳",M$="∈",O$="⁢",R$="Ĩ",N$="ĩ",D$="І",L$="і",I$="Ï",P$="ï",F$="Ĵ",B$="ĵ",$$="Й",j$="й",z$="𝔍",U$="𝔧",q$="ȷ",H$="𝕁",V$="𝕛",G$="𝒥",K$="𝒿",W$="Ј",Z$="ј",Y$="Є",Q$="є",J$="Κ",X$="κ",ej="ϰ",tj="Ķ",nj="ķ",sj="К",oj="к",rj="𝔎",ij="𝔨",aj="ĸ",lj="Х",cj="х",uj="Ќ",dj="ќ",hj="𝕂",fj="𝕜",pj="𝒦",gj="𝓀",mj="⇚",_j="Ĺ",bj="ĺ",yj="⦴",vj="ℒ",wj="Λ",xj="λ",kj="⟨",Ej="⟪",Cj="⦑",Aj="⟨",Sj="⪅",Tj="ℒ",Mj="«",Oj="⇤",Rj="⤟",Nj="←",Dj="↞",Lj="⇐",Ij="⤝",Pj="↩",Fj="↫",Bj="⤹",$j="⥳",jj="↢",zj="⤙",Uj="⤛",qj="⪫",Hj="⪭",Vj="⪭︀",Gj="⤌",Kj="⤎",Wj="❲",Zj="{",Yj="[",Qj="⦋",Jj="⦏",Xj="⦍",ez="Ľ",tz="ľ",nz="Ļ",sz="ļ",oz="⌈",rz="{",iz="Л",az="л",lz="⤶",cz="“",uz="„",dz="⥧",hz="⥋",fz="↲",pz="≤",gz="≦",mz="⟨",_z="⇤",bz="←",yz="←",vz="⇐",wz="⇆",xz="↢",kz="⌈",Ez="⟦",Cz="⥡",Az="⥙",Sz="⇃",Tz="⌊",Mz="↽",Oz="↼",Rz="⇇",Nz="↔",Dz="↔",Lz="⇔",Iz="⇆",Pz="⇋",Fz="↭",Bz="⥎",$z="↤",jz="⊣",zz="⥚",Uz="⋋",qz="⧏",Hz="⊲",Vz="⊴",Gz="⥑",Kz="⥠",Wz="⥘",Zz="↿",Yz="⥒",Qz="↼",Jz="⪋",Xz="⋚",eU="≤",tU="≦",nU="⩽",sU="⪨",oU="⩽",rU="⩿",iU="⪁",aU="⪃",lU="⋚︀",cU="⪓",uU="⪅",dU="⋖",hU="⋚",fU="⪋",pU="⋚",gU="≦",mU="≶",_U="≶",bU="⪡",yU="≲",vU="⩽",wU="≲",xU="⥼",kU="⌊",EU="𝔏",CU="𝔩",AU="≶",SU="⪑",TU="⥢",MU="↽",OU="↼",RU="⥪",NU="▄",DU="Љ",LU="љ",IU="⇇",PU="≪",FU="⋘",BU="⌞",$U="⇚",jU="⥫",zU="◺",UU="Ŀ",qU="ŀ",HU="⎰",VU="⎰",GU="⪉",KU="⪉",WU="⪇",ZU="≨",YU="⪇",QU="≨",JU="⋦",XU="⟬",eq="⇽",tq="⟦",nq="⟵",sq="⟵",oq="⟸",rq="⟷",iq="⟷",aq="⟺",lq="⟼",cq="⟶",uq="⟶",dq="⟹",hq="↫",fq="↬",pq="⦅",gq="𝕃",mq="𝕝",_q="⨭",bq="⨴",yq="∗",vq="_",wq="↙",xq="↘",kq="◊",Eq="◊",Cq="⧫",Aq="(",Sq="⦓",Tq="⇆",Mq="⌟",Oq="⇋",Rq="⥭",Nq="‎",Dq="⊿",Lq="‹",Iq="𝓁",Pq="ℒ",Fq="↰",Bq="↰",$q="≲",jq="⪍",zq="⪏",Uq="[",qq="‘",Hq="‚",Vq="Ł",Gq="ł",Kq="⪦",Wq="⩹",Zq="<",Yq="<",Qq="≪",Jq="⋖",Xq="⋋",eH="⋉",tH="⥶",nH="⩻",sH="◃",oH="⊴",rH="◂",iH="⦖",aH="⥊",lH="⥦",cH="≨︀",uH="≨︀",dH="¯",hH="♂",fH="✠",pH="✠",gH="↦",mH="↦",_H="↧",bH="↤",yH="↥",vH="▮",wH="⨩",xH="М",kH="м",EH="—",CH="∺",AH="∡",SH=" ",TH="ℳ",MH="𝔐",OH="𝔪",RH="℧",NH="µ",DH="*",LH="⫰",IH="∣",PH="·",FH="⊟",BH="−",$H="∸",jH="⨪",zH="∓",UH="⫛",qH="…",HH="∓",VH="⊧",GH="𝕄",KH="𝕞",WH="∓",ZH="𝓂",YH="ℳ",QH="∾",JH="Μ",XH="μ",eV="⊸",tV="⊸",nV="∇",sV="Ń",oV="ń",rV="∠⃒",iV="≉",aV="⩰̸",lV="≋̸",cV="ʼn",uV="≉",dV="♮",hV="ℕ",fV="♮",pV=" ",gV="≎̸",mV="≏̸",_V="⩃",bV="Ň",yV="ň",vV="Ņ",wV="ņ",xV="≇",kV="⩭̸",EV="⩂",CV="Н",AV="н",SV="–",TV="⤤",MV="↗",OV="⇗",RV="↗",NV="≠",DV="≐̸",LV="​",IV="​",PV="​",FV="​",BV="≢",$V="⤨",jV="≂̸",zV="≫",UV="≪",qV=` -`,HV="∄",VV="∄",GV="𝔑",KV="𝔫",WV="≧̸",ZV="≱",YV="≱",QV="≧̸",JV="⩾̸",XV="⩾̸",eG="⋙̸",tG="≵",nG="≫⃒",sG="≯",oG="≯",rG="≫̸",iG="↮",aG="⇎",lG="⫲",cG="∋",uG="⋼",dG="⋺",hG="∋",fG="Њ",pG="њ",gG="↚",mG="⇍",_G="‥",bG="≦̸",yG="≰",vG="↚",wG="⇍",xG="↮",kG="⇎",EG="≰",CG="≦̸",AG="⩽̸",SG="⩽̸",TG="≮",MG="⋘̸",OG="≴",RG="≪⃒",NG="≮",DG="⋪",LG="⋬",IG="≪̸",PG="∤",FG="⁠",BG=" ",$G="𝕟",jG="ℕ",zG="⫬",UG="¬",qG="≢",HG="≭",VG="∦",GG="∉",KG="≠",WG="≂̸",ZG="∄",YG="≯",QG="≱",JG="≧̸",XG="≫̸",eK="≹",tK="⩾̸",nK="≵",sK="≎̸",oK="≏̸",rK="∉",iK="⋵̸",aK="⋹̸",lK="∉",cK="⋷",uK="⋶",dK="⧏̸",hK="⋪",fK="⋬",pK="≮",gK="≰",mK="≸",_K="≪̸",bK="⩽̸",yK="≴",vK="⪢̸",wK="⪡̸",xK="∌",kK="∌",EK="⋾",CK="⋽",AK="⊀",SK="⪯̸",TK="⋠",MK="∌",OK="⧐̸",RK="⋫",NK="⋭",DK="⊏̸",LK="⋢",IK="⊐̸",PK="⋣",FK="⊂⃒",BK="⊈",$K="⊁",jK="⪰̸",zK="⋡",UK="≿̸",qK="⊃⃒",HK="⊉",VK="≁",GK="≄",KK="≇",WK="≉",ZK="∤",YK="∦",QK="∦",JK="⫽⃥",XK="∂̸",eW="⨔",tW="⊀",nW="⋠",sW="⊀",oW="⪯̸",rW="⪯̸",iW="⤳̸",aW="↛",lW="⇏",cW="↝̸",uW="↛",dW="⇏",hW="⋫",fW="⋭",pW="⊁",gW="⋡",mW="⪰̸",_W="𝒩",bW="𝓃",yW="∤",vW="∦",wW="≁",xW="≄",kW="≄",EW="∤",CW="∦",AW="⋢",SW="⋣",TW="⊄",MW="⫅̸",OW="⊈",RW="⊂⃒",NW="⊈",DW="⫅̸",LW="⊁",IW="⪰̸",PW="⊅",FW="⫆̸",BW="⊉",$W="⊃⃒",jW="⊉",zW="⫆̸",UW="≹",qW="Ñ",HW="ñ",VW="≸",GW="⋪",KW="⋬",WW="⋫",ZW="⋭",YW="Ν",QW="ν",JW="#",XW="№",eZ=" ",tZ="≍⃒",nZ="⊬",sZ="⊭",oZ="⊮",rZ="⊯",iZ="≥⃒",aZ=">⃒",lZ="⤄",cZ="⧞",uZ="⤂",dZ="≤⃒",hZ="<⃒",fZ="⊴⃒",pZ="⤃",gZ="⊵⃒",mZ="∼⃒",_Z="⤣",bZ="↖",yZ="⇖",vZ="↖",wZ="⤧",xZ="Ó",kZ="ó",EZ="⊛",CZ="Ô",AZ="ô",SZ="⊚",TZ="О",MZ="о",OZ="⊝",RZ="Ő",NZ="ő",DZ="⨸",LZ="⊙",IZ="⦼",PZ="Œ",FZ="œ",BZ="⦿",$Z="𝔒",jZ="𝔬",zZ="˛",UZ="Ò",qZ="ò",HZ="⧁",VZ="⦵",GZ="Ω",KZ="∮",WZ="↺",ZZ="⦾",YZ="⦻",QZ="‾",JZ="⧀",XZ="Ō",eY="ō",tY="Ω",nY="ω",sY="Ο",oY="ο",rY="⦶",iY="⊖",aY="𝕆",lY="𝕠",cY="⦷",uY="“",dY="‘",hY="⦹",fY="⊕",pY="↻",gY="⩔",mY="∨",_Y="⩝",bY="ℴ",yY="ℴ",vY="ª",wY="º",xY="⊶",kY="⩖",EY="⩗",CY="⩛",AY="Ⓢ",SY="𝒪",TY="ℴ",MY="Ø",OY="ø",RY="⊘",NY="Õ",DY="õ",LY="⨶",IY="⨷",PY="⊗",FY="Ö",BY="ö",$Y="⌽",jY="‾",zY="⏞",UY="⎴",qY="⏜",HY="¶",VY="∥",GY="∥",KY="⫳",WY="⫽",ZY="∂",YY="∂",QY="П",JY="п",XY="%",eQ=".",tQ="‰",nQ="⊥",sQ="‱",oQ="𝔓",rQ="𝔭",iQ="Φ",aQ="φ",lQ="ϕ",cQ="ℳ",uQ="☎",dQ="Π",hQ="π",fQ="⋔",pQ="ϖ",gQ="ℏ",mQ="ℎ",_Q="ℏ",bQ="⨣",yQ="⊞",vQ="⨢",wQ="+",xQ="∔",kQ="⨥",EQ="⩲",CQ="±",AQ="±",SQ="⨦",TQ="⨧",MQ="±",OQ="ℌ",RQ="⨕",NQ="𝕡",DQ="ℙ",LQ="£",IQ="⪷",PQ="⪻",FQ="≺",BQ="≼",$Q="⪷",jQ="≺",zQ="≼",UQ="≺",qQ="⪯",HQ="≼",VQ="≾",GQ="⪯",KQ="⪹",WQ="⪵",ZQ="⋨",YQ="⪯",QQ="⪳",JQ="≾",XQ="′",eJ="″",tJ="ℙ",nJ="⪹",sJ="⪵",oJ="⋨",rJ="∏",iJ="∏",aJ="⌮",lJ="⌒",cJ="⌓",uJ="∝",dJ="∝",hJ="∷",fJ="∝",pJ="≾",gJ="⊰",mJ="𝒫",_J="𝓅",bJ="Ψ",yJ="ψ",vJ=" ",wJ="𝔔",xJ="𝔮",kJ="⨌",EJ="𝕢",CJ="ℚ",AJ="⁗",SJ="𝒬",TJ="𝓆",MJ="ℍ",OJ="⨖",RJ="?",NJ="≟",DJ='"',LJ='"',IJ="⇛",PJ="∽̱",FJ="Ŕ",BJ="ŕ",$J="√",jJ="⦳",zJ="⟩",UJ="⟫",qJ="⦒",HJ="⦥",VJ="⟩",GJ="»",KJ="⥵",WJ="⇥",ZJ="⤠",YJ="⤳",QJ="→",JJ="↠",XJ="⇒",eX="⤞",tX="↪",nX="↬",sX="⥅",oX="⥴",rX="⤖",iX="↣",aX="↝",lX="⤚",cX="⤜",uX="∶",dX="ℚ",hX="⤍",fX="⤏",pX="⤐",gX="❳",mX="}",_X="]",bX="⦌",yX="⦎",vX="⦐",wX="Ř",xX="ř",kX="Ŗ",EX="ŗ",CX="⌉",AX="}",SX="Р",TX="р",MX="⤷",OX="⥩",RX="”",NX="”",DX="↳",LX="ℜ",IX="ℛ",PX="ℜ",FX="ℝ",BX="ℜ",$X="▭",jX="®",zX="®",UX="∋",qX="⇋",HX="⥯",VX="⥽",GX="⌋",KX="𝔯",WX="ℜ",ZX="⥤",YX="⇁",QX="⇀",JX="⥬",XX="Ρ",eee="ρ",tee="ϱ",nee="⟩",see="⇥",oee="→",ree="→",iee="⇒",aee="⇄",lee="↣",cee="⌉",uee="⟧",dee="⥝",hee="⥕",fee="⇂",pee="⌋",gee="⇁",mee="⇀",_ee="⇄",bee="⇌",yee="⇉",vee="↝",wee="↦",xee="⊢",kee="⥛",Eee="⋌",Cee="⧐",Aee="⊳",See="⊵",Tee="⥏",Mee="⥜",Oee="⥔",Ree="↾",Nee="⥓",Dee="⇀",Lee="˚",Iee="≓",Pee="⇄",Fee="⇌",Bee="‏",$ee="⎱",jee="⎱",zee="⫮",Uee="⟭",qee="⇾",Hee="⟧",Vee="⦆",Gee="𝕣",Kee="ℝ",Wee="⨮",Zee="⨵",Yee="⥰",Qee=")",Jee="⦔",Xee="⨒",ete="⇉",tte="⇛",nte="›",ste="𝓇",ote="ℛ",rte="↱",ite="↱",ate="]",lte="’",cte="’",ute="⋌",dte="⋊",hte="▹",fte="⊵",pte="▸",gte="⧎",mte="⧴",_te="⥨",bte="℞",yte="Ś",vte="ś",wte="‚",xte="⪸",kte="Š",Ete="š",Cte="⪼",Ate="≻",Ste="≽",Tte="⪰",Mte="⪴",Ote="Ş",Rte="ş",Nte="Ŝ",Dte="ŝ",Lte="⪺",Ite="⪶",Pte="⋩",Fte="⨓",Bte="≿",$te="С",jte="с",zte="⊡",Ute="⋅",qte="⩦",Hte="⤥",Vte="↘",Gte="⇘",Kte="↘",Wte="§",Zte=";",Yte="⤩",Qte="∖",Jte="∖",Xte="✶",ene="𝔖",tne="𝔰",nne="⌢",sne="♯",one="Щ",rne="щ",ine="Ш",ane="ш",lne="↓",cne="←",une="∣",dne="∥",hne="→",fne="↑",pne="­",gne="Σ",mne="σ",_ne="ς",bne="ς",yne="∼",vne="⩪",wne="≃",xne="≃",kne="⪞",Ene="⪠",Cne="⪝",Ane="⪟",Sne="≆",Tne="⨤",Mne="⥲",One="←",Rne="∘",Nne="∖",Dne="⨳",Lne="⧤",Ine="∣",Pne="⌣",Fne="⪪",Bne="⪬",$ne="⪬︀",jne="Ь",zne="ь",Une="⌿",qne="⧄",Hne="/",Vne="𝕊",Gne="𝕤",Kne="♠",Wne="♠",Zne="∥",Yne="⊓",Qne="⊓︀",Jne="⊔",Xne="⊔︀",ese="√",tse="⊏",nse="⊑",sse="⊏",ose="⊑",rse="⊐",ise="⊒",ase="⊐",lse="⊒",cse="□",use="□",dse="⊓",hse="⊏",fse="⊑",pse="⊐",gse="⊒",mse="⊔",_se="▪",bse="□",yse="▪",vse="→",wse="𝒮",xse="𝓈",kse="∖",Ese="⌣",Cse="⋆",Ase="⋆",Sse="☆",Tse="★",Mse="ϵ",Ose="ϕ",Rse="¯",Nse="⊂",Dse="⋐",Lse="⪽",Ise="⫅",Pse="⊆",Fse="⫃",Bse="⫁",$se="⫋",jse="⊊",zse="⪿",Use="⥹",qse="⊂",Hse="⋐",Vse="⊆",Gse="⫅",Kse="⊆",Wse="⊊",Zse="⫋",Yse="⫇",Qse="⫕",Jse="⫓",Xse="⪸",eoe="≻",toe="≽",noe="≻",soe="⪰",ooe="≽",roe="≿",ioe="⪰",aoe="⪺",loe="⪶",coe="⋩",uoe="≿",doe="∋",hoe="∑",foe="∑",poe="♪",goe="¹",moe="²",_oe="³",boe="⊃",yoe="⋑",voe="⪾",woe="⫘",xoe="⫆",koe="⊇",Eoe="⫄",Coe="⊃",Aoe="⊇",Soe="⟉",Toe="⫗",Moe="⥻",Ooe="⫂",Roe="⫌",Noe="⊋",Doe="⫀",Loe="⊃",Ioe="⋑",Poe="⊇",Foe="⫆",Boe="⊋",$oe="⫌",joe="⫈",zoe="⫔",Uoe="⫖",qoe="⤦",Hoe="↙",Voe="⇙",Goe="↙",Koe="⤪",Woe="ß",Zoe=" ",Yoe="⌖",Qoe="Τ",Joe="τ",Xoe="⎴",ere="Ť",tre="ť",nre="Ţ",sre="ţ",ore="Т",rre="т",ire="⃛",are="⌕",lre="𝔗",cre="𝔱",ure="∴",dre="∴",hre="∴",fre="Θ",pre="θ",gre="ϑ",mre="ϑ",_re="≈",bre="∼",yre="  ",vre=" ",wre=" ",xre="≈",kre="∼",Ere="Þ",Cre="þ",Are="˜",Sre="∼",Tre="≃",Mre="≅",Ore="≈",Rre="⨱",Nre="⊠",Dre="×",Lre="⨰",Ire="∭",Pre="⤨",Fre="⌶",Bre="⫱",$re="⊤",jre="𝕋",zre="𝕥",Ure="⫚",qre="⤩",Hre="‴",Vre="™",Gre="™",Kre="▵",Wre="▿",Zre="◃",Yre="⊴",Qre="≜",Jre="▹",Xre="⊵",eie="◬",tie="≜",nie="⨺",sie="⃛",oie="⨹",rie="⧍",iie="⨻",aie="⏢",lie="𝒯",cie="𝓉",uie="Ц",die="ц",hie="Ћ",fie="ћ",pie="Ŧ",gie="ŧ",mie="≬",_ie="↞",bie="↠",yie="Ú",vie="ú",wie="↑",xie="↟",kie="⇑",Eie="⥉",Cie="Ў",Aie="ў",Sie="Ŭ",Tie="ŭ",Mie="Û",Oie="û",Rie="У",Nie="у",Die="⇅",Lie="Ű",Iie="ű",Pie="⥮",Fie="⥾",Bie="𝔘",$ie="𝔲",jie="Ù",zie="ù",Uie="⥣",qie="↿",Hie="↾",Vie="▀",Gie="⌜",Kie="⌜",Wie="⌏",Zie="◸",Yie="Ū",Qie="ū",Jie="¨",Xie="_",eae="⏟",tae="⎵",nae="⏝",sae="⋃",oae="⊎",rae="Ų",iae="ų",aae="𝕌",lae="𝕦",cae="⤒",uae="↑",dae="↑",hae="⇑",fae="⇅",pae="↕",gae="↕",mae="⇕",_ae="⥮",bae="↿",yae="↾",vae="⊎",wae="↖",xae="↗",kae="υ",Eae="ϒ",Cae="ϒ",Aae="Υ",Sae="υ",Tae="↥",Mae="⊥",Oae="⇈",Rae="⌝",Nae="⌝",Dae="⌎",Lae="Ů",Iae="ů",Pae="◹",Fae="𝒰",Bae="𝓊",$ae="⋰",jae="Ũ",zae="ũ",Uae="▵",qae="▴",Hae="⇈",Vae="Ü",Gae="ü",Kae="⦧",Wae="⦜",Zae="ϵ",Yae="ϰ",Qae="∅",Jae="ϕ",Xae="ϖ",ele="∝",tle="↕",nle="⇕",sle="ϱ",ole="ς",rle="⊊︀",ile="⫋︀",ale="⊋︀",lle="⫌︀",cle="ϑ",ule="⊲",dle="⊳",hle="⫨",fle="⫫",ple="⫩",gle="В",mle="в",_le="⊢",ble="⊨",yle="⊩",vle="⊫",wle="⫦",xle="⊻",kle="∨",Ele="⋁",Cle="≚",Ale="⋮",Sle="|",Tle="‖",Mle="|",Ole="‖",Rle="∣",Nle="|",Dle="❘",Lle="≀",Ile=" ",Ple="𝔙",Fle="𝔳",Ble="⊲",$le="⊂⃒",jle="⊃⃒",zle="𝕍",Ule="𝕧",qle="∝",Hle="⊳",Vle="𝒱",Gle="𝓋",Kle="⫋︀",Wle="⊊︀",Zle="⫌︀",Yle="⊋︀",Qle="⊪",Jle="⦚",Xle="Ŵ",ece="ŵ",tce="⩟",nce="∧",sce="⋀",oce="≙",rce="℘",ice="𝔚",ace="𝔴",lce="𝕎",cce="𝕨",uce="℘",dce="≀",hce="≀",fce="𝒲",pce="𝓌",gce="⋂",mce="◯",_ce="⋃",bce="▽",yce="𝔛",vce="𝔵",wce="⟷",xce="⟺",kce="Ξ",Ece="ξ",Cce="⟵",Ace="⟸",Sce="⟼",Tce="⋻",Mce="⨀",Oce="𝕏",Rce="𝕩",Nce="⨁",Dce="⨂",Lce="⟶",Ice="⟹",Pce="𝒳",Fce="𝓍",Bce="⨆",$ce="⨄",jce="△",zce="⋁",Uce="⋀",qce="Ý",Hce="ý",Vce="Я",Gce="я",Kce="Ŷ",Wce="ŷ",Zce="Ы",Yce="ы",Qce="¥",Jce="𝔜",Xce="𝔶",eue="Ї",tue="ї",nue="𝕐",sue="𝕪",oue="𝒴",rue="𝓎",iue="Ю",aue="ю",lue="ÿ",cue="Ÿ",uue="Ź",due="ź",hue="Ž",fue="ž",pue="З",gue="з",mue="Ż",_ue="ż",bue="ℨ",yue="​",vue="Ζ",wue="ζ",xue="𝔷",kue="ℨ",Eue="Ж",Cue="ж",Aue="⇝",Sue="𝕫",Tue="ℤ",Mue="𝒵",Oue="𝓏",Rue="‍",Nue="‌",Due={Aacute:m6,aacute:_6,Abreve:b6,abreve:y6,ac:v6,acd:w6,acE:x6,Acirc:k6,acirc:E6,acute:C6,Acy:A6,acy:S6,AElig:T6,aelig:M6,af:O6,Afr:R6,afr:N6,Agrave:D6,agrave:L6,alefsym:I6,aleph:P6,Alpha:F6,alpha:B6,Amacr:$6,amacr:j6,amalg:z6,amp:U6,AMP:q6,andand:H6,And:V6,and:G6,andd:K6,andslope:W6,andv:Z6,ang:Y6,ange:Q6,angle:J6,angmsdaa:X6,angmsdab:eS,angmsdac:tS,angmsdad:nS,angmsdae:sS,angmsdaf:oS,angmsdag:rS,angmsdah:iS,angmsd:aS,angrt:lS,angrtvb:cS,angrtvbd:uS,angsph:dS,angst:hS,angzarr:fS,Aogon:pS,aogon:gS,Aopf:mS,aopf:_S,apacir:bS,ap:yS,apE:vS,ape:wS,apid:xS,apos:kS,ApplyFunction:ES,approx:CS,approxeq:AS,Aring:SS,aring:TS,Ascr:MS,ascr:OS,Assign:RS,ast:NS,asymp:DS,asympeq:LS,Atilde:IS,atilde:PS,Auml:FS,auml:BS,awconint:$S,awint:jS,backcong:zS,backepsilon:US,backprime:qS,backsim:HS,backsimeq:VS,Backslash:GS,Barv:KS,barvee:WS,barwed:ZS,Barwed:YS,barwedge:QS,bbrk:JS,bbrktbrk:XS,bcong:eT,Bcy:tT,bcy:nT,bdquo:sT,becaus:oT,because:rT,Because:iT,bemptyv:aT,bepsi:lT,bernou:cT,Bernoullis:uT,Beta:dT,beta:hT,beth:fT,between:pT,Bfr:gT,bfr:mT,bigcap:_T,bigcirc:bT,bigcup:yT,bigodot:vT,bigoplus:wT,bigotimes:xT,bigsqcup:kT,bigstar:ET,bigtriangledown:CT,bigtriangleup:AT,biguplus:ST,bigvee:TT,bigwedge:MT,bkarow:OT,blacklozenge:RT,blacksquare:NT,blacktriangle:DT,blacktriangledown:LT,blacktriangleleft:IT,blacktriangleright:PT,blank:FT,blk12:BT,blk14:$T,blk34:jT,block:zT,bne:UT,bnequiv:qT,bNot:HT,bnot:VT,Bopf:GT,bopf:KT,bot:WT,bottom:ZT,bowtie:YT,boxbox:QT,boxdl:JT,boxdL:XT,boxDl:e7,boxDL:t7,boxdr:n7,boxdR:s7,boxDr:o7,boxDR:r7,boxh:i7,boxH:a7,boxhd:l7,boxHd:c7,boxhD:u7,boxHD:d7,boxhu:h7,boxHu:f7,boxhU:p7,boxHU:g7,boxminus:m7,boxplus:_7,boxtimes:b7,boxul:y7,boxuL:v7,boxUl:w7,boxUL:x7,boxur:k7,boxuR:E7,boxUr:C7,boxUR:A7,boxv:S7,boxV:T7,boxvh:M7,boxvH:O7,boxVh:R7,boxVH:N7,boxvl:D7,boxvL:L7,boxVl:I7,boxVL:P7,boxvr:F7,boxvR:B7,boxVr:$7,boxVR:j7,bprime:z7,breve:U7,Breve:q7,brvbar:H7,bscr:V7,Bscr:G7,bsemi:K7,bsim:W7,bsime:Z7,bsolb:Y7,bsol:Q7,bsolhsub:J7,bull:X7,bullet:eM,bump:tM,bumpE:nM,bumpe:sM,Bumpeq:oM,bumpeq:rM,Cacute:iM,cacute:aM,capand:lM,capbrcup:cM,capcap:uM,cap:dM,Cap:hM,capcup:fM,capdot:pM,CapitalDifferentialD:gM,caps:mM,caret:_M,caron:bM,Cayleys:yM,ccaps:vM,Ccaron:wM,ccaron:xM,Ccedil:kM,ccedil:EM,Ccirc:CM,ccirc:AM,Cconint:SM,ccups:TM,ccupssm:MM,Cdot:OM,cdot:RM,cedil:NM,Cedilla:DM,cemptyv:LM,cent:IM,centerdot:PM,CenterDot:FM,cfr:BM,Cfr:$M,CHcy:jM,chcy:zM,check:UM,checkmark:qM,Chi:HM,chi:VM,circ:GM,circeq:KM,circlearrowleft:WM,circlearrowright:ZM,circledast:YM,circledcirc:QM,circleddash:JM,CircleDot:XM,circledR:eO,circledS:tO,CircleMinus:nO,CirclePlus:sO,CircleTimes:oO,cir:rO,cirE:iO,cire:aO,cirfnint:lO,cirmid:cO,cirscir:uO,ClockwiseContourIntegral:dO,CloseCurlyDoubleQuote:hO,CloseCurlyQuote:fO,clubs:pO,clubsuit:gO,colon:mO,Colon:_O,Colone:bO,colone:yO,coloneq:vO,comma:wO,commat:xO,comp:kO,compfn:EO,complement:CO,complexes:AO,cong:SO,congdot:TO,Congruent:MO,conint:OO,Conint:RO,ContourIntegral:NO,copf:DO,Copf:LO,coprod:IO,Coproduct:PO,copy:FO,COPY:BO,copysr:$O,CounterClockwiseContourIntegral:jO,crarr:zO,cross:UO,Cross:qO,Cscr:HO,cscr:VO,csub:GO,csube:KO,csup:WO,csupe:ZO,ctdot:YO,cudarrl:QO,cudarrr:JO,cuepr:XO,cuesc:eR,cularr:tR,cularrp:nR,cupbrcap:sR,cupcap:oR,CupCap:rR,cup:iR,Cup:aR,cupcup:lR,cupdot:cR,cupor:uR,cups:dR,curarr:hR,curarrm:fR,curlyeqprec:pR,curlyeqsucc:gR,curlyvee:mR,curlywedge:_R,curren:bR,curvearrowleft:yR,curvearrowright:vR,cuvee:wR,cuwed:xR,cwconint:kR,cwint:ER,cylcty:CR,dagger:AR,Dagger:SR,daleth:TR,darr:MR,Darr:OR,dArr:RR,dash:NR,Dashv:DR,dashv:LR,dbkarow:IR,dblac:PR,Dcaron:FR,dcaron:BR,Dcy:$R,dcy:jR,ddagger:zR,ddarr:UR,DD:qR,dd:HR,DDotrahd:VR,ddotseq:GR,deg:KR,Del:WR,Delta:ZR,delta:YR,demptyv:QR,dfisht:JR,Dfr:XR,dfr:eN,dHar:tN,dharl:nN,dharr:sN,DiacriticalAcute:oN,DiacriticalDot:rN,DiacriticalDoubleAcute:iN,DiacriticalGrave:aN,DiacriticalTilde:lN,diam:cN,diamond:uN,Diamond:dN,diamondsuit:hN,diams:fN,die:pN,DifferentialD:gN,digamma:mN,disin:_N,div:bN,divide:yN,divideontimes:vN,divonx:wN,DJcy:xN,djcy:kN,dlcorn:EN,dlcrop:CN,dollar:AN,Dopf:SN,dopf:TN,Dot:MN,dot:ON,DotDot:RN,doteq:NN,doteqdot:DN,DotEqual:LN,dotminus:IN,dotplus:PN,dotsquare:FN,doublebarwedge:BN,DoubleContourIntegral:$N,DoubleDot:jN,DoubleDownArrow:zN,DoubleLeftArrow:UN,DoubleLeftRightArrow:qN,DoubleLeftTee:HN,DoubleLongLeftArrow:VN,DoubleLongLeftRightArrow:GN,DoubleLongRightArrow:KN,DoubleRightArrow:WN,DoubleRightTee:ZN,DoubleUpArrow:YN,DoubleUpDownArrow:QN,DoubleVerticalBar:JN,DownArrowBar:XN,downarrow:eD,DownArrow:tD,Downarrow:nD,DownArrowUpArrow:sD,DownBreve:oD,downdownarrows:rD,downharpoonleft:iD,downharpoonright:aD,DownLeftRightVector:lD,DownLeftTeeVector:cD,DownLeftVectorBar:uD,DownLeftVector:dD,DownRightTeeVector:hD,DownRightVectorBar:fD,DownRightVector:pD,DownTeeArrow:gD,DownTee:mD,drbkarow:_D,drcorn:bD,drcrop:yD,Dscr:vD,dscr:wD,DScy:xD,dscy:kD,dsol:ED,Dstrok:CD,dstrok:AD,dtdot:SD,dtri:TD,dtrif:MD,duarr:OD,duhar:RD,dwangle:ND,DZcy:DD,dzcy:LD,dzigrarr:ID,Eacute:PD,eacute:FD,easter:BD,Ecaron:$D,ecaron:jD,Ecirc:zD,ecirc:UD,ecir:qD,ecolon:HD,Ecy:VD,ecy:GD,eDDot:KD,Edot:WD,edot:ZD,eDot:YD,ee:QD,efDot:JD,Efr:XD,efr:eL,eg:tL,Egrave:nL,egrave:sL,egs:oL,egsdot:rL,el:iL,Element:aL,elinters:lL,ell:cL,els:uL,elsdot:dL,Emacr:hL,emacr:fL,empty:pL,emptyset:gL,EmptySmallSquare:mL,emptyv:_L,EmptyVerySmallSquare:bL,emsp13:yL,emsp14:vL,emsp:wL,ENG:xL,eng:kL,ensp:EL,Eogon:CL,eogon:AL,Eopf:SL,eopf:TL,epar:ML,eparsl:OL,eplus:RL,epsi:NL,Epsilon:DL,epsilon:LL,epsiv:IL,eqcirc:PL,eqcolon:FL,eqsim:BL,eqslantgtr:$L,eqslantless:jL,Equal:zL,equals:UL,EqualTilde:qL,equest:HL,Equilibrium:VL,equiv:GL,equivDD:KL,eqvparsl:WL,erarr:ZL,erDot:YL,escr:QL,Escr:JL,esdot:XL,Esim:eI,esim:tI,Eta:nI,eta:sI,ETH:oI,eth:rI,Euml:iI,euml:aI,euro:lI,excl:cI,exist:uI,Exists:dI,expectation:hI,exponentiale:fI,ExponentialE:pI,fallingdotseq:gI,Fcy:mI,fcy:_I,female:bI,ffilig:yI,fflig:vI,ffllig:wI,Ffr:xI,ffr:kI,filig:EI,FilledSmallSquare:CI,FilledVerySmallSquare:AI,fjlig:SI,flat:TI,fllig:MI,fltns:OI,fnof:RI,Fopf:NI,fopf:DI,forall:LI,ForAll:II,fork:PI,forkv:FI,Fouriertrf:BI,fpartint:$I,frac12:jI,frac13:zI,frac14:UI,frac15:qI,frac16:HI,frac18:VI,frac23:GI,frac25:KI,frac34:WI,frac35:ZI,frac38:YI,frac45:QI,frac56:JI,frac58:XI,frac78:eP,frasl:tP,frown:nP,fscr:sP,Fscr:oP,gacute:rP,Gamma:iP,gamma:aP,Gammad:lP,gammad:cP,gap:uP,Gbreve:dP,gbreve:hP,Gcedil:fP,Gcirc:pP,gcirc:gP,Gcy:mP,gcy:_P,Gdot:bP,gdot:yP,ge:vP,gE:wP,gEl:xP,gel:kP,geq:EP,geqq:CP,geqslant:AP,gescc:SP,ges:TP,gesdot:MP,gesdoto:OP,gesdotol:RP,gesl:NP,gesles:DP,Gfr:LP,gfr:IP,gg:PP,Gg:FP,ggg:BP,gimel:$P,GJcy:jP,gjcy:zP,gla:UP,gl:qP,glE:HP,glj:VP,gnap:GP,gnapprox:KP,gne:WP,gnE:ZP,gneq:YP,gneqq:QP,gnsim:JP,Gopf:XP,gopf:eF,grave:tF,GreaterEqual:nF,GreaterEqualLess:sF,GreaterFullEqual:oF,GreaterGreater:rF,GreaterLess:iF,GreaterSlantEqual:aF,GreaterTilde:lF,Gscr:cF,gscr:uF,gsim:dF,gsime:hF,gsiml:fF,gtcc:pF,gtcir:gF,gt:mF,GT:_F,Gt:bF,gtdot:yF,gtlPar:vF,gtquest:wF,gtrapprox:xF,gtrarr:kF,gtrdot:EF,gtreqless:CF,gtreqqless:AF,gtrless:SF,gtrsim:TF,gvertneqq:MF,gvnE:OF,Hacek:RF,hairsp:NF,half:DF,hamilt:LF,HARDcy:IF,hardcy:PF,harrcir:FF,harr:BF,hArr:$F,harrw:jF,Hat:zF,hbar:UF,Hcirc:qF,hcirc:HF,hearts:VF,heartsuit:GF,hellip:KF,hercon:WF,hfr:ZF,Hfr:YF,HilbertSpace:QF,hksearow:JF,hkswarow:XF,hoarr:eB,homtht:tB,hookleftarrow:nB,hookrightarrow:sB,hopf:oB,Hopf:rB,horbar:iB,HorizontalLine:aB,hscr:lB,Hscr:cB,hslash:uB,Hstrok:dB,hstrok:hB,HumpDownHump:fB,HumpEqual:pB,hybull:gB,hyphen:mB,Iacute:_B,iacute:bB,ic:yB,Icirc:vB,icirc:wB,Icy:xB,icy:kB,Idot:EB,IEcy:CB,iecy:AB,iexcl:SB,iff:TB,ifr:MB,Ifr:OB,Igrave:RB,igrave:NB,ii:DB,iiiint:LB,iiint:IB,iinfin:PB,iiota:FB,IJlig:BB,ijlig:$B,Imacr:jB,imacr:zB,image:UB,ImaginaryI:qB,imagline:HB,imagpart:VB,imath:GB,Im:KB,imof:WB,imped:ZB,Implies:YB,incare:QB,in:"∈",infin:JB,infintie:XB,inodot:e$,intcal:t$,int:n$,Int:s$,integers:o$,Integral:r$,intercal:i$,Intersection:a$,intlarhk:l$,intprod:c$,InvisibleComma:u$,InvisibleTimes:d$,IOcy:h$,iocy:f$,Iogon:p$,iogon:g$,Iopf:m$,iopf:_$,Iota:b$,iota:y$,iprod:v$,iquest:w$,iscr:x$,Iscr:k$,isin:E$,isindot:C$,isinE:A$,isins:S$,isinsv:T$,isinv:M$,it:O$,Itilde:R$,itilde:N$,Iukcy:D$,iukcy:L$,Iuml:I$,iuml:P$,Jcirc:F$,jcirc:B$,Jcy:$$,jcy:j$,Jfr:z$,jfr:U$,jmath:q$,Jopf:H$,jopf:V$,Jscr:G$,jscr:K$,Jsercy:W$,jsercy:Z$,Jukcy:Y$,jukcy:Q$,Kappa:J$,kappa:X$,kappav:ej,Kcedil:tj,kcedil:nj,Kcy:sj,kcy:oj,Kfr:rj,kfr:ij,kgreen:aj,KHcy:lj,khcy:cj,KJcy:uj,kjcy:dj,Kopf:hj,kopf:fj,Kscr:pj,kscr:gj,lAarr:mj,Lacute:_j,lacute:bj,laemptyv:yj,lagran:vj,Lambda:wj,lambda:xj,lang:kj,Lang:Ej,langd:Cj,langle:Aj,lap:Sj,Laplacetrf:Tj,laquo:Mj,larrb:Oj,larrbfs:Rj,larr:Nj,Larr:Dj,lArr:Lj,larrfs:Ij,larrhk:Pj,larrlp:Fj,larrpl:Bj,larrsim:$j,larrtl:jj,latail:zj,lAtail:Uj,lat:qj,late:Hj,lates:Vj,lbarr:Gj,lBarr:Kj,lbbrk:Wj,lbrace:Zj,lbrack:Yj,lbrke:Qj,lbrksld:Jj,lbrkslu:Xj,Lcaron:ez,lcaron:tz,Lcedil:nz,lcedil:sz,lceil:oz,lcub:rz,Lcy:iz,lcy:az,ldca:lz,ldquo:cz,ldquor:uz,ldrdhar:dz,ldrushar:hz,ldsh:fz,le:pz,lE:gz,LeftAngleBracket:mz,LeftArrowBar:_z,leftarrow:bz,LeftArrow:yz,Leftarrow:vz,LeftArrowRightArrow:wz,leftarrowtail:xz,LeftCeiling:kz,LeftDoubleBracket:Ez,LeftDownTeeVector:Cz,LeftDownVectorBar:Az,LeftDownVector:Sz,LeftFloor:Tz,leftharpoondown:Mz,leftharpoonup:Oz,leftleftarrows:Rz,leftrightarrow:Nz,LeftRightArrow:Dz,Leftrightarrow:Lz,leftrightarrows:Iz,leftrightharpoons:Pz,leftrightsquigarrow:Fz,LeftRightVector:Bz,LeftTeeArrow:$z,LeftTee:jz,LeftTeeVector:zz,leftthreetimes:Uz,LeftTriangleBar:qz,LeftTriangle:Hz,LeftTriangleEqual:Vz,LeftUpDownVector:Gz,LeftUpTeeVector:Kz,LeftUpVectorBar:Wz,LeftUpVector:Zz,LeftVectorBar:Yz,LeftVector:Qz,lEg:Jz,leg:Xz,leq:eU,leqq:tU,leqslant:nU,lescc:sU,les:oU,lesdot:rU,lesdoto:iU,lesdotor:aU,lesg:lU,lesges:cU,lessapprox:uU,lessdot:dU,lesseqgtr:hU,lesseqqgtr:fU,LessEqualGreater:pU,LessFullEqual:gU,LessGreater:mU,lessgtr:_U,LessLess:bU,lesssim:yU,LessSlantEqual:vU,LessTilde:wU,lfisht:xU,lfloor:kU,Lfr:EU,lfr:CU,lg:AU,lgE:SU,lHar:TU,lhard:MU,lharu:OU,lharul:RU,lhblk:NU,LJcy:DU,ljcy:LU,llarr:IU,ll:PU,Ll:FU,llcorner:BU,Lleftarrow:$U,llhard:jU,lltri:zU,Lmidot:UU,lmidot:qU,lmoustache:HU,lmoust:VU,lnap:GU,lnapprox:KU,lne:WU,lnE:ZU,lneq:YU,lneqq:QU,lnsim:JU,loang:XU,loarr:eq,lobrk:tq,longleftarrow:nq,LongLeftArrow:sq,Longleftarrow:oq,longleftrightarrow:rq,LongLeftRightArrow:iq,Longleftrightarrow:aq,longmapsto:lq,longrightarrow:cq,LongRightArrow:uq,Longrightarrow:dq,looparrowleft:hq,looparrowright:fq,lopar:pq,Lopf:gq,lopf:mq,loplus:_q,lotimes:bq,lowast:yq,lowbar:vq,LowerLeftArrow:wq,LowerRightArrow:xq,loz:kq,lozenge:Eq,lozf:Cq,lpar:Aq,lparlt:Sq,lrarr:Tq,lrcorner:Mq,lrhar:Oq,lrhard:Rq,lrm:Nq,lrtri:Dq,lsaquo:Lq,lscr:Iq,Lscr:Pq,lsh:Fq,Lsh:Bq,lsim:$q,lsime:jq,lsimg:zq,lsqb:Uq,lsquo:qq,lsquor:Hq,Lstrok:Vq,lstrok:Gq,ltcc:Kq,ltcir:Wq,lt:Zq,LT:Yq,Lt:Qq,ltdot:Jq,lthree:Xq,ltimes:eH,ltlarr:tH,ltquest:nH,ltri:sH,ltrie:oH,ltrif:rH,ltrPar:iH,lurdshar:aH,luruhar:lH,lvertneqq:cH,lvnE:uH,macr:dH,male:hH,malt:fH,maltese:pH,Map:"⤅",map:gH,mapsto:mH,mapstodown:_H,mapstoleft:bH,mapstoup:yH,marker:vH,mcomma:wH,Mcy:xH,mcy:kH,mdash:EH,mDDot:CH,measuredangle:AH,MediumSpace:SH,Mellintrf:TH,Mfr:MH,mfr:OH,mho:RH,micro:NH,midast:DH,midcir:LH,mid:IH,middot:PH,minusb:FH,minus:BH,minusd:$H,minusdu:jH,MinusPlus:zH,mlcp:UH,mldr:qH,mnplus:HH,models:VH,Mopf:GH,mopf:KH,mp:WH,mscr:ZH,Mscr:YH,mstpos:QH,Mu:JH,mu:XH,multimap:eV,mumap:tV,nabla:nV,Nacute:sV,nacute:oV,nang:rV,nap:iV,napE:aV,napid:lV,napos:cV,napprox:uV,natural:dV,naturals:hV,natur:fV,nbsp:pV,nbump:gV,nbumpe:mV,ncap:_V,Ncaron:bV,ncaron:yV,Ncedil:vV,ncedil:wV,ncong:xV,ncongdot:kV,ncup:EV,Ncy:CV,ncy:AV,ndash:SV,nearhk:TV,nearr:MV,neArr:OV,nearrow:RV,ne:NV,nedot:DV,NegativeMediumSpace:LV,NegativeThickSpace:IV,NegativeThinSpace:PV,NegativeVeryThinSpace:FV,nequiv:BV,nesear:$V,nesim:jV,NestedGreaterGreater:zV,NestedLessLess:UV,NewLine:qV,nexist:HV,nexists:VV,Nfr:GV,nfr:KV,ngE:WV,nge:ZV,ngeq:YV,ngeqq:QV,ngeqslant:JV,nges:XV,nGg:eG,ngsim:tG,nGt:nG,ngt:sG,ngtr:oG,nGtv:rG,nharr:iG,nhArr:aG,nhpar:lG,ni:cG,nis:uG,nisd:dG,niv:hG,NJcy:fG,njcy:pG,nlarr:gG,nlArr:mG,nldr:_G,nlE:bG,nle:yG,nleftarrow:vG,nLeftarrow:wG,nleftrightarrow:xG,nLeftrightarrow:kG,nleq:EG,nleqq:CG,nleqslant:AG,nles:SG,nless:TG,nLl:MG,nlsim:OG,nLt:RG,nlt:NG,nltri:DG,nltrie:LG,nLtv:IG,nmid:PG,NoBreak:FG,NonBreakingSpace:BG,nopf:$G,Nopf:jG,Not:zG,not:UG,NotCongruent:qG,NotCupCap:HG,NotDoubleVerticalBar:VG,NotElement:GG,NotEqual:KG,NotEqualTilde:WG,NotExists:ZG,NotGreater:YG,NotGreaterEqual:QG,NotGreaterFullEqual:JG,NotGreaterGreater:XG,NotGreaterLess:eK,NotGreaterSlantEqual:tK,NotGreaterTilde:nK,NotHumpDownHump:sK,NotHumpEqual:oK,notin:rK,notindot:iK,notinE:aK,notinva:lK,notinvb:cK,notinvc:uK,NotLeftTriangleBar:dK,NotLeftTriangle:hK,NotLeftTriangleEqual:fK,NotLess:pK,NotLessEqual:gK,NotLessGreater:mK,NotLessLess:_K,NotLessSlantEqual:bK,NotLessTilde:yK,NotNestedGreaterGreater:vK,NotNestedLessLess:wK,notni:xK,notniva:kK,notnivb:EK,notnivc:CK,NotPrecedes:AK,NotPrecedesEqual:SK,NotPrecedesSlantEqual:TK,NotReverseElement:MK,NotRightTriangleBar:OK,NotRightTriangle:RK,NotRightTriangleEqual:NK,NotSquareSubset:DK,NotSquareSubsetEqual:LK,NotSquareSuperset:IK,NotSquareSupersetEqual:PK,NotSubset:FK,NotSubsetEqual:BK,NotSucceeds:$K,NotSucceedsEqual:jK,NotSucceedsSlantEqual:zK,NotSucceedsTilde:UK,NotSuperset:qK,NotSupersetEqual:HK,NotTilde:VK,NotTildeEqual:GK,NotTildeFullEqual:KK,NotTildeTilde:WK,NotVerticalBar:ZK,nparallel:YK,npar:QK,nparsl:JK,npart:XK,npolint:eW,npr:tW,nprcue:nW,nprec:sW,npreceq:oW,npre:rW,nrarrc:iW,nrarr:aW,nrArr:lW,nrarrw:cW,nrightarrow:uW,nRightarrow:dW,nrtri:hW,nrtrie:fW,nsc:pW,nsccue:gW,nsce:mW,Nscr:_W,nscr:bW,nshortmid:yW,nshortparallel:vW,nsim:wW,nsime:xW,nsimeq:kW,nsmid:EW,nspar:CW,nsqsube:AW,nsqsupe:SW,nsub:TW,nsubE:MW,nsube:OW,nsubset:RW,nsubseteq:NW,nsubseteqq:DW,nsucc:LW,nsucceq:IW,nsup:PW,nsupE:FW,nsupe:BW,nsupset:$W,nsupseteq:jW,nsupseteqq:zW,ntgl:UW,Ntilde:qW,ntilde:HW,ntlg:VW,ntriangleleft:GW,ntrianglelefteq:KW,ntriangleright:WW,ntrianglerighteq:ZW,Nu:YW,nu:QW,num:JW,numero:XW,numsp:eZ,nvap:tZ,nvdash:nZ,nvDash:sZ,nVdash:oZ,nVDash:rZ,nvge:iZ,nvgt:aZ,nvHarr:lZ,nvinfin:cZ,nvlArr:uZ,nvle:dZ,nvlt:hZ,nvltrie:fZ,nvrArr:pZ,nvrtrie:gZ,nvsim:mZ,nwarhk:_Z,nwarr:bZ,nwArr:yZ,nwarrow:vZ,nwnear:wZ,Oacute:xZ,oacute:kZ,oast:EZ,Ocirc:CZ,ocirc:AZ,ocir:SZ,Ocy:TZ,ocy:MZ,odash:OZ,Odblac:RZ,odblac:NZ,odiv:DZ,odot:LZ,odsold:IZ,OElig:PZ,oelig:FZ,ofcir:BZ,Ofr:$Z,ofr:jZ,ogon:zZ,Ograve:UZ,ograve:qZ,ogt:HZ,ohbar:VZ,ohm:GZ,oint:KZ,olarr:WZ,olcir:ZZ,olcross:YZ,oline:QZ,olt:JZ,Omacr:XZ,omacr:eY,Omega:tY,omega:nY,Omicron:sY,omicron:oY,omid:rY,ominus:iY,Oopf:aY,oopf:lY,opar:cY,OpenCurlyDoubleQuote:uY,OpenCurlyQuote:dY,operp:hY,oplus:fY,orarr:pY,Or:gY,or:mY,ord:_Y,order:bY,orderof:yY,ordf:vY,ordm:wY,origof:xY,oror:kY,orslope:EY,orv:CY,oS:AY,Oscr:SY,oscr:TY,Oslash:MY,oslash:OY,osol:RY,Otilde:NY,otilde:DY,otimesas:LY,Otimes:IY,otimes:PY,Ouml:FY,ouml:BY,ovbar:$Y,OverBar:jY,OverBrace:zY,OverBracket:UY,OverParenthesis:qY,para:HY,parallel:VY,par:GY,parsim:KY,parsl:WY,part:ZY,PartialD:YY,Pcy:QY,pcy:JY,percnt:XY,period:eQ,permil:tQ,perp:nQ,pertenk:sQ,Pfr:oQ,pfr:rQ,Phi:iQ,phi:aQ,phiv:lQ,phmmat:cQ,phone:uQ,Pi:dQ,pi:hQ,pitchfork:fQ,piv:pQ,planck:gQ,planckh:mQ,plankv:_Q,plusacir:bQ,plusb:yQ,pluscir:vQ,plus:wQ,plusdo:xQ,plusdu:kQ,pluse:EQ,PlusMinus:CQ,plusmn:AQ,plussim:SQ,plustwo:TQ,pm:MQ,Poincareplane:OQ,pointint:RQ,popf:NQ,Popf:DQ,pound:LQ,prap:IQ,Pr:PQ,pr:FQ,prcue:BQ,precapprox:$Q,prec:jQ,preccurlyeq:zQ,Precedes:UQ,PrecedesEqual:qQ,PrecedesSlantEqual:HQ,PrecedesTilde:VQ,preceq:GQ,precnapprox:KQ,precneqq:WQ,precnsim:ZQ,pre:YQ,prE:QQ,precsim:JQ,prime:XQ,Prime:eJ,primes:tJ,prnap:nJ,prnE:sJ,prnsim:oJ,prod:rJ,Product:iJ,profalar:aJ,profline:lJ,profsurf:cJ,prop:uJ,Proportional:dJ,Proportion:hJ,propto:fJ,prsim:pJ,prurel:gJ,Pscr:mJ,pscr:_J,Psi:bJ,psi:yJ,puncsp:vJ,Qfr:wJ,qfr:xJ,qint:kJ,qopf:EJ,Qopf:CJ,qprime:AJ,Qscr:SJ,qscr:TJ,quaternions:MJ,quatint:OJ,quest:RJ,questeq:NJ,quot:DJ,QUOT:LJ,rAarr:IJ,race:PJ,Racute:FJ,racute:BJ,radic:$J,raemptyv:jJ,rang:zJ,Rang:UJ,rangd:qJ,range:HJ,rangle:VJ,raquo:GJ,rarrap:KJ,rarrb:WJ,rarrbfs:ZJ,rarrc:YJ,rarr:QJ,Rarr:JJ,rArr:XJ,rarrfs:eX,rarrhk:tX,rarrlp:nX,rarrpl:sX,rarrsim:oX,Rarrtl:rX,rarrtl:iX,rarrw:aX,ratail:lX,rAtail:cX,ratio:uX,rationals:dX,rbarr:hX,rBarr:fX,RBarr:pX,rbbrk:gX,rbrace:mX,rbrack:_X,rbrke:bX,rbrksld:yX,rbrkslu:vX,Rcaron:wX,rcaron:xX,Rcedil:kX,rcedil:EX,rceil:CX,rcub:AX,Rcy:SX,rcy:TX,rdca:MX,rdldhar:OX,rdquo:RX,rdquor:NX,rdsh:DX,real:LX,realine:IX,realpart:PX,reals:FX,Re:BX,rect:$X,reg:jX,REG:zX,ReverseElement:UX,ReverseEquilibrium:qX,ReverseUpEquilibrium:HX,rfisht:VX,rfloor:GX,rfr:KX,Rfr:WX,rHar:ZX,rhard:YX,rharu:QX,rharul:JX,Rho:XX,rho:eee,rhov:tee,RightAngleBracket:nee,RightArrowBar:see,rightarrow:oee,RightArrow:ree,Rightarrow:iee,RightArrowLeftArrow:aee,rightarrowtail:lee,RightCeiling:cee,RightDoubleBracket:uee,RightDownTeeVector:dee,RightDownVectorBar:hee,RightDownVector:fee,RightFloor:pee,rightharpoondown:gee,rightharpoonup:mee,rightleftarrows:_ee,rightleftharpoons:bee,rightrightarrows:yee,rightsquigarrow:vee,RightTeeArrow:wee,RightTee:xee,RightTeeVector:kee,rightthreetimes:Eee,RightTriangleBar:Cee,RightTriangle:Aee,RightTriangleEqual:See,RightUpDownVector:Tee,RightUpTeeVector:Mee,RightUpVectorBar:Oee,RightUpVector:Ree,RightVectorBar:Nee,RightVector:Dee,ring:Lee,risingdotseq:Iee,rlarr:Pee,rlhar:Fee,rlm:Bee,rmoustache:$ee,rmoust:jee,rnmid:zee,roang:Uee,roarr:qee,robrk:Hee,ropar:Vee,ropf:Gee,Ropf:Kee,roplus:Wee,rotimes:Zee,RoundImplies:Yee,rpar:Qee,rpargt:Jee,rppolint:Xee,rrarr:ete,Rrightarrow:tte,rsaquo:nte,rscr:ste,Rscr:ote,rsh:rte,Rsh:ite,rsqb:ate,rsquo:lte,rsquor:cte,rthree:ute,rtimes:dte,rtri:hte,rtrie:fte,rtrif:pte,rtriltri:gte,RuleDelayed:mte,ruluhar:_te,rx:bte,Sacute:yte,sacute:vte,sbquo:wte,scap:xte,Scaron:kte,scaron:Ete,Sc:Cte,sc:Ate,sccue:Ste,sce:Tte,scE:Mte,Scedil:Ote,scedil:Rte,Scirc:Nte,scirc:Dte,scnap:Lte,scnE:Ite,scnsim:Pte,scpolint:Fte,scsim:Bte,Scy:$te,scy:jte,sdotb:zte,sdot:Ute,sdote:qte,searhk:Hte,searr:Vte,seArr:Gte,searrow:Kte,sect:Wte,semi:Zte,seswar:Yte,setminus:Qte,setmn:Jte,sext:Xte,Sfr:ene,sfr:tne,sfrown:nne,sharp:sne,SHCHcy:one,shchcy:rne,SHcy:ine,shcy:ane,ShortDownArrow:lne,ShortLeftArrow:cne,shortmid:une,shortparallel:dne,ShortRightArrow:hne,ShortUpArrow:fne,shy:pne,Sigma:gne,sigma:mne,sigmaf:_ne,sigmav:bne,sim:yne,simdot:vne,sime:wne,simeq:xne,simg:kne,simgE:Ene,siml:Cne,simlE:Ane,simne:Sne,simplus:Tne,simrarr:Mne,slarr:One,SmallCircle:Rne,smallsetminus:Nne,smashp:Dne,smeparsl:Lne,smid:Ine,smile:Pne,smt:Fne,smte:Bne,smtes:$ne,SOFTcy:jne,softcy:zne,solbar:Une,solb:qne,sol:Hne,Sopf:Vne,sopf:Gne,spades:Kne,spadesuit:Wne,spar:Zne,sqcap:Yne,sqcaps:Qne,sqcup:Jne,sqcups:Xne,Sqrt:ese,sqsub:tse,sqsube:nse,sqsubset:sse,sqsubseteq:ose,sqsup:rse,sqsupe:ise,sqsupset:ase,sqsupseteq:lse,square:cse,Square:use,SquareIntersection:dse,SquareSubset:hse,SquareSubsetEqual:fse,SquareSuperset:pse,SquareSupersetEqual:gse,SquareUnion:mse,squarf:_se,squ:bse,squf:yse,srarr:vse,Sscr:wse,sscr:xse,ssetmn:kse,ssmile:Ese,sstarf:Cse,Star:Ase,star:Sse,starf:Tse,straightepsilon:Mse,straightphi:Ose,strns:Rse,sub:Nse,Sub:Dse,subdot:Lse,subE:Ise,sube:Pse,subedot:Fse,submult:Bse,subnE:$se,subne:jse,subplus:zse,subrarr:Use,subset:qse,Subset:Hse,subseteq:Vse,subseteqq:Gse,SubsetEqual:Kse,subsetneq:Wse,subsetneqq:Zse,subsim:Yse,subsub:Qse,subsup:Jse,succapprox:Xse,succ:eoe,succcurlyeq:toe,Succeeds:noe,SucceedsEqual:soe,SucceedsSlantEqual:ooe,SucceedsTilde:roe,succeq:ioe,succnapprox:aoe,succneqq:loe,succnsim:coe,succsim:uoe,SuchThat:doe,sum:hoe,Sum:foe,sung:poe,sup1:goe,sup2:moe,sup3:_oe,sup:boe,Sup:yoe,supdot:voe,supdsub:woe,supE:xoe,supe:koe,supedot:Eoe,Superset:Coe,SupersetEqual:Aoe,suphsol:Soe,suphsub:Toe,suplarr:Moe,supmult:Ooe,supnE:Roe,supne:Noe,supplus:Doe,supset:Loe,Supset:Ioe,supseteq:Poe,supseteqq:Foe,supsetneq:Boe,supsetneqq:$oe,supsim:joe,supsub:zoe,supsup:Uoe,swarhk:qoe,swarr:Hoe,swArr:Voe,swarrow:Goe,swnwar:Koe,szlig:Woe,Tab:Zoe,target:Yoe,Tau:Qoe,tau:Joe,tbrk:Xoe,Tcaron:ere,tcaron:tre,Tcedil:nre,tcedil:sre,Tcy:ore,tcy:rre,tdot:ire,telrec:are,Tfr:lre,tfr:cre,there4:ure,therefore:dre,Therefore:hre,Theta:fre,theta:pre,thetasym:gre,thetav:mre,thickapprox:_re,thicksim:bre,ThickSpace:yre,ThinSpace:vre,thinsp:wre,thkap:xre,thksim:kre,THORN:Ere,thorn:Cre,tilde:Are,Tilde:Sre,TildeEqual:Tre,TildeFullEqual:Mre,TildeTilde:Ore,timesbar:Rre,timesb:Nre,times:Dre,timesd:Lre,tint:Ire,toea:Pre,topbot:Fre,topcir:Bre,top:$re,Topf:jre,topf:zre,topfork:Ure,tosa:qre,tprime:Hre,trade:Vre,TRADE:Gre,triangle:Kre,triangledown:Wre,triangleleft:Zre,trianglelefteq:Yre,triangleq:Qre,triangleright:Jre,trianglerighteq:Xre,tridot:eie,trie:tie,triminus:nie,TripleDot:sie,triplus:oie,trisb:rie,tritime:iie,trpezium:aie,Tscr:lie,tscr:cie,TScy:uie,tscy:die,TSHcy:hie,tshcy:fie,Tstrok:pie,tstrok:gie,twixt:mie,twoheadleftarrow:_ie,twoheadrightarrow:bie,Uacute:yie,uacute:vie,uarr:wie,Uarr:xie,uArr:kie,Uarrocir:Eie,Ubrcy:Cie,ubrcy:Aie,Ubreve:Sie,ubreve:Tie,Ucirc:Mie,ucirc:Oie,Ucy:Rie,ucy:Nie,udarr:Die,Udblac:Lie,udblac:Iie,udhar:Pie,ufisht:Fie,Ufr:Bie,ufr:$ie,Ugrave:jie,ugrave:zie,uHar:Uie,uharl:qie,uharr:Hie,uhblk:Vie,ulcorn:Gie,ulcorner:Kie,ulcrop:Wie,ultri:Zie,Umacr:Yie,umacr:Qie,uml:Jie,UnderBar:Xie,UnderBrace:eae,UnderBracket:tae,UnderParenthesis:nae,Union:sae,UnionPlus:oae,Uogon:rae,uogon:iae,Uopf:aae,uopf:lae,UpArrowBar:cae,uparrow:uae,UpArrow:dae,Uparrow:hae,UpArrowDownArrow:fae,updownarrow:pae,UpDownArrow:gae,Updownarrow:mae,UpEquilibrium:_ae,upharpoonleft:bae,upharpoonright:yae,uplus:vae,UpperLeftArrow:wae,UpperRightArrow:xae,upsi:kae,Upsi:Eae,upsih:Cae,Upsilon:Aae,upsilon:Sae,UpTeeArrow:Tae,UpTee:Mae,upuparrows:Oae,urcorn:Rae,urcorner:Nae,urcrop:Dae,Uring:Lae,uring:Iae,urtri:Pae,Uscr:Fae,uscr:Bae,utdot:$ae,Utilde:jae,utilde:zae,utri:Uae,utrif:qae,uuarr:Hae,Uuml:Vae,uuml:Gae,uwangle:Kae,vangrt:Wae,varepsilon:Zae,varkappa:Yae,varnothing:Qae,varphi:Jae,varpi:Xae,varpropto:ele,varr:tle,vArr:nle,varrho:sle,varsigma:ole,varsubsetneq:rle,varsubsetneqq:ile,varsupsetneq:ale,varsupsetneqq:lle,vartheta:cle,vartriangleleft:ule,vartriangleright:dle,vBar:hle,Vbar:fle,vBarv:ple,Vcy:gle,vcy:mle,vdash:_le,vDash:ble,Vdash:yle,VDash:vle,Vdashl:wle,veebar:xle,vee:kle,Vee:Ele,veeeq:Cle,vellip:Ale,verbar:Sle,Verbar:Tle,vert:Mle,Vert:Ole,VerticalBar:Rle,VerticalLine:Nle,VerticalSeparator:Dle,VerticalTilde:Lle,VeryThinSpace:Ile,Vfr:Ple,vfr:Fle,vltri:Ble,vnsub:$le,vnsup:jle,Vopf:zle,vopf:Ule,vprop:qle,vrtri:Hle,Vscr:Vle,vscr:Gle,vsubnE:Kle,vsubne:Wle,vsupnE:Zle,vsupne:Yle,Vvdash:Qle,vzigzag:Jle,Wcirc:Xle,wcirc:ece,wedbar:tce,wedge:nce,Wedge:sce,wedgeq:oce,weierp:rce,Wfr:ice,wfr:ace,Wopf:lce,wopf:cce,wp:uce,wr:dce,wreath:hce,Wscr:fce,wscr:pce,xcap:gce,xcirc:mce,xcup:_ce,xdtri:bce,Xfr:yce,xfr:vce,xharr:wce,xhArr:xce,Xi:kce,xi:Ece,xlarr:Cce,xlArr:Ace,xmap:Sce,xnis:Tce,xodot:Mce,Xopf:Oce,xopf:Rce,xoplus:Nce,xotime:Dce,xrarr:Lce,xrArr:Ice,Xscr:Pce,xscr:Fce,xsqcup:Bce,xuplus:$ce,xutri:jce,xvee:zce,xwedge:Uce,Yacute:qce,yacute:Hce,YAcy:Vce,yacy:Gce,Ycirc:Kce,ycirc:Wce,Ycy:Zce,ycy:Yce,yen:Qce,Yfr:Jce,yfr:Xce,YIcy:eue,yicy:tue,Yopf:nue,yopf:sue,Yscr:oue,yscr:rue,YUcy:iue,yucy:aue,yuml:lue,Yuml:cue,Zacute:uue,zacute:due,Zcaron:hue,zcaron:fue,Zcy:pue,zcy:gue,Zdot:mue,zdot:_ue,zeetrf:bue,ZeroWidthSpace:yue,Zeta:vue,zeta:wue,zfr:xue,Zfr:kue,ZHcy:Eue,zhcy:Cue,zigrarr:Aue,zopf:Sue,Zopf:Tue,Zscr:Mue,zscr:Oue,zwj:Rue,zwnj:Nue};var rg=Due,rc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Gs={},Zu={};function Lue(t){var e,n,s=Zu[t];if(s)return s;for(s=Zu[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=Lue(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}ui.defaultChars=";/?:@&=+$,-_.!~*'()#";ui.componentChars="-_.!~*'()";var Iue=ui,Yu={};function Pue(t){var e,n,s=Yu[t];if(s)return s;for(s=Yu[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})}di.defaultChars=";/?:@&=+$,#";di.componentChars="";var Fue=di,Bue=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 Sr(){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 $ue=/^([a-z0-9.+-]+:)/i,jue=/:[0-9]*$/,zue=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Uue=["<",">",'"',"`"," ","\r",` -`," "],que=["{","}","|","\\","^","`"].concat(Uue),Hue=["'"].concat(que),Qu=["%","/","?",";","#"].concat(Hue),Ju=["/","?","#"],Vue=255,Xu=/^[+a-z0-9A-Z_-]{0,63}$/,Gue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ed={javascript:!0,"javascript:":!0},td={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Kue(t,e){if(t&&t instanceof Sr)return t;var n=new Sr;return n.parse(t,e),n}Sr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=zue.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=$ue.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&&ed[c])&&(a=a.substr(2),this.slashes=!0)),!ed[c]&&(i||c&&!td[c])){var u=-1;for(n=0;n127?_+="x":_+=b[y];if(!_.match(Xu)){var A=p.slice(0,n),R=p.slice(n+1),O=b.match(Gue);O&&(A.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=A.join(".");break}}}}this.hostname.length>Vue&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=a.indexOf("#");D!==-1&&(this.hash=a.substr(D),a=a.slice(0,D));var v=a.indexOf("?");return v!==-1&&(this.search=a.substr(v),a=a.slice(0,v)),a&&(this.pathname=a),td[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Sr.prototype.parseHost=function(t){var e=jue.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 Wue=Kue;Gs.encode=Iue;Gs.decode=Fue;Gs.format=Bue;Gs.parse=Wue;var Fn={},zi,nd;function ig(){return nd||(nd=1,zi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),zi}var Ui,sd;function ag(){return sd||(sd=1,Ui=/[\0-\x1F\x7F-\x9F]/),Ui}var qi,od;function Zue(){return od||(od=1,qi=/[\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]/),qi}var Hi,rd;function lg(){return rd||(rd=1,Hi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Hi}var id;function Yue(){return id||(id=1,Fn.Any=ig(),Fn.Cc=ag(),Fn.Cf=Zue(),Fn.P=rc,Fn.Z=lg()),Fn}(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,le){return s.call(I,le)}function r(I){var le=Array.prototype.slice.call(arguments,1);return le.forEach(function(Z){if(Z){if(typeof Z!="object")throw new TypeError(Z+"must be object");Object.keys(Z).forEach(function(T){I[T]=Z[T]})}}),I}function i(I,le,Z){return[].concat(I.slice(0,le),Z,I.slice(le+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 le=55296+(I>>10),Z=56320+(I&1023);return String.fromCharCode(le,Z)}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,g=rg;function m(I,le){var Z=0;return o(g,le)?g[le]:le.charCodeAt(0)===35&&f.test(le)&&(Z=le[1].toLowerCase()==="x"?parseInt(le.slice(2),16):parseInt(le.slice(1),10),a(Z))?l(Z):I}function p(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function b(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(h,function(le,Z,T){return Z||m(le,T)})}var _=/[&<>"]/,y=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function A(I){return x[I]}function R(I){return _.test(I)?I.replace(y,A):I}var O=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(O,"\\$&")}function v(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 M=rc;function L(I){return M.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=Gs,t.lib.ucmicro=Yue(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=p,t.unescapeAll=b,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=v,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Q})(ze);var hi={},Que=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=ad(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},Xue=ze.unescapeAll,ede=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)+""};Jt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` -`};Jt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?nde(r.info).trim():"",a="",l="",c,u,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Xn(r.content):c=Xn(r.content),c.indexOf(""+c+` +You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},le=t=>(ns("data-v-55c3ae0c"),t=t(),ss(),t),S5={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},T5={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"},M5={key:0,class:"flex gap-3 flex-1 items-center duration-75"},O5=le(()=>u("i",{"data-feather":"x"},null,-1)),R5=[O5],N5=le(()=>u("i",{"data-feather":"check"},null,-1)),D5=[N5],L5={key:1,class:"flex gap-3 flex-1 items-center"},I5=le(()=>u("i",{"data-feather":"save"},null,-1)),P5=[I5],F5=le(()=>u("i",{"data-feather":"refresh-ccw"},null,-1)),B5=[F5],$5=le(()=>u("i",{"data-feather":"list"},null,-1)),j5=[$5],z5={class:"flex gap-3 flex-1 items-center justify-end"},U5={class:"flex gap-3 items-center"},q5={key:0,class:"flex gap-3 items-center"},H5=le(()=>u("i",{"data-feather":"check"},null,-1)),V5=[H5],G5={key:1,role:"status"},K5=le(()=>u("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"},[u("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"}),u("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)),W5=le(()=>u("span",{class:"sr-only"},"Loading...",-1)),Z5={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"},Y5={class:"flex flex-row p-3"},Q5=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),J5=[Q5],X5=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),e4=[X5],t4=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),n4=le(()=>u("div",{class:"mr-2"},"|",-1)),s4={class:"text-base font-semibold cursor-pointer select-none items-center"},o4={class:"flex gap-2 items-center"},r4={key:0},i4={class:"flex gap-2 items-center"},a4=["title"],l4=os('',34),c4=[l4],u4={class:"font-bold font-large text-lg"},d4={key:1},h4={class:"flex gap-2 items-center"},f4=os('',1),p4={class:"font-bold font-large text-lg"},g4=le(()=>u("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),m4={class:"font-bold font-large text-lg"},_4=le(()=>u("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),b4={class:"font-bold font-large text-lg"},y4={class:"mb-2"},v4=le(()=>u("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[u("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(" CPU Ram usage: ")],-1)),w4={class:"flex flex-col mx-2"},x4=le(()=>u("b",null,"Avaliable ram: ",-1)),k4=le(()=>u("b",null,"Ram usage: ",-1)),E4={class:"p-2"},C4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},A4={class:"mb-2"},S4=le(()=>u("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[u("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),be(" Disk usage: ")],-1)),T4={class:"flex flex-col mx-2"},M4=le(()=>u("b",null,"Avaliable disk space: ",-1)),O4=le(()=>u("b",null,"Disk usage: ",-1)),R4={class:"p-2"},N4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},D4={class:"mb-2"},L4=os('',1),I4={class:"flex flex-col mx-2"},P4=le(()=>u("b",null,"Model: ",-1)),F4=le(()=>u("b",null,"Avaliable vram: ",-1)),B4=le(()=>u("b",null,"GPU usage: ",-1)),$4={class:"p-2"},j4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},z4={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"},U4={class:"flex flex-row p-3"},q4=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),H4=[q4],V4=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),G4=[V4],K4=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),W4={class:"flex flex-col mb-2 px-3 pb-2"},Z4={class:"pb-2"},Y4={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"},Q4=le(()=>u("th",null,"Generic",-1)),J4=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),X4={style:{width:"100%"}},e3=le(()=>u("i",{"data-feather":"check"},null,-1)),t3=[e3],n3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),s3=le(()=>u("i",{"data-feather":"check"},null,-1)),o3=[s3],r3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),i3=le(()=>u("i",{"data-feather":"check"},null,-1)),a3=[i3],l3={class:"pb-2"},c3={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"},u3=le(()=>u("th",null,"User",-1)),d3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),h3={style:{width:"100%"}},f3=le(()=>u("i",{"data-feather":"check"},null,-1)),p3=[f3],g3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),m3={style:{width:"100%"}},_3={for:"avatar-upload"},b3=["src"],y3=le(()=>u("i",{"data-feather":"check"},null,-1)),v3=[y3],w3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),x3=le(()=>u("i",{"data-feather":"check"},null,-1)),k3=[x3],E3={class:"pb-2"},C3={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"},A3=le(()=>u("th",null,"Audio",-1)),S3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),T3=le(()=>u("i",{"data-feather":"check"},null,-1)),M3=[T3],O3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),R3={class:"mt-1 px-2 py-1 border border-gray-300 rounded"},N3=le(()=>u("i",{"data-feather":"check"},null,-1)),D3=[N3],L3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),I3=["value"],P3=le(()=>u("i",{"data-feather":"check"},null,-1)),F3=[P3],B3=le(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),$3=["value"],j3=le(()=>u("i",{"data-feather":"check"},null,-1)),z3=[j3],U3={class:"w-full"},q3={class:"w-full"},H3={class:"w-full"},V3={key:0},G3=le(()=>u("i",{"data-feather":"alert-circle"},null,-1)),K3=[G3],W3={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"},Z3={class:"flex flex-row p-3"},Y3=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),Q3=[Y3],J3=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),X3=[J3],eC=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),tC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},nC=le(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),sC={key:1,class:"mr-2"},oC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},rC={class:"flex gap-1 items-center"},iC=["src"],aC={class:"font-bold font-large text-lg line-clamp-1"},lC={key:0,class:"mb-2"},cC={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},uC=le(()=>u("i",{"data-feather":"chevron-up"},null,-1)),dC=[uC],hC=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),fC=[hC],pC={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"},gC={class:"flex flex-row p-3"},mC=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),_C=[mC],bC=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),yC=[bC],vC=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),wC={class:"flex flex-row items-center"},xC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},kC=le(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),EC={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},CC=le(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),AC={key:2,class:"mr-2"},SC={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},TC={class:"flex gap-1 items-center"},MC=["src"],OC={class:"font-bold font-large text-lg line-clamp-1"},RC={class:"mx-2 mb-4"},NC={class:"relative"},DC={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},LC={key:0},IC=le(()=>u("div",{role:"status"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1)),PC=[IC],FC={key:1},BC=le(()=>u("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"},[u("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),$C=[BC],jC={key:0},zC={key:0,class:"mb-2"},UC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},qC={key:1},HC={key:0,class:"mb-2"},VC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},GC=le(()=>u("i",{"data-feather":"chevron-up"},null,-1)),KC=[GC],WC=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),ZC=[WC],YC={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"},QC={class:"flex flex-row p-3"},JC=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),XC=[JC],e8=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),t8=[e8],n8=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),s8={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},o8=le(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),r8={key:1,class:"mr-2"},i8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},a8={class:"flex gap-1 items-center"},l8=["src"],c8={class:"font-bold font-large text-lg line-clamp-1"},u8={class:"mb-2"},d8={class:"p-2"},h8={key:0},f8={class:"mb-3"},p8=le(()=>u("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),g8={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},m8=le(()=>u("div",{role:"status",class:"justify-center"},null,-1)),_8={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},b8={class:"w-full p-2"},y8={class:"flex justify-between mb-1"},v8=os(' Downloading Loading...',1),w8={class:"text-sm font-medium text-blue-700 dark:text-white"},x8=["title"],k8={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},E8={class:"flex justify-between mb-1"},C8={class:"text-base font-medium text-blue-700 dark:text-white"},A8={class:"text-sm font-medium text-blue-700 dark:text-white"},S8={class:"flex flex-grow"},T8={class:"flex flex-row flex-grow gap-3"},M8={class:"p-2 text-center grow"},O8={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"},R8={class:"flex flex-row p-3 items-center"},N8=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),D8=[N8],L8=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),I8=[L8],P8=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),F8={key:0,class:"mr-2"},B8={class:"mr-2 font-bold font-large text-lg line-clamp-1"},$8={key:1,class:"mr-2"},j8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},z8={key:0,class:"flex -space-x-4 items-center"},U8={class:"group items-center flex flex-row"},q8=["onClick"],H8=["src","title"],V8=["onClick"],G8=le(()=>u("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"},[u("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"},[u("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)),K8=[G8],W8={class:"mx-2 mb-4"},Z8=le(()=>u("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),Y8={class:"relative"},Q8={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},J8={key:0},X8=le(()=>u("div",{role:"status"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1)),e9=[X8],t9={key:1},n9=le(()=>u("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"},[u("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)),s9=[n9],o9={key:0,class:"mx-2 mb-4"},r9={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},i9=["selected"],a9={key:1,class:"mx-2 mb-4"},l9={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},c9=["selected"],u9={key:0,class:"mb-2"},d9={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},h9=le(()=>u("i",{"data-feather":"chevron-up"},null,-1)),f9=[h9],p9=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),g9=[p9],m9={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"},_9={class:"flex flex-row"},b9=le(()=>u("i",{"data-feather":"chevron-right"},null,-1)),y9=[b9],v9=le(()=>u("i",{"data-feather":"chevron-down"},null,-1)),w9=[v9],x9=le(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),k9={class:"m-2"},E9={class:"flex flex-row gap-2 items-center"},C9=le(()=>u("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),A9={class:"m-2"},S9=le(()=>u("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),T9={class:"m-2"},M9={class:"flex flex-col align-bottom"},O9={class:"relative"},R9=le(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),N9={class:"absolute right-0"},D9={class:"m-2"},L9={class:"flex flex-col align-bottom"},I9={class:"relative"},P9=le(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),F9={class:"absolute right-0"},B9={class:"m-2"},$9={class:"flex flex-col align-bottom"},j9={class:"relative"},z9=le(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),U9={class:"absolute right-0"},q9={class:"m-2"},H9={class:"flex flex-col align-bottom"},V9={class:"relative"},G9=le(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),K9={class:"absolute right-0"},W9={class:"m-2"},Z9={class:"flex flex-col align-bottom"},Y9={class:"relative"},Q9=le(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),J9={class:"absolute right-0"},X9={class:"m-2"},eA={class:"flex flex-col align-bottom"},tA={class:"relative"},nA=le(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),sA={class:"absolute right-0"};function oA(t,e,n,s,o,r){const i=Ze("BindingEntry"),a=Ze("model-entry"),l=Ze("personality-entry"),c=Ze("YesNoDialog"),d=Ze("AddModelDialog"),h=Ze("MessageBox"),f=Ze("Toast"),g=Ze("UniversalForm"),m=Ze("ChoiceDialog");return E(),S(Me,null,[u("div",S5,[u("div",T5,[o.showConfirmation?(E(),S("div",M5,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ae(p=>o.showConfirmation=!1,["stop"]))},R5),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ae(p=>r.save_configuration(),["stop"]))},D5)])):B("",!0),o.showConfirmation?B("",!0):(E(),S("div",L5,[u("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},P5),u("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},B5),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ae(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},j5)])),u("div",z5,[u("div",U5,[o.settingsChanged?(E(),S("div",q5,[be(" Apply changes: "),o.isLoading?B("",!0):(E(),S("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ae(p=>r.applyConfiguration(),["stop"]))},V5))])):B("",!0),o.isLoading?(E(),S("div",G5,[u("p",null,H(o.loading_text),1),K5,W5])):B("",!0)])])]),u("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[u("div",Z5,[u("div",Y5,[u("button",{onClick:e[6]||(e[6]=ae(p=>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"},[we(u("div",null,J5,512),[[lt,o.sc_collapsed]]),we(u("div",null,e4,512),[[lt,!o.sc_collapsed]]),t4,n4,u("div",s4,[u("div",o4,[u("div",null,[r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(E(),S("div",r4,[(E(!0),S(Me,null,We(r.vramUsage.gpus,p=>(E(),S("div",i4,[(E(),S("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c4,8,a4)),u("h3",u4,[u("div",null,H(r.computedFileSize(p.used_vram))+" / "+H(r.computedFileSize(p.total_vram))+" ("+H(p.percentage)+"%) ",1)])]))),256))])):B("",!0),r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(E(),S("div",d4,[u("div",h4,[f4,u("h3",p4,[u("div",null,H(r.vramUsage.gpus.length)+"x ",1)])])])):B("",!0)]),g4,u("h3",m4,[u("div",null,H(r.ram_usage)+" / "+H(r.ram_total_space)+" ("+H(r.ram_percent_usage)+"%)",1)]),_4,u("h3",b4,[u("div",null,H(r.disk_binding_models_usage)+" / "+H(r.disk_total_space)+" ("+H(r.disk_percent_usage)+"%)",1)])])])])]),u("div",{class:Te([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",y4,[v4,u("div",w4,[u("div",null,[x4,be(H(r.ram_available_space),1)]),u("div",null,[k4,be(" "+H(r.ram_usage)+" / "+H(r.ram_total_space)+" ("+H(r.ram_percent_usage)+")% ",1)])]),u("div",E4,[u("div",C4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct("width: "+r.ram_percent_usage+"%;")},null,4)])])]),u("div",A4,[S4,u("div",T4,[u("div",null,[M4,be(H(r.disk_available_space),1)]),u("div",null,[O4,be(" "+H(r.disk_binding_models_usage)+" / "+H(r.disk_total_space)+" ("+H(r.disk_percent_usage)+"%)",1)])]),u("div",R4,[u("div",N4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(E(!0),S(Me,null,We(r.vramUsage.gpus,p=>(E(),S("div",D4,[L4,u("div",I4,[u("div",null,[P4,be(H(p.gpu_model),1)]),u("div",null,[F4,be(H(this.computedFileSize(p.available_space)),1)]),u("div",null,[B4,be(" "+H(this.computedFileSize(p.used_vram))+" / "+H(this.computedFileSize(p.total_vram))+" ("+H(p.percentage)+"%)",1)])]),u("div",$4,[u("div",j4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),u("div",z4,[u("div",U4,[u("button",{onClick:e[7]||(e[7]=ae(p=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[we(u("div",null,H4,512),[[lt,o.minconf_collapsed]]),we(u("div",null,G4,512),[[lt,!o.minconf_collapsed]]),K4])]),u("div",{class:Te([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",W4,[u("div",Z4,[u("table",Y4,[Q4,u("tr",null,[J4,u("td",X4,[we(u("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[8]||(e[8]=p=>r.db_path=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Ve,r.db_path]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[9]||(e[9]=p=>r.update_setting("db_path",r.db_path))},t3)])]),u("tr",null,[n3,u("td",null,[we(u("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[10]||(e[10]=p=>r.enable_gpu=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.enable_gpu]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[11]||(e[11]=p=>r.update_setting("enable_gpu",r.enable_gpu))},o3)])]),u("tr",null,[r3,u("td",null,[we(u("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[12]||(e[12]=p=>r.auto_update=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.auto_update]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[13]||(e[13]=p=>r.update_setting("auto_update",r.auto_update))},a3)])])])]),u("div",l3,[u("table",c3,[u3,u("tr",null,[d3,u("td",h3,[we(u("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[14]||(e[14]=p=>r.userName=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Ve,r.userName]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[15]||(e[15]=p=>r.update_setting("user_name",r.userName))},p3)])]),u("tr",null,[g3,u("td",m3,[u("label",_3,[u("img",{src:r.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,b3)]),u("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[16]||(e[16]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[17]||(e[17]=p=>r.update_setting("user_name",r.userName))},v3)])]),u("tr",null,[w3,u("td",null,[we(u("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[18]||(e[18]=p=>r.use_user_name_in_discussions=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.use_user_name_in_discussions]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[19]||(e[19]=p=>r.update_setting("use_user_name_in_discussions",r.use_user_name_in_discussions))},k3)])])])]),u("div",E3,[u("table",C3,[A3,u("tr",null,[S3,u("td",null,[we(u("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[20]||(e[20]=p=>r.auto_speak=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.auto_speak]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[21]||(e[21]=p=>r.update_setting("auto_speak",r.auto_speak))},M3)])]),u("tr",null,[O3,u("td",null,[we(u("input",{id:"audio_pitch","onUpdate:modelValue":e[22]||(e[22]=p=>r.audio_pitch=p),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ve,r.audio_pitch]]),u("p",R3,H(r.audio_pitch),1)]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[23]||(e[23]=p=>r.update_setting("audio_pitch",r.audio_pitch))},D3)])]),u("tr",null,[L3,u("td",null,[we(u("select",{id:"audio_in_language","onUpdate:modelValue":e[24]||(e[24]=p=>r.audio_in_language=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(E(!0),S(Me,null,We(r.audioLanguages,p=>(E(),S("option",{key:p.code,value:p.code},H(p.name),9,I3))),128))],512),[[Ya,r.audio_in_language]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[25]||(e[25]=p=>r.update_setting("audio_in_language",r.audio_in_language))},F3)])]),u("tr",null,[B3,u("td",null,[we(u("select",{id:"audio_out_voice","onUpdate:modelValue":e[26]||(e[26]=p=>r.audio_out_voice=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(E(!0),S(Me,null,We(o.audioVoices,p=>(E(),S("option",{key:p.name,value:p.name},H(p.name),9,$3))),128))],512),[[Ya,r.audio_out_voice]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[27]||(e[27]=p=>r.update_setting("audio_out_voice",r.audio_out_voice))},z3)])])])])]),u("div",U3,[u("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[28]||(e[28]=p=>r.api_get_req("clear_uploads").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))}," Clear uploads ")]),u("div",q3,[u("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[29]||(e[29]=p=>r.api_get_req("restart_program").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))}," Restart program ")]),u("div",H3,[u("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[30]||(e[30]=p=>r.api_get_req("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[be(" Upgrade program "),o.has_updates?(E(),S("div",V3,K3)):B("",!0)])])],2)]),u("div",W3,[u("div",Z3,[u("button",{onClick:e[31]||(e[31]=ae(p=>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"},[we(u("div",null,Q3,512),[[lt,o.bzc_collapsed]]),we(u("div",null,X3,512),[[lt,!o.bzc_collapsed]]),eC,r.configFile.binding_name?B("",!0):(E(),S("div",tC,[nC,be(" No binding selected! ")])),r.configFile.binding_name?(E(),S("div",sC,"|")):B("",!0),r.configFile.binding_name?(E(),S("div",oC,[u("div",rC,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,iC),u("h3",aC,H(r.binding_name),1)])])):B("",!0)])]),u("div",{class:Te([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr.length>0?(E(),S("div",lC,[u("label",cC," Bindings: ("+H(r.bindingsArr.length)+") ",1),u("div",{class:Te(["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"])},[fe(Ut,{name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(r.bindingsArr,(p,b)=>(E(),nt(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):B("",!0),o.bzl_collapsed?(E(),S("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[32]||(e[32]=p=>o.bzl_collapsed=!o.bzl_collapsed)},dC)):(E(),S("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[33]||(e[33]=p=>o.bzl_collapsed=!o.bzl_collapsed)},fC))],2)]),u("div",pC,[u("div",gC,[u("button",{onClick:e[34]||(e[34]=ae(p=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(u("div",null,_C,512),[[lt,o.mzc_collapsed]]),we(u("div",null,yC,512),[[lt,!o.mzc_collapsed]]),vC,u("div",wC,[r.configFile.binding_name?B("",!0):(E(),S("div",xC,[kC,be(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(E(),S("div",EC,[CC,be(" No model selected! ")])):B("",!0),r.configFile.model_name?(E(),S("div",AC,"|")):B("",!0),r.configFile.model_name?(E(),S("div",SC,[u("div",TC,[u("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,MC),u("h3",OC,H(r.model_name),1)])])):B("",!0)])])]),u("div",{class:Te([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",RC,[u("form",null,[u("div",NC,[u("div",DC,[o.searchModelInProgress?(E(),S("div",LC,PC)):B("",!0),o.searchModelInProgress?B("",!0):(E(),S("div",FC,$C))]),we(u("input",{type:"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 models...",required:"","onUpdate:modelValue":e[35]||(e[35]=p=>o.searchModel=p),onKeyup:e[36]||(e[36]=ae((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Ve,o.searchModel]]),o.searchModel?(E(),S("button",{key:0,onClick:e[37]||(e[37]=ae(p=>o.searchModel="",["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")):B("",!0)])])]),o.searchModel?(E(),S("div",jC,[o.modelsFiltered.length>0?(E(),S("div",zC,[u("label",UC," Search results: ("+H(o.modelsFiltered.length)+") ",1),u("div",{class:Te(["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"])},[fe(Ut,{name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(o.modelsFiltered,(p,b)=>(E(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.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)])):B("",!0)])):B("",!0),o.searchModel?B("",!0):(E(),S("div",qC,[r.models&&r.models.length>0?(E(),S("div",HC,[u("label",VC," Models: ("+H(r.models.length)+") ",1),u("div",{class:Te(["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"])},[fe(Ut,{name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(r.models,(p,b)=>(E(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.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)])):B("",!0)])),o.mzl_collapsed?(E(),S("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[38]||(e[38]=(...p)=>r.open_mzl&&r.open_mzl(...p))},KC)):(E(),S("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[39]||(e[39]=(...p)=>r.open_mzl&&r.open_mzl(...p))},ZC))],2)]),u("div",YC,[u("div",QC,[u("button",{onClick:e[40]||(e[40]=ae(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(u("div",null,XC,512),[[lt,o.mzdc_collapsed]]),we(u("div",null,t8,512),[[lt,!o.mzdc_collapsed]]),n8,r.binding_name?B("",!0):(E(),S("div",s8,[o8,be(" No binding selected! ")])),r.configFile.binding_name?(E(),S("div",r8,"|")):B("",!0),r.configFile.binding_name?(E(),S("div",i8,[u("div",a8,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,l8),u("h3",c8,H(r.binding_name),1)])])):B("",!0)])]),u("div",{class:Te([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",u8,[u("div",d8,[o.modelDownlaodInProgress?B("",!0):(E(),S("div",h8,[u("div",f8,[p8,we(u("input",{type:"text","onUpdate:modelValue":e[41]||(e[41]=p=>o.addModel.url=p),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 URL ...",required:""},null,512),[[Ve,o.addModel.url]])]),u("button",{type:"button",onClick:e[42]||(e[42]=ae(p=>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?(E(),S("div",g8,[m8,u("div",_8,[u("div",b8,[u("div",y8,[v8,u("span",w8,H(Math.floor(o.addModel.progress))+"%",1)]),u("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},H(o.addModel.url),9,x8),u("div",k8,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Ct({width:o.addModel.progress+"%"})},null,4)]),u("div",E8,[u("span",C8,"Download speed: "+H(r.speed_computed)+"/s",1),u("span",A8,H(r.downloaded_size_computed)+"/"+H(r.total_size_computed),1)])])]),u("div",S8,[u("div",T8,[u("div",M8,[u("button",{onClick:e[43]||(e[43]=ae((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["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 ")])])])])):B("",!0)])])],2)]),u("div",O8,[u("div",R8,[u("button",{onClick:e[45]||(e[45]=ae(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[we(u("div",null,D8,512),[[lt,o.pzc_collapsed]]),we(u("div",null,I8,512),[[lt,!o.pzc_collapsed]]),P8,r.configFile.personalities?(E(),S("div",F8,"|")):B("",!0),u("div",B8,H(r.active_pesonality),1),r.configFile.personalities?(E(),S("div",$8,"|")):B("",!0),r.configFile.personalities?(E(),S("div",j8,[r.mountedPersArr.length>0?(E(),S("div",z8,[(E(!0),S(Me,null,We(r.mountedPersArr,(p,b)=>(E(),S("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:b+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[u("div",U8,[u("button",{onClick:ae(_=>r.onPersonalitySelected(p),["stop"])},[u("img",{src:o.bUrl+p.avatar,onError:e[44]||(e[44]=(..._)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(..._)),class:Te(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,H8)],8,q8),u("button",{onClick:ae(_=>r.onPersonalityMounted(p),["stop"])},K8,8,V8)])]))),128))])):B("",!0)])):B("",!0)])]),u("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",W8,[u("form",null,[Z8,u("div",Y8,[u("div",Q8,[o.searchPersonalityInProgress?(E(),S("div",J8,e9)):B("",!0),o.searchPersonalityInProgress?B("",!0):(E(),S("div",t9,s9))]),we(u("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[46]||(e[46]=p=>o.searchPersonality=p),onKeyup:e[47]||(e[47]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Ve,o.searchPersonality]]),o.searchPersonality?(E(),S("button",{key:0,onClick:e[48]||(e[48]=ae(p=>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")):B("",!0)])])]),o.searchPersonality?B("",!0):(E(),S("div",o9,[u("label",r9," Personalities Languages: ("+H(o.persLangArr.length)+") ",1),u("select",{id:"persLang",onChange:e[49]||(e[49]=p=>r.update_personality_language(p.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"},[(E(!0),S(Me,null,We(o.persLangArr,p=>(E(),S("option",{selected:p===this.configFile.personality_language},H(p),9,i9))),256))],32)])),o.searchPersonality?B("",!0):(E(),S("div",a9,[u("label",l9," Personalities Category: ("+H(o.persCatgArr.length)+") ",1),u("select",{id:"persCat",onChange:e[50]||(e[50]=p=>r.update_personality_category(p.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"},[(E(!0),S(Me,null,We(o.persCatgArr,(p,b)=>(E(),S("option",{key:b,selected:p==this.configFile.personality_category},H(p),9,c9))),128))],32)])),u("div",null,[o.personalitiesFiltered.length>0?(E(),S("div",u9,[u("label",d9,H(o.searchPersonality?"Search results":"Personalities")+": ("+H(o.personalitiesFiltered.length)+") ",1),u("div",{class:Te(["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"])},[fe(Ut,{name:"bounce"},{default:Be(()=>[(E(!0),S(Me,null,We(o.personalitiesFiltered,(p,b)=>(E(),nt(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+p.name,personality:p,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(_=>_===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):B("",!0)]),o.pzl_collapsed?(E(),S("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[51]||(e[51]=p=>o.pzl_collapsed=!o.pzl_collapsed)},f9)):(E(),S("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[52]||(e[52]=p=>o.pzl_collapsed=!o.pzl_collapsed)},g9))],2)]),u("div",m9,[u("div",_9,[u("button",{onClick:e[53]||(e[53]=ae(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[we(u("div",null,y9,512),[[lt,o.mc_collapsed]]),we(u("div",null,w9,512),[[lt,!o.mc_collapsed]]),x9])]),u("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[u("div",k9,[u("div",E9,[we(u("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[54]||(e[54]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[55]||(e[55]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[56]||(e[56]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[xt,r.configFile.override_personality_model_parameters]]),C9])]),u("div",{class:Te(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[u("div",A9,[S9,we(u("input",{type:"text",id:"seed","onUpdate:modelValue":e[57]||(e[57]=p=>r.configFile.seed=p),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),[[Ve,r.configFile.seed]])]),u("div",T9,[u("div",M9,[u("div",O9,[R9,u("p",N9,[we(u("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[58]||(e[58]=p=>r.configFile.temperature=p),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),[[Ve,r.configFile.temperature]])])]),we(u("input",{id:"temperature",onChange:e[59]||(e[59]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[60]||(e[60]=p=>r.configFile.temperature=p),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),[[Ve,r.configFile.temperature]])])]),u("div",D9,[u("div",L9,[u("div",I9,[P9,u("p",F9,[we(u("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[61]||(e[61]=p=>r.configFile.n_predict=p),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),[[Ve,r.configFile.n_predict]])])]),we(u("input",{id:"predict",onChange:e[62]||(e[62]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[63]||(e[63]=p=>r.configFile.n_predict=p),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),[[Ve,r.configFile.n_predict]])])]),u("div",B9,[u("div",$9,[u("div",j9,[z9,u("p",U9,[we(u("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[64]||(e[64]=p=>r.configFile.top_k=p),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),[[Ve,r.configFile.top_k]])])]),we(u("input",{id:"top_k",onChange:e[65]||(e[65]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[66]||(e[66]=p=>r.configFile.top_k=p),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),[[Ve,r.configFile.top_k]])])]),u("div",q9,[u("div",H9,[u("div",V9,[G9,u("p",K9,[we(u("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[67]||(e[67]=p=>r.configFile.top_p=p),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),[[Ve,r.configFile.top_p]])])]),we(u("input",{id:"top_p",onChange:e[68]||(e[68]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[69]||(e[69]=p=>r.configFile.top_p=p),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),[[Ve,r.configFile.top_p]])])]),u("div",W9,[u("div",Z9,[u("div",Y9,[Q9,u("p",J9,[we(u("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[70]||(e[70]=p=>r.configFile.repeat_penalty=p),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),[[Ve,r.configFile.repeat_penalty]])])]),we(u("input",{id:"repeat_penalty",onChange:e[71]||(e[71]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[72]||(e[72]=p=>r.configFile.repeat_penalty=p),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),[[Ve,r.configFile.repeat_penalty]])])]),u("div",X9,[u("div",eA,[u("div",tA,[nA,u("p",sA,[we(u("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[73]||(e[73]=p=>r.configFile.repeat_last_n=p),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),[[Ve,r.configFile.repeat_last_n]])])]),we(u("input",{id:"repeat_last_n",onChange:e[74]||(e[74]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[75]||(e[75]=p=>r.configFile.repeat_last_n=p),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),[[Ve,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),fe(c,{ref:"yesNoDialog",class:"z-20"},null,512),fe(d,{ref:"addmodeldialog"},null,512),fe(h,{ref:"messageBox"},null,512),fe(f,{ref:"toast"},null,512),fe(g,{ref:"universalForm",class:"z-20"},null,512),fe(m,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const rA=qe(A5,[["render",oA],["__scopeId","data-v-55c3ae0c"]]);const iA={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){_e(()=>{ve.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(t){this.inputValue=t.target.value,this.$emit("input",t.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},aA={class:"flex items-center space-x-2"},lA=["value","type","placeholder"],cA=["value","min","max"],uA=u("i",{"data-feather":"clipboard"},null,-1),dA=[uA],hA=u("i",{"data-feather":"upload"},null,-1),fA=[hA],pA=["accept"];function gA(t,e,n,s,o,r){return E(),S("div",aA,[t.useSlider?(E(),S("input",{key:1,type:"range",value:parseInt(o.inputValue),min:t.minSliderValue,max:t.maxSliderValue,onInput:e[2]||(e[2]=(...i)=>r.handleSliderInput&&r.handleSliderInput(...i)),class:"flex-1 px-4 py-2 text-lg border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,cA)):(E(),S("input",{key:0,value:o.inputValue,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,lA)),u("button",{onClick:e[3]||(e[3]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},dA),n.inputType==="file"?(E(),S("button",{key:2,onClick:e[4]||(e[4]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},fA)):B("",!0),n.inputType==="file"?(E(),S("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[5]||(e[5]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,pA)):B("",!0)])}const ng=qe(iA,[["render",gA]]);const mA={props:{title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!1},disableFocus:{type:Boolean,default:!1}},data(){return{isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","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",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},_A={key:0,class:"font-bold mb-2"},bA={key:1,class:"flex flex-wrap"},yA={key:2,class:"mb-2"};function vA(t,e,n,s,o,r){return E(),S(Me,null,[o.isActive?(E(),S("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...i)=>r.toggleCard&&r.toggleCard(...i))})):B("",!0),u("div",{class:Te(["bg-white rounded-lg shadow-lg p-6",r.cardWidthClass,"m-2",{hovered:!n.disableHoverAnimation&&o.isHovered,active:o.isActive}]),onMouseenter:e[1]||(e[1]=i=>o.isHovered=!0),onMouseleave:e[2]||(e[2]=i=>o.isHovered=!1),onClick:e[3]||(e[3]=ae((...i)=>r.toggleCard&&r.toggleCard(...i),["self"])),style:Ct({cursor:this.disableFocus?"":"pointer"})},[n.title?(E(),S("div",_A,H(n.title),1)):B("",!0),n.isHorizontal?(E(),S("div",bA,[wr(t.$slots,"default")])):(E(),S("div",yA,[wr(t.$slots,"default")]))],38)],64)}const sg=qe(mA,[["render",vA]]),wA={components:{ClipBoardTextInput:ng,Card:sg},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:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.model_name,tokenizer_name:this.tokenizer_name,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ke.post("/start_training",t).then(e=>{})},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)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},xA={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"},kA={class:"mb-4"},EA=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),CA={class:"mb-4"},AA=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),SA={class:"mb-4"},TA=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),MA={class:"mb-4"},OA=u("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),RA={class:"mb-4"},NA=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),DA={class:"mb-4"},LA=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),IA={class:"mb-4"},PA=u("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),FA={class:"mb-4"},BA=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),$A=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function jA(t,e,n,s,o,r){const i=Ze("ClipBoardTextInput"),a=Ze("Card");return E(),S("div",xA,[u("form",{onSubmit:e[0]||(e[0]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:""},[fe(a,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[fe(a,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[u("div",kA,[EA,fe(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),u("div",CA,[AA,fe(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1}),fe(a,{title:"Data",isHorizontal:!1},{default:Be(()=>[u("div",SA,[TA,fe(i,{id:"model_path",inputType:"file",value:o.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),fe(a,{title:"Training",isHorizontal:!1},{default:Be(()=>[u("div",MA,[OA,fe(i,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),u("div",RA,[NA,fe(i,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),u("div",DA,[LA,fe(i,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),u("div",IA,[PA,fe(i,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])])]),_:1}),fe(a,{title:"Output",isHorizontal:!1},{default:Be(()=>[u("div",FA,[BA,fe(i,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),fe(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[$A]),_:1})],32)])}const zA=qe(wA,[["render",jA]]),UA={components:{ClipBoardTextInput:ng,Card:sg},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)}}},qA={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"},HA={class:"mb-4"},VA=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),GA={class:"mb-4"},KA=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),WA=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function ZA(t,e,n,s,o,r){const i=Ze("ClipBoardTextInput"),a=Ze("Card");return E(),S("div",qA,[u("form",{onSubmit:e[0]||(e[0]=ae((...l)=>r.submitForm&&r.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[fe(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[fe(a,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[u("div",HA,[VA,fe(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),u("div",GA,[KA,fe(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),fe(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[WA]),_:1})],32)])}const YA=qe(UA,[["render",ZA]]),QA={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,_e(()=>{ve.replace()})},watch:{showConfirmation(){_e(()=>{ve.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&_e(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},JA=["id"],XA={class:"flex flex-row items-center gap-2"},e6={key:0},t6=["title"],n6=["value"],s6={class:"flex items-center flex-1 max-h-6"},o6={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},r6=u("i",{"data-feather":"check"},null,-1),i6=[r6],a6=u("i",{"data-feather":"x"},null,-1),l6=[a6],c6={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},u6=u("i",{"data-feather":"x"},null,-1),d6=[u6],h6=u("i",{"data-feather":"check"},null,-1),f6=[h6],p6={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},g6=u("i",{"data-feather":"edit-2"},null,-1),m6=[g6],_6=u("i",{"data-feather":"trash"},null,-1),b6=[_6];function y6(t,e,n,s,o,r){return E(),S("div",{class:Te([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md min-w-[23rem] max-w-[23rem]":" min-w-[23rem] max-w-[23rem]","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 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]=ae(i=>r.selectEvent(),["stop"]))},[u("div",XA,[n.isCheckbox?(E(),S("div",e6,[we(u("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]=ae(()=>{},["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),[[xt,o.checkBoxValue_local]])])):B("",!0),n.selected?(E(),S("div",{key:1,class:Te(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):B("",!0),n.selected?B("",!0):(E(),S("div",{key:2,class:Te(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?B("",!0):(E(),S("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},H(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,t6)),o.editTitle?(E(),S("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]=Qa(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Qa(ae(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ae(()=>{},["stop"]))},null,40,n6)):B("",!0),u("div",s6,[o.showConfirmation&&!o.editTitleMode?(E(),S("div",o6,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ae(i=>r.deleteEvent(),["stop"]))},i6),u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ae(i=>o.showConfirmation=!1,["stop"]))},l6)])):B("",!0),o.showConfirmation&&o.editTitleMode?(E(),S("div",c6,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ae(i=>o.editTitleMode=!1,["stop"]))},d6),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ae(i=>r.editTitleEvent(),["stop"]))},f6)])):B("",!0),o.showConfirmation?B("",!0):(E(),S("div",p6,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ae(i=>o.editTitleMode=!0,["stop"]))},m6),u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ae(i=>o.showConfirmation=!0,["stop"]))},b6)]))])],10,JA)}const og=qe(QA,[["render",y6]]);var ze={};const v6="Á",w6="á",x6="Ă",k6="ă",E6="∾",C6="∿",A6="∾̳",S6="Â",T6="â",M6="´",O6="А",R6="а",N6="Æ",D6="æ",L6="⁡",I6="𝔄",P6="𝔞",F6="À",B6="à",$6="ℵ",j6="ℵ",z6="Α",U6="α",q6="Ā",H6="ā",V6="⨿",G6="&",K6="&",W6="⩕",Z6="⩓",Y6="∧",Q6="⩜",J6="⩘",X6="⩚",eS="∠",tS="⦤",nS="∠",sS="⦨",oS="⦩",rS="⦪",iS="⦫",aS="⦬",lS="⦭",cS="⦮",uS="⦯",dS="∡",hS="∟",fS="⊾",pS="⦝",gS="∢",mS="Å",_S="⍼",bS="Ą",yS="ą",vS="𝔸",wS="𝕒",xS="⩯",kS="≈",ES="⩰",CS="≊",AS="≋",SS="'",TS="⁡",MS="≈",OS="≊",RS="Å",NS="å",DS="𝒜",LS="𝒶",IS="≔",PS="*",FS="≈",BS="≍",$S="Ã",jS="ã",zS="Ä",US="ä",qS="∳",HS="⨑",VS="≌",GS="϶",KS="‵",WS="∽",ZS="⋍",YS="∖",QS="⫧",JS="⊽",XS="⌅",eT="⌆",tT="⌅",nT="⎵",sT="⎶",oT="≌",rT="Б",iT="б",aT="„",lT="∵",cT="∵",uT="∵",dT="⦰",hT="϶",fT="ℬ",pT="ℬ",gT="Β",mT="β",_T="ℶ",bT="≬",yT="𝔅",vT="𝔟",wT="⋂",xT="◯",kT="⋃",ET="⨀",CT="⨁",AT="⨂",ST="⨆",TT="★",MT="▽",OT="△",RT="⨄",NT="⋁",DT="⋀",LT="⤍",IT="⧫",PT="▪",FT="▴",BT="▾",$T="◂",jT="▸",zT="␣",UT="▒",qT="░",HT="▓",VT="█",GT="=⃥",KT="≡⃥",WT="⫭",ZT="⌐",YT="𝔹",QT="𝕓",JT="⊥",XT="⊥",e7="⋈",t7="⧉",n7="┐",s7="╕",o7="╖",r7="╗",i7="┌",a7="╒",l7="╓",c7="╔",u7="─",d7="═",h7="┬",f7="╤",p7="╥",g7="╦",m7="┴",_7="╧",b7="╨",y7="╩",v7="⊟",w7="⊞",x7="⊠",k7="┘",E7="╛",C7="╜",A7="╝",S7="└",T7="╘",M7="╙",O7="╚",R7="│",N7="║",D7="┼",L7="╪",I7="╫",P7="╬",F7="┤",B7="╡",$7="╢",j7="╣",z7="├",U7="╞",q7="╟",H7="╠",V7="‵",G7="˘",K7="˘",W7="¦",Z7="𝒷",Y7="ℬ",Q7="⁏",J7="∽",X7="⋍",eM="⧅",tM="\\",nM="⟈",sM="•",oM="•",rM="≎",iM="⪮",aM="≏",lM="≎",cM="≏",uM="Ć",dM="ć",hM="⩄",fM="⩉",pM="⩋",gM="∩",mM="⋒",_M="⩇",bM="⩀",yM="ⅅ",vM="∩︀",wM="⁁",xM="ˇ",kM="ℭ",EM="⩍",CM="Č",AM="č",SM="Ç",TM="ç",MM="Ĉ",OM="ĉ",RM="∰",NM="⩌",DM="⩐",LM="Ċ",IM="ċ",PM="¸",FM="¸",BM="⦲",$M="¢",jM="·",zM="·",UM="𝔠",qM="ℭ",HM="Ч",VM="ч",GM="✓",KM="✓",WM="Χ",ZM="χ",YM="ˆ",QM="≗",JM="↺",XM="↻",eO="⊛",tO="⊚",nO="⊝",sO="⊙",oO="®",rO="Ⓢ",iO="⊖",aO="⊕",lO="⊗",cO="○",uO="⧃",dO="≗",hO="⨐",fO="⫯",pO="⧂",gO="∲",mO="”",_O="’",bO="♣",yO="♣",vO=":",wO="∷",xO="⩴",kO="≔",EO="≔",CO=",",AO="@",SO="∁",TO="∘",MO="∁",OO="ℂ",RO="≅",NO="⩭",DO="≡",LO="∮",IO="∯",PO="∮",FO="𝕔",BO="ℂ",$O="∐",jO="∐",zO="©",UO="©",qO="℗",HO="∳",VO="↵",GO="✗",KO="⨯",WO="𝒞",ZO="𝒸",YO="⫏",QO="⫑",JO="⫐",XO="⫒",eR="⋯",tR="⤸",nR="⤵",sR="⋞",oR="⋟",rR="↶",iR="⤽",aR="⩈",lR="⩆",cR="≍",uR="∪",dR="⋓",hR="⩊",fR="⊍",pR="⩅",gR="∪︀",mR="↷",_R="⤼",bR="⋞",yR="⋟",vR="⋎",wR="⋏",xR="¤",kR="↶",ER="↷",CR="⋎",AR="⋏",SR="∲",TR="∱",MR="⌭",OR="†",RR="‡",NR="ℸ",DR="↓",LR="↡",IR="⇓",PR="‐",FR="⫤",BR="⊣",$R="⤏",jR="˝",zR="Ď",UR="ď",qR="Д",HR="д",VR="‡",GR="⇊",KR="ⅅ",WR="ⅆ",ZR="⤑",YR="⩷",QR="°",JR="∇",XR="Δ",eN="δ",tN="⦱",nN="⥿",sN="𝔇",oN="𝔡",rN="⥥",iN="⇃",aN="⇂",lN="´",cN="˙",uN="˝",dN="`",hN="˜",fN="⋄",pN="⋄",gN="⋄",mN="♦",_N="♦",bN="¨",yN="ⅆ",vN="ϝ",wN="⋲",xN="÷",kN="÷",EN="⋇",CN="⋇",AN="Ђ",SN="ђ",TN="⌞",MN="⌍",ON="$",RN="𝔻",NN="𝕕",DN="¨",LN="˙",IN="⃜",PN="≐",FN="≑",BN="≐",$N="∸",jN="∔",zN="⊡",UN="⌆",qN="∯",HN="¨",VN="⇓",GN="⇐",KN="⇔",WN="⫤",ZN="⟸",YN="⟺",QN="⟹",JN="⇒",XN="⊨",eD="⇑",tD="⇕",nD="∥",sD="⤓",oD="↓",rD="↓",iD="⇓",aD="⇵",lD="̑",cD="⇊",uD="⇃",dD="⇂",hD="⥐",fD="⥞",pD="⥖",gD="↽",mD="⥟",_D="⥗",bD="⇁",yD="↧",vD="⊤",wD="⤐",xD="⌟",kD="⌌",ED="𝒟",CD="𝒹",AD="Ѕ",SD="ѕ",TD="⧶",MD="Đ",OD="đ",RD="⋱",ND="▿",DD="▾",LD="⇵",ID="⥯",PD="⦦",FD="Џ",BD="џ",$D="⟿",jD="É",zD="é",UD="⩮",qD="Ě",HD="ě",VD="Ê",GD="ê",KD="≖",WD="≕",ZD="Э",YD="э",QD="⩷",JD="Ė",XD="ė",eL="≑",tL="ⅇ",nL="≒",sL="𝔈",oL="𝔢",rL="⪚",iL="È",aL="è",lL="⪖",cL="⪘",uL="⪙",dL="∈",hL="⏧",fL="ℓ",pL="⪕",gL="⪗",mL="Ē",_L="ē",bL="∅",yL="∅",vL="◻",wL="∅",xL="▫",kL=" ",EL=" ",CL=" ",AL="Ŋ",SL="ŋ",TL=" ",ML="Ę",OL="ę",RL="𝔼",NL="𝕖",DL="⋕",LL="⧣",IL="⩱",PL="ε",FL="Ε",BL="ε",$L="ϵ",jL="≖",zL="≕",UL="≂",qL="⪖",HL="⪕",VL="⩵",GL="=",KL="≂",WL="≟",ZL="⇌",YL="≡",QL="⩸",JL="⧥",XL="⥱",eI="≓",tI="ℯ",nI="ℰ",sI="≐",oI="⩳",rI="≂",iI="Η",aI="η",lI="Ð",cI="ð",uI="Ë",dI="ë",hI="€",fI="!",pI="∃",gI="∃",mI="ℰ",_I="ⅇ",bI="ⅇ",yI="≒",vI="Ф",wI="ф",xI="♀",kI="ffi",EI="ff",CI="ffl",AI="𝔉",SI="𝔣",TI="fi",MI="◼",OI="▪",RI="fj",NI="♭",DI="fl",LI="▱",II="ƒ",PI="𝔽",FI="𝕗",BI="∀",$I="∀",jI="⋔",zI="⫙",UI="ℱ",qI="⨍",HI="½",VI="⅓",GI="¼",KI="⅕",WI="⅙",ZI="⅛",YI="⅔",QI="⅖",JI="¾",XI="⅗",eP="⅜",tP="⅘",nP="⅚",sP="⅝",oP="⅞",rP="⁄",iP="⌢",aP="𝒻",lP="ℱ",cP="ǵ",uP="Γ",dP="γ",hP="Ϝ",fP="ϝ",pP="⪆",gP="Ğ",mP="ğ",_P="Ģ",bP="Ĝ",yP="ĝ",vP="Г",wP="г",xP="Ġ",kP="ġ",EP="≥",CP="≧",AP="⪌",SP="⋛",TP="≥",MP="≧",OP="⩾",RP="⪩",NP="⩾",DP="⪀",LP="⪂",IP="⪄",PP="⋛︀",FP="⪔",BP="𝔊",$P="𝔤",jP="≫",zP="⋙",UP="⋙",qP="ℷ",HP="Ѓ",VP="ѓ",GP="⪥",KP="≷",WP="⪒",ZP="⪤",YP="⪊",QP="⪊",JP="⪈",XP="≩",eF="⪈",tF="≩",nF="⋧",sF="𝔾",oF="𝕘",rF="`",iF="≥",aF="⋛",lF="≧",cF="⪢",uF="≷",dF="⩾",hF="≳",fF="𝒢",pF="ℊ",gF="≳",mF="⪎",_F="⪐",bF="⪧",yF="⩺",vF=">",wF=">",xF="≫",kF="⋗",EF="⦕",CF="⩼",AF="⪆",SF="⥸",TF="⋗",MF="⋛",OF="⪌",RF="≷",NF="≳",DF="≩︀",LF="≩︀",IF="ˇ",PF=" ",FF="½",BF="ℋ",$F="Ъ",jF="ъ",zF="⥈",UF="↔",qF="⇔",HF="↭",VF="^",GF="ℏ",KF="Ĥ",WF="ĥ",ZF="♥",YF="♥",QF="…",JF="⊹",XF="𝔥",eB="ℌ",tB="ℋ",nB="⤥",sB="⤦",oB="⇿",rB="∻",iB="↩",aB="↪",lB="𝕙",cB="ℍ",uB="―",dB="─",hB="𝒽",fB="ℋ",pB="ℏ",gB="Ħ",mB="ħ",_B="≎",bB="≏",yB="⁃",vB="‐",wB="Í",xB="í",kB="⁣",EB="Î",CB="î",AB="И",SB="и",TB="İ",MB="Е",OB="е",RB="¡",NB="⇔",DB="𝔦",LB="ℑ",IB="Ì",PB="ì",FB="ⅈ",BB="⨌",$B="∭",jB="⧜",zB="℩",UB="IJ",qB="ij",HB="Ī",VB="ī",GB="ℑ",KB="ⅈ",WB="ℐ",ZB="ℑ",YB="ı",QB="ℑ",JB="⊷",XB="Ƶ",e$="⇒",t$="℅",n$="∞",s$="⧝",o$="ı",r$="⊺",i$="∫",a$="∬",l$="ℤ",c$="∫",u$="⊺",d$="⋂",h$="⨗",f$="⨼",p$="⁣",g$="⁢",m$="Ё",_$="ё",b$="Į",y$="į",v$="𝕀",w$="𝕚",x$="Ι",k$="ι",E$="⨼",C$="¿",A$="𝒾",S$="ℐ",T$="∈",M$="⋵",O$="⋹",R$="⋴",N$="⋳",D$="∈",L$="⁢",I$="Ĩ",P$="ĩ",F$="І",B$="і",$$="Ï",j$="ï",z$="Ĵ",U$="ĵ",q$="Й",H$="й",V$="𝔍",G$="𝔧",K$="ȷ",W$="𝕁",Z$="𝕛",Y$="𝒥",Q$="𝒿",J$="Ј",X$="ј",ej="Є",tj="є",nj="Κ",sj="κ",oj="ϰ",rj="Ķ",ij="ķ",aj="К",lj="к",cj="𝔎",uj="𝔨",dj="ĸ",hj="Х",fj="х",pj="Ќ",gj="ќ",mj="𝕂",_j="𝕜",bj="𝒦",yj="𝓀",vj="⇚",wj="Ĺ",xj="ĺ",kj="⦴",Ej="ℒ",Cj="Λ",Aj="λ",Sj="⟨",Tj="⟪",Mj="⦑",Oj="⟨",Rj="⪅",Nj="ℒ",Dj="«",Lj="⇤",Ij="⤟",Pj="←",Fj="↞",Bj="⇐",$j="⤝",jj="↩",zj="↫",Uj="⤹",qj="⥳",Hj="↢",Vj="⤙",Gj="⤛",Kj="⪫",Wj="⪭",Zj="⪭︀",Yj="⤌",Qj="⤎",Jj="❲",Xj="{",ez="[",tz="⦋",nz="⦏",sz="⦍",oz="Ľ",rz="ľ",iz="Ļ",az="ļ",lz="⌈",cz="{",uz="Л",dz="л",hz="⤶",fz="“",pz="„",gz="⥧",mz="⥋",_z="↲",bz="≤",yz="≦",vz="⟨",wz="⇤",xz="←",kz="←",Ez="⇐",Cz="⇆",Az="↢",Sz="⌈",Tz="⟦",Mz="⥡",Oz="⥙",Rz="⇃",Nz="⌊",Dz="↽",Lz="↼",Iz="⇇",Pz="↔",Fz="↔",Bz="⇔",$z="⇆",jz="⇋",zz="↭",Uz="⥎",qz="↤",Hz="⊣",Vz="⥚",Gz="⋋",Kz="⧏",Wz="⊲",Zz="⊴",Yz="⥑",Qz="⥠",Jz="⥘",Xz="↿",eU="⥒",tU="↼",nU="⪋",sU="⋚",oU="≤",rU="≦",iU="⩽",aU="⪨",lU="⩽",cU="⩿",uU="⪁",dU="⪃",hU="⋚︀",fU="⪓",pU="⪅",gU="⋖",mU="⋚",_U="⪋",bU="⋚",yU="≦",vU="≶",wU="≶",xU="⪡",kU="≲",EU="⩽",CU="≲",AU="⥼",SU="⌊",TU="𝔏",MU="𝔩",OU="≶",RU="⪑",NU="⥢",DU="↽",LU="↼",IU="⥪",PU="▄",FU="Љ",BU="љ",$U="⇇",jU="≪",zU="⋘",UU="⌞",qU="⇚",HU="⥫",VU="◺",GU="Ŀ",KU="ŀ",WU="⎰",ZU="⎰",YU="⪉",QU="⪉",JU="⪇",XU="≨",eq="⪇",tq="≨",nq="⋦",sq="⟬",oq="⇽",rq="⟦",iq="⟵",aq="⟵",lq="⟸",cq="⟷",uq="⟷",dq="⟺",hq="⟼",fq="⟶",pq="⟶",gq="⟹",mq="↫",_q="↬",bq="⦅",yq="𝕃",vq="𝕝",wq="⨭",xq="⨴",kq="∗",Eq="_",Cq="↙",Aq="↘",Sq="◊",Tq="◊",Mq="⧫",Oq="(",Rq="⦓",Nq="⇆",Dq="⌟",Lq="⇋",Iq="⥭",Pq="‎",Fq="⊿",Bq="‹",$q="𝓁",jq="ℒ",zq="↰",Uq="↰",qq="≲",Hq="⪍",Vq="⪏",Gq="[",Kq="‘",Wq="‚",Zq="Ł",Yq="ł",Qq="⪦",Jq="⩹",Xq="<",eH="<",tH="≪",nH="⋖",sH="⋋",oH="⋉",rH="⥶",iH="⩻",aH="◃",lH="⊴",cH="◂",uH="⦖",dH="⥊",hH="⥦",fH="≨︀",pH="≨︀",gH="¯",mH="♂",_H="✠",bH="✠",yH="↦",vH="↦",wH="↧",xH="↤",kH="↥",EH="▮",CH="⨩",AH="М",SH="м",TH="—",MH="∺",OH="∡",RH=" ",NH="ℳ",DH="𝔐",LH="𝔪",IH="℧",PH="µ",FH="*",BH="⫰",$H="∣",jH="·",zH="⊟",UH="−",qH="∸",HH="⨪",VH="∓",GH="⫛",KH="…",WH="∓",ZH="⊧",YH="𝕄",QH="𝕞",JH="∓",XH="𝓂",eV="ℳ",tV="∾",nV="Μ",sV="μ",oV="⊸",rV="⊸",iV="∇",aV="Ń",lV="ń",cV="∠⃒",uV="≉",dV="⩰̸",hV="≋̸",fV="ʼn",pV="≉",gV="♮",mV="ℕ",_V="♮",bV=" ",yV="≎̸",vV="≏̸",wV="⩃",xV="Ň",kV="ň",EV="Ņ",CV="ņ",AV="≇",SV="⩭̸",TV="⩂",MV="Н",OV="н",RV="–",NV="⤤",DV="↗",LV="⇗",IV="↗",PV="≠",FV="≐̸",BV="​",$V="​",jV="​",zV="​",UV="≢",qV="⤨",HV="≂̸",VV="≫",GV="≪",KV=` +`,WV="∄",ZV="∄",YV="𝔑",QV="𝔫",JV="≧̸",XV="≱",eG="≱",tG="≧̸",nG="⩾̸",sG="⩾̸",oG="⋙̸",rG="≵",iG="≫⃒",aG="≯",lG="≯",cG="≫̸",uG="↮",dG="⇎",hG="⫲",fG="∋",pG="⋼",gG="⋺",mG="∋",_G="Њ",bG="њ",yG="↚",vG="⇍",wG="‥",xG="≦̸",kG="≰",EG="↚",CG="⇍",AG="↮",SG="⇎",TG="≰",MG="≦̸",OG="⩽̸",RG="⩽̸",NG="≮",DG="⋘̸",LG="≴",IG="≪⃒",PG="≮",FG="⋪",BG="⋬",$G="≪̸",jG="∤",zG="⁠",UG=" ",qG="𝕟",HG="ℕ",VG="⫬",GG="¬",KG="≢",WG="≭",ZG="∦",YG="∉",QG="≠",JG="≂̸",XG="∄",eK="≯",tK="≱",nK="≧̸",sK="≫̸",oK="≹",rK="⩾̸",iK="≵",aK="≎̸",lK="≏̸",cK="∉",uK="⋵̸",dK="⋹̸",hK="∉",fK="⋷",pK="⋶",gK="⧏̸",mK="⋪",_K="⋬",bK="≮",yK="≰",vK="≸",wK="≪̸",xK="⩽̸",kK="≴",EK="⪢̸",CK="⪡̸",AK="∌",SK="∌",TK="⋾",MK="⋽",OK="⊀",RK="⪯̸",NK="⋠",DK="∌",LK="⧐̸",IK="⋫",PK="⋭",FK="⊏̸",BK="⋢",$K="⊐̸",jK="⋣",zK="⊂⃒",UK="⊈",qK="⊁",HK="⪰̸",VK="⋡",GK="≿̸",KK="⊃⃒",WK="⊉",ZK="≁",YK="≄",QK="≇",JK="≉",XK="∤",eW="∦",tW="∦",nW="⫽⃥",sW="∂̸",oW="⨔",rW="⊀",iW="⋠",aW="⊀",lW="⪯̸",cW="⪯̸",uW="⤳̸",dW="↛",hW="⇏",fW="↝̸",pW="↛",gW="⇏",mW="⋫",_W="⋭",bW="⊁",yW="⋡",vW="⪰̸",wW="𝒩",xW="𝓃",kW="∤",EW="∦",CW="≁",AW="≄",SW="≄",TW="∤",MW="∦",OW="⋢",RW="⋣",NW="⊄",DW="⫅̸",LW="⊈",IW="⊂⃒",PW="⊈",FW="⫅̸",BW="⊁",$W="⪰̸",jW="⊅",zW="⫆̸",UW="⊉",qW="⊃⃒",HW="⊉",VW="⫆̸",GW="≹",KW="Ñ",WW="ñ",ZW="≸",YW="⋪",QW="⋬",JW="⋫",XW="⋭",eZ="Ν",tZ="ν",nZ="#",sZ="№",oZ=" ",rZ="≍⃒",iZ="⊬",aZ="⊭",lZ="⊮",cZ="⊯",uZ="≥⃒",dZ=">⃒",hZ="⤄",fZ="⧞",pZ="⤂",gZ="≤⃒",mZ="<⃒",_Z="⊴⃒",bZ="⤃",yZ="⊵⃒",vZ="∼⃒",wZ="⤣",xZ="↖",kZ="⇖",EZ="↖",CZ="⤧",AZ="Ó",SZ="ó",TZ="⊛",MZ="Ô",OZ="ô",RZ="⊚",NZ="О",DZ="о",LZ="⊝",IZ="Ő",PZ="ő",FZ="⨸",BZ="⊙",$Z="⦼",jZ="Œ",zZ="œ",UZ="⦿",qZ="𝔒",HZ="𝔬",VZ="˛",GZ="Ò",KZ="ò",WZ="⧁",ZZ="⦵",YZ="Ω",QZ="∮",JZ="↺",XZ="⦾",eY="⦻",tY="‾",nY="⧀",sY="Ō",oY="ō",rY="Ω",iY="ω",aY="Ο",lY="ο",cY="⦶",uY="⊖",dY="𝕆",hY="𝕠",fY="⦷",pY="“",gY="‘",mY="⦹",_Y="⊕",bY="↻",yY="⩔",vY="∨",wY="⩝",xY="ℴ",kY="ℴ",EY="ª",CY="º",AY="⊶",SY="⩖",TY="⩗",MY="⩛",OY="Ⓢ",RY="𝒪",NY="ℴ",DY="Ø",LY="ø",IY="⊘",PY="Õ",FY="õ",BY="⨶",$Y="⨷",jY="⊗",zY="Ö",UY="ö",qY="⌽",HY="‾",VY="⏞",GY="⎴",KY="⏜",WY="¶",ZY="∥",YY="∥",QY="⫳",JY="⫽",XY="∂",eQ="∂",tQ="П",nQ="п",sQ="%",oQ=".",rQ="‰",iQ="⊥",aQ="‱",lQ="𝔓",cQ="𝔭",uQ="Φ",dQ="φ",hQ="ϕ",fQ="ℳ",pQ="☎",gQ="Π",mQ="π",_Q="⋔",bQ="ϖ",yQ="ℏ",vQ="ℎ",wQ="ℏ",xQ="⨣",kQ="⊞",EQ="⨢",CQ="+",AQ="∔",SQ="⨥",TQ="⩲",MQ="±",OQ="±",RQ="⨦",NQ="⨧",DQ="±",LQ="ℌ",IQ="⨕",PQ="𝕡",FQ="ℙ",BQ="£",$Q="⪷",jQ="⪻",zQ="≺",UQ="≼",qQ="⪷",HQ="≺",VQ="≼",GQ="≺",KQ="⪯",WQ="≼",ZQ="≾",YQ="⪯",QQ="⪹",JQ="⪵",XQ="⋨",eJ="⪯",tJ="⪳",nJ="≾",sJ="′",oJ="″",rJ="ℙ",iJ="⪹",aJ="⪵",lJ="⋨",cJ="∏",uJ="∏",dJ="⌮",hJ="⌒",fJ="⌓",pJ="∝",gJ="∝",mJ="∷",_J="∝",bJ="≾",yJ="⊰",vJ="𝒫",wJ="𝓅",xJ="Ψ",kJ="ψ",EJ=" ",CJ="𝔔",AJ="𝔮",SJ="⨌",TJ="𝕢",MJ="ℚ",OJ="⁗",RJ="𝒬",NJ="𝓆",DJ="ℍ",LJ="⨖",IJ="?",PJ="≟",FJ='"',BJ='"',$J="⇛",jJ="∽̱",zJ="Ŕ",UJ="ŕ",qJ="√",HJ="⦳",VJ="⟩",GJ="⟫",KJ="⦒",WJ="⦥",ZJ="⟩",YJ="»",QJ="⥵",JJ="⇥",XJ="⤠",eX="⤳",tX="→",nX="↠",sX="⇒",oX="⤞",rX="↪",iX="↬",aX="⥅",lX="⥴",cX="⤖",uX="↣",dX="↝",hX="⤚",fX="⤜",pX="∶",gX="ℚ",mX="⤍",_X="⤏",bX="⤐",yX="❳",vX="}",wX="]",xX="⦌",kX="⦎",EX="⦐",CX="Ř",AX="ř",SX="Ŗ",TX="ŗ",MX="⌉",OX="}",RX="Р",NX="р",DX="⤷",LX="⥩",IX="”",PX="”",FX="↳",BX="ℜ",$X="ℛ",jX="ℜ",zX="ℝ",UX="ℜ",qX="▭",HX="®",VX="®",GX="∋",KX="⇋",WX="⥯",ZX="⥽",YX="⌋",QX="𝔯",JX="ℜ",XX="⥤",eee="⇁",tee="⇀",nee="⥬",see="Ρ",oee="ρ",ree="ϱ",iee="⟩",aee="⇥",lee="→",cee="→",uee="⇒",dee="⇄",hee="↣",fee="⌉",pee="⟧",gee="⥝",mee="⥕",_ee="⇂",bee="⌋",yee="⇁",vee="⇀",wee="⇄",xee="⇌",kee="⇉",Eee="↝",Cee="↦",Aee="⊢",See="⥛",Tee="⋌",Mee="⧐",Oee="⊳",Ree="⊵",Nee="⥏",Dee="⥜",Lee="⥔",Iee="↾",Pee="⥓",Fee="⇀",Bee="˚",$ee="≓",jee="⇄",zee="⇌",Uee="‏",qee="⎱",Hee="⎱",Vee="⫮",Gee="⟭",Kee="⇾",Wee="⟧",Zee="⦆",Yee="𝕣",Qee="ℝ",Jee="⨮",Xee="⨵",ete="⥰",tte=")",nte="⦔",ste="⨒",ote="⇉",rte="⇛",ite="›",ate="𝓇",lte="ℛ",cte="↱",ute="↱",dte="]",hte="’",fte="’",pte="⋌",gte="⋊",mte="▹",_te="⊵",bte="▸",yte="⧎",vte="⧴",wte="⥨",xte="℞",kte="Ś",Ete="ś",Cte="‚",Ate="⪸",Ste="Š",Tte="š",Mte="⪼",Ote="≻",Rte="≽",Nte="⪰",Dte="⪴",Lte="Ş",Ite="ş",Pte="Ŝ",Fte="ŝ",Bte="⪺",$te="⪶",jte="⋩",zte="⨓",Ute="≿",qte="С",Hte="с",Vte="⊡",Gte="⋅",Kte="⩦",Wte="⤥",Zte="↘",Yte="⇘",Qte="↘",Jte="§",Xte=";",ene="⤩",tne="∖",nne="∖",sne="✶",one="𝔖",rne="𝔰",ine="⌢",ane="♯",lne="Щ",cne="щ",une="Ш",dne="ш",hne="↓",fne="←",pne="∣",gne="∥",mne="→",_ne="↑",bne="­",yne="Σ",vne="σ",wne="ς",xne="ς",kne="∼",Ene="⩪",Cne="≃",Ane="≃",Sne="⪞",Tne="⪠",Mne="⪝",One="⪟",Rne="≆",Nne="⨤",Dne="⥲",Lne="←",Ine="∘",Pne="∖",Fne="⨳",Bne="⧤",$ne="∣",jne="⌣",zne="⪪",Une="⪬",qne="⪬︀",Hne="Ь",Vne="ь",Gne="⌿",Kne="⧄",Wne="/",Zne="𝕊",Yne="𝕤",Qne="♠",Jne="♠",Xne="∥",ese="⊓",tse="⊓︀",nse="⊔",sse="⊔︀",ose="√",rse="⊏",ise="⊑",ase="⊏",lse="⊑",cse="⊐",use="⊒",dse="⊐",hse="⊒",fse="□",pse="□",gse="⊓",mse="⊏",_se="⊑",bse="⊐",yse="⊒",vse="⊔",wse="▪",xse="□",kse="▪",Ese="→",Cse="𝒮",Ase="𝓈",Sse="∖",Tse="⌣",Mse="⋆",Ose="⋆",Rse="☆",Nse="★",Dse="ϵ",Lse="ϕ",Ise="¯",Pse="⊂",Fse="⋐",Bse="⪽",$se="⫅",jse="⊆",zse="⫃",Use="⫁",qse="⫋",Hse="⊊",Vse="⪿",Gse="⥹",Kse="⊂",Wse="⋐",Zse="⊆",Yse="⫅",Qse="⊆",Jse="⊊",Xse="⫋",eoe="⫇",toe="⫕",noe="⫓",soe="⪸",ooe="≻",roe="≽",ioe="≻",aoe="⪰",loe="≽",coe="≿",uoe="⪰",doe="⪺",hoe="⪶",foe="⋩",poe="≿",goe="∋",moe="∑",_oe="∑",boe="♪",yoe="¹",voe="²",woe="³",xoe="⊃",koe="⋑",Eoe="⪾",Coe="⫘",Aoe="⫆",Soe="⊇",Toe="⫄",Moe="⊃",Ooe="⊇",Roe="⟉",Noe="⫗",Doe="⥻",Loe="⫂",Ioe="⫌",Poe="⊋",Foe="⫀",Boe="⊃",$oe="⋑",joe="⊇",zoe="⫆",Uoe="⊋",qoe="⫌",Hoe="⫈",Voe="⫔",Goe="⫖",Koe="⤦",Woe="↙",Zoe="⇙",Yoe="↙",Qoe="⤪",Joe="ß",Xoe=" ",ere="⌖",tre="Τ",nre="τ",sre="⎴",ore="Ť",rre="ť",ire="Ţ",are="ţ",lre="Т",cre="т",ure="⃛",dre="⌕",hre="𝔗",fre="𝔱",pre="∴",gre="∴",mre="∴",_re="Θ",bre="θ",yre="ϑ",vre="ϑ",wre="≈",xre="∼",kre="  ",Ere=" ",Cre=" ",Are="≈",Sre="∼",Tre="Þ",Mre="þ",Ore="˜",Rre="∼",Nre="≃",Dre="≅",Lre="≈",Ire="⨱",Pre="⊠",Fre="×",Bre="⨰",$re="∭",jre="⤨",zre="⌶",Ure="⫱",qre="⊤",Hre="𝕋",Vre="𝕥",Gre="⫚",Kre="⤩",Wre="‴",Zre="™",Yre="™",Qre="▵",Jre="▿",Xre="◃",eie="⊴",tie="≜",nie="▹",sie="⊵",oie="◬",rie="≜",iie="⨺",aie="⃛",lie="⨹",cie="⧍",uie="⨻",die="⏢",hie="𝒯",fie="𝓉",pie="Ц",gie="ц",mie="Ћ",_ie="ћ",bie="Ŧ",yie="ŧ",vie="≬",wie="↞",xie="↠",kie="Ú",Eie="ú",Cie="↑",Aie="↟",Sie="⇑",Tie="⥉",Mie="Ў",Oie="ў",Rie="Ŭ",Nie="ŭ",Die="Û",Lie="û",Iie="У",Pie="у",Fie="⇅",Bie="Ű",$ie="ű",jie="⥮",zie="⥾",Uie="𝔘",qie="𝔲",Hie="Ù",Vie="ù",Gie="⥣",Kie="↿",Wie="↾",Zie="▀",Yie="⌜",Qie="⌜",Jie="⌏",Xie="◸",eae="Ū",tae="ū",nae="¨",sae="_",oae="⏟",rae="⎵",iae="⏝",aae="⋃",lae="⊎",cae="Ų",uae="ų",dae="𝕌",hae="𝕦",fae="⤒",pae="↑",gae="↑",mae="⇑",_ae="⇅",bae="↕",yae="↕",vae="⇕",wae="⥮",xae="↿",kae="↾",Eae="⊎",Cae="↖",Aae="↗",Sae="υ",Tae="ϒ",Mae="ϒ",Oae="Υ",Rae="υ",Nae="↥",Dae="⊥",Lae="⇈",Iae="⌝",Pae="⌝",Fae="⌎",Bae="Ů",$ae="ů",jae="◹",zae="𝒰",Uae="𝓊",qae="⋰",Hae="Ũ",Vae="ũ",Gae="▵",Kae="▴",Wae="⇈",Zae="Ü",Yae="ü",Qae="⦧",Jae="⦜",Xae="ϵ",ele="ϰ",tle="∅",nle="ϕ",sle="ϖ",ole="∝",rle="↕",ile="⇕",ale="ϱ",lle="ς",cle="⊊︀",ule="⫋︀",dle="⊋︀",hle="⫌︀",fle="ϑ",ple="⊲",gle="⊳",mle="⫨",_le="⫫",ble="⫩",yle="В",vle="в",wle="⊢",xle="⊨",kle="⊩",Ele="⊫",Cle="⫦",Ale="⊻",Sle="∨",Tle="⋁",Mle="≚",Ole="⋮",Rle="|",Nle="‖",Dle="|",Lle="‖",Ile="∣",Ple="|",Fle="❘",Ble="≀",$le=" ",jle="𝔙",zle="𝔳",Ule="⊲",qle="⊂⃒",Hle="⊃⃒",Vle="𝕍",Gle="𝕧",Kle="∝",Wle="⊳",Zle="𝒱",Yle="𝓋",Qle="⫋︀",Jle="⊊︀",Xle="⫌︀",ece="⊋︀",tce="⊪",nce="⦚",sce="Ŵ",oce="ŵ",rce="⩟",ice="∧",ace="⋀",lce="≙",cce="℘",uce="𝔚",dce="𝔴",hce="𝕎",fce="𝕨",pce="℘",gce="≀",mce="≀",_ce="𝒲",bce="𝓌",yce="⋂",vce="◯",wce="⋃",xce="▽",kce="𝔛",Ece="𝔵",Cce="⟷",Ace="⟺",Sce="Ξ",Tce="ξ",Mce="⟵",Oce="⟸",Rce="⟼",Nce="⋻",Dce="⨀",Lce="𝕏",Ice="𝕩",Pce="⨁",Fce="⨂",Bce="⟶",$ce="⟹",jce="𝒳",zce="𝓍",Uce="⨆",qce="⨄",Hce="△",Vce="⋁",Gce="⋀",Kce="Ý",Wce="ý",Zce="Я",Yce="я",Qce="Ŷ",Jce="ŷ",Xce="Ы",eue="ы",tue="¥",nue="𝔜",sue="𝔶",oue="Ї",rue="ї",iue="𝕐",aue="𝕪",lue="𝒴",cue="𝓎",uue="Ю",due="ю",hue="ÿ",fue="Ÿ",pue="Ź",gue="ź",mue="Ž",_ue="ž",bue="З",yue="з",vue="Ż",wue="ż",xue="ℨ",kue="​",Eue="Ζ",Cue="ζ",Aue="𝔷",Sue="ℨ",Tue="Ж",Mue="ж",Oue="⇝",Rue="𝕫",Nue="ℤ",Due="𝒵",Lue="𝓏",Iue="‍",Pue="‌",Fue={Aacute:v6,aacute:w6,Abreve:x6,abreve:k6,ac:E6,acd:C6,acE:A6,Acirc:S6,acirc:T6,acute:M6,Acy:O6,acy:R6,AElig:N6,aelig:D6,af:L6,Afr:I6,afr:P6,Agrave:F6,agrave:B6,alefsym:$6,aleph:j6,Alpha:z6,alpha:U6,Amacr:q6,amacr:H6,amalg:V6,amp:G6,AMP:K6,andand:W6,And:Z6,and:Y6,andd:Q6,andslope:J6,andv:X6,ang:eS,ange:tS,angle:nS,angmsdaa:sS,angmsdab:oS,angmsdac:rS,angmsdad:iS,angmsdae:aS,angmsdaf:lS,angmsdag:cS,angmsdah:uS,angmsd:dS,angrt:hS,angrtvb:fS,angrtvbd:pS,angsph:gS,angst:mS,angzarr:_S,Aogon:bS,aogon:yS,Aopf:vS,aopf:wS,apacir:xS,ap:kS,apE:ES,ape:CS,apid:AS,apos:SS,ApplyFunction:TS,approx:MS,approxeq:OS,Aring:RS,aring:NS,Ascr:DS,ascr:LS,Assign:IS,ast:PS,asymp:FS,asympeq:BS,Atilde:$S,atilde:jS,Auml:zS,auml:US,awconint:qS,awint:HS,backcong:VS,backepsilon:GS,backprime:KS,backsim:WS,backsimeq:ZS,Backslash:YS,Barv:QS,barvee:JS,barwed:XS,Barwed:eT,barwedge:tT,bbrk:nT,bbrktbrk:sT,bcong:oT,Bcy:rT,bcy:iT,bdquo:aT,becaus:lT,because:cT,Because:uT,bemptyv:dT,bepsi:hT,bernou:fT,Bernoullis:pT,Beta:gT,beta:mT,beth:_T,between:bT,Bfr:yT,bfr:vT,bigcap:wT,bigcirc:xT,bigcup:kT,bigodot:ET,bigoplus:CT,bigotimes:AT,bigsqcup:ST,bigstar:TT,bigtriangledown:MT,bigtriangleup:OT,biguplus:RT,bigvee:NT,bigwedge:DT,bkarow:LT,blacklozenge:IT,blacksquare:PT,blacktriangle:FT,blacktriangledown:BT,blacktriangleleft:$T,blacktriangleright:jT,blank:zT,blk12:UT,blk14:qT,blk34:HT,block:VT,bne:GT,bnequiv:KT,bNot:WT,bnot:ZT,Bopf:YT,bopf:QT,bot:JT,bottom:XT,bowtie:e7,boxbox:t7,boxdl:n7,boxdL:s7,boxDl:o7,boxDL:r7,boxdr:i7,boxdR:a7,boxDr:l7,boxDR:c7,boxh:u7,boxH:d7,boxhd:h7,boxHd:f7,boxhD:p7,boxHD:g7,boxhu:m7,boxHu:_7,boxhU:b7,boxHU:y7,boxminus:v7,boxplus:w7,boxtimes:x7,boxul:k7,boxuL:E7,boxUl:C7,boxUL:A7,boxur:S7,boxuR:T7,boxUr:M7,boxUR:O7,boxv:R7,boxV:N7,boxvh:D7,boxvH:L7,boxVh:I7,boxVH:P7,boxvl:F7,boxvL:B7,boxVl:$7,boxVL:j7,boxvr:z7,boxvR:U7,boxVr:q7,boxVR:H7,bprime:V7,breve:G7,Breve:K7,brvbar:W7,bscr:Z7,Bscr:Y7,bsemi:Q7,bsim:J7,bsime:X7,bsolb:eM,bsol:tM,bsolhsub:nM,bull:sM,bullet:oM,bump:rM,bumpE:iM,bumpe:aM,Bumpeq:lM,bumpeq:cM,Cacute:uM,cacute:dM,capand:hM,capbrcup:fM,capcap:pM,cap:gM,Cap:mM,capcup:_M,capdot:bM,CapitalDifferentialD:yM,caps:vM,caret:wM,caron:xM,Cayleys:kM,ccaps:EM,Ccaron:CM,ccaron:AM,Ccedil:SM,ccedil:TM,Ccirc:MM,ccirc:OM,Cconint:RM,ccups:NM,ccupssm:DM,Cdot:LM,cdot:IM,cedil:PM,Cedilla:FM,cemptyv:BM,cent:$M,centerdot:jM,CenterDot:zM,cfr:UM,Cfr:qM,CHcy:HM,chcy:VM,check:GM,checkmark:KM,Chi:WM,chi:ZM,circ:YM,circeq:QM,circlearrowleft:JM,circlearrowright:XM,circledast:eO,circledcirc:tO,circleddash:nO,CircleDot:sO,circledR:oO,circledS:rO,CircleMinus:iO,CirclePlus:aO,CircleTimes:lO,cir:cO,cirE:uO,cire:dO,cirfnint:hO,cirmid:fO,cirscir:pO,ClockwiseContourIntegral:gO,CloseCurlyDoubleQuote:mO,CloseCurlyQuote:_O,clubs:bO,clubsuit:yO,colon:vO,Colon:wO,Colone:xO,colone:kO,coloneq:EO,comma:CO,commat:AO,comp:SO,compfn:TO,complement:MO,complexes:OO,cong:RO,congdot:NO,Congruent:DO,conint:LO,Conint:IO,ContourIntegral:PO,copf:FO,Copf:BO,coprod:$O,Coproduct:jO,copy:zO,COPY:UO,copysr:qO,CounterClockwiseContourIntegral:HO,crarr:VO,cross:GO,Cross:KO,Cscr:WO,cscr:ZO,csub:YO,csube:QO,csup:JO,csupe:XO,ctdot:eR,cudarrl:tR,cudarrr:nR,cuepr:sR,cuesc:oR,cularr:rR,cularrp:iR,cupbrcap:aR,cupcap:lR,CupCap:cR,cup:uR,Cup:dR,cupcup:hR,cupdot:fR,cupor:pR,cups:gR,curarr:mR,curarrm:_R,curlyeqprec:bR,curlyeqsucc:yR,curlyvee:vR,curlywedge:wR,curren:xR,curvearrowleft:kR,curvearrowright:ER,cuvee:CR,cuwed:AR,cwconint:SR,cwint:TR,cylcty:MR,dagger:OR,Dagger:RR,daleth:NR,darr:DR,Darr:LR,dArr:IR,dash:PR,Dashv:FR,dashv:BR,dbkarow:$R,dblac:jR,Dcaron:zR,dcaron:UR,Dcy:qR,dcy:HR,ddagger:VR,ddarr:GR,DD:KR,dd:WR,DDotrahd:ZR,ddotseq:YR,deg:QR,Del:JR,Delta:XR,delta:eN,demptyv:tN,dfisht:nN,Dfr:sN,dfr:oN,dHar:rN,dharl:iN,dharr:aN,DiacriticalAcute:lN,DiacriticalDot:cN,DiacriticalDoubleAcute:uN,DiacriticalGrave:dN,DiacriticalTilde:hN,diam:fN,diamond:pN,Diamond:gN,diamondsuit:mN,diams:_N,die:bN,DifferentialD:yN,digamma:vN,disin:wN,div:xN,divide:kN,divideontimes:EN,divonx:CN,DJcy:AN,djcy:SN,dlcorn:TN,dlcrop:MN,dollar:ON,Dopf:RN,dopf:NN,Dot:DN,dot:LN,DotDot:IN,doteq:PN,doteqdot:FN,DotEqual:BN,dotminus:$N,dotplus:jN,dotsquare:zN,doublebarwedge:UN,DoubleContourIntegral:qN,DoubleDot:HN,DoubleDownArrow:VN,DoubleLeftArrow:GN,DoubleLeftRightArrow:KN,DoubleLeftTee:WN,DoubleLongLeftArrow:ZN,DoubleLongLeftRightArrow:YN,DoubleLongRightArrow:QN,DoubleRightArrow:JN,DoubleRightTee:XN,DoubleUpArrow:eD,DoubleUpDownArrow:tD,DoubleVerticalBar:nD,DownArrowBar:sD,downarrow:oD,DownArrow:rD,Downarrow:iD,DownArrowUpArrow:aD,DownBreve:lD,downdownarrows:cD,downharpoonleft:uD,downharpoonright:dD,DownLeftRightVector:hD,DownLeftTeeVector:fD,DownLeftVectorBar:pD,DownLeftVector:gD,DownRightTeeVector:mD,DownRightVectorBar:_D,DownRightVector:bD,DownTeeArrow:yD,DownTee:vD,drbkarow:wD,drcorn:xD,drcrop:kD,Dscr:ED,dscr:CD,DScy:AD,dscy:SD,dsol:TD,Dstrok:MD,dstrok:OD,dtdot:RD,dtri:ND,dtrif:DD,duarr:LD,duhar:ID,dwangle:PD,DZcy:FD,dzcy:BD,dzigrarr:$D,Eacute:jD,eacute:zD,easter:UD,Ecaron:qD,ecaron:HD,Ecirc:VD,ecirc:GD,ecir:KD,ecolon:WD,Ecy:ZD,ecy:YD,eDDot:QD,Edot:JD,edot:XD,eDot:eL,ee:tL,efDot:nL,Efr:sL,efr:oL,eg:rL,Egrave:iL,egrave:aL,egs:lL,egsdot:cL,el:uL,Element:dL,elinters:hL,ell:fL,els:pL,elsdot:gL,Emacr:mL,emacr:_L,empty:bL,emptyset:yL,EmptySmallSquare:vL,emptyv:wL,EmptyVerySmallSquare:xL,emsp13:kL,emsp14:EL,emsp:CL,ENG:AL,eng:SL,ensp:TL,Eogon:ML,eogon:OL,Eopf:RL,eopf:NL,epar:DL,eparsl:LL,eplus:IL,epsi:PL,Epsilon:FL,epsilon:BL,epsiv:$L,eqcirc:jL,eqcolon:zL,eqsim:UL,eqslantgtr:qL,eqslantless:HL,Equal:VL,equals:GL,EqualTilde:KL,equest:WL,Equilibrium:ZL,equiv:YL,equivDD:QL,eqvparsl:JL,erarr:XL,erDot:eI,escr:tI,Escr:nI,esdot:sI,Esim:oI,esim:rI,Eta:iI,eta:aI,ETH:lI,eth:cI,Euml:uI,euml:dI,euro:hI,excl:fI,exist:pI,Exists:gI,expectation:mI,exponentiale:_I,ExponentialE:bI,fallingdotseq:yI,Fcy:vI,fcy:wI,female:xI,ffilig:kI,fflig:EI,ffllig:CI,Ffr:AI,ffr:SI,filig:TI,FilledSmallSquare:MI,FilledVerySmallSquare:OI,fjlig:RI,flat:NI,fllig:DI,fltns:LI,fnof:II,Fopf:PI,fopf:FI,forall:BI,ForAll:$I,fork:jI,forkv:zI,Fouriertrf:UI,fpartint:qI,frac12:HI,frac13:VI,frac14:GI,frac15:KI,frac16:WI,frac18:ZI,frac23:YI,frac25:QI,frac34:JI,frac35:XI,frac38:eP,frac45:tP,frac56:nP,frac58:sP,frac78:oP,frasl:rP,frown:iP,fscr:aP,Fscr:lP,gacute:cP,Gamma:uP,gamma:dP,Gammad:hP,gammad:fP,gap:pP,Gbreve:gP,gbreve:mP,Gcedil:_P,Gcirc:bP,gcirc:yP,Gcy:vP,gcy:wP,Gdot:xP,gdot:kP,ge:EP,gE:CP,gEl:AP,gel:SP,geq:TP,geqq:MP,geqslant:OP,gescc:RP,ges:NP,gesdot:DP,gesdoto:LP,gesdotol:IP,gesl:PP,gesles:FP,Gfr:BP,gfr:$P,gg:jP,Gg:zP,ggg:UP,gimel:qP,GJcy:HP,gjcy:VP,gla:GP,gl:KP,glE:WP,glj:ZP,gnap:YP,gnapprox:QP,gne:JP,gnE:XP,gneq:eF,gneqq:tF,gnsim:nF,Gopf:sF,gopf:oF,grave:rF,GreaterEqual:iF,GreaterEqualLess:aF,GreaterFullEqual:lF,GreaterGreater:cF,GreaterLess:uF,GreaterSlantEqual:dF,GreaterTilde:hF,Gscr:fF,gscr:pF,gsim:gF,gsime:mF,gsiml:_F,gtcc:bF,gtcir:yF,gt:vF,GT:wF,Gt:xF,gtdot:kF,gtlPar:EF,gtquest:CF,gtrapprox:AF,gtrarr:SF,gtrdot:TF,gtreqless:MF,gtreqqless:OF,gtrless:RF,gtrsim:NF,gvertneqq:DF,gvnE:LF,Hacek:IF,hairsp:PF,half:FF,hamilt:BF,HARDcy:$F,hardcy:jF,harrcir:zF,harr:UF,hArr:qF,harrw:HF,Hat:VF,hbar:GF,Hcirc:KF,hcirc:WF,hearts:ZF,heartsuit:YF,hellip:QF,hercon:JF,hfr:XF,Hfr:eB,HilbertSpace:tB,hksearow:nB,hkswarow:sB,hoarr:oB,homtht:rB,hookleftarrow:iB,hookrightarrow:aB,hopf:lB,Hopf:cB,horbar:uB,HorizontalLine:dB,hscr:hB,Hscr:fB,hslash:pB,Hstrok:gB,hstrok:mB,HumpDownHump:_B,HumpEqual:bB,hybull:yB,hyphen:vB,Iacute:wB,iacute:xB,ic:kB,Icirc:EB,icirc:CB,Icy:AB,icy:SB,Idot:TB,IEcy:MB,iecy:OB,iexcl:RB,iff:NB,ifr:DB,Ifr:LB,Igrave:IB,igrave:PB,ii:FB,iiiint:BB,iiint:$B,iinfin:jB,iiota:zB,IJlig:UB,ijlig:qB,Imacr:HB,imacr:VB,image:GB,ImaginaryI:KB,imagline:WB,imagpart:ZB,imath:YB,Im:QB,imof:JB,imped:XB,Implies:e$,incare:t$,in:"∈",infin:n$,infintie:s$,inodot:o$,intcal:r$,int:i$,Int:a$,integers:l$,Integral:c$,intercal:u$,Intersection:d$,intlarhk:h$,intprod:f$,InvisibleComma:p$,InvisibleTimes:g$,IOcy:m$,iocy:_$,Iogon:b$,iogon:y$,Iopf:v$,iopf:w$,Iota:x$,iota:k$,iprod:E$,iquest:C$,iscr:A$,Iscr:S$,isin:T$,isindot:M$,isinE:O$,isins:R$,isinsv:N$,isinv:D$,it:L$,Itilde:I$,itilde:P$,Iukcy:F$,iukcy:B$,Iuml:$$,iuml:j$,Jcirc:z$,jcirc:U$,Jcy:q$,jcy:H$,Jfr:V$,jfr:G$,jmath:K$,Jopf:W$,jopf:Z$,Jscr:Y$,jscr:Q$,Jsercy:J$,jsercy:X$,Jukcy:ej,jukcy:tj,Kappa:nj,kappa:sj,kappav:oj,Kcedil:rj,kcedil:ij,Kcy:aj,kcy:lj,Kfr:cj,kfr:uj,kgreen:dj,KHcy:hj,khcy:fj,KJcy:pj,kjcy:gj,Kopf:mj,kopf:_j,Kscr:bj,kscr:yj,lAarr:vj,Lacute:wj,lacute:xj,laemptyv:kj,lagran:Ej,Lambda:Cj,lambda:Aj,lang:Sj,Lang:Tj,langd:Mj,langle:Oj,lap:Rj,Laplacetrf:Nj,laquo:Dj,larrb:Lj,larrbfs:Ij,larr:Pj,Larr:Fj,lArr:Bj,larrfs:$j,larrhk:jj,larrlp:zj,larrpl:Uj,larrsim:qj,larrtl:Hj,latail:Vj,lAtail:Gj,lat:Kj,late:Wj,lates:Zj,lbarr:Yj,lBarr:Qj,lbbrk:Jj,lbrace:Xj,lbrack:ez,lbrke:tz,lbrksld:nz,lbrkslu:sz,Lcaron:oz,lcaron:rz,Lcedil:iz,lcedil:az,lceil:lz,lcub:cz,Lcy:uz,lcy:dz,ldca:hz,ldquo:fz,ldquor:pz,ldrdhar:gz,ldrushar:mz,ldsh:_z,le:bz,lE:yz,LeftAngleBracket:vz,LeftArrowBar:wz,leftarrow:xz,LeftArrow:kz,Leftarrow:Ez,LeftArrowRightArrow:Cz,leftarrowtail:Az,LeftCeiling:Sz,LeftDoubleBracket:Tz,LeftDownTeeVector:Mz,LeftDownVectorBar:Oz,LeftDownVector:Rz,LeftFloor:Nz,leftharpoondown:Dz,leftharpoonup:Lz,leftleftarrows:Iz,leftrightarrow:Pz,LeftRightArrow:Fz,Leftrightarrow:Bz,leftrightarrows:$z,leftrightharpoons:jz,leftrightsquigarrow:zz,LeftRightVector:Uz,LeftTeeArrow:qz,LeftTee:Hz,LeftTeeVector:Vz,leftthreetimes:Gz,LeftTriangleBar:Kz,LeftTriangle:Wz,LeftTriangleEqual:Zz,LeftUpDownVector:Yz,LeftUpTeeVector:Qz,LeftUpVectorBar:Jz,LeftUpVector:Xz,LeftVectorBar:eU,LeftVector:tU,lEg:nU,leg:sU,leq:oU,leqq:rU,leqslant:iU,lescc:aU,les:lU,lesdot:cU,lesdoto:uU,lesdotor:dU,lesg:hU,lesges:fU,lessapprox:pU,lessdot:gU,lesseqgtr:mU,lesseqqgtr:_U,LessEqualGreater:bU,LessFullEqual:yU,LessGreater:vU,lessgtr:wU,LessLess:xU,lesssim:kU,LessSlantEqual:EU,LessTilde:CU,lfisht:AU,lfloor:SU,Lfr:TU,lfr:MU,lg:OU,lgE:RU,lHar:NU,lhard:DU,lharu:LU,lharul:IU,lhblk:PU,LJcy:FU,ljcy:BU,llarr:$U,ll:jU,Ll:zU,llcorner:UU,Lleftarrow:qU,llhard:HU,lltri:VU,Lmidot:GU,lmidot:KU,lmoustache:WU,lmoust:ZU,lnap:YU,lnapprox:QU,lne:JU,lnE:XU,lneq:eq,lneqq:tq,lnsim:nq,loang:sq,loarr:oq,lobrk:rq,longleftarrow:iq,LongLeftArrow:aq,Longleftarrow:lq,longleftrightarrow:cq,LongLeftRightArrow:uq,Longleftrightarrow:dq,longmapsto:hq,longrightarrow:fq,LongRightArrow:pq,Longrightarrow:gq,looparrowleft:mq,looparrowright:_q,lopar:bq,Lopf:yq,lopf:vq,loplus:wq,lotimes:xq,lowast:kq,lowbar:Eq,LowerLeftArrow:Cq,LowerRightArrow:Aq,loz:Sq,lozenge:Tq,lozf:Mq,lpar:Oq,lparlt:Rq,lrarr:Nq,lrcorner:Dq,lrhar:Lq,lrhard:Iq,lrm:Pq,lrtri:Fq,lsaquo:Bq,lscr:$q,Lscr:jq,lsh:zq,Lsh:Uq,lsim:qq,lsime:Hq,lsimg:Vq,lsqb:Gq,lsquo:Kq,lsquor:Wq,Lstrok:Zq,lstrok:Yq,ltcc:Qq,ltcir:Jq,lt:Xq,LT:eH,Lt:tH,ltdot:nH,lthree:sH,ltimes:oH,ltlarr:rH,ltquest:iH,ltri:aH,ltrie:lH,ltrif:cH,ltrPar:uH,lurdshar:dH,luruhar:hH,lvertneqq:fH,lvnE:pH,macr:gH,male:mH,malt:_H,maltese:bH,Map:"⤅",map:yH,mapsto:vH,mapstodown:wH,mapstoleft:xH,mapstoup:kH,marker:EH,mcomma:CH,Mcy:AH,mcy:SH,mdash:TH,mDDot:MH,measuredangle:OH,MediumSpace:RH,Mellintrf:NH,Mfr:DH,mfr:LH,mho:IH,micro:PH,midast:FH,midcir:BH,mid:$H,middot:jH,minusb:zH,minus:UH,minusd:qH,minusdu:HH,MinusPlus:VH,mlcp:GH,mldr:KH,mnplus:WH,models:ZH,Mopf:YH,mopf:QH,mp:JH,mscr:XH,Mscr:eV,mstpos:tV,Mu:nV,mu:sV,multimap:oV,mumap:rV,nabla:iV,Nacute:aV,nacute:lV,nang:cV,nap:uV,napE:dV,napid:hV,napos:fV,napprox:pV,natural:gV,naturals:mV,natur:_V,nbsp:bV,nbump:yV,nbumpe:vV,ncap:wV,Ncaron:xV,ncaron:kV,Ncedil:EV,ncedil:CV,ncong:AV,ncongdot:SV,ncup:TV,Ncy:MV,ncy:OV,ndash:RV,nearhk:NV,nearr:DV,neArr:LV,nearrow:IV,ne:PV,nedot:FV,NegativeMediumSpace:BV,NegativeThickSpace:$V,NegativeThinSpace:jV,NegativeVeryThinSpace:zV,nequiv:UV,nesear:qV,nesim:HV,NestedGreaterGreater:VV,NestedLessLess:GV,NewLine:KV,nexist:WV,nexists:ZV,Nfr:YV,nfr:QV,ngE:JV,nge:XV,ngeq:eG,ngeqq:tG,ngeqslant:nG,nges:sG,nGg:oG,ngsim:rG,nGt:iG,ngt:aG,ngtr:lG,nGtv:cG,nharr:uG,nhArr:dG,nhpar:hG,ni:fG,nis:pG,nisd:gG,niv:mG,NJcy:_G,njcy:bG,nlarr:yG,nlArr:vG,nldr:wG,nlE:xG,nle:kG,nleftarrow:EG,nLeftarrow:CG,nleftrightarrow:AG,nLeftrightarrow:SG,nleq:TG,nleqq:MG,nleqslant:OG,nles:RG,nless:NG,nLl:DG,nlsim:LG,nLt:IG,nlt:PG,nltri:FG,nltrie:BG,nLtv:$G,nmid:jG,NoBreak:zG,NonBreakingSpace:UG,nopf:qG,Nopf:HG,Not:VG,not:GG,NotCongruent:KG,NotCupCap:WG,NotDoubleVerticalBar:ZG,NotElement:YG,NotEqual:QG,NotEqualTilde:JG,NotExists:XG,NotGreater:eK,NotGreaterEqual:tK,NotGreaterFullEqual:nK,NotGreaterGreater:sK,NotGreaterLess:oK,NotGreaterSlantEqual:rK,NotGreaterTilde:iK,NotHumpDownHump:aK,NotHumpEqual:lK,notin:cK,notindot:uK,notinE:dK,notinva:hK,notinvb:fK,notinvc:pK,NotLeftTriangleBar:gK,NotLeftTriangle:mK,NotLeftTriangleEqual:_K,NotLess:bK,NotLessEqual:yK,NotLessGreater:vK,NotLessLess:wK,NotLessSlantEqual:xK,NotLessTilde:kK,NotNestedGreaterGreater:EK,NotNestedLessLess:CK,notni:AK,notniva:SK,notnivb:TK,notnivc:MK,NotPrecedes:OK,NotPrecedesEqual:RK,NotPrecedesSlantEqual:NK,NotReverseElement:DK,NotRightTriangleBar:LK,NotRightTriangle:IK,NotRightTriangleEqual:PK,NotSquareSubset:FK,NotSquareSubsetEqual:BK,NotSquareSuperset:$K,NotSquareSupersetEqual:jK,NotSubset:zK,NotSubsetEqual:UK,NotSucceeds:qK,NotSucceedsEqual:HK,NotSucceedsSlantEqual:VK,NotSucceedsTilde:GK,NotSuperset:KK,NotSupersetEqual:WK,NotTilde:ZK,NotTildeEqual:YK,NotTildeFullEqual:QK,NotTildeTilde:JK,NotVerticalBar:XK,nparallel:eW,npar:tW,nparsl:nW,npart:sW,npolint:oW,npr:rW,nprcue:iW,nprec:aW,npreceq:lW,npre:cW,nrarrc:uW,nrarr:dW,nrArr:hW,nrarrw:fW,nrightarrow:pW,nRightarrow:gW,nrtri:mW,nrtrie:_W,nsc:bW,nsccue:yW,nsce:vW,Nscr:wW,nscr:xW,nshortmid:kW,nshortparallel:EW,nsim:CW,nsime:AW,nsimeq:SW,nsmid:TW,nspar:MW,nsqsube:OW,nsqsupe:RW,nsub:NW,nsubE:DW,nsube:LW,nsubset:IW,nsubseteq:PW,nsubseteqq:FW,nsucc:BW,nsucceq:$W,nsup:jW,nsupE:zW,nsupe:UW,nsupset:qW,nsupseteq:HW,nsupseteqq:VW,ntgl:GW,Ntilde:KW,ntilde:WW,ntlg:ZW,ntriangleleft:YW,ntrianglelefteq:QW,ntriangleright:JW,ntrianglerighteq:XW,Nu:eZ,nu:tZ,num:nZ,numero:sZ,numsp:oZ,nvap:rZ,nvdash:iZ,nvDash:aZ,nVdash:lZ,nVDash:cZ,nvge:uZ,nvgt:dZ,nvHarr:hZ,nvinfin:fZ,nvlArr:pZ,nvle:gZ,nvlt:mZ,nvltrie:_Z,nvrArr:bZ,nvrtrie:yZ,nvsim:vZ,nwarhk:wZ,nwarr:xZ,nwArr:kZ,nwarrow:EZ,nwnear:CZ,Oacute:AZ,oacute:SZ,oast:TZ,Ocirc:MZ,ocirc:OZ,ocir:RZ,Ocy:NZ,ocy:DZ,odash:LZ,Odblac:IZ,odblac:PZ,odiv:FZ,odot:BZ,odsold:$Z,OElig:jZ,oelig:zZ,ofcir:UZ,Ofr:qZ,ofr:HZ,ogon:VZ,Ograve:GZ,ograve:KZ,ogt:WZ,ohbar:ZZ,ohm:YZ,oint:QZ,olarr:JZ,olcir:XZ,olcross:eY,oline:tY,olt:nY,Omacr:sY,omacr:oY,Omega:rY,omega:iY,Omicron:aY,omicron:lY,omid:cY,ominus:uY,Oopf:dY,oopf:hY,opar:fY,OpenCurlyDoubleQuote:pY,OpenCurlyQuote:gY,operp:mY,oplus:_Y,orarr:bY,Or:yY,or:vY,ord:wY,order:xY,orderof:kY,ordf:EY,ordm:CY,origof:AY,oror:SY,orslope:TY,orv:MY,oS:OY,Oscr:RY,oscr:NY,Oslash:DY,oslash:LY,osol:IY,Otilde:PY,otilde:FY,otimesas:BY,Otimes:$Y,otimes:jY,Ouml:zY,ouml:UY,ovbar:qY,OverBar:HY,OverBrace:VY,OverBracket:GY,OverParenthesis:KY,para:WY,parallel:ZY,par:YY,parsim:QY,parsl:JY,part:XY,PartialD:eQ,Pcy:tQ,pcy:nQ,percnt:sQ,period:oQ,permil:rQ,perp:iQ,pertenk:aQ,Pfr:lQ,pfr:cQ,Phi:uQ,phi:dQ,phiv:hQ,phmmat:fQ,phone:pQ,Pi:gQ,pi:mQ,pitchfork:_Q,piv:bQ,planck:yQ,planckh:vQ,plankv:wQ,plusacir:xQ,plusb:kQ,pluscir:EQ,plus:CQ,plusdo:AQ,plusdu:SQ,pluse:TQ,PlusMinus:MQ,plusmn:OQ,plussim:RQ,plustwo:NQ,pm:DQ,Poincareplane:LQ,pointint:IQ,popf:PQ,Popf:FQ,pound:BQ,prap:$Q,Pr:jQ,pr:zQ,prcue:UQ,precapprox:qQ,prec:HQ,preccurlyeq:VQ,Precedes:GQ,PrecedesEqual:KQ,PrecedesSlantEqual:WQ,PrecedesTilde:ZQ,preceq:YQ,precnapprox:QQ,precneqq:JQ,precnsim:XQ,pre:eJ,prE:tJ,precsim:nJ,prime:sJ,Prime:oJ,primes:rJ,prnap:iJ,prnE:aJ,prnsim:lJ,prod:cJ,Product:uJ,profalar:dJ,profline:hJ,profsurf:fJ,prop:pJ,Proportional:gJ,Proportion:mJ,propto:_J,prsim:bJ,prurel:yJ,Pscr:vJ,pscr:wJ,Psi:xJ,psi:kJ,puncsp:EJ,Qfr:CJ,qfr:AJ,qint:SJ,qopf:TJ,Qopf:MJ,qprime:OJ,Qscr:RJ,qscr:NJ,quaternions:DJ,quatint:LJ,quest:IJ,questeq:PJ,quot:FJ,QUOT:BJ,rAarr:$J,race:jJ,Racute:zJ,racute:UJ,radic:qJ,raemptyv:HJ,rang:VJ,Rang:GJ,rangd:KJ,range:WJ,rangle:ZJ,raquo:YJ,rarrap:QJ,rarrb:JJ,rarrbfs:XJ,rarrc:eX,rarr:tX,Rarr:nX,rArr:sX,rarrfs:oX,rarrhk:rX,rarrlp:iX,rarrpl:aX,rarrsim:lX,Rarrtl:cX,rarrtl:uX,rarrw:dX,ratail:hX,rAtail:fX,ratio:pX,rationals:gX,rbarr:mX,rBarr:_X,RBarr:bX,rbbrk:yX,rbrace:vX,rbrack:wX,rbrke:xX,rbrksld:kX,rbrkslu:EX,Rcaron:CX,rcaron:AX,Rcedil:SX,rcedil:TX,rceil:MX,rcub:OX,Rcy:RX,rcy:NX,rdca:DX,rdldhar:LX,rdquo:IX,rdquor:PX,rdsh:FX,real:BX,realine:$X,realpart:jX,reals:zX,Re:UX,rect:qX,reg:HX,REG:VX,ReverseElement:GX,ReverseEquilibrium:KX,ReverseUpEquilibrium:WX,rfisht:ZX,rfloor:YX,rfr:QX,Rfr:JX,rHar:XX,rhard:eee,rharu:tee,rharul:nee,Rho:see,rho:oee,rhov:ree,RightAngleBracket:iee,RightArrowBar:aee,rightarrow:lee,RightArrow:cee,Rightarrow:uee,RightArrowLeftArrow:dee,rightarrowtail:hee,RightCeiling:fee,RightDoubleBracket:pee,RightDownTeeVector:gee,RightDownVectorBar:mee,RightDownVector:_ee,RightFloor:bee,rightharpoondown:yee,rightharpoonup:vee,rightleftarrows:wee,rightleftharpoons:xee,rightrightarrows:kee,rightsquigarrow:Eee,RightTeeArrow:Cee,RightTee:Aee,RightTeeVector:See,rightthreetimes:Tee,RightTriangleBar:Mee,RightTriangle:Oee,RightTriangleEqual:Ree,RightUpDownVector:Nee,RightUpTeeVector:Dee,RightUpVectorBar:Lee,RightUpVector:Iee,RightVectorBar:Pee,RightVector:Fee,ring:Bee,risingdotseq:$ee,rlarr:jee,rlhar:zee,rlm:Uee,rmoustache:qee,rmoust:Hee,rnmid:Vee,roang:Gee,roarr:Kee,robrk:Wee,ropar:Zee,ropf:Yee,Ropf:Qee,roplus:Jee,rotimes:Xee,RoundImplies:ete,rpar:tte,rpargt:nte,rppolint:ste,rrarr:ote,Rrightarrow:rte,rsaquo:ite,rscr:ate,Rscr:lte,rsh:cte,Rsh:ute,rsqb:dte,rsquo:hte,rsquor:fte,rthree:pte,rtimes:gte,rtri:mte,rtrie:_te,rtrif:bte,rtriltri:yte,RuleDelayed:vte,ruluhar:wte,rx:xte,Sacute:kte,sacute:Ete,sbquo:Cte,scap:Ate,Scaron:Ste,scaron:Tte,Sc:Mte,sc:Ote,sccue:Rte,sce:Nte,scE:Dte,Scedil:Lte,scedil:Ite,Scirc:Pte,scirc:Fte,scnap:Bte,scnE:$te,scnsim:jte,scpolint:zte,scsim:Ute,Scy:qte,scy:Hte,sdotb:Vte,sdot:Gte,sdote:Kte,searhk:Wte,searr:Zte,seArr:Yte,searrow:Qte,sect:Jte,semi:Xte,seswar:ene,setminus:tne,setmn:nne,sext:sne,Sfr:one,sfr:rne,sfrown:ine,sharp:ane,SHCHcy:lne,shchcy:cne,SHcy:une,shcy:dne,ShortDownArrow:hne,ShortLeftArrow:fne,shortmid:pne,shortparallel:gne,ShortRightArrow:mne,ShortUpArrow:_ne,shy:bne,Sigma:yne,sigma:vne,sigmaf:wne,sigmav:xne,sim:kne,simdot:Ene,sime:Cne,simeq:Ane,simg:Sne,simgE:Tne,siml:Mne,simlE:One,simne:Rne,simplus:Nne,simrarr:Dne,slarr:Lne,SmallCircle:Ine,smallsetminus:Pne,smashp:Fne,smeparsl:Bne,smid:$ne,smile:jne,smt:zne,smte:Une,smtes:qne,SOFTcy:Hne,softcy:Vne,solbar:Gne,solb:Kne,sol:Wne,Sopf:Zne,sopf:Yne,spades:Qne,spadesuit:Jne,spar:Xne,sqcap:ese,sqcaps:tse,sqcup:nse,sqcups:sse,Sqrt:ose,sqsub:rse,sqsube:ise,sqsubset:ase,sqsubseteq:lse,sqsup:cse,sqsupe:use,sqsupset:dse,sqsupseteq:hse,square:fse,Square:pse,SquareIntersection:gse,SquareSubset:mse,SquareSubsetEqual:_se,SquareSuperset:bse,SquareSupersetEqual:yse,SquareUnion:vse,squarf:wse,squ:xse,squf:kse,srarr:Ese,Sscr:Cse,sscr:Ase,ssetmn:Sse,ssmile:Tse,sstarf:Mse,Star:Ose,star:Rse,starf:Nse,straightepsilon:Dse,straightphi:Lse,strns:Ise,sub:Pse,Sub:Fse,subdot:Bse,subE:$se,sube:jse,subedot:zse,submult:Use,subnE:qse,subne:Hse,subplus:Vse,subrarr:Gse,subset:Kse,Subset:Wse,subseteq:Zse,subseteqq:Yse,SubsetEqual:Qse,subsetneq:Jse,subsetneqq:Xse,subsim:eoe,subsub:toe,subsup:noe,succapprox:soe,succ:ooe,succcurlyeq:roe,Succeeds:ioe,SucceedsEqual:aoe,SucceedsSlantEqual:loe,SucceedsTilde:coe,succeq:uoe,succnapprox:doe,succneqq:hoe,succnsim:foe,succsim:poe,SuchThat:goe,sum:moe,Sum:_oe,sung:boe,sup1:yoe,sup2:voe,sup3:woe,sup:xoe,Sup:koe,supdot:Eoe,supdsub:Coe,supE:Aoe,supe:Soe,supedot:Toe,Superset:Moe,SupersetEqual:Ooe,suphsol:Roe,suphsub:Noe,suplarr:Doe,supmult:Loe,supnE:Ioe,supne:Poe,supplus:Foe,supset:Boe,Supset:$oe,supseteq:joe,supseteqq:zoe,supsetneq:Uoe,supsetneqq:qoe,supsim:Hoe,supsub:Voe,supsup:Goe,swarhk:Koe,swarr:Woe,swArr:Zoe,swarrow:Yoe,swnwar:Qoe,szlig:Joe,Tab:Xoe,target:ere,Tau:tre,tau:nre,tbrk:sre,Tcaron:ore,tcaron:rre,Tcedil:ire,tcedil:are,Tcy:lre,tcy:cre,tdot:ure,telrec:dre,Tfr:hre,tfr:fre,there4:pre,therefore:gre,Therefore:mre,Theta:_re,theta:bre,thetasym:yre,thetav:vre,thickapprox:wre,thicksim:xre,ThickSpace:kre,ThinSpace:Ere,thinsp:Cre,thkap:Are,thksim:Sre,THORN:Tre,thorn:Mre,tilde:Ore,Tilde:Rre,TildeEqual:Nre,TildeFullEqual:Dre,TildeTilde:Lre,timesbar:Ire,timesb:Pre,times:Fre,timesd:Bre,tint:$re,toea:jre,topbot:zre,topcir:Ure,top:qre,Topf:Hre,topf:Vre,topfork:Gre,tosa:Kre,tprime:Wre,trade:Zre,TRADE:Yre,triangle:Qre,triangledown:Jre,triangleleft:Xre,trianglelefteq:eie,triangleq:tie,triangleright:nie,trianglerighteq:sie,tridot:oie,trie:rie,triminus:iie,TripleDot:aie,triplus:lie,trisb:cie,tritime:uie,trpezium:die,Tscr:hie,tscr:fie,TScy:pie,tscy:gie,TSHcy:mie,tshcy:_ie,Tstrok:bie,tstrok:yie,twixt:vie,twoheadleftarrow:wie,twoheadrightarrow:xie,Uacute:kie,uacute:Eie,uarr:Cie,Uarr:Aie,uArr:Sie,Uarrocir:Tie,Ubrcy:Mie,ubrcy:Oie,Ubreve:Rie,ubreve:Nie,Ucirc:Die,ucirc:Lie,Ucy:Iie,ucy:Pie,udarr:Fie,Udblac:Bie,udblac:$ie,udhar:jie,ufisht:zie,Ufr:Uie,ufr:qie,Ugrave:Hie,ugrave:Vie,uHar:Gie,uharl:Kie,uharr:Wie,uhblk:Zie,ulcorn:Yie,ulcorner:Qie,ulcrop:Jie,ultri:Xie,Umacr:eae,umacr:tae,uml:nae,UnderBar:sae,UnderBrace:oae,UnderBracket:rae,UnderParenthesis:iae,Union:aae,UnionPlus:lae,Uogon:cae,uogon:uae,Uopf:dae,uopf:hae,UpArrowBar:fae,uparrow:pae,UpArrow:gae,Uparrow:mae,UpArrowDownArrow:_ae,updownarrow:bae,UpDownArrow:yae,Updownarrow:vae,UpEquilibrium:wae,upharpoonleft:xae,upharpoonright:kae,uplus:Eae,UpperLeftArrow:Cae,UpperRightArrow:Aae,upsi:Sae,Upsi:Tae,upsih:Mae,Upsilon:Oae,upsilon:Rae,UpTeeArrow:Nae,UpTee:Dae,upuparrows:Lae,urcorn:Iae,urcorner:Pae,urcrop:Fae,Uring:Bae,uring:$ae,urtri:jae,Uscr:zae,uscr:Uae,utdot:qae,Utilde:Hae,utilde:Vae,utri:Gae,utrif:Kae,uuarr:Wae,Uuml:Zae,uuml:Yae,uwangle:Qae,vangrt:Jae,varepsilon:Xae,varkappa:ele,varnothing:tle,varphi:nle,varpi:sle,varpropto:ole,varr:rle,vArr:ile,varrho:ale,varsigma:lle,varsubsetneq:cle,varsubsetneqq:ule,varsupsetneq:dle,varsupsetneqq:hle,vartheta:fle,vartriangleleft:ple,vartriangleright:gle,vBar:mle,Vbar:_le,vBarv:ble,Vcy:yle,vcy:vle,vdash:wle,vDash:xle,Vdash:kle,VDash:Ele,Vdashl:Cle,veebar:Ale,vee:Sle,Vee:Tle,veeeq:Mle,vellip:Ole,verbar:Rle,Verbar:Nle,vert:Dle,Vert:Lle,VerticalBar:Ile,VerticalLine:Ple,VerticalSeparator:Fle,VerticalTilde:Ble,VeryThinSpace:$le,Vfr:jle,vfr:zle,vltri:Ule,vnsub:qle,vnsup:Hle,Vopf:Vle,vopf:Gle,vprop:Kle,vrtri:Wle,Vscr:Zle,vscr:Yle,vsubnE:Qle,vsubne:Jle,vsupnE:Xle,vsupne:ece,Vvdash:tce,vzigzag:nce,Wcirc:sce,wcirc:oce,wedbar:rce,wedge:ice,Wedge:ace,wedgeq:lce,weierp:cce,Wfr:uce,wfr:dce,Wopf:hce,wopf:fce,wp:pce,wr:gce,wreath:mce,Wscr:_ce,wscr:bce,xcap:yce,xcirc:vce,xcup:wce,xdtri:xce,Xfr:kce,xfr:Ece,xharr:Cce,xhArr:Ace,Xi:Sce,xi:Tce,xlarr:Mce,xlArr:Oce,xmap:Rce,xnis:Nce,xodot:Dce,Xopf:Lce,xopf:Ice,xoplus:Pce,xotime:Fce,xrarr:Bce,xrArr:$ce,Xscr:jce,xscr:zce,xsqcup:Uce,xuplus:qce,xutri:Hce,xvee:Vce,xwedge:Gce,Yacute:Kce,yacute:Wce,YAcy:Zce,yacy:Yce,Ycirc:Qce,ycirc:Jce,Ycy:Xce,ycy:eue,yen:tue,Yfr:nue,yfr:sue,YIcy:oue,yicy:rue,Yopf:iue,yopf:aue,Yscr:lue,yscr:cue,YUcy:uue,yucy:due,yuml:hue,Yuml:fue,Zacute:pue,zacute:gue,Zcaron:mue,zcaron:_ue,Zcy:bue,zcy:yue,Zdot:vue,zdot:wue,zeetrf:xue,ZeroWidthSpace:kue,Zeta:Eue,zeta:Cue,zfr:Aue,Zfr:Sue,ZHcy:Tue,zhcy:Mue,zigrarr:Oue,zopf:Rue,Zopf:Nue,Zscr:Due,zscr:Lue,zwj:Iue,zwnj:Pue};var rg=Fue,ic=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Gs={},Yu={};function Bue(t){var e,n,s=Yu[t];if(s)return s;for(s=Yu[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=Bue(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}ui.defaultChars=";/?:@&=+$,-_.!~*'()#";ui.componentChars="-_.!~*'()";var $ue=ui,Qu={};function jue(t){var e,n,s=Qu[t];if(s)return s;for(s=Qu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&d<=57343?h+="���":h+=String.fromCharCode(d),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(d-=65536,h+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}h+="�"}return h})}di.defaultChars=";/?:@&=+$,#";di.componentChars="";var zue=di,Uue=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 Sr(){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 que=/^([a-z0-9.+-]+:)/i,Hue=/:[0-9]*$/,Vue=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Gue=["<",">",'"',"`"," ","\r",` +`," "],Kue=["{","}","|","\\","^","`"].concat(Gue),Wue=["'"].concat(Kue),Ju=["%","/","?",";","#"].concat(Wue),Xu=["/","?","#"],Zue=255,ed=/^[+a-z0-9A-Z_-]{0,63}$/,Yue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,td={javascript:!0,"javascript:":!0},nd={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Que(t,e){if(t&&t instanceof Sr)return t;var n=new Sr;return n.parse(t,e),n}Sr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=Vue.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=que.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&&td[c])&&(a=a.substr(2),this.slashes=!0)),!td[c]&&(i||c&&!nd[c])){var d=-1;for(n=0;n127?_+="x":_+=b[y];if(!_.match(ed)){var A=p.slice(0,n),R=p.slice(n+1),O=b.match(Yue);O&&(A.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=A.join(".");break}}}}this.hostname.length>Zue&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=a.indexOf("#");D!==-1&&(this.hash=a.substr(D),a=a.slice(0,D));var v=a.indexOf("?");return v!==-1&&(this.search=a.substr(v),a=a.slice(0,v)),a&&(this.pathname=a),nd[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Sr.prototype.parseHost=function(t){var e=Hue.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 Jue=Que;Gs.encode=$ue;Gs.decode=zue;Gs.format=Uue;Gs.parse=Jue;var Fn={},zi,sd;function ig(){return sd||(sd=1,zi=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),zi}var Ui,od;function ag(){return od||(od=1,Ui=/[\0-\x1F\x7F-\x9F]/),Ui}var qi,rd;function Xue(){return rd||(rd=1,qi=/[\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]/),qi}var Hi,id;function lg(){return id||(id=1,Hi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Hi}var ad;function ede(){return ad||(ad=1,Fn.Any=ig(),Fn.Cc=ag(),Fn.Cf=Xue(),Fn.P=ic,Fn.Z=lg()),Fn}(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,ce){return s.call(I,ce)}function r(I){var ce=Array.prototype.slice.call(arguments,1);return ce.forEach(function(Z){if(Z){if(typeof Z!="object")throw new TypeError(Z+"must be object");Object.keys(Z).forEach(function(T){I[T]=Z[T]})}}),I}function i(I,ce,Z){return[].concat(I.slice(0,ce),Z,I.slice(ce+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 ce=55296+(I>>10),Z=56320+(I&1023);return String.fromCharCode(ce,Z)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(c.source+"|"+d.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=rg;function m(I,ce){var Z=0;return o(g,ce)?g[ce]:ce.charCodeAt(0)===35&&f.test(ce)&&(Z=ce[1].toLowerCase()==="x"?parseInt(ce.slice(2),16):parseInt(ce.slice(1),10),a(Z))?l(Z):I}function p(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function b(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(h,function(ce,Z,T){return Z||m(ce,T)})}var _=/[&<>"]/,y=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function A(I){return x[I]}function R(I){return _.test(I)?I.replace(y,A):I}var O=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(O,"\\$&")}function v(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 M=ic;function L(I){return M.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=Gs,t.lib.ucmicro=ede(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=p,t.unescapeAll=b,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=v,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Q})(ze);var hi={},tde=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,d=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=ld(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},sde=ze.unescapeAll,ode=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)+""};Jt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` +`};Jt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?ide(r.info).trim():"",a="",l="",c,d,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Xn(r.content):c=Xn(r.content),c.indexOf(""+c+` `):"
"+c+`
`};Jt.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)};Jt.hardbreak=function(t,e,n){return n.xhtmlOut?`
`:`
`};Jt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Jt.text=function(t,e){return Xn(t[e].content)};Jt.html_block=function(t,e){return t[e].content};Jt.html_inline=function(t,e){return t[e].content};function Ks(){this.rules=tde({},Jt)}Ks.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n `:">",r)};Ks.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function dde(t){return/^<\/a\s*>/i.test(t)}var hde=function(e){var n,s,o,r,i,a,l,c,u,h,f,g,m,p,b,_,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"&&(ude(a.content)&&m>0&&m--,dde(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=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=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",b]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,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(pde,mde)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function bde(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&cg.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 yde=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(fde.test(e.tokens[n].content)&&_de(e.tokens[n].children),cg.test(e.tokens[n].content)&&bde(e.tokens[n].children))},ld=ze.isWhiteSpace,cd=ze.isPunctChar,ud=ze.isMdAsciiPunct,vde=/['"]/,dd=/['"]/g,hd="’";function Wo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function wde(t,e){var n,s,o,r,i,a,l,c,u,h,f,g,m,p,b,_,y,x,A,R,O;for(A=[],n=0;n=0&&!(A[y].level<=l);y--);if(A.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&&(_=b=!1),b&&_&&(b=f,_=g),!b&&!_){x&&(s.content=Wo(s.content,r.index,hd));continue}if(_){for(y=A.length-1;y>=0&&(c=A[y],!(A[y].level=0;n--)e.tokens[n].type!=="inline"||!vde.test(e.tokens[n].content)||wde(e.tokens[n].children,e)},kde=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};Ws.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 ac=Ws,Ede=ac;function ug(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ug.prototype.Token=Ede;var Cde=ug,Ade=ic,Vi=[["normalize",ide],["block",ade],["inline",lde],["linkify",hde],["replacements",yde],["smartquotes",xde],["text_join",kde]];function lc(){this.ruler=new Ade;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[u]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Gi(O))||R===45&&Gi(O))return!1;for(;a=4||(h=fd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=b=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l=4)break;for(h=fd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(g=e.push("tbody_open","tbody",1),g.map=_=[n+2,0]),g=e.push("tr_open","tr",1),g.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},Ode=function(e,n,s,o){var r,i,a,l,c,u,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(h=e.src.slice(c,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=L,y=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=n+1;f=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=L,p.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(A?1:0),y.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(u)break;for(R=!1,a=0,c=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,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&&(T=!0),(L=md(e,n))>=0){if(h=!0,Q=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Q,L-1)),T&&_!==1)return!1}else if((L=gd(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(b=e.src.charCodeAt(L-1),o)return!0;for(p=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),_!==1&&(Z.attrs=[["start",_]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(b),x=n,F=!1,le=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=y?c=1:c=A-u,c>4&&(c=1),l=u+c,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(b),Z.map=f=[n,0],h&&(Z.info=e.src.slice(Q,L-1)),k=e.tight,v=e.tShift[n],D=e.sCount[n],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=A,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)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=k,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(b),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=le.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<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:A,href:c}),e.parentType=m,e.line=n+R+1),!0)},Bde=["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"],fi={},$de="[a-zA-Z_:][a-zA-Z0-9:._-]*",jde="[^\"'=<>`\\x00-\\x20]+",zde="'[^']*'",Ude='"[^"]*"',qde="(?:"+jde+"|"+zde+"|"+Ude+")",Hde="(?:\\s+"+$de+"(?:\\s*=\\s*"+qde+")?)",hg="<[A-Za-z][A-Za-z0-9\\-]*"+Hde+"*\\s*\\/?>",fg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Vde="|",Gde="<[?][\\s\\S]*?[?]>",Kde="]*>",Wde="",Zde=new RegExp("^(?:"+hg+"|"+fg+"|"+Vde+"|"+Gde+"|"+Kde+"|"+Wde+")"),Yde=new RegExp("^(?:"+hg+"|"+fg+")");fi.HTML_TAG_RE=Zde;fi.HTML_OPEN_CLOSE_TAG_RE=Yde;var Qde=Bde,Jde=fi.HTML_OPEN_CLOSE_TAG_RE,ds=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Jde.source+"\\s*$"),/^$/,!1]],Xde=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&&_d(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)},the=function(e,n,s){var o,r,i,a,l,c,u,h,f,g=n+1,m,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],u=e.eMarks[g],c=u)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=p.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!pi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.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("")};Xt.prototype.Token=pg;var she=Xt,ohe=ic,Yo=[["table",Tde,["paragraph","reference"]],["code",Mde],["fence",Ode,["paragraph","reference","blockquote","list"]],["blockquote",Rde,["paragraph","reference","blockquote","list"]],["hr",Dde,["paragraph","reference","blockquote","list"]],["list",Ide,["paragraph","reference","blockquote"]],["reference",Fde],["html_block",Xde,["paragraph","reference","blockquote"]],["heading",ehe,["paragraph","reference","blockquote"]],["lheading",the],["paragraph",nhe]];function gi(){this.ruler=new ohe;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(lhe),!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)},uhe=ze.isSpace,dhe=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){cc[t.charCodeAt(0)]=1});var fhe=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&&cc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},phe=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--))}_i.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(vd(e,e.delimiters),n=0;n=p)return!1;if(b=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="",b=l;l=p||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(b,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[ghe(r)],!u)return e.pos=m,!1;f=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=p,!0},_he=ze.normalizeReference,Zi=ze.isSpace,bhe=function(e,n){var s,o,r,i,a,l,c,u,h,f,g,m,p,b="",_=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(p=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?c=h.pos:b=""),p=c;c=y||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?i=e.src.slice(p,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[_he(i)],!u)return e.pos=_,!1;b=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),g=e.push("image","img",0),g.attrs=s=[["src",b],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=c,e.posMax=y,!0},yhe=/^([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])?)*)$/,vhe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,whe=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),vhe.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):yhe.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},xhe=fi.HTML_TAG_RE;function khe(t){return/^\s]/i.test(t)}function Ehe(t){return/^<\/a\s*>/i.test(t)}function Che(t){var e=t|32;return e>=97&&e<=122}var Ahe=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&&!Che(s))||(o=e.src.slice(a).match(xhe),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),khe(i.content)&&e.linkLevel++,Ehe(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},wd=rg,She=ze.has,The=ze.isValidEntityCode,xd=ze.fromCodePoint,Mhe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ohe=/^&([a-z][a-z0-9]{1,31});/i,Rhe=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(Mhe),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=The(o)?xd(o):xd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Ohe),r&&She(wd,r[1]))return n||(i=e.push("text_special","",0),i.content=wd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function kd(t,e){var n,s,o,r,i,a,l,c,u={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[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?m[s-1]+1:0,m[n]=n-s+c,m[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var Nhe=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(kd(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};Io.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,h,f=!0,g=!0,m=this.posMax,p=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()};Po.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}),Ji}function hl(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 bi(t){return Object.prototype.toString.call(t)}function Fhe(t){return bi(t)==="[object String]"}function Bhe(t){return bi(t)==="[object Object]"}function $he(t){return bi(t)==="[object RegExp]"}function Md(t){return bi(t)==="[object Function]"}function jhe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var gg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function zhe(t){return Object.keys(t||{}).reduce(function(e,n){return e||gg.hasOwnProperty(n)},!1)}var Uhe={"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}}},qhe="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]",Hhe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Vhe(t){t.__index__=-1,t.__text_cache__=""}function Ghe(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Od(){return function(t,e){e.normalize(t)}}function Tr(t){var e=t.re=Phe()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(qhe),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,Bhe(l)){$he(l.validate)?c.validate=Ghe(l.validate):Md(l.validate)?c.validate=l.validate:r(a,l),Md(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Od();return}if(Fhe(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:Od()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(jhe).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"),Vhe(t)}function Khe(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 fl(t,e){var n=new Khe(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function bt(t,e){if(!(this instanceof bt))return new bt(t,e);e||zhe(t)&&(e=t,t={}),this.__opts__=hl({},gg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=hl({},Uhe,t),this.__compiled__={},this.__tlds__=Hhe,this.__tlds_replaced__=!1,this.re={},Tr(this)}bt.prototype.add=function(e,n){return this.__schemas__[e]=n,Tr(this),this};bt.prototype.set=function(e){return this.__opts__=hl(this.__opts__,e),this};bt.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};bt.prototype.pretest=function(e){return this.re.pretest.test(e)};bt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};bt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(fl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(fl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};bt.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,fl(this,0)):null};bt.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(),Tr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Tr(this),this)};bt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};bt.prototype.onCompile=function(){};var Whe=bt;const ks=2147483647,Vt=36,dc=1,Ao=26,Zhe=38,Yhe=700,mg=72,_g=128,bg="-",Qhe=/^xn--/,Jhe=/[^\0-\x7F]/,Xhe=/[\x2E\u3002\uFF0E\uFF61]/g,efe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Xi=Vt-dc,Gt=Math.floor,ea=String.fromCharCode;function wn(t){throw new RangeError(efe[t])}function tfe(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function yg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Xhe,".");const o=t.split("."),r=tfe(o,e).join(".");return s+r}function hc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),nfe=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Vt},Rd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},wg=function(t,e,n){let s=0;for(t=n?Gt(t/Yhe):t>>1,t+=Gt(t/e);t>Xi*Ao>>1;s+=Vt)t=Gt(t/Xi);return Gt(s+(Xi+1)*t/(t+Zhe))},fc=function(t){const e=[],n=t.length;let s=0,o=_g,r=mg,i=t.lastIndexOf(bg);i<0&&(i=0);for(let a=0;a=128&&wn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&wn("invalid-input");const f=nfe(t.charCodeAt(a++));f>=Vt&&wn("invalid-input"),f>Gt((ks-s)/u)&&wn("overflow"),s+=f*u;const g=h<=r?dc:h>=r+Ao?Ao:h-r;if(fGt(ks/m)&&wn("overflow"),u*=m}const c=e.length+1;r=wg(s-l,c,l==0),Gt(s/c)>ks-o&&wn("overflow"),o+=Gt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},pc=function(t){const e=[];t=hc(t);const n=t.length;let s=_g,o=0,r=mg;for(const l of t)l<128&&e.push(ea(l));const i=e.length;let a=i;for(i&&e.push(bg);a=s&&uGt((ks-o)/c)&&wn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(uks&&wn("overflow"),u===s){let h=o;for(let f=Vt;;f+=Vt){const g=f<=r?dc:f>=r+Ao?Ao:f-r;if(h=0))try{e.hostname=Eg.toASCII(e.hostname)}catch{}return Gn.encode(Gn.format(e))}function vfe(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||Cg.indexOf(e.protocol)>=0))try{e.hostname=Eg.toUnicode(e.hostname)}catch{}return Gn.decode(Gn.format(e),Gn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||lo.isString(t)||(e=t||{},t="default"),this.inline=new ffe,this.block=new hfe,this.core=new dfe,this.renderer=new ufe,this.linkify=new pfe,this.validateLink=bfe,this.normalizeLink=yfe,this.normalizeLinkText=vfe,this.utils=lo,this.helpers=lo.assign({},cfe),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return lo.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(lo.isString(t)&&(n=t,t=gfe[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};Mt.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};Mt.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};Mt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Mt.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};Mt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Mt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var wfe=Mt,xfe=wfe;const kfe=is(xfe),Efe="😀",Cfe="😃",Afe="😄",Sfe="😁",Tfe="😆",Mfe="😆",Ofe="😅",Rfe="🤣",Nfe="😂",Dfe="🙂",Lfe="🙃",Ife="😉",Pfe="😊",Ffe="😇",Bfe="🥰",$fe="😍",jfe="🤩",zfe="😘",Ufe="😗",qfe="☺️",Hfe="😚",Vfe="😙",Gfe="🥲",Kfe="😋",Wfe="😛",Zfe="😜",Yfe="🤪",Qfe="😝",Jfe="🤑",Xfe="🤗",epe="🤭",tpe="🤫",npe="🤔",spe="🤐",ope="🤨",rpe="😐",ipe="😑",ape="😶",lpe="😏",cpe="😒",upe="🙄",dpe="😬",hpe="🤥",fpe="😌",ppe="😔",gpe="😪",mpe="🤤",_pe="😴",bpe="😷",ype="🤒",vpe="🤕",wpe="🤢",xpe="🤮",kpe="🤧",Epe="🥵",Cpe="🥶",Ape="🥴",Spe="😵",Tpe="🤯",Mpe="🤠",Ope="🥳",Rpe="🥸",Npe="😎",Dpe="🤓",Lpe="🧐",Ipe="😕",Ppe="😟",Fpe="🙁",Bpe="☹️",$pe="😮",jpe="😯",zpe="😲",Upe="😳",qpe="🥺",Hpe="😦",Vpe="😧",Gpe="😨",Kpe="😰",Wpe="😥",Zpe="😢",Ype="😭",Qpe="😱",Jpe="😖",Xpe="😣",ege="😞",tge="😓",nge="😩",sge="😫",oge="🥱",rge="😤",ige="😡",age="😡",lge="😠",cge="🤬",uge="😈",dge="👿",hge="💀",fge="☠️",pge="💩",gge="💩",mge="💩",_ge="🤡",bge="👹",yge="👺",vge="👻",wge="👽",xge="👾",kge="🤖",Ege="😺",Cge="😸",Age="😹",Sge="😻",Tge="😼",Mge="😽",Oge="🙀",Rge="😿",Nge="😾",Dge="🙈",Lge="🙉",Ige="🙊",Pge="💋",Fge="💌",Bge="💘",$ge="💝",jge="💖",zge="💗",Uge="💓",qge="💞",Hge="💕",Vge="💟",Gge="❣️",Kge="💔",Wge="❤️",Zge="🧡",Yge="💛",Qge="💚",Jge="💙",Xge="💜",eme="🤎",tme="🖤",nme="🤍",sme="💢",ome="💥",rme="💥",ime="💫",ame="💦",lme="💨",cme="🕳️",ume="💣",dme="💬",hme="👁️‍🗨️",fme="🗨️",pme="🗯️",gme="💭",mme="💤",_me="👋",bme="🤚",yme="🖐️",vme="✋",wme="✋",xme="🖖",kme="👌",Eme="🤌",Cme="🤏",Ame="✌️",Sme="🤞",Tme="🤟",Mme="🤘",Ome="🤙",Rme="👈",Nme="👉",Dme="👆",Lme="🖕",Ime="🖕",Pme="👇",Fme="☝️",Bme="👍",$me="👎",jme="✊",zme="✊",Ume="👊",qme="👊",Hme="👊",Vme="🤛",Gme="🤜",Kme="👏",Wme="🙌",Zme="👐",Yme="🤲",Qme="🤝",Jme="🙏",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="👅",b_e="👄",y_e="👶",v_e="🧒",w_e="👦",x_e="👧",k_e="🧑",E_e="👱",C_e="👨",A_e="🧔",S_e="👨‍🦰",T_e="👨‍🦱",M_e="👨‍🦳",O_e="👨‍🦲",R_e="👩",N_e="👩‍🦰",D_e="🧑‍🦰",L_e="👩‍🦱",I_e="🧑‍🦱",P_e="👩‍🦳",F_e="🧑‍🦳",B_e="👩‍🦲",$_e="🧑‍🦲",j_e="👱‍♀️",z_e="👱‍♀️",U_e="👱‍♂️",q_e="🧓",H_e="👴",V_e="👵",G_e="🙍",K_e="🙍‍♂️",W_e="🙍‍♀️",Z_e="🙎",Y_e="🙎‍♂️",Q_e="🙎‍♀️",J_e="🙅",X_e="🙅‍♂️",e1e="🙅‍♂️",t1e="🙅‍♀️",n1e="🙅‍♀️",s1e="🙆",o1e="🙆‍♂️",r1e="🙆‍♀️",i1e="💁",a1e="💁",l1e="💁‍♂️",c1e="💁‍♂️",u1e="💁‍♀️",d1e="💁‍♀️",h1e="🙋",f1e="🙋‍♂️",p1e="🙋‍♀️",g1e="🧏",m1e="🧏‍♂️",_1e="🧏‍♀️",b1e="🙇",y1e="🙇‍♂️",v1e="🙇‍♀️",w1e="🤦",x1e="🤦‍♂️",k1e="🤦‍♀️",E1e="🤷",C1e="🤷‍♂️",A1e="🤷‍♀️",S1e="🧑‍⚕️",T1e="👨‍⚕️",M1e="👩‍⚕️",O1e="🧑‍🎓",R1e="👨‍🎓",N1e="👩‍🎓",D1e="🧑‍🏫",L1e="👨‍🏫",I1e="👩‍🏫",P1e="🧑‍⚖️",F1e="👨‍⚖️",B1e="👩‍⚖️",$1e="🧑‍🌾",j1e="👨‍🌾",z1e="👩‍🌾",U1e="🧑‍🍳",q1e="👨‍🍳",H1e="👩‍🍳",V1e="🧑‍🔧",G1e="👨‍🔧",K1e="👩‍🔧",W1e="🧑‍🏭",Z1e="👨‍🏭",Y1e="👩‍🏭",Q1e="🧑‍💼",J1e="👨‍💼",X1e="👩‍💼",e0e="🧑‍🔬",t0e="👨‍🔬",n0e="👩‍🔬",s0e="🧑‍💻",o0e="👨‍💻",r0e="👩‍💻",i0e="🧑‍🎤",a0e="👨‍🎤",l0e="👩‍🎤",c0e="🧑‍🎨",u0e="👨‍🎨",d0e="👩‍🎨",h0e="🧑‍✈️",f0e="👨‍✈️",p0e="👩‍✈️",g0e="🧑‍🚀",m0e="👨‍🚀",_0e="👩‍🚀",b0e="🧑‍🚒",y0e="👨‍🚒",v0e="👩‍🚒",w0e="👮",x0e="👮",k0e="👮‍♂️",E0e="👮‍♀️",C0e="🕵️",A0e="🕵️‍♂️",S0e="🕵️‍♀️",T0e="💂",M0e="💂‍♂️",O0e="💂‍♀️",R0e="🥷",N0e="👷",D0e="👷‍♂️",L0e="👷‍♀️",I0e="🤴",P0e="👸",F0e="👳",B0e="👳‍♂️",$0e="👳‍♀️",j0e="👲",z0e="🧕",U0e="🤵",q0e="🤵‍♂️",H0e="🤵‍♀️",V0e="👰",G0e="👰‍♂️",K0e="👰‍♀️",W0e="👰‍♀️",Z0e="🤰",Y0e="🤱",Q0e="👩‍🍼",J0e="👨‍🍼",X0e="🧑‍🍼",ebe="👼",tbe="🎅",nbe="🤶",sbe="🧑‍🎄",obe="🦸",rbe="🦸‍♂️",ibe="🦸‍♀️",abe="🦹",lbe="🦹‍♂️",cbe="🦹‍♀️",ube="🧙",dbe="🧙‍♂️",hbe="🧙‍♀️",fbe="🧚",pbe="🧚‍♂️",gbe="🧚‍♀️",mbe="🧛",_be="🧛‍♂️",bbe="🧛‍♀️",ybe="🧜",vbe="🧜‍♂️",wbe="🧜‍♀️",xbe="🧝",kbe="🧝‍♂️",Ebe="🧝‍♀️",Cbe="🧞",Abe="🧞‍♂️",Sbe="🧞‍♀️",Tbe="🧟",Mbe="🧟‍♂️",Obe="🧟‍♀️",Rbe="💆",Nbe="💆‍♂️",Dbe="💆‍♀️",Lbe="💇",Ibe="💇‍♂️",Pbe="💇‍♀️",Fbe="🚶",Bbe="🚶‍♂️",$be="🚶‍♀️",jbe="🧍",zbe="🧍‍♂️",Ube="🧍‍♀️",qbe="🧎",Hbe="🧎‍♂️",Vbe="🧎‍♀️",Gbe="🧑‍🦯",Kbe="👨‍🦯",Wbe="👩‍🦯",Zbe="🧑‍🦼",Ybe="👨‍🦼",Qbe="👩‍🦼",Jbe="🧑‍🦽",Xbe="👨‍🦽",eye="👩‍🦽",tye="🏃",nye="🏃",sye="🏃‍♂️",oye="🏃‍♀️",rye="💃",iye="💃",aye="🕺",lye="🕴️",cye="👯",uye="👯‍♂️",dye="👯‍♀️",hye="🧖",fye="🧖‍♂️",pye="🧖‍♀️",gye="🧗",mye="🧗‍♂️",_ye="🧗‍♀️",bye="🤺",yye="🏇",vye="⛷️",wye="🏂",xye="🏌️",kye="🏌️‍♂️",Eye="🏌️‍♀️",Cye="🏄",Aye="🏄‍♂️",Sye="🏄‍♀️",Tye="🚣",Mye="🚣‍♂️",Oye="🚣‍♀️",Rye="🏊",Nye="🏊‍♂️",Dye="🏊‍♀️",Lye="⛹️",Iye="⛹️‍♂️",Pye="⛹️‍♂️",Fye="⛹️‍♀️",Bye="⛹️‍♀️",$ye="🏋️",jye="🏋️‍♂️",zye="🏋️‍♀️",Uye="🚴",qye="🚴‍♂️",Hye="🚴‍♀️",Vye="🚵",Gye="🚵‍♂️",Kye="🚵‍♀️",Wye="🤸",Zye="🤸‍♂️",Yye="🤸‍♀️",Qye="🤼",Jye="🤼‍♂️",Xye="🤼‍♀️",e2e="🤽",t2e="🤽‍♂️",n2e="🤽‍♀️",s2e="🤾",o2e="🤾‍♂️",r2e="🤾‍♀️",i2e="🤹",a2e="🤹‍♂️",l2e="🤹‍♀️",c2e="🧘",u2e="🧘‍♂️",d2e="🧘‍♀️",h2e="🛀",f2e="🛌",p2e="🧑‍🤝‍🧑",g2e="👭",m2e="👫",_2e="👬",b2e="💏",y2e="👩‍❤️‍💋‍👨",v2e="👨‍❤️‍💋‍👨",w2e="👩‍❤️‍💋‍👩",x2e="💑",k2e="👩‍❤️‍👨",E2e="👨‍❤️‍👨",C2e="👩‍❤️‍👩",A2e="👪",S2e="👨‍👩‍👦",T2e="👨‍👩‍👧",M2e="👨‍👩‍👧‍👦",O2e="👨‍👩‍👦‍👦",R2e="👨‍👩‍👧‍👧",N2e="👨‍👨‍👦",D2e="👨‍👨‍👧",L2e="👨‍👨‍👧‍👦",I2e="👨‍👨‍👦‍👦",P2e="👨‍👨‍👧‍👧",F2e="👩‍👩‍👦",B2e="👩‍👩‍👧",$2e="👩‍👩‍👧‍👦",j2e="👩‍👩‍👦‍👦",z2e="👩‍👩‍👧‍👧",U2e="👨‍👦",q2e="👨‍👦‍👦",H2e="👨‍👧",V2e="👨‍👧‍👦",G2e="👨‍👧‍👧",K2e="👩‍👦",W2e="👩‍👦‍👦",Z2e="👩‍👧",Y2e="👩‍👧‍👦",Q2e="👩‍👧‍👧",J2e="🗣️",X2e="👤",eve="👥",tve="🫂",nve="👣",sve="🐵",ove="🐒",rve="🦍",ive="🦧",ave="🐶",lve="🐕",cve="🦮",uve="🐕‍🦺",dve="🐩",hve="🐺",fve="🦊",pve="🦝",gve="🐱",mve="🐈",_ve="🐈‍⬛",bve="🦁",yve="🐯",vve="🐅",wve="🐆",xve="🐴",kve="🐎",Eve="🦄",Cve="🦓",Ave="🦌",Sve="🦬",Tve="🐮",Mve="🐂",Ove="🐃",Rve="🐄",Nve="🐷",Dve="🐖",Lve="🐗",Ive="🐽",Pve="🐏",Fve="🐑",Bve="🐐",$ve="🐪",jve="🐫",zve="🦙",Uve="🦒",qve="🐘",Hve="🦣",Vve="🦏",Gve="🦛",Kve="🐭",Wve="🐁",Zve="🐀",Yve="🐹",Qve="🐰",Jve="🐇",Xve="🐿️",ewe="🦫",twe="🦔",nwe="🦇",swe="🐻",owe="🐻‍❄️",rwe="🐨",iwe="🐼",awe="🦥",lwe="🦦",cwe="🦨",uwe="🦘",dwe="🦡",hwe="🐾",fwe="🐾",pwe="🦃",gwe="🐔",mwe="🐓",_we="🐣",bwe="🐤",ywe="🐥",vwe="🐦",wwe="🐧",xwe="🕊️",kwe="🦅",Ewe="🦆",Cwe="🦢",Awe="🦉",Swe="🦤",Twe="🪶",Mwe="🦩",Owe="🦚",Rwe="🦜",Nwe="🐸",Dwe="🐊",Lwe="🐢",Iwe="🦎",Pwe="🐍",Fwe="🐲",Bwe="🐉",$we="🦕",jwe="🐳",zwe="🐋",Uwe="🐬",qwe="🐬",Hwe="🦭",Vwe="🐟",Gwe="🐠",Kwe="🐡",Wwe="🦈",Zwe="🐙",Ywe="🐚",Qwe="🐌",Jwe="🦋",Xwe="🐛",exe="🐜",txe="🐝",nxe="🐝",sxe="🪲",oxe="🐞",rxe="🦗",ixe="🪳",axe="🕷️",lxe="🕸️",cxe="🦂",uxe="🦟",dxe="🪰",hxe="🪱",fxe="🦠",pxe="💐",gxe="🌸",mxe="💮",_xe="🏵️",bxe="🌹",yxe="🥀",vxe="🌺",wxe="🌻",xxe="🌼",kxe="🌷",Exe="🌱",Cxe="🪴",Axe="🌲",Sxe="🌳",Txe="🌴",Mxe="🌵",Oxe="🌾",Rxe="🌿",Nxe="☘️",Dxe="🍀",Lxe="🍁",Ixe="🍂",Pxe="🍃",Fxe="🍇",Bxe="🍈",$xe="🍉",jxe="🍊",zxe="🍊",Uxe="🍊",qxe="🍋",Hxe="🍌",Vxe="🍍",Gxe="🥭",Kxe="🍎",Wxe="🍏",Zxe="🍐",Yxe="🍑",Qxe="🍒",Jxe="🍓",Xxe="🫐",eke="🥝",tke="🍅",nke="🫒",ske="🥥",oke="🥑",rke="🍆",ike="🥔",ake="🥕",lke="🌽",cke="🌶️",uke="🫑",dke="🥒",hke="🥬",fke="🥦",pke="🧄",gke="🧅",mke="🍄",_ke="🥜",bke="🌰",yke="🍞",vke="🥐",wke="🥖",xke="🫓",kke="🥨",Eke="🥯",Cke="🥞",Ake="🧇",Ske="🧀",Tke="🍖",Mke="🍗",Oke="🥩",Rke="🥓",Nke="🍔",Dke="🍟",Lke="🍕",Ike="🌭",Pke="🥪",Fke="🌮",Bke="🌯",$ke="🫔",jke="🥙",zke="🧆",Uke="🥚",qke="🍳",Hke="🥘",Vke="🍲",Gke="🫕",Kke="🥣",Wke="🥗",Zke="🍿",Yke="🧈",Qke="🧂",Jke="🥫",Xke="🍱",eEe="🍘",tEe="🍙",nEe="🍚",sEe="🍛",oEe="🍜",rEe="🍝",iEe="🍠",aEe="🍢",lEe="🍣",cEe="🍤",uEe="🍥",dEe="🥮",hEe="🍡",fEe="🥟",pEe="🥠",gEe="🥡",mEe="🦀",_Ee="🦞",bEe="🦐",yEe="🦑",vEe="🦪",wEe="🍦",xEe="🍧",kEe="🍨",EEe="🍩",CEe="🍪",AEe="🎂",SEe="🍰",TEe="🧁",MEe="🥧",OEe="🍫",REe="🍬",NEe="🍭",DEe="🍮",LEe="🍯",IEe="🍼",PEe="🥛",FEe="☕",BEe="🫖",$Ee="🍵",jEe="🍶",zEe="🍾",UEe="🍷",qEe="🍸",HEe="🍹",VEe="🍺",GEe="🍻",KEe="🥂",WEe="🥃",ZEe="🥤",YEe="🧋",QEe="🧃",JEe="🧉",XEe="🧊",e5e="🥢",t5e="🍽️",n5e="🍴",s5e="🥄",o5e="🔪",r5e="🔪",i5e="🏺",a5e="🌍",l5e="🌎",c5e="🌏",u5e="🌐",d5e="🗺️",h5e="🗾",f5e="🧭",p5e="🏔️",g5e="⛰️",m5e="🌋",_5e="🗻",b5e="🏕️",y5e="🏖️",v5e="🏜️",w5e="🏝️",x5e="🏞️",k5e="🏟️",E5e="🏛️",C5e="🏗️",A5e="🧱",S5e="🪨",T5e="🪵",M5e="🛖",O5e="🏘️",R5e="🏚️",N5e="🏠",D5e="🏡",L5e="🏢",I5e="🏣",P5e="🏤",F5e="🏥",B5e="🏦",$5e="🏨",j5e="🏩",z5e="🏪",U5e="🏫",q5e="🏬",H5e="🏭",V5e="🏯",G5e="🏰",K5e="💒",W5e="🗼",Z5e="🗽",Y5e="⛪",Q5e="🕌",J5e="🛕",X5e="🕍",e4e="⛩️",t4e="🕋",n4e="⛲",s4e="⛺",o4e="🌁",r4e="🌃",i4e="🏙️",a4e="🌄",l4e="🌅",c4e="🌆",u4e="🌇",d4e="🌉",h4e="♨️",f4e="🎠",p4e="🎡",g4e="🎢",m4e="💈",_4e="🎪",b4e="🚂",y4e="🚃",v4e="🚄",w4e="🚅",x4e="🚆",k4e="🚇",E4e="🚈",C4e="🚉",A4e="🚊",S4e="🚝",T4e="🚞",M4e="🚋",O4e="🚌",R4e="🚍",N4e="🚎",D4e="🚐",L4e="🚑",I4e="🚒",P4e="🚓",F4e="🚔",B4e="🚕",$4e="🚖",j4e="🚗",z4e="🚗",U4e="🚘",q4e="🚙",H4e="🛻",V4e="🚚",G4e="🚛",K4e="🚜",W4e="🏎️",Z4e="🏍️",Y4e="🛵",Q4e="🦽",J4e="🦼",X4e="🛺",e3e="🚲",t3e="🛴",n3e="🛹",s3e="🛼",o3e="🚏",r3e="🛣️",i3e="🛤️",a3e="🛢️",l3e="⛽",c3e="🚨",u3e="🚥",d3e="🚦",h3e="🛑",f3e="🚧",p3e="⚓",g3e="⛵",m3e="⛵",_3e="🛶",b3e="🚤",y3e="🛳️",v3e="⛴️",w3e="🛥️",x3e="🚢",k3e="✈️",E3e="🛩️",C3e="🛫",A3e="🛬",S3e="🪂",T3e="💺",M3e="🚁",O3e="🚟",R3e="🚠",N3e="🚡",D3e="🛰️",L3e="🚀",I3e="🛸",P3e="🛎️",F3e="🧳",B3e="⌛",$3e="⏳",j3e="⌚",z3e="⏰",U3e="⏱️",q3e="⏲️",H3e="🕰️",V3e="🕛",G3e="🕧",K3e="🕐",W3e="🕜",Z3e="🕑",Y3e="🕝",Q3e="🕒",J3e="🕞",X3e="🕓",eCe="🕟",tCe="🕔",nCe="🕠",sCe="🕕",oCe="🕡",rCe="🕖",iCe="🕢",aCe="🕗",lCe="🕣",cCe="🕘",uCe="🕤",dCe="🕙",hCe="🕥",fCe="🕚",pCe="🕦",gCe="🌑",mCe="🌒",_Ce="🌓",bCe="🌔",yCe="🌔",vCe="🌕",wCe="🌖",xCe="🌗",kCe="🌘",ECe="🌙",CCe="🌚",ACe="🌛",SCe="🌜",TCe="🌡️",MCe="☀️",OCe="🌝",RCe="🌞",NCe="🪐",DCe="⭐",LCe="🌟",ICe="🌠",PCe="🌌",FCe="☁️",BCe="⛅",$Ce="⛈️",jCe="🌤️",zCe="🌥️",UCe="🌦️",qCe="🌧️",HCe="🌨️",VCe="🌩️",GCe="🌪️",KCe="🌫️",WCe="🌬️",ZCe="🌀",YCe="🌈",QCe="🌂",JCe="☂️",XCe="☔",e8e="⛱️",t8e="⚡",n8e="❄️",s8e="☃️",o8e="⛄",r8e="☄️",i8e="🔥",a8e="💧",l8e="🌊",c8e="🎃",u8e="🎄",d8e="🎆",h8e="🎇",f8e="🧨",p8e="✨",g8e="🎈",m8e="🎉",_8e="🎊",b8e="🎋",y8e="🎍",v8e="🎎",w8e="🎏",x8e="🎐",k8e="🎑",E8e="🧧",C8e="🎀",A8e="🎁",S8e="🎗️",T8e="🎟️",M8e="🎫",O8e="🎖️",R8e="🏆",N8e="🏅",D8e="⚽",L8e="⚾",I8e="🥎",P8e="🏀",F8e="🏐",B8e="🏈",$8e="🏉",j8e="🎾",z8e="🥏",U8e="🎳",q8e="🏏",H8e="🏑",V8e="🏒",G8e="🥍",K8e="🏓",W8e="🏸",Z8e="🥊",Y8e="🥋",Q8e="🥅",J8e="⛳",X8e="⛸️",e9e="🎣",t9e="🤿",n9e="🎽",s9e="🎿",o9e="🛷",r9e="🥌",i9e="🎯",a9e="🪀",l9e="🪁",c9e="🔮",u9e="🪄",d9e="🧿",h9e="🎮",f9e="🕹️",p9e="🎰",g9e="🎲",m9e="🧩",_9e="🧸",b9e="🪅",y9e="🪆",v9e="♠️",w9e="♥️",x9e="♦️",k9e="♣️",E9e="♟️",C9e="🃏",A9e="🀄",S9e="🎴",T9e="🎭",M9e="🖼️",O9e="🎨",R9e="🧵",N9e="🪡",D9e="🧶",L9e="🪢",I9e="👓",P9e="🕶️",F9e="🥽",B9e="🥼",$9e="🦺",j9e="👔",z9e="👕",U9e="👕",q9e="👖",H9e="🧣",V9e="🧤",G9e="🧥",K9e="🧦",W9e="👗",Z9e="👘",Y9e="🥻",Q9e="🩱",J9e="🩲",X9e="🩳",eAe="👙",tAe="👚",nAe="👛",sAe="👜",oAe="👝",rAe="🛍️",iAe="🎒",aAe="🩴",lAe="👞",cAe="👞",uAe="👟",dAe="🥾",hAe="🥿",fAe="👠",pAe="👡",gAe="🩰",mAe="👢",_Ae="👑",bAe="👒",yAe="🎩",vAe="🎓",wAe="🧢",xAe="🪖",kAe="⛑️",EAe="📿",CAe="💄",AAe="💍",SAe="💎",TAe="🔇",MAe="🔈",OAe="🔉",RAe="🔊",NAe="📢",DAe="📣",LAe="📯",IAe="🔔",PAe="🔕",FAe="🎼",BAe="🎵",$Ae="🎶",jAe="🎙️",zAe="🎚️",UAe="🎛️",qAe="🎤",HAe="🎧",VAe="📻",GAe="🎷",KAe="🪗",WAe="🎸",ZAe="🎹",YAe="🎺",QAe="🎻",JAe="🪕",XAe="🥁",e6e="🪘",t6e="📱",n6e="📲",s6e="☎️",o6e="☎️",r6e="📞",i6e="📟",a6e="📠",l6e="🔋",c6e="🔌",u6e="💻",d6e="🖥️",h6e="🖨️",f6e="⌨️",p6e="🖱️",g6e="🖲️",m6e="💽",_6e="💾",b6e="💿",y6e="📀",v6e="🧮",w6e="🎥",x6e="🎞️",k6e="📽️",E6e="🎬",C6e="📺",A6e="📷",S6e="📸",T6e="📹",M6e="📼",O6e="🔍",R6e="🔎",N6e="🕯️",D6e="💡",L6e="🔦",I6e="🏮",P6e="🏮",F6e="🪔",B6e="📔",$6e="📕",j6e="📖",z6e="📖",U6e="📗",q6e="📘",H6e="📙",V6e="📚",G6e="📓",K6e="📒",W6e="📃",Z6e="📜",Y6e="📄",Q6e="📰",J6e="🗞️",X6e="📑",eSe="🔖",tSe="🏷️",nSe="💰",sSe="🪙",oSe="💴",rSe="💵",iSe="💶",aSe="💷",lSe="💸",cSe="💳",uSe="🧾",dSe="💹",hSe="✉️",fSe="📧",pSe="📨",gSe="📩",mSe="📤",_Se="📥",bSe="📫",ySe="📪",vSe="📬",wSe="📭",xSe="📮",kSe="🗳️",ESe="✏️",CSe="✒️",ASe="🖋️",SSe="🖊️",TSe="🖌️",MSe="🖍️",OSe="📝",RSe="📝",NSe="💼",DSe="📁",LSe="📂",ISe="🗂️",PSe="📅",FSe="📆",BSe="🗒️",$Se="🗓️",jSe="📇",zSe="📈",USe="📉",qSe="📊",HSe="📋",VSe="📌",GSe="📍",KSe="📎",WSe="🖇️",ZSe="📏",YSe="📐",QSe="✂️",JSe="🗃️",XSe="🗄️",eTe="🗑️",tTe="🔒",nTe="🔓",sTe="🔏",oTe="🔐",rTe="🔑",iTe="🗝️",aTe="🔨",lTe="🪓",cTe="⛏️",uTe="⚒️",dTe="🛠️",hTe="🗡️",fTe="⚔️",pTe="🔫",gTe="🪃",mTe="🏹",_Te="🛡️",bTe="🪚",yTe="🔧",vTe="🪛",wTe="🔩",xTe="⚙️",kTe="🗜️",ETe="⚖️",CTe="🦯",ATe="🔗",STe="⛓️",TTe="🪝",MTe="🧰",OTe="🧲",RTe="🪜",NTe="⚗️",DTe="🧪",LTe="🧫",ITe="🧬",PTe="🔬",FTe="🔭",BTe="📡",$Te="💉",jTe="🩸",zTe="💊",UTe="🩹",qTe="🩺",HTe="🚪",VTe="🛗",GTe="🪞",KTe="🪟",WTe="🛏️",ZTe="🛋️",YTe="🪑",QTe="🚽",JTe="🪠",XTe="🚿",e7e="🛁",t7e="🪤",n7e="🪒",s7e="🧴",o7e="🧷",r7e="🧹",i7e="🧺",a7e="🧻",l7e="🪣",c7e="🧼",u7e="🪥",d7e="🧽",h7e="🧯",f7e="🛒",p7e="🚬",g7e="⚰️",m7e="🪦",_7e="⚱️",b7e="🗿",y7e="🪧",v7e="🏧",w7e="🚮",x7e="🚰",k7e="♿",E7e="🚹",C7e="🚺",A7e="🚻",S7e="🚼",T7e="🚾",M7e="🛂",O7e="🛃",R7e="🛄",N7e="🛅",D7e="⚠️",L7e="🚸",I7e="⛔",P7e="🚫",F7e="🚳",B7e="🚭",$7e="🚯",j7e="🚷",z7e="📵",U7e="🔞",q7e="☢️",H7e="☣️",V7e="⬆️",G7e="↗️",K7e="➡️",W7e="↘️",Z7e="⬇️",Y7e="↙️",Q7e="⬅️",J7e="↖️",X7e="↕️",eMe="↔️",tMe="↩️",nMe="↪️",sMe="⤴️",oMe="⤵️",rMe="🔃",iMe="🔄",aMe="🔙",lMe="🔚",cMe="🔛",uMe="🔜",dMe="🔝",hMe="🛐",fMe="⚛️",pMe="🕉️",gMe="✡️",mMe="☸️",_Me="☯️",bMe="✝️",yMe="☦️",vMe="☪️",wMe="☮️",xMe="🕎",kMe="🔯",EMe="♈",CMe="♉",AMe="♊",SMe="♋",TMe="♌",MMe="♍",OMe="♎",RMe="♏",NMe="♐",DMe="♑",LMe="♒",IMe="♓",PMe="⛎",FMe="🔀",BMe="🔁",$Me="🔂",jMe="▶️",zMe="⏩",UMe="⏭️",qMe="⏯️",HMe="◀️",VMe="⏪",GMe="⏮️",KMe="🔼",WMe="⏫",ZMe="🔽",YMe="⏬",QMe="⏸️",JMe="⏹️",XMe="⏺️",eOe="⏏️",tOe="🎦",nOe="🔅",sOe="🔆",oOe="📶",rOe="📳",iOe="📴",aOe="♀️",lOe="♂️",cOe="⚧️",uOe="✖️",dOe="➕",hOe="➖",fOe="➗",pOe="♾️",gOe="‼️",mOe="⁉️",_Oe="❓",bOe="❔",yOe="❕",vOe="❗",wOe="❗",xOe="〰️",kOe="💱",EOe="💲",COe="⚕️",AOe="♻️",SOe="⚜️",TOe="🔱",MOe="📛",OOe="🔰",ROe="⭕",NOe="✅",DOe="☑️",LOe="✔️",IOe="❌",POe="❎",FOe="➰",BOe="➿",$Oe="〽️",jOe="✳️",zOe="✴️",UOe="❇️",qOe="©️",HOe="®️",VOe="™️",GOe="#️⃣",KOe="*️⃣",WOe="0️⃣",ZOe="1️⃣",YOe="2️⃣",QOe="3️⃣",JOe="4️⃣",XOe="5️⃣",eRe="6️⃣",tRe="7️⃣",nRe="8️⃣",sRe="9️⃣",oRe="🔟",rRe="🔠",iRe="🔡",aRe="🔣",lRe="🔤",cRe="🅰️",uRe="🆎",dRe="🅱️",hRe="🆑",fRe="🆒",pRe="🆓",gRe="ℹ️",mRe="🆔",_Re="Ⓜ️",bRe="🆖",yRe="🅾️",vRe="🆗",wRe="🅿️",xRe="🆘",kRe="🆙",ERe="🆚",CRe="🈁",ARe="🈂️",SRe="🉐",TRe="🉑",MRe="㊗️",ORe="㊙️",RRe="🈵",NRe="🔴",DRe="🟠",LRe="🟡",IRe="🟢",PRe="🔵",FRe="🟣",BRe="🟤",$Re="⚫",jRe="⚪",zRe="🟥",URe="🟧",qRe="🟨",HRe="🟩",VRe="🟦",GRe="🟪",KRe="🟫",WRe="⬛",ZRe="⬜",YRe="◼️",QRe="◻️",JRe="◾",XRe="◽",eNe="▪️",tNe="▫️",nNe="🔶",sNe="🔷",oNe="🔸",rNe="🔹",iNe="🔺",aNe="🔻",lNe="💠",cNe="🔘",uNe="🔳",dNe="🔲",hNe="🏁",fNe="🚩",pNe="🎌",gNe="🏴",mNe="🏳️",_Ne="🏳️‍🌈",bNe="🏳️‍⚧️",yNe="🏴‍☠️",vNe="🇦🇨",wNe="🇦🇩",xNe="🇦🇪",kNe="🇦🇫",ENe="🇦🇬",CNe="🇦🇮",ANe="🇦🇱",SNe="🇦🇲",TNe="🇦🇴",MNe="🇦🇶",ONe="🇦🇷",RNe="🇦🇸",NNe="🇦🇹",DNe="🇦🇺",LNe="🇦🇼",INe="🇦🇽",PNe="🇦🇿",FNe="🇧🇦",BNe="🇧🇧",$Ne="🇧🇩",jNe="🇧🇪",zNe="🇧🇫",UNe="🇧🇬",qNe="🇧🇭",HNe="🇧🇮",VNe="🇧🇯",GNe="🇧🇱",KNe="🇧🇲",WNe="🇧🇳",ZNe="🇧🇴",YNe="🇧🇶",QNe="🇧🇷",JNe="🇧🇸",XNe="🇧🇹",eDe="🇧🇻",tDe="🇧🇼",nDe="🇧🇾",sDe="🇧🇿",oDe="🇨🇦",rDe="🇨🇨",iDe="🇨🇩",aDe="🇨🇫",lDe="🇨🇬",cDe="🇨🇭",uDe="🇨🇮",dDe="🇨🇰",hDe="🇨🇱",fDe="🇨🇲",pDe="🇨🇳",gDe="🇨🇴",mDe="🇨🇵",_De="🇨🇷",bDe="🇨🇺",yDe="🇨🇻",vDe="🇨🇼",wDe="🇨🇽",xDe="🇨🇾",kDe="🇨🇿",EDe="🇩🇪",CDe="🇩🇬",ADe="🇩🇯",SDe="🇩🇰",TDe="🇩🇲",MDe="🇩🇴",ODe="🇩🇿",RDe="🇪🇦",NDe="🇪🇨",DDe="🇪🇪",LDe="🇪🇬",IDe="🇪🇭",PDe="🇪🇷",FDe="🇪🇸",BDe="🇪🇹",$De="🇪🇺",jDe="🇪🇺",zDe="🇫🇮",UDe="🇫🇯",qDe="🇫🇰",HDe="🇫🇲",VDe="🇫🇴",GDe="🇫🇷",KDe="🇬🇦",WDe="🇬🇧",ZDe="🇬🇧",YDe="🇬🇩",QDe="🇬🇪",JDe="🇬🇫",XDe="🇬🇬",eLe="🇬🇭",tLe="🇬🇮",nLe="🇬🇱",sLe="🇬🇲",oLe="🇬🇳",rLe="🇬🇵",iLe="🇬🇶",aLe="🇬🇷",lLe="🇬🇸",cLe="🇬🇹",uLe="🇬🇺",dLe="🇬🇼",hLe="🇬🇾",fLe="🇭🇰",pLe="🇭🇲",gLe="🇭🇳",mLe="🇭🇷",_Le="🇭🇹",bLe="🇭🇺",yLe="🇮🇨",vLe="🇮🇩",wLe="🇮🇪",xLe="🇮🇱",kLe="🇮🇲",ELe="🇮🇳",CLe="🇮🇴",ALe="🇮🇶",SLe="🇮🇷",TLe="🇮🇸",MLe="🇮🇹",OLe="🇯🇪",RLe="🇯🇲",NLe="🇯🇴",DLe="🇯🇵",LLe="🇰🇪",ILe="🇰🇬",PLe="🇰🇭",FLe="🇰🇮",BLe="🇰🇲",$Le="🇰🇳",jLe="🇰🇵",zLe="🇰🇷",ULe="🇰🇼",qLe="🇰🇾",HLe="🇰🇿",VLe="🇱🇦",GLe="🇱🇧",KLe="🇱🇨",WLe="🇱🇮",ZLe="🇱🇰",YLe="🇱🇷",QLe="🇱🇸",JLe="🇱🇹",XLe="🇱🇺",eIe="🇱🇻",tIe="🇱🇾",nIe="🇲🇦",sIe="🇲🇨",oIe="🇲🇩",rIe="🇲🇪",iIe="🇲🇫",aIe="🇲🇬",lIe="🇲🇭",cIe="🇲🇰",uIe="🇲🇱",dIe="🇲🇲",hIe="🇲🇳",fIe="🇲🇴",pIe="🇲🇵",gIe="🇲🇶",mIe="🇲🇷",_Ie="🇲🇸",bIe="🇲🇹",yIe="🇲🇺",vIe="🇲🇻",wIe="🇲🇼",xIe="🇲🇽",kIe="🇲🇾",EIe="🇲🇿",CIe="🇳🇦",AIe="🇳🇨",SIe="🇳🇪",TIe="🇳🇫",MIe="🇳🇬",OIe="🇳🇮",RIe="🇳🇱",NIe="🇳🇴",DIe="🇳🇵",LIe="🇳🇷",IIe="🇳🇺",PIe="🇳🇿",FIe="🇴🇲",BIe="🇵🇦",$Ie="🇵🇪",jIe="🇵🇫",zIe="🇵🇬",UIe="🇵🇭",qIe="🇵🇰",HIe="🇵🇱",VIe="🇵🇲",GIe="🇵🇳",KIe="🇵🇷",WIe="🇵🇸",ZIe="🇵🇹",YIe="🇵🇼",QIe="🇵🇾",JIe="🇶🇦",XIe="🇷🇪",ePe="🇷🇴",tPe="🇷🇸",nPe="🇷🇺",sPe="🇷🇼",oPe="🇸🇦",rPe="🇸🇧",iPe="🇸🇨",aPe="🇸🇩",lPe="🇸🇪",cPe="🇸🇬",uPe="🇸🇭",dPe="🇸🇮",hPe="🇸🇯",fPe="🇸🇰",pPe="🇸🇱",gPe="🇸🇲",mPe="🇸🇳",_Pe="🇸🇴",bPe="🇸🇷",yPe="🇸🇸",vPe="🇸🇹",wPe="🇸🇻",xPe="🇸🇽",kPe="🇸🇾",EPe="🇸🇿",CPe="🇹🇦",APe="🇹🇨",SPe="🇹🇩",TPe="🇹🇫",MPe="🇹🇬",OPe="🇹🇭",RPe="🇹🇯",NPe="🇹🇰",DPe="🇹🇱",LPe="🇹🇲",IPe="🇹🇳",PPe="🇹🇴",FPe="🇹🇷",BPe="🇹🇹",$Pe="🇹🇻",jPe="🇹🇼",zPe="🇹🇿",UPe="🇺🇦",qPe="🇺🇬",HPe="🇺🇲",VPe="🇺🇳",GPe="🇺🇸",KPe="🇺🇾",WPe="🇺🇿",ZPe="🇻🇦",YPe="🇻🇨",QPe="🇻🇪",JPe="🇻🇬",XPe="🇻🇮",eFe="🇻🇳",tFe="🇻🇺",nFe="🇼🇫",sFe="🇼🇸",oFe="🇽🇰",rFe="🇾🇪",iFe="🇾🇹",aFe="🇿🇦",lFe="🇿🇲",cFe="🇿🇼",uFe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",dFe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",hFe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",fFe={100:"💯",1234:"🔢",grinning:Efe,smiley:Cfe,smile:Afe,grin:Sfe,laughing:Tfe,satisfied:Mfe,sweat_smile:Ofe,rofl:Rfe,joy:Nfe,slightly_smiling_face:Dfe,upside_down_face:Lfe,wink:Ife,blush:Pfe,innocent:Ffe,smiling_face_with_three_hearts:Bfe,heart_eyes:$fe,star_struck:jfe,kissing_heart:zfe,kissing:Ufe,relaxed:qfe,kissing_closed_eyes:Hfe,kissing_smiling_eyes:Vfe,smiling_face_with_tear:Gfe,yum:Kfe,stuck_out_tongue:Wfe,stuck_out_tongue_winking_eye:Zfe,zany_face:Yfe,stuck_out_tongue_closed_eyes:Qfe,money_mouth_face:Jfe,hugs:Xfe,hand_over_mouth:epe,shushing_face:tpe,thinking:npe,zipper_mouth_face:spe,raised_eyebrow:ope,neutral_face:rpe,expressionless:ipe,no_mouth:ape,smirk:lpe,unamused:cpe,roll_eyes:upe,grimacing:dpe,lying_face:hpe,relieved:fpe,pensive:ppe,sleepy:gpe,drooling_face:mpe,sleeping:_pe,mask:bpe,face_with_thermometer:ype,face_with_head_bandage:vpe,nauseated_face:wpe,vomiting_face:xpe,sneezing_face:kpe,hot_face:Epe,cold_face:Cpe,woozy_face:Ape,dizzy_face:Spe,exploding_head:Tpe,cowboy_hat_face:Mpe,partying_face:Ope,disguised_face:Rpe,sunglasses:Npe,nerd_face:Dpe,monocle_face:Lpe,confused:Ipe,worried:Ppe,slightly_frowning_face:Fpe,frowning_face:Bpe,open_mouth:$pe,hushed:jpe,astonished:zpe,flushed:Upe,pleading_face:qpe,frowning:Hpe,anguished:Vpe,fearful:Gpe,cold_sweat:Kpe,disappointed_relieved:Wpe,cry:Zpe,sob:Ype,scream:Qpe,confounded:Jpe,persevere:Xpe,disappointed:ege,sweat:tge,weary:nge,tired_face:sge,yawning_face:oge,triumph:rge,rage:ige,pout:age,angry:lge,cursing_face:cge,smiling_imp:uge,imp:dge,skull:hge,skull_and_crossbones:fge,hankey:pge,poop:gge,shit:mge,clown_face:_ge,japanese_ogre:bge,japanese_goblin:yge,ghost:vge,alien:wge,space_invader:xge,robot:kge,smiley_cat:Ege,smile_cat:Cge,joy_cat:Age,heart_eyes_cat:Sge,smirk_cat:Tge,kissing_cat:Mge,scream_cat:Oge,crying_cat_face:Rge,pouting_cat:Nge,see_no_evil:Dge,hear_no_evil:Lge,speak_no_evil:Ige,kiss:Pge,love_letter:Fge,cupid:Bge,gift_heart:$ge,sparkling_heart:jge,heartpulse:zge,heartbeat:Uge,revolving_hearts:qge,two_hearts:Hge,heart_decoration:Vge,heavy_heart_exclamation:Gge,broken_heart:Kge,heart:Wge,orange_heart:Zge,yellow_heart:Yge,green_heart:Qge,blue_heart:Jge,purple_heart:Xge,brown_heart:eme,black_heart:tme,white_heart:nme,anger:sme,boom:ome,collision:rme,dizzy:ime,sweat_drops:ame,dash:lme,hole:cme,bomb:ume,speech_balloon:dme,eye_speech_bubble:hme,left_speech_bubble:fme,right_anger_bubble:pme,thought_balloon:gme,zzz:mme,wave:_me,raised_back_of_hand:bme,raised_hand_with_fingers_splayed:yme,hand:vme,raised_hand:wme,vulcan_salute:xme,ok_hand:kme,pinched_fingers:Eme,pinching_hand:Cme,v:Ame,crossed_fingers:Sme,love_you_gesture:Tme,metal:Mme,call_me_hand:Ome,point_left:Rme,point_right:Nme,point_up_2:Dme,middle_finger:Lme,fu:Ime,point_down:Pme,point_up:Fme,"+1":"👍",thumbsup:Bme,"-1":"👎",thumbsdown:$me,fist_raised:jme,fist:zme,fist_oncoming:Ume,facepunch:qme,punch:Hme,fist_left:Vme,fist_right:Gme,clap:Kme,raised_hands:Wme,open_hands:Zme,palms_up_together:Yme,handshake:Qme,pray:Jme,writing_hand:Xme,nail_care:e_e,selfie:t_e,muscle:n_e,mechanical_arm:s_e,mechanical_leg:o_e,leg:r_e,foot:i_e,ear:a_e,ear_with_hearing_aid:l_e,nose:c_e,brain:u_e,anatomical_heart:d_e,lungs:h_e,tooth:f_e,bone:p_e,eyes:g_e,eye:m_e,tongue:__e,lips:b_e,baby:y_e,child:v_e,boy:w_e,girl:x_e,adult:k_e,blond_haired_person:E_e,man:C_e,bearded_person:A_e,red_haired_man:S_e,curly_haired_man:T_e,white_haired_man:M_e,bald_man:O_e,woman:R_e,red_haired_woman:N_e,person_red_hair:D_e,curly_haired_woman:L_e,person_curly_hair:I_e,white_haired_woman:P_e,person_white_hair:F_e,bald_woman:B_e,person_bald:$_e,blond_haired_woman:j_e,blonde_woman:z_e,blond_haired_man:U_e,older_adult:q_e,older_man:H_e,older_woman:V_e,frowning_person:G_e,frowning_man:K_e,frowning_woman:W_e,pouting_face:Z_e,pouting_man:Y_e,pouting_woman:Q_e,no_good:J_e,no_good_man:X_e,ng_man:e1e,no_good_woman:t1e,ng_woman:n1e,ok_person:s1e,ok_man:o1e,ok_woman:r1e,tipping_hand_person:i1e,information_desk_person:a1e,tipping_hand_man:l1e,sassy_man:c1e,tipping_hand_woman:u1e,sassy_woman:d1e,raising_hand:h1e,raising_hand_man:f1e,raising_hand_woman:p1e,deaf_person:g1e,deaf_man:m1e,deaf_woman:_1e,bow:b1e,bowing_man:y1e,bowing_woman:v1e,facepalm:w1e,man_facepalming:x1e,woman_facepalming:k1e,shrug:E1e,man_shrugging:C1e,woman_shrugging:A1e,health_worker:S1e,man_health_worker:T1e,woman_health_worker:M1e,student:O1e,man_student:R1e,woman_student:N1e,teacher:D1e,man_teacher:L1e,woman_teacher:I1e,judge:P1e,man_judge:F1e,woman_judge:B1e,farmer:$1e,man_farmer:j1e,woman_farmer:z1e,cook:U1e,man_cook:q1e,woman_cook:H1e,mechanic:V1e,man_mechanic:G1e,woman_mechanic:K1e,factory_worker:W1e,man_factory_worker:Z1e,woman_factory_worker:Y1e,office_worker:Q1e,man_office_worker:J1e,woman_office_worker:X1e,scientist:e0e,man_scientist:t0e,woman_scientist:n0e,technologist:s0e,man_technologist:o0e,woman_technologist:r0e,singer:i0e,man_singer:a0e,woman_singer:l0e,artist:c0e,man_artist:u0e,woman_artist:d0e,pilot:h0e,man_pilot:f0e,woman_pilot:p0e,astronaut:g0e,man_astronaut:m0e,woman_astronaut:_0e,firefighter:b0e,man_firefighter:y0e,woman_firefighter:v0e,police_officer:w0e,cop:x0e,policeman:k0e,policewoman:E0e,detective:C0e,male_detective:A0e,female_detective:S0e,guard:T0e,guardsman:M0e,guardswoman:O0e,ninja:R0e,construction_worker:N0e,construction_worker_man:D0e,construction_worker_woman:L0e,prince:I0e,princess:P0e,person_with_turban:F0e,man_with_turban:B0e,woman_with_turban:$0e,man_with_gua_pi_mao:j0e,woman_with_headscarf:z0e,person_in_tuxedo:U0e,man_in_tuxedo:q0e,woman_in_tuxedo:H0e,person_with_veil:V0e,man_with_veil:G0e,woman_with_veil:K0e,bride_with_veil:W0e,pregnant_woman:Z0e,breast_feeding:Y0e,woman_feeding_baby:Q0e,man_feeding_baby:J0e,person_feeding_baby:X0e,angel:ebe,santa:tbe,mrs_claus:nbe,mx_claus:sbe,superhero:obe,superhero_man:rbe,superhero_woman:ibe,supervillain:abe,supervillain_man:lbe,supervillain_woman:cbe,mage:ube,mage_man:dbe,mage_woman:hbe,fairy:fbe,fairy_man:pbe,fairy_woman:gbe,vampire:mbe,vampire_man:_be,vampire_woman:bbe,merperson:ybe,merman:vbe,mermaid:wbe,elf:xbe,elf_man:kbe,elf_woman:Ebe,genie:Cbe,genie_man:Abe,genie_woman:Sbe,zombie:Tbe,zombie_man:Mbe,zombie_woman:Obe,massage:Rbe,massage_man:Nbe,massage_woman:Dbe,haircut:Lbe,haircut_man:Ibe,haircut_woman:Pbe,walking:Fbe,walking_man:Bbe,walking_woman:$be,standing_person:jbe,standing_man:zbe,standing_woman:Ube,kneeling_person:qbe,kneeling_man:Hbe,kneeling_woman:Vbe,person_with_probing_cane:Gbe,man_with_probing_cane:Kbe,woman_with_probing_cane:Wbe,person_in_motorized_wheelchair:Zbe,man_in_motorized_wheelchair:Ybe,woman_in_motorized_wheelchair:Qbe,person_in_manual_wheelchair:Jbe,man_in_manual_wheelchair:Xbe,woman_in_manual_wheelchair:eye,runner:tye,running:nye,running_man:sye,running_woman:oye,woman_dancing:rye,dancer:iye,man_dancing:aye,business_suit_levitating:lye,dancers:cye,dancing_men:uye,dancing_women:dye,sauna_person:hye,sauna_man:fye,sauna_woman:pye,climbing:gye,climbing_man:mye,climbing_woman:_ye,person_fencing:bye,horse_racing:yye,skier:vye,snowboarder:wye,golfing:xye,golfing_man:kye,golfing_woman:Eye,surfer:Cye,surfing_man:Aye,surfing_woman:Sye,rowboat:Tye,rowing_man:Mye,rowing_woman:Oye,swimmer:Rye,swimming_man:Nye,swimming_woman:Dye,bouncing_ball_person:Lye,bouncing_ball_man:Iye,basketball_man:Pye,bouncing_ball_woman:Fye,basketball_woman:Bye,weight_lifting:$ye,weight_lifting_man:jye,weight_lifting_woman:zye,bicyclist:Uye,biking_man:qye,biking_woman:Hye,mountain_bicyclist:Vye,mountain_biking_man:Gye,mountain_biking_woman:Kye,cartwheeling:Wye,man_cartwheeling:Zye,woman_cartwheeling:Yye,wrestling:Qye,men_wrestling:Jye,women_wrestling:Xye,water_polo:e2e,man_playing_water_polo:t2e,woman_playing_water_polo:n2e,handball_person:s2e,man_playing_handball:o2e,woman_playing_handball:r2e,juggling_person:i2e,man_juggling:a2e,woman_juggling:l2e,lotus_position:c2e,lotus_position_man:u2e,lotus_position_woman:d2e,bath:h2e,sleeping_bed:f2e,people_holding_hands:p2e,two_women_holding_hands:g2e,couple:m2e,two_men_holding_hands:_2e,couplekiss:b2e,couplekiss_man_woman:y2e,couplekiss_man_man:v2e,couplekiss_woman_woman:w2e,couple_with_heart:x2e,couple_with_heart_woman_man:k2e,couple_with_heart_man_man:E2e,couple_with_heart_woman_woman:C2e,family:A2e,family_man_woman_boy:S2e,family_man_woman_girl:T2e,family_man_woman_girl_boy:M2e,family_man_woman_boy_boy:O2e,family_man_woman_girl_girl:R2e,family_man_man_boy:N2e,family_man_man_girl:D2e,family_man_man_girl_boy:L2e,family_man_man_boy_boy:I2e,family_man_man_girl_girl:P2e,family_woman_woman_boy:F2e,family_woman_woman_girl:B2e,family_woman_woman_girl_boy:$2e,family_woman_woman_boy_boy:j2e,family_woman_woman_girl_girl:z2e,family_man_boy:U2e,family_man_boy_boy:q2e,family_man_girl:H2e,family_man_girl_boy:V2e,family_man_girl_girl:G2e,family_woman_boy:K2e,family_woman_boy_boy:W2e,family_woman_girl:Z2e,family_woman_girl_boy:Y2e,family_woman_girl_girl:Q2e,speaking_head:J2e,bust_in_silhouette:X2e,busts_in_silhouette:eve,people_hugging:tve,footprints:nve,monkey_face:sve,monkey:ove,gorilla:rve,orangutan:ive,dog:ave,dog2:lve,guide_dog:cve,service_dog:uve,poodle:dve,wolf:hve,fox_face:fve,raccoon:pve,cat:gve,cat2:mve,black_cat:_ve,lion:bve,tiger:yve,tiger2:vve,leopard:wve,horse:xve,racehorse:kve,unicorn:Eve,zebra:Cve,deer:Ave,bison:Sve,cow:Tve,ox:Mve,water_buffalo:Ove,cow2:Rve,pig:Nve,pig2:Dve,boar:Lve,pig_nose:Ive,ram:Pve,sheep:Fve,goat:Bve,dromedary_camel:$ve,camel:jve,llama:zve,giraffe:Uve,elephant:qve,mammoth:Hve,rhinoceros:Vve,hippopotamus:Gve,mouse:Kve,mouse2:Wve,rat:Zve,hamster:Yve,rabbit:Qve,rabbit2:Jve,chipmunk:Xve,beaver:ewe,hedgehog:twe,bat:nwe,bear:swe,polar_bear:owe,koala:rwe,panda_face:iwe,sloth:awe,otter:lwe,skunk:cwe,kangaroo:uwe,badger:dwe,feet:hwe,paw_prints:fwe,turkey:pwe,chicken:gwe,rooster:mwe,hatching_chick:_we,baby_chick:bwe,hatched_chick:ywe,bird:vwe,penguin:wwe,dove:xwe,eagle:kwe,duck:Ewe,swan:Cwe,owl:Awe,dodo:Swe,feather:Twe,flamingo:Mwe,peacock:Owe,parrot:Rwe,frog:Nwe,crocodile:Dwe,turtle:Lwe,lizard:Iwe,snake:Pwe,dragon_face:Fwe,dragon:Bwe,sauropod:$we,"t-rex":"🦖",whale:jwe,whale2:zwe,dolphin:Uwe,flipper:qwe,seal:Hwe,fish:Vwe,tropical_fish:Gwe,blowfish:Kwe,shark:Wwe,octopus:Zwe,shell:Ywe,snail:Qwe,butterfly:Jwe,bug:Xwe,ant:exe,bee:txe,honeybee:nxe,beetle:sxe,lady_beetle:oxe,cricket:rxe,cockroach:ixe,spider:axe,spider_web:lxe,scorpion:cxe,mosquito:uxe,fly:dxe,worm:hxe,microbe:fxe,bouquet:pxe,cherry_blossom:gxe,white_flower:mxe,rosette:_xe,rose:bxe,wilted_flower:yxe,hibiscus:vxe,sunflower:wxe,blossom:xxe,tulip:kxe,seedling:Exe,potted_plant:Cxe,evergreen_tree:Axe,deciduous_tree:Sxe,palm_tree:Txe,cactus:Mxe,ear_of_rice:Oxe,herb:Rxe,shamrock:Nxe,four_leaf_clover:Dxe,maple_leaf:Lxe,fallen_leaf:Ixe,leaves:Pxe,grapes:Fxe,melon:Bxe,watermelon:$xe,tangerine:jxe,orange:zxe,mandarin:Uxe,lemon:qxe,banana:Hxe,pineapple:Vxe,mango:Gxe,apple:Kxe,green_apple:Wxe,pear:Zxe,peach:Yxe,cherries:Qxe,strawberry:Jxe,blueberries:Xxe,kiwi_fruit:eke,tomato:tke,olive:nke,coconut:ske,avocado:oke,eggplant:rke,potato:ike,carrot:ake,corn:lke,hot_pepper:cke,bell_pepper:uke,cucumber:dke,leafy_green:hke,broccoli:fke,garlic:pke,onion:gke,mushroom:mke,peanuts:_ke,chestnut:bke,bread:yke,croissant:vke,baguette_bread:wke,flatbread:xke,pretzel:kke,bagel:Eke,pancakes:Cke,waffle:Ake,cheese:Ske,meat_on_bone:Tke,poultry_leg:Mke,cut_of_meat:Oke,bacon:Rke,hamburger:Nke,fries:Dke,pizza:Lke,hotdog:Ike,sandwich:Pke,taco:Fke,burrito:Bke,tamale:$ke,stuffed_flatbread:jke,falafel:zke,egg:Uke,fried_egg:qke,shallow_pan_of_food:Hke,stew:Vke,fondue:Gke,bowl_with_spoon:Kke,green_salad:Wke,popcorn:Zke,butter:Yke,salt:Qke,canned_food:Jke,bento:Xke,rice_cracker:eEe,rice_ball:tEe,rice:nEe,curry:sEe,ramen:oEe,spaghetti:rEe,sweet_potato:iEe,oden:aEe,sushi:lEe,fried_shrimp:cEe,fish_cake:uEe,moon_cake:dEe,dango:hEe,dumpling:fEe,fortune_cookie:pEe,takeout_box:gEe,crab:mEe,lobster:_Ee,shrimp:bEe,squid:yEe,oyster:vEe,icecream:wEe,shaved_ice:xEe,ice_cream:kEe,doughnut:EEe,cookie:CEe,birthday:AEe,cake:SEe,cupcake:TEe,pie:MEe,chocolate_bar:OEe,candy:REe,lollipop:NEe,custard:DEe,honey_pot:LEe,baby_bottle:IEe,milk_glass:PEe,coffee:FEe,teapot:BEe,tea:$Ee,sake:jEe,champagne:zEe,wine_glass:UEe,cocktail:qEe,tropical_drink:HEe,beer:VEe,beers:GEe,clinking_glasses:KEe,tumbler_glass:WEe,cup_with_straw:ZEe,bubble_tea:YEe,beverage_box:QEe,mate:JEe,ice_cube:XEe,chopsticks:e5e,plate_with_cutlery:t5e,fork_and_knife:n5e,spoon:s5e,hocho:o5e,knife:r5e,amphora:i5e,earth_africa:a5e,earth_americas:l5e,earth_asia:c5e,globe_with_meridians:u5e,world_map:d5e,japan:h5e,compass:f5e,mountain_snow:p5e,mountain:g5e,volcano:m5e,mount_fuji:_5e,camping:b5e,beach_umbrella:y5e,desert:v5e,desert_island:w5e,national_park:x5e,stadium:k5e,classical_building:E5e,building_construction:C5e,bricks:A5e,rock:S5e,wood:T5e,hut:M5e,houses:O5e,derelict_house:R5e,house:N5e,house_with_garden:D5e,office:L5e,post_office:I5e,european_post_office:P5e,hospital:F5e,bank:B5e,hotel:$5e,love_hotel:j5e,convenience_store:z5e,school:U5e,department_store:q5e,factory:H5e,japanese_castle:V5e,european_castle:G5e,wedding:K5e,tokyo_tower:W5e,statue_of_liberty:Z5e,church:Y5e,mosque:Q5e,hindu_temple:J5e,synagogue:X5e,shinto_shrine:e4e,kaaba:t4e,fountain:n4e,tent:s4e,foggy:o4e,night_with_stars:r4e,cityscape:i4e,sunrise_over_mountains:a4e,sunrise:l4e,city_sunset:c4e,city_sunrise:u4e,bridge_at_night:d4e,hotsprings:h4e,carousel_horse:f4e,ferris_wheel:p4e,roller_coaster:g4e,barber:m4e,circus_tent:_4e,steam_locomotive:b4e,railway_car:y4e,bullettrain_side:v4e,bullettrain_front:w4e,train2:x4e,metro:k4e,light_rail:E4e,station:C4e,tram:A4e,monorail:S4e,mountain_railway:T4e,train:M4e,bus:O4e,oncoming_bus:R4e,trolleybus:N4e,minibus:D4e,ambulance:L4e,fire_engine:I4e,police_car:P4e,oncoming_police_car:F4e,taxi:B4e,oncoming_taxi:$4e,car:j4e,red_car:z4e,oncoming_automobile:U4e,blue_car:q4e,pickup_truck:H4e,truck:V4e,articulated_lorry:G4e,tractor:K4e,racing_car:W4e,motorcycle:Z4e,motor_scooter:Y4e,manual_wheelchair:Q4e,motorized_wheelchair:J4e,auto_rickshaw:X4e,bike:e3e,kick_scooter:t3e,skateboard:n3e,roller_skate:s3e,busstop:o3e,motorway:r3e,railway_track:i3e,oil_drum:a3e,fuelpump:l3e,rotating_light:c3e,traffic_light:u3e,vertical_traffic_light:d3e,stop_sign:h3e,construction:f3e,anchor:p3e,boat:g3e,sailboat:m3e,canoe:_3e,speedboat:b3e,passenger_ship:y3e,ferry:v3e,motor_boat:w3e,ship:x3e,airplane:k3e,small_airplane:E3e,flight_departure:C3e,flight_arrival:A3e,parachute:S3e,seat:T3e,helicopter:M3e,suspension_railway:O3e,mountain_cableway:R3e,aerial_tramway:N3e,artificial_satellite:D3e,rocket:L3e,flying_saucer:I3e,bellhop_bell:P3e,luggage:F3e,hourglass:B3e,hourglass_flowing_sand:$3e,watch:j3e,alarm_clock:z3e,stopwatch:U3e,timer_clock:q3e,mantelpiece_clock:H3e,clock12:V3e,clock1230:G3e,clock1:K3e,clock130:W3e,clock2:Z3e,clock230:Y3e,clock3:Q3e,clock330:J3e,clock4:X3e,clock430:eCe,clock5:tCe,clock530:nCe,clock6:sCe,clock630:oCe,clock7:rCe,clock730:iCe,clock8:aCe,clock830:lCe,clock9:cCe,clock930:uCe,clock10:dCe,clock1030:hCe,clock11:fCe,clock1130:pCe,new_moon:gCe,waxing_crescent_moon:mCe,first_quarter_moon:_Ce,moon:bCe,waxing_gibbous_moon:yCe,full_moon:vCe,waning_gibbous_moon:wCe,last_quarter_moon:xCe,waning_crescent_moon:kCe,crescent_moon:ECe,new_moon_with_face:CCe,first_quarter_moon_with_face:ACe,last_quarter_moon_with_face:SCe,thermometer:TCe,sunny:MCe,full_moon_with_face:OCe,sun_with_face:RCe,ringed_planet:NCe,star:DCe,star2:LCe,stars:ICe,milky_way:PCe,cloud:FCe,partly_sunny:BCe,cloud_with_lightning_and_rain:$Ce,sun_behind_small_cloud:jCe,sun_behind_large_cloud:zCe,sun_behind_rain_cloud:UCe,cloud_with_rain:qCe,cloud_with_snow:HCe,cloud_with_lightning:VCe,tornado:GCe,fog:KCe,wind_face:WCe,cyclone:ZCe,rainbow:YCe,closed_umbrella:QCe,open_umbrella:JCe,umbrella:XCe,parasol_on_ground:e8e,zap:t8e,snowflake:n8e,snowman_with_snow:s8e,snowman:o8e,comet:r8e,fire:i8e,droplet:a8e,ocean:l8e,jack_o_lantern:c8e,christmas_tree:u8e,fireworks:d8e,sparkler:h8e,firecracker:f8e,sparkles:p8e,balloon:g8e,tada:m8e,confetti_ball:_8e,tanabata_tree:b8e,bamboo:y8e,dolls:v8e,flags:w8e,wind_chime:x8e,rice_scene:k8e,red_envelope:E8e,ribbon:C8e,gift:A8e,reminder_ribbon:S8e,tickets:T8e,ticket:M8e,medal_military:O8e,trophy:R8e,medal_sports:N8e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:D8e,baseball:L8e,softball:I8e,basketball:P8e,volleyball:F8e,football:B8e,rugby_football:$8e,tennis:j8e,flying_disc:z8e,bowling:U8e,cricket_game:q8e,field_hockey:H8e,ice_hockey:V8e,lacrosse:G8e,ping_pong:K8e,badminton:W8e,boxing_glove:Z8e,martial_arts_uniform:Y8e,goal_net:Q8e,golf:J8e,ice_skate:X8e,fishing_pole_and_fish:e9e,diving_mask:t9e,running_shirt_with_sash:n9e,ski:s9e,sled:o9e,curling_stone:r9e,dart:i9e,yo_yo:a9e,kite:l9e,"8ball":"🎱",crystal_ball:c9e,magic_wand:u9e,nazar_amulet:d9e,video_game:h9e,joystick:f9e,slot_machine:p9e,game_die:g9e,jigsaw:m9e,teddy_bear:_9e,pinata:b9e,nesting_dolls:y9e,spades:v9e,hearts:w9e,diamonds:x9e,clubs:k9e,chess_pawn:E9e,black_joker:C9e,mahjong:A9e,flower_playing_cards:S9e,performing_arts:T9e,framed_picture:M9e,art:O9e,thread:R9e,sewing_needle:N9e,yarn:D9e,knot:L9e,eyeglasses:I9e,dark_sunglasses:P9e,goggles:F9e,lab_coat:B9e,safety_vest:$9e,necktie:j9e,shirt:z9e,tshirt:U9e,jeans:q9e,scarf:H9e,gloves:V9e,coat:G9e,socks:K9e,dress:W9e,kimono:Z9e,sari:Y9e,one_piece_swimsuit:Q9e,swim_brief:J9e,shorts:X9e,bikini:eAe,womans_clothes:tAe,purse:nAe,handbag:sAe,pouch:oAe,shopping:rAe,school_satchel:iAe,thong_sandal:aAe,mans_shoe:lAe,shoe:cAe,athletic_shoe:uAe,hiking_boot:dAe,flat_shoe:hAe,high_heel:fAe,sandal:pAe,ballet_shoes:gAe,boot:mAe,crown:_Ae,womans_hat:bAe,tophat:yAe,mortar_board:vAe,billed_cap:wAe,military_helmet:xAe,rescue_worker_helmet:kAe,prayer_beads:EAe,lipstick:CAe,ring:AAe,gem:SAe,mute:TAe,speaker:MAe,sound:OAe,loud_sound:RAe,loudspeaker:NAe,mega:DAe,postal_horn:LAe,bell:IAe,no_bell:PAe,musical_score:FAe,musical_note:BAe,notes:$Ae,studio_microphone:jAe,level_slider:zAe,control_knobs:UAe,microphone:qAe,headphones:HAe,radio:VAe,saxophone:GAe,accordion:KAe,guitar:WAe,musical_keyboard:ZAe,trumpet:YAe,violin:QAe,banjo:JAe,drum:XAe,long_drum:e6e,iphone:t6e,calling:n6e,phone:s6e,telephone:o6e,telephone_receiver:r6e,pager:i6e,fax:a6e,battery:l6e,electric_plug:c6e,computer:u6e,desktop_computer:d6e,printer:h6e,keyboard:f6e,computer_mouse:p6e,trackball:g6e,minidisc:m6e,floppy_disk:_6e,cd:b6e,dvd:y6e,abacus:v6e,movie_camera:w6e,film_strip:x6e,film_projector:k6e,clapper:E6e,tv:C6e,camera:A6e,camera_flash:S6e,video_camera:T6e,vhs:M6e,mag:O6e,mag_right:R6e,candle:N6e,bulb:D6e,flashlight:L6e,izakaya_lantern:I6e,lantern:P6e,diya_lamp:F6e,notebook_with_decorative_cover:B6e,closed_book:$6e,book:j6e,open_book:z6e,green_book:U6e,blue_book:q6e,orange_book:H6e,books:V6e,notebook:G6e,ledger:K6e,page_with_curl:W6e,scroll:Z6e,page_facing_up:Y6e,newspaper:Q6e,newspaper_roll:J6e,bookmark_tabs:X6e,bookmark:eSe,label:tSe,moneybag:nSe,coin:sSe,yen:oSe,dollar:rSe,euro:iSe,pound:aSe,money_with_wings:lSe,credit_card:cSe,receipt:uSe,chart:dSe,envelope:hSe,email:fSe,"e-mail":"📧",incoming_envelope:pSe,envelope_with_arrow:gSe,outbox_tray:mSe,inbox_tray:_Se,package:"📦",mailbox:bSe,mailbox_closed:ySe,mailbox_with_mail:vSe,mailbox_with_no_mail:wSe,postbox:xSe,ballot_box:kSe,pencil2:ESe,black_nib:CSe,fountain_pen:ASe,pen:SSe,paintbrush:TSe,crayon:MSe,memo:OSe,pencil:RSe,briefcase:NSe,file_folder:DSe,open_file_folder:LSe,card_index_dividers:ISe,date:PSe,calendar:FSe,spiral_notepad:BSe,spiral_calendar:$Se,card_index:jSe,chart_with_upwards_trend:zSe,chart_with_downwards_trend:USe,bar_chart:qSe,clipboard:HSe,pushpin:VSe,round_pushpin:GSe,paperclip:KSe,paperclips:WSe,straight_ruler:ZSe,triangular_ruler:YSe,scissors:QSe,card_file_box:JSe,file_cabinet:XSe,wastebasket:eTe,lock:tTe,unlock:nTe,lock_with_ink_pen:sTe,closed_lock_with_key:oTe,key:rTe,old_key:iTe,hammer:aTe,axe:lTe,pick:cTe,hammer_and_pick:uTe,hammer_and_wrench:dTe,dagger:hTe,crossed_swords:fTe,gun:pTe,boomerang:gTe,bow_and_arrow:mTe,shield:_Te,carpentry_saw:bTe,wrench:yTe,screwdriver:vTe,nut_and_bolt:wTe,gear:xTe,clamp:kTe,balance_scale:ETe,probing_cane:CTe,link:ATe,chains:STe,hook:TTe,toolbox:MTe,magnet:OTe,ladder:RTe,alembic:NTe,test_tube:DTe,petri_dish:LTe,dna:ITe,microscope:PTe,telescope:FTe,satellite:BTe,syringe:$Te,drop_of_blood:jTe,pill:zTe,adhesive_bandage:UTe,stethoscope:qTe,door:HTe,elevator:VTe,mirror:GTe,window:KTe,bed:WTe,couch_and_lamp:ZTe,chair:YTe,toilet:QTe,plunger:JTe,shower:XTe,bathtub:e7e,mouse_trap:t7e,razor:n7e,lotion_bottle:s7e,safety_pin:o7e,broom:r7e,basket:i7e,roll_of_paper:a7e,bucket:l7e,soap:c7e,toothbrush:u7e,sponge:d7e,fire_extinguisher:h7e,shopping_cart:f7e,smoking:p7e,coffin:g7e,headstone:m7e,funeral_urn:_7e,moyai:b7e,placard:y7e,atm:v7e,put_litter_in_its_place:w7e,potable_water:x7e,wheelchair:k7e,mens:E7e,womens:C7e,restroom:A7e,baby_symbol:S7e,wc:T7e,passport_control:M7e,customs:O7e,baggage_claim:R7e,left_luggage:N7e,warning:D7e,children_crossing:L7e,no_entry:I7e,no_entry_sign:P7e,no_bicycles:F7e,no_smoking:B7e,do_not_litter:$7e,"non-potable_water":"🚱",no_pedestrians:j7e,no_mobile_phones:z7e,underage:U7e,radioactive:q7e,biohazard:H7e,arrow_up:V7e,arrow_upper_right:G7e,arrow_right:K7e,arrow_lower_right:W7e,arrow_down:Z7e,arrow_lower_left:Y7e,arrow_left:Q7e,arrow_upper_left:J7e,arrow_up_down:X7e,left_right_arrow:eMe,leftwards_arrow_with_hook:tMe,arrow_right_hook:nMe,arrow_heading_up:sMe,arrow_heading_down:oMe,arrows_clockwise:rMe,arrows_counterclockwise:iMe,back:aMe,end:lMe,on:cMe,soon:uMe,top:dMe,place_of_worship:hMe,atom_symbol:fMe,om:pMe,star_of_david:gMe,wheel_of_dharma:mMe,yin_yang:_Me,latin_cross:bMe,orthodox_cross:yMe,star_and_crescent:vMe,peace_symbol:wMe,menorah:xMe,six_pointed_star:kMe,aries:EMe,taurus:CMe,gemini:AMe,cancer:SMe,leo:TMe,virgo:MMe,libra:OMe,scorpius:RMe,sagittarius:NMe,capricorn:DMe,aquarius:LMe,pisces:IMe,ophiuchus:PMe,twisted_rightwards_arrows:FMe,repeat:BMe,repeat_one:$Me,arrow_forward:jMe,fast_forward:zMe,next_track_button:UMe,play_or_pause_button:qMe,arrow_backward:HMe,rewind:VMe,previous_track_button:GMe,arrow_up_small:KMe,arrow_double_up:WMe,arrow_down_small:ZMe,arrow_double_down:YMe,pause_button:QMe,stop_button:JMe,record_button:XMe,eject_button:eOe,cinema:tOe,low_brightness:nOe,high_brightness:sOe,signal_strength:oOe,vibration_mode:rOe,mobile_phone_off:iOe,female_sign:aOe,male_sign:lOe,transgender_symbol:cOe,heavy_multiplication_x:uOe,heavy_plus_sign:dOe,heavy_minus_sign:hOe,heavy_division_sign:fOe,infinity:pOe,bangbang:gOe,interrobang:mOe,question:_Oe,grey_question:bOe,grey_exclamation:yOe,exclamation:vOe,heavy_exclamation_mark:wOe,wavy_dash:xOe,currency_exchange:kOe,heavy_dollar_sign:EOe,medical_symbol:COe,recycle:AOe,fleur_de_lis:SOe,trident:TOe,name_badge:MOe,beginner:OOe,o:ROe,white_check_mark:NOe,ballot_box_with_check:DOe,heavy_check_mark:LOe,x:IOe,negative_squared_cross_mark:POe,curly_loop:FOe,loop:BOe,part_alternation_mark:$Oe,eight_spoked_asterisk:jOe,eight_pointed_black_star:zOe,sparkle:UOe,copyright:qOe,registered:HOe,tm:VOe,hash:GOe,asterisk:KOe,zero:WOe,one:ZOe,two:YOe,three:QOe,four:JOe,five:XOe,six:eRe,seven:tRe,eight:nRe,nine:sRe,keycap_ten:oRe,capital_abcd:rRe,abcd:iRe,symbols:aRe,abc:lRe,a:cRe,ab:uRe,b:dRe,cl:hRe,cool:fRe,free:pRe,information_source:gRe,id:mRe,m:_Re,new:"🆕",ng:bRe,o2:yRe,ok:vRe,parking:wRe,sos:xRe,up:kRe,vs:ERe,koko:CRe,sa:ARe,ideograph_advantage:SRe,accept:TRe,congratulations:MRe,secret:ORe,u6e80:RRe,red_circle:NRe,orange_circle:DRe,yellow_circle:LRe,green_circle:IRe,large_blue_circle:PRe,purple_circle:FRe,brown_circle:BRe,black_circle:$Re,white_circle:jRe,red_square:zRe,orange_square:URe,yellow_square:qRe,green_square:HRe,blue_square:VRe,purple_square:GRe,brown_square:KRe,black_large_square:WRe,white_large_square:ZRe,black_medium_square:YRe,white_medium_square:QRe,black_medium_small_square:JRe,white_medium_small_square:XRe,black_small_square:eNe,white_small_square:tNe,large_orange_diamond:nNe,large_blue_diamond:sNe,small_orange_diamond:oNe,small_blue_diamond:rNe,small_red_triangle:iNe,small_red_triangle_down:aNe,diamond_shape_with_a_dot_inside:lNe,radio_button:cNe,white_square_button:uNe,black_square_button:dNe,checkered_flag:hNe,triangular_flag_on_post:fNe,crossed_flags:pNe,black_flag:gNe,white_flag:mNe,rainbow_flag:_Ne,transgender_flag:bNe,pirate_flag:yNe,ascension_island:vNe,andorra:wNe,united_arab_emirates:xNe,afghanistan:kNe,antigua_barbuda:ENe,anguilla:CNe,albania:ANe,armenia:SNe,angola:TNe,antarctica:MNe,argentina:ONe,american_samoa:RNe,austria:NNe,australia:DNe,aruba:LNe,aland_islands:INe,azerbaijan:PNe,bosnia_herzegovina:FNe,barbados:BNe,bangladesh:$Ne,belgium:jNe,burkina_faso:zNe,bulgaria:UNe,bahrain:qNe,burundi:HNe,benin:VNe,st_barthelemy:GNe,bermuda:KNe,brunei:WNe,bolivia:ZNe,caribbean_netherlands:YNe,brazil:QNe,bahamas:JNe,bhutan:XNe,bouvet_island:eDe,botswana:tDe,belarus:nDe,belize:sDe,canada:oDe,cocos_islands:rDe,congo_kinshasa:iDe,central_african_republic:aDe,congo_brazzaville:lDe,switzerland:cDe,cote_divoire:uDe,cook_islands:dDe,chile:hDe,cameroon:fDe,cn:pDe,colombia:gDe,clipperton_island:mDe,costa_rica:_De,cuba:bDe,cape_verde:yDe,curacao:vDe,christmas_island:wDe,cyprus:xDe,czech_republic:kDe,de:EDe,diego_garcia:CDe,djibouti:ADe,denmark:SDe,dominica:TDe,dominican_republic:MDe,algeria:ODe,ceuta_melilla:RDe,ecuador:NDe,estonia:DDe,egypt:LDe,western_sahara:IDe,eritrea:PDe,es:FDe,ethiopia:BDe,eu:$De,european_union:jDe,finland:zDe,fiji:UDe,falkland_islands:qDe,micronesia:HDe,faroe_islands:VDe,fr:GDe,gabon:KDe,gb:WDe,uk:ZDe,grenada:YDe,georgia:QDe,french_guiana:JDe,guernsey:XDe,ghana:eLe,gibraltar:tLe,greenland:nLe,gambia:sLe,guinea:oLe,guadeloupe:rLe,equatorial_guinea:iLe,greece:aLe,south_georgia_south_sandwich_islands:lLe,guatemala:cLe,guam:uLe,guinea_bissau:dLe,guyana:hLe,hong_kong:fLe,heard_mcdonald_islands:pLe,honduras:gLe,croatia:mLe,haiti:_Le,hungary:bLe,canary_islands:yLe,indonesia:vLe,ireland:wLe,israel:xLe,isle_of_man:kLe,india:ELe,british_indian_ocean_territory:CLe,iraq:ALe,iran:SLe,iceland:TLe,it:MLe,jersey:OLe,jamaica:RLe,jordan:NLe,jp:DLe,kenya:LLe,kyrgyzstan:ILe,cambodia:PLe,kiribati:FLe,comoros:BLe,st_kitts_nevis:$Le,north_korea:jLe,kr:zLe,kuwait:ULe,cayman_islands:qLe,kazakhstan:HLe,laos:VLe,lebanon:GLe,st_lucia:KLe,liechtenstein:WLe,sri_lanka:ZLe,liberia:YLe,lesotho:QLe,lithuania:JLe,luxembourg:XLe,latvia:eIe,libya:tIe,morocco:nIe,monaco:sIe,moldova:oIe,montenegro:rIe,st_martin:iIe,madagascar:aIe,marshall_islands:lIe,macedonia:cIe,mali:uIe,myanmar:dIe,mongolia:hIe,macau:fIe,northern_mariana_islands:pIe,martinique:gIe,mauritania:mIe,montserrat:_Ie,malta:bIe,mauritius:yIe,maldives:vIe,malawi:wIe,mexico:xIe,malaysia:kIe,mozambique:EIe,namibia:CIe,new_caledonia:AIe,niger:SIe,norfolk_island:TIe,nigeria:MIe,nicaragua:OIe,netherlands:RIe,norway:NIe,nepal:DIe,nauru:LIe,niue:IIe,new_zealand:PIe,oman:FIe,panama:BIe,peru:$Ie,french_polynesia:jIe,papua_new_guinea:zIe,philippines:UIe,pakistan:qIe,poland:HIe,st_pierre_miquelon:VIe,pitcairn_islands:GIe,puerto_rico:KIe,palestinian_territories:WIe,portugal:ZIe,palau:YIe,paraguay:QIe,qatar:JIe,reunion:XIe,romania:ePe,serbia:tPe,ru:nPe,rwanda:sPe,saudi_arabia:oPe,solomon_islands:rPe,seychelles:iPe,sudan:aPe,sweden:lPe,singapore:cPe,st_helena:uPe,slovenia:dPe,svalbard_jan_mayen:hPe,slovakia:fPe,sierra_leone:pPe,san_marino:gPe,senegal:mPe,somalia:_Pe,suriname:bPe,south_sudan:yPe,sao_tome_principe:vPe,el_salvador:wPe,sint_maarten:xPe,syria:kPe,swaziland:EPe,tristan_da_cunha:CPe,turks_caicos_islands:APe,chad:SPe,french_southern_territories:TPe,togo:MPe,thailand:OPe,tajikistan:RPe,tokelau:NPe,timor_leste:DPe,turkmenistan:LPe,tunisia:IPe,tonga:PPe,tr:FPe,trinidad_tobago:BPe,tuvalu:$Pe,taiwan:jPe,tanzania:zPe,ukraine:UPe,uganda:qPe,us_outlying_islands:HPe,united_nations:VPe,us:GPe,uruguay:KPe,uzbekistan:WPe,vatican_city:ZPe,st_vincent_grenadines:YPe,venezuela:QPe,british_virgin_islands:JPe,us_virgin_islands:XPe,vietnam:eFe,vanuatu:tFe,wallis_futuna:nFe,samoa:sFe,kosovo:oFe,yemen:rFe,mayotte:iFe,south_africa:aFe,zambia:lFe,zimbabwe:cFe,england:uFe,scotland:dFe,wales:hFe};var pFe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[_-1])||_+b.lengthm&&(g=new f("text","",0),g.content=u.slice(m,_),p.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],p.push(g),m=_+b.length}),m=0;f--)b=p[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&o.test(b.content)&&(_[g].children=p=i(p,f,c(b.content,b.level,h.Token)))}};function _Fe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var bFe=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 _Fe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},yFe=gFe,vFe=mFe,wFe=bFe,xFe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=wFe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=yFe,e.core.ruler.after("linkify","emoji",vFe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},kFe=fFe,EFe=pFe,CFe=xFe,AFe=function(e,n){var s={defs:kFe,shortcuts:EFe,enabled:[]},o=e.utils.assign({},s,n||{});CFe(e,o)};const SFe=is(AFe);var Nd=!1,Ns={false:"push",true:"unshift",after:"push",before:"unshift"},Mr={isPermalinkSymbol:!0};function pl(t,e,n,s){var o;if(!Nd){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),Nd=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:Mr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Ns[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Ns[e.permalinkBefore]].apply(o,i)}function Ag(t){return"#"+t}function Sg(t){return{}}var TFe={class:"header-anchor",symbol:"#",renderHref:Ag,renderAttrs:Sg};function Fo(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},TFe),e.renderPermalinkImpl=t,e}var yi=Fo(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Ns[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Ns[e.placement]].apply(r,i)});Object.assign(yi.defaults,{space:!0,placement:"after",ariaHidden:!1});var $n=Fo(yi.renderPermalinkImpl);$n.defaults=Object.assign({},yi.defaults,{ariaHidden:!0});var Tg=Fo(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(Tg.defaults,{safariReaderFix:!1});var Dd=Fo(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var c=typeof e.space=="string"?e.space:" ";a[Ns[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Ns[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(u)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` -`})),s.tokens.splice(o+3+u.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+` -`})))});function Ld(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function gs(t,e){e=Object.assign({},gs.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const OFe=is(MFe);function Mg(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)&&Mg(n)}),t}class Id{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Og(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 RFe="",Pd=t=>!!t.scope,NFe=(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 DFe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Og(e)}openNode(e){if(!Pd(e))return;const n=NFe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Pd(e)&&(this.buffer+=RFe)}value(){return this.buffer}span(e){this.buffer+=``}}const Fd=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class gc{constructor(){this.rootNode=Fd(),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=Fd({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=>{gc._collapse(n)}))}}class LFe extends gc{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 DFe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function So(t){return t?typeof t=="string"?t:t.source:null}function Rg(t){return as("(?=",t,")")}function IFe(t){return as("(?:",t,")*")}function PFe(t){return as("(?:",t,")?")}function as(...t){return t.map(n=>So(n)).join("")}function FFe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function mc(...t){return"("+(FFe(t).capture?"":"?:")+t.map(s=>So(s)).join("|")+")"}function Ng(t){return new RegExp(t.toString()+"|").exec("").length-1}function BFe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const $Fe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _c(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=So(s),i="";for(;r.length>0;){const a=$Fe.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 jFe=/\b\B/,Dg="[a-zA-Z]\\w*",bc="[a-zA-Z_]\\w*",Lg="\\b\\d+(\\.\\d+)?",Ig="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Pg="\\b(0b[01]+)",zFe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",UFe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=as(e,/.*\b/,t.binary,/\b.*/)),Sn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},To={begin:"\\\\[\\s\\S]",relevance:0},qFe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[To]},HFe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[To]},VFe={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/},vi=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=mc("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:as(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},GFe=vi("//","$"),KFe=vi("/\\*","\\*/"),WFe=vi("#","$"),ZFe={scope:"number",begin:Lg,relevance:0},YFe={scope:"number",begin:Ig,relevance:0},QFe={scope:"number",begin:Pg,relevance:0},JFe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[To,{begin:/\[/,end:/\]/,relevance:0,contains:[To]}]}]},XFe={scope:"title",begin:Dg,relevance:0},eBe={scope:"title",begin:bc,relevance:0},tBe={begin:"\\.\\s*"+bc,relevance:0},nBe=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 Qo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:jFe,IDENT_RE:Dg,UNDERSCORE_IDENT_RE:bc,NUMBER_RE:Lg,C_NUMBER_RE:Ig,BINARY_NUMBER_RE:Pg,RE_STARTERS_RE:zFe,SHEBANG:UFe,BACKSLASH_ESCAPE:To,APOS_STRING_MODE:qFe,QUOTE_STRING_MODE:HFe,PHRASAL_WORDS_MODE:VFe,COMMENT:vi,C_LINE_COMMENT_MODE:GFe,C_BLOCK_COMMENT_MODE:KFe,HASH_COMMENT_MODE:WFe,NUMBER_MODE:ZFe,C_NUMBER_MODE:YFe,BINARY_NUMBER_MODE:QFe,REGEXP_MODE:JFe,TITLE_MODE:XFe,UNDERSCORE_TITLE_MODE:eBe,METHOD_GUARD:tBe,END_SAME_AS_BEGIN:nBe});function sBe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function oBe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function rBe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=sBe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function iBe(t,e){Array.isArray(t.illegal)&&(t.illegal=mc(...t.illegal))}function aBe(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 lBe(t,e){t.relevance===void 0&&(t.relevance=1)}const cBe=(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=as(n.beforeMatch,Rg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},uBe=["of","and","for","in","not","or","if","then","parent","list","value"],dBe="keyword";function Fg(t,e,n=dBe){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,Fg(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,hBe(l[0],l[1])]})}}function hBe(t,e){return e?Number(e):fBe(t)?0:1}function fBe(t){return uBe.includes(t.toLowerCase())}const Bd={},Yn=t=>{console.error(t)},$d=(t,...e)=>{console.log(`WARN: ${t}`,...e)},hs=(t,e)=>{Bd[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Bd[`${t}/${e}`]=!0)},Or=new Error;function Bg(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+=Ng(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function pBe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Or;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yn("beginScope must be object"),Or;Bg(t,t.begin,{key:"beginScope"}),t.begin=_c(t.begin,{joinWith:""})}}function gBe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Or;if(typeof t.endScope!="object"||t.endScope===null)throw Yn("endScope must be object"),Or;Bg(t,t.end,{key:"endScope"}),t.end=_c(t.end,{joinWith:""})}}function mBe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function _Be(t){mBe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),pBe(t),gBe(t)}function bBe(t){function e(i,a){return new RegExp(So(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+=Ng(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(_c(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;[oBe,aBe,_Be,cBe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[rBe,iBe,lBe].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=Fg(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=So(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 yBe(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 $g(t){return t?t.endsWithParent||$g(t.starts):!1}function yBe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Sn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:$g(t)?Sn(t,{starts:t.starts?Sn(t.starts):null}):Object.isFrozen(t)?Sn(t):t}var vBe="11.8.0";class wBe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const ta=Og,jd=Sn,zd=Symbol("nomatch"),xBe=7,jg=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:LFe};function l(T){return a.noHighlightRe.test(T)}function c(T){let q=T.className+" ";q+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(q);if(G){const ye=k(G[1]);return ye||($d(r.replace("{}",G[1])),$d("Falling back to no-highlight mode for this block.",T)),ye?G[1]:"no-highlight"}return q.split(/\s+/).find(ye=>l(ye)||k(ye))}function u(T,q,G){let ye="",me="";typeof q=="object"?(ye=T,G=q.ignoreIllegals,me=q.language):(hs("10.7.0","highlight(lang, code, ...args) has been deprecated."),hs("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),me=T,ye=q),G===void 0&&(G=!0);const ee={code:ye,language:me};le("before:highlight",ee);const xe=ee.result?ee.result:h(ee.language,ee.code,G);return xe.code=ee.code,le("after:highlight",xe),xe}function h(T,q,G,ye){const me=Object.create(null);function ee(W,oe){return W.keywords[oe]}function xe(){if(!z.keywords){U.addText(Y);return}let W=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Y),pe="";for(;oe;){pe+=Y.substring(W,oe.index);const Se=j.case_insensitive?oe[0].toLowerCase():oe[0],Ie=ee(z,Se);if(Ie){const[He,De]=Ie;if(U.addText(pe),pe="",me[Se]=(me[Se]||0)+1,me[Se]<=xBe&&(ie+=De),He.startsWith("_"))pe+=oe[0];else{const Xe=j.classNameAliases[He]||He;J(oe[0],Xe)}}else pe+=oe[0];W=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Y)}pe+=Y.substring(W),U.addText(pe)}function Ae(){if(Y==="")return;let W=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){U.addText(Y);return}W=h(z.subLanguage,Y,!0,se[z.subLanguage]),se[z.subLanguage]=W._top}else W=g(Y,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ie+=W.relevance),U.__addSublanguage(W._emitter,W.language)}function N(){z.subLanguage!=null?Ae():xe(),Y=""}function J(W,oe){W!==""&&(U.startScope(oe),U.addText(W),U.endScope())}function H(W,oe){let pe=1;const Se=oe.length-1;for(;pe<=Se;){if(!W._emit[pe]){pe++;continue}const Ie=j.classNameAliases[W[pe]]||W[pe],He=oe[pe];Ie?J(He,Ie):(Y=He,xe(),Y=""),pe++}}function te(W,oe){return W.scope&&typeof W.scope=="string"&&U.openNode(j.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(J(Y,j.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),Y=""):W.beginScope._multi&&(H(W.beginScope,oe),Y="")),z=Object.create(W,{parent:{value:z}}),z}function X(W,oe,pe){let Se=BFe(W.endRe,pe);if(Se){if(W["on:end"]){const Ie=new Id(W);W["on:end"](oe,Ie),Ie.isMatchIgnored&&(Se=!1)}if(Se){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return X(W.parent,oe,pe)}function fe(W){return z.matcher.regexIndex===0?(Y+=W[0],1):(ke=!0,0)}function ue(W){const oe=W[0],pe=W.rule,Se=new Id(pe),Ie=[pe.__beforeBegin,pe["on:begin"]];for(const He of Ie)if(He&&(He(W,Se),Se.isMatchIgnored))return fe(oe);return pe.skip?Y+=oe:(pe.excludeBegin&&(Y+=oe),N(),!pe.returnBegin&&!pe.excludeBegin&&(Y=oe)),te(pe,W),pe.returnBegin?0:oe.length}function w(W){const oe=W[0],pe=q.substring(W.index),Se=X(z,W,pe);if(!Se)return zd;const Ie=z;z.endScope&&z.endScope._wrap?(N(),J(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),H(z.endScope,W)):Ie.skip?Y+=oe:(Ie.returnEnd||Ie.excludeEnd||(Y+=oe),N(),Ie.excludeEnd&&(Y=oe));do z.scope&&U.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==Se.parent);return Se.starts&&te(Se.starts,W),Ie.returnEnd?0:oe.length}function C(){const W=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&W.unshift(oe.scope);W.forEach(oe=>U.openNode(oe))}let P={};function $(W,oe){const pe=oe&&oe[0];if(Y+=W,pe==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&pe===""){if(Y+=q.slice(oe.index,oe.index+1),!o){const Se=new Error(`0 width match regex (${T})`);throw Se.languageName=T,Se.badRule=P.rule,Se}return 1}if(P=oe,oe.type==="begin")return ue(oe);if(oe.type==="illegal"&&!G){const Se=new Error('Illegal lexeme "'+pe+'" for mode "'+(z.scope||"")+'"');throw Se.mode=z,Se}else if(oe.type==="end"){const Se=w(oe);if(Se!==zd)return Se}if(oe.type==="illegal"&&pe==="")return 1;if(de>1e5&&de>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=pe,pe.length}const j=k(T);if(!j)throw Yn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ne=bBe(j);let re="",z=ye||ne;const se={},U=new a.__emitter(a);C();let Y="",ie=0,he=0,de=0,ke=!1;try{if(j.__emitTokens)j.__emitTokens(q,U);else{for(z.matcher.considerAll();;){de++,ke?ke=!1:z.matcher.considerAll(),z.matcher.lastIndex=he;const W=z.matcher.exec(q);if(!W)break;const oe=q.substring(he,W.index),pe=$(oe,W);he=W.index+pe}$(q.substring(he))}return U.finalize(),re=U.toHTML(),{language:T,value:re,relevance:ie,illegal:!1,_emitter:U,_top:z}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:ta(q),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:he,context:q.slice(he-100,he+100),mode:W.mode,resultSoFar:re},_emitter:U};if(o)return{language:T,value:ta(q),illegal:!1,relevance:0,errorRaised:W,_emitter:U,_top:z};throw W}}function f(T){const q={value:ta(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(T),q}function g(T,q){q=q||a.languages||Object.keys(e);const G=f(T),ye=q.filter(k).filter(L).map(N=>h(N,T,!1));ye.unshift(G);const me=ye.sort((N,J)=>{if(N.relevance!==J.relevance)return J.relevance-N.relevance;if(N.language&&J.language){if(k(N.language).supersetOf===J.language)return 1;if(k(J.language).supersetOf===N.language)return-1}return 0}),[ee,xe]=me,Ae=ee;return Ae.secondBest=xe,Ae}function m(T,q,G){const ye=q&&n[q]||G;T.classList.add("hljs"),T.classList.add(`language-${ye}`)}function p(T){let q=null;const G=c(T);if(l(G))return;if(le("before:highlightElement",{el:T,language:G}),T.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(T)),a.throwUnescapedHTML))throw new wBe("One of your code blocks includes unescaped HTML.",T.innerHTML);q=T;const ye=q.textContent,me=G?u(ye,{language:G,ignoreIllegals:!0}):g(ye);T.innerHTML=me.value,m(T,G,me.language),T.result={language:me.language,re:me.relevance,relevance:me.relevance},me.secondBest&&(T.secondBest={language:me.secondBest.language,relevance:me.secondBest.relevance}),le("after:highlightElement",{el:T,result:me,text:ye})}function b(T){a=jd(a,T)}const _=()=>{A(),hs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){A(),hs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function A(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(p)}function R(){x&&A()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function O(T,q){let G=null;try{G=q(t)}catch(ye){if(Yn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Yn(ye);else throw ye;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=q.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const q of Object.keys(n))n[q]===T&&delete n[q]}function v(){return Object.keys(e)}function k(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:q}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=q})}function L(T){const q=k(T);return q&&!q.disableAutodetect}function F(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=q=>{T["before:highlightBlock"](Object.assign({block:q.el},q))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=q=>{T["after:highlightBlock"](Object.assign({block:q.el},q))})}function Q(T){F(T),s.push(T)}function I(T){const q=s.indexOf(T);q!==-1&&s.splice(q,1)}function le(T,q){const G=T;s.forEach(function(ye){ye[G]&&ye[G](q)})}function Z(T){return hs("10.7.0","highlightBlock will be removed entirely in v12.0"),hs("10.7.0","Please use highlightElement now."),p(T)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:A,highlightElement:p,highlightBlock:Z,configure:b,initHighlighting:_,initHighlightingOnLoad:y,registerLanguage:O,unregisterLanguage:D,listLanguages:v,getLanguage:k,registerAliases:M,autoDetection:L,inherit:jd,addPlugin:Q,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=vBe,t.regex={concat:as,lookahead:Rg,either:mc,optional:PFe,anyNumberOfTimes:IFe};for(const T in Qo)typeof Qo[T]=="object"&&Mg(Qo[T]);return Object.assign(t,Qo),t},Ds=jg({});Ds.newInstance=()=>jg({});var kBe=Ds;Ds.HighlightJS=Ds;Ds.default=Ds;var na,Ud;function EBe(){if(Ud)return na;Ud=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={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:[i,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return na=t,na}var sa,qd;function CBe(){if(qd)return sa;qd=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],p=["true","false"],b={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:p,built_in:[..._,...y,"set","shopt",...x,...A]},contains:[f,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,b,a,l,c,s]}}return sa=t,sa}var oa,Hd;function ABe(){if(Hd)return oa;Hd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},y=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:y.concat([{begin:/\(/,end:/\)/,keywords:_,contains:y.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:_}}}return oa=t,oa}var ra,Vd;function SBe(){if(Vd)return ra;Vd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",p=["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"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["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"],R={type:b,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},O={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"",keywords:R,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return ra=t,ra}var ia,Gd;function TBe(){if(Gd)return ia;Gd=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["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"],i=["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"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={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},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},p={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},b=e.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});f.contains=[p,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[b,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[p,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,y,e.C_LINE_COMMENT_MODE,e.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:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A]}}return ia=t,ia}var aa,Kd;function MBe(){if(Kd)return aa;Kd=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.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:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.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_-]*/}}),e=["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"],n=["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"],s=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["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 i(a){const l=a.regex,c=t(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,u,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return aa=i,aa}var la,Wd;function OBe(){if(Wd)return la;Wd=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={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}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),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}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),g=e.inherit(h,{contains:[]});u.contains.push(g),h.contains.push(f);let m=[s,c];return[u,h,f,g].forEach(_=>{_.contains=_.contains.concat(m)}),m=m.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,u,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,c,a]}}return la=t,la}var ca,Zd;function RBe(){if(Zd)return ca;Zd=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return ca=t,ca}var ua,Yd;function NBe(){if(Yd)return ua;Yd=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"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"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],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:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|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"}]},b={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],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(c,u),relevance:0}].concat(c,u);h.contains=D,b.contains=D;const v="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+v+"|"+k+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return u.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(u).concat(D)}}return ua=t,ua}var da,Qd;function DBe(){if(Qd)return da;Qd=1;function t(e){const i={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:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={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"]},p={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[b,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[p,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,p]}}return pa=r,pa}var ga,th;function FBe(){if(th)return ga;th=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(c){const u=c.regex,h=(H,{after:te})=>{const X="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,te)=>{const X=H[0].length+H.index,fe=H.input[X];if(fe==="<"||fe===","){te.ignoreMatch();return}fe===">"&&(h(H,{after:X})||te.ignoreMatch());let ue;const w=H.input.substring(X);if(ue=w.match(/^\s*=/)){te.ignoreMatch();return}if((ue=w.match(/^\s+extends\s+/))&&ue.index===0){te.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",y=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${x})((${y})|\\.)?|(${y}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${y})\\b|\\.)?|(${y})\\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},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,R]},L={className:"comment",variants:[c.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:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},F=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,O,D,v,k,{match:/\$\d+/},A];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(F)});const Q=[].concat(L,R.contains),I=Q.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(Q)}]),le={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:I},Z={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:u.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:{_:[...s,...o]}},q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[le],illegal:/%/},ye={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function me(H){return u.concat("(?!",H.join("|"),")")}const ee={match:u.concat(/\b/,me([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},xe={begin:u.concat(/\./,u.lookahead(u.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ae={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},le]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[le]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,O,D,v,k,L,{match:/\$\d+/},A,T,{className:"attr",begin:f+u.lookahead(":"),relevance:0},J,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,c.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[le,c.inherit(c.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},xe,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[le]},ee,ye,Z,Ae,{match:/\$[(.]/}]}}return ga=l,ga}var ma,nh;function BBe(){if(nh)return ma;nh=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return ma=t,ma}var _a,sh;function $Be(){if(sh)return _a;sh=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,c]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,c]}]};c.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},m=s,p=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=b;return _.variants[1].contains=[b],b.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,p,a,l,f,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,r.C_LINE_COMMENT_MODE,p],relevance:0},r.C_LINE_COMMENT_MODE,p,f,g,h,r.C_NUMBER_MODE]},p]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},m]}}return _a=o,_a}var ba,oh;function jBe(){if(oh)return ba;oh=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.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:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.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_-]*/}}),e=["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"],n=["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"],s=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["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(),i=s.concat(o);function a(l){const c=t(l),u=i,h="and or not only",f="[\\w-]+",g="("+f+"|@\\{"+f+"\\})",m=[],p=[],b=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Q){return{className:L,begin:F,relevance:Q}},y={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:p,keywords:y,relevance:0};p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,b("'"),b('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+f,10),_("variable","@\\{"+f+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const A=p.concat({begin:/\{/,end:/\}/,contains:m}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(p)},O={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:p}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:p,relevance:0}},v={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:A}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,R,_("keyword","all\\b"),_("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,_("selector-tag",g,0),_("selector-id","#"+g),_("selector-class","\\."+g,0),_("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:A},{begin:"!important"},c.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[k]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,v,M,O,k,R,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return ba=a,ba}var ya,rh;function zBe(){if(rh)return ya;rh=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return ya=t,ya}var va,ih;function UBe(){if(ih)return va;ih=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,i,l],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,p,b="\\1")=>{const _=b==="\\1"?b:n.concat(b,p);return n.concat(n.concat("(?:",m,")"),p,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,b,o)},f=(m,p,b)=>n.concat(n.concat("(?:",m,")"),p,/(?:\\.|[^\\\/])*?/,b,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",n.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return wa=t,wa}var xa,lh;function HBe(){if(lh)return xa;lh=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return xa=t,xa}var ka,ch;function VBe(){if(ch)return ka;ch=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,le)=>{le.data._beginMatch=I[1]||I[2]},"on:end":(I,le)=>{le.data._beginMatch!==I[1]&&le.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ -]`,m={scope:"string",variants:[u,c,h,f]},p={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},b=["false","null","true"],_=["__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"],A={keyword:_,literal:(I=>{const le=[];return I.forEach(Z=>{le.push(Z),Z.toLowerCase()===Z?le.push(Z.toUpperCase()):le.push(Z.toLowerCase())}),le})(b),built_in:y},R=I=>I.map(le=>le.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),v={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[k,i,v,e.C_BLOCK_COMMENT_MODE,m,p,O]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(_).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(L);const F=[k,v,e.C_BLOCK_COMMENT_MODE,m,p,O],Q={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:b,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:b,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:A,contains:[Q,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,L,v,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",i,v,e.C_BLOCK_COMMENT_MODE,m,p]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,p]}}return ka=t,ka}var Ea,uh;function GBe(){if(uh)return Ea;uh=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Ea=t,Ea}var Ca,dh;function KBe(){if(dh)return Ca;dh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ca=t,Ca}var Aa,hh;function WBe(){if(hh)return Aa;hh=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["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"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,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"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,h,u]},{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:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,p=`\\b|${o.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${p})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${p})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${p})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`},{begin:`\\b(${g})[jJ](?=${p})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,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:l,contains:["self",c,b,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,b,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,y,f]}]}}return Aa=t,Aa}var Sa,fh;function ZBe(){if(fh)return Sa;fh=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Sa=t,Sa}var Ta,ph;function YBe(){if(ph)return Ta;ph=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Ta=t,Ta}var Ma,gh;function QBe(){if(gh)return Ma;gh=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:""},s]}}return Ma=t,Ma}var Oa,mh;function JBe(){if(mh)return Oa;mh=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.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:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.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_-]*/}}),e=["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"],n=["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"],s=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["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 i(a){const l=t(a),c=o,u=s,h="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,m,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Oa=i,Oa}var Ra,_h;function XBe(){if(_h)return Ra;_h=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Ra=t,Ra}var Na,bh;function e$e(){if(bh)return Na;bh=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["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"],c=["add","asc","collation","desc","final","first","last","view"],u=["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"],h=["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"],g=["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"],m=h,p=[...u,...c].filter(A=>!h.includes(A)),b={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(A,{exceptions:R,when:O}={}){const D=O;return R=R||[],A.map(v=>v.match(/\|\d+$/)||R.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(p,{when:A=>A.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:p.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},y,b,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Na=t,Na}var Da,yh;function t$e(){if(yh)return Da;yh=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(M=>t(M)).join("")}function s(v){const k=v[v.length-1];return typeof k=="object"&&k.constructor===Object?(v.splice(v.length-1,1),k):{}}function o(...v){return"("+(s(v).capture?"":"?:")+v.map(L=>t(L)).join("|")+")"}const r=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],c=["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"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["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"],m=o(/[/=\-+!*%<>&|^~?]/,/[\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]/),p=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=n(m,p,"*"),_=o(/[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]/),y=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,y,"*"),A=n(/[A-Z]/,y,"*"),R=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(v){const k={match:/\s+/,relevance:0},M=v.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[v.C_LINE_COMMENT_MODE,M],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Q={match:n(/\./,o(...c)),relevance:0},I=c.filter(De=>typeof De=="string").concat(["_|0"]),le=c.filter(De=>typeof De!="string").concat(l).map(r),Z={variants:[{className:"keyword",match:o(...le,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(f),literal:u},q=[F,Q,Z],G={match:n(/\./,o(...g)),relevance:0},ye={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},me=[G,ye],ee={match:/->/,relevance:0},xe={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${p})+`}]},Ae=[ee,xe],N="([0-9]_*)+",J="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${J})(\\.(${J}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(De="")=>({className:"subst",variants:[{match:n(/\\/,De,/[0\\tnr"']/)},{match:n(/\\/,De,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(De="")=>({className:"subst",match:n(/\\/,De,/[\t ]*(?:[\r\n]|\r\n)/)}),fe=(De="")=>({className:"subst",label:"interpol",begin:n(/\\/,De,/\(/),end:/\)/}),ue=(De="")=>({begin:n(De,/"""/),end:n(/"""/,De),contains:[te(De),X(De),fe(De)]}),w=(De="")=>({begin:n(De,/"/),end:n(/"/,De),contains:[te(De),fe(De)]}),C={className:"string",variants:[ue(),ue("#"),ue("##"),ue("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${y}+`},ne=[P,$,j],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Ae,H,C]}]}},z={className:"keyword",match:n(/@/,o(...R))},se={className:"meta",match:n(/@/,x)},U=[re,z,se],Y={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,y,"+")},{className:"type",match:A,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(A)),relevance:0}]},ie={begin://,keywords:T,contains:[...L,...q,...U,ee,Y]};Y.contains.push(ie);const he={match:n(x,/\s*:/),keywords:"_|0",relevance:0},de={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",he,...L,...q,...me,...Ae,H,C,...ne,...U,Y]},ke={begin://,contains:[...L,Y]},W={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},oe={begin:/\(/,end:/\)/,keywords:T,contains:[W,...L,...q,...Ae,H,C,...U,Y,de],endsParent:!0,illegal:/["']/},pe={match:[/func/,/\s+/,o(P.match,x,b)],className:{1:"keyword",3:"title.function"},contains:[ke,oe,k],illegal:[/\[/,/%/]},Se={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ke,oe,k],illegal:/\[|%/},Ie={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},He={begin:[/precedencegroup/,/\s+/,A],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...h,...u],end:/}/};for(const De of C.variants){const Xe=De.contains.find(at=>at.label==="interpol");Xe.keywords=T;const tt=[...q,...me,...Ae,H,C,...ne];Xe.contains=[...tt,{begin:/\(/,end:/\)/,contains:["self",...tt]}]}return{name:"Swift",keywords:T,contains:[...L,pe,Se,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Ie,He,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,...me,...Ae,H,C,...ne,...U,Y,de]}}return Da=D,Da}var La,vh;function n$e(){if(vh)return La;vh=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+c+u+h+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},b=[o,{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+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,p,i],_=[...b];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}return La=t,La}var Ia,wh;function s$e(){if(wh)return Ia;wh=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(u){const h=u.regex,f=(te,{after:X})=>{const fe="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const fe=te[0].length+te.index,ue=te.input[fe];if(ue==="<"||ue===","){X.ignoreMatch();return}ue===">"&&(f(te,{after:fe})||X.ignoreMatch());let w;const C=te.input.substring(fe);if(w=C.match(/^\s*=/)){X.ignoreMatch();return}if((w=C.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},y="[0-9](_?[0-9])*",x=`\\.(${y})`,A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${A})((${x})|\\.)?|(${x}))[eE][+-]?(${y})\\b`},{begin:`\\b(${A})\\b((${x})\\b|\\.)?|(${x})\\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},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,O]},F={className:"comment",variants:[u.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:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},Q=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,v,k,M,{match:/\$\d+/},R];O.contains=Q.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Q)});const I=[].concat(F,O.contains),le=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:le},T={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,h.concat(g,"(",h.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:h.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:{_:[...s,...o]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ye={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Z],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return h.concat("(?!",te.join("|"),")")}const xe={match:h.concat(/\b/,ee([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Ae={begin:h.concat(/\./,h.lookahead(h.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Z]},J="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(J)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:le,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,v,k,M,F,{match:/\$\d+/},R,q,{className:"attr",begin:g+h.lookahead(":"),relevance:0},H,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,u.REGEXP_MODE,{className:"function",begin:J,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:le}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:p},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},ye,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Z,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ae,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Z]},xe,me,T,N,{match:/\$[(.]/}]}}function c(u){const h=l(u),f=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},p={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[h.exports.CLASS_REFERENCE]},b={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},A=(O,D,v)=>{const k=O.contains.findIndex(M=>M.label===D);if(k===-1)throw new Error("can not find mode to replace");O.contains.splice(k,1,v)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,p]),A(h,"shebang",u.SHEBANG()),A(h,"use_strict",b);const R=h.contains.find(O=>O.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Ia=c,Ia}var Pa,xh;function o$e(){if(xh)return Pa;xh=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,c,u,h,f,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Pa=t,Pa}var Fa,kh;function r$e(){if(kh)return Fa;kh=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,c,u,l]}}return Fa=t,Fa}var Re=kBe;Re.registerLanguage("xml",EBe());Re.registerLanguage("bash",CBe());Re.registerLanguage("c",ABe());Re.registerLanguage("cpp",SBe());Re.registerLanguage("csharp",TBe());Re.registerLanguage("css",MBe());Re.registerLanguage("markdown",OBe());Re.registerLanguage("diff",RBe());Re.registerLanguage("ruby",NBe());Re.registerLanguage("go",DBe());Re.registerLanguage("graphql",LBe());Re.registerLanguage("ini",IBe());Re.registerLanguage("java",PBe());Re.registerLanguage("javascript",FBe());Re.registerLanguage("json",BBe());Re.registerLanguage("kotlin",$Be());Re.registerLanguage("less",jBe());Re.registerLanguage("lua",zBe());Re.registerLanguage("makefile",UBe());Re.registerLanguage("perl",qBe());Re.registerLanguage("objectivec",HBe());Re.registerLanguage("php",VBe());Re.registerLanguage("php-template",GBe());Re.registerLanguage("plaintext",KBe());Re.registerLanguage("python",WBe());Re.registerLanguage("python-repl",ZBe());Re.registerLanguage("r",YBe());Re.registerLanguage("rust",QBe());Re.registerLanguage("scss",JBe());Re.registerLanguage("shell",XBe());Re.registerLanguage("sql",e$e());Re.registerLanguage("swift",t$e());Re.registerLanguage("yaml",n$e());Re.registerLanguage("typescript",s$e());Re.registerLanguage("vbnet",o$e());Re.registerLanguage("wasm",r$e());Re.HighlightJS=Re;Re.default=Re;var i$e=Re;const co=is(i$e);var Nn={};Nn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g=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))}};Nn.removeDelimiter=function(t,e){const n=gl(e.leftDelimiter),s=gl(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function gl(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Nn.escapeRegExp=gl;Nn.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 a$e=/[&<>"]/,l$e=/[&<>"]/g,c$e={"&":"&","<":"<",">":">",'"':"""};function u$e(t){return c$e[t]}Nn.escapeHtml=function(t){return a$e.test(t)?t.replace(l$e,u$e):t};const Ne=Nn;var d$e=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ne.escapeRegExp(t.leftDelimiter)+"[^"+Ne.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ne.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Ne.getAttrs(o.info,r,t);Ne.addAttrs(i,o),o.info=Ne.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:Ne.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=Ne.getAttrs(r.content,0,t);Ne.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:Ne.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Ne.getMatchingOpeningToken(n,s),i=Ne.getAttrs(o.content,0,t);Ne.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:Ne.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,0,t),l=Ne.getMatchingOpeningToken(n[s].children,o-1);Ne.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:Ne.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Ne.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--;Ne.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:Ne.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Ne.getAttrs(r,0,t),a=Ne.getMatchingOpeningToken(n,s);Ne.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:Ne.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Ne.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Eh(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:Ne.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Ne.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Ne.getMatchingOpeningToken(n,a);Ne.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=Ne.getAttrs(r,i,t);Ne.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ne.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=Ne.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Ne.getMatchingOpeningToken(n,l);Ne.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Eh(u)!==" "?u:u.slice(0,-1)}}]};function Eh(t){return t.slice(-1)[0]}const h$e=d$e,f$e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var p$e=function(e,n){let s=Object.assign({},f$e);s=Object.assign(s,n);const o=h$e(s);function r(i){const a=i.tokens;for(let l=0;l{const m=ml(a,l,g);return m.j!==null&&(h=m.j),m.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 ml(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=_$e(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"&&g$e(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=>ml(c,u.position,u).match),a){const u=b$e(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;uml(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(m$e(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 g$e(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function m$e(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function _$e(t,e){return e>=0?t[e]:t[t.length+e]}function b$e(t){return t.slice(-1)[0]||{}}const y$e=is(p$e);function v$e(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Mo=new kfe("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=v$e();if(e&&co.getLanguage(e))try{const o=co.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+co.highlightAuto(t).value+"
"},bulletListMarker:"•"}).use(y$e).use(gs).use(OFe).use(SFe);co.configure({languages:[]});co.configure({languages:["javascript"]});Mo.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 zg=(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)};Mo.renderer.rules.bullet_list_open=zg;Mo.renderer.rules.ordered_list_open=zg;const w$e={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` +`);return s};Ks.prototype.render=function(t,e,n){var s,o,r,i="",a=this.rules;for(s=0,o=t.length;s\s]/i.test(t)}function gde(t){return/^<\/a\s*>/i.test(t)}var mde=function(e){var n,s,o,r,i,a,l,c,d,h,f,g,m,p,b,_,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"&&(pde(a.content)&&m>0&&m--,gde(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(d=a.content,x=e.md.linkify.match(d),l=[],g=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=d.slice(f,h),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",b]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,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(bde,vde)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function xde(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&cg.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 kde=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(_de.test(e.tokens[n].content)&&wde(e.tokens[n].children),cg.test(e.tokens[n].content)&&xde(e.tokens[n].children))},cd=ze.isWhiteSpace,ud=ze.isPunctChar,dd=ze.isMdAsciiPunct,Ede=/['"]/,hd=/['"]/g,fd="’";function Wo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Cde(t,e){var n,s,o,r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,A,R,O;for(A=[],n=0;n=0&&!(A[y].level<=l);y--);if(A.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)d=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){d=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i=48&&d<=57&&(_=b=!1),b&&_&&(b=f,_=g),!b&&!_){x&&(s.content=Wo(s.content,r.index,fd));continue}if(_){for(y=A.length-1;y>=0&&(c=A[y],!(A[y].level=0;n--)e.tokens[n].type!=="inline"||!Ede.test(e.tokens[n].content)||Cde(e.tokens[n].children,e)},Sde=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};Ws.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 lc=Ws,Tde=lc;function ug(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ug.prototype.Token=Tde;var Mde=ug,Ode=ac,Vi=[["normalize",ude],["block",dde],["inline",hde],["linkify",mde],["replacements",kde],["smartquotes",Ade],["text_join",Sde]];function cc(){this.ruler=new Ode;for(var t=0;ts||(d=n+1,e.sCount[d]=4||(a=e.bMarks[d]+e.tShift[d],a>=e.eMarks[d])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[d]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Gi(O))||R===45&&Gi(O))return!1;for(;a=4||(h=pd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=b=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l=4)break;for(h=pd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),d===n+2&&(g=e.push("tbody_open","tbody",1),g.map=_=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[d,d+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},Lde=function(e,n,s,o){var r,i,a,l,c,d,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(h=e.src.slice(c,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=L,y=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=n+1;f=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=L,p.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(A?1:0),y.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(d)break;for(R=!1,a=0,c=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,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&&(T=!0),(L=_d(e,n))>=0){if(h=!0,Q=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Q,L-1)),T&&_!==1)return!1}else if((L=md(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(b=e.src.charCodeAt(L-1),o)return!0;for(p=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),_!==1&&(Z.attrs=[["start",_]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(b),x=n,F=!1,ce=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=y?c=1:c=A-d,c>4&&(c=1),l=d+c,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(b),Z.map=f=[n,0],h&&(Z.info=e.src.slice(Q,L-1)),k=e.tight,v=e.tShift[n],D=e.sCount[n],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=A,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)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=k,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(b),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=ce.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<0)){for(y=!1,d=0,h=x.length;d"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:A,href:c}),e.parentType=m,e.line=n+R+1),!0)},Ude=["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"],fi={},qde="[a-zA-Z_:][a-zA-Z0-9:._-]*",Hde="[^\"'=<>`\\x00-\\x20]+",Vde="'[^']*'",Gde='"[^"]*"',Kde="(?:"+Hde+"|"+Vde+"|"+Gde+")",Wde="(?:\\s+"+qde+"(?:\\s*=\\s*"+Kde+")?)",hg="<[A-Za-z][A-Za-z0-9\\-]*"+Wde+"*\\s*\\/?>",fg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Zde="|",Yde="<[?][\\s\\S]*?[?]>",Qde="]*>",Jde="",Xde=new RegExp("^(?:"+hg+"|"+fg+"|"+Zde+"|"+Yde+"|"+Qde+"|"+Jde+")"),ehe=new RegExp("^(?:"+hg+"|"+fg+")");fi.HTML_TAG_RE=Xde;fi.HTML_OPEN_CLOSE_TAG_RE=ehe;var the=Ude,nhe=fi.HTML_OPEN_CLOSE_TAG_RE,ds=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(nhe.source+"\\s*$"),/^$/,!1]],she=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],d=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,d),r=0;r=4||(r=e.src.charCodeAt(c),r!==35||c>=d))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c6||cc&&bd(e.src.charCodeAt(a-1))&&(d=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,d).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},rhe=function(e,n,s){var o,r,i,a,l,c,d,h,f,g=n+1,m,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],d=e.eMarks[g],c=d)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=p.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=d.length;r0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!pi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,d,h,f=e;if(e>=n)return"";for(d=new Array(n-e),r=0;fs?d[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):d[r]=this.src.slice(l,c)}return d.join("")};Xt.prototype.Token=pg;var ahe=Xt,lhe=ac,Yo=[["table",Nde,["paragraph","reference"]],["code",Dde],["fence",Lde,["paragraph","reference","blockquote","list"]],["blockquote",Ide,["paragraph","reference","blockquote","list"]],["hr",Fde,["paragraph","reference","blockquote","list"]],["list",$de,["paragraph","reference","blockquote"]],["reference",zde],["html_block",she,["paragraph","reference","blockquote"]],["heading",ohe,["paragraph","reference","blockquote"]],["lheading",rhe],["paragraph",ihe]];function gi(){this.ruler=new lhe;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(hhe),!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),d=e.push("link_open","a",1),d.attrs=[["href",c]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(l),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=l.length-i.length,!0)},phe=ze.isSpace,ghe=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){uc[t.charCodeAt(0)]=1});var _he=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&&uc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},bhe=function(e,n){var s,o,r,i,a,l,c,d,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--))}_i.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(wd(e,e.delimiters),n=0;n=p)return!1;if(b=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="",b=l;l=p||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(b,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),d=e.env.references[yhe(r)],!d)return e.pos=m,!1;f=d.href,g=d.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=p,!0},whe=ze.normalizeReference,Zi=ze.isSpace,xhe=function(e,n){var s,o,r,i,a,l,c,d,h,f,g,m,p,b="",_=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(p=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?c=h.pos:b=""),p=c;c=y||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?i=e.src.slice(p,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),d=e.env.references[whe(i)],!d)return e.pos=_,!1;b=d.href,f=d.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),g=e.push("image","img",0),g.attrs=s=[["src",b],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=c,e.posMax=y,!0},khe=/^([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])?)*)$/,Ehe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Che=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),Ehe.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):khe.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},Ahe=fi.HTML_TAG_RE;function She(t){return/^\s]/i.test(t)}function The(t){return/^<\/a\s*>/i.test(t)}function Mhe(t){var e=t|32;return e>=97&&e<=122}var Ohe=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&&!Mhe(s))||(o=e.src.slice(a).match(Ahe),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),She(i.content)&&e.linkLevel++,The(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},xd=rg,Rhe=ze.has,Nhe=ze.isValidEntityCode,kd=ze.fromCodePoint,Dhe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Lhe=/^&([a-z][a-z0-9]{1,31});/i,Ihe=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(Dhe),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=Nhe(o)?kd(o):kd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Lhe),r&&Rhe(xd,r[1]))return n||(i=e.push("text_special","",0),i.content=xd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function Ed(t,e){var n,s,o,r,i,a,l,c,d={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[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?m[s-1]+1:0,m[n]=n-s+c,m[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(d[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var Phe=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Ed(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};Io.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,d,h,f=!0,g=!0,m=this.posMax,p=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()};Po.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}),Ji}function hl(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 bi(t){return Object.prototype.toString.call(t)}function zhe(t){return bi(t)==="[object String]"}function Uhe(t){return bi(t)==="[object Object]"}function qhe(t){return bi(t)==="[object RegExp]"}function Od(t){return bi(t)==="[object Function]"}function Hhe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var gg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Vhe(t){return Object.keys(t||{}).reduce(function(e,n){return e||gg.hasOwnProperty(n)},!1)}var Ghe={"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}}},Khe="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]",Whe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Zhe(t){t.__index__=-1,t.__text_cache__=""}function Yhe(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Rd(){return function(t,e){e.normalize(t)}}function Tr(t){var e=t.re=jhe()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Khe),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,Uhe(l)){qhe(l.validate)?c.validate=Yhe(l.validate):Od(l.validate)?c.validate=l.validate:r(a,l),Od(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Rd();return}if(zhe(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:Rd()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(Hhe).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"),Zhe(t)}function Qhe(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 fl(t,e){var n=new Qhe(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function bt(t,e){if(!(this instanceof bt))return new bt(t,e);e||Vhe(t)&&(e=t,t={}),this.__opts__=hl({},gg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=hl({},Ghe,t),this.__compiled__={},this.__tlds__=Whe,this.__tlds_replaced__=!1,this.re={},Tr(this)}bt.prototype.add=function(e,n){return this.__schemas__[e]=n,Tr(this),this};bt.prototype.set=function(e){return this.__opts__=hl(this.__opts__,e),this};bt.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,d;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};bt.prototype.pretest=function(e){return this.re.pretest.test(e)};bt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};bt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(fl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(fl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};bt.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,fl(this,0)):null};bt.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(),Tr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Tr(this),this)};bt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};bt.prototype.onCompile=function(){};var Jhe=bt;const ks=2147483647,Vt=36,hc=1,Ao=26,Xhe=38,efe=700,mg=72,_g=128,bg="-",tfe=/^xn--/,nfe=/[^\0-\x7F]/,sfe=/[\x2E\u3002\uFF0E\uFF61]/g,ofe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Xi=Vt-hc,Gt=Math.floor,ea=String.fromCharCode;function wn(t){throw new RangeError(ofe[t])}function rfe(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function yg(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(sfe,".");const o=t.split("."),r=rfe(o,e).join(".");return s+r}function fc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),ife=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Vt},Nd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},wg=function(t,e,n){let s=0;for(t=n?Gt(t/efe):t>>1,t+=Gt(t/e);t>Xi*Ao>>1;s+=Vt)t=Gt(t/Xi);return Gt(s+(Xi+1)*t/(t+Xhe))},pc=function(t){const e=[],n=t.length;let s=0,o=_g,r=mg,i=t.lastIndexOf(bg);i<0&&(i=0);for(let a=0;a=128&&wn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&wn("invalid-input");const f=ife(t.charCodeAt(a++));f>=Vt&&wn("invalid-input"),f>Gt((ks-s)/d)&&wn("overflow"),s+=f*d;const g=h<=r?hc:h>=r+Ao?Ao:h-r;if(fGt(ks/m)&&wn("overflow"),d*=m}const c=e.length+1;r=wg(s-l,c,l==0),Gt(s/c)>ks-o&&wn("overflow"),o+=Gt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},gc=function(t){const e=[];t=fc(t);const n=t.length;let s=_g,o=0,r=mg;for(const l of t)l<128&&e.push(ea(l));const i=e.length;let a=i;for(i&&e.push(bg);a=s&&dGt((ks-o)/c)&&wn("overflow"),o+=(l-s)*c,s=l;for(const d of t)if(dks&&wn("overflow"),d===s){let h=o;for(let f=Vt;;f+=Vt){const g=f<=r?hc:f>=r+Ao?Ao:f-r;if(h=0))try{e.hostname=Eg.toASCII(e.hostname)}catch{}return Gn.encode(Gn.format(e))}function Efe(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||Cg.indexOf(e.protocol)>=0))try{e.hostname=Eg.toUnicode(e.hostname)}catch{}return Gn.decode(Gn.format(e),Gn.decode.defaultChars+"%")}function Mt(t,e){if(!(this instanceof Mt))return new Mt(t,e);e||lo.isString(t)||(e=t||{},t="default"),this.inline=new _fe,this.block=new mfe,this.core=new gfe,this.renderer=new pfe,this.linkify=new bfe,this.validateLink=xfe,this.normalizeLink=kfe,this.normalizeLinkText=Efe,this.utils=lo,this.helpers=lo.assign({},ffe),this.options={},this.configure(t),e&&this.set(e)}Mt.prototype.set=function(t){return lo.assign(this.options,t),this};Mt.prototype.configure=function(t){var e=this,n;if(lo.isString(t)&&(n=t,t=yfe[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};Mt.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};Mt.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};Mt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Mt.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};Mt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Mt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Cfe=Mt,Afe=Cfe;const Sfe=is(Afe),Tfe="😀",Mfe="😃",Ofe="😄",Rfe="😁",Nfe="😆",Dfe="😆",Lfe="😅",Ife="🤣",Pfe="😂",Ffe="🙂",Bfe="🙃",$fe="😉",jfe="😊",zfe="😇",Ufe="🥰",qfe="😍",Hfe="🤩",Vfe="😘",Gfe="😗",Kfe="☺️",Wfe="😚",Zfe="😙",Yfe="🥲",Qfe="😋",Jfe="😛",Xfe="😜",epe="🤪",tpe="😝",npe="🤑",spe="🤗",ope="🤭",rpe="🤫",ipe="🤔",ape="🤐",lpe="🤨",cpe="😐",upe="😑",dpe="😶",hpe="😏",fpe="😒",ppe="🙄",gpe="😬",mpe="🤥",_pe="😌",bpe="😔",ype="😪",vpe="🤤",wpe="😴",xpe="😷",kpe="🤒",Epe="🤕",Cpe="🤢",Ape="🤮",Spe="🤧",Tpe="🥵",Mpe="🥶",Ope="🥴",Rpe="😵",Npe="🤯",Dpe="🤠",Lpe="🥳",Ipe="🥸",Ppe="😎",Fpe="🤓",Bpe="🧐",$pe="😕",jpe="😟",zpe="🙁",Upe="☹️",qpe="😮",Hpe="😯",Vpe="😲",Gpe="😳",Kpe="🥺",Wpe="😦",Zpe="😧",Ype="😨",Qpe="😰",Jpe="😥",Xpe="😢",ege="😭",tge="😱",nge="😖",sge="😣",oge="😞",rge="😓",ige="😩",age="😫",lge="🥱",cge="😤",uge="😡",dge="😡",hge="😠",fge="🤬",pge="😈",gge="👿",mge="💀",_ge="☠️",bge="💩",yge="💩",vge="💩",wge="🤡",xge="👹",kge="👺",Ege="👻",Cge="👽",Age="👾",Sge="🤖",Tge="😺",Mge="😸",Oge="😹",Rge="😻",Nge="😼",Dge="😽",Lge="🙀",Ige="😿",Pge="😾",Fge="🙈",Bge="🙉",$ge="🙊",jge="💋",zge="💌",Uge="💘",qge="💝",Hge="💖",Vge="💗",Gge="💓",Kge="💞",Wge="💕",Zge="💟",Yge="❣️",Qge="💔",Jge="❤️",Xge="🧡",eme="💛",tme="💚",nme="💙",sme="💜",ome="🤎",rme="🖤",ime="🤍",ame="💢",lme="💥",cme="💥",ume="💫",dme="💦",hme="💨",fme="🕳️",pme="💣",gme="💬",mme="👁️‍🗨️",_me="🗨️",bme="🗯️",yme="💭",vme="💤",wme="👋",xme="🤚",kme="🖐️",Eme="✋",Cme="✋",Ame="🖖",Sme="👌",Tme="🤌",Mme="🤏",Ome="✌️",Rme="🤞",Nme="🤟",Dme="🤘",Lme="🤙",Ime="👈",Pme="👉",Fme="👆",Bme="🖕",$me="🖕",jme="👇",zme="☝️",Ume="👍",qme="👎",Hme="✊",Vme="✊",Gme="👊",Kme="👊",Wme="👊",Zme="🤛",Yme="🤜",Qme="👏",Jme="🙌",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="🦷",b_e="🦴",y_e="👀",v_e="👁️",w_e="👅",x_e="👄",k_e="👶",E_e="🧒",C_e="👦",A_e="👧",S_e="🧑",T_e="👱",M_e="👨",O_e="🧔",R_e="👨‍🦰",N_e="👨‍🦱",D_e="👨‍🦳",L_e="👨‍🦲",I_e="👩",P_e="👩‍🦰",F_e="🧑‍🦰",B_e="👩‍🦱",$_e="🧑‍🦱",j_e="👩‍🦳",z_e="🧑‍🦳",U_e="👩‍🦲",q_e="🧑‍🦲",H_e="👱‍♀️",V_e="👱‍♀️",G_e="👱‍♂️",K_e="🧓",W_e="👴",Z_e="👵",Y_e="🙍",Q_e="🙍‍♂️",J_e="🙍‍♀️",X_e="🙎",e1e="🙎‍♂️",t1e="🙎‍♀️",n1e="🙅",s1e="🙅‍♂️",o1e="🙅‍♂️",r1e="🙅‍♀️",i1e="🙅‍♀️",a1e="🙆",l1e="🙆‍♂️",c1e="🙆‍♀️",u1e="💁",d1e="💁",h1e="💁‍♂️",f1e="💁‍♂️",p1e="💁‍♀️",g1e="💁‍♀️",m1e="🙋",_1e="🙋‍♂️",b1e="🙋‍♀️",y1e="🧏",v1e="🧏‍♂️",w1e="🧏‍♀️",x1e="🙇",k1e="🙇‍♂️",E1e="🙇‍♀️",C1e="🤦",A1e="🤦‍♂️",S1e="🤦‍♀️",T1e="🤷",M1e="🤷‍♂️",O1e="🤷‍♀️",R1e="🧑‍⚕️",N1e="👨‍⚕️",D1e="👩‍⚕️",L1e="🧑‍🎓",I1e="👨‍🎓",P1e="👩‍🎓",F1e="🧑‍🏫",B1e="👨‍🏫",$1e="👩‍🏫",j1e="🧑‍⚖️",z1e="👨‍⚖️",U1e="👩‍⚖️",q1e="🧑‍🌾",H1e="👨‍🌾",V1e="👩‍🌾",G1e="🧑‍🍳",K1e="👨‍🍳",W1e="👩‍🍳",Z1e="🧑‍🔧",Y1e="👨‍🔧",Q1e="👩‍🔧",J1e="🧑‍🏭",X1e="👨‍🏭",e0e="👩‍🏭",t0e="🧑‍💼",n0e="👨‍💼",s0e="👩‍💼",o0e="🧑‍🔬",r0e="👨‍🔬",i0e="👩‍🔬",a0e="🧑‍💻",l0e="👨‍💻",c0e="👩‍💻",u0e="🧑‍🎤",d0e="👨‍🎤",h0e="👩‍🎤",f0e="🧑‍🎨",p0e="👨‍🎨",g0e="👩‍🎨",m0e="🧑‍✈️",_0e="👨‍✈️",b0e="👩‍✈️",y0e="🧑‍🚀",v0e="👨‍🚀",w0e="👩‍🚀",x0e="🧑‍🚒",k0e="👨‍🚒",E0e="👩‍🚒",C0e="👮",A0e="👮",S0e="👮‍♂️",T0e="👮‍♀️",M0e="🕵️",O0e="🕵️‍♂️",R0e="🕵️‍♀️",N0e="💂",D0e="💂‍♂️",L0e="💂‍♀️",I0e="🥷",P0e="👷",F0e="👷‍♂️",B0e="👷‍♀️",$0e="🤴",j0e="👸",z0e="👳",U0e="👳‍♂️",q0e="👳‍♀️",H0e="👲",V0e="🧕",G0e="🤵",K0e="🤵‍♂️",W0e="🤵‍♀️",Z0e="👰",Y0e="👰‍♂️",Q0e="👰‍♀️",J0e="👰‍♀️",X0e="🤰",ebe="🤱",tbe="👩‍🍼",nbe="👨‍🍼",sbe="🧑‍🍼",obe="👼",rbe="🎅",ibe="🤶",abe="🧑‍🎄",lbe="🦸",cbe="🦸‍♂️",ube="🦸‍♀️",dbe="🦹",hbe="🦹‍♂️",fbe="🦹‍♀️",pbe="🧙",gbe="🧙‍♂️",mbe="🧙‍♀️",_be="🧚",bbe="🧚‍♂️",ybe="🧚‍♀️",vbe="🧛",wbe="🧛‍♂️",xbe="🧛‍♀️",kbe="🧜",Ebe="🧜‍♂️",Cbe="🧜‍♀️",Abe="🧝",Sbe="🧝‍♂️",Tbe="🧝‍♀️",Mbe="🧞",Obe="🧞‍♂️",Rbe="🧞‍♀️",Nbe="🧟",Dbe="🧟‍♂️",Lbe="🧟‍♀️",Ibe="💆",Pbe="💆‍♂️",Fbe="💆‍♀️",Bbe="💇",$be="💇‍♂️",jbe="💇‍♀️",zbe="🚶",Ube="🚶‍♂️",qbe="🚶‍♀️",Hbe="🧍",Vbe="🧍‍♂️",Gbe="🧍‍♀️",Kbe="🧎",Wbe="🧎‍♂️",Zbe="🧎‍♀️",Ybe="🧑‍🦯",Qbe="👨‍🦯",Jbe="👩‍🦯",Xbe="🧑‍🦼",eye="👨‍🦼",tye="👩‍🦼",nye="🧑‍🦽",sye="👨‍🦽",oye="👩‍🦽",rye="🏃",iye="🏃",aye="🏃‍♂️",lye="🏃‍♀️",cye="💃",uye="💃",dye="🕺",hye="🕴️",fye="👯",pye="👯‍♂️",gye="👯‍♀️",mye="🧖",_ye="🧖‍♂️",bye="🧖‍♀️",yye="🧗",vye="🧗‍♂️",wye="🧗‍♀️",xye="🤺",kye="🏇",Eye="⛷️",Cye="🏂",Aye="🏌️",Sye="🏌️‍♂️",Tye="🏌️‍♀️",Mye="🏄",Oye="🏄‍♂️",Rye="🏄‍♀️",Nye="🚣",Dye="🚣‍♂️",Lye="🚣‍♀️",Iye="🏊",Pye="🏊‍♂️",Fye="🏊‍♀️",Bye="⛹️",$ye="⛹️‍♂️",jye="⛹️‍♂️",zye="⛹️‍♀️",Uye="⛹️‍♀️",qye="🏋️",Hye="🏋️‍♂️",Vye="🏋️‍♀️",Gye="🚴",Kye="🚴‍♂️",Wye="🚴‍♀️",Zye="🚵",Yye="🚵‍♂️",Qye="🚵‍♀️",Jye="🤸",Xye="🤸‍♂️",e2e="🤸‍♀️",t2e="🤼",n2e="🤼‍♂️",s2e="🤼‍♀️",o2e="🤽",r2e="🤽‍♂️",i2e="🤽‍♀️",a2e="🤾",l2e="🤾‍♂️",c2e="🤾‍♀️",u2e="🤹",d2e="🤹‍♂️",h2e="🤹‍♀️",f2e="🧘",p2e="🧘‍♂️",g2e="🧘‍♀️",m2e="🛀",_2e="🛌",b2e="🧑‍🤝‍🧑",y2e="👭",v2e="👫",w2e="👬",x2e="💏",k2e="👩‍❤️‍💋‍👨",E2e="👨‍❤️‍💋‍👨",C2e="👩‍❤️‍💋‍👩",A2e="💑",S2e="👩‍❤️‍👨",T2e="👨‍❤️‍👨",M2e="👩‍❤️‍👩",O2e="👪",R2e="👨‍👩‍👦",N2e="👨‍👩‍👧",D2e="👨‍👩‍👧‍👦",L2e="👨‍👩‍👦‍👦",I2e="👨‍👩‍👧‍👧",P2e="👨‍👨‍👦",F2e="👨‍👨‍👧",B2e="👨‍👨‍👧‍👦",$2e="👨‍👨‍👦‍👦",j2e="👨‍👨‍👧‍👧",z2e="👩‍👩‍👦",U2e="👩‍👩‍👧",q2e="👩‍👩‍👧‍👦",H2e="👩‍👩‍👦‍👦",V2e="👩‍👩‍👧‍👧",G2e="👨‍👦",K2e="👨‍👦‍👦",W2e="👨‍👧",Z2e="👨‍👧‍👦",Y2e="👨‍👧‍👧",Q2e="👩‍👦",J2e="👩‍👦‍👦",X2e="👩‍👧",eve="👩‍👧‍👦",tve="👩‍👧‍👧",nve="🗣️",sve="👤",ove="👥",rve="🫂",ive="👣",ave="🐵",lve="🐒",cve="🦍",uve="🦧",dve="🐶",hve="🐕",fve="🦮",pve="🐕‍🦺",gve="🐩",mve="🐺",_ve="🦊",bve="🦝",yve="🐱",vve="🐈",wve="🐈‍⬛",xve="🦁",kve="🐯",Eve="🐅",Cve="🐆",Ave="🐴",Sve="🐎",Tve="🦄",Mve="🦓",Ove="🦌",Rve="🦬",Nve="🐮",Dve="🐂",Lve="🐃",Ive="🐄",Pve="🐷",Fve="🐖",Bve="🐗",$ve="🐽",jve="🐏",zve="🐑",Uve="🐐",qve="🐪",Hve="🐫",Vve="🦙",Gve="🦒",Kve="🐘",Wve="🦣",Zve="🦏",Yve="🦛",Qve="🐭",Jve="🐁",Xve="🐀",ewe="🐹",twe="🐰",nwe="🐇",swe="🐿️",owe="🦫",rwe="🦔",iwe="🦇",awe="🐻",lwe="🐻‍❄️",cwe="🐨",uwe="🐼",dwe="🦥",hwe="🦦",fwe="🦨",pwe="🦘",gwe="🦡",mwe="🐾",_we="🐾",bwe="🦃",ywe="🐔",vwe="🐓",wwe="🐣",xwe="🐤",kwe="🐥",Ewe="🐦",Cwe="🐧",Awe="🕊️",Swe="🦅",Twe="🦆",Mwe="🦢",Owe="🦉",Rwe="🦤",Nwe="🪶",Dwe="🦩",Lwe="🦚",Iwe="🦜",Pwe="🐸",Fwe="🐊",Bwe="🐢",$we="🦎",jwe="🐍",zwe="🐲",Uwe="🐉",qwe="🦕",Hwe="🐳",Vwe="🐋",Gwe="🐬",Kwe="🐬",Wwe="🦭",Zwe="🐟",Ywe="🐠",Qwe="🐡",Jwe="🦈",Xwe="🐙",exe="🐚",txe="🐌",nxe="🦋",sxe="🐛",oxe="🐜",rxe="🐝",ixe="🐝",axe="🪲",lxe="🐞",cxe="🦗",uxe="🪳",dxe="🕷️",hxe="🕸️",fxe="🦂",pxe="🦟",gxe="🪰",mxe="🪱",_xe="🦠",bxe="💐",yxe="🌸",vxe="💮",wxe="🏵️",xxe="🌹",kxe="🥀",Exe="🌺",Cxe="🌻",Axe="🌼",Sxe="🌷",Txe="🌱",Mxe="🪴",Oxe="🌲",Rxe="🌳",Nxe="🌴",Dxe="🌵",Lxe="🌾",Ixe="🌿",Pxe="☘️",Fxe="🍀",Bxe="🍁",$xe="🍂",jxe="🍃",zxe="🍇",Uxe="🍈",qxe="🍉",Hxe="🍊",Vxe="🍊",Gxe="🍊",Kxe="🍋",Wxe="🍌",Zxe="🍍",Yxe="🥭",Qxe="🍎",Jxe="🍏",Xxe="🍐",eke="🍑",tke="🍒",nke="🍓",ske="🫐",oke="🥝",rke="🍅",ike="🫒",ake="🥥",lke="🥑",cke="🍆",uke="🥔",dke="🥕",hke="🌽",fke="🌶️",pke="🫑",gke="🥒",mke="🥬",_ke="🥦",bke="🧄",yke="🧅",vke="🍄",wke="🥜",xke="🌰",kke="🍞",Eke="🥐",Cke="🥖",Ake="🫓",Ske="🥨",Tke="🥯",Mke="🥞",Oke="🧇",Rke="🧀",Nke="🍖",Dke="🍗",Lke="🥩",Ike="🥓",Pke="🍔",Fke="🍟",Bke="🍕",$ke="🌭",jke="🥪",zke="🌮",Uke="🌯",qke="🫔",Hke="🥙",Vke="🧆",Gke="🥚",Kke="🍳",Wke="🥘",Zke="🍲",Yke="🫕",Qke="🥣",Jke="🥗",Xke="🍿",eEe="🧈",tEe="🧂",nEe="🥫",sEe="🍱",oEe="🍘",rEe="🍙",iEe="🍚",aEe="🍛",lEe="🍜",cEe="🍝",uEe="🍠",dEe="🍢",hEe="🍣",fEe="🍤",pEe="🍥",gEe="🥮",mEe="🍡",_Ee="🥟",bEe="🥠",yEe="🥡",vEe="🦀",wEe="🦞",xEe="🦐",kEe="🦑",EEe="🦪",CEe="🍦",AEe="🍧",SEe="🍨",TEe="🍩",MEe="🍪",OEe="🎂",REe="🍰",NEe="🧁",DEe="🥧",LEe="🍫",IEe="🍬",PEe="🍭",FEe="🍮",BEe="🍯",$Ee="🍼",jEe="🥛",zEe="☕",UEe="🫖",qEe="🍵",HEe="🍶",VEe="🍾",GEe="🍷",KEe="🍸",WEe="🍹",ZEe="🍺",YEe="🍻",QEe="🥂",JEe="🥃",XEe="🥤",e5e="🧋",t5e="🧃",n5e="🧉",s5e="🧊",o5e="🥢",r5e="🍽️",i5e="🍴",a5e="🥄",l5e="🔪",c5e="🔪",u5e="🏺",d5e="🌍",h5e="🌎",f5e="🌏",p5e="🌐",g5e="🗺️",m5e="🗾",_5e="🧭",b5e="🏔️",y5e="⛰️",v5e="🌋",w5e="🗻",x5e="🏕️",k5e="🏖️",E5e="🏜️",C5e="🏝️",A5e="🏞️",S5e="🏟️",T5e="🏛️",M5e="🏗️",O5e="🧱",R5e="🪨",N5e="🪵",D5e="🛖",L5e="🏘️",I5e="🏚️",P5e="🏠",F5e="🏡",B5e="🏢",$5e="🏣",j5e="🏤",z5e="🏥",U5e="🏦",q5e="🏨",H5e="🏩",V5e="🏪",G5e="🏫",K5e="🏬",W5e="🏭",Z5e="🏯",Y5e="🏰",Q5e="💒",J5e="🗼",X5e="🗽",e4e="⛪",t4e="🕌",n4e="🛕",s4e="🕍",o4e="⛩️",r4e="🕋",i4e="⛲",a4e="⛺",l4e="🌁",c4e="🌃",u4e="🏙️",d4e="🌄",h4e="🌅",f4e="🌆",p4e="🌇",g4e="🌉",m4e="♨️",_4e="🎠",b4e="🎡",y4e="🎢",v4e="💈",w4e="🎪",x4e="🚂",k4e="🚃",E4e="🚄",C4e="🚅",A4e="🚆",S4e="🚇",T4e="🚈",M4e="🚉",O4e="🚊",R4e="🚝",N4e="🚞",D4e="🚋",L4e="🚌",I4e="🚍",P4e="🚎",F4e="🚐",B4e="🚑",$4e="🚒",j4e="🚓",z4e="🚔",U4e="🚕",q4e="🚖",H4e="🚗",V4e="🚗",G4e="🚘",K4e="🚙",W4e="🛻",Z4e="🚚",Y4e="🚛",Q4e="🚜",J4e="🏎️",X4e="🏍️",e3e="🛵",t3e="🦽",n3e="🦼",s3e="🛺",o3e="🚲",r3e="🛴",i3e="🛹",a3e="🛼",l3e="🚏",c3e="🛣️",u3e="🛤️",d3e="🛢️",h3e="⛽",f3e="🚨",p3e="🚥",g3e="🚦",m3e="🛑",_3e="🚧",b3e="⚓",y3e="⛵",v3e="⛵",w3e="🛶",x3e="🚤",k3e="🛳️",E3e="⛴️",C3e="🛥️",A3e="🚢",S3e="✈️",T3e="🛩️",M3e="🛫",O3e="🛬",R3e="🪂",N3e="💺",D3e="🚁",L3e="🚟",I3e="🚠",P3e="🚡",F3e="🛰️",B3e="🚀",$3e="🛸",j3e="🛎️",z3e="🧳",U3e="⌛",q3e="⏳",H3e="⌚",V3e="⏰",G3e="⏱️",K3e="⏲️",W3e="🕰️",Z3e="🕛",Y3e="🕧",Q3e="🕐",J3e="🕜",X3e="🕑",eCe="🕝",tCe="🕒",nCe="🕞",sCe="🕓",oCe="🕟",rCe="🕔",iCe="🕠",aCe="🕕",lCe="🕡",cCe="🕖",uCe="🕢",dCe="🕗",hCe="🕣",fCe="🕘",pCe="🕤",gCe="🕙",mCe="🕥",_Ce="🕚",bCe="🕦",yCe="🌑",vCe="🌒",wCe="🌓",xCe="🌔",kCe="🌔",ECe="🌕",CCe="🌖",ACe="🌗",SCe="🌘",TCe="🌙",MCe="🌚",OCe="🌛",RCe="🌜",NCe="🌡️",DCe="☀️",LCe="🌝",ICe="🌞",PCe="🪐",FCe="⭐",BCe="🌟",$Ce="🌠",jCe="🌌",zCe="☁️",UCe="⛅",qCe="⛈️",HCe="🌤️",VCe="🌥️",GCe="🌦️",KCe="🌧️",WCe="🌨️",ZCe="🌩️",YCe="🌪️",QCe="🌫️",JCe="🌬️",XCe="🌀",e8e="🌈",t8e="🌂",n8e="☂️",s8e="☔",o8e="⛱️",r8e="⚡",i8e="❄️",a8e="☃️",l8e="⛄",c8e="☄️",u8e="🔥",d8e="💧",h8e="🌊",f8e="🎃",p8e="🎄",g8e="🎆",m8e="🎇",_8e="🧨",b8e="✨",y8e="🎈",v8e="🎉",w8e="🎊",x8e="🎋",k8e="🎍",E8e="🎎",C8e="🎏",A8e="🎐",S8e="🎑",T8e="🧧",M8e="🎀",O8e="🎁",R8e="🎗️",N8e="🎟️",D8e="🎫",L8e="🎖️",I8e="🏆",P8e="🏅",F8e="⚽",B8e="⚾",$8e="🥎",j8e="🏀",z8e="🏐",U8e="🏈",q8e="🏉",H8e="🎾",V8e="🥏",G8e="🎳",K8e="🏏",W8e="🏑",Z8e="🏒",Y8e="🥍",Q8e="🏓",J8e="🏸",X8e="🥊",e9e="🥋",t9e="🥅",n9e="⛳",s9e="⛸️",o9e="🎣",r9e="🤿",i9e="🎽",a9e="🎿",l9e="🛷",c9e="🥌",u9e="🎯",d9e="🪀",h9e="🪁",f9e="🔮",p9e="🪄",g9e="🧿",m9e="🎮",_9e="🕹️",b9e="🎰",y9e="🎲",v9e="🧩",w9e="🧸",x9e="🪅",k9e="🪆",E9e="♠️",C9e="♥️",A9e="♦️",S9e="♣️",T9e="♟️",M9e="🃏",O9e="🀄",R9e="🎴",N9e="🎭",D9e="🖼️",L9e="🎨",I9e="🧵",P9e="🪡",F9e="🧶",B9e="🪢",$9e="👓",j9e="🕶️",z9e="🥽",U9e="🥼",q9e="🦺",H9e="👔",V9e="👕",G9e="👕",K9e="👖",W9e="🧣",Z9e="🧤",Y9e="🧥",Q9e="🧦",J9e="👗",X9e="👘",eAe="🥻",tAe="🩱",nAe="🩲",sAe="🩳",oAe="👙",rAe="👚",iAe="👛",aAe="👜",lAe="👝",cAe="🛍️",uAe="🎒",dAe="🩴",hAe="👞",fAe="👞",pAe="👟",gAe="🥾",mAe="🥿",_Ae="👠",bAe="👡",yAe="🩰",vAe="👢",wAe="👑",xAe="👒",kAe="🎩",EAe="🎓",CAe="🧢",AAe="🪖",SAe="⛑️",TAe="📿",MAe="💄",OAe="💍",RAe="💎",NAe="🔇",DAe="🔈",LAe="🔉",IAe="🔊",PAe="📢",FAe="📣",BAe="📯",$Ae="🔔",jAe="🔕",zAe="🎼",UAe="🎵",qAe="🎶",HAe="🎙️",VAe="🎚️",GAe="🎛️",KAe="🎤",WAe="🎧",ZAe="📻",YAe="🎷",QAe="🪗",JAe="🎸",XAe="🎹",e6e="🎺",t6e="🎻",n6e="🪕",s6e="🥁",o6e="🪘",r6e="📱",i6e="📲",a6e="☎️",l6e="☎️",c6e="📞",u6e="📟",d6e="📠",h6e="🔋",f6e="🔌",p6e="💻",g6e="🖥️",m6e="🖨️",_6e="⌨️",b6e="🖱️",y6e="🖲️",v6e="💽",w6e="💾",x6e="💿",k6e="📀",E6e="🧮",C6e="🎥",A6e="🎞️",S6e="📽️",T6e="🎬",M6e="📺",O6e="📷",R6e="📸",N6e="📹",D6e="📼",L6e="🔍",I6e="🔎",P6e="🕯️",F6e="💡",B6e="🔦",$6e="🏮",j6e="🏮",z6e="🪔",U6e="📔",q6e="📕",H6e="📖",V6e="📖",G6e="📗",K6e="📘",W6e="📙",Z6e="📚",Y6e="📓",Q6e="📒",J6e="📃",X6e="📜",eSe="📄",tSe="📰",nSe="🗞️",sSe="📑",oSe="🔖",rSe="🏷️",iSe="💰",aSe="🪙",lSe="💴",cSe="💵",uSe="💶",dSe="💷",hSe="💸",fSe="💳",pSe="🧾",gSe="💹",mSe="✉️",_Se="📧",bSe="📨",ySe="📩",vSe="📤",wSe="📥",xSe="📫",kSe="📪",ESe="📬",CSe="📭",ASe="📮",SSe="🗳️",TSe="✏️",MSe="✒️",OSe="🖋️",RSe="🖊️",NSe="🖌️",DSe="🖍️",LSe="📝",ISe="📝",PSe="💼",FSe="📁",BSe="📂",$Se="🗂️",jSe="📅",zSe="📆",USe="🗒️",qSe="🗓️",HSe="📇",VSe="📈",GSe="📉",KSe="📊",WSe="📋",ZSe="📌",YSe="📍",QSe="📎",JSe="🖇️",XSe="📏",eTe="📐",tTe="✂️",nTe="🗃️",sTe="🗄️",oTe="🗑️",rTe="🔒",iTe="🔓",aTe="🔏",lTe="🔐",cTe="🔑",uTe="🗝️",dTe="🔨",hTe="🪓",fTe="⛏️",pTe="⚒️",gTe="🛠️",mTe="🗡️",_Te="⚔️",bTe="🔫",yTe="🪃",vTe="🏹",wTe="🛡️",xTe="🪚",kTe="🔧",ETe="🪛",CTe="🔩",ATe="⚙️",STe="🗜️",TTe="⚖️",MTe="🦯",OTe="🔗",RTe="⛓️",NTe="🪝",DTe="🧰",LTe="🧲",ITe="🪜",PTe="⚗️",FTe="🧪",BTe="🧫",$Te="🧬",jTe="🔬",zTe="🔭",UTe="📡",qTe="💉",HTe="🩸",VTe="💊",GTe="🩹",KTe="🩺",WTe="🚪",ZTe="🛗",YTe="🪞",QTe="🪟",JTe="🛏️",XTe="🛋️",e7e="🪑",t7e="🚽",n7e="🪠",s7e="🚿",o7e="🛁",r7e="🪤",i7e="🪒",a7e="🧴",l7e="🧷",c7e="🧹",u7e="🧺",d7e="🧻",h7e="🪣",f7e="🧼",p7e="🪥",g7e="🧽",m7e="🧯",_7e="🛒",b7e="🚬",y7e="⚰️",v7e="🪦",w7e="⚱️",x7e="🗿",k7e="🪧",E7e="🏧",C7e="🚮",A7e="🚰",S7e="♿",T7e="🚹",M7e="🚺",O7e="🚻",R7e="🚼",N7e="🚾",D7e="🛂",L7e="🛃",I7e="🛄",P7e="🛅",F7e="⚠️",B7e="🚸",$7e="⛔",j7e="🚫",z7e="🚳",U7e="🚭",q7e="🚯",H7e="🚷",V7e="📵",G7e="🔞",K7e="☢️",W7e="☣️",Z7e="⬆️",Y7e="↗️",Q7e="➡️",J7e="↘️",X7e="⬇️",eMe="↙️",tMe="⬅️",nMe="↖️",sMe="↕️",oMe="↔️",rMe="↩️",iMe="↪️",aMe="⤴️",lMe="⤵️",cMe="🔃",uMe="🔄",dMe="🔙",hMe="🔚",fMe="🔛",pMe="🔜",gMe="🔝",mMe="🛐",_Me="⚛️",bMe="🕉️",yMe="✡️",vMe="☸️",wMe="☯️",xMe="✝️",kMe="☦️",EMe="☪️",CMe="☮️",AMe="🕎",SMe="🔯",TMe="♈",MMe="♉",OMe="♊",RMe="♋",NMe="♌",DMe="♍",LMe="♎",IMe="♏",PMe="♐",FMe="♑",BMe="♒",$Me="♓",jMe="⛎",zMe="🔀",UMe="🔁",qMe="🔂",HMe="▶️",VMe="⏩",GMe="⏭️",KMe="⏯️",WMe="◀️",ZMe="⏪",YMe="⏮️",QMe="🔼",JMe="⏫",XMe="🔽",eOe="⏬",tOe="⏸️",nOe="⏹️",sOe="⏺️",oOe="⏏️",rOe="🎦",iOe="🔅",aOe="🔆",lOe="📶",cOe="📳",uOe="📴",dOe="♀️",hOe="♂️",fOe="⚧️",pOe="✖️",gOe="➕",mOe="➖",_Oe="➗",bOe="♾️",yOe="‼️",vOe="⁉️",wOe="❓",xOe="❔",kOe="❕",EOe="❗",COe="❗",AOe="〰️",SOe="💱",TOe="💲",MOe="⚕️",OOe="♻️",ROe="⚜️",NOe="🔱",DOe="📛",LOe="🔰",IOe="⭕",POe="✅",FOe="☑️",BOe="✔️",$Oe="❌",jOe="❎",zOe="➰",UOe="➿",qOe="〽️",HOe="✳️",VOe="✴️",GOe="❇️",KOe="©️",WOe="®️",ZOe="™️",YOe="#️⃣",QOe="*️⃣",JOe="0️⃣",XOe="1️⃣",eRe="2️⃣",tRe="3️⃣",nRe="4️⃣",sRe="5️⃣",oRe="6️⃣",rRe="7️⃣",iRe="8️⃣",aRe="9️⃣",lRe="🔟",cRe="🔠",uRe="🔡",dRe="🔣",hRe="🔤",fRe="🅰️",pRe="🆎",gRe="🅱️",mRe="🆑",_Re="🆒",bRe="🆓",yRe="ℹ️",vRe="🆔",wRe="Ⓜ️",xRe="🆖",kRe="🅾️",ERe="🆗",CRe="🅿️",ARe="🆘",SRe="🆙",TRe="🆚",MRe="🈁",ORe="🈂️",RRe="🉐",NRe="🉑",DRe="㊗️",LRe="㊙️",IRe="🈵",PRe="🔴",FRe="🟠",BRe="🟡",$Re="🟢",jRe="🔵",zRe="🟣",URe="🟤",qRe="⚫",HRe="⚪",VRe="🟥",GRe="🟧",KRe="🟨",WRe="🟩",ZRe="🟦",YRe="🟪",QRe="🟫",JRe="⬛",XRe="⬜",eNe="◼️",tNe="◻️",nNe="◾",sNe="◽",oNe="▪️",rNe="▫️",iNe="🔶",aNe="🔷",lNe="🔸",cNe="🔹",uNe="🔺",dNe="🔻",hNe="💠",fNe="🔘",pNe="🔳",gNe="🔲",mNe="🏁",_Ne="🚩",bNe="🎌",yNe="🏴",vNe="🏳️",wNe="🏳️‍🌈",xNe="🏳️‍⚧️",kNe="🏴‍☠️",ENe="🇦🇨",CNe="🇦🇩",ANe="🇦🇪",SNe="🇦🇫",TNe="🇦🇬",MNe="🇦🇮",ONe="🇦🇱",RNe="🇦🇲",NNe="🇦🇴",DNe="🇦🇶",LNe="🇦🇷",INe="🇦🇸",PNe="🇦🇹",FNe="🇦🇺",BNe="🇦🇼",$Ne="🇦🇽",jNe="🇦🇿",zNe="🇧🇦",UNe="🇧🇧",qNe="🇧🇩",HNe="🇧🇪",VNe="🇧🇫",GNe="🇧🇬",KNe="🇧🇭",WNe="🇧🇮",ZNe="🇧🇯",YNe="🇧🇱",QNe="🇧🇲",JNe="🇧🇳",XNe="🇧🇴",eDe="🇧🇶",tDe="🇧🇷",nDe="🇧🇸",sDe="🇧🇹",oDe="🇧🇻",rDe="🇧🇼",iDe="🇧🇾",aDe="🇧🇿",lDe="🇨🇦",cDe="🇨🇨",uDe="🇨🇩",dDe="🇨🇫",hDe="🇨🇬",fDe="🇨🇭",pDe="🇨🇮",gDe="🇨🇰",mDe="🇨🇱",_De="🇨🇲",bDe="🇨🇳",yDe="🇨🇴",vDe="🇨🇵",wDe="🇨🇷",xDe="🇨🇺",kDe="🇨🇻",EDe="🇨🇼",CDe="🇨🇽",ADe="🇨🇾",SDe="🇨🇿",TDe="🇩🇪",MDe="🇩🇬",ODe="🇩🇯",RDe="🇩🇰",NDe="🇩🇲",DDe="🇩🇴",LDe="🇩🇿",IDe="🇪🇦",PDe="🇪🇨",FDe="🇪🇪",BDe="🇪🇬",$De="🇪🇭",jDe="🇪🇷",zDe="🇪🇸",UDe="🇪🇹",qDe="🇪🇺",HDe="🇪🇺",VDe="🇫🇮",GDe="🇫🇯",KDe="🇫🇰",WDe="🇫🇲",ZDe="🇫🇴",YDe="🇫🇷",QDe="🇬🇦",JDe="🇬🇧",XDe="🇬🇧",eLe="🇬🇩",tLe="🇬🇪",nLe="🇬🇫",sLe="🇬🇬",oLe="🇬🇭",rLe="🇬🇮",iLe="🇬🇱",aLe="🇬🇲",lLe="🇬🇳",cLe="🇬🇵",uLe="🇬🇶",dLe="🇬🇷",hLe="🇬🇸",fLe="🇬🇹",pLe="🇬🇺",gLe="🇬🇼",mLe="🇬🇾",_Le="🇭🇰",bLe="🇭🇲",yLe="🇭🇳",vLe="🇭🇷",wLe="🇭🇹",xLe="🇭🇺",kLe="🇮🇨",ELe="🇮🇩",CLe="🇮🇪",ALe="🇮🇱",SLe="🇮🇲",TLe="🇮🇳",MLe="🇮🇴",OLe="🇮🇶",RLe="🇮🇷",NLe="🇮🇸",DLe="🇮🇹",LLe="🇯🇪",ILe="🇯🇲",PLe="🇯🇴",FLe="🇯🇵",BLe="🇰🇪",$Le="🇰🇬",jLe="🇰🇭",zLe="🇰🇮",ULe="🇰🇲",qLe="🇰🇳",HLe="🇰🇵",VLe="🇰🇷",GLe="🇰🇼",KLe="🇰🇾",WLe="🇰🇿",ZLe="🇱🇦",YLe="🇱🇧",QLe="🇱🇨",JLe="🇱🇮",XLe="🇱🇰",eIe="🇱🇷",tIe="🇱🇸",nIe="🇱🇹",sIe="🇱🇺",oIe="🇱🇻",rIe="🇱🇾",iIe="🇲🇦",aIe="🇲🇨",lIe="🇲🇩",cIe="🇲🇪",uIe="🇲🇫",dIe="🇲🇬",hIe="🇲🇭",fIe="🇲🇰",pIe="🇲🇱",gIe="🇲🇲",mIe="🇲🇳",_Ie="🇲🇴",bIe="🇲🇵",yIe="🇲🇶",vIe="🇲🇷",wIe="🇲🇸",xIe="🇲🇹",kIe="🇲🇺",EIe="🇲🇻",CIe="🇲🇼",AIe="🇲🇽",SIe="🇲🇾",TIe="🇲🇿",MIe="🇳🇦",OIe="🇳🇨",RIe="🇳🇪",NIe="🇳🇫",DIe="🇳🇬",LIe="🇳🇮",IIe="🇳🇱",PIe="🇳🇴",FIe="🇳🇵",BIe="🇳🇷",$Ie="🇳🇺",jIe="🇳🇿",zIe="🇴🇲",UIe="🇵🇦",qIe="🇵🇪",HIe="🇵🇫",VIe="🇵🇬",GIe="🇵🇭",KIe="🇵🇰",WIe="🇵🇱",ZIe="🇵🇲",YIe="🇵🇳",QIe="🇵🇷",JIe="🇵🇸",XIe="🇵🇹",ePe="🇵🇼",tPe="🇵🇾",nPe="🇶🇦",sPe="🇷🇪",oPe="🇷🇴",rPe="🇷🇸",iPe="🇷🇺",aPe="🇷🇼",lPe="🇸🇦",cPe="🇸🇧",uPe="🇸🇨",dPe="🇸🇩",hPe="🇸🇪",fPe="🇸🇬",pPe="🇸🇭",gPe="🇸🇮",mPe="🇸🇯",_Pe="🇸🇰",bPe="🇸🇱",yPe="🇸🇲",vPe="🇸🇳",wPe="🇸🇴",xPe="🇸🇷",kPe="🇸🇸",EPe="🇸🇹",CPe="🇸🇻",APe="🇸🇽",SPe="🇸🇾",TPe="🇸🇿",MPe="🇹🇦",OPe="🇹🇨",RPe="🇹🇩",NPe="🇹🇫",DPe="🇹🇬",LPe="🇹🇭",IPe="🇹🇯",PPe="🇹🇰",FPe="🇹🇱",BPe="🇹🇲",$Pe="🇹🇳",jPe="🇹🇴",zPe="🇹🇷",UPe="🇹🇹",qPe="🇹🇻",HPe="🇹🇼",VPe="🇹🇿",GPe="🇺🇦",KPe="🇺🇬",WPe="🇺🇲",ZPe="🇺🇳",YPe="🇺🇸",QPe="🇺🇾",JPe="🇺🇿",XPe="🇻🇦",eFe="🇻🇨",tFe="🇻🇪",nFe="🇻🇬",sFe="🇻🇮",oFe="🇻🇳",rFe="🇻🇺",iFe="🇼🇫",aFe="🇼🇸",lFe="🇽🇰",cFe="🇾🇪",uFe="🇾🇹",dFe="🇿🇦",hFe="🇿🇲",fFe="🇿🇼",pFe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",gFe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",mFe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",_Fe={100:"💯",1234:"🔢",grinning:Tfe,smiley:Mfe,smile:Ofe,grin:Rfe,laughing:Nfe,satisfied:Dfe,sweat_smile:Lfe,rofl:Ife,joy:Pfe,slightly_smiling_face:Ffe,upside_down_face:Bfe,wink:$fe,blush:jfe,innocent:zfe,smiling_face_with_three_hearts:Ufe,heart_eyes:qfe,star_struck:Hfe,kissing_heart:Vfe,kissing:Gfe,relaxed:Kfe,kissing_closed_eyes:Wfe,kissing_smiling_eyes:Zfe,smiling_face_with_tear:Yfe,yum:Qfe,stuck_out_tongue:Jfe,stuck_out_tongue_winking_eye:Xfe,zany_face:epe,stuck_out_tongue_closed_eyes:tpe,money_mouth_face:npe,hugs:spe,hand_over_mouth:ope,shushing_face:rpe,thinking:ipe,zipper_mouth_face:ape,raised_eyebrow:lpe,neutral_face:cpe,expressionless:upe,no_mouth:dpe,smirk:hpe,unamused:fpe,roll_eyes:ppe,grimacing:gpe,lying_face:mpe,relieved:_pe,pensive:bpe,sleepy:ype,drooling_face:vpe,sleeping:wpe,mask:xpe,face_with_thermometer:kpe,face_with_head_bandage:Epe,nauseated_face:Cpe,vomiting_face:Ape,sneezing_face:Spe,hot_face:Tpe,cold_face:Mpe,woozy_face:Ope,dizzy_face:Rpe,exploding_head:Npe,cowboy_hat_face:Dpe,partying_face:Lpe,disguised_face:Ipe,sunglasses:Ppe,nerd_face:Fpe,monocle_face:Bpe,confused:$pe,worried:jpe,slightly_frowning_face:zpe,frowning_face:Upe,open_mouth:qpe,hushed:Hpe,astonished:Vpe,flushed:Gpe,pleading_face:Kpe,frowning:Wpe,anguished:Zpe,fearful:Ype,cold_sweat:Qpe,disappointed_relieved:Jpe,cry:Xpe,sob:ege,scream:tge,confounded:nge,persevere:sge,disappointed:oge,sweat:rge,weary:ige,tired_face:age,yawning_face:lge,triumph:cge,rage:uge,pout:dge,angry:hge,cursing_face:fge,smiling_imp:pge,imp:gge,skull:mge,skull_and_crossbones:_ge,hankey:bge,poop:yge,shit:vge,clown_face:wge,japanese_ogre:xge,japanese_goblin:kge,ghost:Ege,alien:Cge,space_invader:Age,robot:Sge,smiley_cat:Tge,smile_cat:Mge,joy_cat:Oge,heart_eyes_cat:Rge,smirk_cat:Nge,kissing_cat:Dge,scream_cat:Lge,crying_cat_face:Ige,pouting_cat:Pge,see_no_evil:Fge,hear_no_evil:Bge,speak_no_evil:$ge,kiss:jge,love_letter:zge,cupid:Uge,gift_heart:qge,sparkling_heart:Hge,heartpulse:Vge,heartbeat:Gge,revolving_hearts:Kge,two_hearts:Wge,heart_decoration:Zge,heavy_heart_exclamation:Yge,broken_heart:Qge,heart:Jge,orange_heart:Xge,yellow_heart:eme,green_heart:tme,blue_heart:nme,purple_heart:sme,brown_heart:ome,black_heart:rme,white_heart:ime,anger:ame,boom:lme,collision:cme,dizzy:ume,sweat_drops:dme,dash:hme,hole:fme,bomb:pme,speech_balloon:gme,eye_speech_bubble:mme,left_speech_bubble:_me,right_anger_bubble:bme,thought_balloon:yme,zzz:vme,wave:wme,raised_back_of_hand:xme,raised_hand_with_fingers_splayed:kme,hand:Eme,raised_hand:Cme,vulcan_salute:Ame,ok_hand:Sme,pinched_fingers:Tme,pinching_hand:Mme,v:Ome,crossed_fingers:Rme,love_you_gesture:Nme,metal:Dme,call_me_hand:Lme,point_left:Ime,point_right:Pme,point_up_2:Fme,middle_finger:Bme,fu:$me,point_down:jme,point_up:zme,"+1":"👍",thumbsup:Ume,"-1":"👎",thumbsdown:qme,fist_raised:Hme,fist:Vme,fist_oncoming:Gme,facepunch:Kme,punch:Wme,fist_left:Zme,fist_right:Yme,clap:Qme,raised_hands:Jme,open_hands:Xme,palms_up_together:e_e,handshake:t_e,pray:n_e,writing_hand:s_e,nail_care:o_e,selfie:r_e,muscle:i_e,mechanical_arm:a_e,mechanical_leg:l_e,leg:c_e,foot:u_e,ear:d_e,ear_with_hearing_aid:h_e,nose:f_e,brain:p_e,anatomical_heart:g_e,lungs:m_e,tooth:__e,bone:b_e,eyes:y_e,eye:v_e,tongue:w_e,lips:x_e,baby:k_e,child:E_e,boy:C_e,girl:A_e,adult:S_e,blond_haired_person:T_e,man:M_e,bearded_person:O_e,red_haired_man:R_e,curly_haired_man:N_e,white_haired_man:D_e,bald_man:L_e,woman:I_e,red_haired_woman:P_e,person_red_hair:F_e,curly_haired_woman:B_e,person_curly_hair:$_e,white_haired_woman:j_e,person_white_hair:z_e,bald_woman:U_e,person_bald:q_e,blond_haired_woman:H_e,blonde_woman:V_e,blond_haired_man:G_e,older_adult:K_e,older_man:W_e,older_woman:Z_e,frowning_person:Y_e,frowning_man:Q_e,frowning_woman:J_e,pouting_face:X_e,pouting_man:e1e,pouting_woman:t1e,no_good:n1e,no_good_man:s1e,ng_man:o1e,no_good_woman:r1e,ng_woman:i1e,ok_person:a1e,ok_man:l1e,ok_woman:c1e,tipping_hand_person:u1e,information_desk_person:d1e,tipping_hand_man:h1e,sassy_man:f1e,tipping_hand_woman:p1e,sassy_woman:g1e,raising_hand:m1e,raising_hand_man:_1e,raising_hand_woman:b1e,deaf_person:y1e,deaf_man:v1e,deaf_woman:w1e,bow:x1e,bowing_man:k1e,bowing_woman:E1e,facepalm:C1e,man_facepalming:A1e,woman_facepalming:S1e,shrug:T1e,man_shrugging:M1e,woman_shrugging:O1e,health_worker:R1e,man_health_worker:N1e,woman_health_worker:D1e,student:L1e,man_student:I1e,woman_student:P1e,teacher:F1e,man_teacher:B1e,woman_teacher:$1e,judge:j1e,man_judge:z1e,woman_judge:U1e,farmer:q1e,man_farmer:H1e,woman_farmer:V1e,cook:G1e,man_cook:K1e,woman_cook:W1e,mechanic:Z1e,man_mechanic:Y1e,woman_mechanic:Q1e,factory_worker:J1e,man_factory_worker:X1e,woman_factory_worker:e0e,office_worker:t0e,man_office_worker:n0e,woman_office_worker:s0e,scientist:o0e,man_scientist:r0e,woman_scientist:i0e,technologist:a0e,man_technologist:l0e,woman_technologist:c0e,singer:u0e,man_singer:d0e,woman_singer:h0e,artist:f0e,man_artist:p0e,woman_artist:g0e,pilot:m0e,man_pilot:_0e,woman_pilot:b0e,astronaut:y0e,man_astronaut:v0e,woman_astronaut:w0e,firefighter:x0e,man_firefighter:k0e,woman_firefighter:E0e,police_officer:C0e,cop:A0e,policeman:S0e,policewoman:T0e,detective:M0e,male_detective:O0e,female_detective:R0e,guard:N0e,guardsman:D0e,guardswoman:L0e,ninja:I0e,construction_worker:P0e,construction_worker_man:F0e,construction_worker_woman:B0e,prince:$0e,princess:j0e,person_with_turban:z0e,man_with_turban:U0e,woman_with_turban:q0e,man_with_gua_pi_mao:H0e,woman_with_headscarf:V0e,person_in_tuxedo:G0e,man_in_tuxedo:K0e,woman_in_tuxedo:W0e,person_with_veil:Z0e,man_with_veil:Y0e,woman_with_veil:Q0e,bride_with_veil:J0e,pregnant_woman:X0e,breast_feeding:ebe,woman_feeding_baby:tbe,man_feeding_baby:nbe,person_feeding_baby:sbe,angel:obe,santa:rbe,mrs_claus:ibe,mx_claus:abe,superhero:lbe,superhero_man:cbe,superhero_woman:ube,supervillain:dbe,supervillain_man:hbe,supervillain_woman:fbe,mage:pbe,mage_man:gbe,mage_woman:mbe,fairy:_be,fairy_man:bbe,fairy_woman:ybe,vampire:vbe,vampire_man:wbe,vampire_woman:xbe,merperson:kbe,merman:Ebe,mermaid:Cbe,elf:Abe,elf_man:Sbe,elf_woman:Tbe,genie:Mbe,genie_man:Obe,genie_woman:Rbe,zombie:Nbe,zombie_man:Dbe,zombie_woman:Lbe,massage:Ibe,massage_man:Pbe,massage_woman:Fbe,haircut:Bbe,haircut_man:$be,haircut_woman:jbe,walking:zbe,walking_man:Ube,walking_woman:qbe,standing_person:Hbe,standing_man:Vbe,standing_woman:Gbe,kneeling_person:Kbe,kneeling_man:Wbe,kneeling_woman:Zbe,person_with_probing_cane:Ybe,man_with_probing_cane:Qbe,woman_with_probing_cane:Jbe,person_in_motorized_wheelchair:Xbe,man_in_motorized_wheelchair:eye,woman_in_motorized_wheelchair:tye,person_in_manual_wheelchair:nye,man_in_manual_wheelchair:sye,woman_in_manual_wheelchair:oye,runner:rye,running:iye,running_man:aye,running_woman:lye,woman_dancing:cye,dancer:uye,man_dancing:dye,business_suit_levitating:hye,dancers:fye,dancing_men:pye,dancing_women:gye,sauna_person:mye,sauna_man:_ye,sauna_woman:bye,climbing:yye,climbing_man:vye,climbing_woman:wye,person_fencing:xye,horse_racing:kye,skier:Eye,snowboarder:Cye,golfing:Aye,golfing_man:Sye,golfing_woman:Tye,surfer:Mye,surfing_man:Oye,surfing_woman:Rye,rowboat:Nye,rowing_man:Dye,rowing_woman:Lye,swimmer:Iye,swimming_man:Pye,swimming_woman:Fye,bouncing_ball_person:Bye,bouncing_ball_man:$ye,basketball_man:jye,bouncing_ball_woman:zye,basketball_woman:Uye,weight_lifting:qye,weight_lifting_man:Hye,weight_lifting_woman:Vye,bicyclist:Gye,biking_man:Kye,biking_woman:Wye,mountain_bicyclist:Zye,mountain_biking_man:Yye,mountain_biking_woman:Qye,cartwheeling:Jye,man_cartwheeling:Xye,woman_cartwheeling:e2e,wrestling:t2e,men_wrestling:n2e,women_wrestling:s2e,water_polo:o2e,man_playing_water_polo:r2e,woman_playing_water_polo:i2e,handball_person:a2e,man_playing_handball:l2e,woman_playing_handball:c2e,juggling_person:u2e,man_juggling:d2e,woman_juggling:h2e,lotus_position:f2e,lotus_position_man:p2e,lotus_position_woman:g2e,bath:m2e,sleeping_bed:_2e,people_holding_hands:b2e,two_women_holding_hands:y2e,couple:v2e,two_men_holding_hands:w2e,couplekiss:x2e,couplekiss_man_woman:k2e,couplekiss_man_man:E2e,couplekiss_woman_woman:C2e,couple_with_heart:A2e,couple_with_heart_woman_man:S2e,couple_with_heart_man_man:T2e,couple_with_heart_woman_woman:M2e,family:O2e,family_man_woman_boy:R2e,family_man_woman_girl:N2e,family_man_woman_girl_boy:D2e,family_man_woman_boy_boy:L2e,family_man_woman_girl_girl:I2e,family_man_man_boy:P2e,family_man_man_girl:F2e,family_man_man_girl_boy:B2e,family_man_man_boy_boy:$2e,family_man_man_girl_girl:j2e,family_woman_woman_boy:z2e,family_woman_woman_girl:U2e,family_woman_woman_girl_boy:q2e,family_woman_woman_boy_boy:H2e,family_woman_woman_girl_girl:V2e,family_man_boy:G2e,family_man_boy_boy:K2e,family_man_girl:W2e,family_man_girl_boy:Z2e,family_man_girl_girl:Y2e,family_woman_boy:Q2e,family_woman_boy_boy:J2e,family_woman_girl:X2e,family_woman_girl_boy:eve,family_woman_girl_girl:tve,speaking_head:nve,bust_in_silhouette:sve,busts_in_silhouette:ove,people_hugging:rve,footprints:ive,monkey_face:ave,monkey:lve,gorilla:cve,orangutan:uve,dog:dve,dog2:hve,guide_dog:fve,service_dog:pve,poodle:gve,wolf:mve,fox_face:_ve,raccoon:bve,cat:yve,cat2:vve,black_cat:wve,lion:xve,tiger:kve,tiger2:Eve,leopard:Cve,horse:Ave,racehorse:Sve,unicorn:Tve,zebra:Mve,deer:Ove,bison:Rve,cow:Nve,ox:Dve,water_buffalo:Lve,cow2:Ive,pig:Pve,pig2:Fve,boar:Bve,pig_nose:$ve,ram:jve,sheep:zve,goat:Uve,dromedary_camel:qve,camel:Hve,llama:Vve,giraffe:Gve,elephant:Kve,mammoth:Wve,rhinoceros:Zve,hippopotamus:Yve,mouse:Qve,mouse2:Jve,rat:Xve,hamster:ewe,rabbit:twe,rabbit2:nwe,chipmunk:swe,beaver:owe,hedgehog:rwe,bat:iwe,bear:awe,polar_bear:lwe,koala:cwe,panda_face:uwe,sloth:dwe,otter:hwe,skunk:fwe,kangaroo:pwe,badger:gwe,feet:mwe,paw_prints:_we,turkey:bwe,chicken:ywe,rooster:vwe,hatching_chick:wwe,baby_chick:xwe,hatched_chick:kwe,bird:Ewe,penguin:Cwe,dove:Awe,eagle:Swe,duck:Twe,swan:Mwe,owl:Owe,dodo:Rwe,feather:Nwe,flamingo:Dwe,peacock:Lwe,parrot:Iwe,frog:Pwe,crocodile:Fwe,turtle:Bwe,lizard:$we,snake:jwe,dragon_face:zwe,dragon:Uwe,sauropod:qwe,"t-rex":"🦖",whale:Hwe,whale2:Vwe,dolphin:Gwe,flipper:Kwe,seal:Wwe,fish:Zwe,tropical_fish:Ywe,blowfish:Qwe,shark:Jwe,octopus:Xwe,shell:exe,snail:txe,butterfly:nxe,bug:sxe,ant:oxe,bee:rxe,honeybee:ixe,beetle:axe,lady_beetle:lxe,cricket:cxe,cockroach:uxe,spider:dxe,spider_web:hxe,scorpion:fxe,mosquito:pxe,fly:gxe,worm:mxe,microbe:_xe,bouquet:bxe,cherry_blossom:yxe,white_flower:vxe,rosette:wxe,rose:xxe,wilted_flower:kxe,hibiscus:Exe,sunflower:Cxe,blossom:Axe,tulip:Sxe,seedling:Txe,potted_plant:Mxe,evergreen_tree:Oxe,deciduous_tree:Rxe,palm_tree:Nxe,cactus:Dxe,ear_of_rice:Lxe,herb:Ixe,shamrock:Pxe,four_leaf_clover:Fxe,maple_leaf:Bxe,fallen_leaf:$xe,leaves:jxe,grapes:zxe,melon:Uxe,watermelon:qxe,tangerine:Hxe,orange:Vxe,mandarin:Gxe,lemon:Kxe,banana:Wxe,pineapple:Zxe,mango:Yxe,apple:Qxe,green_apple:Jxe,pear:Xxe,peach:eke,cherries:tke,strawberry:nke,blueberries:ske,kiwi_fruit:oke,tomato:rke,olive:ike,coconut:ake,avocado:lke,eggplant:cke,potato:uke,carrot:dke,corn:hke,hot_pepper:fke,bell_pepper:pke,cucumber:gke,leafy_green:mke,broccoli:_ke,garlic:bke,onion:yke,mushroom:vke,peanuts:wke,chestnut:xke,bread:kke,croissant:Eke,baguette_bread:Cke,flatbread:Ake,pretzel:Ske,bagel:Tke,pancakes:Mke,waffle:Oke,cheese:Rke,meat_on_bone:Nke,poultry_leg:Dke,cut_of_meat:Lke,bacon:Ike,hamburger:Pke,fries:Fke,pizza:Bke,hotdog:$ke,sandwich:jke,taco:zke,burrito:Uke,tamale:qke,stuffed_flatbread:Hke,falafel:Vke,egg:Gke,fried_egg:Kke,shallow_pan_of_food:Wke,stew:Zke,fondue:Yke,bowl_with_spoon:Qke,green_salad:Jke,popcorn:Xke,butter:eEe,salt:tEe,canned_food:nEe,bento:sEe,rice_cracker:oEe,rice_ball:rEe,rice:iEe,curry:aEe,ramen:lEe,spaghetti:cEe,sweet_potato:uEe,oden:dEe,sushi:hEe,fried_shrimp:fEe,fish_cake:pEe,moon_cake:gEe,dango:mEe,dumpling:_Ee,fortune_cookie:bEe,takeout_box:yEe,crab:vEe,lobster:wEe,shrimp:xEe,squid:kEe,oyster:EEe,icecream:CEe,shaved_ice:AEe,ice_cream:SEe,doughnut:TEe,cookie:MEe,birthday:OEe,cake:REe,cupcake:NEe,pie:DEe,chocolate_bar:LEe,candy:IEe,lollipop:PEe,custard:FEe,honey_pot:BEe,baby_bottle:$Ee,milk_glass:jEe,coffee:zEe,teapot:UEe,tea:qEe,sake:HEe,champagne:VEe,wine_glass:GEe,cocktail:KEe,tropical_drink:WEe,beer:ZEe,beers:YEe,clinking_glasses:QEe,tumbler_glass:JEe,cup_with_straw:XEe,bubble_tea:e5e,beverage_box:t5e,mate:n5e,ice_cube:s5e,chopsticks:o5e,plate_with_cutlery:r5e,fork_and_knife:i5e,spoon:a5e,hocho:l5e,knife:c5e,amphora:u5e,earth_africa:d5e,earth_americas:h5e,earth_asia:f5e,globe_with_meridians:p5e,world_map:g5e,japan:m5e,compass:_5e,mountain_snow:b5e,mountain:y5e,volcano:v5e,mount_fuji:w5e,camping:x5e,beach_umbrella:k5e,desert:E5e,desert_island:C5e,national_park:A5e,stadium:S5e,classical_building:T5e,building_construction:M5e,bricks:O5e,rock:R5e,wood:N5e,hut:D5e,houses:L5e,derelict_house:I5e,house:P5e,house_with_garden:F5e,office:B5e,post_office:$5e,european_post_office:j5e,hospital:z5e,bank:U5e,hotel:q5e,love_hotel:H5e,convenience_store:V5e,school:G5e,department_store:K5e,factory:W5e,japanese_castle:Z5e,european_castle:Y5e,wedding:Q5e,tokyo_tower:J5e,statue_of_liberty:X5e,church:e4e,mosque:t4e,hindu_temple:n4e,synagogue:s4e,shinto_shrine:o4e,kaaba:r4e,fountain:i4e,tent:a4e,foggy:l4e,night_with_stars:c4e,cityscape:u4e,sunrise_over_mountains:d4e,sunrise:h4e,city_sunset:f4e,city_sunrise:p4e,bridge_at_night:g4e,hotsprings:m4e,carousel_horse:_4e,ferris_wheel:b4e,roller_coaster:y4e,barber:v4e,circus_tent:w4e,steam_locomotive:x4e,railway_car:k4e,bullettrain_side:E4e,bullettrain_front:C4e,train2:A4e,metro:S4e,light_rail:T4e,station:M4e,tram:O4e,monorail:R4e,mountain_railway:N4e,train:D4e,bus:L4e,oncoming_bus:I4e,trolleybus:P4e,minibus:F4e,ambulance:B4e,fire_engine:$4e,police_car:j4e,oncoming_police_car:z4e,taxi:U4e,oncoming_taxi:q4e,car:H4e,red_car:V4e,oncoming_automobile:G4e,blue_car:K4e,pickup_truck:W4e,truck:Z4e,articulated_lorry:Y4e,tractor:Q4e,racing_car:J4e,motorcycle:X4e,motor_scooter:e3e,manual_wheelchair:t3e,motorized_wheelchair:n3e,auto_rickshaw:s3e,bike:o3e,kick_scooter:r3e,skateboard:i3e,roller_skate:a3e,busstop:l3e,motorway:c3e,railway_track:u3e,oil_drum:d3e,fuelpump:h3e,rotating_light:f3e,traffic_light:p3e,vertical_traffic_light:g3e,stop_sign:m3e,construction:_3e,anchor:b3e,boat:y3e,sailboat:v3e,canoe:w3e,speedboat:x3e,passenger_ship:k3e,ferry:E3e,motor_boat:C3e,ship:A3e,airplane:S3e,small_airplane:T3e,flight_departure:M3e,flight_arrival:O3e,parachute:R3e,seat:N3e,helicopter:D3e,suspension_railway:L3e,mountain_cableway:I3e,aerial_tramway:P3e,artificial_satellite:F3e,rocket:B3e,flying_saucer:$3e,bellhop_bell:j3e,luggage:z3e,hourglass:U3e,hourglass_flowing_sand:q3e,watch:H3e,alarm_clock:V3e,stopwatch:G3e,timer_clock:K3e,mantelpiece_clock:W3e,clock12:Z3e,clock1230:Y3e,clock1:Q3e,clock130:J3e,clock2:X3e,clock230:eCe,clock3:tCe,clock330:nCe,clock4:sCe,clock430:oCe,clock5:rCe,clock530:iCe,clock6:aCe,clock630:lCe,clock7:cCe,clock730:uCe,clock8:dCe,clock830:hCe,clock9:fCe,clock930:pCe,clock10:gCe,clock1030:mCe,clock11:_Ce,clock1130:bCe,new_moon:yCe,waxing_crescent_moon:vCe,first_quarter_moon:wCe,moon:xCe,waxing_gibbous_moon:kCe,full_moon:ECe,waning_gibbous_moon:CCe,last_quarter_moon:ACe,waning_crescent_moon:SCe,crescent_moon:TCe,new_moon_with_face:MCe,first_quarter_moon_with_face:OCe,last_quarter_moon_with_face:RCe,thermometer:NCe,sunny:DCe,full_moon_with_face:LCe,sun_with_face:ICe,ringed_planet:PCe,star:FCe,star2:BCe,stars:$Ce,milky_way:jCe,cloud:zCe,partly_sunny:UCe,cloud_with_lightning_and_rain:qCe,sun_behind_small_cloud:HCe,sun_behind_large_cloud:VCe,sun_behind_rain_cloud:GCe,cloud_with_rain:KCe,cloud_with_snow:WCe,cloud_with_lightning:ZCe,tornado:YCe,fog:QCe,wind_face:JCe,cyclone:XCe,rainbow:e8e,closed_umbrella:t8e,open_umbrella:n8e,umbrella:s8e,parasol_on_ground:o8e,zap:r8e,snowflake:i8e,snowman_with_snow:a8e,snowman:l8e,comet:c8e,fire:u8e,droplet:d8e,ocean:h8e,jack_o_lantern:f8e,christmas_tree:p8e,fireworks:g8e,sparkler:m8e,firecracker:_8e,sparkles:b8e,balloon:y8e,tada:v8e,confetti_ball:w8e,tanabata_tree:x8e,bamboo:k8e,dolls:E8e,flags:C8e,wind_chime:A8e,rice_scene:S8e,red_envelope:T8e,ribbon:M8e,gift:O8e,reminder_ribbon:R8e,tickets:N8e,ticket:D8e,medal_military:L8e,trophy:I8e,medal_sports:P8e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:F8e,baseball:B8e,softball:$8e,basketball:j8e,volleyball:z8e,football:U8e,rugby_football:q8e,tennis:H8e,flying_disc:V8e,bowling:G8e,cricket_game:K8e,field_hockey:W8e,ice_hockey:Z8e,lacrosse:Y8e,ping_pong:Q8e,badminton:J8e,boxing_glove:X8e,martial_arts_uniform:e9e,goal_net:t9e,golf:n9e,ice_skate:s9e,fishing_pole_and_fish:o9e,diving_mask:r9e,running_shirt_with_sash:i9e,ski:a9e,sled:l9e,curling_stone:c9e,dart:u9e,yo_yo:d9e,kite:h9e,"8ball":"🎱",crystal_ball:f9e,magic_wand:p9e,nazar_amulet:g9e,video_game:m9e,joystick:_9e,slot_machine:b9e,game_die:y9e,jigsaw:v9e,teddy_bear:w9e,pinata:x9e,nesting_dolls:k9e,spades:E9e,hearts:C9e,diamonds:A9e,clubs:S9e,chess_pawn:T9e,black_joker:M9e,mahjong:O9e,flower_playing_cards:R9e,performing_arts:N9e,framed_picture:D9e,art:L9e,thread:I9e,sewing_needle:P9e,yarn:F9e,knot:B9e,eyeglasses:$9e,dark_sunglasses:j9e,goggles:z9e,lab_coat:U9e,safety_vest:q9e,necktie:H9e,shirt:V9e,tshirt:G9e,jeans:K9e,scarf:W9e,gloves:Z9e,coat:Y9e,socks:Q9e,dress:J9e,kimono:X9e,sari:eAe,one_piece_swimsuit:tAe,swim_brief:nAe,shorts:sAe,bikini:oAe,womans_clothes:rAe,purse:iAe,handbag:aAe,pouch:lAe,shopping:cAe,school_satchel:uAe,thong_sandal:dAe,mans_shoe:hAe,shoe:fAe,athletic_shoe:pAe,hiking_boot:gAe,flat_shoe:mAe,high_heel:_Ae,sandal:bAe,ballet_shoes:yAe,boot:vAe,crown:wAe,womans_hat:xAe,tophat:kAe,mortar_board:EAe,billed_cap:CAe,military_helmet:AAe,rescue_worker_helmet:SAe,prayer_beads:TAe,lipstick:MAe,ring:OAe,gem:RAe,mute:NAe,speaker:DAe,sound:LAe,loud_sound:IAe,loudspeaker:PAe,mega:FAe,postal_horn:BAe,bell:$Ae,no_bell:jAe,musical_score:zAe,musical_note:UAe,notes:qAe,studio_microphone:HAe,level_slider:VAe,control_knobs:GAe,microphone:KAe,headphones:WAe,radio:ZAe,saxophone:YAe,accordion:QAe,guitar:JAe,musical_keyboard:XAe,trumpet:e6e,violin:t6e,banjo:n6e,drum:s6e,long_drum:o6e,iphone:r6e,calling:i6e,phone:a6e,telephone:l6e,telephone_receiver:c6e,pager:u6e,fax:d6e,battery:h6e,electric_plug:f6e,computer:p6e,desktop_computer:g6e,printer:m6e,keyboard:_6e,computer_mouse:b6e,trackball:y6e,minidisc:v6e,floppy_disk:w6e,cd:x6e,dvd:k6e,abacus:E6e,movie_camera:C6e,film_strip:A6e,film_projector:S6e,clapper:T6e,tv:M6e,camera:O6e,camera_flash:R6e,video_camera:N6e,vhs:D6e,mag:L6e,mag_right:I6e,candle:P6e,bulb:F6e,flashlight:B6e,izakaya_lantern:$6e,lantern:j6e,diya_lamp:z6e,notebook_with_decorative_cover:U6e,closed_book:q6e,book:H6e,open_book:V6e,green_book:G6e,blue_book:K6e,orange_book:W6e,books:Z6e,notebook:Y6e,ledger:Q6e,page_with_curl:J6e,scroll:X6e,page_facing_up:eSe,newspaper:tSe,newspaper_roll:nSe,bookmark_tabs:sSe,bookmark:oSe,label:rSe,moneybag:iSe,coin:aSe,yen:lSe,dollar:cSe,euro:uSe,pound:dSe,money_with_wings:hSe,credit_card:fSe,receipt:pSe,chart:gSe,envelope:mSe,email:_Se,"e-mail":"📧",incoming_envelope:bSe,envelope_with_arrow:ySe,outbox_tray:vSe,inbox_tray:wSe,package:"📦",mailbox:xSe,mailbox_closed:kSe,mailbox_with_mail:ESe,mailbox_with_no_mail:CSe,postbox:ASe,ballot_box:SSe,pencil2:TSe,black_nib:MSe,fountain_pen:OSe,pen:RSe,paintbrush:NSe,crayon:DSe,memo:LSe,pencil:ISe,briefcase:PSe,file_folder:FSe,open_file_folder:BSe,card_index_dividers:$Se,date:jSe,calendar:zSe,spiral_notepad:USe,spiral_calendar:qSe,card_index:HSe,chart_with_upwards_trend:VSe,chart_with_downwards_trend:GSe,bar_chart:KSe,clipboard:WSe,pushpin:ZSe,round_pushpin:YSe,paperclip:QSe,paperclips:JSe,straight_ruler:XSe,triangular_ruler:eTe,scissors:tTe,card_file_box:nTe,file_cabinet:sTe,wastebasket:oTe,lock:rTe,unlock:iTe,lock_with_ink_pen:aTe,closed_lock_with_key:lTe,key:cTe,old_key:uTe,hammer:dTe,axe:hTe,pick:fTe,hammer_and_pick:pTe,hammer_and_wrench:gTe,dagger:mTe,crossed_swords:_Te,gun:bTe,boomerang:yTe,bow_and_arrow:vTe,shield:wTe,carpentry_saw:xTe,wrench:kTe,screwdriver:ETe,nut_and_bolt:CTe,gear:ATe,clamp:STe,balance_scale:TTe,probing_cane:MTe,link:OTe,chains:RTe,hook:NTe,toolbox:DTe,magnet:LTe,ladder:ITe,alembic:PTe,test_tube:FTe,petri_dish:BTe,dna:$Te,microscope:jTe,telescope:zTe,satellite:UTe,syringe:qTe,drop_of_blood:HTe,pill:VTe,adhesive_bandage:GTe,stethoscope:KTe,door:WTe,elevator:ZTe,mirror:YTe,window:QTe,bed:JTe,couch_and_lamp:XTe,chair:e7e,toilet:t7e,plunger:n7e,shower:s7e,bathtub:o7e,mouse_trap:r7e,razor:i7e,lotion_bottle:a7e,safety_pin:l7e,broom:c7e,basket:u7e,roll_of_paper:d7e,bucket:h7e,soap:f7e,toothbrush:p7e,sponge:g7e,fire_extinguisher:m7e,shopping_cart:_7e,smoking:b7e,coffin:y7e,headstone:v7e,funeral_urn:w7e,moyai:x7e,placard:k7e,atm:E7e,put_litter_in_its_place:C7e,potable_water:A7e,wheelchair:S7e,mens:T7e,womens:M7e,restroom:O7e,baby_symbol:R7e,wc:N7e,passport_control:D7e,customs:L7e,baggage_claim:I7e,left_luggage:P7e,warning:F7e,children_crossing:B7e,no_entry:$7e,no_entry_sign:j7e,no_bicycles:z7e,no_smoking:U7e,do_not_litter:q7e,"non-potable_water":"🚱",no_pedestrians:H7e,no_mobile_phones:V7e,underage:G7e,radioactive:K7e,biohazard:W7e,arrow_up:Z7e,arrow_upper_right:Y7e,arrow_right:Q7e,arrow_lower_right:J7e,arrow_down:X7e,arrow_lower_left:eMe,arrow_left:tMe,arrow_upper_left:nMe,arrow_up_down:sMe,left_right_arrow:oMe,leftwards_arrow_with_hook:rMe,arrow_right_hook:iMe,arrow_heading_up:aMe,arrow_heading_down:lMe,arrows_clockwise:cMe,arrows_counterclockwise:uMe,back:dMe,end:hMe,on:fMe,soon:pMe,top:gMe,place_of_worship:mMe,atom_symbol:_Me,om:bMe,star_of_david:yMe,wheel_of_dharma:vMe,yin_yang:wMe,latin_cross:xMe,orthodox_cross:kMe,star_and_crescent:EMe,peace_symbol:CMe,menorah:AMe,six_pointed_star:SMe,aries:TMe,taurus:MMe,gemini:OMe,cancer:RMe,leo:NMe,virgo:DMe,libra:LMe,scorpius:IMe,sagittarius:PMe,capricorn:FMe,aquarius:BMe,pisces:$Me,ophiuchus:jMe,twisted_rightwards_arrows:zMe,repeat:UMe,repeat_one:qMe,arrow_forward:HMe,fast_forward:VMe,next_track_button:GMe,play_or_pause_button:KMe,arrow_backward:WMe,rewind:ZMe,previous_track_button:YMe,arrow_up_small:QMe,arrow_double_up:JMe,arrow_down_small:XMe,arrow_double_down:eOe,pause_button:tOe,stop_button:nOe,record_button:sOe,eject_button:oOe,cinema:rOe,low_brightness:iOe,high_brightness:aOe,signal_strength:lOe,vibration_mode:cOe,mobile_phone_off:uOe,female_sign:dOe,male_sign:hOe,transgender_symbol:fOe,heavy_multiplication_x:pOe,heavy_plus_sign:gOe,heavy_minus_sign:mOe,heavy_division_sign:_Oe,infinity:bOe,bangbang:yOe,interrobang:vOe,question:wOe,grey_question:xOe,grey_exclamation:kOe,exclamation:EOe,heavy_exclamation_mark:COe,wavy_dash:AOe,currency_exchange:SOe,heavy_dollar_sign:TOe,medical_symbol:MOe,recycle:OOe,fleur_de_lis:ROe,trident:NOe,name_badge:DOe,beginner:LOe,o:IOe,white_check_mark:POe,ballot_box_with_check:FOe,heavy_check_mark:BOe,x:$Oe,negative_squared_cross_mark:jOe,curly_loop:zOe,loop:UOe,part_alternation_mark:qOe,eight_spoked_asterisk:HOe,eight_pointed_black_star:VOe,sparkle:GOe,copyright:KOe,registered:WOe,tm:ZOe,hash:YOe,asterisk:QOe,zero:JOe,one:XOe,two:eRe,three:tRe,four:nRe,five:sRe,six:oRe,seven:rRe,eight:iRe,nine:aRe,keycap_ten:lRe,capital_abcd:cRe,abcd:uRe,symbols:dRe,abc:hRe,a:fRe,ab:pRe,b:gRe,cl:mRe,cool:_Re,free:bRe,information_source:yRe,id:vRe,m:wRe,new:"🆕",ng:xRe,o2:kRe,ok:ERe,parking:CRe,sos:ARe,up:SRe,vs:TRe,koko:MRe,sa:ORe,ideograph_advantage:RRe,accept:NRe,congratulations:DRe,secret:LRe,u6e80:IRe,red_circle:PRe,orange_circle:FRe,yellow_circle:BRe,green_circle:$Re,large_blue_circle:jRe,purple_circle:zRe,brown_circle:URe,black_circle:qRe,white_circle:HRe,red_square:VRe,orange_square:GRe,yellow_square:KRe,green_square:WRe,blue_square:ZRe,purple_square:YRe,brown_square:QRe,black_large_square:JRe,white_large_square:XRe,black_medium_square:eNe,white_medium_square:tNe,black_medium_small_square:nNe,white_medium_small_square:sNe,black_small_square:oNe,white_small_square:rNe,large_orange_diamond:iNe,large_blue_diamond:aNe,small_orange_diamond:lNe,small_blue_diamond:cNe,small_red_triangle:uNe,small_red_triangle_down:dNe,diamond_shape_with_a_dot_inside:hNe,radio_button:fNe,white_square_button:pNe,black_square_button:gNe,checkered_flag:mNe,triangular_flag_on_post:_Ne,crossed_flags:bNe,black_flag:yNe,white_flag:vNe,rainbow_flag:wNe,transgender_flag:xNe,pirate_flag:kNe,ascension_island:ENe,andorra:CNe,united_arab_emirates:ANe,afghanistan:SNe,antigua_barbuda:TNe,anguilla:MNe,albania:ONe,armenia:RNe,angola:NNe,antarctica:DNe,argentina:LNe,american_samoa:INe,austria:PNe,australia:FNe,aruba:BNe,aland_islands:$Ne,azerbaijan:jNe,bosnia_herzegovina:zNe,barbados:UNe,bangladesh:qNe,belgium:HNe,burkina_faso:VNe,bulgaria:GNe,bahrain:KNe,burundi:WNe,benin:ZNe,st_barthelemy:YNe,bermuda:QNe,brunei:JNe,bolivia:XNe,caribbean_netherlands:eDe,brazil:tDe,bahamas:nDe,bhutan:sDe,bouvet_island:oDe,botswana:rDe,belarus:iDe,belize:aDe,canada:lDe,cocos_islands:cDe,congo_kinshasa:uDe,central_african_republic:dDe,congo_brazzaville:hDe,switzerland:fDe,cote_divoire:pDe,cook_islands:gDe,chile:mDe,cameroon:_De,cn:bDe,colombia:yDe,clipperton_island:vDe,costa_rica:wDe,cuba:xDe,cape_verde:kDe,curacao:EDe,christmas_island:CDe,cyprus:ADe,czech_republic:SDe,de:TDe,diego_garcia:MDe,djibouti:ODe,denmark:RDe,dominica:NDe,dominican_republic:DDe,algeria:LDe,ceuta_melilla:IDe,ecuador:PDe,estonia:FDe,egypt:BDe,western_sahara:$De,eritrea:jDe,es:zDe,ethiopia:UDe,eu:qDe,european_union:HDe,finland:VDe,fiji:GDe,falkland_islands:KDe,micronesia:WDe,faroe_islands:ZDe,fr:YDe,gabon:QDe,gb:JDe,uk:XDe,grenada:eLe,georgia:tLe,french_guiana:nLe,guernsey:sLe,ghana:oLe,gibraltar:rLe,greenland:iLe,gambia:aLe,guinea:lLe,guadeloupe:cLe,equatorial_guinea:uLe,greece:dLe,south_georgia_south_sandwich_islands:hLe,guatemala:fLe,guam:pLe,guinea_bissau:gLe,guyana:mLe,hong_kong:_Le,heard_mcdonald_islands:bLe,honduras:yLe,croatia:vLe,haiti:wLe,hungary:xLe,canary_islands:kLe,indonesia:ELe,ireland:CLe,israel:ALe,isle_of_man:SLe,india:TLe,british_indian_ocean_territory:MLe,iraq:OLe,iran:RLe,iceland:NLe,it:DLe,jersey:LLe,jamaica:ILe,jordan:PLe,jp:FLe,kenya:BLe,kyrgyzstan:$Le,cambodia:jLe,kiribati:zLe,comoros:ULe,st_kitts_nevis:qLe,north_korea:HLe,kr:VLe,kuwait:GLe,cayman_islands:KLe,kazakhstan:WLe,laos:ZLe,lebanon:YLe,st_lucia:QLe,liechtenstein:JLe,sri_lanka:XLe,liberia:eIe,lesotho:tIe,lithuania:nIe,luxembourg:sIe,latvia:oIe,libya:rIe,morocco:iIe,monaco:aIe,moldova:lIe,montenegro:cIe,st_martin:uIe,madagascar:dIe,marshall_islands:hIe,macedonia:fIe,mali:pIe,myanmar:gIe,mongolia:mIe,macau:_Ie,northern_mariana_islands:bIe,martinique:yIe,mauritania:vIe,montserrat:wIe,malta:xIe,mauritius:kIe,maldives:EIe,malawi:CIe,mexico:AIe,malaysia:SIe,mozambique:TIe,namibia:MIe,new_caledonia:OIe,niger:RIe,norfolk_island:NIe,nigeria:DIe,nicaragua:LIe,netherlands:IIe,norway:PIe,nepal:FIe,nauru:BIe,niue:$Ie,new_zealand:jIe,oman:zIe,panama:UIe,peru:qIe,french_polynesia:HIe,papua_new_guinea:VIe,philippines:GIe,pakistan:KIe,poland:WIe,st_pierre_miquelon:ZIe,pitcairn_islands:YIe,puerto_rico:QIe,palestinian_territories:JIe,portugal:XIe,palau:ePe,paraguay:tPe,qatar:nPe,reunion:sPe,romania:oPe,serbia:rPe,ru:iPe,rwanda:aPe,saudi_arabia:lPe,solomon_islands:cPe,seychelles:uPe,sudan:dPe,sweden:hPe,singapore:fPe,st_helena:pPe,slovenia:gPe,svalbard_jan_mayen:mPe,slovakia:_Pe,sierra_leone:bPe,san_marino:yPe,senegal:vPe,somalia:wPe,suriname:xPe,south_sudan:kPe,sao_tome_principe:EPe,el_salvador:CPe,sint_maarten:APe,syria:SPe,swaziland:TPe,tristan_da_cunha:MPe,turks_caicos_islands:OPe,chad:RPe,french_southern_territories:NPe,togo:DPe,thailand:LPe,tajikistan:IPe,tokelau:PPe,timor_leste:FPe,turkmenistan:BPe,tunisia:$Pe,tonga:jPe,tr:zPe,trinidad_tobago:UPe,tuvalu:qPe,taiwan:HPe,tanzania:VPe,ukraine:GPe,uganda:KPe,us_outlying_islands:WPe,united_nations:ZPe,us:YPe,uruguay:QPe,uzbekistan:JPe,vatican_city:XPe,st_vincent_grenadines:eFe,venezuela:tFe,british_virgin_islands:nFe,us_virgin_islands:sFe,vietnam:oFe,vanuatu:rFe,wallis_futuna:iFe,samoa:aFe,kosovo:lFe,yemen:cFe,mayotte:uFe,south_africa:dFe,zambia:hFe,zimbabwe:fFe,england:pFe,scotland:gFe,wales:mFe};var bFe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[_-1])||_+b.lengthm&&(g=new f("text","",0),g.content=d.slice(m,_),p.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],p.push(g),m=_+b.length}),m=0;f--)b=p[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&o.test(b.content)&&(_[g].children=p=i(p,f,c(b.content,b.level,h.Token)))}};function wFe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var xFe=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(d){l[d]=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 wFe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},kFe=yFe,EFe=vFe,CFe=xFe,AFe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=CFe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=kFe,e.core.ruler.after("linkify","emoji",EFe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},SFe=_Fe,TFe=bFe,MFe=AFe,OFe=function(e,n){var s={defs:SFe,shortcuts:TFe,enabled:[]},o=e.utils.assign({},s,n||{});MFe(e,o)};const RFe=is(OFe);var Dd=!1,Ns={false:"push",true:"unshift",after:"push",before:"unshift"},Mr={isPermalinkSymbol:!0};function pl(t,e,n,s){var o;if(!Dd){var r="Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks";typeof process=="object"&&process&&process.emitWarning?process.emitWarning(r):console.warn(r),Dd=!0}var i=[Object.assign(new n.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(t,n)]],Object.entries(e.permalinkAttrs(t,n)))}),Object.assign(new n.Token("html_block","",0),{content:e.permalinkSymbol,meta:Mr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Ns[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Ns[e.permalinkBefore]].apply(o,i)}function Ag(t){return"#"+t}function Sg(t){return{}}var NFe={class:"header-anchor",symbol:"#",renderHref:Ag,renderAttrs:Sg};function Fo(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},NFe),e.renderPermalinkImpl=t,e}var yi=Fo(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Ns[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Ns[e.placement]].apply(r,i)});Object.assign(yi.defaults,{space:!0,placement:"after",ariaHidden:!1});var $n=Fo(yi.renderPermalinkImpl);$n.defaults=Object.assign({},yi.defaults,{ariaHidden:!0});var Tg=Fo(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(Tg.defaults,{safariReaderFix:!1});var Ld=Fo(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var c=typeof e.space=="string"?e.space:" ";a[Ns[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Ns[e.placement]](Object.assign(new s.Token("span_open","span",1),{attrs:[["aria-hidden","true"]]}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Mr}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var d=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(d)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` +`})),s.tokens.splice(o+3+d.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+` +`})))});function Id(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function gs(t,e){e=Object.assign({},gs.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&d.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const LFe=is(DFe);function Mg(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)&&Mg(n)}),t}class Pd{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Og(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 IFe="
",Fd=t=>!!t.scope,PFe=(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 FFe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Og(e)}openNode(e){if(!Fd(e))return;const n=PFe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Fd(e)&&(this.buffer+=IFe)}value(){return this.buffer}span(e){this.buffer+=``}}const Bd=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class mc{constructor(){this.rootNode=Bd(),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=Bd({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=>{mc._collapse(n)}))}}class BFe extends mc{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 FFe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function So(t){return t?typeof t=="string"?t:t.source:null}function Rg(t){return as("(?=",t,")")}function $Fe(t){return as("(?:",t,")*")}function jFe(t){return as("(?:",t,")?")}function as(...t){return t.map(n=>So(n)).join("")}function zFe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function _c(...t){return"("+(zFe(t).capture?"":"?:")+t.map(s=>So(s)).join("|")+")"}function Ng(t){return new RegExp(t.toString()+"|").exec("").length-1}function UFe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const qFe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function bc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=So(s),i="";for(;r.length>0;){const a=qFe.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 HFe=/\b\B/,Dg="[a-zA-Z]\\w*",yc="[a-zA-Z_]\\w*",Lg="\\b\\d+(\\.\\d+)?",Ig="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Pg="\\b(0b[01]+)",VFe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",GFe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=as(e,/.*\b/,t.binary,/\b.*/)),Sn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},To={begin:"\\\\[\\s\\S]",relevance:0},KFe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[To]},WFe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[To]},ZFe={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/},vi=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=_c("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:as(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},YFe=vi("//","$"),QFe=vi("/\\*","\\*/"),JFe=vi("#","$"),XFe={scope:"number",begin:Lg,relevance:0},eBe={scope:"number",begin:Ig,relevance:0},tBe={scope:"number",begin:Pg,relevance:0},nBe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[To,{begin:/\[/,end:/\]/,relevance:0,contains:[To]}]}]},sBe={scope:"title",begin:Dg,relevance:0},oBe={scope:"title",begin:yc,relevance:0},rBe={begin:"\\.\\s*"+yc,relevance:0},iBe=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 Qo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:HFe,IDENT_RE:Dg,UNDERSCORE_IDENT_RE:yc,NUMBER_RE:Lg,C_NUMBER_RE:Ig,BINARY_NUMBER_RE:Pg,RE_STARTERS_RE:VFe,SHEBANG:GFe,BACKSLASH_ESCAPE:To,APOS_STRING_MODE:KFe,QUOTE_STRING_MODE:WFe,PHRASAL_WORDS_MODE:ZFe,COMMENT:vi,C_LINE_COMMENT_MODE:YFe,C_BLOCK_COMMENT_MODE:QFe,HASH_COMMENT_MODE:JFe,NUMBER_MODE:XFe,C_NUMBER_MODE:eBe,BINARY_NUMBER_MODE:tBe,REGEXP_MODE:nBe,TITLE_MODE:sBe,UNDERSCORE_TITLE_MODE:oBe,METHOD_GUARD:rBe,END_SAME_AS_BEGIN:iBe});function aBe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function lBe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function cBe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=aBe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function uBe(t,e){Array.isArray(t.illegal)&&(t.illegal=_c(...t.illegal))}function dBe(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 hBe(t,e){t.relevance===void 0&&(t.relevance=1)}const fBe=(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=as(n.beforeMatch,Rg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},pBe=["of","and","for","in","not","or","if","then","parent","list","value"],gBe="keyword";function Fg(t,e,n=gBe){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,Fg(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,mBe(l[0],l[1])]})}}function mBe(t,e){return e?Number(e):_Be(t)?0:1}function _Be(t){return pBe.includes(t.toLowerCase())}const $d={},Yn=t=>{console.error(t)},jd=(t,...e)=>{console.log(`WARN: ${t}`,...e)},hs=(t,e)=>{$d[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),$d[`${t}/${e}`]=!0)},Or=new Error;function Bg(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+=Ng(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function bBe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Or;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yn("beginScope must be object"),Or;Bg(t,t.begin,{key:"beginScope"}),t.begin=bc(t.begin,{joinWith:""})}}function yBe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Or;if(typeof t.endScope!="object"||t.endScope===null)throw Yn("endScope must be object"),Or;Bg(t,t.end,{key:"endScope"}),t.end=bc(t.end,{joinWith:""})}}function vBe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function wBe(t){vBe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),bBe(t),yBe(t)}function xBe(t){function e(i,a){return new RegExp(So(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+=Ng(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(bc(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),d=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,d)}}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,d])=>l.addRule(c,d)),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 d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,c=d.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;[lBe,dBe,wBe,fBe].forEach(d=>d(i,a)),t.compilerExtensions.forEach(d=>d(i,a)),i.__beforeBegin=null,[cBe,uBe,hBe].forEach(d=>d(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=Fg(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=So(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(d){return kBe(d==="self"?i:d)})),i.contains.forEach(function(d){r(d,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 $g(t){return t?t.endsWithParent||$g(t.starts):!1}function kBe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Sn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:$g(t)?Sn(t,{starts:t.starts?Sn(t.starts):null}):Object.isFrozen(t)?Sn(t):t}var EBe="11.8.0";class CBe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const ta=Og,zd=Sn,Ud=Symbol("nomatch"),ABe=7,jg=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:BFe};function l(T){return a.noHighlightRe.test(T)}function c(T){let q=T.className+" ";q+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(q);if(G){const ye=k(G[1]);return ye||(jd(r.replace("{}",G[1])),jd("Falling back to no-highlight mode for this block.",T)),ye?G[1]:"no-highlight"}return q.split(/\s+/).find(ye=>l(ye)||k(ye))}function d(T,q,G){let ye="",me="";typeof q=="object"?(ye=T,G=q.ignoreIllegals,me=q.language):(hs("10.7.0","highlight(lang, code, ...args) has been deprecated."),hs("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),me=T,ye=q),G===void 0&&(G=!0);const ee={code:ye,language:me};ce("before:highlight",ee);const xe=ee.result?ee.result:h(ee.language,ee.code,G);return xe.code=ee.code,ce("after:highlight",xe),xe}function h(T,q,G,ye){const me=Object.create(null);function ee(W,oe){return W.keywords[oe]}function xe(){if(!z.keywords){U.addText(Y);return}let W=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Y),ge="";for(;oe;){ge+=Y.substring(W,oe.index);const Se=j.case_insensitive?oe[0].toLowerCase():oe[0],Ie=ee(z,Se);if(Ie){const[He,De]=Ie;if(U.addText(ge),ge="",me[Se]=(me[Se]||0)+1,me[Se]<=ABe&&(ie+=De),He.startsWith("_"))ge+=oe[0];else{const Xe=j.classNameAliases[He]||He;J(oe[0],Xe)}}else ge+=oe[0];W=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Y)}ge+=Y.substring(W),U.addText(ge)}function Ae(){if(Y==="")return;let W=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){U.addText(Y);return}W=h(z.subLanguage,Y,!0,se[z.subLanguage]),se[z.subLanguage]=W._top}else W=g(Y,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ie+=W.relevance),U.__addSublanguage(W._emitter,W.language)}function N(){z.subLanguage!=null?Ae():xe(),Y=""}function J(W,oe){W!==""&&(U.startScope(oe),U.addText(W),U.endScope())}function V(W,oe){let ge=1;const Se=oe.length-1;for(;ge<=Se;){if(!W._emit[ge]){ge++;continue}const Ie=j.classNameAliases[W[ge]]||W[ge],He=oe[ge];Ie?J(He,Ie):(Y=He,xe(),Y=""),ge++}}function te(W,oe){return W.scope&&typeof W.scope=="string"&&U.openNode(j.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(J(Y,j.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),Y=""):W.beginScope._multi&&(V(W.beginScope,oe),Y="")),z=Object.create(W,{parent:{value:z}}),z}function X(W,oe,ge){let Se=UFe(W.endRe,ge);if(Se){if(W["on:end"]){const Ie=new Pd(W);W["on:end"](oe,Ie),Ie.isMatchIgnored&&(Se=!1)}if(Se){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return X(W.parent,oe,ge)}function pe(W){return z.matcher.regexIndex===0?(Y+=W[0],1):(Ee=!0,0)}function ue(W){const oe=W[0],ge=W.rule,Se=new Pd(ge),Ie=[ge.__beforeBegin,ge["on:begin"]];for(const He of Ie)if(He&&(He(W,Se),Se.isMatchIgnored))return pe(oe);return ge.skip?Y+=oe:(ge.excludeBegin&&(Y+=oe),N(),!ge.returnBegin&&!ge.excludeBegin&&(Y=oe)),te(ge,W),ge.returnBegin?0:oe.length}function w(W){const oe=W[0],ge=q.substring(W.index),Se=X(z,W,ge);if(!Se)return Ud;const Ie=z;z.endScope&&z.endScope._wrap?(N(),J(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),V(z.endScope,W)):Ie.skip?Y+=oe:(Ie.returnEnd||Ie.excludeEnd||(Y+=oe),N(),Ie.excludeEnd&&(Y=oe));do z.scope&&U.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==Se.parent);return Se.starts&&te(Se.starts,W),Ie.returnEnd?0:oe.length}function C(){const W=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&W.unshift(oe.scope);W.forEach(oe=>U.openNode(oe))}let P={};function $(W,oe){const ge=oe&&oe[0];if(Y+=W,ge==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&ge===""){if(Y+=q.slice(oe.index,oe.index+1),!o){const Se=new Error(`0 width match regex (${T})`);throw Se.languageName=T,Se.badRule=P.rule,Se}return 1}if(P=oe,oe.type==="begin")return ue(oe);if(oe.type==="illegal"&&!G){const Se=new Error('Illegal lexeme "'+ge+'" for mode "'+(z.scope||"")+'"');throw Se.mode=z,Se}else if(oe.type==="end"){const Se=w(oe);if(Se!==Ud)return Se}if(oe.type==="illegal"&&ge==="")return 1;if(de>1e5&&de>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=ge,ge.length}const j=k(T);if(!j)throw Yn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ne=xBe(j);let re="",z=ye||ne;const se={},U=new a.__emitter(a);C();let Y="",ie=0,he=0,de=0,Ee=!1;try{if(j.__emitTokens)j.__emitTokens(q,U);else{for(z.matcher.considerAll();;){de++,Ee?Ee=!1:z.matcher.considerAll(),z.matcher.lastIndex=he;const W=z.matcher.exec(q);if(!W)break;const oe=q.substring(he,W.index),ge=$(oe,W);he=W.index+ge}$(q.substring(he))}return U.finalize(),re=U.toHTML(),{language:T,value:re,relevance:ie,illegal:!1,_emitter:U,_top:z}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:ta(q),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:he,context:q.slice(he-100,he+100),mode:W.mode,resultSoFar:re},_emitter:U};if(o)return{language:T,value:ta(q),illegal:!1,relevance:0,errorRaised:W,_emitter:U,_top:z};throw W}}function f(T){const q={value:ta(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(T),q}function g(T,q){q=q||a.languages||Object.keys(e);const G=f(T),ye=q.filter(k).filter(L).map(N=>h(N,T,!1));ye.unshift(G);const me=ye.sort((N,J)=>{if(N.relevance!==J.relevance)return J.relevance-N.relevance;if(N.language&&J.language){if(k(N.language).supersetOf===J.language)return 1;if(k(J.language).supersetOf===N.language)return-1}return 0}),[ee,xe]=me,Ae=ee;return Ae.secondBest=xe,Ae}function m(T,q,G){const ye=q&&n[q]||G;T.classList.add("hljs"),T.classList.add(`language-${ye}`)}function p(T){let q=null;const G=c(T);if(l(G))return;if(ce("before:highlightElement",{el:T,language:G}),T.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(T)),a.throwUnescapedHTML))throw new CBe("One of your code blocks includes unescaped HTML.",T.innerHTML);q=T;const ye=q.textContent,me=G?d(ye,{language:G,ignoreIllegals:!0}):g(ye);T.innerHTML=me.value,m(T,G,me.language),T.result={language:me.language,re:me.relevance,relevance:me.relevance},me.secondBest&&(T.secondBest={language:me.secondBest.language,relevance:me.secondBest.relevance}),ce("after:highlightElement",{el:T,result:me,text:ye})}function b(T){a=zd(a,T)}const _=()=>{A(),hs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){A(),hs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function A(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(p)}function R(){x&&A()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function O(T,q){let G=null;try{G=q(t)}catch(ye){if(Yn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Yn(ye);else throw ye;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=q.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const q of Object.keys(n))n[q]===T&&delete n[q]}function v(){return Object.keys(e)}function k(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:q}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=q})}function L(T){const q=k(T);return q&&!q.disableAutodetect}function F(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=q=>{T["before:highlightBlock"](Object.assign({block:q.el},q))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=q=>{T["after:highlightBlock"](Object.assign({block:q.el},q))})}function Q(T){F(T),s.push(T)}function I(T){const q=s.indexOf(T);q!==-1&&s.splice(q,1)}function ce(T,q){const G=T;s.forEach(function(ye){ye[G]&&ye[G](q)})}function Z(T){return hs("10.7.0","highlightBlock will be removed entirely in v12.0"),hs("10.7.0","Please use highlightElement now."),p(T)}Object.assign(t,{highlight:d,highlightAuto:g,highlightAll:A,highlightElement:p,highlightBlock:Z,configure:b,initHighlighting:_,initHighlightingOnLoad:y,registerLanguage:O,unregisterLanguage:D,listLanguages:v,getLanguage:k,registerAliases:M,autoDetection:L,inherit:zd,addPlugin:Q,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=EBe,t.regex={concat:as,lookahead:Rg,either:_c,optional:jFe,anyNumberOfTimes:$Fe};for(const T in Qo)typeof Qo[T]=="object"&&Mg(Qo[T]);return Object.assign(t,Qo),t},Ds=jg({});Ds.newInstance=()=>jg({});var SBe=Ds;Ds.HighlightJS=Ds;Ds.default=Ds;var na,qd;function TBe(){if(qd)return na;qd=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),d={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:[i,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:d}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return na=t,na}var sa,Hd;function MBe(){if(Hd)return sa;Hd=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],p=["true","false"],b={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:p,built_in:[..._,...y,"set","shopt",...x,...A]},contains:[f,e.SHEBANG(),g,d,e.HASH_COMMENT_MODE,i,b,a,l,c,s]}}return sa=t,sa}var oa,Vd;function OBe(){if(Vd)return oa;Vd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},e.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},y=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,d],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:y.concat([{begin:/\(/,end:/\)/,keywords:_,contains:y.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,d,h,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,d,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:d,keywords:_}}}return oa=t,oa}var ra,Gd;function RBe(){if(Gd)return ra;Gd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={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},e.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",p=["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"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["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"],R={type:b,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},O={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,d],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,d,h,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,d,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"",keywords:R,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return ra=t,ra}var ia,Kd;function NBe(){if(Kd)return ia;Kd=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["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"],i=["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"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={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},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(d,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},p={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},b=e.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});f.contains=[p,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[b,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[p,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,y,e.C_LINE_COMMENT_MODE,e.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:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A]}}return ia=t,ia}var aa,Wd;function DBe(){if(Wd)return aa;Wd=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.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:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.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_-]*/}}),e=["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"],n=["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"],s=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["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 i(a){const l=a.regex,c=t(a),d={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,d,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return aa=i,aa}var la,Zd;function LBe(){if(Zd)return la;Zd=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={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}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),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}]},d={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(d,{contains:[]}),g=e.inherit(h,{contains:[]});d.contains.push(g),h.contains.push(f);let m=[s,c];return[d,h,f,g].forEach(_=>{_.contains=_.contains.concat(m)}),m=m.concat(d,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,d,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,c,a]}}return la=t,la}var ca,Yd;function IBe(){if(Yd)return ca;Yd=1;function t(e){const n=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:n.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:n.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return ca=t,ca}var ua,Qd;function PBe(){if(Qd)return ua;Qd=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"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"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},d=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],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:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|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"}]},b={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],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(c,d),relevance:0}].concat(c,d);h.contains=D,b.contains=D;const v="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+v+"|"+k+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return d.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(d).concat(D)}}return ua=t,ua}var da,Jd;function FBe(){if(Jd)return da;Jd=1;function t(e){const i={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:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={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"]},p={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[b,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[p,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,p]}}return pa=r,pa}var ga,nh;function zBe(){if(nh)return ga;nh=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(c){const d=c.regex,h=(V,{after:te})=>{const X="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,te)=>{const X=V[0].length+V.index,pe=V.input[X];if(pe==="<"||pe===","){te.ignoreMatch();return}pe===">"&&(h(V,{after:X})||te.ignoreMatch());let ue;const w=V.input.substring(X);if(ue=w.match(/^\s*=/)){te.ignoreMatch();return}if((ue=w.match(/^\s+extends\s+/))&&ue.index===0){te.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",y=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${x})((${y})|\\.)?|(${y}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${y})\\b|\\.)?|(${y})\\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},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,R]},L={className:"comment",variants:[c.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:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},F=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,O,D,v,k,{match:/\$\d+/},A];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(F)});const Q=[].concat(L,R.contains),I=Q.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(Q)}]),ce={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:I},Z={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,d.concat(f,"(",d.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:d.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:{_:[...s,...o]}},q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ce],illegal:/%/},ye={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function me(V){return d.concat("(?!",V.join("|"),")")}const ee={match:d.concat(/\b/,me([...r,"super","import"]),f,d.lookahead(/\(/)),className:"title.function",relevance:0},xe={begin:d.concat(/\./,d.lookahead(d.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ae={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ce]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ce]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,O,D,v,k,L,{match:/\$\d+/},A,T,{className:"attr",begin:f+d.lookahead(":"),relevance:0},J,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,c.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ce,c.inherit(c.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},xe,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ce]},ee,ye,Z,Ae,{match:/\$[(.]/}]}}return ga=l,ga}var ma,sh;function UBe(){if(sh)return ma;sh=1;function t(e){const n={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],r={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",keywords:{literal:o},contains:[n,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return ma=t,ma}var _a,oh;function qBe(){if(oh)return _a;oh=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,c]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,d,c]}]};c.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},m=s,p=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=b;return _.variants[1].contains=[b],b.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,p,a,l,f,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,r.C_LINE_COMMENT_MODE,p],relevance:0},r.C_LINE_COMMENT_MODE,p,f,g,h,r.C_NUMBER_MODE]},p]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},m]}}return _a=o,_a}var ba,rh;function HBe(){if(rh)return ba;rh=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.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:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.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_-]*/}}),e=["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"],n=["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"],s=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["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(),i=s.concat(o);function a(l){const c=t(l),d=i,h="and or not only",f="[\\w-]+",g="("+f+"|@\\{"+f+"\\})",m=[],p=[],b=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Q){return{className:L,begin:F,relevance:Q}},y={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:p,keywords:y,relevance:0};p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,b("'"),b('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+f,10),_("variable","@\\{"+f+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const A=p.concat({begin:/\{/,end:/\}/,contains:m}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(p)},O={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:p}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:p,relevance:0}},v={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:A}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,R,_("keyword","all\\b"),_("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,_("selector-tag",g,0),_("selector-id","#"+g),_("selector-class","\\."+g,0),_("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:A},{begin:"!important"},c.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${d.join("|")})`,returnBegin:!0,contains:[k]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,v,M,O,k,R,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return ba=a,ba}var ya,ih;function VBe(){if(ih)return ya;ih=1;function t(e){const n="\\[=*\\[",s="\\]=*\\]",o={begin:n,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,s,{contains:[o],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:s,contains:[o],relevance:5}])}}return ya=t,ya}var va,ah;function GBe(){if(ah)return va;ah=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,i,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,p,b="\\1")=>{const _=b==="\\1"?b:n.concat(b,p);return n.concat(n.concat("(?:",m,")"),p,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,b,o)},f=(m,p,b)=>n.concat(n.concat("(?:",m,")"),p,/(?:\\.|[^\\\/])*?/,b,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",n.either(...d,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...d,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return wa=t,wa}var xa,ch;function WBe(){if(ch)return xa;ch=1;function t(e){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},c={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return xa=t,xa}var ka,uh;function ZBe(){if(uh)return ka;uh=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,ce)=>{ce.data._beginMatch=I[1]||I[2]},"on:end":(I,ce)=>{ce.data._beginMatch!==I[1]&&ce.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ +]`,m={scope:"string",variants:[d,c,h,f]},p={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},b=["false","null","true"],_=["__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"],A={keyword:_,literal:(I=>{const ce=[];return I.forEach(Z=>{ce.push(Z),Z.toLowerCase()===Z?ce.push(Z.toUpperCase()):ce.push(Z.toLowerCase())}),ce})(b),built_in:y},R=I=>I.map(ce=>ce.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),v={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[k,i,v,e.C_BLOCK_COMMENT_MODE,m,p,O]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(_).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(L);const F=[k,v,e.C_BLOCK_COMMENT_MODE,m,p,O],Q={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:b,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:b,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:A,contains:[Q,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,L,v,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",i,v,e.C_BLOCK_COMMENT_MODE,m,p]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,p]}}return ka=t,ka}var Ea,dh;function YBe(){if(dh)return Ea;dh=1;function t(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Ea=t,Ea}var Ca,hh;function QBe(){if(hh)return Ca;hh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ca=t,Ca}var Aa,fh;function JBe(){if(fh)return Aa;fh=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["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"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,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"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},d={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,h,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,h,d]},{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:[e.BACKSLASH_ESCAPE,h,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,d]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,p=`\\b|${o.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${p})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${p})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${p})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`},{begin:`\\b(${g})[jJ](?=${p})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,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:l,contains:["self",c,b,f,e.HASH_COMMENT_MODE]}]};return d.contains=[f,b,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,y,f]}]}}return Aa=t,Aa}var Sa,ph;function XBe(){if(ph)return Sa;ph=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Sa=t,Sa}var Ta,gh;function e$e(){if(gh)return Ta;gh=1;function t(e){const n=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=n.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,i=n.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:n.lookahead(n.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,o]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,o]},{scope:{1:"punctuation",2:"number"},match:[i,o]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,o]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:i},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Ta=t,Ta}var Ma,mh;function t$e(){if(mh)return Ma;mh=1;function t(e){const n=e.regex,s={className:"title.function.invoke",relevance:0,begin:n.concat(/\b/,/(?!let\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",r=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],i=["true","false","Some","None","Ok","Err"],a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:r,literal:i,built_in:a},illegal:""},s]}}return Ma=t,Ma}var Oa,_h;function n$e(){if(_h)return Oa;_h=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.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:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.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_-]*/}}),e=["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"],n=["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"],s=["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"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["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 i(a){const l=t(a),c=o,d=s,h="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,m,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Oa=i,Oa}var Ra,bh;function s$e(){if(bh)return Ra;bh=1;function t(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return Ra=t,Ra}var Na,yh;function o$e(){if(yh)return Na;yh=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["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"],c=["add","asc","collation","desc","final","first","last","view"],d=["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"],h=["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"],g=["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"],m=h,p=[...d,...c].filter(A=>!h.includes(A)),b={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(A,{exceptions:R,when:O}={}){const D=O;return R=R||[],A.map(v=>v.match(/\|\d+$/)||R.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(p,{when:A=>A.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:p.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},y,b,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Na=t,Na}var Da,vh;function r$e(){if(vh)return Da;vh=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(M=>t(M)).join("")}function s(v){const k=v[v.length-1];return typeof k=="object"&&k.constructor===Object?(v.splice(v.length-1,1),k):{}}function o(...v){return"("+(s(v).capture?"":"?:")+v.map(L=>t(L)).join("|")+")"}const r=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],c=["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"],d=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["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"],m=o(/[/=\-+!*%<>&|^~?]/,/[\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]/),p=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=n(m,p,"*"),_=o(/[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]/),y=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,y,"*"),A=n(/[A-Z]/,y,"*"),R=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(v){const k={match:/\s+/,relevance:0},M=v.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[v.C_LINE_COMMENT_MODE,M],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Q={match:n(/\./,o(...c)),relevance:0},I=c.filter(De=>typeof De=="string").concat(["_|0"]),ce=c.filter(De=>typeof De!="string").concat(l).map(r),Z={variants:[{className:"keyword",match:o(...ce,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(f),literal:d},q=[F,Q,Z],G={match:n(/\./,o(...g)),relevance:0},ye={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},me=[G,ye],ee={match:/->/,relevance:0},xe={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${p})+`}]},Ae=[ee,xe],N="([0-9]_*)+",J="([0-9a-fA-F]_*)+",V={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${J})(\\.(${J}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(De="")=>({className:"subst",variants:[{match:n(/\\/,De,/[0\\tnr"']/)},{match:n(/\\/,De,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(De="")=>({className:"subst",match:n(/\\/,De,/[\t ]*(?:[\r\n]|\r\n)/)}),pe=(De="")=>({className:"subst",label:"interpol",begin:n(/\\/,De,/\(/),end:/\)/}),ue=(De="")=>({begin:n(De,/"""/),end:n(/"""/,De),contains:[te(De),X(De),pe(De)]}),w=(De="")=>({begin:n(De,/"/),end:n(/"/,De),contains:[te(De),pe(De)]}),C={className:"string",variants:[ue(),ue("#"),ue("##"),ue("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${y}+`},ne=[P,$,j],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Ae,V,C]}]}},z={className:"keyword",match:n(/@/,o(...R))},se={className:"meta",match:n(/@/,x)},U=[re,z,se],Y={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,y,"+")},{className:"type",match:A,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(A)),relevance:0}]},ie={begin://,keywords:T,contains:[...L,...q,...U,ee,Y]};Y.contains.push(ie);const he={match:n(x,/\s*:/),keywords:"_|0",relevance:0},de={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",he,...L,...q,...me,...Ae,V,C,...ne,...U,Y]},Ee={begin://,contains:[...L,Y]},W={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},oe={begin:/\(/,end:/\)/,keywords:T,contains:[W,...L,...q,...Ae,V,C,...U,Y,de],endsParent:!0,illegal:/["']/},ge={match:[/func/,/\s+/,o(P.match,x,b)],className:{1:"keyword",3:"title.function"},contains:[Ee,oe,k],illegal:[/\[/,/%/]},Se={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ee,oe,k],illegal:/\[|%/},Ie={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},He={begin:[/precedencegroup/,/\s+/,A],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...h,...d],end:/}/};for(const De of C.variants){const Xe=De.contains.find(at=>at.label==="interpol");Xe.keywords=T;const tt=[...q,...me,...Ae,V,C,...ne];Xe.contains=[...tt,{begin:/\(/,end:/\)/,contains:["self",...tt]}]}return{name:"Swift",keywords:T,contains:[...L,ge,Se,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Ie,He,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,...me,...Ae,V,C,...ne,...U,Y,de]}}return Da=D,Da}var La,wh;function i$e(){if(wh)return La;wh=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",d="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+c+d+h+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},b=[o,{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+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,p,i],_=[...b];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}return La=t,La}var Ia,xh;function a$e(){if(xh)return Ia;xh=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],n=["true","false","null","undefined","NaN","Infinity"],s=["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"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(d){const h=d.regex,f=(te,{after:X})=>{const pe="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const pe=te[0].length+te.index,ue=te.input[pe];if(ue==="<"||ue===","){X.ignoreMatch();return}ue===">"&&(f(te,{after:pe})||X.ignoreMatch());let w;const C=te.input.substring(pe);if(w=C.match(/^\s*=/)){X.ignoreMatch();return}if((w=C.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},y="[0-9](_?[0-9])*",x=`\\.(${y})`,A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${A})((${x})|\\.)?|(${x}))[eE][+-]?(${y})\\b`},{begin:`\\b(${A})\\b((${x})\\b|\\.)?|(${x})\\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},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,O],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,O]},F={className:"comment",variants:[d.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:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},Q=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,D,v,k,M,{match:/\$\d+/},R];O.contains=Q.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Q)});const I=[].concat(F,O.contains),ce=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ce},T={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,h.concat(g,"(",h.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:h.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:{_:[...s,...o]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ye={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Z],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return h.concat("(?!",te.join("|"),")")}const xe={match:h.concat(/\b/,ee([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Ae={begin:h.concat(/\./,h.lookahead(h.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Z]},J="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",V={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(J)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:ce,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,D,v,k,M,F,{match:/\$\d+/},R,q,{className:"attr",begin:g+h.lookahead(":"),relevance:0},V,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,d.REGEXP_MODE,{className:"function",begin:J,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ce}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:p},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},ye,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Z,d.inherit(d.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ae,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Z]},xe,me,T,N,{match:/\$[(.]/}]}}function c(d){const h=l(d),f=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},p={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[h.exports.CLASS_REFERENCE]},b={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},A=(O,D,v)=>{const k=O.contains.findIndex(M=>M.label===D);if(k===-1)throw new Error("can not find mode to replace");O.contains.splice(k,1,v)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,p]),A(h,"shebang",d.SHEBANG()),A(h,"use_strict",b);const R=h.contains.find(O=>O.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Ia=c,Ia}var Pa,kh;function l$e(){if(kh)return Pa;kh=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},d={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,c,d,h,f,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Pa=t,Pa}var Fa,Eh;function c$e(){if(Eh)return Fa;Eh=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},d={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,c,d,l]}}return Fa=t,Fa}var Re=SBe;Re.registerLanguage("xml",TBe());Re.registerLanguage("bash",MBe());Re.registerLanguage("c",OBe());Re.registerLanguage("cpp",RBe());Re.registerLanguage("csharp",NBe());Re.registerLanguage("css",DBe());Re.registerLanguage("markdown",LBe());Re.registerLanguage("diff",IBe());Re.registerLanguage("ruby",PBe());Re.registerLanguage("go",FBe());Re.registerLanguage("graphql",BBe());Re.registerLanguage("ini",$Be());Re.registerLanguage("java",jBe());Re.registerLanguage("javascript",zBe());Re.registerLanguage("json",UBe());Re.registerLanguage("kotlin",qBe());Re.registerLanguage("less",HBe());Re.registerLanguage("lua",VBe());Re.registerLanguage("makefile",GBe());Re.registerLanguage("perl",KBe());Re.registerLanguage("objectivec",WBe());Re.registerLanguage("php",ZBe());Re.registerLanguage("php-template",YBe());Re.registerLanguage("plaintext",QBe());Re.registerLanguage("python",JBe());Re.registerLanguage("python-repl",XBe());Re.registerLanguage("r",e$e());Re.registerLanguage("rust",t$e());Re.registerLanguage("scss",n$e());Re.registerLanguage("shell",s$e());Re.registerLanguage("sql",o$e());Re.registerLanguage("swift",r$e());Re.registerLanguage("yaml",i$e());Re.registerLanguage("typescript",a$e());Re.registerLanguage("vbnet",l$e());Re.registerLanguage("wasm",c$e());Re.HighlightJS=Re;Re.default=Re;var u$e=Re;const co=is(u$e);var Nn={};Nn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",d="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g=s+1:d.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))}};Nn.removeDelimiter=function(t,e){const n=gl(e.leftDelimiter),s=gl(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function gl(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Nn.escapeRegExp=gl;Nn.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 d$e=/[&<>"]/,h$e=/[&<>"]/g,f$e={"&":"&","<":"<",">":">",'"':"""};function p$e(t){return f$e[t]}Nn.escapeHtml=function(t){return d$e.test(t)?t.replace(h$e,p$e):t};const Ne=Nn;var g$e=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ne.escapeRegExp(t.leftDelimiter)+"[^"+Ne.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ne.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Ne.getAttrs(o.info,r,t);Ne.addAttrs(i,o),o.info=Ne.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:Ne.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=Ne.getAttrs(r.content,0,t);Ne.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:Ne.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Ne.getMatchingOpeningToken(n,s),i=Ne.getAttrs(o.content,0,t);Ne.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:Ne.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,0,t),l=Ne.getMatchingOpeningToken(n[s].children,o-1);Ne.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:Ne.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Ne.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--;Ne.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:Ne.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Ne.getAttrs(r,0,t),a=Ne.getMatchingOpeningToken(n,s);Ne.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:Ne.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Ne.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Ch(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:Ne.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Ne.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Ne.getMatchingOpeningToken(n,a);Ne.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=Ne.getAttrs(r,i,t);Ne.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ne.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=Ne.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Ne.getMatchingOpeningToken(n,l);Ne.addAttrs(a,c);const d=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=Ch(d)!==" "?d:d.slice(0,-1)}}]};function Ch(t){return t.slice(-1)[0]}const m$e=g$e,_$e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var b$e=function(e,n){let s=Object.assign({},_$e);s=Object.assign(s,n);const o=m$e(s);function r(i){const a=i.tokens;for(let l=0;l{const m=ml(a,l,g);return m.j!==null&&(h=m.j),m.match})&&(d.transform(a,l,h),(d.name==="inline attributes"||d.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ml(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=w$e(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"&&y$e(n.children)){if(r.children.length===0)return s;let a;const l=n.children,c=r.children;if(l.every(d=>d.position!==void 0)){if(a=l.every(d=>ml(c,d.position,d).match),a){const d=x$e(l).position;s.j=d>=0?d:c.length+d}}else for(let d=0;dml(c,d,h).match),a){s.j=d;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(v$e(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 y$e(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function v$e(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function w$e(t,e){return e>=0?t[e]:t[t.length+e]}function x$e(t){return t.slice(-1)[0]||{}}const k$e=is(b$e);function E$e(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Mo=new Sfe("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=E$e();if(e&&co.getLanguage(e))try{const o=co.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+co.highlightAuto(t).value+"
"},bulletListMarker:"•"}).use(k$e).use(gs).use(LFe).use(RFe);co.configure({languages:[]});co.configure({languages:["javascript"]});Mo.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 zg=(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)};Mo.renderer.rules.bullet_list_open=zg;Mo.renderer.rules.ordered_list_open=zg;const C$e={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 function copyContentToClipboard(id) { console.log("copied"); @@ -118,19 +118,21 @@ https://github.com/highlightjs/highlight.js/issues/2277`),me=T,ye=q),G===void 0& document.execCommand('copy'); window.getSelection().removeAllRanges(); } - `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Mo.render(this.markdownText),_e(()=>{ve.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Mo.render(t),_e(()=>{ve.replace()})}}},x$e={class:"break-all"},k$e=["innerHTML"];function E$e(t,e,n,s,o,r){return E(),S("div",x$e,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,k$e)])}const C$e=qe(w$e,[["render",E$e]]),A$e={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0}}},S$e={class:"step flex items-center mb-4"},T$e={class:"flex items-center justify-center w-6 h-6 mr-2"},M$e={key:0},O$e=d("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),R$e=[O$e],N$e={key:1},D$e=d("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),L$e=[D$e],I$e={key:0,role:"status"},P$e=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),F$e=[P$e];function B$e(t,e,n,s,o,r){return E(),S("div",S$e,[d("div",T$e,[n.done?B("",!0):(E(),S("div",M$e,R$e)),n.done?(E(),S("div",N$e,L$e)):B("",!0)]),n.done?B("",!0):(E(),S("div",I$e,F$e)),d("div",{class:Te(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},V(n.message),3)])}const $$e=qe(A$e,[["render",B$e]]);const j$e="/",z$e={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:C$e,Step:$$e},props:{message:Object,avatar:""},data(){return{msg:null,isVoiceActive:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),_e(()=>{ve.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isVoiceActive=!1;return}let t=0;console.log("voice on"),this.isVoiceActive=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?"];let a=-1;return i.forEach(l=>{const c=r.lastIndexOf(l);c>a&&(a=c)}),a+o},s=()=>{const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isVoiceActive=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},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.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?j$e+this.avatar:Jn},defaultImg(t){t.target.src=Jn},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"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isVoiceActive||this.checkForFullSentence())},showConfirmation(){_e(()=>{ve.replace()})},editMsgMode(t){_e(()=>{ve.replace()})},deleteMsgMode(){_e(()=>{ve.replace()})}},computed:{isTalking:{get(){return this.isVoiceActive}},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"}}},U$e={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"},q$e={class:"flex flex-row gap-2"},H$e={class:"flex-shrink-0"},V$e={class:"group/avatar"},G$e=["src","data-popover-target"],K$e={class:"flex flex-col w-full flex-grow-0"},W$e={class:"flex flex-row flex-grow items-start"},Z$e={class:"flex flex-col mb-2"},Y$e={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},Q$e=["title"],J$e=d("div",{class:"flex-grow"},null,-1),X$e={class:"flex-row justify-end mx-2"},eje={class:"invisible group-hover:visible flex flex-row"},tje={key:0,class:"flex items-center duration-75"},nje=d("i",{"data-feather":"x"},null,-1),sje=[nje],oje=d("i",{"data-feather":"check"},null,-1),rje=[oje],ije=d("i",{"data-feather":"edit"},null,-1),aje=[ije],lje=d("i",{"data-feather":"copy"},null,-1),cje=[lje],uje=d("i",{"data-feather":"refresh-cw"},null,-1),dje=[uje],hje=d("i",{"data-feather":"fast-forward"},null,-1),fje=[hje],pje={key:4,class:"flex items-center duration-75"},gje=d("i",{"data-feather":"x"},null,-1),mje=[gje],_je=d("i",{"data-feather":"check"},null,-1),bje=[_je],yje=d("i",{"data-feather":"trash"},null,-1),vje=[yje],wje=d("i",{"data-feather":"thumbs-up"},null,-1),xje=[wje],kje={class:"flex flex-row items-center"},Eje=d("i",{"data-feather":"thumbs-down"},null,-1),Cje=[Eje],Aje={class:"flex flex-row items-center"},Sje=d("i",{"data-feather":"volume-2"},null,-1),Tje=[Sje],Mje={class:"overflow-x-auto w-full"},Oje={class:"flex flex-col items-start w-full"},Rje={class:"text-sm text-gray-400 mt-2"},Nje={class:"flex flex-row items-center gap-2"},Dje={key:0},Lje={class:"font-thin"},Ije={key:1},Pje={class:"font-thin"},Fje={key:2},Bje={class:"font-thin"},$je={key:3},jje=["title"];function zje(t,e,n,s,o,r){const i=Ye("Step"),a=Ye("MarkdownRenderer");return E(),S("div",U$e,[d("div",q$e,[d("div",H$e,[d("div",V$e,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=l=>r.defaultImg(l)),"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,G$e)])]),d("div",K$e,[d("div",W$e,[d("div",Z$e,[d("div",Y$e,V(n.message.sender)+" ",1),n.message.created_at?(E(),S("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},V(r.created_at),9,Q$e)):B("",!0)]),J$e,d("div",X$e,[d("div",eje,[o.editMsgMode?(E(),S("div",tje,[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]=ae(l=>o.editMsgMode=!1,["stop"]))},sje),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]=ae((...l)=>r.updateMessage&&r.updateMessage(...l),["stop"]))},rje)])):B("",!0),o.editMsgMode?B("",!0):(E(),S("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ae(l=>o.editMsgMode=!0,["stop"]))},aje)),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]=ae(l=>r.copyContentToClipboard(),["stop"]))},cje),n.message.sender!=this.$store.state.mountedPers.name?(E(),S("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ae(l=>r.resendMessage(),["stop"]))},dje)):B("",!0),n.message.sender==this.$store.state.mountedPers.name?(E(),S("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=ae(l=>r.continueMessage(),["stop"]))},fje)):B("",!0),o.deleteMsgMode?(E(),S("div",pje,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=ae(l=>o.deleteMsgMode=!1,["stop"]))},mje),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=ae(l=>r.deleteMsg(),["stop"]))},bje)])):B("",!0),o.deleteMsgMode?B("",!0):(E(),S("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=l=>o.deleteMsgMode=!0)},vje)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=ae(l=>r.rankUp(),["stop"]))},xje),d("div",kje,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=ae(l=>r.rankDown(),["stop"]))},Cje),n.message.rank!=0?(E(),S("div",{key:0,class:Te(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},V(n.message.rank),3)):B("",!0)]),d("div",Aje,[d("div",{class:Te(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=ae(l=>r.speak(),["stop"]))},Tje,2)])])])]),d("div",Mje,[d("div",Oje,[(E(!0),S(Me,null,We(n.message.steps,(l,c)=>(E(),S("div",{key:"step-"+n.message.id+"-"+c,class:"step font-bold",style:Ct({backgroundColor:l.done?"transparent":"inherit"})},[ge(i,{done:l.done,message:l.message},null,8,["done","message"])],4))),128))]),o.editMsgMode?B("",!0):(E(),nt(a,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?we((E(),S("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:Ct({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=l=>this.message.content=l)},null,4)),[[Ge,this.message.content]]):B("",!0)]),d("div",Rje,[d("div",Nje,[n.message.binding?(E(),S("p",Dje,[be("Binding: "),d("span",Lje,V(n.message.binding),1)])):B("",!0),n.message.model?(E(),S("p",Ije,[be("Model: "),d("span",Pje,V(n.message.model),1)])):B("",!0),n.message.seed?(E(),S("p",Fje,[be("Seed: "),d("span",Bje,V(n.message.seed),1)])):B("",!0),r.time_spent?(E(),S("p",$je,[be("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},V(r.time_spent),9,jje)])):B("",!0)])])])])])}const Ug=qe(z$e,[["render",zje]]),Uje="/";Ee.defaults.baseURL="/";const qje={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},data(){return{bUrl:Uje,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){for(_e(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await Ee.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn}}},Hje={class:"w-fit select-none"},Vje={key:0,class:"flex -space-x-4"},Gje=["src","title"],Kje={key:1,class:"flex -space-x-4"},Wje=["src","title"],Zje={key:2,title:"Loading personalities"},Yje=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),Qje=[Yje];function Jje(t,e,n,s,o,r){return E(),S("div",Hje,[r.mountedPersArr.length>1?(E(),S("div",Vje,[d("img",{src:o.bUrl+r.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: "+r.mountedPers.name},null,40,Gje),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]=ae((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+V(r.mountedPersArr.length-1),1)])):B("",!0),r.mountedPersArr.length==1?(E(),S("div",Kje,[d("img",{src:o.bUrl+this.$store.state.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: "+this.$store.state.mountedPers.name,onClick:e[3]||(e[3]=ae((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,Wje)])):B("",!0),r.mountedPersArr.length==0?(E(),S("div",Zje,Qje)):B("",!0)])}const Xje=qe(qje,[["render",Jje]]);const eze="/";Ee.defaults.baseURL="/";const tze={props:{onTalk:Function,onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Bp,Toast:li,UniversalForm:tg},name:"MountedPersonalitiesList",data(){return{bUrl:eze,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){this.onMountUnmount(this)},async constructor(){},async api_get_req(t){try{const e=await Ee.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,Ee.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality + `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Mo.render(this.markdownText),_e(()=>{ve.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Mo.render(t),_e(()=>{ve.replace()})}}},A$e={class:"break-all"},S$e=["innerHTML"];function T$e(t,e,n,s,o,r){return E(),S("div",A$e,[u("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,S$e)])}const M$e=qe(C$e,[["render",T$e]]),O$e={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0},status:{type:Boolean,required:!0}}},R$e={class:"step flex items-center mb-4"},N$e={class:"flex items-center justify-center w-6 h-6 mr-2"},D$e={key:0},L$e=u("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),I$e=[L$e],P$e={key:1},F$e=u("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),B$e=[F$e],$$e={key:2},j$e=u("i",{"data-feather":"x-square",class:"text-red-500 w-4 h-4"},null,-1),z$e=[j$e],U$e={key:0,role:"status"},q$e=u("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"},[u("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"}),u("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),H$e=[q$e];function V$e(t,e,n,s,o,r){return E(),S("div",R$e,[u("div",N$e,[n.done?B("",!0):(E(),S("div",D$e,I$e)),n.done&&n.status?(E(),S("div",P$e,B$e)):B("",!0),n.done&&!n.status?(E(),S("div",$$e,z$e)):B("",!0)]),n.done?B("",!0):(E(),S("div",U$e,H$e)),u("div",{class:Te(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},H(n.message),3)])}const G$e=qe(O$e,[["render",V$e]]);const K$e="/",W$e={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:M$e,Step:G$e},props:{message:Object,avatar:""},data(){return{msg:null,isVoiceActive:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),_e(()=>{ve.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isVoiceActive=!1;return}let t=0;console.log("voice on"),this.isVoiceActive=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?"];let a=-1;return i.forEach(l=>{const c=r.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=r.length),console.log(a),a+o+1},s=()=>{const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t{s()},1):(this.isVoiceActive=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},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.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?K$e+this.avatar:Jn},defaultImg(t){t.target.src=Jn},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"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isVoiceActive||this.checkForFullSentence())},showConfirmation(){_e(()=>{ve.replace()})},editMsgMode(t){_e(()=>{ve.replace()})},deleteMsgMode(){_e(()=>{ve.replace()})}},computed:{isTalking:{get(){return this.isVoiceActive}},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"}}},Z$e={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"},Y$e={class:"flex flex-row gap-2"},Q$e={class:"flex-shrink-0"},J$e={class:"group/avatar"},X$e=["src","data-popover-target"],eje={class:"flex flex-col w-full flex-grow-0"},tje={class:"flex flex-row flex-grow items-start"},nje={class:"flex flex-col mb-2"},sje={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},oje=["title"],rje=u("div",{class:"flex-grow"},null,-1),ije={class:"flex-row justify-end mx-2"},aje={class:"invisible group-hover:visible flex flex-row"},lje={key:0,class:"flex items-center duration-75"},cje=u("i",{"data-feather":"x"},null,-1),uje=[cje],dje=u("i",{"data-feather":"check"},null,-1),hje=[dje],fje=u("i",{"data-feather":"edit"},null,-1),pje=[fje],gje=u("i",{"data-feather":"copy"},null,-1),mje=[gje],_je=u("i",{"data-feather":"refresh-cw"},null,-1),bje=[_je],yje=u("i",{"data-feather":"fast-forward"},null,-1),vje=[yje],wje={key:4,class:"flex items-center duration-75"},xje=u("i",{"data-feather":"x"},null,-1),kje=[xje],Eje=u("i",{"data-feather":"check"},null,-1),Cje=[Eje],Aje=u("i",{"data-feather":"trash"},null,-1),Sje=[Aje],Tje=u("i",{"data-feather":"thumbs-up"},null,-1),Mje=[Tje],Oje={class:"flex flex-row items-center"},Rje=u("i",{"data-feather":"thumbs-down"},null,-1),Nje=[Rje],Dje={class:"flex flex-row items-center"},Lje=u("i",{"data-feather":"volume-2"},null,-1),Ije=[Lje],Pje={class:"overflow-x-auto w-full"},Fje={class:"flex flex-col items-start w-full"},Bje={class:"text-sm text-gray-400 mt-2"},$je={class:"flex flex-row items-center gap-2"},jje={key:0},zje={class:"font-thin"},Uje={key:1},qje={class:"font-thin"},Hje={key:2},Vje={class:"font-thin"},Gje={key:3},Kje=["title"];function Wje(t,e,n,s,o,r){const i=Ze("Step"),a=Ze("MarkdownRenderer");return E(),S("div",Z$e,[u("div",Y$e,[u("div",Q$e,[u("div",J$e,[u("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=l=>r.defaultImg(l)),"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,X$e)])]),u("div",eje,[u("div",tje,[u("div",nje,[u("div",sje,H(n.message.sender)+" ",1),n.message.created_at?(E(),S("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},H(r.created_at),9,oje)):B("",!0)]),rje,u("div",ije,[u("div",aje,[o.editMsgMode?(E(),S("div",lje,[u("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]=ae(l=>o.editMsgMode=!1,["stop"]))},uje),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ae((...l)=>r.updateMessage&&r.updateMessage(...l),["stop"]))},hje)])):B("",!0),o.editMsgMode?B("",!0):(E(),S("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ae(l=>o.editMsgMode=!0,["stop"]))},pje)),u("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ae(l=>r.copyContentToClipboard(),["stop"]))},mje),n.message.sender!=this.$store.state.mountedPers.name?(E(),S("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ae(l=>r.resendMessage(),["stop"]))},bje)):B("",!0),n.message.sender==this.$store.state.mountedPers.name?(E(),S("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=ae(l=>r.continueMessage(),["stop"]))},vje)):B("",!0),o.deleteMsgMode?(E(),S("div",wje,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=ae(l=>o.deleteMsgMode=!1,["stop"]))},kje),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=ae(l=>r.deleteMsg(),["stop"]))},Cje)])):B("",!0),o.deleteMsgMode?B("",!0):(E(),S("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=l=>o.deleteMsgMode=!0)},Sje)),u("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=ae(l=>r.rankUp(),["stop"]))},Mje),u("div",Oje,[u("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=ae(l=>r.rankDown(),["stop"]))},Nje),n.message.rank!=0?(E(),S("div",{key:0,class:Te(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},H(n.message.rank),3)):B("",!0)]),u("div",Dje,[u("div",{class:Te(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=ae(l=>r.speak(),["stop"]))},Ije,2)])])])]),u("div",Pje,[u("div",Fje,[(E(!0),S(Me,null,We(n.message.steps,(l,c)=>(E(),S("div",{key:"step-"+n.message.id+"-"+c,class:"step font-bold",style:Ct({backgroundColor:l.done?"transparent":"inherit"})},[fe(i,{done:l.done,message:l.message,status:l.status},null,8,["done","message","status"])],4))),128))]),o.editMsgMode?B("",!0):(E(),nt(a,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?we((E(),S("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:Ct({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=l=>this.message.content=l)},null,4)),[[Ve,this.message.content]]):B("",!0)]),u("div",Bje,[u("div",$je,[n.message.binding?(E(),S("p",jje,[be("Binding: "),u("span",zje,H(n.message.binding),1)])):B("",!0),n.message.model?(E(),S("p",Uje,[be("Model: "),u("span",qje,H(n.message.model),1)])):B("",!0),n.message.seed?(E(),S("p",Hje,[be("Seed: "),u("span",Vje,H(n.message.seed),1)])):B("",!0),r.time_spent?(E(),S("p",Gje,[be("Time spent: "),u("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},H(r.time_spent),9,Kje)])):B("",!0)])])])])])}const Ug=qe(W$e,[["render",Wje]]),Zje="/";ke.defaults.baseURL="/";const Yje={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{UniversalForm:rc},data(){return{bUrl:Zje,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{onSettingsPersonality(t){try{ke.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.name,"Save changes","Cancel").then(n=>{try{ke.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)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(_e(()=>{ve.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ke.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn}}},Qje={class:"w-fit select-none"},Jje={key:0,class:"flex -space-x-4"},Xje=["src","title"],eze={key:1,class:"flex -space-x-4"},tze=["src","title"],nze={key:2,title:"Loading personalities"},sze=u("div",{role:"status"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1),oze=[sze];function rze(t,e,n,s,o,r){const i=Ze("UniversalForm");return E(),S(Me,null,[u("div",Qje,[r.mountedPersArr.length>1?(E(),S("div",Jje,[u("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),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: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,Xje),u("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[2]||(e[2]=ae((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+H(r.mountedPersArr.length-1),1)])):B("",!0),r.mountedPersArr.length==1?(E(),S("div",eze,[u("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[3]||(e[3]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),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: "+this.$store.state.mountedPers.name,onClick:e[4]||(e[4]=ae((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"]))},null,40,tze)])):B("",!0),r.mountedPersArr.length==0?(E(),S("div",nze,oze)):B("",!0)]),fe(i,{ref:"universalForm",class:"z-20"},null,512)],64)}const ize=qe(Yje,[["render",rze]]);const aze="/";ke.defaults.baseURL="/";const lze={props:{onTalk:Function,onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:$p,Toast:li,UniversalForm:rc},name:"MountedPersonalitiesList",data(){return{bUrl:aze,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){this.onMountUnmount(this)},async constructor(){},async api_get_req(t){try{const e=await ke.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,ke.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality `+e.message,4,!1),{status:!1}))},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 handleOnTalk(t){if(ve.replace(),console.log("ppa",t),t){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))}else this.onPersonalityMounted(t);this.onTalk(t)}},async onPersonalitySelected(t){if(ve.replace(),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))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Ee.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{Ee.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. +`+t.name,4,!0))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{ke.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{ke.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 Ee.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 Ee.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 Ee.post("/select_personality",n);if(s)return this.toggleMountUnmount(),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),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: + 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 ke.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 ke.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 ke.post("/select_personality",n);if(s)return this.toggleMountUnmount(),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),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!=null&&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)}}},yc=t=>(ns("data-v-e36401c9"),t=t(),ss(),t),nze={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"},sze={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},oze=yc(()=>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)),rze=yc(()=>d("span",{class:"sr-only"},"Loading...",-1)),ize=[oze,rze],aze=yc(()=>d("i",{"data-feather":"chevron-down"},null,-1)),lze=[aze],cze={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},uze={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function dze(t,e,n,s,o,r){const i=Ye("personality-entry"),a=Ye("Toast"),l=Ye("UniversalForm");return E(),S("div",nze,[o.isLoading?(E(),S("div",sze,ize)):B("",!0),d("div",null,[r.mountedPersArr.length>0?(E(),S("div",{key:0,class:Te(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]=ae((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},lze),d("label",cze," Mounted Personalities: ("+V(r.mountedPersArr.length)+") ",1),d("div",uze,[ge(Ut,{name:"bounce"},{default:Be(()=>[(E(!0),S(Me,null,We(this.$store.state.mountedPersArr,(c,u)=>(E(),nt(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:r.configFile.personalities[r.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):B("",!0)]),ge(a,{ref:"toast"},null,512),ge(l,{ref:"universalForm",class:"z-20"},null,512)])}const hze=qe(tze,[["render",dze],["__scopeId","data-v-e36401c9"]]);const fze={props:{commands:{type:Array,required:!0},execute_cmd:{type:Function,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(t){const e=this.$refs.menu,n=this.$refs.menuButton;e&&!e.contains(t.target)&&!n.contains(t.target)&&(this.isMenuOpen=!1,window.removeEventListener("click",this.handleClickOutside))},toggleMenu(){this.positionMenu(),this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?window.addEventListener("click",this.handleClickOutside):window.removeEventListener("click",this.handleClickOutside)},executeCommand(t){typeof this[t.value]=="function"&&this[t.value](),this.isMenuOpen=!1,this.execute_cmd&&this.execute_cmd(t)},positionMenu(){if(this.$refs.menuButton!=null){const t=this.$refs.menuButton.getBoundingClientRect(),e=window.innerHeight,n=t.bottom>e/2;this.menuPosition.top=n?"auto":"calc(100% + 10px)",this.menuPosition.bottom=n?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu()},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},pze={class:"menu-container"},gze=d("i",{"data-feather":"command",class:"w-5 h-5"},null,-1),mze=[gze],_ze={class:"flex-grow"},bze=["onClick"],yze=["src","alt"],vze={key:1,class:"menu-icon"};function wze(t,e,n,s,o,r){return E(),S("div",pze,[d("button",{onClick:e[0]||(e[0]=ae((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),class:"menu-button bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded-full flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 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-gray-300 border-secondary cursor-pointer",ref:"menuButton"},mze,512),ge(Ss,{name:"slide"},{default:Be(()=>[o.isMenuOpen?(E(),S("div",{key:0,class:"menu-list flex-grow",style:Ct(o.menuPosition),ref:"menu"},[d("ul",_ze,[(E(!0),S(Me,null,We(n.commands,(i,a)=>(E(),S("li",{key:a,onClick:l=>r.executeCommand(i),class:"menu-command flex-grow hover:bg-blue-400"},[i.icon&&!i.is_file?(E(),S("img",{key:0,src:i.icon,alt:i.name,class:"menu-icon"},null,8,yze)):(E(),S("span",vze)),d("span",null,V(i.name),1)],8,bze))),128))])],4)):B("",!0)]),_:1})])}const xze=qe(fze,[["render",wze]]);const kze={components:{InteractiveMenu:xze},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ve.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){const t=new FormData;t.append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0,Ee.post("/send_file",t).then(e=>{this.loading=!1,console.log(e.data),this.onShowToastMessage("File uploaded successfully")}).catch(e=>{console.error(e)})},async constructor(){nextTick(()=>{ve.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},Eze=t=>(ns("data-v-93ae9f6f"),t=t(),ss(),t),Cze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Aze=Eze(()=>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)),Sze=[Aze];function Tze(t,e,n,s,o,r){const i=Ye("InteractiveMenu");return o.loading?(E(),S("div",Cze,Sze)):(E(),nt(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const Mze=qe(kze,[["render",Tze],["__scopeId","data-v-93ae9f6f"]]);const Oze={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{MountedPersonalities:Xje,MountedPersonalitiesList:hze,PersonalitiesCommands:Mze},setup(){},data(){return{message:"",isVoiceActive:!1,fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1,personalities_ready:!1}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{this.isVoiceActive=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isVoiceActive=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isVoiceActive=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountUnmountFun(t){console.log("Mounting/unmounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return _e(()=>{ve.replace()}),Ht(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(){_e(()=>{ve.replace()})},loading(t,e){_e(()=>{ve.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{ve.replace()})},activated(){_e(()=>{ve.replace()})}},_t=t=>(ns("data-v-82038241"),t=t(),ss(),t),Rze={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},Nze={key:0,class:"flex items-center justify-center w-full"},Dze={class:"flex flex-row p-2 rounded-t-lg"},Lze=_t(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),Ize={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},Pze={class:"flex flex-col gap-2"},Fze={class:"flex"},Bze=["title"],$ze=_t(()=>d("i",{"data-feather":"list"},null,-1)),jze=[$ze],zze=["title"],Uze=_t(()=>d("i",{"data-feather":"send"},null,-1)),qze=[Uze],Hze={key:0},Vze={key:0,class:"flex flex-col max-h-64"},Gze=["title"],Kze={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"},Wze=_t(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),Zze={class:"line-clamp-1 w-3/5"},Yze=_t(()=>d("div",{class:"grow"},null,-1)),Qze={class:"flex flex-row items-center"},Jze={class:"whitespace-nowrap"},Xze=["onClick"],eUe=_t(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),tUe=[eUe],nUe={key:1,class:"flex items-center mx-1"},sUe={class:"whitespace-nowrap flex flex-row gap-2"},oUe=_t(()=>d("p",{class:"font-bold"}," Total size: ",-1)),rUe=_t(()=>d("div",{class:"grow"},null,-1)),iUe=_t(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),aUe=[iUe],lUe={key:2,class:"mx-1"},cUe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},uUe={class:"w-fit"},dUe={class:"w-fit"},hUe={class:"relative grow"},fUe=_t(()=>d("i",{"data-feather":"file-plus"},null,-1)),pUe=[fUe],gUe={class:"inline-flex justify-center rounded-full"},mUe=_t(()=>d("i",{"data-feather":"mic"},null,-1)),_Ue=[mUe],bUe=_t(()=>d("i",{"data-feather":"send"},null,-1)),yUe=_t(()=>d("span",{class:"sr-only"},"Send message",-1)),vUe=[bUe,yUe],wUe={key:1,title:"Waiting for reply"},xUe=_t(()=>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)),kUe=[xUe];function EUe(t,e,n,s,o,r){const i=Ye("MountedPersonalitiesList"),a=Ye("MountedPersonalities"),l=Ye("PersonalitiesCommands");return E(),S("div",Rze,[n.loading?(E(),S("div",Nze,[d("div",Dze,[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]=ae((...c)=>r.stopGenerating&&r.stopGenerating(...c),["stop"]))}," Stop generating ")])])):B("",!0),d("form",null,[Lze,d("div",Ize,[d("div",Pze,[d("div",Fze,[o.fileList.length>0?(E(),S("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]=ae(c=>o.showFileList=!o.showFileList,["stop"]))},jze,8,Bze)):B("",!0),o.fileList.length>0?(E(),S("button",{key:1,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[2]||(e[2]=ae((...c)=>t.send_files&&t.send_files(...c),["stop"]))},qze,8,zze)):B("",!0)]),o.fileList.length>0&&o.showFileList==!0?(E(),S("div",Hze,[o.fileList.length>0?(E(),S("div",Vze,[ge(Ut,{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:Be(()=>[(E(!0),S(Me,null,We(o.fileList,(c,u)=>(E(),S("div",{key:u+"-"+c.name},[d("div",{class:"m-1",title:c.name},[d("div",Kze,[Wze,d("div",Zze,V(c.name),1),Yze,d("div",Qze,[d("p",Jze,V(r.computedFileSize(c.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:h=>r.removeItem(c)},tUe,8,Xze)])])],8,Gze)]))),128))]),_:1})])):B("",!0)])):B("",!0),o.fileList.length>0?(E(),S("div",nUe,[d("div",sUe,[oUe,be(" "+V(o.totalSize)+" ("+V(o.fileList.length)+") ",1)]),rUe,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[3]||(e[3]=c=>o.fileList=[])},aUe)])):B("",!0),o.showPersonalities?(E(),S("div",lUe,[ge(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","on-talk","discussionPersonalities"])])):B("",!0),d("div",cUe,[d("div",uUe,[ge(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),d("div",dUe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(E(),nt(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):B("",!0)]),d("div",hUe,[we(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[4]||(e[4]=c=>o.message=c),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[5]||(e[5]=Qa(ae(c=>r.submitOnEnter(c),["exact"]),["enter"]))},`\r +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!=null&&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)}}},vc=t=>(ns("data-v-e36401c9"),t=t(),ss(),t),cze={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"},uze={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},dze=vc(()=>u("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"},[u("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"}),u("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)),hze=vc(()=>u("span",{class:"sr-only"},"Loading...",-1)),fze=[dze,hze],pze=vc(()=>u("i",{"data-feather":"chevron-down"},null,-1)),gze=[pze],mze={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},_ze={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function bze(t,e,n,s,o,r){const i=Ze("personality-entry"),a=Ze("Toast"),l=Ze("UniversalForm");return E(),S("div",cze,[o.isLoading?(E(),S("div",uze,fze)):B("",!0),u("div",null,[r.mountedPersArr.length>0?(E(),S("div",{key:0,class:Te(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[u("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]=ae((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},gze),u("label",mze," Mounted Personalities: ("+H(r.mountedPersArr.length)+") ",1),u("div",_ze,[fe(Ut,{name:"bounce"},{default:Be(()=>[(E(!0),S(Me,null,We(this.$store.state.mountedPersArr,(c,d)=>(E(),nt(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+d+"-"+c.name,personality:c,full_path:c.full_path,selected:r.configFile.personalities[r.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):B("",!0)]),fe(a,{ref:"toast"},null,512),fe(l,{ref:"universalForm",class:"z-20"},null,512)])}const yze=qe(lze,[["render",bze],["__scopeId","data-v-e36401c9"]]);const vze={props:{commands:{type:Array,required:!0},execute_cmd:{type:Function,required:!1}},data(){return{isMenuOpen:!1,menuPosition:{bottom:"auto",top:"calc(100% + 10px)"}}},methods:{handleClickOutside(t){const e=this.$refs.menu,n=this.$refs.menuButton;e&&!e.contains(t.target)&&!n.contains(t.target)&&(this.isMenuOpen=!1,window.removeEventListener("click",this.handleClickOutside))},toggleMenu(){this.positionMenu(),this.isMenuOpen=!this.isMenuOpen,this.isMenuOpen?window.addEventListener("click",this.handleClickOutside):window.removeEventListener("click",this.handleClickOutside)},executeCommand(t){typeof this[t.value]=="function"&&this[t.value](),this.isMenuOpen=!1,this.execute_cmd&&this.execute_cmd(t)},positionMenu(){if(this.$refs.menuButton!=null){const t=this.$refs.menuButton.getBoundingClientRect(),e=window.innerHeight,n=t.bottom>e/2;this.menuPosition.top=n?"auto":"calc(100% + 10px)",this.menuPosition.bottom=n?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu()},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},wze={class:"menu-container"},xze=u("i",{"data-feather":"command",class:"w-5 h-5"},null,-1),kze=[xze],Eze={class:"flex-grow"},Cze=["onClick"],Aze=["src","alt"],Sze={key:1,class:"menu-icon"};function Tze(t,e,n,s,o,r){return E(),S("div",wze,[u("button",{onClick:e[0]||(e[0]=ae((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),class:"menu-button bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded-full flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 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-gray-300 border-secondary cursor-pointer",ref:"menuButton"},kze,512),fe(Ss,{name:"slide"},{default:Be(()=>[o.isMenuOpen?(E(),S("div",{key:0,class:"menu-list flex-grow",style:Ct(o.menuPosition),ref:"menu"},[u("ul",Eze,[(E(!0),S(Me,null,We(n.commands,(i,a)=>(E(),S("li",{key:a,onClick:l=>r.executeCommand(i),class:"menu-command flex-grow hover:bg-blue-400"},[i.icon&&!i.is_file?(E(),S("img",{key:0,src:i.icon,alt:i.name,class:"menu-icon"},null,8,Aze)):(E(),S("span",Sze)),u("span",null,H(i.name),1)],8,Cze))),128))])],4)):B("",!0)]),_:1})])}const Mze=qe(vze,[["render",Tze]]);const Oze={components:{InteractiveMenu:Mze},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ve.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){const t=new FormData;t.append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0,ke.post("/send_file",t).then(e=>{this.loading=!1,console.log(e.data),this.onShowToastMessage("File uploaded successfully")}).catch(e=>{console.error(e)})},async constructor(){nextTick(()=>{ve.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},Rze=t=>(ns("data-v-93ae9f6f"),t=t(),ss(),t),Nze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Dze=Rze(()=>u("div",{role:"status"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1)),Lze=[Dze];function Ize(t,e,n,s,o,r){const i=Ze("InteractiveMenu");return o.loading?(E(),S("div",Nze,Lze)):(E(),nt(i,{key:1,commands:n.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const Pze=qe(Oze,[["render",Ize],["__scopeId","data-v-93ae9f6f"]]);const Fze={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{MountedPersonalities:ize,MountedPersonalitiesList:yze,PersonalitiesCommands:Pze},setup(){},data(){return{message:"",isVoiceActive:!1,fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1,personalities_ready:!1}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{this.isVoiceActive=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isVoiceActive=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isVoiceActive=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountUnmountFun(t){console.log("Mounting/unmounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return _e(()=>{ve.replace()}),Ht(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(){_e(()=>{ve.replace()})},loading(t,e){_e(()=>{ve.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{ve.replace()})},activated(){_e(()=>{ve.replace()})}},_t=t=>(ns("data-v-51ff0970"),t=t(),ss(),t),Bze={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},$ze={key:0,class:"flex items-center justify-center w-full"},jze={class:"flex flex-row p-2 rounded-t-lg"},zze=_t(()=>u("label",{for:"chat",class:"sr-only"},"Send message",-1)),Uze={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},qze={class:"flex flex-col gap-2"},Hze={class:"flex"},Vze=["title"],Gze=_t(()=>u("i",{"data-feather":"list"},null,-1)),Kze=[Gze],Wze=["title"],Zze=_t(()=>u("i",{"data-feather":"send"},null,-1)),Yze=[Zze],Qze={key:0},Jze={key:0,class:"flex flex-col max-h-64"},Xze=["title"],eUe={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"},tUe=_t(()=>u("div",null,[u("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),nUe={class:"line-clamp-1 w-3/5"},sUe=_t(()=>u("div",{class:"grow"},null,-1)),oUe={class:"flex flex-row items-center"},rUe={class:"whitespace-nowrap"},iUe=["onClick"],aUe=_t(()=>u("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),lUe=[aUe],cUe={key:1,class:"flex items-center mx-1"},uUe={class:"whitespace-nowrap flex flex-row gap-2"},dUe=_t(()=>u("p",{class:"font-bold"}," Total size: ",-1)),hUe=_t(()=>u("div",{class:"grow"},null,-1)),fUe=_t(()=>u("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),pUe=[fUe],gUe={key:2,class:"mx-1"},mUe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},_Ue={class:"w-fit"},bUe={class:"w-fit"},yUe={class:"relative grow"},vUe=_t(()=>u("i",{"data-feather":"file-plus"},null,-1)),wUe=[vUe],xUe={class:"inline-flex justify-center rounded-full"},kUe=_t(()=>u("i",{"data-feather":"mic"},null,-1)),EUe=[kUe],CUe=_t(()=>u("i",{"data-feather":"send"},null,-1)),AUe=_t(()=>u("span",{class:"sr-only"},"Send message",-1)),SUe=[CUe,AUe],TUe={key:1,title:"Waiting for reply"},MUe=_t(()=>u("div",{role:"status"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1)),OUe=[MUe];function RUe(t,e,n,s,o,r){const i=Ze("MountedPersonalitiesList"),a=Ze("MountedPersonalities"),l=Ze("PersonalitiesCommands");return E(),S("div",Bze,[n.loading?(E(),S("div",$ze,[u("div",jze,[u("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]=ae((...c)=>r.stopGenerating&&r.stopGenerating(...c),["stop"]))}," Stop generating ")])])):B("",!0),u("form",null,[zze,u("div",Uze,[u("div",qze,[u("div",Hze,[o.fileList.length>0?(E(),S("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]=ae(c=>o.showFileList=!o.showFileList,["stop"]))},Kze,8,Vze)):B("",!0),o.fileList.length>0?(E(),S("button",{key:1,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[2]||(e[2]=ae((...c)=>t.send_files&&t.send_files(...c),["stop"]))},Yze,8,Wze)):B("",!0)]),o.fileList.length>0&&o.showFileList==!0?(E(),S("div",Qze,[o.fileList.length>0?(E(),S("div",Jze,[fe(Ut,{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:Be(()=>[(E(!0),S(Me,null,We(o.fileList,(c,d)=>(E(),S("div",{key:d+"-"+c.name},[u("div",{class:"m-1",title:c.name},[u("div",eUe,[tUe,u("div",nUe,H(c.name),1),sUe,u("div",oUe,[u("p",rUe,H(r.computedFileSize(c.size)),1),u("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:h=>r.removeItem(c)},lUe,8,iUe)])])],8,Xze)]))),128))]),_:1})])):B("",!0)])):B("",!0),o.fileList.length>0?(E(),S("div",cUe,[u("div",uUe,[dUe,be(" "+H(o.totalSize)+" ("+H(o.fileList.length)+") ",1)]),hUe,u("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[3]||(e[3]=c=>o.fileList=[])},pUe)])):B("",!0),o.showPersonalities?(E(),S("div",gUe,[fe(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","on-talk","discussionPersonalities"])])):B("",!0),u("div",mUe,[u("div",_Ue,[fe(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),u("div",bUe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(E(),nt(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):B("",!0)]),u("div",yUe,[we(u("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[4]||(e[4]=c=>o.message=c),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[5]||(e[5]=Qa(ae(c=>r.submitOnEnter(c),["exact"]),["enter"]))},`\r \r \r - `,544),[[Ge,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[6]||(e[6]=(...c)=>r.addFiles&&r.addFiles(...c)),multiple:""},null,544),d("button",{type:"button",onClick:e[7]||(e[7]=ae(c=>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"},pUe)]),d("div",gUe,[d("button",{type:"button",onClick:e[8]||(e[8]=(...c)=>r.startSpeechRecognition&&r.startSpeechRecognition(...c)),class:Te([{"text-red-500":o.isVoiceActive},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},_Ue,2),n.loading?B("",!0):(E(),S("button",{key:0,type:"button",onClick:e[9]||(e[9]=(...c)=>r.submit&&r.submit(...c)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},vUe)),n.loading?(E(),S("div",wUe,kUe)):B("",!0)])])])])])])}const qg=qe(Oze,[["render",EUe],["__scopeId","data-v-82038241"]]),CUe={name:"WelcomeComponent",setup(){return{}}},AUe={class:"flex flex-col text-center"},SUe=os('
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),TUe=[SUe];function MUe(t,e,n,s,o,r){return E(),S("div",AUe,TUe)}const Hg=qe(CUe,[["render",MUe]]);const OUe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){_e(()=>{ve.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)}),_e(()=>{ve.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,_e(()=>{ve.replace()})}}},RUe={class:"text-4xl text-center"};function NUe(t,e,n,s,o,r){return E(),nt(Ut,{name:"list",tag:"div"},{default:Be(()=>[o.show?(E(),S("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]=ae(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ae(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Te(["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",RUe,[wr(t.$slots,"default",{},()=>[be(" Drop your files here ")])])],2)],32)):B("",!0)]),_:3})}const _l=qe(OUe,[["render",NUe]]);var DUe=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}(),Rr=globalThis&&globalThis.__assign||function(){return Rr=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 GUe(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];!Tt(r)||!Qt(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 KUe(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},{});!Tt(o)||!Qt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const WUe={name:"applyStyles",enabled:!0,phase:"write",fn:GUe,effect:KUe,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var Qn=Math.max,Ir=Math.min,Is=Math.round;function bl(){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 tm(){return!/^((?!chrome|android).)*safari/i.test(bl())}function Ps(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Tt(t)&&(o=t.offsetWidth>0&&Is(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Is(s.height)/t.offsetHeight||1);var i=es(t)?yt(t):window,a=i.visualViewport,l=!tm()&&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 xc(t){var e=Ps(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 nm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&wc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function cn(t){return yt(t).getComputedStyle(t)}function ZUe(t){return["table","td","th"].indexOf(Qt(t))>=0}function Dn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function wi(t){return Qt(t)==="html"?t:t.assignedSlot||t.parentNode||(wc(t)?t.host:null)||Dn(t)}function Th(t){return!Tt(t)||cn(t).position==="fixed"?null:t.offsetParent}function YUe(t){var e=/firefox/i.test(bl()),n=/Trident/i.test(bl());if(n&&Tt(t)){var s=cn(t);if(s.position==="fixed")return null}var o=wi(t);for(wc(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Qt(o))<0;){var r=cn(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 $o(t){for(var e=yt(t),n=Th(t);n&&ZUe(n)&&cn(n).position==="static";)n=Th(n);return n&&(Qt(n)==="html"||Qt(n)==="body"&&cn(n).position==="static")?e:n||YUe(t)||e}function kc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function uo(t,e,n){return Qn(t,Ir(e,n))}function QUe(t,e,n){var s=uo(t,e,n);return s>n?n:s}function sm(){return{top:0,right:0,bottom:0,left:0}}function om(t){return Object.assign({},sm(),t)}function rm(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var JUe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,om(typeof e!="number"?e:rm(e,Bo))};function XUe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Wt(n.placement),l=kc(a),c=[pt,Rt].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var h=JUe(o.padding,n),f=xc(r),g=l==="y"?ft:pt,m=l==="y"?Ot:Rt,p=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],b=i[l]-n.rects.reference[l],_=$o(r),y=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=p/2-b/2,A=h[g],R=y-f[u]-h[m],O=y/2-f[u]/2+x,D=uo(A,O,R),v=l;n.modifiersData[s]=(e={},e[v]=D,e.centerOffset=D-O,e)}}function eqe(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)||nm(e.elements.popper,o)&&(e.elements.arrow=o))}const tqe={name:"arrow",enabled:!0,phase:"main",fn:XUe,effect:eqe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fs(t){return t.split("-")[1]}var nqe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sqe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Is(n*o)/o||0,y:Is(s*o)/o||0}}function Mh(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,g=f===void 0?0:f,m=i.y,p=m===void 0?0:m,b=typeof u=="function"?u({x:g,y:p}):{x:g,y:p};g=b.x,p=b.y;var _=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=pt,A=ft,R=window;if(c){var O=$o(n),D="clientHeight",v="clientWidth";if(O===yt(n)&&(O=Dn(n),cn(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",v="scrollWidth")),O=O,o===ft||(o===pt||o===Rt)&&r===Oo){A=Ot;var k=h&&O===R&&R.visualViewport?R.visualViewport.height:O[D];p-=k-s.height,p*=l?1:-1}if(o===pt||(o===ft||o===Ot)&&r===Oo){x=Rt;var M=h&&O===R&&R.visualViewport?R.visualViewport.width:O[v];g-=M-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&nqe),F=u===!0?sqe({x:g,y:p},yt(n)):{x:g,y:p};if(g=F.x,p=F.y,l){var Q;return Object.assign({},L,(Q={},Q[A]=y?"0":"",Q[x]=_?"0":"",Q.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+p+"px)":"translate3d("+g+"px, "+p+"px, 0)",Q))}return Object.assign({},L,(e={},e[A]=y?p+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function oqe(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:Wt(e.placement),variation:Fs(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,Mh(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,Mh(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 rqe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:oqe,data:{}};var Jo={passive:!0};function iqe(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,Jo)}),a&&l.addEventListener("resize",n.update,Jo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Jo)}),a&&l.removeEventListener("resize",n.update,Jo)}}const aqe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:iqe,data:{}};var lqe={left:"right",right:"left",bottom:"top",top:"bottom"};function mr(t){return t.replace(/left|right|bottom|top/g,function(e){return lqe[e]})}var cqe={start:"end",end:"start"};function Oh(t){return t.replace(/start|end/g,function(e){return cqe[e]})}function Ec(t){var e=yt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Cc(t){return Ps(Dn(t)).left+Ec(t).scrollLeft}function uqe(t,e){var n=yt(t),s=Dn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=tm();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Cc(t),y:l}}function dqe(t){var e,n=Dn(t),s=Ec(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Qn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Qn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Cc(t),l=-s.scrollTop;return cn(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Ac(t){var e=cn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function im(t){return["html","body","#document"].indexOf(Qt(t))>=0?t.ownerDocument.body:Tt(t)&&Ac(t)?t:im(wi(t))}function ho(t,e){var n;e===void 0&&(e=[]);var s=im(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=yt(s),i=o?[r].concat(r.visualViewport||[],Ac(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(ho(wi(i)))}function yl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function hqe(t,e){var n=Ps(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 Rh(t,e,n){return e===Xg?yl(uqe(t,n)):es(e)?hqe(e,n):yl(dqe(Dn(t)))}function fqe(t){var e=ho(wi(t)),n=["absolute","fixed"].indexOf(cn(t).position)>=0,s=n&&Tt(t)?$o(t):t;return es(s)?e.filter(function(o){return es(o)&&nm(o,s)&&Qt(o)!=="body"}):[]}function pqe(t,e,n,s){var o=e==="clippingParents"?fqe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=Rh(t,c,s);return l.top=Qn(u.top,l.top),l.right=Ir(u.right,l.right),l.bottom=Ir(u.bottom,l.bottom),l.left=Qn(u.left,l.left),l},Rh(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 am(t){var e=t.reference,n=t.element,s=t.placement,o=s?Wt(s):null,r=s?Fs(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 Ot:l={x:i,y:e.y+e.height};break;case Rt:l={x:e.x+e.width,y:a};break;case pt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?kc(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Ls:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Oo:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Ro(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?LUe:a,c=n.rootBoundary,u=c===void 0?Xg:c,h=n.elementContext,f=h===void 0?eo:h,g=n.altBoundary,m=g===void 0?!1:g,p=n.padding,b=p===void 0?0:p,_=om(typeof b!="number"?b:rm(b,Bo)),y=f===eo?IUe:eo,x=t.rects.popper,A=t.elements[m?y:f],R=pqe(es(A)?A:A.contextElement||Dn(t.elements.popper),l,u,i),O=Ps(t.elements.reference),D=am({reference:O,element:x,strategy:"absolute",placement:o}),v=yl(Object.assign({},x,D)),k=f===eo?v:O,M={top:R.top-k.top+_.top,bottom:k.bottom-R.bottom+_.bottom,left:R.left-k.left+_.left,right:k.right-R.right+_.right},L=t.modifiersData.offset;if(f===eo&&L){var F=L[o];Object.keys(M).forEach(function(Q){var I=[Rt,Ot].indexOf(Q)>=0?1:-1,le=[ft,Ot].indexOf(Q)>=0?"y":"x";M[Q]+=F[le]*I})}return M}function gqe(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?em:l,u=Fs(s),h=u?a?Sh:Sh.filter(function(m){return Fs(m)===u}):Bo,f=h.filter(function(m){return c.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,p){return m[p]=Ro(t,{placement:p,boundary:o,rootBoundary:r,padding:i})[Wt(p)],m},{});return Object.keys(g).sort(function(m,p){return g[m]-g[p]})}function mqe(t){if(Wt(t)===vc)return[];var e=mr(t);return[Oh(t),e,Oh(e)]}function _qe(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,g=n.flipVariations,m=g===void 0?!0:g,p=n.allowedAutoPlacements,b=e.options.placement,_=Wt(b),y=_===b,x=l||(y||!m?[mr(b)]:mqe(b)),A=[b].concat(x).reduce(function(Ae,N){return Ae.concat(Wt(N)===vc?gqe(e,{placement:N,boundary:u,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:p}):N)},[]),R=e.rects.reference,O=e.rects.popper,D=new Map,v=!0,k=A[0],M=0;M=0,le=I?"width":"height",Z=Ro(e,{placement:L,boundary:u,rootBoundary:h,altBoundary:f,padding:c}),T=I?Q?Rt:pt:Q?Ot:ft;R[le]>O[le]&&(T=mr(T));var q=mr(T),G=[];if(r&&G.push(Z[F]<=0),a&&G.push(Z[T]<=0,Z[q]<=0),G.every(function(Ae){return Ae})){k=L,v=!1;break}D.set(L,G)}if(v)for(var ye=m?3:1,me=function(N){var J=A.find(function(H){var te=D.get(H);if(te)return te.slice(0,N).every(function(X){return X})});if(J)return k=J,"break"},ee=ye;ee>0;ee--){var xe=me(ee);if(xe==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const bqe={name:"flip",enabled:!0,phase:"main",fn:_qe,requiresIfExists:["offset"],data:{_skip:!1}};function Nh(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 Dh(t){return[ft,Rt,Ot,pt].some(function(e){return t[e]>=0})}function yqe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),a=Ro(e,{altBoundary:!0}),l=Nh(i,s),c=Nh(a,o,r),u=Dh(l),h=Dh(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 vqe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yqe};function wqe(t,e,n){var s=Wt(t),o=[pt,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,[pt,Rt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function xqe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=em.reduce(function(u,h){return u[h]=wqe(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 kqe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xqe};function Eqe(t){var e=t.state,n=t.name;e.modifiersData[n]=am({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Cqe={name:"popperOffsets",enabled:!0,phase:"read",fn:Eqe,data:{}};function Aqe(t){return t==="x"?"y":"x"}function Sqe(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,g=f===void 0?!0:f,m=n.tetherOffset,p=m===void 0?0:m,b=Ro(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),_=Wt(e.placement),y=Fs(e.placement),x=!y,A=kc(_),R=Aqe(A),O=e.modifiersData.popperOffsets,D=e.rects.reference,v=e.rects.popper,k=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,M=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(O){if(r){var Q,I=A==="y"?ft:pt,le=A==="y"?Ot:Rt,Z=A==="y"?"height":"width",T=O[A],q=T+b[I],G=T-b[le],ye=g?-v[Z]/2:0,me=y===Ls?D[Z]:v[Z],ee=y===Ls?-v[Z]:-D[Z],xe=e.elements.arrow,Ae=g&&xe?xc(xe):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:sm(),J=N[I],H=N[le],te=uo(0,D[Z],Ae[Z]),X=x?D[Z]/2-ye-te-J-M.mainAxis:me-te-J-M.mainAxis,fe=x?-D[Z]/2+ye+te+H+M.mainAxis:ee+te+H+M.mainAxis,ue=e.elements.arrow&&$o(e.elements.arrow),w=ue?A==="y"?ue.clientTop||0:ue.clientLeft||0:0,C=(Q=L==null?void 0:L[A])!=null?Q:0,P=T+X-C-w,$=T+fe-C,j=uo(g?Ir(q,P):q,T,g?Qn(G,$):G);O[A]=j,F[A]=j-T}if(a){var ne,re=A==="x"?ft:pt,z=A==="x"?Ot:Rt,se=O[R],U=R==="y"?"height":"width",Y=se+b[re],ie=se-b[z],he=[ft,pt].indexOf(_)!==-1,de=(ne=L==null?void 0:L[R])!=null?ne:0,ke=he?Y:se-D[U]-v[U]-de+M.altAxis,W=he?se+D[U]+v[U]-de-M.altAxis:ie,oe=g&&he?QUe(ke,se,W):uo(g?ke:Y,se,g?W:ie);O[R]=oe,F[R]=oe-se}e.modifiersData[s]=F}}const Tqe={name:"preventOverflow",enabled:!0,phase:"main",fn:Sqe,requiresIfExists:["offset"]};function Mqe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Oqe(t){return t===yt(t)||!Tt(t)?Ec(t):Mqe(t)}function Rqe(t){var e=t.getBoundingClientRect(),n=Is(e.width)/t.offsetWidth||1,s=Is(e.height)/t.offsetHeight||1;return n!==1||s!==1}function Nqe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&Rqe(e),r=Dn(e),i=Ps(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Qt(e)!=="body"||Ac(r))&&(a=Oqe(e)),Tt(e)?(l=Ps(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Cc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Dqe(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 Lqe(t){var e=Dqe(t);return VUe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function Iqe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Pqe(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 Lh={placement:"bottom",modifiers:[],strategy:"absolute"};function Ih(){for(var t=arguments.length,e=new Array(t),n=0;n(ns("data-v-a5e2fbe0"),t=t(),ss(),t),zqe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},Uqe=Ze(()=>d("div",{class:"flex flex-col text-center"},[d("div",{class:"flex flex-col text-center items-center"},[d("div",{class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},[d("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:nc,alt:"Logo"}),d("div",{class:"flex flex-col items-start"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400 text-base"},"One tool to rule them all")])]),d("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"}),d("p",{class:"text-2xl"},"Welcome"),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:"text-2xl font-bold ml-4"},"Loading ...")])],-1)),qqe=[Uqe],Hqe=Ze(()=>d("i",{"data-feather":"chevron-right"},null,-1)),Vqe=[Hqe],Gqe=Ze(()=>d("i",{"data-feather":"chevron-left"},null,-1)),Kqe=[Gqe],Wqe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Zqe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},Yqe={class:"flex-row p-4 flex items-center gap-3 flex-0"},Qqe=Ze(()=>d("i",{"data-feather":"plus"},null,-1)),Jqe=[Qqe],Xqe=Ze(()=>d("i",{"data-feather":"check-square"},null,-1)),eHe=[Xqe],tHe=Ze(()=>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)),nHe=Ze(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),sHe=Ze(()=>d("i",{"data-feather":"log-in"},null,-1)),oHe=[sHe],rHe={key:0,class:"dropdown"},iHe=Ze(()=>d("i",{"data-feather":"search"},null,-1)),aHe=[iHe],lHe=Ze(()=>d("i",{"data-feather":"save"},null,-1)),cHe=[lHe],uHe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},dHe=Ze(()=>d("i",{"data-feather":"x"},null,-1)),hHe=[dHe],fHe=Ze(()=>d("i",{"data-feather":"check"},null,-1)),pHe=[fHe],gHe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},mHe=Ze(()=>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)),_He=[mHe],bHe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},yHe={class:"p-4 pt-2"},vHe={class:"relative"},wHe=Ze(()=>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)),xHe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},kHe=Ze(()=>d("i",{"data-feather":"x"},null,-1)),EHe=[kHe],CHe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},AHe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},SHe={class:"flex flex-row flex-grow"},THe={key:0},MHe={class:"flex flex-row"},OHe={key:0,class:"flex gap-3"},RHe=Ze(()=>d("i",{"data-feather":"trash"},null,-1)),NHe=[RHe],DHe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},LHe=Ze(()=>d("i",{"data-feather":"check"},null,-1)),IHe=[LHe],PHe=Ze(()=>d("i",{"data-feather":"x"},null,-1)),FHe=[PHe],BHe={class:"flex gap-3"},$He=Ze(()=>d("i",{"data-feather":"log-out"},null,-1)),jHe=[$He],zHe=Ze(()=>d("i",{"data-feather":"list"},null,-1)),UHe=[zHe],qHe={class:"z-20"},HHe={class:"relative flex flex-row flex-grow mb-10"},VHe={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"},GHe=Ze(()=>d("p",{class:"px-3"},"No discussions are found",-1)),KHe=[GHe],WHe=Ze(()=>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)),ZHe={class:"z-20 h-max"},YHe={class:"container pt-4 pb-10 mb-28"},QHe=Ze(()=>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)),JHe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},XHe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14},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,panelCollapsed:!1,isOpen:!1}},methods:{save_configuration(){this.showConfirmation=!1,Ee.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):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}))},showToastMessage(t){console.log("sending",t),this.$refs.toast.showToast(t,4,!0)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await Ee.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ee.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){console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ee.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==this.msgTypes.MSG_TYPE_FULL||n.type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI),console.log("this.discussionArr"),console.log(this.discussionArr))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Ee.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 Ee.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 Ee.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 Ee.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 Ee.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 Ee.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 Ee.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 Ee.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 Ee.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&&(console.log("this.currentDiscussion",this.currentDiscussion),this.currentDiscussion===void 0?(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)):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)),_e(()=>{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){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},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,steps:[]};this.discussionArr.push(e),_e(()=>{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,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.dispatch("setIsConnected",!0),!0},socketIODisonnected(){return console.log("socketIOConnected"),this.$store.dispatch("setIsConnected",!1),!0},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",created_at:t.created_at,binding:t.binding,model:t.model,id:t.ai_message_id,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type,steps:[]};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()},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ee.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),je.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},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),Ee.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:this.$store.state.config.user_name,created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(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];if(o&&t.message_type==this.msgTypes.MSG_TYPE_FULL||o&&t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI)o.content=t.data,o.finished_generating_at=t.finished_generating_at;else if(o&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)o.content+=t.data;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)o.steps.push({message:t.data,done:!1});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const r=o.steps.find(i=>i.message===t.data);r&&(r.done=!0)}else t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.data,5,!1)}this.$nextTick(()=>{ve.replace()})},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),_e(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),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,console.log("List created")}},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){_e(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ee.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)})},continueMessage(t,e){_e(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ee.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):je.emit("continue_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"),_e(()=>{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,steps:t.steps,sender:t.bot,type:t.type};this.discussionArr[s]=o}_e(()=>{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=` + `,544),[[Ve,o.message]]),u("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[6]||(e[6]=(...c)=>r.addFiles&&r.addFiles(...c)),multiple:""},null,544),u("button",{type:"button",onClick:e[7]||(e[7]=ae(c=>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"},wUe)]),u("div",xUe,[u("button",{type:"button",onClick:e[8]||(e[8]=(...c)=>r.startSpeechRecognition&&r.startSpeechRecognition(...c)),class:Te([{"text-red-500":o.isVoiceActive},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},EUe,2),n.loading?B("",!0):(E(),S("button",{key:0,type:"button",onClick:e[9]||(e[9]=(...c)=>r.submit&&r.submit(...c)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},SUe)),n.loading?(E(),S("div",TUe,OUe)):B("",!0)])])])])])])}const qg=qe(Fze,[["render",RUe],["__scopeId","data-v-51ff0970"]]),NUe={name:"WelcomeComponent",setup(){return{}}},DUe={class:"flex flex-col text-center"},LUe=os('
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),IUe=[LUe];function PUe(t,e,n,s,o,r){return E(),S("div",DUe,IUe)}const Hg=qe(NUe,[["render",PUe]]);const FUe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){_e(()=>{ve.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)}),_e(()=>{ve.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,_e(()=>{ve.replace()})}}},BUe={class:"text-4xl text-center"};function $Ue(t,e,n,s,o,r){return E(),nt(Ut,{name:"list",tag:"div"},{default:Be(()=>[o.show?(E(),S("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]=ae(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ae(i=>r.panelDrop(i),["stop","prevent"]))},[u("div",{class:Te(["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"])},[u("div",BUe,[wr(t.$slots,"default",{},()=>[be(" Drop your files here ")])])],2)],32)):B("",!0)]),_:3})}const _l=qe(FUe,[["render",$Ue]]);var jUe=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}(),Rr=globalThis&&globalThis.__assign||function(){return Rr=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 XUe(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];!Tt(r)||!Qt(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 eqe(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},{});!Tt(o)||!Qt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const tqe={name:"applyStyles",enabled:!0,phase:"write",fn:XUe,effect:eqe,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var Qn=Math.max,Ir=Math.min,Is=Math.round;function bl(){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 tm(){return!/^((?!chrome|android).)*safari/i.test(bl())}function Ps(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Tt(t)&&(o=t.offsetWidth>0&&Is(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Is(s.height)/t.offsetHeight||1);var i=es(t)?yt(t):window,a=i.visualViewport,l=!tm()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,d=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:d,right:c+h,bottom:d+f,left:c,x:c,y:d}}function kc(t){var e=Ps(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 nm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&xc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function cn(t){return yt(t).getComputedStyle(t)}function nqe(t){return["table","td","th"].indexOf(Qt(t))>=0}function Dn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function wi(t){return Qt(t)==="html"?t:t.assignedSlot||t.parentNode||(xc(t)?t.host:null)||Dn(t)}function Mh(t){return!Tt(t)||cn(t).position==="fixed"?null:t.offsetParent}function sqe(t){var e=/firefox/i.test(bl()),n=/Trident/i.test(bl());if(n&&Tt(t)){var s=cn(t);if(s.position==="fixed")return null}var o=wi(t);for(xc(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(Qt(o))<0;){var r=cn(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 $o(t){for(var e=yt(t),n=Mh(t);n&&nqe(n)&&cn(n).position==="static";)n=Mh(n);return n&&(Qt(n)==="html"||Qt(n)==="body"&&cn(n).position==="static")?e:n||sqe(t)||e}function Ec(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function uo(t,e,n){return Qn(t,Ir(e,n))}function oqe(t,e,n){var s=uo(t,e,n);return s>n?n:s}function sm(){return{top:0,right:0,bottom:0,left:0}}function om(t){return Object.assign({},sm(),t)}function rm(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var rqe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,om(typeof e!="number"?e:rm(e,Bo))};function iqe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Wt(n.placement),l=Ec(a),c=[pt,Rt].indexOf(a)>=0,d=c?"height":"width";if(!(!r||!i)){var h=rqe(o.padding,n),f=kc(r),g=l==="y"?ft:pt,m=l==="y"?Ot:Rt,p=n.rects.reference[d]+n.rects.reference[l]-i[l]-n.rects.popper[d],b=i[l]-n.rects.reference[l],_=$o(r),y=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=p/2-b/2,A=h[g],R=y-f[d]-h[m],O=y/2-f[d]/2+x,D=uo(A,O,R),v=l;n.modifiersData[s]=(e={},e[v]=D,e.centerOffset=D-O,e)}}function aqe(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)||nm(e.elements.popper,o)&&(e.elements.arrow=o))}const lqe={name:"arrow",enabled:!0,phase:"main",fn:iqe,effect:aqe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fs(t){return t.split("-")[1]}var cqe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uqe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Is(n*o)/o||0,y:Is(s*o)/o||0}}function Oh(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,d=t.roundOffsets,h=t.isFixed,f=i.x,g=f===void 0?0:f,m=i.y,p=m===void 0?0:m,b=typeof d=="function"?d({x:g,y:p}):{x:g,y:p};g=b.x,p=b.y;var _=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=pt,A=ft,R=window;if(c){var O=$o(n),D="clientHeight",v="clientWidth";if(O===yt(n)&&(O=Dn(n),cn(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",v="scrollWidth")),O=O,o===ft||(o===pt||o===Rt)&&r===Oo){A=Ot;var k=h&&O===R&&R.visualViewport?R.visualViewport.height:O[D];p-=k-s.height,p*=l?1:-1}if(o===pt||(o===ft||o===Ot)&&r===Oo){x=Rt;var M=h&&O===R&&R.visualViewport?R.visualViewport.width:O[v];g-=M-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&cqe),F=d===!0?uqe({x:g,y:p},yt(n)):{x:g,y:p};if(g=F.x,p=F.y,l){var Q;return Object.assign({},L,(Q={},Q[A]=y?"0":"",Q[x]=_?"0":"",Q.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+p+"px)":"translate3d("+g+"px, "+p+"px, 0)",Q))}return Object.assign({},L,(e={},e[A]=y?p+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function dqe(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:Wt(e.placement),variation:Fs(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,Oh(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,Oh(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 hqe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:dqe,data:{}};var Jo={passive:!0};function fqe(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(d){d.addEventListener("scroll",n.update,Jo)}),a&&l.addEventListener("resize",n.update,Jo),function(){r&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Jo)}),a&&l.removeEventListener("resize",n.update,Jo)}}const pqe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fqe,data:{}};var gqe={left:"right",right:"left",bottom:"top",top:"bottom"};function mr(t){return t.replace(/left|right|bottom|top/g,function(e){return gqe[e]})}var mqe={start:"end",end:"start"};function Rh(t){return t.replace(/start|end/g,function(e){return mqe[e]})}function Cc(t){var e=yt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Ac(t){return Ps(Dn(t)).left+Cc(t).scrollLeft}function _qe(t,e){var n=yt(t),s=Dn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=tm();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Ac(t),y:l}}function bqe(t){var e,n=Dn(t),s=Cc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Qn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Qn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Ac(t),l=-s.scrollTop;return cn(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Sc(t){var e=cn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function im(t){return["html","body","#document"].indexOf(Qt(t))>=0?t.ownerDocument.body:Tt(t)&&Sc(t)?t:im(wi(t))}function ho(t,e){var n;e===void 0&&(e=[]);var s=im(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=yt(s),i=o?[r].concat(r.visualViewport||[],Sc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(ho(wi(i)))}function yl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function yqe(t,e){var n=Ps(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 Nh(t,e,n){return e===Xg?yl(_qe(t,n)):es(e)?yqe(e,n):yl(bqe(Dn(t)))}function vqe(t){var e=ho(wi(t)),n=["absolute","fixed"].indexOf(cn(t).position)>=0,s=n&&Tt(t)?$o(t):t;return es(s)?e.filter(function(o){return es(o)&&nm(o,s)&&Qt(o)!=="body"}):[]}function wqe(t,e,n,s){var o=e==="clippingParents"?vqe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var d=Nh(t,c,s);return l.top=Qn(d.top,l.top),l.right=Ir(d.right,l.right),l.bottom=Ir(d.bottom,l.bottom),l.left=Qn(d.left,l.left),l},Nh(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 am(t){var e=t.reference,n=t.element,s=t.placement,o=s?Wt(s):null,r=s?Fs(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 Ot:l={x:i,y:e.y+e.height};break;case Rt:l={x:e.x+e.width,y:a};break;case pt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?Ec(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(r){case Ls:l[c]=l[c]-(e[d]/2-n[d]/2);break;case Oo:l[c]=l[c]+(e[d]/2-n[d]/2);break}}return l}function Ro(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?zUe:a,c=n.rootBoundary,d=c===void 0?Xg:c,h=n.elementContext,f=h===void 0?eo:h,g=n.altBoundary,m=g===void 0?!1:g,p=n.padding,b=p===void 0?0:p,_=om(typeof b!="number"?b:rm(b,Bo)),y=f===eo?UUe:eo,x=t.rects.popper,A=t.elements[m?y:f],R=wqe(es(A)?A:A.contextElement||Dn(t.elements.popper),l,d,i),O=Ps(t.elements.reference),D=am({reference:O,element:x,strategy:"absolute",placement:o}),v=yl(Object.assign({},x,D)),k=f===eo?v:O,M={top:R.top-k.top+_.top,bottom:k.bottom-R.bottom+_.bottom,left:R.left-k.left+_.left,right:k.right-R.right+_.right},L=t.modifiersData.offset;if(f===eo&&L){var F=L[o];Object.keys(M).forEach(function(Q){var I=[Rt,Ot].indexOf(Q)>=0?1:-1,ce=[ft,Ot].indexOf(Q)>=0?"y":"x";M[Q]+=F[ce]*I})}return M}function xqe(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?em:l,d=Fs(s),h=d?a?Th:Th.filter(function(m){return Fs(m)===d}):Bo,f=h.filter(function(m){return c.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,p){return m[p]=Ro(t,{placement:p,boundary:o,rootBoundary:r,padding:i})[Wt(p)],m},{});return Object.keys(g).sort(function(m,p){return g[m]-g[p]})}function kqe(t){if(Wt(t)===wc)return[];var e=mr(t);return[Rh(t),e,Rh(e)]}function Eqe(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,d=n.boundary,h=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,m=g===void 0?!0:g,p=n.allowedAutoPlacements,b=e.options.placement,_=Wt(b),y=_===b,x=l||(y||!m?[mr(b)]:kqe(b)),A=[b].concat(x).reduce(function(Ae,N){return Ae.concat(Wt(N)===wc?xqe(e,{placement:N,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:p}):N)},[]),R=e.rects.reference,O=e.rects.popper,D=new Map,v=!0,k=A[0],M=0;M=0,ce=I?"width":"height",Z=Ro(e,{placement:L,boundary:d,rootBoundary:h,altBoundary:f,padding:c}),T=I?Q?Rt:pt:Q?Ot:ft;R[ce]>O[ce]&&(T=mr(T));var q=mr(T),G=[];if(r&&G.push(Z[F]<=0),a&&G.push(Z[T]<=0,Z[q]<=0),G.every(function(Ae){return Ae})){k=L,v=!1;break}D.set(L,G)}if(v)for(var ye=m?3:1,me=function(N){var J=A.find(function(V){var te=D.get(V);if(te)return te.slice(0,N).every(function(X){return X})});if(J)return k=J,"break"},ee=ye;ee>0;ee--){var xe=me(ee);if(xe==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const Cqe={name:"flip",enabled:!0,phase:"main",fn:Eqe,requiresIfExists:["offset"],data:{_skip:!1}};function Dh(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 Lh(t){return[ft,Rt,Ot,pt].some(function(e){return t[e]>=0})}function Aqe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),a=Ro(e,{altBoundary:!0}),l=Dh(i,s),c=Dh(a,o,r),d=Lh(l),h=Lh(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const Sqe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Aqe};function Tqe(t,e,n){var s=Wt(t),o=[pt,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,[pt,Rt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function Mqe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=em.reduce(function(d,h){return d[h]=Tqe(h,e.rects,r),d},{}),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 Oqe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Mqe};function Rqe(t){var e=t.state,n=t.name;e.modifiersData[n]=am({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Nqe={name:"popperOffsets",enabled:!0,phase:"read",fn:Rqe,data:{}};function Dqe(t){return t==="x"?"y":"x"}function Lqe(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,d=n.altBoundary,h=n.padding,f=n.tether,g=f===void 0?!0:f,m=n.tetherOffset,p=m===void 0?0:m,b=Ro(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),_=Wt(e.placement),y=Fs(e.placement),x=!y,A=Ec(_),R=Dqe(A),O=e.modifiersData.popperOffsets,D=e.rects.reference,v=e.rects.popper,k=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,M=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(O){if(r){var Q,I=A==="y"?ft:pt,ce=A==="y"?Ot:Rt,Z=A==="y"?"height":"width",T=O[A],q=T+b[I],G=T-b[ce],ye=g?-v[Z]/2:0,me=y===Ls?D[Z]:v[Z],ee=y===Ls?-v[Z]:-D[Z],xe=e.elements.arrow,Ae=g&&xe?kc(xe):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:sm(),J=N[I],V=N[ce],te=uo(0,D[Z],Ae[Z]),X=x?D[Z]/2-ye-te-J-M.mainAxis:me-te-J-M.mainAxis,pe=x?-D[Z]/2+ye+te+V+M.mainAxis:ee+te+V+M.mainAxis,ue=e.elements.arrow&&$o(e.elements.arrow),w=ue?A==="y"?ue.clientTop||0:ue.clientLeft||0:0,C=(Q=L==null?void 0:L[A])!=null?Q:0,P=T+X-C-w,$=T+pe-C,j=uo(g?Ir(q,P):q,T,g?Qn(G,$):G);O[A]=j,F[A]=j-T}if(a){var ne,re=A==="x"?ft:pt,z=A==="x"?Ot:Rt,se=O[R],U=R==="y"?"height":"width",Y=se+b[re],ie=se-b[z],he=[ft,pt].indexOf(_)!==-1,de=(ne=L==null?void 0:L[R])!=null?ne:0,Ee=he?Y:se-D[U]-v[U]-de+M.altAxis,W=he?se+D[U]+v[U]-de-M.altAxis:ie,oe=g&&he?oqe(Ee,se,W):uo(g?Ee:Y,se,g?W:ie);O[R]=oe,F[R]=oe-se}e.modifiersData[s]=F}}const Iqe={name:"preventOverflow",enabled:!0,phase:"main",fn:Lqe,requiresIfExists:["offset"]};function Pqe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Fqe(t){return t===yt(t)||!Tt(t)?Cc(t):Pqe(t)}function Bqe(t){var e=t.getBoundingClientRect(),n=Is(e.width)/t.offsetWidth||1,s=Is(e.height)/t.offsetHeight||1;return n!==1||s!==1}function $qe(t,e,n){n===void 0&&(n=!1);var s=Tt(e),o=Tt(e)&&Bqe(e),r=Dn(e),i=Ps(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Qt(e)!=="body"||Sc(r))&&(a=Fqe(e)),Tt(e)?(l=Ps(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Ac(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function jqe(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 zqe(t){var e=jqe(t);return JUe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function Uqe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function qqe(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 Ih={placement:"bottom",modifiers:[],strategy:"absolute"};function Ph(){for(var t=arguments.length,e=new Array(t),n=0;n(ns("data-v-933b9f22"),t=t(),ss(),t),Wqe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},Zqe=Ye(()=>u("div",{class:"flex flex-col text-center"},[u("div",{class:"flex flex-col text-center items-center"},[u("div",{class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},[u("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:nc,alt:"Logo"}),u("div",{class:"flex flex-col items-start"},[u("p",{class:"text-2xl"},"Lord of Large Language Models"),u("p",{class:"text-gray-400 text-base"},"One tool to rule them all")])]),u("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"}),u("p",{class:"text-2xl"},"Welcome"),u("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"},[u("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"}),u("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"})]),u("span",{class:"text-2xl font-bold ml-4"},"Loading ...")])],-1)),Yqe=[Zqe],Qqe=Ye(()=>u("i",{"data-feather":"chevron-right"},null,-1)),Jqe=[Qqe],Xqe=Ye(()=>u("i",{"data-feather":"chevron-left"},null,-1)),eHe=[Xqe],tHe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},nHe={class:"sticky z-5 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},sHe={class:"flex-row p-4 flex items-center gap-3 flex-0"},oHe=Ye(()=>u("i",{"data-feather":"plus"},null,-1)),rHe=[oHe],iHe=Ye(()=>u("i",{"data-feather":"check-square"},null,-1)),aHe=[iHe],lHe=Ye(()=>u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[u("i",{"data-feather":"refresh-ccw"})],-1)),cHe=Ye(()=>u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[u("i",{"data-feather":"database"})],-1)),uHe=Ye(()=>u("i",{"data-feather":"log-in"},null,-1)),dHe=[uHe],hHe={key:0,class:"dropdown"},fHe=Ye(()=>u("i",{"data-feather":"search"},null,-1)),pHe=[fHe],gHe=Ye(()=>u("i",{"data-feather":"save"},null,-1)),mHe=[gHe],_He={key:2,class:"flex gap-3 flex-1 items-center duration-75"},bHe=Ye(()=>u("i",{"data-feather":"x"},null,-1)),yHe=[bHe],vHe=Ye(()=>u("i",{"data-feather":"check"},null,-1)),wHe=[vHe],xHe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},kHe=Ye(()=>u("div",{role:"status"},[u("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"},[u("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"}),u("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"})]),u("span",{class:"sr-only"},"Loading...")],-1)),EHe=[kHe],CHe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},AHe={class:"p-4 pt-2"},SHe={class:"relative"},THe=Ye(()=>u("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[u("div",{class:"scale-75"},[u("i",{"data-feather":"search"})])],-1)),MHe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},OHe=Ye(()=>u("i",{"data-feather":"x"},null,-1)),RHe=[OHe],NHe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},DHe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},LHe={class:"flex flex-row flex-grow"},IHe={key:0},PHe={class:"flex flex-row"},FHe={key:0,class:"flex gap-3"},BHe=Ye(()=>u("i",{"data-feather":"trash"},null,-1)),$He=[BHe],jHe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},zHe=Ye(()=>u("i",{"data-feather":"check"},null,-1)),UHe=[zHe],qHe=Ye(()=>u("i",{"data-feather":"x"},null,-1)),HHe=[qHe],VHe={class:"flex gap-3"},GHe=Ye(()=>u("i",{"data-feather":"log-out"},null,-1)),KHe=[GHe],WHe=Ye(()=>u("i",{"data-feather":"list"},null,-1)),ZHe=[WHe],YHe={class:"z-5"},QHe={class:"relative flex flex-row flex-grow mb-10 z-0"},JHe={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"},XHe=Ye(()=>u("p",{class:"px-3"},"No discussions are found",-1)),eVe=[XHe],tVe=Ye(()=>u("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)),nVe={class:"z-20 h-max"},sVe={class:"container pt-4 pb-10 mb-28"},oVe=Ye(()=>u("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)),rVe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},iVe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14},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,panelCollapsed:!1,isOpen:!1}},methods:{save_configuration(){this.showConfirmation=!1,ke.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):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}))},showToastMessage(t){console.log("sending",t),this.$refs.toast.showToast(t,4,!0)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await ke.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await ke.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){console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await ke.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==this.msgTypes.MSG_TYPE_FULL||n.type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI),console.log("this.discussionArr"),console.log(this.discussionArr))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await ke.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 ke.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 ke.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 ke.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 ke.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 ke.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 ke.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 ke.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 ke.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&&(console.log("this.currentDiscussion",this.currentDiscussion),this.currentDiscussion===void 0?(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)):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)),_e(()=>{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){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},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,steps:[]};this.discussionArr.push(e),_e(()=>{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,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.dispatch("setIsConnected",!0),!0},socketIODisonnected(){return console.log("socketIOConnected"),this.$store.dispatch("setIsConnected",!1),!0},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",created_at:t.created_at,binding:t.binding,model:t.model,id:t.ai_message_id,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type,steps:[]};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()},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ke.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),je.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},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),ke.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:this.$store.state.config.user_name,created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(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];if(o&&t.message_type==this.msgTypes.MSG_TYPE_FULL||o&&t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI)o.content=t.data,o.finished_generating_at=t.finished_generating_at;else if(o&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)o.content+=t.data;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)console.log(t.metadata),o.steps.push({message:t.data,done:!1,status:!0});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const r=o.steps.find(i=>i.message===t.data);r&&(r.done=!0,r.status=t.metadata.status)}else t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.data,5,!1)}this.$nextTick(()=>{ve.replace()})},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),_e(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),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,console.log("List created")}},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){_e(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ke.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)})},continueMessage(t,e){_e(()=>{ve.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),ke.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):je.emit("continue_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"),_e(()=>{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,steps:t.steps,sender:t.bot,type:t.type};this.discussionArr[s]=o}_e(()=>{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} @@ -138,5 +140,5 @@ Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`$ ${o} ${l}`;navigator.clipboard.writeText(c),_e(()=>{ve.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(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){if(t.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return console.log("Avatar",n.avatar),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(){for(this.$nextTick(()=>{ve.replace()}),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));console.log("Setting title"),this.setPageTitle(),console.log("listing discussions"),await this.list_discussions(),console.log("loading last discussion"),this.loadLastUsedDiscussion(),console.log("Discussions view is ready"),je.on("infos",this.createBotMsg),je.on("message",this.streamMessageContent),je.on("final",this.finalMsgEvent),je.on("connected",this.socketIOConnected),je.on("disconnected",this.socketIODisconnected),console.log("Added events"),this.isCreated=!0},mounted(){this.$nextTick(()=>{ve.replace()})},async activated(){await this.getPersonalityAvatars(),this.isCreated&&_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:og,Message:Ug,ChatBox:qg,WelcomeComponent:Hg,Toast:li,DragDrop:_l},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){_e(()=>{ve.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){_e(()=>{ve.replace()})},isSearch(){_e(()=>{ve.replace()})}},computed:{isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return _e(()=>{ve.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},eVe=Object.assign(XHe,{__name:"DiscussionsView",setup(t){return Yr(()=>{$qe()}),Ee.defaults.baseURL="/",(e,n)=>(E(),S(Me,null,[ge(Ss,{name:"fade-and-fly"},{default:Be(()=>[e.isReady?B("",!0):(E(),S("div",zqe,qqe))]),_:1}),e.isReady?(E(),S("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[we(d("div",null,Vqe,512),[[lt,e.panelCollapsed]]),we(d("div",null,Kqe,512),[[lt,!e.panelCollapsed]])])):B("",!0),ge(Ss,{name:"slide-right"},{default:Be(()=>[e.showPanel?(E(),S("div",Wqe,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[19]||(n[19]=ae(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",Zqe,[d("div",Yqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},Jqe),d("button",{class:Te(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},eHe,2),tHe,nHe,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...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[4]||(n[4]=ae(s=>e.$refs.fileDialog.click(),["stop"]))},oHe),e.isOpen?(E(),S("div",rHe,[d("button",{onClick:n[5]||(n[5]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),d("button",{onClick:n[6]||(n[6]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):B("",!0),d("button",{class:Te(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[7]||(n[7]=s=>e.isSearch=!e.isSearch)},aHe,2),e.showConfirmation?B("",!0):(E(),S("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[8]||(n[8]=s=>e.showConfirmation=!0)},cHe)),e.showConfirmation?(E(),S("div",uHe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[9]||(n[9]=ae(s=>e.showConfirmation=!1,["stop"]))},hHe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[10]||(n[10]=ae(s=>e.save_configuration(),["stop"]))},pHe)])):B("",!0),e.loading?(E(),S("div",gHe,_He)):B("",!0)]),e.isSearch?(E(),S("div",bHe,[d("div",yHe,[d("div",vHe,[wHe,d("div",xHe,[d("div",{class:Te(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},EHe,2)]),we(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[12]||(n[12]=s=>e.filterTitle=s),onInput:n[13]||(n[13]=s=>e.filterDiscussions())},null,544),[[Ge,e.filterTitle]])])])])):B("",!0),e.isCheckbox?(E(),S("hr",CHe)):B("",!0),e.isCheckbox?(E(),S("div",AHe,[d("div",SHe,[e.selectedDiscussions.length>0?(E(),S("p",THe,"Selected: "+V(e.selectedDiscussions.length),1)):B("",!0)]),d("div",MHe,[e.selectedDiscussions.length>0?(E(),S("div",OHe,[e.showConfirmation?B("",!0):(E(),S("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[14]||(n[14]=ae(s=>e.showConfirmation=!0,["stop"]))},NHe)),e.showConfirmation?(E(),S("div",DHe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[15]||(n[15]=ae((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},IHe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[16]||(n[16]=ae(s=>e.showConfirmation=!1,["stop"]))},FHe)])):B("",!0)])):B("",!0),d("div",BHe,[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[17]||(n[17]=ae((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},jHe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[18]||(n[18]=ae((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},UHe)])])])):B("",!0)]),d("div",qHe,[ge(_l,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Be(()=>[be("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",HHe,[d("div",{class:Te(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Te([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(E(),nt(Ut,{key:0,name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(e.list,(s,o)=>(E(),nt(og,{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})):B("",!0),e.list.length<1?(E(),S("div",VHe,KHe)):B("",!0),WHe],2)],2)])],32)])):B("",!0)]),_:1}),e.isReady?(E(),S("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",ZHe,[ge(_l,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Te(["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",YHe,[e.discussionArr.length>0?(E(),nt(Ut,{key:0,name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(e.discussionArr,(s,o)=>(E(),nt(Ug,{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,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):B("",!0),e.currentDiscussion.id?B("",!0):(E(),nt(Hg,{key:1}))]),QHe,e.currentDiscussion.id?(E(),S("div",JHe,[ge(qg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk"])])):B("",!0)],2)],32)):B("",!0),ge(li,{ref:"toast"},null,512),ge(Fp,{ref:"messageBox"},null,512)],64))}}),tVe=qe(eVe,[["__scopeId","data-v-a5e2fbe0"]]),nVe=qy({history:ay("/"),routes:[{path:"/extensions/",name:"extensions",component:x2},{path:"/help/",name:"help",component:j2},{path:"/settings/",name:"settings",component:tA},{path:"/training/",name:"training",component:FA},{path:"/quantizing/",name:"quantizing",component:GA},{path:"/",name:"discussions",component:tVe}]});const xi=J1(h2);console.log("Loaded main.js");const sVe=E0({state(){return{ready:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,personalities:null,diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:null}},mutations:{setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setExtensionsZoo(t,e){t.extensionsZoo=e},setModelsZoo(t,e){t.models_zoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getModelsZoo(t){return t.models_zoo},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await mn("get_config");let n=e.personalities[e.active_personality_id].split("/");e.personality_language=n[0],e.personality_category=n[1],e.personality_folder=n[2],t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesArr({commit:t}){let e=[];const n=await mn("get_all_personalities"),s=Object.keys(n);for(let o=0;o{const g=this.state.config.personalities.includes(r+"/"+c+"/"+f.folder);let m={};return m=f,m.category=c,m.language=r,m.full_path=r+"/"+c+"/"+f.folder,m.isMounted=g,m});e.length==0?e=h:e=e.concat(h)}}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;ni.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="english/generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await mn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await mn("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await mn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await mn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await mn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await mn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;si.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){Ee.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function mn(t){try{const e=await Ee.get("/"+t);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}let Fh=!1;xi.mixin({created(){Fh||(Fh=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities"),this.$store.dispatch("refreshBindings"),this.$store.dispatch("refreshModels"),this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage"),this.$store.dispatch("refreshVramUsage"),this.$store.dispatch("refreshModelsZoo"),this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.ready=!0,console.log("done loading data")})}))},beforeMount(){}});xi.use(nVe);xi.use(sVe);xi.mount("#app"); +`+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 d=await this.export_multiple_discussions(t);d?(this.saveJSONtoFile(d,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(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){if(t.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return console.log("Avatar",n.avatar),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(){for(this.$nextTick(()=>{ve.replace()}),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));console.log("Setting title"),this.setPageTitle(),console.log("listing discussions"),await this.list_discussions(),console.log("loading last discussion"),this.loadLastUsedDiscussion(),console.log("Discussions view is ready"),je.on("infos",this.createBotMsg),je.on("message",this.streamMessageContent),je.on("final",this.finalMsgEvent),je.on("connected",this.socketIOConnected),je.on("disconnected",this.socketIODisconnected),console.log("Added events"),this.isCreated=!0},mounted(){this.$nextTick(()=>{ve.replace()})},async activated(){await this.getPersonalityAvatars(),this.isCreated&&_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:og,Message:Ug,ChatBox:qg,WelcomeComponent:Hg,Toast:li,DragDrop:_l},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){_e(()=>{ve.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){_e(()=>{ve.replace()})},isSearch(){_e(()=>{ve.replace()})}},computed:{isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return _e(()=>{ve.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},aVe=Object.assign(iVe,{__name:"DiscussionsView",setup(t){return Yr(()=>{Gqe()}),ke.defaults.baseURL="/",(e,n)=>(E(),S(Me,null,[fe(Ss,{name:"fade-and-fly"},{default:Be(()=>[e.isReady?B("",!0):(E(),S("div",Wqe,Yqe))]),_:1}),e.isReady?(E(),S("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[we(u("div",null,Jqe,512),[[lt,e.panelCollapsed]]),we(u("div",null,eHe,512),[[lt,!e.panelCollapsed]])])):B("",!0),fe(Ss,{name:"slide-right"},{default:Be(()=>[e.showPanel?(E(),S("div",tHe,[u("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[19]||(n[19]=ae(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[u("div",nHe,[u("div",sHe,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},rHe),u("button",{class:Te(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},aHe,2),lHe,cHe,u("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[4]||(n[4]=ae(s=>e.$refs.fileDialog.click(),["stop"]))},dHe),e.isOpen?(E(),S("div",hHe,[u("button",{onClick:n[5]||(n[5]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),u("button",{onClick:n[6]||(n[6]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):B("",!0),u("button",{class:Te(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[7]||(n[7]=s=>e.isSearch=!e.isSearch)},pHe,2),e.showConfirmation?B("",!0):(E(),S("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[8]||(n[8]=s=>e.showConfirmation=!0)},mHe)),e.showConfirmation?(E(),S("div",_He,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[9]||(n[9]=ae(s=>e.showConfirmation=!1,["stop"]))},yHe),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[10]||(n[10]=ae(s=>e.save_configuration(),["stop"]))},wHe)])):B("",!0),e.loading?(E(),S("div",xHe,EHe)):B("",!0)]),e.isSearch?(E(),S("div",CHe,[u("div",AHe,[u("div",SHe,[THe,u("div",MHe,[u("div",{class:Te(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},RHe,2)]),we(u("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[12]||(n[12]=s=>e.filterTitle=s),onInput:n[13]||(n[13]=s=>e.filterDiscussions())},null,544),[[Ve,e.filterTitle]])])])])):B("",!0),e.isCheckbox?(E(),S("hr",NHe)):B("",!0),e.isCheckbox?(E(),S("div",DHe,[u("div",LHe,[e.selectedDiscussions.length>0?(E(),S("p",IHe,"Selected: "+H(e.selectedDiscussions.length),1)):B("",!0)]),u("div",PHe,[e.selectedDiscussions.length>0?(E(),S("div",FHe,[e.showConfirmation?B("",!0):(E(),S("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[14]||(n[14]=ae(s=>e.showConfirmation=!0,["stop"]))},$He)),e.showConfirmation?(E(),S("div",jHe,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[15]||(n[15]=ae((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},UHe),u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[16]||(n[16]=ae(s=>e.showConfirmation=!1,["stop"]))},HHe)])):B("",!0)])):B("",!0),u("div",VHe,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[17]||(n[17]=ae((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},KHe),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[18]||(n[18]=ae((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},ZHe)])])])):B("",!0)]),u("div",YHe,[fe(_l,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Be(()=>[be("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),u("div",QHe,[u("div",{class:Te(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[u("div",{id:"dis-list",class:Te([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(E(),nt(Ut,{key:0,name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(e.list,(s,o)=>(E(),nt(og,{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})):B("",!0),e.list.length<1?(E(),S("div",JHe,eVe)):B("",!0),tVe],2)],2)])],32)])):B("",!0)]),_:1}),e.isReady?(E(),S("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[u("div",nVe,[fe(_l,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),u("div",{id:"messages-list",class:Te(["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":""])},[u("div",sVe,[e.discussionArr.length>0?(E(),nt(Ut,{key:0,name:"list"},{default:Be(()=>[(E(!0),S(Me,null,We(e.discussionArr,(s,o)=>(E(),nt(Ug,{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,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):B("",!0),e.currentDiscussion.id?B("",!0):(E(),nt(Hg,{key:1}))]),oVe,e.currentDiscussion.id?(E(),S("div",rVe,[fe(qg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk"])])):B("",!0)],2)],32)):B("",!0),fe(li,{ref:"toast"},null,512),fe(Bp,{ref:"messageBox"},null,512)],64))}}),lVe=qe(aVe,[["__scopeId","data-v-933b9f22"]]),cVe=qy({history:ay("/"),routes:[{path:"/extensions/",name:"extensions",component:x2},{path:"/help/",name:"help",component:j2},{path:"/settings/",name:"settings",component:rA},{path:"/training/",name:"training",component:zA},{path:"/quantizing/",name:"quantizing",component:YA},{path:"/",name:"discussions",component:lVe}]});const xi=J1(h2);console.log("Loaded main.js");const uVe=E0({state(){return{ready:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,personalities:null,diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:null}},mutations:{setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setExtensionsZoo(t,e){t.extensionsZoo=e},setModelsZoo(t,e){t.models_zoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getModelsZoo(t){return t.models_zoo},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await mn("get_config");let n=e.personalities[e.active_personality_id].split("/");e.personality_language=n[0],e.personality_category=n[1],e.personality_folder=n[2],t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesArr({commit:t}){let e=[];const n=await mn("get_all_personalities"),s=Object.keys(n);for(let o=0;o{const g=this.state.config.personalities.includes(r+"/"+c+"/"+f.folder);let m={};return m=f,m.category=c,m.language=r,m.full_path=r+"/"+c+"/"+f.folder,m.isMounted=g,m});e.length==0?e=h:e=e.concat(h)}}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;ni.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="english/generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await mn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await mn("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await mn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await mn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await mn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await mn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;si.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){ke.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function mn(t){try{const e=await ke.get("/"+t);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}let Bh=!1;xi.mixin({created(){Bh||(Bh=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities"),this.$store.dispatch("refreshBindings"),this.$store.dispatch("refreshModels"),this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage"),this.$store.dispatch("refreshVramUsage"),this.$store.dispatch("refreshModelsZoo"),this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.ready=!0,console.log("done loading data")})}))},beforeMount(){}});xi.use(cVe);xi.use(uVe);xi.mount("#app"); diff --git a/web/dist/assets/index-3a2a1b2d.css b/web/dist/assets/index-2dff239f.css similarity index 98% rename from web/dist/assets/index-3a2a1b2d.css rename to web/dist/assets/index-2dff239f.css index 74a8f16a..37547de8 100644 --- a/web/dist/assets/index-3a2a1b2d.css +++ b/web/dist/assets/index-2dff239f.css @@ -1,8 +1,8 @@ -.container{margin:0;padding:0}.link-item{padding:0 20px;margin-bottom:-5px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px 5px 0 0;font-weight:700;background-color:#b9d2f7;color:#000;transition:duration-300 ease-in-out transform}.link-item:hover{background-color:#3dabff;animation-timing-function:ease-in-out}.link-item.router-link-active{background-color:#82a1d4}ul{display:flex;flex-direction:column;height:100%}.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}.active-tab{font-weight:700}.scrollbar[data-v-6f1a11a2]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar{width:8px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.toastItem-enter-active[data-v-3ffdabf3],.toastItem-leave-active[data-v-3ffdabf3]{transition:all .5s ease}.toastItem-enter-from[data-v-3ffdabf3],.toastItem-leave-to[data-v-3ffdabf3]{opacity:0;transform:translate(-30px)}.selected-choice{background-color:#bde4ff}.list-move[data-v-03304980],.list-enter-active[data-v-03304980],.list-leave-active[data-v-03304980]{transition:all .5s ease}.list-enter-from[data-v-03304980]{transform:translatey(-30px)}.list-leave-to[data-v-03304980]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-03304980]{position:absolute}.bounce-enter-active[data-v-03304980]{animation:bounce-in-03304980 .5s}.bounce-leave-active[data-v-03304980]{animation:bounce-in-03304980 .5s reverse}@keyframes bounce-in-03304980{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-03304980]{background-color:#0ff}.hover[data-v-03304980]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-03304980]{font-weight:700}.hovered{transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transform:scale(1.1)}.active{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;pointer-events:all}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ff9da4}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#d1f1a9}.hljs-section,.hljs-title{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! +.container{margin:0;padding:0}.link-item{padding:0 20px;margin-bottom:-5px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:5px 5px 0 0;font-weight:700;background-color:#b9d2f7;color:#000;transition:duration-300 ease-in-out transform}.link-item:hover{background-color:#3dabff;animation-timing-function:ease-in-out}.link-item.router-link-active{background-color:#82a1d4}ul{display:flex;flex-direction:column;height:100%}.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}.active-tab{font-weight:700}.scrollbar[data-v-6f1a11a2]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar{width:8px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-6f1a11a2]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.toastItem-enter-active[data-v-3ffdabf3],.toastItem-leave-active[data-v-3ffdabf3]{transition:all .5s ease}.toastItem-enter-from[data-v-3ffdabf3],.toastItem-leave-to[data-v-3ffdabf3]{opacity:0;transform:translate(-30px)}.selected-choice{background-color:#bde4ff}.list-move[data-v-55c3ae0c],.list-enter-active[data-v-55c3ae0c],.list-leave-active[data-v-55c3ae0c]{transition:all .5s ease}.list-enter-from[data-v-55c3ae0c]{transform:translatey(-30px)}.list-leave-to[data-v-55c3ae0c]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-55c3ae0c]{position:absolute}.bounce-enter-active[data-v-55c3ae0c]{animation:bounce-in-55c3ae0c .5s}.bounce-leave-active[data-v-55c3ae0c]{animation:bounce-in-55c3ae0c .5s reverse}@keyframes bounce-in-55c3ae0c{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-55c3ae0c]{background-color:#0ff}.hover[data-v-55c3ae0c]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-55c3ae0c]{font-weight:700}.hovered{transition:transform .3s cubic-bezier(.175,.885,.32,1.275);transform:scale(1.1)}.active{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;pointer-events:all}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ff9da4}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#d1f1a9}.hljs-section,.hljs-title{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! Theme: Tokyo-night-Dark origin: https://github.com/enkia/tokyo-night-vscode-theme Description: Original highlight.js style Author: (c) Henri Vandersleyen License: see project LICENSE Touched: 2022 -*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}ul{list-style-type:disc}ol{list-style-type:decimal}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.bounce-enter-active[data-v-e36401c9]{animation:bounce-in-e36401c9 .5s}.bounce-leave-active[data-v-e36401c9]{animation:bounce-in-e36401c9 .5s reverse}@keyframes bounce-in-e36401c9{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}ul{list-style:none;padding:0;margin:0}li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-93ae9f6f]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-93ae9f6f]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-93ae9f6f]{top:calc(-100% - 2rem)}.list-move[data-v-82038241],.list-enter-active[data-v-82038241],.list-leave-active[data-v-82038241]{transition:all .5s ease}.list-enter-from[data-v-82038241]{transform:translatey(-30px)}.list-leave-to[data-v-82038241]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-82038241]{position:absolute}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0}.list-leave-active{position:absolute}.slide-right-enter-active[data-v-a5e2fbe0],.slide-right-leave-active[data-v-a5e2fbe0]{transition:transform .3s ease}.slide-right-enter[data-v-a5e2fbe0],.slide-right-leave-to[data-v-a5e2fbe0]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-a5e2fbe0]{animation:fade-and-fly-enter-a5e2fbe0 .5s ease}.fade-and-fly-leave-active[data-v-a5e2fbe0]{animation:fade-and-fly-leave-a5e2fbe0 .5s ease}@keyframes fade-and-fly-enter-a5e2fbe0{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-a5e2fbe0{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-a5e2fbe0],.list-enter-active[data-v-a5e2fbe0],.list-leave-active[data-v-a5e2fbe0]{transition:all .5s ease}.list-enter-from[data-v-a5e2fbe0]{transform:translatey(-30px)}.list-leave-to[data-v-a5e2fbe0]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-a5e2fbe0]{position:absolute}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*{scrollbar-color:initial;scrollbar-width:initial}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.bottom-0{bottom:0px}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0px}.left-1\/2{left:50%}.left-7{left:1.75rem}.right-0{right:0px}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-1{margin:.25rem}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-my-5{margin-top:-1.25rem;margin-bottom:-1.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.border-primary-light{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-dark-tone-panel{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.bg-primary-light{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: #e2edff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-via-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #e2edff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-100\%{--tw-gradient-to-position: 100%}.fill-blue-600{fill:#1c64f2}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:#0fd974}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale-0{--tw-grayscale: grayscale(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: #e2edff !important}.scrollbar-track-bg-light-tone{--scrollbar-track: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: #8fb5ef !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}.odd\:bg-bg-light-tone:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.group\/avatar:hover .group-hover\/avatar\:visible,.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/avatar:hover .group-hover\/avatar\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:border-primary-light:hover{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.hover\:border-secondary:hover{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.hover\:bg-bg-light-tone:hover{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.hover\:bg-bg-light-tone-panel:hover{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: #0e8ef0 !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: #0fd974 !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: #132e59 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-via-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #132e59 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: #132e59 !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: #4367a3 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-bg-dark-tone:hover){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: #0e8ef0 !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:order-2{order:2}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} +*/.hljs-comment,.hljs-meta{color:#565f89}.hljs-deletion,.hljs-doctag,.hljs-regexp,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-selector-pseudo,.hljs-tag,.hljs-template-tag,.hljs-variable.language_{color:#f7768e}.hljs-link,.hljs-literal,.hljs-number,.hljs-params,.hljs-template-variable,.hljs-type,.hljs-variable{color:#ff9e64}.hljs-attribute,.hljs-built_in{color:#e0af68}.hljs-keyword,.hljs-property,.hljs-subst,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-addition,.hljs-bullet,.hljs-quote,.hljs-string,.hljs-symbol{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-attr,.hljs-char.escape_,.hljs-keyword,.hljs-name,.hljs-operator{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}ul{list-style-type:disc}ol{list-style-type:decimal}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.bounce-enter-active[data-v-e36401c9]{animation:bounce-in-e36401c9 .5s}.bounce-leave-active[data-v-e36401c9]{animation:bounce-in-e36401c9 .5s reverse}@keyframes bounce-in-e36401c9{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}ul{list-style:none;padding:0;margin:0}li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-93ae9f6f]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-93ae9f6f]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-93ae9f6f]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-93ae9f6f]{top:calc(-100% - 2rem)}.list-move[data-v-51ff0970],.list-enter-active[data-v-51ff0970],.list-leave-active[data-v-51ff0970]{transition:all .5s ease}.list-enter-from[data-v-51ff0970]{transform:translatey(-30px)}.list-leave-to[data-v-51ff0970]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-51ff0970]{position:absolute}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0}.list-leave-active{position:absolute}.slide-right-enter-active[data-v-933b9f22],.slide-right-leave-active[data-v-933b9f22]{transition:transform .3s ease}.slide-right-enter[data-v-933b9f22],.slide-right-leave-to[data-v-933b9f22]{transform:translate(-100%)}.fade-and-fly-enter-active[data-v-933b9f22]{animation:fade-and-fly-enter-933b9f22 .5s ease}.fade-and-fly-leave-active[data-v-933b9f22]{animation:fade-and-fly-leave-933b9f22 .5s ease}@keyframes fade-and-fly-enter-933b9f22{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-933b9f22{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-933b9f22],.list-enter-active[data-v-933b9f22],.list-leave-active[data-v-933b9f22]{transition:all .5s ease}.list-enter-from[data-v-933b9f22]{transform:translatey(-30px)}.list-leave-to[data-v-933b9f22]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-933b9f22]{position:absolute}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;-webkit-margin-start:-1rem;margin-inline-start:-1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}*{scrollbar-color:initial;scrollbar-width:initial}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.bottom-0{bottom:0px}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0px}.left-1\/2{left:50%}.left-7{left:1.75rem}.right-0{right:0px}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.top-0{top:0px}.top-1\/2{top:50%}.top-3{top:.75rem}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-1{margin:.25rem}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.-my-5{margin-top:-1.25rem;margin-bottom:-1.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.border-primary-light{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-dark-tone-panel{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.bg-primary-light{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: #e2edff var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-via-position: ;--tw-gradient-to: rgb(226 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #e2edff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-via-position: ;--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.to-100\%{--tw-gradient-to-position: 100%}.fill-blue-600{fill:#1c64f2}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:#0fd974}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-24{padding-top:6rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale-0{--tw-grayscale: grayscale(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: #e2edff !important}.scrollbar-track-bg-light-tone{--scrollbar-track: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: #b9d2f7 !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: #8fb5ef !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}.odd\:bg-bg-light-tone:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.even\:bg-bg-light-tone-panel:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.group\/avatar:hover .group-hover\/avatar\:visible,.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:border-secondary{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-via-position: ;--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position);--tw-gradient-to-position: }.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/avatar:hover .group-hover\/avatar\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:border-primary-light:hover{--tw-border-opacity: 1;border-color:rgb(61 171 255 / var(--tw-border-opacity))}.hover\:border-secondary:hover{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.hover\:bg-bg-light-tone:hover{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.hover\:bg-bg-light-tone-panel:hover{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position);--tw-gradient-to-position: }.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: #0e8ef0 !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: #0fd974 !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: #132e59 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-via-position: ;--tw-gradient-to: rgb(19 46 89 / 0) var(--tw-gradient-to-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), #132e59 var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: #132e59 !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: #25477d !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: #4367a3 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-bg-dark-tone:hover){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: #0e8ef0 !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{inset:0px}.md\:order-2{order:2}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} diff --git a/web/dist/index.html b/web/dist/index.html index a4ded3bf..0f63bd97 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,8 +6,8 @@ LoLLMS WebUI - Welcome - - + +
diff --git a/web/src/components/ChatBox.vue b/web/src/components/ChatBox.vue index 95d9c2bd..11ca89e5 100644 --- a/web/src/components/ChatBox.vue +++ b/web/src/components/ChatBox.vue @@ -217,9 +217,9 @@ import MountedPersonalitiesComponent from './MountedPersonalitiesComponent.vue' import { nextTick, ref, TransitionGroup } from 'vue' import feather from 'feather-icons' import filesize from '../plugins/filesize' -import MountedPersonalities from './MountedPersonalities.vue' -import MountedPersonalitiesList from './MountedPersonalitiesList.vue' -import PersonalitiesCommands from './PersonalitiesCommands.vue'; +import MountedPersonalities from '@/components/MountedPersonalities.vue' +import MountedPersonalitiesList from '@/components/MountedPersonalitiesList.vue' +import PersonalitiesCommands from '@/components/PersonalitiesCommands.vue'; import { useStore } from 'vuex'; // Import the useStore function import { inject } from 'vue'; export default { diff --git a/web/src/components/Message.vue b/web/src/components/Message.vue index fa9786af..1b9f7abc 100644 --- a/web/src/components/Message.vue +++ b/web/src/components/Message.vue @@ -131,7 +131,7 @@
- +
@@ -252,6 +252,7 @@ export default { // Create a new SpeechSynthesisUtterance instance this.msg = new SpeechSynthesisUtterance(); + this.msg.pitch = this.$store.state.config.audio_pitch; // Optionally, set the voice and other parameters as before if (this.voices.length > 0) { @@ -275,7 +276,9 @@ export default { lastIndex = markerIndex; } }); - return lastIndex+startIndex; + if(lastIndex==-1){lastIndex=txt.length} + console.log(lastIndex) + return lastIndex+startIndex+1; }; // Function to speak a chunk of text diff --git a/web/src/components/MountedPersonalities.vue b/web/src/components/MountedPersonalities.vue index 2a84028b..68a023c4 100644 --- a/web/src/components/MountedPersonalities.vue +++ b/web/src/components/MountedPersonalities.vue @@ -7,7 +7,7 @@
+ :title="'Active personality: '+mountedPers.name" @click="onSettingsPersonality(mountedPers)">
+{{ mountedPersArr.length - 1 }}
@@ -34,11 +34,14 @@
+ diff --git a/web/src/components/UniversalForm.vue b/web/src/components/UniversalForm.vue index 8912c354..b54e54b9 100644 --- a/web/src/components/UniversalForm.vue +++ b/web/src/components/UniversalForm.vue @@ -1,7 +1,7 @@