diff --git a/api/__init__.py b/api/__init__.py index c7ccbf72..98389b70 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -611,15 +611,7 @@ class LoLLMsAPPI(LollmsApplication): link_text = self.personality.link_text if not is_continue: - if self.personality.processor is not None: - preprocessed_prompt = self.personality.processor.process_model_input(message["content"]) - else: - preprocessed_prompt = message["content"] - - if preprocessed_prompt is not None: - self.full_message_list.append(self.personality.user_message_prefix+preprocessed_prompt+self.personality.link_text+self.personality.ai_message_prefix) - else: - self.full_message_list.append(self.personality.user_message_prefix+message["content"]+self.personality.link_text+self.personality.ai_message_prefix) + self.full_message_list.append(self.personality.user_message_prefix+message["content"]+self.personality.link_text+self.personality.ai_message_prefix) else: self.full_message_list.append(self.personality.ai_message_prefix+message["content"]) @@ -748,23 +740,20 @@ class LoLLMsAPPI(LollmsApplication): def generate(self, full_prompt, prompt, n_predict=50, callback=None): if self.personality.processor is not None: - if self.personality.processor_cfg is not None: - if "custom_workflow" in self.personality.processor_cfg: - if self.personality.processor_cfg["custom_workflow"]: - ASCIIColors.success("Running workflow") - try: - output = self.personality.processor.run_workflow( prompt, full_prompt, self.process_chunk) - self.process_chunk(output, MSG_TYPE.MSG_TYPE_FULL) - except Exception as ex: - # Catch the exception and get the traceback as a list of strings - traceback_lines = traceback.format_exception(type(ex), ex, ex.__traceback__) - # Join the traceback lines into a single string - traceback_text = ''.join(traceback_lines) - ASCIIColors.error(f"Workflow run failed.\nError:{ex}") - ASCIIColors.error(traceback_text) - self.process_chunk(f"Workflow run failed\nError:{ex}", MSG_TYPE.MSG_TYPE_EXCEPTION) - print("Finished executing the workflow") - return + ASCIIColors.success("Running workflow") + try: + output = self.personality.processor.run_workflow( prompt, full_prompt, self.process_chunk) + self.process_chunk(output, MSG_TYPE.MSG_TYPE_FULL) + except Exception as ex: + # Catch the exception and get the traceback as a list of strings + traceback_lines = traceback.format_exception(type(ex), ex, ex.__traceback__) + # Join the traceback lines into a single string + traceback_text = ''.join(traceback_lines) + ASCIIColors.error(f"Workflow run failed.\nError:{ex}") + ASCIIColors.error(traceback_text) + self.process_chunk(f"Workflow run failed\nError:{ex}", MSG_TYPE.MSG_TYPE_EXCEPTION) + print("Finished executing the workflow") + return self._generate(full_prompt, n_predict, callback) print("Finished executing the generation") diff --git a/app.py b/app.py index 16ecce3d..ed228636 100644 --- a/app.py +++ b/app.py @@ -127,7 +127,6 @@ class LoLLMsWebUI(LoLLMsAPPI): self.add_endpoint("/reinstall_binding", "reinstall_binding", self.reinstall_binding, methods=["POST"]) - self.add_endpoint("/switch_personal_path", "switch_personal_path", self.switch_personal_path, methods=["POST"]) self.add_endpoint("/add_reference_to_local_model", "add_reference_to_local_model", self.add_reference_to_local_model, methods=["POST"]) diff --git a/web/dist/assets/index-cff54d0e.js b/web/dist/assets/index-60e3fd61.js similarity index 75% rename from web/dist/assets/index-cff54d0e.js rename to web/dist/assets/index-60e3fd61.js index ae44e76c..d59417d9 100644 --- a/web/dist/assets/index-cff54d0e.js +++ b/web/dist/assets/index-60e3fd61.js @@ -1,4 +1,4 @@ -(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 pl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function en(t){if(we(t)){const e={};for(let n=0;n{if(n){const s=n.split(um);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Me(t){let e="";if(Ge(t))e=t;else if(we(t))for(let n=0;nTo(n,e))}const J=t=>Ge(t)?t:t==null?"":we(t)||He(t)&&(t.toString===Nf||!Se(t.toString))?JSON.stringify(t,Mf,2):String(t),Mf=(t,e)=>e&&e.__v_isRef?Mf(t,e.value):hs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ns(e)?{[`Set(${e.size})`]:[...e.values()]}:He(e)&&!we(e)&&!Df(e)?String(e):e,Ve={},fs=[],Dt=()=>{},mm=()=>!1,_m=/^on[^a-z]/,Ir=t=>_m.test(t),ml=t=>t.startsWith("onUpdate:"),tt=Object.assign,_l=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},bm=Object.prototype.hasOwnProperty,Pe=(t,e)=>bm.call(t,e),we=Array.isArray,hs=t=>Ds(t)==="[object Map]",Ns=t=>Ds(t)==="[object Set]",vc=t=>Ds(t)==="[object Date]",ym=t=>Ds(t)==="[object RegExp]",Se=t=>typeof t=="function",Ge=t=>typeof t=="string",co=t=>typeof t=="symbol",He=t=>t!==null&&typeof t=="object",Rf=t=>He(t)&&Se(t.then)&&Se(t.catch),Nf=Object.prototype.toString,Ds=t=>Nf.call(t),vm=t=>Ds(t).slice(8,-1),Df=t=>Ds(t)==="[object Object]",bl=t=>Ge(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,er=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},wm=/-(\w)/g,Gt=Pr(t=>t.replace(wm,(e,n)=>n?n.toUpperCase():"")),xm=/\B([A-Z])/g,Xn=Pr(t=>t.replace(xm,"-$1").toLowerCase()),Fr=Pr(t=>t.charAt(0).toUpperCase()+t.slice(1)),gi=Pr(t=>t?`on${Fr(t)}`:""),uo=(t,e)=>!Object.is(t,e),ps=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},pr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},km=t=>{const e=Ge(t)?Number(t):NaN;return isNaN(e)?t:e};let wc;const Em=()=>wc||(wc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ot;class Cm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ot;try{return Ot=this,e()}finally{Ot=n}}}on(){Ot=this}off(){Ot=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},Lf=t=>(t.w&Sn)>0,If=t=>(t.n&Sn)>0,Tm=({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":we(t)?bl(n)&&a.push(i.get("length")):(a.push(i.get(Vn)),hs(t)&&a.push(i.get(Na)));break;case"delete":we(t)||(a.push(i.get(Vn)),hs(t)&&a.push(i.get(Na)));break;case"set":hs(t)&&a.push(i.get(Vn));break}if(a.length===1)a[0]&&Da(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Da(yl(l))}}function Da(t,e){const n=we(t)?t:[...t];for(const s of n)s.computed&&kc(s);for(const s of n)s.computed||kc(s)}function kc(t,e){(t!==Rt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Mm=pl("__proto__,__v_isRef,__isVue"),Bf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(co)),Rm=wl(),Nm=wl(!1,!0),Dm=wl(!0),Ec=Lm();function Lm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Be(this);for(let r=0,i=this.length;r{t[e]=function(...n){Ls();const s=Be(this)[e].apply(this,n);return Is(),s}}),t}function Im(t){const e=Be(this);return ht(e,"has",t),e.hasOwnProperty(t)}function wl(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?Qm:Uf:e?$f:qf).get(s))return s;const i=we(s);if(!t){if(i&&Pe(Ec,o))return Reflect.get(Ec,o,r);if(o==="hasOwnProperty")return Im}const a=Reflect.get(s,o,r);return(co(o)?Bf.has(o):Mm(o))||(t||ht(s,"get",o),e)?a:lt(a)?i&&bl(o)?a:a.value:He(a)?t?Hf(a):Ps(a):a}}const Pm=jf(),Fm=jf(!0);function jf(t=!1){return function(n,s,o,r){let i=n[s];if(ys(i)&<(i)&&!lt(o))return!1;if(!t&&(!gr(o)&&!ys(o)&&(i=Be(i),o=Be(o)),!we(n)&<(i)&&!lt(o)))return i.value=o,!0;const a=we(n)&&bl(s)?Number(s)t,Br=t=>Reflect.getPrototypeOf(t);function Po(t,e,n=!1,s=!1){t=t.__v_raw;const o=Be(t),r=Be(e);n||(e!==r&&ht(o,"get",e),ht(o,"get",r));const{has:i}=Br(o),a=s?xl:n?Cl:fo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Fo(t,e=!1){const n=this.__v_raw,s=Be(n),o=Be(t);return e||(t!==o&&ht(s,"has",t),ht(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Bo(t,e=!1){return t=t.__v_raw,!e&&ht(Be(t),"iterate",Vn),Reflect.get(t,"size",t)}function Cc(t){t=Be(t);const e=Be(this);return Br(e).has.call(e,t)||(e.add(t),sn(e,"add",t,t)),this}function Ac(t,e){e=Be(e);const n=Be(this),{has:s,get:o}=Br(n);let r=s.call(n,t);r||(t=Be(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?uo(e,i)&&sn(n,"set",t,e):sn(n,"add",t,e),this}function Sc(t){const e=Be(this),{has:n,get:s}=Br(e);let o=n.call(e,t);o||(t=Be(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&sn(e,"delete",t,void 0),r}function Tc(){const t=Be(this),e=t.size!==0,n=t.clear();return e&&sn(t,"clear",void 0,void 0),n}function jo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Be(i),l=e?xl:t?Cl:fo;return!t&&ht(a,"iterate",Vn),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function zo(t,e,n){return function(...s){const o=this.__v_raw,r=Be(o),i=hs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?xl:e?Cl:fo;return!e&&ht(r,"iterate",l?Na:Vn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function un(t){return function(...e){return t==="delete"?!1:this}}function Um(){const t={get(r){return Po(this,r)},get size(){return Bo(this)},has:Fo,add:Cc,set:Ac,delete:Sc,clear:Tc,forEach:jo(!1,!1)},e={get(r){return Po(this,r,!1,!0)},get size(){return Bo(this)},has:Fo,add:Cc,set:Ac,delete:Sc,clear:Tc,forEach:jo(!1,!0)},n={get(r){return Po(this,r,!0)},get size(){return Bo(this,!0)},has(r){return Fo.call(this,r,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:jo(!0,!1)},s={get(r){return Po(this,r,!0,!0)},get size(){return Bo(this,!0)},has(r){return Fo.call(this,r,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:jo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=zo(r,!1,!1),n[r]=zo(r,!0,!1),e[r]=zo(r,!1,!0),s[r]=zo(r,!0,!0)}),[t,n,e,s]}const[Hm,Vm,Gm,Km]=Um();function kl(t,e){const n=e?t?Km:Gm:t?Vm:Hm;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 Wm={get:kl(!1,!1)},Zm={get:kl(!1,!0)},Ym={get:kl(!0,!1)},qf=new WeakMap,$f=new WeakMap,Uf=new WeakMap,Qm=new WeakMap;function Jm(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xm(t){return t.__v_skip||!Object.isExtensible(t)?0:Jm(vm(t))}function Ps(t){return ys(t)?t:El(t,!1,zf,Wm,qf)}function e_(t){return El(t,!1,$m,Zm,$f)}function Hf(t){return El(t,!0,qm,Ym,Uf)}function El(t,e,n,s,o){if(!He(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=Xm(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function gs(t){return ys(t)?gs(t.__v_raw):!!(t&&t.__v_isReactive)}function ys(t){return!!(t&&t.__v_isReadonly)}function gr(t){return!!(t&&t.__v_isShallow)}function Vf(t){return gs(t)||ys(t)}function Be(t){const e=t&&t.__v_raw;return e?Be(e):t}function Gf(t){return hr(t,"__v_skip",!0),t}const fo=t=>He(t)?Ps(t):t,Cl=t=>He(t)?Hf(t):t;function Kf(t){Cn&&Rt&&(t=Be(t),Ff(t.dep||(t.dep=yl())))}function Wf(t,e){t=Be(t);const n=t.dep;n&&Da(n)}function lt(t){return!!(t&&t.__v_isRef===!0)}function t_(t){return Zf(t,!1)}function n_(t){return Zf(t,!0)}function Zf(t,e){return lt(t)?t:new s_(t,e)}class s_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Be(e),this._value=n?e:fo(e)}get value(){return Kf(this),this._value}set value(e){const n=this.__v_isShallow||gr(e)||ys(e);e=n?e:Be(e),uo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:fo(e),Wf(this))}}function gt(t){return lt(t)?t.value:t}const o_={get:(t,e,n)=>gt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function Yf(t){return gs(t)?t:new Proxy(t,o_)}var Qf;class r_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Qf]=!1,this._dirty=!0,this.effect=new vl(e,()=>{this._dirty||(this._dirty=!0,Wf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Be(this);return Kf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Qf="__v_isReadonly";function i_(t,e,n=!1){let s,o;const r=Se(t);return r?(s=t,o=Dt):(s=t.get,o=t.set),new r_(s,o,r||!o,n)}function An(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){jr(r,e,n)}return o}function xt(t,e,n,s){if(Se(t)){const r=An(t,e,n,s);return r&&Rf(r)&&r.catch(i=>{jr(i,e,n)}),r}const o=[];for(let r=0;r>>1;po(it[s])Bt&&it.splice(e,1)}function u_(t){we(t)?ms.push(...t):(!Xt||!Xt.includes(t,t.allowRecurse?Fn+1:Fn))&&ms.push(t),Xf()}function Oc(t,e=ho?Bt+1:0){for(;epo(n)-po(s)),Fn=0;Fnt.id==null?1/0:t.id,d_=(t,e)=>{const n=po(t)-po(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function th(t){La=!1,ho=!0,it.sort(d_);const e=Dt;try{for(Bt=0;BtGe(g)?g.trim():g)),f&&(o=n.map(pr))}let a,l=s[a=gi(e)]||s[a=gi(Gt(e))];!l&&r&&(l=s[a=gi(Xn(e))]),l&&xt(l,t,6,o);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xt(c,t,6,o)}}function nh(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Se(t)){const l=c=>{const u=nh(c,e,!0);u&&(a=!0,tt(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(He(t)&&s.set(t,null),null):(we(r)?r.forEach(l=>i[l]=null):tt(i,r),He(t)&&s.set(t,i),i)}function zr(t,e){return!t||!Ir(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pe(t,e[0].toLowerCase()+e.slice(1))||Pe(t,Xn(e))||Pe(t,e))}let st=null,qr=null;function mr(t){const e=st;return st=t,qr=t&&t.type.__scopeId||null,e}function Fs(t){qr=t}function Bs(){qr=null}function Je(t,e=st,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&jc(-1);const r=mr(e);let i;try{i=t(...o)}finally{mr(r),s._d&&jc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function mi(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:g,ctx:p,inheritAttrs:m}=t;let v,_;const b=mr(t);try{if(n.shapeFlag&4){const C=o||s;v=Ft(u.call(C,C,f,r,g,h,p)),_=l}else{const C=e;v=Ft(C.length>1?C(r,{attrs:l,slots:a,emit:c}):C(r,null)),_=e.props?l:h_(l)}}catch(C){to.length=0,jr(C,t,1),v=Ce(kt)}let x=v;if(_&&m!==!1){const C=Object.keys(_),{shapeFlag:R}=x;C.length&&R&7&&(i&&C.some(ml)&&(_=p_(_,i)),x=on(x,_))}return n.dirs&&(x=on(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,mr(b),v}const h_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ir(n))&&((e||(e={}))[n]=t[n]);return e},p_=(t,e)=>{const n={};for(const s in t)(!ml(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function g_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Mc(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function __(t,e){e&&e.pendingBranch?we(t)?e.effects.push(...t):e.effects.push(t):u_(t)}function tr(t,e){if(We){let n=We.provides;const s=We.parent&&We.parent.provides;s===n&&(n=We.provides=Object.create(s)),n[t]=e}}function tn(t,e,n=!1){const s=We||st;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Se(e)?e.call(s.proxy):e}}const qo={};function Gn(t,e,n){return oh(t,e,n)}function oh(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ve){const a=Sm()===(We==null?void 0:We.scope)?We:null;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=gr(t)):gs(t)?(l=()=>t,s=!0):we(t)?(u=!0,c=t.some(x=>gs(x)||gr(x)),l=()=>t.map(x=>{if(lt(x))return x.value;if(gs(x))return Un(x);if(Se(x))return An(x,a,2)})):Se(t)?e?l=()=>An(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),xt(t,a,3,[h])}:l=Dt,e&&s){const x=l;l=()=>Un(x())}let f,h=x=>{f=_.onStop=()=>{An(x,a,4)}},g;if(bo)if(h=Dt,e?n&&xt(e,a,3,[l(),u?[]:void 0,h]):l(),o==="sync"){const x=c1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Dt;let p=u?new Array(t.length).fill(qo):qo;const m=()=>{if(_.active)if(e){const x=_.run();(s||c||(u?x.some((C,R)=>uo(C,p[R])):uo(x,p)))&&(f&&f(),xt(e,a,3,[x,p===qo?void 0:u&&p[0]===qo?[]:p,h]),p=x)}else _.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>nt(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),v=()=>Sl(m));const _=new vl(l,v);e?n?m():p=_.run():o==="post"?nt(_.run.bind(_),a&&a.suspense):_.run();const b=()=>{_.stop(),a&&a.scope&&_l(a.scope.effects,_)};return g&&g.push(b),b}function b_(t,e,n){const s=this.proxy,o=Ge(t)?t.includes(".")?rh(s,t):()=>s[t]:t.bind(s,s);let r;Se(e)?r=e:(r=e.handler,n=e);const i=We;ws(this);const a=oh(o,r.bind(s),n);return i?ws(i):Kn(),a}function rh(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Un(n,e)});else if(Df(t))for(const n in t)Un(t[n],e);return t}function ih(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hr(()=>{t.isMounted=!0}),Ml(()=>{t.isUnmounting=!0}),t}const bt=[Function,Array],y_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bt,onEnter:bt,onAfterEnter:bt,onEnterCancelled:bt,onBeforeLeave:bt,onLeave:bt,onAfterLeave:bt,onLeaveCancelled:bt,onBeforeAppear:bt,onAppear:bt,onAfterAppear:bt,onAppearCancelled:bt},setup(t,{slots:e}){const n=Il(),s=ih();let o;return()=>{const r=e.default&&Tl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==kt){i=m;break}}const a=Be(t),{mode:l}=a;if(s.isLeaving)return _i(i);const c=Rc(i);if(!c)return _i(i);const u=go(c,a,s,n);vs(c,u);const f=n.subTree,h=f&&Rc(f);let g=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,g=!0)}if(h&&h.type!==kt&&(!xn(c,h)||g)){const m=go(h,a,s,n);if(vs(h,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},_i(i);l==="in-out"&&c.type!==kt&&(m.delayLeave=(v,_,b)=>{const x=ah(s,h);x[String(h.key)]=h,v._leaveCb=()=>{_(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=b})}return i}}},v_=y_;function ah(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function go(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:v,onAfterAppear:_,onAppearCancelled:b}=e,x=String(t.key),C=ah(n,t),R=(y,k)=>{y&&xt(y,s,9,k)},T=(y,k)=>{const S=k[1];R(y,k),we(y)?y.every(L=>L.length<=1)&&S():y.length<=1&&S()},D={mode:r,persisted:i,beforeEnter(y){let k=a;if(!n.isMounted)if(o)k=m||a;else return;y._leaveCb&&y._leaveCb(!0);const S=C[x];S&&xn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),R(k,[y])},enter(y){let k=l,S=c,L=u;if(!n.isMounted)if(o)k=v||l,S=_||c,L=b||u;else return;let F=!1;const Y=y._enterCb=I=>{F||(F=!0,I?R(L,[y]):R(S,[y]),D.delayedLeave&&D.delayedLeave(),y._enterCb=void 0)};k?T(k,[y,Y]):Y()},leave(y,k){const S=String(t.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return k();R(f,[y]);let L=!1;const F=y._leaveCb=Y=>{L||(L=!0,k(),Y?R(p,[y]):R(g,[y]),y._leaveCb=void 0,C[S]===t&&delete C[S])};C[S]=t,h?T(h,[y,F]):F()},clone(y){return go(y,e,n,s)}};return D}function _i(t){if($r(t))return t=on(t),t.children=null,t}function Rc(t){return $r(t)?t.children?t.children[0]:void 0:t}function vs(t,e){t.shapeFlag&6&&t.component?vs(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 Tl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,$r=t=>t.type.__isKeepAlive,w_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Il(),s=n.ctx;if(!s.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,h=f("div");s.activate=(b,x,C,R,T)=>{const D=b.component;c(b,x,C,0,a),l(D.vnode,b,x,C,D,a,R,b.slotScopeIds,T),nt(()=>{D.isDeactivated=!1,D.a&&ps(D.a);const y=b.props&&b.props.onVnodeMounted;y&&yt(y,D.parent,b)},a)},s.deactivate=b=>{const x=b.component;c(b,h,null,1,a),nt(()=>{x.da&&ps(x.da);const C=b.props&&b.props.onVnodeUnmounted;C&&yt(C,x.parent,b),x.isDeactivated=!0},a)};function g(b){bi(b),u(b,n,a,!0)}function p(b){o.forEach((x,C)=>{const R=za(x.type);R&&(!b||!b(R))&&m(C)})}function m(b){const x=o.get(b);!i||!xn(x,i)?g(x):i&&bi(i),o.delete(b),r.delete(b)}Gn(()=>[t.include,t.exclude],([b,x])=>{b&&p(C=>Js(b,C)),x&&p(C=>!Js(x,C))},{flush:"post",deep:!0});let v=null;const _=()=>{v!=null&&o.set(v,yi(n.subTree))};return Hr(_),Ol(_),Ml(()=>{o.forEach(b=>{const{subTree:x,suspense:C}=n,R=yi(x);if(b.type===R.type&&b.key===R.key){bi(R);const T=R.component.da;T&&nt(T,C);return}g(b)})}),()=>{if(v=null,!e.default)return null;const b=e.default(),x=b[0];if(b.length>1)return i=null,b;if(!_o(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let C=yi(x);const R=C.type,T=za(_s(C)?C.type.__asyncResolved||{}:R),{include:D,exclude:y,max:k}=t;if(D&&(!T||!Js(D,T))||y&&T&&Js(y,T))return i=C,x;const S=C.key==null?R:C.key,L=o.get(S);return C.el&&(C=on(C),x.shapeFlag&128&&(x.ssContent=C)),v=S,L?(C.el=L.el,C.component=L.component,C.transition&&vs(C,C.transition),C.shapeFlag|=512,r.delete(S),r.add(S)):(r.add(S),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),C.shapeFlag|=256,i=C,sh(x.type)?x:C}}},x_=w_;function Js(t,e){return we(t)?t.some(n=>Js(n,e)):Ge(t)?t.split(",").includes(e):ym(t)?t.test(e):!1}function k_(t,e){ch(t,"a",e)}function E_(t,e){ch(t,"da",e)}function ch(t,e,n=We){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Ur(e,s,n),n){let o=n.parent;for(;o&&o.parent;)$r(o.parent.vnode)&&C_(s,e,n,o),o=o.parent}}function C_(t,e,n,s){const o=Ur(e,t,s,!0);uh(()=>{_l(s[e],o)},n)}function bi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function yi(t){return t.shapeFlag&128?t.ssContent:t}function Ur(t,e,n=We,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ls(),ws(n);const a=xt(e,n,t,i);return Kn(),Is(),a});return s?o.unshift(r):o.push(r),r}}const ln=t=>(e,n=We)=>(!bo||t==="sp")&&Ur(t,(...s)=>e(...s),n),A_=ln("bm"),Hr=ln("m"),S_=ln("bu"),Ol=ln("u"),Ml=ln("bum"),uh=ln("um"),T_=ln("sp"),O_=ln("rtg"),M_=ln("rtc");function R_(t,e=We){Ur("ec",t,e)}function Oe(t,e){const n=st;if(n===null)return t;const s=Kr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;a_o(e)?!(e.type===kt||e.type===Ie&&!ph(e.children)):!0)?t:null}const Ia=t=>t?Ch(t)?Kr(t)||t.proxy:Ia(t.parent):null,eo=tt(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=>Ia(t.parent),$root:t=>Ia(t.root),$emit:t=>t.emit,$options:t=>Nl(t),$forceUpdate:t=>t.f||(t.f=()=>Sl(t.update)),$nextTick:t=>t.n||(t.n=ge.bind(t.proxy)),$watch:t=>b_.bind(t)}),vi=(t,e)=>t!==Ve&&!t.__isScriptSetup&&Pe(t,e),D_={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(vi(s,e))return i[e]=1,s[e];if(o!==Ve&&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!==Ve&&Pe(n,e))return i[e]=4,n[e];Pa&&(i[e]=0)}}const u=eo[e];let f,h;if(u)return e==="$attrs"&&ht(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==Ve&&Pe(n,e))return i[e]=4,n[e];if(h=l.config.globalProperties,Pe(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return vi(o,e)?(o[e]=n,!0):s!==Ve&&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!==Ve&&Pe(t,i)||vi(e,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(eo,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 Pa=!0;function L_(t){const e=Nl(t),n=t.proxy,s=t.ctx;Pa=!1,e.beforeCreate&&Dc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:g,updated:p,activated:m,deactivated:v,beforeDestroy:_,beforeUnmount:b,destroyed:x,unmounted:C,render:R,renderTracked:T,renderTriggered:D,errorCaptured:y,serverPrefetch:k,expose:S,inheritAttrs:L,components:F,directives:Y,filters:I}=e;if(c&&I_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const $=i[A];Se($)&&(s[A]=$.bind(n))}if(o){const A=o.call(n,n);He(A)&&(t.data=Ps(A))}if(Pa=!0,r)for(const A in r){const $=r[A],V=Se($)?$.bind(n,n):Se($.get)?$.get.bind(n,n):Dt,me=!Se($)&&Se($.set)?$.set.bind(n):Dt,pe=wt({get:V,set:me});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:ee=>pe.value=ee})}if(a)for(const A in a)gh(a[A],s,n,A);if(l){const A=Se(l)?l.call(n):l;Reflect.ownKeys(A).forEach($=>{tr($,A[$])})}u&&Dc(u,t,"c");function W(A,$){we($)?$.forEach(V=>A(V.bind(n))):$&&A($.bind(n))}if(W(A_,f),W(Hr,h),W(S_,g),W(Ol,p),W(k_,m),W(E_,v),W(R_,y),W(M_,T),W(O_,D),W(Ml,b),W(uh,C),W(T_,k),we(S))if(S.length){const A=t.exposed||(t.exposed={});S.forEach($=>{Object.defineProperty(A,$,{get:()=>n[$],set:V=>n[$]=V})})}else t.exposed||(t.exposed={});R&&t.render===Dt&&(t.render=R),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Y&&(t.directives=Y)}function I_(t,e,n=Dt,s=!1){we(t)&&(t=Fa(t));for(const o in t){const r=t[o];let i;He(r)?"default"in r?i=tn(r.from||o,r.default,!0):i=tn(r.from||o):i=tn(r),lt(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Dc(t,e,n){xt(we(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function gh(t,e,n,s){const o=s.includes(".")?rh(n,s):()=>n[s];if(Ge(t)){const r=e[t];Se(r)&&Gn(o,r)}else if(Se(t))Gn(o,t.bind(n));else if(He(t))if(we(t))t.forEach(r=>gh(r,e,n,s));else{const r=Se(t.handler)?t.handler.bind(n):e[t.handler];Se(r)&&Gn(o,r,t)}}function Nl(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=>_r(l,c,i,!0)),_r(l,e,i)),He(e)&&r.set(e,l),l}function _r(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&_r(t,r,n,!0),o&&o.forEach(i=>_r(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=P_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const P_={data:Lc,props:In,emits:In,methods:In,computed:In,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:In,directives:In,watch:B_,provide:Lc,inject:F_};function Lc(t,e){return e?t?function(){return tt(Se(t)?t.call(this,this):t,Se(e)?e.call(this,this):e)}:e:t}function F_(t,e){return In(Fa(t),Fa(e))}function Fa(t){if(we(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,g]=_h(f,e,!0);tt(i,h),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 He(t)&&s.set(t,fs),fs;if(we(r))for(let u=0;u-1,g[1]=m<0||p-1||Pe(g,"default"))&&a.push(f)}}}const c=[i,a];return He(t)&&s.set(t,c),c}function Ic(t){return t[0]!=="$"}function Pc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Fc(t,e){return Pc(t)===Pc(e)}function Bc(t,e){return we(e)?e.findIndex(n=>Fc(n,t)):Se(e)&&Fc(e,t)?0:-1}const bh=t=>t[0]==="_"||t==="$stable",Dl=t=>we(t)?t.map(Ft):[Ft(t)],q_=(t,e,n)=>{if(e._n)return e;const s=Je((...o)=>Dl(e(...o)),n);return s._c=!1,s},yh=(t,e,n)=>{const s=t._ctx;for(const o in t){if(bh(o))continue;const r=t[o];if(Se(r))e[o]=q_(o,r,s);else if(r!=null){const i=Dl(r);e[o]=()=>i}}},vh=(t,e)=>{const n=Dl(e);t.slots.default=()=>n},$_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Be(e),hr(e,"_",n)):yh(e,t.slots={})}else t.slots={},e&&vh(t,e);hr(t.slots,Gr,1)},U_=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ve;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(tt(o,e),!n&&a===1&&delete o._):(r=!e.$stable,yh(e,o)),i=e}else e&&(vh(t,e),i={default:1});if(r)for(const a in o)!bh(a)&&!(a in i)&&delete o[a]};function wh(){return{app:null,config:{isNativeTag:mm,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 H_=0;function V_(t,e){return function(s,o=null){Se(s)||(s=Object.assign({},s)),o!=null&&!He(o)&&(o=null);const r=wh(),i=new Set;let a=!1;const l=r.app={_uid:H_++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:u1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Se(c.install)?(i.add(c),c.install(l,...u)):Se(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=Ce(s,o);return h.appContext=r,u&&e?e(h,c):t(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Kr(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function ja(t,e,n,s,o=!1){if(we(t)){t.forEach((h,g)=>ja(h,e&&(we(e)?e[g]:e),n,s,o));return}if(_s(s)&&!o)return;const r=s.shapeFlag&4?Kr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ge(c)?(u[c]=null,Pe(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),Se(l))An(l,a,12,[i,u]);else{const h=Ge(l),g=lt(l);if(h||g){const p=()=>{if(t.f){const m=h?Pe(f,l)?f[l]:u[l]:l.value;o?we(m)&&_l(m,r):we(m)?m.includes(r)||m.push(r):h?(u[l]=[r],Pe(f,l)&&(f[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=i,Pe(f,l)&&(f[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(p.id=-1,nt(p,n)):p()}}}const nt=__;function G_(t){return K_(t)}function K_(t,e){const n=Em();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:g=Dt,insertStaticContent:p}=t,m=(w,E,P,B=null,j=null,ne=null,re=!1,z=null,se=!!E.dynamicChildren)=>{if(w===E)return;w&&!xn(w,E)&&(B=H(w),ee(w,j,ne,!0),w=null),E.patchFlag===-2&&(se=!1,E.dynamicChildren=null);const{type:q,ref:Z,shapeFlag:ie}=E;switch(q){case Vr:v(w,E,P,B);break;case kt:_(w,E,P,B);break;case nr:w==null&&b(E,P,B,re);break;case Ie:F(w,E,P,B,j,ne,re,z,se);break;default:ie&1?R(w,E,P,B,j,ne,re,z,se):ie&6?Y(w,E,P,B,j,ne,re,z,se):(ie&64||ie&128)&&q.process(w,E,P,B,j,ne,re,z,se,X)}Z!=null&&j&&ja(Z,w&&w.ref,ne,E||w,!E)},v=(w,E,P,B)=>{if(w==null)s(E.el=a(E.children),P,B);else{const j=E.el=w.el;E.children!==w.children&&c(j,E.children)}},_=(w,E,P,B)=>{w==null?s(E.el=l(E.children||""),P,B):E.el=w.el},b=(w,E,P,B)=>{[w.el,w.anchor]=p(w.children,E,P,B,w.el,w.anchor)},x=({el:w,anchor:E},P,B)=>{let j;for(;w&&w!==E;)j=h(w),s(w,P,B),w=j;s(E,P,B)},C=({el:w,anchor:E})=>{let P;for(;w&&w!==E;)P=h(w),o(w),w=P;o(E)},R=(w,E,P,B,j,ne,re,z,se)=>{re=re||E.type==="svg",w==null?T(E,P,B,j,ne,re,z,se):k(w,E,j,ne,re,z,se)},T=(w,E,P,B,j,ne,re,z)=>{let se,q;const{type:Z,props:ie,shapeFlag:de,transition:ce,dirs:ye}=w;if(se=w.el=i(w.type,ne,ie&&ie.is,ie),de&8?u(se,w.children):de&16&&y(w.children,se,null,B,j,ne&&Z!=="foreignObject",re,z),ye&&Rn(w,null,B,"created"),D(se,w,w.scopeId,re,B),ie){for(const oe in ie)oe!=="value"&&!er(oe)&&r(se,oe,null,ie[oe],ne,w.children,B,j,Q);"value"in ie&&r(se,"value",null,ie.value),(q=ie.onVnodeBeforeMount)&&yt(q,B,w)}ye&&Rn(w,null,B,"beforeMount");const K=(!j||j&&!j.pendingBranch)&&ce&&!ce.persisted;K&&ce.beforeEnter(se),s(se,E,P),((q=ie&&ie.onVnodeMounted)||K||ye)&&nt(()=>{q&&yt(q,B,w),K&&ce.enter(se),ye&&Rn(w,null,B,"mounted")},j)},D=(w,E,P,B,j)=>{if(P&&g(w,P),B)for(let ne=0;ne{for(let q=se;q{const z=E.el=w.el;let{patchFlag:se,dynamicChildren:q,dirs:Z}=E;se|=w.patchFlag&16;const ie=w.props||Ve,de=E.props||Ve;let ce;P&&Nn(P,!1),(ce=de.onVnodeBeforeUpdate)&&yt(ce,P,E,w),Z&&Rn(E,w,P,"beforeUpdate"),P&&Nn(P,!0);const ye=j&&E.type!=="foreignObject";if(q?S(w.dynamicChildren,q,z,P,B,ye,ne):re||$(w,E,z,null,P,B,ye,ne,!1),se>0){if(se&16)L(z,E,ie,de,P,B,j);else if(se&2&&ie.class!==de.class&&r(z,"class",null,de.class,j),se&4&&r(z,"style",ie.style,de.style,j),se&8){const K=E.dynamicProps;for(let oe=0;oe{ce&&yt(ce,P,E,w),Z&&Rn(E,w,P,"updated")},B)},S=(w,E,P,B,j,ne,re)=>{for(let z=0;z{if(P!==B){if(P!==Ve)for(const z in P)!er(z)&&!(z in B)&&r(w,z,P[z],null,re,E.children,j,ne,Q);for(const z in B){if(er(z))continue;const se=B[z],q=P[z];se!==q&&z!=="value"&&r(w,z,q,se,re,E.children,j,ne,Q)}"value"in B&&r(w,"value",P.value,B.value)}},F=(w,E,P,B,j,ne,re,z,se)=>{const q=E.el=w?w.el:a(""),Z=E.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:de,slotScopeIds:ce}=E;ce&&(z=z?z.concat(ce):ce),w==null?(s(q,P,B),s(Z,P,B),y(E.children,P,Z,j,ne,re,z,se)):ie>0&&ie&64&&de&&w.dynamicChildren?(S(w.dynamicChildren,de,P,j,ne,re,z),(E.key!=null||j&&E===j.subTree)&&xh(w,E,!0)):$(w,E,P,Z,j,ne,re,z,se)},Y=(w,E,P,B,j,ne,re,z,se)=>{E.slotScopeIds=z,w==null?E.shapeFlag&512?j.ctx.activate(E,P,B,re,se):I(E,P,B,j,ne,re,se):ae(w,E,se)},I=(w,E,P,B,j,ne,re)=>{const z=w.component=n1(w,B,j);if($r(w)&&(z.ctx.renderer=X),s1(z),z.asyncDep){if(j&&j.registerDep(z,W),!w.el){const se=z.subTree=Ce(kt);_(null,se,E,P)}return}W(z,w,E,P,j,ne,re)},ae=(w,E,P)=>{const B=E.component=w.component;if(g_(w,E,P))if(B.asyncDep&&!B.asyncResolved){A(B,E,P);return}else B.next=E,c_(B.update),B.update();else E.el=w.el,B.vnode=E},W=(w,E,P,B,j,ne,re)=>{const z=()=>{if(w.isMounted){let{next:Z,bu:ie,u:de,parent:ce,vnode:ye}=w,K=Z,oe;Nn(w,!1),Z?(Z.el=ye.el,A(w,Z,re)):Z=ye,ie&&ps(ie),(oe=Z.props&&Z.props.onVnodeBeforeUpdate)&&yt(oe,ce,Z,ye),Nn(w,!0);const he=mi(w),ke=w.subTree;w.subTree=he,m(ke,he,f(ke.el),H(ke),w,j,ne),Z.el=he.el,K===null&&m_(w,he.el),de&&nt(de,j),(oe=Z.props&&Z.props.onVnodeUpdated)&&nt(()=>yt(oe,ce,Z,ye),j)}else{let Z;const{el:ie,props:de}=E,{bm:ce,m:ye,parent:K}=w,oe=_s(E);if(Nn(w,!1),ce&&ps(ce),!oe&&(Z=de&&de.onVnodeBeforeMount)&&yt(Z,K,E),Nn(w,!0),ie&&le){const he=()=>{w.subTree=mi(w),le(ie,w.subTree,w,j,null)};oe?E.type.__asyncLoader().then(()=>!w.isUnmounted&&he()):he()}else{const he=w.subTree=mi(w);m(null,he,P,B,w,j,ne),E.el=he.el}if(ye&&nt(ye,j),!oe&&(Z=de&&de.onVnodeMounted)){const he=E;nt(()=>yt(Z,K,he),j)}(E.shapeFlag&256||K&&_s(K.vnode)&&K.vnode.shapeFlag&256)&&w.a&&nt(w.a,j),w.isMounted=!0,E=P=B=null}},se=w.effect=new vl(z,()=>Sl(q),w.scope),q=w.update=()=>se.run();q.id=w.uid,Nn(w,!0),q()},A=(w,E,P)=>{E.component=w;const B=w.vnode.props;w.vnode=E,w.next=null,z_(w,E.props,B,P),U_(w,E.children,P),Ls(),Oc(),Is()},$=(w,E,P,B,j,ne,re,z,se=!1)=>{const q=w&&w.children,Z=w?w.shapeFlag:0,ie=E.children,{patchFlag:de,shapeFlag:ce}=E;if(de>0){if(de&128){me(q,ie,P,B,j,ne,re,z,se);return}else if(de&256){V(q,ie,P,B,j,ne,re,z,se);return}}ce&8?(Z&16&&Q(q,j,ne),ie!==q&&u(P,ie)):Z&16?ce&16?me(q,ie,P,B,j,ne,re,z,se):Q(q,j,ne,!0):(Z&8&&u(P,""),ce&16&&y(ie,P,B,j,ne,re,z,se))},V=(w,E,P,B,j,ne,re,z,se)=>{w=w||fs,E=E||fs;const q=w.length,Z=E.length,ie=Math.min(q,Z);let de;for(de=0;deZ?Q(w,j,ne,!0,!1,ie):y(E,P,B,j,ne,re,z,se,ie)},me=(w,E,P,B,j,ne,re,z,se)=>{let q=0;const Z=E.length;let ie=w.length-1,de=Z-1;for(;q<=ie&&q<=de;){const ce=w[q],ye=E[q]=se?gn(E[q]):Ft(E[q]);if(xn(ce,ye))m(ce,ye,P,null,j,ne,re,z,se);else break;q++}for(;q<=ie&&q<=de;){const ce=w[ie],ye=E[de]=se?gn(E[de]):Ft(E[de]);if(xn(ce,ye))m(ce,ye,P,null,j,ne,re,z,se);else break;ie--,de--}if(q>ie){if(q<=de){const ce=de+1,ye=cede)for(;q<=ie;)ee(w[q],j,ne,!0),q++;else{const ce=q,ye=q,K=new Map;for(q=ye;q<=de;q++){const Qe=E[q]=se?gn(E[q]):Ft(E[q]);Qe.key!=null&&K.set(Qe.key,q)}let oe,he=0;const ke=de-ye+1;let Le=!1,Ue=0;const Ne=new Array(ke);for(q=0;q=ke){ee(Qe,j,ne,!0);continue}let rt;if(Qe.key!=null)rt=K.get(Qe.key);else for(oe=ye;oe<=de;oe++)if(Ne[oe-ye]===0&&xn(Qe,E[oe])){rt=oe;break}rt===void 0?ee(Qe,j,ne,!0):(Ne[rt-ye]=q+1,rt>=Ue?Ue=rt:Le=!0,m(Qe,E[rt],P,null,j,ne,re,z,se),he++)}const Ze=Le?W_(Ne):fs;for(oe=Ze.length-1,q=ke-1;q>=0;q--){const Qe=ye+q,rt=E[Qe],yc=Qe+1{const{el:ne,type:re,transition:z,children:se,shapeFlag:q}=w;if(q&6){pe(w.component.subTree,E,P,B);return}if(q&128){w.suspense.move(E,P,B);return}if(q&64){re.move(w,E,P,X);return}if(re===Ie){s(ne,E,P);for(let ie=0;iez.enter(ne),j);else{const{leave:ie,delayLeave:de,afterLeave:ce}=z,ye=()=>s(ne,E,P),K=()=>{ie(ne,()=>{ye(),ce&&ce()})};de?de(ne,ye,K):K()}else s(ne,E,P)},ee=(w,E,P,B=!1,j=!1)=>{const{type:ne,props:re,ref:z,children:se,dynamicChildren:q,shapeFlag:Z,patchFlag:ie,dirs:de}=w;if(z!=null&&ja(z,null,P,w,!0),Z&256){E.ctx.deactivate(w);return}const ce=Z&1&&de,ye=!_s(w);let K;if(ye&&(K=re&&re.onVnodeBeforeUnmount)&&yt(K,E,w),Z&6)N(w.component,P,B);else{if(Z&128){w.suspense.unmount(P,B);return}ce&&Rn(w,null,E,"beforeUnmount"),Z&64?w.type.remove(w,E,P,j,X,B):q&&(ne!==Ie||ie>0&&ie&64)?Q(q,E,P,!1,!0):(ne===Ie&&ie&384||!j&&Z&16)&&Q(se,E,P),B&&_e(w)}(ye&&(K=re&&re.onVnodeUnmounted)||ce)&&nt(()=>{K&&yt(K,E,w),ce&&Rn(w,null,E,"unmounted")},P)},_e=w=>{const{type:E,el:P,anchor:B,transition:j}=w;if(E===Ie){xe(P,B);return}if(E===nr){C(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()},xe=(w,E)=>{let P;for(;w!==E;)P=h(w),o(w),w=P;o(E)},N=(w,E,P)=>{const{bum:B,scope:j,update:ne,subTree:re,um:z}=w;B&&ps(B),j.stop(),ne&&(ne.active=!1,ee(re,w,E,P)),z&&nt(z,E),nt(()=>{w.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},Q=(w,E,P,B=!1,j=!1,ne=0)=>{for(let re=ne;rew.shapeFlag&6?H(w.component.subTree):w.shapeFlag&128?w.suspense.next():h(w.anchor||w.el),te=(w,E,P)=>{w==null?E._vnode&&ee(E._vnode,null,null,!0):m(E._vnode||null,w,E,null,null,null,P),Oc(),eh(),E._vnode=w},X={p:m,um:ee,m:pe,r:_e,mt:I,mc:y,pc:$,pbc:S,n:H,o:t};let fe,le;return e&&([fe,le]=e(X)),{render:te,hydrate:fe,createApp:V_(te,fe)}}function Nn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function xh(t,e,n=!1){const s=t.children,o=e.children;if(we(s)&&we(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 Z_=t=>t.__isTeleport,Ie=Symbol(void 0),Vr=Symbol(void 0),kt=Symbol(void 0),nr=Symbol(void 0),to=[];let Nt=null;function O(t=!1){to.push(Nt=t?null:[])}function Y_(){to.pop(),Nt=to[to.length-1]||null}let mo=1;function jc(t){mo+=t}function kh(t){return t.dynamicChildren=mo>0?Nt||fs:null,Y_(),mo>0&&Nt&&Nt.push(t),t}function M(t,e,n,s,o,r){return kh(d(t,e,n,s,o,r,!0))}function at(t,e,n,s,o){return kh(Ce(t,e,n,s,o,!0))}function _o(t){return t?t.__v_isVNode===!0:!1}function xn(t,e){return t.type===e.type&&t.key===e.key}const Gr="__vInternal",Eh=({key:t})=>t??null,sr=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ge(t)||lt(t)||Se(t)?{i:st,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Eh(e),ref:e&&sr(e),scopeId:qr,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:st};return a?(Ll(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),mo>0&&!i&&Nt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Nt.push(l),l}const Ce=Q_;function Q_(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===dh)&&(t=kt),_o(t)){const a=on(t,e,!0);return n&&Ll(a,n),mo>0&&!r&&Nt&&(a.shapeFlag&6?Nt[Nt.indexOf(t)]=a:Nt.push(a)),a.patchFlag|=-2,a}if(a1(t)&&(t=t.__vccOpts),e){e=J_(e);let{class:a,style:l}=e;a&&!Ge(a)&&(e.class=Me(a)),He(l)&&(Vf(l)&&!we(l)&&(l=tt({},l)),e.style=en(l))}const i=Ge(t)?1:sh(t)?128:Z_(t)?64:He(t)?4:Se(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function J_(t){return t?Vf(t)||Gr in t?tt({},t):t:null}function on(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?X_(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Eh(a),ref:e&&e.ref?n&&o?we(o)?o.concat(sr(e)):[o,sr(e)]:sr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ie?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ve(t=" ",e=0){return Ce(Vr,null,t,e)}function js(t,e){const n=Ce(nr,null,t);return n.staticCount=e,n}function U(t="",e=!1){return e?(O(),at(kt,null,t)):Ce(kt,null,t)}function Ft(t){return t==null||typeof t=="boolean"?Ce(kt):we(t)?Ce(Ie,null,t.slice()):typeof t=="object"?gn(t):Ce(Vr,null,String(t))}function gn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:on(t)}function Ll(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(we(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Ll(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Gr in e)?e._ctx=st:o===3&&st&&(st.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Se(e)?(e={default:e,_ctx:st},n=32):(e=String(e),s&64?(n=16,e=[ve(e)]):n=8);t.children=e,t.shapeFlag|=n}function X_(...t){const e={};for(let n=0;nWe||st,ws=t=>{We=t,t.scope.on()},Kn=()=>{We&&We.scope.off(),We=null};function Ch(t){return t.vnode.shapeFlag&4}let bo=!1;function s1(t,e=!1){bo=e;const{props:n,children:s}=t.vnode,o=Ch(t);j_(t,n,o,e),$_(t,s);const r=o?o1(t,e):void 0;return bo=!1,r}function o1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Gf(new Proxy(t.ctx,D_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?i1(t):null;ws(t),Ls();const r=An(s,t,0,[t.props,o]);if(Is(),Kn(),Rf(r)){if(r.then(Kn,Kn),e)return r.then(i=>{zc(t,i,e)}).catch(i=>{jr(i,t,0)});t.asyncDep=r}else zc(t,r,e)}else Ah(t,e)}function zc(t,e,n){Se(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:He(e)&&(t.setupState=Yf(e)),Ah(t,n)}let qc;function Ah(t,e,n){const s=t.type;if(!t.render){if(!e&&qc&&!s.render){const o=s.template||Nl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=tt(tt({isCustomElement:r,delimiters:a},i),l);s.render=qc(o,c)}}t.render=s.render||Dt}ws(t),Ls(),L_(t),Is(),Kn()}function r1(t){return new Proxy(t.attrs,{get(e,n){return ht(t,"get","$attrs"),e[n]}})}function i1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=r1(t))},slots:t.slots,emit:t.emit,expose:e}}function Kr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Yf(Gf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in eo)return eo[n](t)},has(e,n){return n in e||n in eo}}))}function za(t,e=!0){return Se(t)?t.displayName||t.name:t.name||e&&t.__name}function a1(t){return Se(t)&&"__vccOpts"in t}const wt=(t,e)=>i_(t,e,bo);function Sh(t,e,n){const s=arguments.length;return s===2?He(e)&&!we(e)?_o(e)?Ce(t,null,[e]):Ce(t,e):Ce(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_o(n)&&(n=[n]),Ce(t,e,n))}const l1=Symbol(""),c1=()=>tn(l1),u1="3.2.47",d1="http://www.w3.org/2000/svg",Bn=typeof document<"u"?document:null,$c=Bn&&Bn.createElement("template"),f1={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?Bn.createElementNS(d1,t):Bn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Bn.createTextNode(t),createComment:t=>Bn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Bn.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{$c.innerHTML=s?`${t}`:t;const a=$c.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 h1(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 p1(t,e,n){const s=t.style,o=Ge(n);if(n&&!o){if(e&&!Ge(e))for(const r in e)n[r]==null&&qa(s,r,"");for(const r in n)qa(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 Uc=/\s*!important$/;function qa(t,e,n){if(we(n))n.forEach(s=>qa(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=g1(t,e);Uc.test(n)?t.setProperty(Xn(s),n.replace(Uc,""),"important"):t[s]=n}}const Hc=["Webkit","Moz","ms"],wi={};function g1(t,e){const n=wi[e];if(n)return n;let s=Gt(e);if(s!=="filter"&&s in t)return wi[e]=s;s=Fr(s);for(let o=0;oxi||(w1.then(()=>xi=0),xi=Date.now());function k1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xt(E1(s,n.value),e,5,[s])};return n.value=t,n.attached=x1(),n}function E1(t,e){if(we(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 Kc=/^on[a-z]/,C1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?h1(t,s,o):e==="style"?p1(t,n,s):Ir(e)?ml(e)||y1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):A1(t,e,s,o))?_1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),m1(t,e,s,o))};function A1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Kc.test(e)&&Se(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Kc.test(e)&&Ge(n)?!1:e in t}const dn="transition",Gs="animation",Th={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},S1=tt({},v_.props,Th),Dn=(t,e=[])=>{we(t)?t.forEach(n=>n(...e)):t&&t(...e)},Wc=t=>t?we(t)?t.some(e=>e.length>1):t.length>1:!1;function T1(t){const e={};for(const F in t)F in Th||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,p=O1(o),m=p&&p[0],v=p&&p[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:x,onLeave:C,onLeaveCancelled:R,onBeforeAppear:T=_,onAppear:D=b,onAppearCancelled:y=x}=e,k=(F,Y,I)=>{pn(F,Y?u:a),pn(F,Y?c:i),I&&I()},S=(F,Y)=>{F._isLeaving=!1,pn(F,f),pn(F,g),pn(F,h),Y&&Y()},L=F=>(Y,I)=>{const ae=F?D:b,W=()=>k(Y,F,I);Dn(ae,[Y,W]),Zc(()=>{pn(Y,F?l:r),Jt(Y,F?u:a),Wc(ae)||Yc(Y,s,m,W)})};return tt(e,{onBeforeEnter(F){Dn(_,[F]),Jt(F,r),Jt(F,i)},onBeforeAppear(F){Dn(T,[F]),Jt(F,l),Jt(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Y){F._isLeaving=!0;const I=()=>S(F,Y);Jt(F,f),Mh(),Jt(F,h),Zc(()=>{F._isLeaving&&(pn(F,f),Jt(F,g),Wc(C)||Yc(F,s,v,I))}),Dn(C,[F,I])},onEnterCancelled(F){k(F,!1),Dn(x,[F])},onAppearCancelled(F){k(F,!0),Dn(y,[F])},onLeaveCancelled(F){S(F),Dn(R,[F])}})}function O1(t){if(t==null)return null;if(He(t))return[ki(t.enter),ki(t.leave)];{const e=ki(t);return[e,e]}}function ki(t){return km(t)}function Jt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function pn(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 Zc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let M1=0;function Yc(t,e,n,s){const o=t._endId=++M1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Oh(t,e);if(!i)return s();const c=i+"end";let u=0;const f=()=>{t.removeEventListener(c,h),r()},h=g=>{g.target===t&&++u>=l&&f()};setTimeout(()=>{u(n[p]||"").split(", "),o=s(`${dn}Delay`),r=s(`${dn}Duration`),i=Qc(o,r),a=s(`${Gs}Delay`),l=s(`${Gs}Duration`),c=Qc(a,l);let u=null,f=0,h=0;e===dn?i>0&&(u=dn,f=i,h=r.length):e===Gs?c>0&&(u=Gs,f=c,h=l.length):(f=Math.max(i,c),u=f>0?i>c?dn:Gs:null,h=u?u===dn?r.length:l.length:0);const g=u===dn&&/\b(transform|all)(,|$)/.test(s(`${dn}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:g}}function Qc(t,e){for(;t.lengthJc(n)+Jc(t[s])))}function Jc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Mh(){return document.body.offsetHeight}const Rh=new WeakMap,Nh=new WeakMap,Dh={name:"TransitionGroup",props:tt({},S1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Il(),s=ih();let o,r;return Ol(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!I1(o[0].el,n.vnode.el,i))return;o.forEach(N1),o.forEach(D1);const a=o.filter(L1);Mh(),a.forEach(l=>{const c=l.el,u=c.style;Jt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,pn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Be(t),a=T1(i);let l=i.tag||Ie;o=r,r=e.default?Tl(e.default()):[];for(let c=0;cdelete t.mode;Dh.props;const jt=Dh;function N1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function D1(t){Nh.set(t,t.el.getBoundingClientRect())}function L1(t){const e=Rh.get(t),n=Nh.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function I1(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}=Oh(s);return o.removeChild(s),r}const xs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return we(e)?n=>ps(e,n):e};function P1(t){t.target.composing=!0}function Xc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const je={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=xs(o);const r=s||o.props&&o.props.type==="number";kn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=pr(a)),t._assign(a)}),n&&kn(t,"change",()=>{t.value=t.value.trim()}),e||(kn(t,"compositionstart",P1),kn(t,"compositionend",Xc),kn(t,"change",Xc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=xs(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&pr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},mn={deep:!0,created(t,e,n){t._assign=xs(n),kn(t,"change",()=>{const s=t._modelValue,o=yo(t),r=t.checked,i=t._assign;if(we(s)){const a=gl(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(Ns(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Lh(t,r))})},mounted:eu,beforeUpdate(t,e,n){t._assign=xs(n),eu(t,e,n)}};function eu(t,{value:e,oldValue:n},s){t._modelValue=e,we(e)?t.checked=gl(e,s.props.value)>-1:Ns(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=To(e,Lh(t,!0)))}const F1={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ns(e);kn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?pr(yo(i)):yo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=xs(s)},mounted(t,{value:e}){tu(t,e)},beforeUpdate(t,e,n){t._assign=xs(n)},updated(t,{value:e}){tu(t,e)}};function tu(t,e){const n=t.multiple;if(!(n&&!we(e)&&!Ns(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(To(yo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function yo(t){return"_value"in t?t._value:t.value}function Lh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const B1=["ctrl","shift","alt","meta"],j1={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)=>B1.some(n=>t[`${n}Key`]&&!e.includes(n))},ue=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=Xn(n.key);if(e.some(o=>o===s||z1[o]===s))return t(n)},q1=tt({patchProp:C1},f1);let nu;function $1(){return nu||(nu=G_(q1))}const U1=(...t)=>{const e=$1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=H1(s);if(!o)return;const r=e._component;!Se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function H1(t){return Ge(t)?document.querySelector(t):t}function V1(){return Ih().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ih(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const G1=typeof Proxy=="function",K1="devtools-plugin:setup",W1="plugin:settings:set";let ss,Ua;function Z1(){var t;return ss!==void 0||(typeof window<"u"&&window.performance?(ss=!0,Ua=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ss=!0,Ua=global.perf_hooks.performance):ss=!1),ss}function Y1(){return Z1()?Ua.now():Date.now()}class Q1{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 Y1()}},n&&n.on(W1,(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 J1(t,e){const n=t,s=Ih(),o=V1(),r=G1&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(K1,t,e);else{const i=r?new Q1(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 pl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function en(t){if(we(t)){const e={};for(let n=0;n{if(n){const s=n.split(um);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Me(t){let e="";if(Ge(t))e=t;else if(we(t))for(let n=0;nTo(n,e))}const J=t=>Ge(t)?t:t==null?"":we(t)||He(t)&&(t.toString===Nf||!Se(t.toString))?JSON.stringify(t,Mf,2):String(t),Mf=(t,e)=>e&&e.__v_isRef?Mf(t,e.value):hs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ns(e)?{[`Set(${e.size})`]:[...e.values()]}:He(e)&&!we(e)&&!Df(e)?String(e):e,Ve={},fs=[],Dt=()=>{},mm=()=>!1,_m=/^on[^a-z]/,Ir=t=>_m.test(t),ml=t=>t.startsWith("onUpdate:"),tt=Object.assign,_l=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},bm=Object.prototype.hasOwnProperty,Pe=(t,e)=>bm.call(t,e),we=Array.isArray,hs=t=>Ds(t)==="[object Map]",Ns=t=>Ds(t)==="[object Set]",vc=t=>Ds(t)==="[object Date]",ym=t=>Ds(t)==="[object RegExp]",Se=t=>typeof t=="function",Ge=t=>typeof t=="string",co=t=>typeof t=="symbol",He=t=>t!==null&&typeof t=="object",Rf=t=>He(t)&&Se(t.then)&&Se(t.catch),Nf=Object.prototype.toString,Ds=t=>Nf.call(t),vm=t=>Ds(t).slice(8,-1),Df=t=>Ds(t)==="[object Object]",bl=t=>Ge(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,er=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},wm=/-(\w)/g,Gt=Pr(t=>t.replace(wm,(e,n)=>n?n.toUpperCase():"")),xm=/\B([A-Z])/g,Xn=Pr(t=>t.replace(xm,"-$1").toLowerCase()),Fr=Pr(t=>t.charAt(0).toUpperCase()+t.slice(1)),gi=Pr(t=>t?`on${Fr(t)}`:""),uo=(t,e)=>!Object.is(t,e),ps=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},pr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},km=t=>{const e=Ge(t)?Number(t):NaN;return isNaN(e)?t:e};let wc;const Em=()=>wc||(wc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ot;class Cm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Ot;try{return Ot=this,e()}finally{Ot=n}}}on(){Ot=this}off(){Ot=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},Lf=t=>(t.w&Sn)>0,If=t=>(t.n&Sn)>0,Tm=({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":we(t)?bl(n)&&a.push(i.get("length")):(a.push(i.get(Vn)),hs(t)&&a.push(i.get(Na)));break;case"delete":we(t)||(a.push(i.get(Vn)),hs(t)&&a.push(i.get(Na)));break;case"set":hs(t)&&a.push(i.get(Vn));break}if(a.length===1)a[0]&&Da(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Da(yl(l))}}function Da(t,e){const n=we(t)?t:[...t];for(const s of n)s.computed&&kc(s);for(const s of n)s.computed||kc(s)}function kc(t,e){(t!==Rt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Mm=pl("__proto__,__v_isRef,__isVue"),Bf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(co)),Rm=wl(),Nm=wl(!1,!0),Dm=wl(!0),Ec=Lm();function Lm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Be(this);for(let r=0,i=this.length;r{t[e]=function(...n){Ls();const s=Be(this)[e].apply(this,n);return Is(),s}}),t}function Im(t){const e=Be(this);return ht(e,"has",t),e.hasOwnProperty(t)}function wl(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?Qm:Uf:e?$f:qf).get(s))return s;const i=we(s);if(!t){if(i&&Pe(Ec,o))return Reflect.get(Ec,o,r);if(o==="hasOwnProperty")return Im}const a=Reflect.get(s,o,r);return(co(o)?Bf.has(o):Mm(o))||(t||ht(s,"get",o),e)?a:lt(a)?i&&bl(o)?a:a.value:He(a)?t?Hf(a):Ps(a):a}}const Pm=jf(),Fm=jf(!0);function jf(t=!1){return function(n,s,o,r){let i=n[s];if(ys(i)&<(i)&&!lt(o))return!1;if(!t&&(!gr(o)&&!ys(o)&&(i=Be(i),o=Be(o)),!we(n)&<(i)&&!lt(o)))return i.value=o,!0;const a=we(n)&&bl(s)?Number(s)t,Br=t=>Reflect.getPrototypeOf(t);function Po(t,e,n=!1,s=!1){t=t.__v_raw;const o=Be(t),r=Be(e);n||(e!==r&&ht(o,"get",e),ht(o,"get",r));const{has:i}=Br(o),a=s?xl:n?Cl:fo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Fo(t,e=!1){const n=this.__v_raw,s=Be(n),o=Be(t);return e||(t!==o&&ht(s,"has",t),ht(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Bo(t,e=!1){return t=t.__v_raw,!e&&ht(Be(t),"iterate",Vn),Reflect.get(t,"size",t)}function Cc(t){t=Be(t);const e=Be(this);return Br(e).has.call(e,t)||(e.add(t),sn(e,"add",t,t)),this}function Ac(t,e){e=Be(e);const n=Be(this),{has:s,get:o}=Br(n);let r=s.call(n,t);r||(t=Be(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?uo(e,i)&&sn(n,"set",t,e):sn(n,"add",t,e),this}function Sc(t){const e=Be(this),{has:n,get:s}=Br(e);let o=n.call(e,t);o||(t=Be(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&sn(e,"delete",t,void 0),r}function Tc(){const t=Be(this),e=t.size!==0,n=t.clear();return e&&sn(t,"clear",void 0,void 0),n}function jo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Be(i),l=e?xl:t?Cl:fo;return!t&&ht(a,"iterate",Vn),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function zo(t,e,n){return function(...s){const o=this.__v_raw,r=Be(o),i=hs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?xl:e?Cl:fo;return!e&&ht(r,"iterate",l?Na:Vn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function un(t){return function(...e){return t==="delete"?!1:this}}function Um(){const t={get(r){return Po(this,r)},get size(){return Bo(this)},has:Fo,add:Cc,set:Ac,delete:Sc,clear:Tc,forEach:jo(!1,!1)},e={get(r){return Po(this,r,!1,!0)},get size(){return Bo(this)},has:Fo,add:Cc,set:Ac,delete:Sc,clear:Tc,forEach:jo(!1,!0)},n={get(r){return Po(this,r,!0)},get size(){return Bo(this,!0)},has(r){return Fo.call(this,r,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:jo(!0,!1)},s={get(r){return Po(this,r,!0,!0)},get size(){return Bo(this,!0)},has(r){return Fo.call(this,r,!0)},add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear"),forEach:jo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=zo(r,!1,!1),n[r]=zo(r,!0,!1),e[r]=zo(r,!1,!0),s[r]=zo(r,!0,!0)}),[t,n,e,s]}const[Hm,Vm,Gm,Km]=Um();function kl(t,e){const n=e?t?Km:Gm:t?Vm:Hm;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 Wm={get:kl(!1,!1)},Zm={get:kl(!1,!0)},Ym={get:kl(!0,!1)},qf=new WeakMap,$f=new WeakMap,Uf=new WeakMap,Qm=new WeakMap;function Jm(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xm(t){return t.__v_skip||!Object.isExtensible(t)?0:Jm(vm(t))}function Ps(t){return ys(t)?t:El(t,!1,zf,Wm,qf)}function e_(t){return El(t,!1,$m,Zm,$f)}function Hf(t){return El(t,!0,qm,Ym,Uf)}function El(t,e,n,s,o){if(!He(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=Xm(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function gs(t){return ys(t)?gs(t.__v_raw):!!(t&&t.__v_isReactive)}function ys(t){return!!(t&&t.__v_isReadonly)}function gr(t){return!!(t&&t.__v_isShallow)}function Vf(t){return gs(t)||ys(t)}function Be(t){const e=t&&t.__v_raw;return e?Be(e):t}function Gf(t){return hr(t,"__v_skip",!0),t}const fo=t=>He(t)?Ps(t):t,Cl=t=>He(t)?Hf(t):t;function Kf(t){Cn&&Rt&&(t=Be(t),Ff(t.dep||(t.dep=yl())))}function Wf(t,e){t=Be(t);const n=t.dep;n&&Da(n)}function lt(t){return!!(t&&t.__v_isRef===!0)}function t_(t){return Zf(t,!1)}function n_(t){return Zf(t,!0)}function Zf(t,e){return lt(t)?t:new s_(t,e)}class s_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Be(e),this._value=n?e:fo(e)}get value(){return Kf(this),this._value}set value(e){const n=this.__v_isShallow||gr(e)||ys(e);e=n?e:Be(e),uo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:fo(e),Wf(this))}}function gt(t){return lt(t)?t.value:t}const o_={get:(t,e,n)=>gt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return lt(o)&&!lt(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function Yf(t){return gs(t)?t:new Proxy(t,o_)}var Qf;class r_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Qf]=!1,this._dirty=!0,this.effect=new vl(e,()=>{this._dirty||(this._dirty=!0,Wf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Be(this);return Kf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Qf="__v_isReadonly";function i_(t,e,n=!1){let s,o;const r=Se(t);return r?(s=t,o=Dt):(s=t.get,o=t.set),new r_(s,o,r||!o,n)}function An(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){jr(r,e,n)}return o}function xt(t,e,n,s){if(Se(t)){const r=An(t,e,n,s);return r&&Rf(r)&&r.catch(i=>{jr(i,e,n)}),r}const o=[];for(let r=0;r>>1;po(it[s])Bt&&it.splice(e,1)}function u_(t){we(t)?ms.push(...t):(!Xt||!Xt.includes(t,t.allowRecurse?Fn+1:Fn))&&ms.push(t),Xf()}function Oc(t,e=ho?Bt+1:0){for(;epo(n)-po(s)),Fn=0;Fnt.id==null?1/0:t.id,d_=(t,e)=>{const n=po(t)-po(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function th(t){La=!1,ho=!0,it.sort(d_);const e=Dt;try{for(Bt=0;BtGe(g)?g.trim():g)),f&&(o=n.map(pr))}let a,l=s[a=gi(e)]||s[a=gi(Gt(e))];!l&&r&&(l=s[a=gi(Xn(e))]),l&&xt(l,t,6,o);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xt(c,t,6,o)}}function nh(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Se(t)){const l=c=>{const u=nh(c,e,!0);u&&(a=!0,tt(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(He(t)&&s.set(t,null),null):(we(r)?r.forEach(l=>i[l]=null):tt(i,r),He(t)&&s.set(t,i),i)}function zr(t,e){return!t||!Ir(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pe(t,e[0].toLowerCase()+e.slice(1))||Pe(t,Xn(e))||Pe(t,e))}let st=null,qr=null;function mr(t){const e=st;return st=t,qr=t&&t.type.__scopeId||null,e}function Fs(t){qr=t}function Bs(){qr=null}function Je(t,e=st,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&jc(-1);const r=mr(e);let i;try{i=t(...o)}finally{mr(r),s._d&&jc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function mi(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:g,ctx:p,inheritAttrs:m}=t;let v,_;const b=mr(t);try{if(n.shapeFlag&4){const C=o||s;v=Ft(u.call(C,C,f,r,g,h,p)),_=l}else{const C=e;v=Ft(C.length>1?C(r,{attrs:l,slots:a,emit:c}):C(r,null)),_=e.props?l:h_(l)}}catch(C){to.length=0,jr(C,t,1),v=Ce(kt)}let x=v;if(_&&m!==!1){const C=Object.keys(_),{shapeFlag:R}=x;C.length&&R&7&&(i&&C.some(ml)&&(_=p_(_,i)),x=on(x,_))}return n.dirs&&(x=on(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,mr(b),v}const h_=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ir(n))&&((e||(e={}))[n]=t[n]);return e},p_=(t,e)=>{const n={};for(const s in t)(!ml(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function g_(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Mc(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function __(t,e){e&&e.pendingBranch?we(t)?e.effects.push(...t):e.effects.push(t):u_(t)}function tr(t,e){if(We){let n=We.provides;const s=We.parent&&We.parent.provides;s===n&&(n=We.provides=Object.create(s)),n[t]=e}}function tn(t,e,n=!1){const s=We||st;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Se(e)?e.call(s.proxy):e}}const qo={};function Gn(t,e,n){return oh(t,e,n)}function oh(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ve){const a=Sm()===(We==null?void 0:We.scope)?We:null;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=gr(t)):gs(t)?(l=()=>t,s=!0):we(t)?(u=!0,c=t.some(x=>gs(x)||gr(x)),l=()=>t.map(x=>{if(lt(x))return x.value;if(gs(x))return Un(x);if(Se(x))return An(x,a,2)})):Se(t)?e?l=()=>An(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),xt(t,a,3,[h])}:l=Dt,e&&s){const x=l;l=()=>Un(x())}let f,h=x=>{f=_.onStop=()=>{An(x,a,4)}},g;if(bo)if(h=Dt,e?n&&xt(e,a,3,[l(),u?[]:void 0,h]):l(),o==="sync"){const x=c1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Dt;let p=u?new Array(t.length).fill(qo):qo;const m=()=>{if(_.active)if(e){const x=_.run();(s||c||(u?x.some((C,R)=>uo(C,p[R])):uo(x,p)))&&(f&&f(),xt(e,a,3,[x,p===qo?void 0:u&&p[0]===qo?[]:p,h]),p=x)}else _.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>nt(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),v=()=>Sl(m));const _=new vl(l,v);e?n?m():p=_.run():o==="post"?nt(_.run.bind(_),a&&a.suspense):_.run();const b=()=>{_.stop(),a&&a.scope&&_l(a.scope.effects,_)};return g&&g.push(b),b}function b_(t,e,n){const s=this.proxy,o=Ge(t)?t.includes(".")?rh(s,t):()=>s[t]:t.bind(s,s);let r;Se(e)?r=e:(r=e.handler,n=e);const i=We;ws(this);const a=oh(o,r.bind(s),n);return i?ws(i):Kn(),a}function rh(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Un(n,e)});else if(Df(t))for(const n in t)Un(t[n],e);return t}function ih(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hr(()=>{t.isMounted=!0}),Ml(()=>{t.isUnmounting=!0}),t}const bt=[Function,Array],y_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:bt,onEnter:bt,onAfterEnter:bt,onEnterCancelled:bt,onBeforeLeave:bt,onLeave:bt,onAfterLeave:bt,onLeaveCancelled:bt,onBeforeAppear:bt,onAppear:bt,onAfterAppear:bt,onAppearCancelled:bt},setup(t,{slots:e}){const n=Il(),s=ih();let o;return()=>{const r=e.default&&Tl(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==kt){i=m;break}}const a=Be(t),{mode:l}=a;if(s.isLeaving)return _i(i);const c=Rc(i);if(!c)return _i(i);const u=go(c,a,s,n);vs(c,u);const f=n.subTree,h=f&&Rc(f);let g=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,g=!0)}if(h&&h.type!==kt&&(!xn(c,h)||g)){const m=go(h,a,s,n);if(vs(h,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},_i(i);l==="in-out"&&c.type!==kt&&(m.delayLeave=(v,_,b)=>{const x=ah(s,h);x[String(h.key)]=h,v._leaveCb=()=>{_(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=b})}return i}}},v_=y_;function ah(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function go(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:m,onAppear:v,onAfterAppear:_,onAppearCancelled:b}=e,x=String(t.key),C=ah(n,t),R=(y,k)=>{y&&xt(y,s,9,k)},T=(y,k)=>{const S=k[1];R(y,k),we(y)?y.every(L=>L.length<=1)&&S():y.length<=1&&S()},D={mode:r,persisted:i,beforeEnter(y){let k=a;if(!n.isMounted)if(o)k=m||a;else return;y._leaveCb&&y._leaveCb(!0);const S=C[x];S&&xn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),R(k,[y])},enter(y){let k=l,S=c,L=u;if(!n.isMounted)if(o)k=v||l,S=_||c,L=b||u;else return;let F=!1;const Y=y._enterCb=I=>{F||(F=!0,I?R(L,[y]):R(S,[y]),D.delayedLeave&&D.delayedLeave(),y._enterCb=void 0)};k?T(k,[y,Y]):Y()},leave(y,k){const S=String(t.key);if(y._enterCb&&y._enterCb(!0),n.isUnmounting)return k();R(f,[y]);let L=!1;const F=y._leaveCb=Y=>{L||(L=!0,k(),Y?R(p,[y]):R(g,[y]),y._leaveCb=void 0,C[S]===t&&delete C[S])};C[S]=t,h?T(h,[y,F]):F()},clone(y){return go(y,e,n,s)}};return D}function _i(t){if($r(t))return t=on(t),t.children=null,t}function Rc(t){return $r(t)?t.children?t.children[0]:void 0:t}function vs(t,e){t.shapeFlag&6&&t.component?vs(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 Tl(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,$r=t=>t.type.__isKeepAlive,w_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Il(),s=n.ctx;if(!s.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,h=f("div");s.activate=(b,x,C,R,T)=>{const D=b.component;c(b,x,C,0,a),l(D.vnode,b,x,C,D,a,R,b.slotScopeIds,T),nt(()=>{D.isDeactivated=!1,D.a&&ps(D.a);const y=b.props&&b.props.onVnodeMounted;y&&yt(y,D.parent,b)},a)},s.deactivate=b=>{const x=b.component;c(b,h,null,1,a),nt(()=>{x.da&&ps(x.da);const C=b.props&&b.props.onVnodeUnmounted;C&&yt(C,x.parent,b),x.isDeactivated=!0},a)};function g(b){bi(b),u(b,n,a,!0)}function p(b){o.forEach((x,C)=>{const R=za(x.type);R&&(!b||!b(R))&&m(C)})}function m(b){const x=o.get(b);!i||!xn(x,i)?g(x):i&&bi(i),o.delete(b),r.delete(b)}Gn(()=>[t.include,t.exclude],([b,x])=>{b&&p(C=>Js(b,C)),x&&p(C=>!Js(x,C))},{flush:"post",deep:!0});let v=null;const _=()=>{v!=null&&o.set(v,yi(n.subTree))};return Hr(_),Ol(_),Ml(()=>{o.forEach(b=>{const{subTree:x,suspense:C}=n,R=yi(x);if(b.type===R.type&&b.key===R.key){bi(R);const T=R.component.da;T&&nt(T,C);return}g(b)})}),()=>{if(v=null,!e.default)return null;const b=e.default(),x=b[0];if(b.length>1)return i=null,b;if(!_o(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let C=yi(x);const R=C.type,T=za(_s(C)?C.type.__asyncResolved||{}:R),{include:D,exclude:y,max:k}=t;if(D&&(!T||!Js(D,T))||y&&T&&Js(y,T))return i=C,x;const S=C.key==null?R:C.key,L=o.get(S);return C.el&&(C=on(C),x.shapeFlag&128&&(x.ssContent=C)),v=S,L?(C.el=L.el,C.component=L.component,C.transition&&vs(C,C.transition),C.shapeFlag|=512,r.delete(S),r.add(S)):(r.add(S),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),C.shapeFlag|=256,i=C,sh(x.type)?x:C}}},x_=w_;function Js(t,e){return we(t)?t.some(n=>Js(n,e)):Ge(t)?t.split(",").includes(e):ym(t)?t.test(e):!1}function k_(t,e){ch(t,"a",e)}function E_(t,e){ch(t,"da",e)}function ch(t,e,n=We){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Ur(e,s,n),n){let o=n.parent;for(;o&&o.parent;)$r(o.parent.vnode)&&C_(s,e,n,o),o=o.parent}}function C_(t,e,n,s){const o=Ur(e,t,s,!0);uh(()=>{_l(s[e],o)},n)}function bi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function yi(t){return t.shapeFlag&128?t.ssContent:t}function Ur(t,e,n=We,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ls(),ws(n);const a=xt(e,n,t,i);return Kn(),Is(),a});return s?o.unshift(r):o.push(r),r}}const ln=t=>(e,n=We)=>(!bo||t==="sp")&&Ur(t,(...s)=>e(...s),n),A_=ln("bm"),Hr=ln("m"),S_=ln("bu"),Ol=ln("u"),Ml=ln("bum"),uh=ln("um"),T_=ln("sp"),O_=ln("rtg"),M_=ln("rtc");function R_(t,e=We){Ur("ec",t,e)}function Oe(t,e){const n=st;if(n===null)return t;const s=Kr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;a_o(e)?!(e.type===kt||e.type===Ie&&!ph(e.children)):!0)?t:null}const Ia=t=>t?Ch(t)?Kr(t)||t.proxy:Ia(t.parent):null,eo=tt(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=>Ia(t.parent),$root:t=>Ia(t.root),$emit:t=>t.emit,$options:t=>Nl(t),$forceUpdate:t=>t.f||(t.f=()=>Sl(t.update)),$nextTick:t=>t.n||(t.n=ge.bind(t.proxy)),$watch:t=>b_.bind(t)}),vi=(t,e)=>t!==Ve&&!t.__isScriptSetup&&Pe(t,e),D_={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(vi(s,e))return i[e]=1,s[e];if(o!==Ve&&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!==Ve&&Pe(n,e))return i[e]=4,n[e];Pa&&(i[e]=0)}}const u=eo[e];let f,h;if(u)return e==="$attrs"&&ht(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==Ve&&Pe(n,e))return i[e]=4,n[e];if(h=l.config.globalProperties,Pe(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return vi(o,e)?(o[e]=n,!0):s!==Ve&&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!==Ve&&Pe(t,i)||vi(e,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(eo,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 Pa=!0;function L_(t){const e=Nl(t),n=t.proxy,s=t.ctx;Pa=!1,e.beforeCreate&&Dc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:g,updated:p,activated:m,deactivated:v,beforeDestroy:_,beforeUnmount:b,destroyed:x,unmounted:C,render:R,renderTracked:T,renderTriggered:D,errorCaptured:y,serverPrefetch:k,expose:S,inheritAttrs:L,components:F,directives:Y,filters:I}=e;if(c&&I_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const $=i[A];Se($)&&(s[A]=$.bind(n))}if(o){const A=o.call(n,n);He(A)&&(t.data=Ps(A))}if(Pa=!0,r)for(const A in r){const $=r[A],V=Se($)?$.bind(n,n):Se($.get)?$.get.bind(n,n):Dt,me=!Se($)&&Se($.set)?$.set.bind(n):Dt,pe=wt({get:V,set:me});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:ee=>pe.value=ee})}if(a)for(const A in a)gh(a[A],s,n,A);if(l){const A=Se(l)?l.call(n):l;Reflect.ownKeys(A).forEach($=>{tr($,A[$])})}u&&Dc(u,t,"c");function W(A,$){we($)?$.forEach(V=>A(V.bind(n))):$&&A($.bind(n))}if(W(A_,f),W(Hr,h),W(S_,g),W(Ol,p),W(k_,m),W(E_,v),W(R_,y),W(M_,T),W(O_,D),W(Ml,b),W(uh,C),W(T_,k),we(S))if(S.length){const A=t.exposed||(t.exposed={});S.forEach($=>{Object.defineProperty(A,$,{get:()=>n[$],set:V=>n[$]=V})})}else t.exposed||(t.exposed={});R&&t.render===Dt&&(t.render=R),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Y&&(t.directives=Y)}function I_(t,e,n=Dt,s=!1){we(t)&&(t=Fa(t));for(const o in t){const r=t[o];let i;He(r)?"default"in r?i=tn(r.from||o,r.default,!0):i=tn(r.from||o):i=tn(r),lt(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Dc(t,e,n){xt(we(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function gh(t,e,n,s){const o=s.includes(".")?rh(n,s):()=>n[s];if(Ge(t)){const r=e[t];Se(r)&&Gn(o,r)}else if(Se(t))Gn(o,t.bind(n));else if(He(t))if(we(t))t.forEach(r=>gh(r,e,n,s));else{const r=Se(t.handler)?t.handler.bind(n):e[t.handler];Se(r)&&Gn(o,r,t)}}function Nl(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=>_r(l,c,i,!0)),_r(l,e,i)),He(e)&&r.set(e,l),l}function _r(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&_r(t,r,n,!0),o&&o.forEach(i=>_r(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=P_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const P_={data:Lc,props:In,emits:In,methods:In,computed:In,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:In,directives:In,watch:B_,provide:Lc,inject:F_};function Lc(t,e){return e?t?function(){return tt(Se(t)?t.call(this,this):t,Se(e)?e.call(this,this):e)}:e:t}function F_(t,e){return In(Fa(t),Fa(e))}function Fa(t){if(we(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,g]=_h(f,e,!0);tt(i,h),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 He(t)&&s.set(t,fs),fs;if(we(r))for(let u=0;u-1,g[1]=m<0||p-1||Pe(g,"default"))&&a.push(f)}}}const c=[i,a];return He(t)&&s.set(t,c),c}function Ic(t){return t[0]!=="$"}function Pc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Fc(t,e){return Pc(t)===Pc(e)}function Bc(t,e){return we(e)?e.findIndex(n=>Fc(n,t)):Se(e)&&Fc(e,t)?0:-1}const bh=t=>t[0]==="_"||t==="$stable",Dl=t=>we(t)?t.map(Ft):[Ft(t)],q_=(t,e,n)=>{if(e._n)return e;const s=Je((...o)=>Dl(e(...o)),n);return s._c=!1,s},yh=(t,e,n)=>{const s=t._ctx;for(const o in t){if(bh(o))continue;const r=t[o];if(Se(r))e[o]=q_(o,r,s);else if(r!=null){const i=Dl(r);e[o]=()=>i}}},vh=(t,e)=>{const n=Dl(e);t.slots.default=()=>n},$_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Be(e),hr(e,"_",n)):yh(e,t.slots={})}else t.slots={},e&&vh(t,e);hr(t.slots,Gr,1)},U_=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ve;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(tt(o,e),!n&&a===1&&delete o._):(r=!e.$stable,yh(e,o)),i=e}else e&&(vh(t,e),i={default:1});if(r)for(const a in o)!bh(a)&&!(a in i)&&delete o[a]};function wh(){return{app:null,config:{isNativeTag:mm,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 H_=0;function V_(t,e){return function(s,o=null){Se(s)||(s=Object.assign({},s)),o!=null&&!He(o)&&(o=null);const r=wh(),i=new Set;let a=!1;const l=r.app={_uid:H_++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:u1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Se(c.install)?(i.add(c),c.install(l,...u)):Se(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=Ce(s,o);return h.appContext=r,u&&e?e(h,c):t(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Kr(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function ja(t,e,n,s,o=!1){if(we(t)){t.forEach((h,g)=>ja(h,e&&(we(e)?e[g]:e),n,s,o));return}if(_s(s)&&!o)return;const r=s.shapeFlag&4?Kr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ge(c)?(u[c]=null,Pe(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),Se(l))An(l,a,12,[i,u]);else{const h=Ge(l),g=lt(l);if(h||g){const p=()=>{if(t.f){const m=h?Pe(f,l)?f[l]:u[l]:l.value;o?we(m)&&_l(m,r):we(m)?m.includes(r)||m.push(r):h?(u[l]=[r],Pe(f,l)&&(f[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=i,Pe(f,l)&&(f[l]=i)):g&&(l.value=i,t.k&&(u[t.k]=i))};i?(p.id=-1,nt(p,n)):p()}}}const nt=__;function G_(t){return K_(t)}function K_(t,e){const n=Em();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:g=Dt,insertStaticContent:p}=t,m=(w,E,P,B=null,j=null,ne=null,re=!1,z=null,se=!!E.dynamicChildren)=>{if(w===E)return;w&&!xn(w,E)&&(B=H(w),ee(w,j,ne,!0),w=null),E.patchFlag===-2&&(se=!1,E.dynamicChildren=null);const{type:q,ref:Z,shapeFlag:ie}=E;switch(q){case Vr:v(w,E,P,B);break;case kt:_(w,E,P,B);break;case nr:w==null&&b(E,P,B,re);break;case Ie:F(w,E,P,B,j,ne,re,z,se);break;default:ie&1?R(w,E,P,B,j,ne,re,z,se):ie&6?Y(w,E,P,B,j,ne,re,z,se):(ie&64||ie&128)&&q.process(w,E,P,B,j,ne,re,z,se,X)}Z!=null&&j&&ja(Z,w&&w.ref,ne,E||w,!E)},v=(w,E,P,B)=>{if(w==null)s(E.el=a(E.children),P,B);else{const j=E.el=w.el;E.children!==w.children&&c(j,E.children)}},_=(w,E,P,B)=>{w==null?s(E.el=l(E.children||""),P,B):E.el=w.el},b=(w,E,P,B)=>{[w.el,w.anchor]=p(w.children,E,P,B,w.el,w.anchor)},x=({el:w,anchor:E},P,B)=>{let j;for(;w&&w!==E;)j=h(w),s(w,P,B),w=j;s(E,P,B)},C=({el:w,anchor:E})=>{let P;for(;w&&w!==E;)P=h(w),o(w),w=P;o(E)},R=(w,E,P,B,j,ne,re,z,se)=>{re=re||E.type==="svg",w==null?T(E,P,B,j,ne,re,z,se):k(w,E,j,ne,re,z,se)},T=(w,E,P,B,j,ne,re,z)=>{let se,q;const{type:Z,props:ie,shapeFlag:de,transition:ce,dirs:ve}=w;if(se=w.el=i(w.type,ne,ie&&ie.is,ie),de&8?u(se,w.children):de&16&&y(w.children,se,null,B,j,ne&&Z!=="foreignObject",re,z),ve&&Rn(w,null,B,"created"),D(se,w,w.scopeId,re,B),ie){for(const oe in ie)oe!=="value"&&!er(oe)&&r(se,oe,null,ie[oe],ne,w.children,B,j,Q);"value"in ie&&r(se,"value",null,ie.value),(q=ie.onVnodeBeforeMount)&&yt(q,B,w)}ve&&Rn(w,null,B,"beforeMount");const K=(!j||j&&!j.pendingBranch)&&ce&&!ce.persisted;K&&ce.beforeEnter(se),s(se,E,P),((q=ie&&ie.onVnodeMounted)||K||ve)&&nt(()=>{q&&yt(q,B,w),K&&ce.enter(se),ve&&Rn(w,null,B,"mounted")},j)},D=(w,E,P,B,j)=>{if(P&&g(w,P),B)for(let ne=0;ne{for(let q=se;q{const z=E.el=w.el;let{patchFlag:se,dynamicChildren:q,dirs:Z}=E;se|=w.patchFlag&16;const ie=w.props||Ve,de=E.props||Ve;let ce;P&&Nn(P,!1),(ce=de.onVnodeBeforeUpdate)&&yt(ce,P,E,w),Z&&Rn(E,w,P,"beforeUpdate"),P&&Nn(P,!0);const ve=j&&E.type!=="foreignObject";if(q?S(w.dynamicChildren,q,z,P,B,ve,ne):re||$(w,E,z,null,P,B,ve,ne,!1),se>0){if(se&16)L(z,E,ie,de,P,B,j);else if(se&2&&ie.class!==de.class&&r(z,"class",null,de.class,j),se&4&&r(z,"style",ie.style,de.style,j),se&8){const K=E.dynamicProps;for(let oe=0;oe{ce&&yt(ce,P,E,w),Z&&Rn(E,w,P,"updated")},B)},S=(w,E,P,B,j,ne,re)=>{for(let z=0;z{if(P!==B){if(P!==Ve)for(const z in P)!er(z)&&!(z in B)&&r(w,z,P[z],null,re,E.children,j,ne,Q);for(const z in B){if(er(z))continue;const se=B[z],q=P[z];se!==q&&z!=="value"&&r(w,z,q,se,re,E.children,j,ne,Q)}"value"in B&&r(w,"value",P.value,B.value)}},F=(w,E,P,B,j,ne,re,z,se)=>{const q=E.el=w?w.el:a(""),Z=E.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:de,slotScopeIds:ce}=E;ce&&(z=z?z.concat(ce):ce),w==null?(s(q,P,B),s(Z,P,B),y(E.children,P,Z,j,ne,re,z,se)):ie>0&&ie&64&&de&&w.dynamicChildren?(S(w.dynamicChildren,de,P,j,ne,re,z),(E.key!=null||j&&E===j.subTree)&&xh(w,E,!0)):$(w,E,P,Z,j,ne,re,z,se)},Y=(w,E,P,B,j,ne,re,z,se)=>{E.slotScopeIds=z,w==null?E.shapeFlag&512?j.ctx.activate(E,P,B,re,se):I(E,P,B,j,ne,re,se):ae(w,E,se)},I=(w,E,P,B,j,ne,re)=>{const z=w.component=n1(w,B,j);if($r(w)&&(z.ctx.renderer=X),s1(z),z.asyncDep){if(j&&j.registerDep(z,W),!w.el){const se=z.subTree=Ce(kt);_(null,se,E,P)}return}W(z,w,E,P,j,ne,re)},ae=(w,E,P)=>{const B=E.component=w.component;if(g_(w,E,P))if(B.asyncDep&&!B.asyncResolved){A(B,E,P);return}else B.next=E,c_(B.update),B.update();else E.el=w.el,B.vnode=E},W=(w,E,P,B,j,ne,re)=>{const z=()=>{if(w.isMounted){let{next:Z,bu:ie,u:de,parent:ce,vnode:ve}=w,K=Z,oe;Nn(w,!1),Z?(Z.el=ve.el,A(w,Z,re)):Z=ve,ie&&ps(ie),(oe=Z.props&&Z.props.onVnodeBeforeUpdate)&&yt(oe,ce,Z,ve),Nn(w,!0);const he=mi(w),ke=w.subTree;w.subTree=he,m(ke,he,f(ke.el),H(ke),w,j,ne),Z.el=he.el,K===null&&m_(w,he.el),de&&nt(de,j),(oe=Z.props&&Z.props.onVnodeUpdated)&&nt(()=>yt(oe,ce,Z,ve),j)}else{let Z;const{el:ie,props:de}=E,{bm:ce,m:ve,parent:K}=w,oe=_s(E);if(Nn(w,!1),ce&&ps(ce),!oe&&(Z=de&&de.onVnodeBeforeMount)&&yt(Z,K,E),Nn(w,!0),ie&&le){const he=()=>{w.subTree=mi(w),le(ie,w.subTree,w,j,null)};oe?E.type.__asyncLoader().then(()=>!w.isUnmounted&&he()):he()}else{const he=w.subTree=mi(w);m(null,he,P,B,w,j,ne),E.el=he.el}if(ve&&nt(ve,j),!oe&&(Z=de&&de.onVnodeMounted)){const he=E;nt(()=>yt(Z,K,he),j)}(E.shapeFlag&256||K&&_s(K.vnode)&&K.vnode.shapeFlag&256)&&w.a&&nt(w.a,j),w.isMounted=!0,E=P=B=null}},se=w.effect=new vl(z,()=>Sl(q),w.scope),q=w.update=()=>se.run();q.id=w.uid,Nn(w,!0),q()},A=(w,E,P)=>{E.component=w;const B=w.vnode.props;w.vnode=E,w.next=null,z_(w,E.props,B,P),U_(w,E.children,P),Ls(),Oc(),Is()},$=(w,E,P,B,j,ne,re,z,se=!1)=>{const q=w&&w.children,Z=w?w.shapeFlag:0,ie=E.children,{patchFlag:de,shapeFlag:ce}=E;if(de>0){if(de&128){me(q,ie,P,B,j,ne,re,z,se);return}else if(de&256){V(q,ie,P,B,j,ne,re,z,se);return}}ce&8?(Z&16&&Q(q,j,ne),ie!==q&&u(P,ie)):Z&16?ce&16?me(q,ie,P,B,j,ne,re,z,se):Q(q,j,ne,!0):(Z&8&&u(P,""),ce&16&&y(ie,P,B,j,ne,re,z,se))},V=(w,E,P,B,j,ne,re,z,se)=>{w=w||fs,E=E||fs;const q=w.length,Z=E.length,ie=Math.min(q,Z);let de;for(de=0;deZ?Q(w,j,ne,!0,!1,ie):y(E,P,B,j,ne,re,z,se,ie)},me=(w,E,P,B,j,ne,re,z,se)=>{let q=0;const Z=E.length;let ie=w.length-1,de=Z-1;for(;q<=ie&&q<=de;){const ce=w[q],ve=E[q]=se?gn(E[q]):Ft(E[q]);if(xn(ce,ve))m(ce,ve,P,null,j,ne,re,z,se);else break;q++}for(;q<=ie&&q<=de;){const ce=w[ie],ve=E[de]=se?gn(E[de]):Ft(E[de]);if(xn(ce,ve))m(ce,ve,P,null,j,ne,re,z,se);else break;ie--,de--}if(q>ie){if(q<=de){const ce=de+1,ve=cede)for(;q<=ie;)ee(w[q],j,ne,!0),q++;else{const ce=q,ve=q,K=new Map;for(q=ve;q<=de;q++){const Qe=E[q]=se?gn(E[q]):Ft(E[q]);Qe.key!=null&&K.set(Qe.key,q)}let oe,he=0;const ke=de-ve+1;let Le=!1,Ue=0;const Ne=new Array(ke);for(q=0;q=ke){ee(Qe,j,ne,!0);continue}let rt;if(Qe.key!=null)rt=K.get(Qe.key);else for(oe=ve;oe<=de;oe++)if(Ne[oe-ve]===0&&xn(Qe,E[oe])){rt=oe;break}rt===void 0?ee(Qe,j,ne,!0):(Ne[rt-ve]=q+1,rt>=Ue?Ue=rt:Le=!0,m(Qe,E[rt],P,null,j,ne,re,z,se),he++)}const Ze=Le?W_(Ne):fs;for(oe=Ze.length-1,q=ke-1;q>=0;q--){const Qe=ve+q,rt=E[Qe],yc=Qe+1{const{el:ne,type:re,transition:z,children:se,shapeFlag:q}=w;if(q&6){pe(w.component.subTree,E,P,B);return}if(q&128){w.suspense.move(E,P,B);return}if(q&64){re.move(w,E,P,X);return}if(re===Ie){s(ne,E,P);for(let ie=0;iez.enter(ne),j);else{const{leave:ie,delayLeave:de,afterLeave:ce}=z,ve=()=>s(ne,E,P),K=()=>{ie(ne,()=>{ve(),ce&&ce()})};de?de(ne,ve,K):K()}else s(ne,E,P)},ee=(w,E,P,B=!1,j=!1)=>{const{type:ne,props:re,ref:z,children:se,dynamicChildren:q,shapeFlag:Z,patchFlag:ie,dirs:de}=w;if(z!=null&&ja(z,null,P,w,!0),Z&256){E.ctx.deactivate(w);return}const ce=Z&1&&de,ve=!_s(w);let K;if(ve&&(K=re&&re.onVnodeBeforeUnmount)&&yt(K,E,w),Z&6)N(w.component,P,B);else{if(Z&128){w.suspense.unmount(P,B);return}ce&&Rn(w,null,E,"beforeUnmount"),Z&64?w.type.remove(w,E,P,j,X,B):q&&(ne!==Ie||ie>0&&ie&64)?Q(q,E,P,!1,!0):(ne===Ie&&ie&384||!j&&Z&16)&&Q(se,E,P),B&&_e(w)}(ve&&(K=re&&re.onVnodeUnmounted)||ce)&&nt(()=>{K&&yt(K,E,w),ce&&Rn(w,null,E,"unmounted")},P)},_e=w=>{const{type:E,el:P,anchor:B,transition:j}=w;if(E===Ie){xe(P,B);return}if(E===nr){C(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()},xe=(w,E)=>{let P;for(;w!==E;)P=h(w),o(w),w=P;o(E)},N=(w,E,P)=>{const{bum:B,scope:j,update:ne,subTree:re,um:z}=w;B&&ps(B),j.stop(),ne&&(ne.active=!1,ee(re,w,E,P)),z&&nt(z,E),nt(()=>{w.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},Q=(w,E,P,B=!1,j=!1,ne=0)=>{for(let re=ne;rew.shapeFlag&6?H(w.component.subTree):w.shapeFlag&128?w.suspense.next():h(w.anchor||w.el),te=(w,E,P)=>{w==null?E._vnode&&ee(E._vnode,null,null,!0):m(E._vnode||null,w,E,null,null,null,P),Oc(),eh(),E._vnode=w},X={p:m,um:ee,m:pe,r:_e,mt:I,mc:y,pc:$,pbc:S,n:H,o:t};let fe,le;return e&&([fe,le]=e(X)),{render:te,hydrate:fe,createApp:V_(te,fe)}}function Nn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function xh(t,e,n=!1){const s=t.children,o=e.children;if(we(s)&&we(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 Z_=t=>t.__isTeleport,Ie=Symbol(void 0),Vr=Symbol(void 0),kt=Symbol(void 0),nr=Symbol(void 0),to=[];let Nt=null;function O(t=!1){to.push(Nt=t?null:[])}function Y_(){to.pop(),Nt=to[to.length-1]||null}let mo=1;function jc(t){mo+=t}function kh(t){return t.dynamicChildren=mo>0?Nt||fs:null,Y_(),mo>0&&Nt&&Nt.push(t),t}function M(t,e,n,s,o,r){return kh(d(t,e,n,s,o,r,!0))}function at(t,e,n,s,o){return kh(Ce(t,e,n,s,o,!0))}function _o(t){return t?t.__v_isVNode===!0:!1}function xn(t,e){return t.type===e.type&&t.key===e.key}const Gr="__vInternal",Eh=({key:t})=>t??null,sr=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ge(t)||lt(t)||Se(t)?{i:st,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Eh(e),ref:e&&sr(e),scopeId:qr,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:st};return a?(Ll(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ge(n)?8:16),mo>0&&!i&&Nt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Nt.push(l),l}const Ce=Q_;function Q_(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===dh)&&(t=kt),_o(t)){const a=on(t,e,!0);return n&&Ll(a,n),mo>0&&!r&&Nt&&(a.shapeFlag&6?Nt[Nt.indexOf(t)]=a:Nt.push(a)),a.patchFlag|=-2,a}if(a1(t)&&(t=t.__vccOpts),e){e=J_(e);let{class:a,style:l}=e;a&&!Ge(a)&&(e.class=Me(a)),He(l)&&(Vf(l)&&!we(l)&&(l=tt({},l)),e.style=en(l))}const i=Ge(t)?1:sh(t)?128:Z_(t)?64:He(t)?4:Se(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function J_(t){return t?Vf(t)||Gr in t?tt({},t):t:null}function on(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?X_(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Eh(a),ref:e&&e.ref?n&&o?we(o)?o.concat(sr(e)):[o,sr(e)]:sr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ie?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function be(t=" ",e=0){return Ce(Vr,null,t,e)}function js(t,e){const n=Ce(nr,null,t);return n.staticCount=e,n}function U(t="",e=!1){return e?(O(),at(kt,null,t)):Ce(kt,null,t)}function Ft(t){return t==null||typeof t=="boolean"?Ce(kt):we(t)?Ce(Ie,null,t.slice()):typeof t=="object"?gn(t):Ce(Vr,null,String(t))}function gn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:on(t)}function Ll(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(we(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Ll(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Gr in e)?e._ctx=st:o===3&&st&&(st.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Se(e)?(e={default:e,_ctx:st},n=32):(e=String(e),s&64?(n=16,e=[be(e)]):n=8);t.children=e,t.shapeFlag|=n}function X_(...t){const e={};for(let n=0;nWe||st,ws=t=>{We=t,t.scope.on()},Kn=()=>{We&&We.scope.off(),We=null};function Ch(t){return t.vnode.shapeFlag&4}let bo=!1;function s1(t,e=!1){bo=e;const{props:n,children:s}=t.vnode,o=Ch(t);j_(t,n,o,e),$_(t,s);const r=o?o1(t,e):void 0;return bo=!1,r}function o1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Gf(new Proxy(t.ctx,D_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?i1(t):null;ws(t),Ls();const r=An(s,t,0,[t.props,o]);if(Is(),Kn(),Rf(r)){if(r.then(Kn,Kn),e)return r.then(i=>{zc(t,i,e)}).catch(i=>{jr(i,t,0)});t.asyncDep=r}else zc(t,r,e)}else Ah(t,e)}function zc(t,e,n){Se(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:He(e)&&(t.setupState=Yf(e)),Ah(t,n)}let qc;function Ah(t,e,n){const s=t.type;if(!t.render){if(!e&&qc&&!s.render){const o=s.template||Nl(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=tt(tt({isCustomElement:r,delimiters:a},i),l);s.render=qc(o,c)}}t.render=s.render||Dt}ws(t),Ls(),L_(t),Is(),Kn()}function r1(t){return new Proxy(t.attrs,{get(e,n){return ht(t,"get","$attrs"),e[n]}})}function i1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=r1(t))},slots:t.slots,emit:t.emit,expose:e}}function Kr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Yf(Gf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in eo)return eo[n](t)},has(e,n){return n in e||n in eo}}))}function za(t,e=!0){return Se(t)?t.displayName||t.name:t.name||e&&t.__name}function a1(t){return Se(t)&&"__vccOpts"in t}const wt=(t,e)=>i_(t,e,bo);function Sh(t,e,n){const s=arguments.length;return s===2?He(e)&&!we(e)?_o(e)?Ce(t,null,[e]):Ce(t,e):Ce(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_o(n)&&(n=[n]),Ce(t,e,n))}const l1=Symbol(""),c1=()=>tn(l1),u1="3.2.47",d1="http://www.w3.org/2000/svg",Bn=typeof document<"u"?document:null,$c=Bn&&Bn.createElement("template"),f1={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?Bn.createElementNS(d1,t):Bn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>Bn.createTextNode(t),createComment:t=>Bn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Bn.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{$c.innerHTML=s?`${t}`:t;const a=$c.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 h1(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 p1(t,e,n){const s=t.style,o=Ge(n);if(n&&!o){if(e&&!Ge(e))for(const r in e)n[r]==null&&qa(s,r,"");for(const r in n)qa(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 Uc=/\s*!important$/;function qa(t,e,n){if(we(n))n.forEach(s=>qa(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=g1(t,e);Uc.test(n)?t.setProperty(Xn(s),n.replace(Uc,""),"important"):t[s]=n}}const Hc=["Webkit","Moz","ms"],wi={};function g1(t,e){const n=wi[e];if(n)return n;let s=Gt(e);if(s!=="filter"&&s in t)return wi[e]=s;s=Fr(s);for(let o=0;oxi||(w1.then(()=>xi=0),xi=Date.now());function k1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xt(E1(s,n.value),e,5,[s])};return n.value=t,n.attached=x1(),n}function E1(t,e){if(we(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 Kc=/^on[a-z]/,C1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?h1(t,s,o):e==="style"?p1(t,n,s):Ir(e)?ml(e)||y1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):A1(t,e,s,o))?_1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),m1(t,e,s,o))};function A1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Kc.test(e)&&Se(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Kc.test(e)&&Ge(n)?!1:e in t}const dn="transition",Gs="animation",Th={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},S1=tt({},v_.props,Th),Dn=(t,e=[])=>{we(t)?t.forEach(n=>n(...e)):t&&t(...e)},Wc=t=>t?we(t)?t.some(e=>e.length>1):t.length>1:!1;function T1(t){const e={};for(const F in t)F in Th||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,p=O1(o),m=p&&p[0],v=p&&p[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:x,onLeave:C,onLeaveCancelled:R,onBeforeAppear:T=_,onAppear:D=b,onAppearCancelled:y=x}=e,k=(F,Y,I)=>{pn(F,Y?u:a),pn(F,Y?c:i),I&&I()},S=(F,Y)=>{F._isLeaving=!1,pn(F,f),pn(F,g),pn(F,h),Y&&Y()},L=F=>(Y,I)=>{const ae=F?D:b,W=()=>k(Y,F,I);Dn(ae,[Y,W]),Zc(()=>{pn(Y,F?l:r),Jt(Y,F?u:a),Wc(ae)||Yc(Y,s,m,W)})};return tt(e,{onBeforeEnter(F){Dn(_,[F]),Jt(F,r),Jt(F,i)},onBeforeAppear(F){Dn(T,[F]),Jt(F,l),Jt(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Y){F._isLeaving=!0;const I=()=>S(F,Y);Jt(F,f),Mh(),Jt(F,h),Zc(()=>{F._isLeaving&&(pn(F,f),Jt(F,g),Wc(C)||Yc(F,s,v,I))}),Dn(C,[F,I])},onEnterCancelled(F){k(F,!1),Dn(x,[F])},onAppearCancelled(F){k(F,!0),Dn(y,[F])},onLeaveCancelled(F){S(F),Dn(R,[F])}})}function O1(t){if(t==null)return null;if(He(t))return[ki(t.enter),ki(t.leave)];{const e=ki(t);return[e,e]}}function ki(t){return km(t)}function Jt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function pn(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 Zc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let M1=0;function Yc(t,e,n,s){const o=t._endId=++M1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Oh(t,e);if(!i)return s();const c=i+"end";let u=0;const f=()=>{t.removeEventListener(c,h),r()},h=g=>{g.target===t&&++u>=l&&f()};setTimeout(()=>{u(n[p]||"").split(", "),o=s(`${dn}Delay`),r=s(`${dn}Duration`),i=Qc(o,r),a=s(`${Gs}Delay`),l=s(`${Gs}Duration`),c=Qc(a,l);let u=null,f=0,h=0;e===dn?i>0&&(u=dn,f=i,h=r.length):e===Gs?c>0&&(u=Gs,f=c,h=l.length):(f=Math.max(i,c),u=f>0?i>c?dn:Gs:null,h=u?u===dn?r.length:l.length:0);const g=u===dn&&/\b(transform|all)(,|$)/.test(s(`${dn}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:g}}function Qc(t,e){for(;t.lengthJc(n)+Jc(t[s])))}function Jc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Mh(){return document.body.offsetHeight}const Rh=new WeakMap,Nh=new WeakMap,Dh={name:"TransitionGroup",props:tt({},S1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Il(),s=ih();let o,r;return Ol(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!I1(o[0].el,n.vnode.el,i))return;o.forEach(N1),o.forEach(D1);const a=o.filter(L1);Mh(),a.forEach(l=>{const c=l.el,u=c.style;Jt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,pn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Be(t),a=T1(i);let l=i.tag||Ie;o=r,r=e.default?Tl(e.default()):[];for(let c=0;cdelete t.mode;Dh.props;const jt=Dh;function N1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function D1(t){Nh.set(t,t.el.getBoundingClientRect())}function L1(t){const e=Rh.get(t),n=Nh.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function I1(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}=Oh(s);return o.removeChild(s),r}const xs=t=>{const e=t.props["onUpdate:modelValue"]||!1;return we(e)?n=>ps(e,n):e};function P1(t){t.target.composing=!0}function Xc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const je={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=xs(o);const r=s||o.props&&o.props.type==="number";kn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=pr(a)),t._assign(a)}),n&&kn(t,"change",()=>{t.value=t.value.trim()}),e||(kn(t,"compositionstart",P1),kn(t,"compositionend",Xc),kn(t,"change",Xc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=xs(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&pr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},mn={deep:!0,created(t,e,n){t._assign=xs(n),kn(t,"change",()=>{const s=t._modelValue,o=yo(t),r=t.checked,i=t._assign;if(we(s)){const a=gl(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(Ns(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Lh(t,r))})},mounted:eu,beforeUpdate(t,e,n){t._assign=xs(n),eu(t,e,n)}};function eu(t,{value:e,oldValue:n},s){t._modelValue=e,we(e)?t.checked=gl(e,s.props.value)>-1:Ns(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=To(e,Lh(t,!0)))}const F1={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ns(e);kn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?pr(yo(i)):yo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=xs(s)},mounted(t,{value:e}){tu(t,e)},beforeUpdate(t,e,n){t._assign=xs(n)},updated(t,{value:e}){tu(t,e)}};function tu(t,e){const n=t.multiple;if(!(n&&!we(e)&&!Ns(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(To(yo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function yo(t){return"_value"in t?t._value:t.value}function Lh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const B1=["ctrl","shift","alt","meta"],j1={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)=>B1.some(n=>t[`${n}Key`]&&!e.includes(n))},ue=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=Xn(n.key);if(e.some(o=>o===s||z1[o]===s))return t(n)},q1=tt({patchProp:C1},f1);let nu;function $1(){return nu||(nu=G_(q1))}const U1=(...t)=>{const e=$1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=H1(s);if(!o)return;const r=e._component;!Se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function H1(t){return Ge(t)?document.querySelector(t):t}function V1(){return Ih().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ih(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const G1=typeof Proxy=="function",K1="devtools-plugin:setup",W1="plugin:settings:set";let ss,Ua;function Z1(){var t;return ss!==void 0||(typeof window<"u"&&window.performance?(ss=!0,Ua=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ss=!0,Ua=global.perf_hooks.performance):ss=!1),ss}function Y1(){return Z1()?Ua.now():Date.now()}class Q1{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 Y1()}},n&&n.on(W1,(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 J1(t,e){const n=t,s=Ih(),o=V1(),r=G1&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(K1,t,e);else{const i=r?new Q1(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 @@ -21,12 +21,12 @@ License: MIT `),se=1=re.length/2?`\r -`:"\r"}(X,w)),L=!1,y.delimiter)D(y.delimiter)&&(y.delimiter=y.delimiter(X),ee.meta.delimiter=y.delimiter);else{var E=function(B,j,ne,re,z){var se,q,Z,ie;z=z||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var de=0;de=I)return Ue(!0)}else for(ce=A,A++;;){if((ce=V.indexOf(k,ce+1))===-1)return pe||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:A}),ke();if(ce===ee-1)return ke(V.substring(A,ce).replace(de,k));if(k!==W||V[ce+1]!==W){if(k===W||ce===0||V[ce-1]!==W){Z!==-1&&Z=I)return Ue(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:H.length,index:A}),ce++}}else ce++}return ke();function oe(Ze){H.push(Ze),fe=A}function he(Ze){var Qe=0;if(Ze!==-1){var rt=V.substring(ce+1,Ze);rt&&rt.trim()===""&&(Qe=rt.length)}return Qe}function ke(Ze){return pe||(Ze===void 0&&(Ze=V.substring(A)),X.push(Ze),A=ee,oe(X),Q&&Ne()),Ue()}function Le(Ze){A=Ze,oe(X),X=[],ie=V.indexOf(L,A)}function Ue(Ze){return{data:H,errors:te,meta:{delimiter:S,linebreak:L,aborted:$,truncated:!!Ze,cursor:fe+(me||0)}}}function Ne(){Y(Ue()),H=[],te=[]}},this.abort=function(){$=!0},this.getCharIndex=function(){return A}}function b(y){var k=y.data,S=i[k.workerId],L=!1;if(k.error)S.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:C,resume:C};if(D(S.userStep)){for(var Y=0;Yt.text()).then(t=>{const{data:e}=Yb.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,"
")}}},lp=t=>(Fs("data-v-3cb88319"),t=t(),Bs(),t),Jb={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},Xb={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},ey=lp(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),ty={class:"list-disc pl-4"},ny={class:"text-xl font-bold mb-1"},sy=["innerHTML"],oy=lp(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[ve("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),ry={class:"mt-8"},iy=js('

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),ay=["href"];function ly(t,e,n,s,o,r){return O(),M("div",Jb,[d("div",Xb,[ey,d("ul",ty,[(O(!0),M(Ie,null,et(o.faqs,(i,a)=>(O(),M("li",{key:a},[d("h3",ny,J(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,sy)]))),128))])]),oy,d("div",ry,[iy,d("p",null,[ve("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,ay),ve(".")])])])}const cy=Ke(Qb,[["render",ly],["__scopeId","data-v-3cb88319"]]);function zt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&re=>{const n=uy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cn=t=>(t=t.toLowerCase(),e=>Yr(e)===t),Qr=t=>e=>typeof e===t,{isArray:qs}=Array,wo=Qr("undefined");function dy(t){return t!==null&&!wo(t)&&t.constructor!==null&&!wo(t.constructor)&&rn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const up=cn("ArrayBuffer");function fy(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&up(t.buffer),e}const hy=Qr("string"),rn=Qr("function"),dp=Qr("number"),$l=t=>t!==null&&typeof t=="object",py=t=>t===!0||t===!1,or=t=>{if(Yr(t)!=="object")return!1;const e=ql(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},gy=cn("Date"),my=cn("File"),_y=cn("Blob"),by=cn("FileList"),yy=t=>$l(t)&&rn(t.pipe),vy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||rn(t.append)&&((e=Yr(t))==="formdata"||e==="object"&&rn(t.toString)&&t.toString()==="[object FormData]"))},wy=cn("URLSearchParams"),xy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),qs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const hp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),pp=t=>!wo(t)&&t!==hp;function Wa(){const{caseless:t}=pp(this)&&this||{},e={},n=(s,o)=>{const r=t&&fp(e,o)||o;or(e[r])&&or(s)?e[r]=Wa(e[r],s):or(s)?e[r]=Wa({},s):qs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Oo(e,(o,r)=>{n&&rn(o)?t[r]=cp(o,n):t[r]=o},{allOwnKeys:s}),t),Ey=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Cy=(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)},Ay=(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&&ql(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Sy=(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},Ty=t=>{if(!t)return null;if(qs(t))return t;let e=t.length;if(!dp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Oy=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ql(Uint8Array)),My=(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])}},Ry=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Ny=cn("HTMLFormElement"),Dy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),xu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Ly=cn("RegExp"),gp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Oo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Iy=t=>{gp(t,(e,n)=>{if(rn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(rn(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+"'")})}})},Py=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return qs(t)?s(t):s(String(t).split(e)),n},Fy=()=>{},By=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Oi="abcdefghijklmnopqrstuvwxyz",ku="0123456789",mp={DIGIT:ku,ALPHA:Oi,ALPHA_DIGIT:Oi+Oi.toUpperCase()+ku},jy=(t=16,e=mp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function zy(t){return!!(t&&rn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const qy=t=>{const e=new Array(10),n=(s,o)=>{if($l(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=qs(s)?[]:{};return Oo(s,(i,a)=>{const l=n(i,o+1);!wo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},G={isArray:qs,isArrayBuffer:up,isBuffer:dy,isFormData:vy,isArrayBufferView:fy,isString:hy,isNumber:dp,isBoolean:py,isObject:$l,isPlainObject:or,isUndefined:wo,isDate:gy,isFile:my,isBlob:_y,isRegExp:Ly,isFunction:rn,isStream:yy,isURLSearchParams:wy,isTypedArray:Oy,isFileList:by,forEach:Oo,merge:Wa,extend:ky,trim:xy,stripBOM:Ey,inherits:Cy,toFlatObject:Ay,kindOf:Yr,kindOfTest:cn,endsWith:Sy,toArray:Ty,forEachEntry:My,matchAll:Ry,isHTMLForm:Ny,hasOwnProperty:xu,hasOwnProp:xu,reduceDescriptors:gp,freezeMethods:Iy,toObjectSet:Py,toCamelCase:Dy,noop:Fy,toFiniteNumber:By,findKey:fp,global:hp,isContextDefined:pp,ALPHABET:mp,generateString:jy,isSpecCompliantForm:zy,toJSONObject:qy};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)}G.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:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _p=Fe.prototype,bp={};["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=>{bp[t]={value:t}});Object.defineProperties(Fe,bp);Object.defineProperty(_p,"isAxiosError",{value:!0});Fe.from=(t,e,n,s,o,r)=>{const i=Object.create(_p);return G.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 $y=null;function Za(t){return G.isPlainObject(t)||G.isArray(t)}function yp(t){return G.endsWith(t,"[]")?t.slice(0,-2):t}function Eu(t,e,n){return t?t.concat(e).map(function(o,r){return o=yp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function Uy(t){return G.isArray(t)&&!t.some(Za)}const Hy=G.toFlatObject(G,{},null,function(e){return/^is[A-Z]/.test(e)});function Jr(t,e,n){if(!G.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!G.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(e);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(G.isDate(p))return p.toISOString();if(!l&&G.isBlob(p))throw new Fe("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(p)||G.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,v){let _=p;if(p&&!v&&typeof p=="object"){if(G.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(G.isArray(p)&&Uy(p)||(G.isFileList(p)||G.endsWith(m,"[]"))&&(_=G.toArray(p)))return m=yp(m),_.forEach(function(x,C){!(G.isUndefined(x)||x===null)&&e.append(i===!0?Eu([m],C,r):i===null?m:m+"[]",c(x))}),!1}return Za(p)?!0:(e.append(Eu(v,m,r),c(p)),!1)}const f=[],h=Object.assign(Hy,{defaultVisitor:u,convertValue:c,isVisitable:Za});function g(p,m){if(!G.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),G.forEach(p,function(_,b){(!(G.isUndefined(_)||_===null)&&o.call(e,_,G.isString(b)?b.trim():b,m,h))===!0&&g(_,m?m.concat(b):[b])}),f.pop()}}if(!G.isObject(t))throw new TypeError("data must be an object");return g(t),e}function Cu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Ul(t,e){this._pairs=[],t&&Jr(t,this,e)}const vp=Ul.prototype;vp.append=function(e,n){this._pairs.push([e,n])};vp.toString=function(e){const n=e?function(s){return e.call(this,s,Cu)}:Cu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Vy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wp(t,e,n){if(!e)return t;const s=n&&n.encode||Vy,o=n&&n.serialize;let r;if(o?r=o(e,n):r=G.isURLSearchParams(e)?e.toString():new Ul(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Gy{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){G.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Au=Gy,xp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ky=typeof URLSearchParams<"u"?URLSearchParams:Ul,Wy=typeof FormData<"u"?FormData:null,Zy=typeof Blob<"u"?Blob:null,Yy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Qy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:Ky,FormData:Wy,Blob:Zy},isStandardBrowserEnv:Yy,isStandardBrowserWebWorkerEnv:Qy,protocols:["http","https","file","blob","url","data"]};function Jy(t,e){return Jr(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&G.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function Xy(t){return G.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function e2(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&G.isArray(o)?o.length:i,l?(G.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!G.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&G.isArray(o[i])&&(o[i]=e2(o[i])),!a)}if(G.isFormData(t)&&G.isFunction(t.entries)){const n={};return G.forEachEntry(t,(s,o)=>{e(Xy(s),o,n,0)}),n}return null}const t2={"Content-Type":void 0};function n2(t,e,n){if(G.isString(t))try{return(e||JSON.parse)(t),G.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const Xr={transitional:xp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=G.isObject(e);if(r&&G.isHTMLForm(e)&&(e=new FormData(e)),G.isFormData(e))return o&&o?JSON.stringify(kp(e)):e;if(G.isArrayBuffer(e)||G.isBuffer(e)||G.isStream(e)||G.isFile(e)||G.isBlob(e))return e;if(G.isArrayBufferView(e))return e.buffer;if(G.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 Jy(e,this.formSerializer).toString();if((a=G.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),n2(e)):e}],transformResponse:[function(e){const n=this.transitional||Xr.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&G.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, */*"}}};G.forEach(["delete","get","head"],function(e){Xr.headers[e]={}});G.forEach(["post","put","patch"],function(e){Xr.headers[e]=G.merge(t2)});const Hl=Xr,s2=G.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"]),o2=t=>{const e={};let n,s,o;return t&&t.split(` +`);var A=0,$=!1;this.parse=function(V,me,pe){if(typeof V!="string")throw new Error("Input must be a string");var ee=V.length,_e=S.length,xe=L.length,N=F.length,Q=D(Y),H=[],te=[],X=[],fe=A=0;if(!V)return Ue();if(y.header&&!me){var le=V.split(L)[0].split(S),w=[],E={},P=!1;for(var B in le){var j=le[B];D(y.transformHeader)&&(j=y.transformHeader(j,B));var ne=j,re=E[j]||0;for(0=I)return Ue(!0)}else for(ce=A,A++;;){if((ce=V.indexOf(k,ce+1))===-1)return pe||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:A}),ke();if(ce===ee-1)return ke(V.substring(A,ce).replace(de,k));if(k!==W||V[ce+1]!==W){if(k===W||ce===0||V[ce-1]!==W){Z!==-1&&Z=I)return Ue(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:H.length,index:A}),ce++}}else ce++}return ke();function oe(Ze){H.push(Ze),fe=A}function he(Ze){var Qe=0;if(Ze!==-1){var rt=V.substring(ce+1,Ze);rt&&rt.trim()===""&&(Qe=rt.length)}return Qe}function ke(Ze){return pe||(Ze===void 0&&(Ze=V.substring(A)),X.push(Ze),A=ee,oe(X),Q&&Ne()),Ue()}function Le(Ze){A=Ze,oe(X),X=[],ie=V.indexOf(L,A)}function Ue(Ze){return{data:H,errors:te,meta:{delimiter:S,linebreak:L,aborted:$,truncated:!!Ze,cursor:fe+(me||0)}}}function Ne(){Y(Ue()),H=[],te=[]}},this.abort=function(){$=!0},this.getCharIndex=function(){return A}}function b(y){var k=y.data,S=i[k.workerId],L=!1;if(k.error)S.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:C,resume:C};if(D(S.userStep)){for(var Y=0;Yt.text()).then(t=>{const{data:e}=Yb.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,"
")}}},lp=t=>(Fs("data-v-3cb88319"),t=t(),Bs(),t),Jb={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},Xb={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},ey=lp(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),ty={class:"list-disc pl-4"},ny={class:"text-xl font-bold mb-1"},sy=["innerHTML"],oy=lp(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[be("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),ry={class:"mt-8"},iy=js('

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),ay=["href"];function ly(t,e,n,s,o,r){return O(),M("div",Jb,[d("div",Xb,[ey,d("ul",ty,[(O(!0),M(Ie,null,et(o.faqs,(i,a)=>(O(),M("li",{key:a},[d("h3",ny,J(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,sy)]))),128))])]),oy,d("div",ry,[iy,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,ay),be(".")])])])}const cy=Ke(Qb,[["render",ly],["__scopeId","data-v-3cb88319"]]);function zt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&re=>{const n=uy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cn=t=>(t=t.toLowerCase(),e=>Yr(e)===t),Qr=t=>e=>typeof e===t,{isArray:qs}=Array,wo=Qr("undefined");function dy(t){return t!==null&&!wo(t)&&t.constructor!==null&&!wo(t.constructor)&&rn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const up=cn("ArrayBuffer");function fy(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&up(t.buffer),e}const hy=Qr("string"),rn=Qr("function"),dp=Qr("number"),$l=t=>t!==null&&typeof t=="object",py=t=>t===!0||t===!1,or=t=>{if(Yr(t)!=="object")return!1;const e=ql(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},gy=cn("Date"),my=cn("File"),_y=cn("Blob"),by=cn("FileList"),yy=t=>$l(t)&&rn(t.pipe),vy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||rn(t.append)&&((e=Yr(t))==="formdata"||e==="object"&&rn(t.toString)&&t.toString()==="[object FormData]"))},wy=cn("URLSearchParams"),xy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),qs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const hp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),pp=t=>!wo(t)&&t!==hp;function Wa(){const{caseless:t}=pp(this)&&this||{},e={},n=(s,o)=>{const r=t&&fp(e,o)||o;or(e[r])&&or(s)?e[r]=Wa(e[r],s):or(s)?e[r]=Wa({},s):qs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Oo(e,(o,r)=>{n&&rn(o)?t[r]=cp(o,n):t[r]=o},{allOwnKeys:s}),t),Ey=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Cy=(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)},Ay=(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&&ql(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Sy=(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},Ty=t=>{if(!t)return null;if(qs(t))return t;let e=t.length;if(!dp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Oy=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ql(Uint8Array)),My=(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])}},Ry=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Ny=cn("HTMLFormElement"),Dy=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),xu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Ly=cn("RegExp"),gp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Oo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Iy=t=>{gp(t,(e,n)=>{if(rn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(rn(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+"'")})}})},Py=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return qs(t)?s(t):s(String(t).split(e)),n},Fy=()=>{},By=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Oi="abcdefghijklmnopqrstuvwxyz",ku="0123456789",mp={DIGIT:ku,ALPHA:Oi,ALPHA_DIGIT:Oi+Oi.toUpperCase()+ku},jy=(t=16,e=mp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function zy(t){return!!(t&&rn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const qy=t=>{const e=new Array(10),n=(s,o)=>{if($l(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=qs(s)?[]:{};return Oo(s,(i,a)=>{const l=n(i,o+1);!wo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},G={isArray:qs,isArrayBuffer:up,isBuffer:dy,isFormData:vy,isArrayBufferView:fy,isString:hy,isNumber:dp,isBoolean:py,isObject:$l,isPlainObject:or,isUndefined:wo,isDate:gy,isFile:my,isBlob:_y,isRegExp:Ly,isFunction:rn,isStream:yy,isURLSearchParams:wy,isTypedArray:Oy,isFileList:by,forEach:Oo,merge:Wa,extend:ky,trim:xy,stripBOM:Ey,inherits:Cy,toFlatObject:Ay,kindOf:Yr,kindOfTest:cn,endsWith:Sy,toArray:Ty,forEachEntry:My,matchAll:Ry,isHTMLForm:Ny,hasOwnProperty:xu,hasOwnProp:xu,reduceDescriptors:gp,freezeMethods:Iy,toObjectSet:Py,toCamelCase:Dy,noop:Fy,toFiniteNumber:By,findKey:fp,global:hp,isContextDefined:pp,ALPHABET:mp,generateString:jy,isSpecCompliantForm:zy,toJSONObject:qy};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)}G.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:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const _p=Fe.prototype,bp={};["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=>{bp[t]={value:t}});Object.defineProperties(Fe,bp);Object.defineProperty(_p,"isAxiosError",{value:!0});Fe.from=(t,e,n,s,o,r)=>{const i=Object.create(_p);return G.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 $y=null;function Za(t){return G.isPlainObject(t)||G.isArray(t)}function yp(t){return G.endsWith(t,"[]")?t.slice(0,-2):t}function Eu(t,e,n){return t?t.concat(e).map(function(o,r){return o=yp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function Uy(t){return G.isArray(t)&&!t.some(Za)}const Hy=G.toFlatObject(G,{},null,function(e){return/^is[A-Z]/.test(e)});function Jr(t,e,n){if(!G.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=G.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!G.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(e);if(!G.isFunction(o))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(G.isDate(p))return p.toISOString();if(!l&&G.isBlob(p))throw new Fe("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(p)||G.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,v){let _=p;if(p&&!v&&typeof p=="object"){if(G.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(G.isArray(p)&&Uy(p)||(G.isFileList(p)||G.endsWith(m,"[]"))&&(_=G.toArray(p)))return m=yp(m),_.forEach(function(x,C){!(G.isUndefined(x)||x===null)&&e.append(i===!0?Eu([m],C,r):i===null?m:m+"[]",c(x))}),!1}return Za(p)?!0:(e.append(Eu(v,m,r),c(p)),!1)}const f=[],h=Object.assign(Hy,{defaultVisitor:u,convertValue:c,isVisitable:Za});function g(p,m){if(!G.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),G.forEach(p,function(_,b){(!(G.isUndefined(_)||_===null)&&o.call(e,_,G.isString(b)?b.trim():b,m,h))===!0&&g(_,m?m.concat(b):[b])}),f.pop()}}if(!G.isObject(t))throw new TypeError("data must be an object");return g(t),e}function Cu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Ul(t,e){this._pairs=[],t&&Jr(t,this,e)}const vp=Ul.prototype;vp.append=function(e,n){this._pairs.push([e,n])};vp.toString=function(e){const n=e?function(s){return e.call(this,s,Cu)}:Cu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Vy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function wp(t,e,n){if(!e)return t;const s=n&&n.encode||Vy,o=n&&n.serialize;let r;if(o?r=o(e,n):r=G.isURLSearchParams(e)?e.toString():new Ul(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Gy{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){G.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Au=Gy,xp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ky=typeof URLSearchParams<"u"?URLSearchParams:Ul,Wy=typeof FormData<"u"?FormData:null,Zy=typeof Blob<"u"?Blob:null,Yy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Qy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:Ky,FormData:Wy,Blob:Zy},isStandardBrowserEnv:Yy,isStandardBrowserWebWorkerEnv:Qy,protocols:["http","https","file","blob","url","data"]};function Jy(t,e){return Jr(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&G.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function Xy(t){return G.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function e2(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&G.isArray(o)?o.length:i,l?(G.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!G.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&G.isArray(o[i])&&(o[i]=e2(o[i])),!a)}if(G.isFormData(t)&&G.isFunction(t.entries)){const n={};return G.forEachEntry(t,(s,o)=>{e(Xy(s),o,n,0)}),n}return null}const t2={"Content-Type":void 0};function n2(t,e,n){if(G.isString(t))try{return(e||JSON.parse)(t),G.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const Xr={transitional:xp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=G.isObject(e);if(r&&G.isHTMLForm(e)&&(e=new FormData(e)),G.isFormData(e))return o&&o?JSON.stringify(kp(e)):e;if(G.isArrayBuffer(e)||G.isBuffer(e)||G.isStream(e)||G.isFile(e)||G.isBlob(e))return e;if(G.isArrayBufferView(e))return e.buffer;if(G.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 Jy(e,this.formSerializer).toString();if((a=G.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),n2(e)):e}],transformResponse:[function(e){const n=this.transitional||Xr.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&G.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, */*"}}};G.forEach(["delete","get","head"],function(e){Xr.headers[e]={}});G.forEach(["post","put","patch"],function(e){Xr.headers[e]=G.merge(t2)});const Hl=Xr,s2=G.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"]),o2=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]&&s2[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Su=Symbol("internals");function Ws(t){return t&&String(t).trim().toLowerCase()}function rr(t){return t===!1||t==null?t:G.isArray(t)?t.map(rr):String(t)}function r2(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 i2=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Mi(t,e,n,s,o){if(G.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!G.isString(e)){if(G.isString(s))return e.indexOf(s)!==-1;if(G.isRegExp(s))return s.test(e)}}function a2(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function l2(t,e){const n=G.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 ei{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Ws(l);if(!u)throw new Error("header name must be a non-empty string");const f=G.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=rr(a))}const i=(a,l)=>G.forEach(a,(c,u)=>r(c,u,l));return G.isPlainObject(e)||e instanceof this.constructor?i(e,n):G.isString(e)&&(e=e.trim())&&!i2(e)?i(o2(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Ws(e),e){const s=G.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return r2(o);if(G.isFunction(n))return n.call(this,o,s);if(G.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ws(e),e){const s=G.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Mi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Ws(i),i){const a=G.findKey(s,i);a&&(!n||Mi(s,s[a],a,n))&&(delete s[a],o=!0)}}return G.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||Mi(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return G.forEach(this,(o,r)=>{const i=G.findKey(s,r);if(i){n[i]=rr(o),delete n[r];return}const a=e?a2(r):String(r).trim();a!==r&&delete n[r],n[a]=rr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return G.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&G.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[Su]=this[Su]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Ws(i);s[a]||(l2(o,i),s[a]=!0)}return G.isArray(e)?e.forEach(r):r(e),this}}ei.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.freezeMethods(ei.prototype);G.freezeMethods(ei);const nn=ei;function Ri(t,e){const n=this||Hl,s=e||n,o=nn.from(s.headers);let r=s.data;return G.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Ep(t){return!!(t&&t.__CANCEL__)}function Mo(t,e,n){Fe.call(this,t??"canceled",Fe.ERR_CANCELED,e,n),this.name="CanceledError"}G.inherits(Mo,Fe,{__CANCEL__:!0});function c2(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 u2=qt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),G.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),G.isString(r)&&l.push("path="+r),G.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 d2(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function f2(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Cp(t,e){return t&&!d2(e)?f2(t,e):e}const h2=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=G.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function p2(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function g2(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let f=r,h=0;for(;f!==o;)h+=n[f++],f=f%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const m2=typeof XMLHttpRequest<"u",_2=m2&&function(t){return new Promise(function(n,s){let o=t.data;const r=nn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}G.isFormData(o)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+p))}const u=Cp(t.baseURL,t.url);c.open(t.method.toUpperCase(),wp(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function f(){if(!c)return;const g=nn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};c2(function(_){n(_),l()},function(_){s(_),l()},m),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(s(new 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 p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||xp;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new Fe(p,m.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,t,c)),c=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||h2(u))&&t.xsrfCookieName&&u2.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&G.forEach(r.toJSON(),function(p,m){c.setRequestHeader(m,p)}),G.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",Tu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Tu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Mo(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 h=p2(u);if(h&&qt.protocols.indexOf(h)===-1){s(new Fe("Unsupported protocol "+h+":",Fe.ERR_BAD_REQUEST,t));return}c.send(o||null)})},ir={http:$y,xhr:_2};G.forEach(ir,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const b2={getAdapter:t=>{t=G.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof nn?t.toJSON():t;function Cs(t,e){e=e||{};const n={};function s(c,u,f){return G.isPlainObject(c)&&G.isPlainObject(u)?G.merge.call({caseless:f},c,u):G.isPlainObject(u)?G.merge({},u):G.isArray(u)?u.slice():u}function o(c,u,f){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c,f)}else return s(c,u,f)}function r(c,u){if(!G.isUndefined(u))return s(void 0,u)}function i(c,u){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,f){if(f in e)return s(c,u);if(f in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u)=>o(Mu(c),Mu(u),!0)};return G.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const f=l[u]||o,h=f(t[u],e[u],u);G.isUndefined(h)&&f!==a||(n[u]=h)}),n}const Ap="1.3.6",Vl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Vl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Ru={};Vl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Ap+"] 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&&!Ru[i]&&(Ru[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 y2(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 Ya={assertOptions:y2,validators:Vl},hn=Ya.validators;class vr{constructor(e){this.defaults=e,this.interceptors={request:new Au,response:new Au}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Cs(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Ya.assertOptions(s,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),o!=null&&(G.isFunction(o)?n.paramsSerializer={serialize:o}:Ya.assertOptions(o,{encode:hn.function,serialize:hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&G.merge(r.common,r[n.method]),i&&G.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=nn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,h;if(!l){const p=[Ou.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),h=p.length,u=Promise.resolve(n);f{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Mo(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 Gl(function(o){e=o}),cancel:e}}}const v2=Gl;function w2(t){return function(n){return t.apply(null,n)}}function x2(t){return G.isObject(t)&&t.isAxiosError===!0}const Qa={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(Qa).forEach(([t,e])=>{Qa[e]=t});const k2=Qa;function Sp(t){const e=new ar(t),n=cp(ar.prototype.request,e);return G.extend(n,ar.prototype,e,{allOwnKeys:!0}),G.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Sp(Cs(t,o))},n}const Xe=Sp(Hl);Xe.Axios=ar;Xe.CanceledError=Mo;Xe.CancelToken=v2;Xe.isCancel=Ep;Xe.VERSION=Ap;Xe.toFormData=Jr;Xe.AxiosError=Fe;Xe.Cancel=Xe.CanceledError;Xe.all=function(e){return Promise.all(e)};Xe.spread=w2;Xe.isAxiosError=x2;Xe.mergeConfig=Cs;Xe.AxiosHeaders=nn;Xe.formToJSON=t=>kp(G.isHTMLForm(t)?new FormData(t):t);Xe.HttpStatusCode=k2;Xe.default=Xe;const Ae=Xe,E2={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},C2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},A2={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},S2={class:"text-lg font-medium"},T2={class:"mt-4 flex justify-center"};function O2(t,e,n,s,o,r){return o.show?(O(),M("div",C2,[d("div",A2,[d("h3",S2,J(o.message),1),d("div",T2,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):U("",!0)}const M2=Ke(E2,[["render",O2]]),R2={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})}}},N2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},D2={class:"relative w-full max-w-md max-h-full"},L2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},I2=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),P2=d("span",{class:"sr-only"},"Close modal",-1),F2=[I2,P2],B2={class:"p-4 text-center"},j2=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),z2={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function q2(t,e,n,s,o,r){return o.show?(O(),M("div",N2,[d("div",D2,[d("div",L2,[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"},F2),d("div",B2,[j2,d("h3",z2,J(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"},J(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"},J(o.DenyButtonText),1)])])])])):U("",!0)}const $2=Ke(R2,[["render",q2]]);const U2={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),ge(()=>{Ee.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),ge(()=>{Ee.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Tn=t=>(Fs("data-v-3ffdabf3"),t=t(),Bs(),t),H2={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},V2={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},G2={class:"flex flex-row flex-grow items-center"},K2={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"},W2=Tn(()=>d("i",{"data-feather":"check"},null,-1)),Z2=Tn(()=>d("span",{class:"sr-only"},"Check icon",-1)),Y2=[W2,Z2],Q2={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"},J2=Tn(()=>d("i",{"data-feather":"x"},null,-1)),X2=Tn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),ev=[J2,X2],tv=["title"],nv={class:"flex"},sv=["onClick"],ov=Tn(()=>d("span",{class:"sr-only"},"Copy message",-1)),rv=Tn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),iv=[ov,rv],av=["onClick"],lv=Tn(()=>d("span",{class:"sr-only"},"Close",-1)),cv=Tn(()=>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)),uv=[lv,cv];function dv(t,e,n,s,o,r){return O(),M("div",H2,[Ce(jt,{name:"toastItem",tag:"div"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.toastArr,i=>(O(),M("div",{key:i.id,class:"relative"},[d("div",V2,[d("div",G2,[hh(t.$slots,"default",{},()=>[i.success?(O(),M("div",K2,Y2)):U("",!0),i.success?U("",!0):(O(),M("div",Q2,ev)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},J(i.message),9,tv)],!0)]),d("div",nv,[d("button",{type:"button",onClick:ue(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"},iv,8,sv),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"},uv,8,av)])])]))),128))]),_:3})])}const ti=Ke(U2,[["render",dv],["__scopeId","data-v-3ffdabf3"]]),Ja="/assets/default_model-9e24e852.png",fv={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),ge(()=>{Ee.replace()})},methods:{computedFileSize(t){return zt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ae.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Ja:this.icon},defaultImg(t){t.target.src=Ja},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return zt(this.speed)},total_size_computed(){return zt(this.total_size)},downloaded_size_computed(){return zt(this.downloaded_size)}},watch:{linkNotValid(){ge(()=>{Ee.replace()})}}},hv=["title"],pv={key:0,class:"flex flex-row"},gv={class:"flex gap-3 items-center grow"},mv=["src"],_v={class:"font-bold font-large text-lg truncate"},bv={key:1,class:"flex items-center flex-row gap-2 my-1"},yv={class:"flex grow items-center"},vv=d("i",{"data-feather":"box",class:"w-5"},null,-1),wv=d("span",{class:"sr-only"},"Custom model / local model",-1),xv=[vv,wv],kv=d("span",{class:"sr-only"},"Remove",-1),Ev={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"},Cv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Av=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),Sv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Tv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Ov={class:"flex justify-between mb-1"},Mv=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Rv={class:"text-sm font-medium text-blue-700 dark:text-white"},Nv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Dv={class:"flex justify-between mb-1"},Lv={class:"text-base font-medium text-blue-700 dark:text-white"},Iv={class:"text-sm font-medium text-blue-700 dark:text-white"},Pv={class:"flex flex-grow"},Fv={class:"flex flex-row flex-grow gap-3"},Bv={class:"p-2 text-center grow"},jv={key:3},zv={class:"flex flex-row items-center gap-3"},qv=["src"],$v={class:"font-bold font-large text-lg truncate"},Uv=d("div",{class:"grow"},null,-1),Hv=d("div",{class:"flex-none gap-1"},null,-1),Vv={class:"flex items-center flex-row-reverse gap-2 my-1"},Gv=d("span",{class:"sr-only"},"Copy info",-1),Kv={class:"flex flex-row items-center"},Wv={key:0,class:"text-base text-red-600 flex items-center mt-1"},Zv=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),Yv=d("span",{class:"sr-only"},"Click to install",-1),Qv=d("span",{class:"sr-only"},"Remove",-1),Jv=["title"],Xv={class:""},ew={class:"flex flex-row items-center"},tw=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),nw=d("b",null,"Manual download: ",-1),sw=["href","title"],ow=d("div",{class:"grow"},null,-1),rw=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),iw=[rw],aw={class:"flex items-center"},lw=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),cw=d("b",null,"File size: ",-1),uw={class:"flex items-center"},dw=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),fw=d("b",null,"License: ",-1),hw={class:"flex items-center"},pw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),gw=d("b",null,"Owner: ",-1),mw=["href"],_w=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),bw=["title"];function yw(t,e,n,s,o,r){return O(),M("div",{class:Me(["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]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(O(),M("div",pv,[d("div",gv,[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,mv),d("h3",_v,J(n.title),1)])])):U("",!0),n.model.isCustomModel?(O(),M("div",bv,[d("div",yv,[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]=ue(()=>{},["stop"]))},xv),ve(" Custom model ")]),d("div",null,[n.model.isInstalled?(O(),M("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ue((...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"},[ve(" Uninstall "),kv])):U("",!0)])])):U("",!0),o.installing?(O(),M("div",Ev,[d("div",Cv,[Av,d("div",Sv,[d("div",Tv,[d("div",Ov,[Mv,d("span",Rv,J(Math.floor(o.progress))+"%",1)]),d("div",Nv,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.progress+"%"})},null,4)]),d("div",Dv,[d("span",Lv,"Download speed: "+J(r.speed_computed)+"/s",1),d("span",Iv,J(r.downloaded_size_computed)+"/"+J(r.total_size_computed),1)])])]),d("div",Pv,[d("div",Fv,[d("div",Bv,[d("button",{onClick:e[3]||(e[3]=ue((...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 ")])])])])])):U("",!0),n.model.isCustomModel?U("",!0):(O(),M("div",jv,[d("div",zv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Me(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,qv),d("h3",$v,J(n.title),1),Uv,Hv]),d("div",Vv,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ue(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"},[ve(" Copy info "),Gv]),d("div",Kv,[o.linkNotValid?(O(),M("div",Wv,[Zv,ve(" Link is not valid ")])):U("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(O(),M("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ue((...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"},[ve(" Install "),Yv])):U("",!0),n.model.isInstalled?(O(),M("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ue((...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"},[ve(" Uninstall "),Qv])):U("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",Xv,[d("div",ew,[tw,nw,d("a",{href:n.path,onClick:e[8]||(e[8]=ue(()=>{},["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,sw),ow,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]=ue(i=>r.toggleCopyLink(),["stop"]))},iw)]),d("div",aw,[d("div",{class:Me(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[lw,cw,ve(" "+J(o.fileSize),1)],2)]),d("div",uw,[dw,fw,ve(" "+J(n.license),1)]),d("div",hw,[pw,gw,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ue(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},J(n.owner),9,mw)])]),_w,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},J(n.description.replace(/<\/?[^>]+>/ig," ")),9,bw)],8,Jv)]))],10,hv)}const vw=Ke(fv,[["render",yw]]),ww={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}}},xw={class:"p-4"},kw={class:"flex items-center mb-4"},Ew=["src"],Cw={class:"text-lg font-semibold"},Aw=d("strong",null,"Author:",-1),Sw=d("strong",null,"Description:",-1),Tw=d("strong",null,"Language:",-1),Ow=d("strong",null,"Category:",-1),Mw={key:0},Rw=d("strong",null,"Disclaimer:",-1),Nw=d("strong",null,"Conditioning Text:",-1),Dw=d("strong",null,"AI Prefix:",-1),Lw=d("strong",null,"User Prefix:",-1),Iw=d("strong",null,"Antiprompts:",-1);function Pw(t,e,n,s,o,r){return O(),M("div",xw,[d("div",kw,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Ew),d("h2",Cw,J(o.personalityName),1)]),d("p",null,[Aw,ve(" "+J(o.personalityAuthor),1)]),d("p",null,[Sw,ve(" "+J(o.personalityDescription),1)]),d("p",null,[Tw,ve(" "+J(o.personalityLanguage),1)]),d("p",null,[Ow,ve(" "+J(o.personalityCategory),1)]),o.disclaimer?(O(),M("p",Mw,[Rw,ve(" "+J(o.disclaimer),1)])):U("",!0),d("p",null,[Nw,ve(" "+J(o.conditioningText),1)]),d("p",null,[Dw,ve(" "+J(o.aiPrefix),1)]),d("p",null,[Lw,ve(" "+J(o.userPrefix),1)]),d("div",null,[Iw,d("ul",null,[(O(!0),M(Ie,null,et(o.antipromptsList,i=>(O(),M("li",{key:i.id},J(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?(O(),M("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 ")):U("",!0)])}const Fw=Ke(ww,[["render",Pw]]),Yn="/assets/logo-9d653710.svg",Bw="/assets/default_user-17642e5a.svg",jw="/",zw={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,ge(()=>{Ee.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return jw+this.personality.avatar},defaultImg(t){t.target.src=Yn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){ge(()=>{Ee.replace()})}}},qw=["title"],$w={class:"flex flex-row items-center flex-shrink-0 gap-3"},Uw=["src"],Hw={class:"font-bold font-large text-lg line-clamp-3"},Vw={class:"flex items-center flex-row-reverse gap-2 my-1"},Gw=d("span",{class:"sr-only"},"Settings",-1),Kw=d("span",{class:"sr-only"},"Click to install",-1),Ww=d("span",{class:"sr-only"},"Remove",-1),Zw={class:""},Yw={class:""},Qw={class:"flex items-center"},Jw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Xw=d("b",null,"Author: ",-1),ex={class:"flex items-center"},tx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),nx=d("b",null,"Language: ",-1),sx={class:"flex items-center"},ox=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),rx=d("b",null,"Category: ",-1),ix=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 lx(t,e,n,s,o,r){return O(),M("div",{class:Me(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Me(n.personality.installed?"":"opacity-50")},[d("div",$w,[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,Uw),d("h3",Hw,J(n.personality.name),1)]),d("div",Vw,[r.selected_computed?(O(),M("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=ue((...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"},[ve(" Settings "),Gw])):U("",!0),o.isMounted?U("",!0):(O(),M("button",{key:1,title:"Mount personality",type:"button",onClick:e[2]||(e[2]=ue((...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"},[ve(" Mount "),Kw])),o.isMounted?(O(),M("button",{key:2,title:"Unmount personality",type:"button",onClick:e[3]||(e[3]=ue((...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"},[ve(" Unmount "),Ww])):U("",!0)]),d("div",Zw,[d("div",Yw,[d("div",Qw,[Jw,Xw,ve(" "+J(n.personality.author),1)]),d("div",ex,[tx,nx,ve(" "+J(n.personality.language),1)]),d("div",sx,[ox,rx,ve(" "+J(n.personality.category),1)])]),ix,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},J(n.personality.description),9,ax)])],2)],10,qw)}const Tp=Ke(zw,[["render",lx]]),cx="/",ux={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){ge(()=>{Ee.replace()})},methods:{getImgUrl(){return cx+this.binding.icon},defaultImg(t){t.target.src=Yn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){ge(()=>{Ee.replace()})}}},dx=["title"],fx={class:"flex flex-row items-center gap-3"},hx=["src"],px={class:"font-bold font-large text-lg truncate"},gx=d("div",{class:"grow"},null,-1),mx=d("div",{class:"flex-none gap-1"},null,-1),_x={class:"flex items-center flex-row-reverse gap-2 my-1"},bx=d("span",{class:"sr-only"},"Click to install",-1),yx=d("span",{class:"sr-only"},"Reinstall binding",-1),vx=d("span",{class:"sr-only"},"Settings",-1),wx={class:""},xx={class:""},kx={class:"flex items-center"},Ex=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Cx=d("b",null,"Author: ",-1),Ax={class:"flex items-center"},Sx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Tx=d("b",null,"Folder: ",-1),Ox={class:"flex items-center"},Mx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Rx=d("b",null,"Version: ",-1),Nx={class:"flex items-center"},Dx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Lx=d("b",null,"Link: ",-1),Ix=["href"],Px=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Fx=["title"];function Bx(t,e,n,s,o,r){return O(),M("div",{class:Me(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",fx,[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,hx),d("h3",px,J(n.binding.name),1),gx,mx]),d("div",_x,[n.binding.installed?U("",!0):(O(),M("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=ue((...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"},[ve(" Install "),bx])),n.binding.installed?(O(),M("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=ue((...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"},[ve(" Reinstall binding "),yx])):U("",!0),n.selected?(O(),M("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=ue((...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"},[ve(" Settings "),vx])):U("",!0)]),d("div",wx,[d("div",xx,[d("div",kx,[Ex,Cx,ve(" "+J(n.binding.author),1)]),d("div",Ax,[Sx,Tx,ve(" "+J(n.binding.folder),1)]),d("div",Ox,[Mx,Rx,ve(" "+J(n.binding.version),1)]),d("div",Nx,[Dx,Lx,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},J(n.binding.link),9,Ix)])]),Px,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},J(n.binding.description),9,Fx)])])],10,dx)}const jx=Ke(ux,[["render",Bx]]),Kt=Object.create(null);Kt.open="0";Kt.close="1";Kt.ping="2";Kt.pong="3";Kt.message="4";Kt.upgrade="5";Kt.noop="6";const lr=Object.create(null);Object.keys(Kt).forEach(t=>{lr[Kt[t]]=t});const zx={type:"error",data:"parser error"},qx=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",$x=typeof ArrayBuffer=="function",Ux=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Op=({type:t,data:e},n,s)=>qx&&e instanceof Blob?n?s(e):Nu(e,s):$x&&(e instanceof ArrayBuffer||Ux(e))?n?s(e):Nu(new Blob([e]),s):s(Kt[t]+(e||"")),Nu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Du="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xs=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},Vx=typeof ArrayBuffer=="function",Mp=(t,e)=>{if(typeof t!="string")return{type:"message",data:Rp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Gx(t.substring(1),e)}:lr[n]?t.length>1?{type:lr[n],data:t.substring(1)}:{type:lr[n]}:zx},Gx=(t,e)=>{if(Vx){const n=Hx(t);return Rp(n,e)}else return{base64:!0,data:t}},Rp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Np=String.fromCharCode(30),Kx=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Op(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Np))})})},Wx=(t,e)=>{const n=t.split(Np),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Lp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Yx=vt.setTimeout,Qx=vt.clearTimeout;function ni(t,e){e.useNativeTimers?(t.setTimeoutFn=Yx.bind(vt),t.clearTimeoutFn=Qx.bind(vt)):(t.setTimeoutFn=vt.setTimeout.bind(vt),t.clearTimeoutFn=vt.clearTimeout.bind(vt))}const Jx=1.33;function Xx(t){return typeof t=="string"?ek(t):Math.ceil((t.byteLength||t.size)*Jx)}function ek(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class tk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Ip extends Ye{constructor(e){super(),this.writable=!1,ni(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new tk(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=Mp(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 Pp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Xa=64,nk={};let Lu=0,$o=0,Iu;function Pu(t){let e="";do e=Pp[t%Xa]+e,t=Math.floor(t/Xa);while(t>0);return e}function Fp(){const t=Pu(+new Date);return t!==Iu?(Lu=0,Iu=t):t+"."+Pu(Lu++)}for(;$o{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)};Wx(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,Kx(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]=Fp()),!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=Bp(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 Ht(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 Ht extends Ye{constructor(e,n){super(),ni(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=Lp(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 zp(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=Ht.requestsCount++,Ht.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=rk,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ht.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()}}Ht.requestsCount=0;Ht.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Fu);else if(typeof addEventListener=="function"){const t="onpagehide"in vt?"pagehide":"unload";addEventListener(t,Fu,!1)}}function Fu(){for(let t in Ht.requests)Ht.requests.hasOwnProperty(t)&&Ht.requests[t].abort()}const qp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Uo=vt.WebSocket||vt.MozWebSocket,Bu=!0,lk="arraybuffer",ju=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class ck extends Ip{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=ju?{}:Lp(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=Bu&&!ju?n?new Uo(e,n):new Uo(e):new Uo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||lk,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{Bu&&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]=Fp()),this.supportsBinary||(e.b64=1);const o=Bp(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!!Uo}}const uk={websocket:ck,polling:ak},dk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,fk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function el(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[fk[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=hk(r,r.path),r.queryKey=pk(r,r.query),r}function hk(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 $p=class cs extends Ye{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=el(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=el(n.host).host),ni(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=sk(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=Dp,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 uk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&cs.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;cs.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;cs.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=f=>{const h=new Error("probe error: "+f);h.transport=n.name,r(),this.emitReserved("upgradeError",h)};function a(){i("transport closed")}function l(){i("socket closed")}function c(f){n&&f.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",cs.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){cs.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,Up=Object.prototype.toString,bk=typeof Blob=="function"||typeof Blob<"u"&&Up.call(Blob)==="[object BlobConstructor]",yk=typeof File=="function"||typeof File<"u"&&Up.call(File)==="[object FileConstructor]";function Kl(t){return mk&&(t instanceof ArrayBuffer||_k(t))||bk&&t instanceof Blob||yk&&t instanceof File}function cr(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:De.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 De.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 De.EVENT:case De.BINARY_EVENT:this.onevent(e);break;case De.ACK:case De.BINARY_ACK:this.onack(e);break;case De.DISCONNECT:this.ondisconnect();break;case De.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:De.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:De.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}$s.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};$s.prototype.reset=function(){this.attempts=0};$s.prototype.setMin=function(t){this.ms=t};$s.prototype.setMax=function(t){this.max=t};$s.prototype.setJitter=function(t){this.jitter=t};class sl extends Ye{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,ni(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 $s({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||Ck;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 $p(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Mt(n,"open",function(){s.onopen(),e&&e()}),r=Mt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Mt(e,"ping",this.onping.bind(this)),Mt(e,"data",this.ondata.bind(this)),Mt(e,"error",this.onerror.bind(this)),Mt(e,"close",this.onclose.bind(this)),Mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){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 Hp(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 Zs={};function ur(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=gk(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Zs[o]&&r in Zs[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new sl(s,e):(Zs[o]||(Zs[o]=new sl(s,e)),l=Zs[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(ur,{Manager:sl,Socket:Hp,io:ur,connect:ur});const Sk=void 0,qe=new ur(Sk);qe.onopen=()=>{console.log("WebSocket connection established.")};qe.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};qe.onerror=t=>{console.error("WebSocket error:",t),qe.disconnect()};qe.on("connect",()=>{console.log("WebSocket connected (websocket)")});qe.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const Tk={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})}}},Ok={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Mk={class:"relative w-full max-w-md max-h-full"},Rk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Nk=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),Dk=d("span",{class:"sr-only"},"Close modal",-1),Lk=[Nk,Dk],Ik={class:"p-4 text-center"},Pk=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),Fk={class:"p-4 text-center mx-auto mb-4"},Bk=d("label",{class:"mr-2"},"Model path",-1);function jk(t,e,n,s,o,r){return o.show?(O(),M("div",Ok,[d("div",Mk,[d("div",Rk,[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"},Lk),d("div",Ik,[Pk,d("div",Fk,[Bk,Oe(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),[[je,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")])])])])):U("",!0)}const zk=Ke(Tk,[["render",jk]]),qk={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){ge(()=>{Ee.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){ge(()=>{Ee.replace()})}}},$k={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},Uk={class:"relative w-full max-w-md"},Hk={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Vk={class:"flex flex-row flex-grow items-center m-2 p-1"},Gk={class:"grow flex items-center"},Kk=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Wk={class:"text-lg font-semibold select-none mr-2"},Zk={class:"items-end"},Yk=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),Qk=d("span",{class:"sr-only"},"Close form modal",-1),Jk=[Yk,Qk],Xk={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},eE={class:"px-2"},tE={key:0},nE={key:0},sE={class:"text-base font-semibold"},oE={key:0,class:"relative inline-flex"},rE=["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),aE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},lE=["onUpdate:modelValue"],cE={key:1},uE={class:"text-base font-semibold"},dE={key:0,class:"relative inline-flex"},fE=["onUpdate:modelValue"],hE=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"},gE=["onUpdate:modelValue"],mE=["value","selected"],_E={key:1},bE={class:"text-base font-semibold"},yE={key:0,class:"relative inline-flex"},vE=["onUpdate:modelValue"],wE=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),xE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},kE=["onUpdate:modelValue"],EE=["onUpdate:modelValue","min","max"],CE={key:2},AE={class:"mb-2 relative flex items-center gap-2"},SE={for:"default-checkbox",class:"text-base font-semibold"},TE=["onUpdate:modelValue"],OE={key:0,class:"relative inline-flex"},ME=["onUpdate:modelValue"],RE=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),NE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},DE={key:3},LE={class:"text-base font-semibold"},IE={key:0,class:"relative inline-flex"},PE=["onUpdate:modelValue"],FE=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),BE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},jE=["onUpdate:modelValue"],zE=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),qE={class:"flex flex-row flex-grow gap-3"},$E={class:"p-2 text-center grow"};function UE(t,e,n,s,o,r){return o.show?(O(),M("div",$k,[d("div",Uk,[d("div",Hk,[d("div",Vk,[d("div",Gk,[Kk,d("h3",Wk,J(o.title),1)]),d("div",Zk,[d("button",{type:"button",onClick:e[0]||(e[0]=ue(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"},Jk)])]),d("div",Xk,[(O(!0),M(Ie,null,et(o.controls_array,(i,a)=>(O(),M("div",eE,[i.type=="str"?(O(),M("div",tE,[i.options?U("",!0):(O(),M("div",nE,[d("label",{class:Me(["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",sE,J(i.name)+": ",1),i.help?(O(),M("label",oE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,rE),[[mn,i.isHelp]]),iE])):U("",!0)],2),i.isHelp?(O(),M("p",aE,J(i.help),1)):U("",!0),Oe(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,lE),[[je,i.value]])])),i.options?(O(),M("div",cE,[d("label",{class:Me(["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",uE,J(i.name)+": ",1),i.help?(O(),M("label",dE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,fE),[[mn,i.isHelp]]),hE])):U("",!0)],2),i.isHelp?(O(),M("p",pE,J(i.help),1)):U("",!0),Oe(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"},[(O(!0),M(Ie,null,et(i.options,l=>(O(),M("option",{value:l,selected:i.value===l},J(l),9,mE))),256))],8,gE),[[F1,i.value]])])):U("",!0)])):U("",!0),i.type=="int"||i.type=="float"?(O(),M("div",_E,[d("label",{class:Me(["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",bE,J(i.name)+": ",1),i.help?(O(),M("label",yE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,vE),[[mn,i.isHelp]]),wE])):U("",!0)],2),i.isHelp?(O(),M("p",xE,J(i.help),1)):U("",!0),Oe(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,kE),[[je,i.value]]),i.min!=null&&i.max!=null?Oe((O(),M("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,EE)),[[je,i.value]]):U("",!0)])):U("",!0),i.type=="bool"?(O(),M("div",CE,[d("div",AE,[d("label",SE,J(i.name)+": ",1),Oe(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,TE),[[mn,i.value]]),i.help?(O(),M("label",OE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ME),[[mn,i.isHelp]]),RE])):U("",!0)]),i.isHelp?(O(),M("p",NE,J(i.help),1)):U("",!0)])):U("",!0),i.type=="list"?(O(),M("div",DE,[d("label",{class:Me(["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",LE,J(i.name)+": ",1),i.help?(O(),M("label",IE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,PE),[[mn,i.isHelp]]),FE])):U("",!0)],2),i.isHelp?(O(),M("p",BE,J(i.help),1)):U("",!0),Oe(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,jE),[[je,i.value]])])):U("",!0),zE]))),256)),d("div",qE,[d("div",$E,[d("button",{onClick:e[1]||(e[1]=ue(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"},J(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ue(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"},J(o.DenyButtonText),1)])])])])])])):U("",!0)}const Vp=Ke(qk,[["render",UE]]);const HE="/";Ae.defaults.baseURL="/";const VE={components:{AddModelDialog:zk,MessageBox:M2,YesNoDialog:$2,ModelEntry:vw,PersonalityViewer:Fw,Toast:ti,PersonalityEntry:Tp,BindingEntry:jx,UniversalForm:Vp},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],modelsFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:HE,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async constructor(){this.isLoading=!0,ge(()=>{Ee.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.getVramUsage(),this.getMountedPersonalities(),this.isMounted=!0},async getVramUsage(){const t=await this.api_get_req("vram_usage"),e=[];if(t.nb_gpus>0){for(let s=0;ss.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: +`)}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[Su]=this[Su]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Ws(i);s[a]||(l2(o,i),s[a]=!0)}return G.isArray(e)?e.forEach(r):r(e),this}}ei.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.freezeMethods(ei.prototype);G.freezeMethods(ei);const nn=ei;function Ri(t,e){const n=this||Hl,s=e||n,o=nn.from(s.headers);let r=s.data;return G.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Ep(t){return!!(t&&t.__CANCEL__)}function Mo(t,e,n){Fe.call(this,t??"canceled",Fe.ERR_CANCELED,e,n),this.name="CanceledError"}G.inherits(Mo,Fe,{__CANCEL__:!0});function c2(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 u2=qt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),G.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),G.isString(r)&&l.push("path="+r),G.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 d2(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function f2(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Cp(t,e){return t&&!d2(e)?f2(t,e):e}const h2=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=G.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function p2(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function g2(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let f=r,h=0;for(;f!==o;)h+=n[f++],f=f%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const m2=typeof XMLHttpRequest<"u",_2=m2&&function(t){return new Promise(function(n,s){let o=t.data;const r=nn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}G.isFormData(o)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+p))}const u=Cp(t.baseURL,t.url);c.open(t.method.toUpperCase(),wp(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function f(){if(!c)return;const g=nn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};c2(function(_){n(_),l()},function(_){s(_),l()},m),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(s(new 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 p=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||xp;t.timeoutErrorMessage&&(p=t.timeoutErrorMessage),s(new Fe(p,m.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,t,c)),c=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||h2(u))&&t.xsrfCookieName&&u2.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&G.forEach(r.toJSON(),function(p,m){c.setRequestHeader(m,p)}),G.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",Tu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Tu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Mo(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 h=p2(u);if(h&&qt.protocols.indexOf(h)===-1){s(new Fe("Unsupported protocol "+h+":",Fe.ERR_BAD_REQUEST,t));return}c.send(o||null)})},ir={http:$y,xhr:_2};G.forEach(ir,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const b2={getAdapter:t=>{t=G.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof nn?t.toJSON():t;function Cs(t,e){e=e||{};const n={};function s(c,u,f){return G.isPlainObject(c)&&G.isPlainObject(u)?G.merge.call({caseless:f},c,u):G.isPlainObject(u)?G.merge({},u):G.isArray(u)?u.slice():u}function o(c,u,f){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c,f)}else return s(c,u,f)}function r(c,u){if(!G.isUndefined(u))return s(void 0,u)}function i(c,u){if(G.isUndefined(u)){if(!G.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,f){if(f in e)return s(c,u);if(f in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u)=>o(Mu(c),Mu(u),!0)};return G.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const f=l[u]||o,h=f(t[u],e[u],u);G.isUndefined(h)&&f!==a||(n[u]=h)}),n}const Ap="1.3.6",Vl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Vl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Ru={};Vl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Ap+"] 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&&!Ru[i]&&(Ru[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 y2(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 Ya={assertOptions:y2,validators:Vl},hn=Ya.validators;class vr{constructor(e){this.defaults=e,this.interceptors={request:new Au,response:new Au}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Cs(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&Ya.assertOptions(s,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),o!=null&&(G.isFunction(o)?n.paramsSerializer={serialize:o}:Ya.assertOptions(o,{encode:hn.function,serialize:hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&G.merge(r.common,r[n.method]),i&&G.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=nn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,h;if(!l){const p=[Ou.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),h=p.length,u=Promise.resolve(n);f{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Mo(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 Gl(function(o){e=o}),cancel:e}}}const v2=Gl;function w2(t){return function(n){return t.apply(null,n)}}function x2(t){return G.isObject(t)&&t.isAxiosError===!0}const Qa={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(Qa).forEach(([t,e])=>{Qa[e]=t});const k2=Qa;function Sp(t){const e=new ar(t),n=cp(ar.prototype.request,e);return G.extend(n,ar.prototype,e,{allOwnKeys:!0}),G.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Sp(Cs(t,o))},n}const Xe=Sp(Hl);Xe.Axios=ar;Xe.CanceledError=Mo;Xe.CancelToken=v2;Xe.isCancel=Ep;Xe.VERSION=Ap;Xe.toFormData=Jr;Xe.AxiosError=Fe;Xe.Cancel=Xe.CanceledError;Xe.all=function(e){return Promise.all(e)};Xe.spread=w2;Xe.isAxiosError=x2;Xe.mergeConfig=Cs;Xe.AxiosHeaders=nn;Xe.formToJSON=t=>kp(G.isHTMLForm(t)?new FormData(t):t);Xe.HttpStatusCode=k2;Xe.default=Xe;const Ae=Xe,E2={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},C2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},A2={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},S2={class:"text-lg font-medium"},T2={class:"mt-4 flex justify-center"};function O2(t,e,n,s,o,r){return o.show?(O(),M("div",C2,[d("div",A2,[d("h3",S2,J(o.message),1),d("div",T2,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):U("",!0)}const M2=Ke(E2,[["render",O2]]),R2={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})}}},N2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},D2={class:"relative w-full max-w-md max-h-full"},L2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},I2=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),P2=d("span",{class:"sr-only"},"Close modal",-1),F2=[I2,P2],B2={class:"p-4 text-center"},j2=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),z2={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function q2(t,e,n,s,o,r){return o.show?(O(),M("div",N2,[d("div",D2,[d("div",L2,[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"},F2),d("div",B2,[j2,d("h3",z2,J(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"},J(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"},J(o.DenyButtonText),1)])])])])):U("",!0)}const $2=Ke(R2,[["render",q2]]);const U2={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),ge(()=>{Ee.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),ge(()=>{Ee.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Tn=t=>(Fs("data-v-3ffdabf3"),t=t(),Bs(),t),H2={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},V2={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},G2={class:"flex flex-row flex-grow items-center"},K2={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"},W2=Tn(()=>d("i",{"data-feather":"check"},null,-1)),Z2=Tn(()=>d("span",{class:"sr-only"},"Check icon",-1)),Y2=[W2,Z2],Q2={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"},J2=Tn(()=>d("i",{"data-feather":"x"},null,-1)),X2=Tn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),ev=[J2,X2],tv=["title"],nv={class:"flex"},sv=["onClick"],ov=Tn(()=>d("span",{class:"sr-only"},"Copy message",-1)),rv=Tn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),iv=[ov,rv],av=["onClick"],lv=Tn(()=>d("span",{class:"sr-only"},"Close",-1)),cv=Tn(()=>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)),uv=[lv,cv];function dv(t,e,n,s,o,r){return O(),M("div",H2,[Ce(jt,{name:"toastItem",tag:"div"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.toastArr,i=>(O(),M("div",{key:i.id,class:"relative"},[d("div",V2,[d("div",G2,[hh(t.$slots,"default",{},()=>[i.success?(O(),M("div",K2,Y2)):U("",!0),i.success?U("",!0):(O(),M("div",Q2,ev)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},J(i.message),9,tv)],!0)]),d("div",nv,[d("button",{type:"button",onClick:ue(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"},iv,8,sv),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"},uv,8,av)])])]))),128))]),_:3})])}const ti=Ke(U2,[["render",dv],["__scopeId","data-v-3ffdabf3"]]),Ja="/assets/default_model-9e24e852.png",fv={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),ge(()=>{Ee.replace()})},methods:{computedFileSize(t){return zt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ae.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Ja:this.icon},defaultImg(t){t.target.src=Ja},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return zt(this.speed)},total_size_computed(){return zt(this.total_size)},downloaded_size_computed(){return zt(this.downloaded_size)}},watch:{linkNotValid(){ge(()=>{Ee.replace()})}}},hv=["title"],pv={key:0,class:"flex flex-row"},gv={class:"flex gap-3 items-center grow"},mv=["src"],_v={class:"font-bold font-large text-lg truncate"},bv={key:1,class:"flex items-center flex-row gap-2 my-1"},yv={class:"flex grow items-center"},vv=d("i",{"data-feather":"box",class:"w-5"},null,-1),wv=d("span",{class:"sr-only"},"Custom model / local model",-1),xv=[vv,wv],kv=d("span",{class:"sr-only"},"Remove",-1),Ev={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"},Cv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Av=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),Sv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Tv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Ov={class:"flex justify-between mb-1"},Mv=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Rv={class:"text-sm font-medium text-blue-700 dark:text-white"},Nv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Dv={class:"flex justify-between mb-1"},Lv={class:"text-base font-medium text-blue-700 dark:text-white"},Iv={class:"text-sm font-medium text-blue-700 dark:text-white"},Pv={class:"flex flex-grow"},Fv={class:"flex flex-row flex-grow gap-3"},Bv={class:"p-2 text-center grow"},jv={key:3},zv={class:"flex flex-row items-center gap-3"},qv=["src"],$v={class:"font-bold font-large text-lg truncate"},Uv=d("div",{class:"grow"},null,-1),Hv=d("div",{class:"flex-none gap-1"},null,-1),Vv={class:"flex items-center flex-row-reverse gap-2 my-1"},Gv=d("span",{class:"sr-only"},"Copy info",-1),Kv={class:"flex flex-row items-center"},Wv={key:0,class:"text-base text-red-600 flex items-center mt-1"},Zv=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),Yv=d("span",{class:"sr-only"},"Click to install",-1),Qv=d("span",{class:"sr-only"},"Remove",-1),Jv=["title"],Xv={class:""},ew={class:"flex flex-row items-center"},tw=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),nw=d("b",null,"Manual download: ",-1),sw=["href","title"],ow=d("div",{class:"grow"},null,-1),rw=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),iw=[rw],aw={class:"flex items-center"},lw=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),cw=d("b",null,"File size: ",-1),uw={class:"flex items-center"},dw=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),fw=d("b",null,"License: ",-1),hw={class:"flex items-center"},pw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),gw=d("b",null,"Owner: ",-1),mw=["href"],_w=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),bw=["title"];function yw(t,e,n,s,o,r){return O(),M("div",{class:Me(["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]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(O(),M("div",pv,[d("div",gv,[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,mv),d("h3",_v,J(n.title),1)])])):U("",!0),n.model.isCustomModel?(O(),M("div",bv,[d("div",yv,[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]=ue(()=>{},["stop"]))},xv),be(" Custom model ")]),d("div",null,[n.model.isInstalled?(O(),M("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ue((...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 "),kv])):U("",!0)])])):U("",!0),o.installing?(O(),M("div",Ev,[d("div",Cv,[Av,d("div",Sv,[d("div",Tv,[d("div",Ov,[Mv,d("span",Rv,J(Math.floor(o.progress))+"%",1)]),d("div",Nv,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.progress+"%"})},null,4)]),d("div",Dv,[d("span",Lv,"Download speed: "+J(r.speed_computed)+"/s",1),d("span",Iv,J(r.downloaded_size_computed)+"/"+J(r.total_size_computed),1)])])]),d("div",Pv,[d("div",Fv,[d("div",Bv,[d("button",{onClick:e[3]||(e[3]=ue((...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 ")])])])])])):U("",!0),n.model.isCustomModel?U("",!0):(O(),M("div",jv,[d("div",zv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Me(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,qv),d("h3",$v,J(n.title),1),Uv,Hv]),d("div",Vv,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ue(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 "),Gv]),d("div",Kv,[o.linkNotValid?(O(),M("div",Wv,[Zv,be(" Link is not valid ")])):U("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(O(),M("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ue((...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 "),Yv])):U("",!0),n.model.isInstalled?(O(),M("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ue((...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 "),Qv])):U("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",Xv,[d("div",ew,[tw,nw,d("a",{href:n.path,onClick:e[8]||(e[8]=ue(()=>{},["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,sw),ow,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]=ue(i=>r.toggleCopyLink(),["stop"]))},iw)]),d("div",aw,[d("div",{class:Me(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[lw,cw,be(" "+J(o.fileSize),1)],2)]),d("div",uw,[dw,fw,be(" "+J(n.license),1)]),d("div",hw,[pw,gw,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ue(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},J(n.owner),9,mw)])]),_w,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},J(n.description.replace(/<\/?[^>]+>/ig," ")),9,bw)],8,Jv)]))],10,hv)}const vw=Ke(fv,[["render",yw]]),ww={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}}},xw={class:"p-4"},kw={class:"flex items-center mb-4"},Ew=["src"],Cw={class:"text-lg font-semibold"},Aw=d("strong",null,"Author:",-1),Sw=d("strong",null,"Description:",-1),Tw=d("strong",null,"Language:",-1),Ow=d("strong",null,"Category:",-1),Mw={key:0},Rw=d("strong",null,"Disclaimer:",-1),Nw=d("strong",null,"Conditioning Text:",-1),Dw=d("strong",null,"AI Prefix:",-1),Lw=d("strong",null,"User Prefix:",-1),Iw=d("strong",null,"Antiprompts:",-1);function Pw(t,e,n,s,o,r){return O(),M("div",xw,[d("div",kw,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Ew),d("h2",Cw,J(o.personalityName),1)]),d("p",null,[Aw,be(" "+J(o.personalityAuthor),1)]),d("p",null,[Sw,be(" "+J(o.personalityDescription),1)]),d("p",null,[Tw,be(" "+J(o.personalityLanguage),1)]),d("p",null,[Ow,be(" "+J(o.personalityCategory),1)]),o.disclaimer?(O(),M("p",Mw,[Rw,be(" "+J(o.disclaimer),1)])):U("",!0),d("p",null,[Nw,be(" "+J(o.conditioningText),1)]),d("p",null,[Dw,be(" "+J(o.aiPrefix),1)]),d("p",null,[Lw,be(" "+J(o.userPrefix),1)]),d("div",null,[Iw,d("ul",null,[(O(!0),M(Ie,null,et(o.antipromptsList,i=>(O(),M("li",{key:i.id},J(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?(O(),M("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 ")):U("",!0)])}const Fw=Ke(ww,[["render",Pw]]),Yn="/assets/logo-9d653710.svg",Bw="/assets/default_user-17642e5a.svg",jw="/",zw={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,onReinstall:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,ge(()=>{Ee.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return jw+this.personality.avatar},defaultImg(t){t.target.src=Yn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){ge(()=>{Ee.replace()})}}},qw=["title"],$w={class:"flex flex-row items-center flex-shrink-0 gap-3"},Uw=["src"],Hw={class:"font-bold font-large text-lg line-clamp-3"},Vw={class:"flex items-center flex-row-reverse gap-2 my-1"},Gw=d("span",{class:"sr-only"},"Settings",-1),Kw=d("span",{class:"sr-only"},"Reinstall personality",-1),Ww=d("span",{class:"sr-only"},"Click to install",-1),Zw=d("span",{class:"sr-only"},"Remove",-1),Yw={class:""},Qw={class:""},Jw={class:"flex items-center"},Xw=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),ex=d("b",null,"Author: ",-1),tx={class:"flex items-center"},nx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),sx=d("b",null,"Language: ",-1),ox={class:"flex items-center"},rx=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),ix=d("b",null,"Category: ",-1),ax=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),lx=["title"];function cx(t,e,n,s,o,r){return O(),M("div",{class:Me(["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[5]||(e[5]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Me(n.personality.installed?"":"opacity-50")},[d("div",$w,[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,Uw),d("h3",Hw,J(n.personality.name),1)]),d("div",Vw,[r.selected_computed?(O(),M("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=ue((...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 "),Gw])):U("",!0),n.personality.installed?(O(),M("button",{key:1,title:"Click to Reinstall personality",type:"button",onClick:e[2]||(e[2]=ue((...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 "),Kw])):U("",!0),o.isMounted?U("",!0):(O(),M("button",{key:2,title:"Mount personality",type:"button",onClick:e[3]||(e[3]=ue((...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 "),Ww])),o.isMounted?(O(),M("button",{key:3,title:"Unmount personality",type:"button",onClick:e[4]||(e[4]=ue((...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 "),Zw])):U("",!0)]),d("div",Yw,[d("div",Qw,[d("div",Jw,[Xw,ex,be(" "+J(n.personality.author),1)]),d("div",tx,[nx,sx,be(" "+J(n.personality.language),1)]),d("div",ox,[rx,ix,be(" "+J(n.personality.category),1)])]),ax,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},J(n.personality.description),9,lx)])],2)],10,qw)}const Tp=Ke(zw,[["render",cx]]),ux="/",dx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){ge(()=>{Ee.replace()})},methods:{getImgUrl(){return ux+this.binding.icon},defaultImg(t){t.target.src=Yn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){ge(()=>{Ee.replace()})}}},fx=["title"],hx={class:"flex flex-row items-center gap-3"},px=["src"],gx={class:"font-bold font-large text-lg truncate"},mx=d("div",{class:"grow"},null,-1),_x=d("div",{class:"flex-none gap-1"},null,-1),bx={class:"flex items-center flex-row-reverse gap-2 my-1"},yx=d("span",{class:"sr-only"},"Click to install",-1),vx=d("span",{class:"sr-only"},"Reinstall binding",-1),wx=d("span",{class:"sr-only"},"Settings",-1),xx={class:""},kx={class:""},Ex={class:"flex items-center"},Cx=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Ax=d("b",null,"Author: ",-1),Sx={class:"flex items-center"},Tx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Ox=d("b",null,"Folder: ",-1),Mx={class:"flex items-center"},Rx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Nx=d("b",null,"Version: ",-1),Dx={class:"flex items-center"},Lx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Ix=d("b",null,"Link: ",-1),Px=["href"],Fx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Bx=["title"];function jx(t,e,n,s,o,r){return O(),M("div",{class:Me(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=ue((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",hx,[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,px),d("h3",gx,J(n.binding.name),1),mx,_x]),d("div",bx,[n.binding.installed?U("",!0):(O(),M("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=ue((...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 "),yx])),n.binding.installed?(O(),M("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=ue((...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 "),vx])):U("",!0),n.selected?(O(),M("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=ue((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Settings "),wx])):U("",!0)]),d("div",xx,[d("div",kx,[d("div",Ex,[Cx,Ax,be(" "+J(n.binding.author),1)]),d("div",Sx,[Tx,Ox,be(" "+J(n.binding.folder),1)]),d("div",Mx,[Rx,Nx,be(" "+J(n.binding.version),1)]),d("div",Dx,[Lx,Ix,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},J(n.binding.link),9,Px)])]),Fx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},J(n.binding.description),9,Bx)])])],10,fx)}const zx=Ke(dx,[["render",jx]]),Kt=Object.create(null);Kt.open="0";Kt.close="1";Kt.ping="2";Kt.pong="3";Kt.message="4";Kt.upgrade="5";Kt.noop="6";const lr=Object.create(null);Object.keys(Kt).forEach(t=>{lr[Kt[t]]=t});const qx={type:"error",data:"parser error"},$x=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Ux=typeof ArrayBuffer=="function",Hx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Op=({type:t,data:e},n,s)=>$x&&e instanceof Blob?n?s(e):Nu(e,s):Ux&&(e instanceof ArrayBuffer||Hx(e))?n?s(e):Nu(new Blob([e]),s):s(Kt[t]+(e||"")),Nu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Du="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return c},Gx=typeof ArrayBuffer=="function",Mp=(t,e)=>{if(typeof t!="string")return{type:"message",data:Rp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Kx(t.substring(1),e)}:lr[n]?t.length>1?{type:lr[n],data:t.substring(1)}:{type:lr[n]}:qx},Kx=(t,e)=>{if(Gx){const n=Vx(t);return Rp(n,e)}else return{base64:!0,data:t}},Rp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Np=String.fromCharCode(30),Wx=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{Op(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Np))})})},Zx=(t,e)=>{const n=t.split(Np),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Lp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Qx=vt.setTimeout,Jx=vt.clearTimeout;function ni(t,e){e.useNativeTimers?(t.setTimeoutFn=Qx.bind(vt),t.clearTimeoutFn=Jx.bind(vt)):(t.setTimeoutFn=vt.setTimeout.bind(vt),t.clearTimeoutFn=vt.clearTimeout.bind(vt))}const Xx=1.33;function ek(t){return typeof t=="string"?tk(t):Math.ceil((t.byteLength||t.size)*Xx)}function tk(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class nk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Ip extends Ye{constructor(e){super(),this.writable=!1,ni(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new nk(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=Mp(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 Pp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Xa=64,sk={};let Lu=0,$o=0,Iu;function Pu(t){let e="";do e=Pp[t%Xa]+e,t=Math.floor(t/Xa);while(t>0);return e}function Fp(){const t=Pu(+new Date);return t!==Iu?(Lu=0,Iu=t):t+"."+Pu(Lu++)}for(;$o{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)};Zx(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,Wx(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]=Fp()),!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=Bp(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 Ht(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 Ht extends Ye{constructor(e,n){super(),ni(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=Lp(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 zp(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=Ht.requestsCount++,Ht.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=ik,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Ht.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()}}Ht.requestsCount=0;Ht.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Fu);else if(typeof addEventListener=="function"){const t="onpagehide"in vt?"pagehide":"unload";addEventListener(t,Fu,!1)}}function Fu(){for(let t in Ht.requests)Ht.requests.hasOwnProperty(t)&&Ht.requests[t].abort()}const qp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Uo=vt.WebSocket||vt.MozWebSocket,Bu=!0,ck="arraybuffer",ju=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class uk extends Ip{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=ju?{}:Lp(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=Bu&&!ju?n?new Uo(e,n):new Uo(e):new Uo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||ck,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{Bu&&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]=Fp()),this.supportsBinary||(e.b64=1);const o=Bp(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!!Uo}}const dk={websocket:uk,polling:lk},fk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,hk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function el(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=fk.exec(t||""),r={},i=14;for(;i--;)r[hk[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=pk(r,r.path),r.queryKey=gk(r,r.query),r}function pk(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 gk(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let $p=class cs extends Ye{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=el(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=el(n.host).host),ni(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=ok(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=Dp,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 dk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&cs.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;cs.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;cs.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=f=>{const h=new Error("probe error: "+f);h.transport=n.name,r(),this.emitReserved("upgradeError",h)};function a(){i("transport closed")}function l(){i("socket closed")}function c(f){n&&f.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",cs.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){cs.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,Up=Object.prototype.toString,yk=typeof Blob=="function"||typeof Blob<"u"&&Up.call(Blob)==="[object BlobConstructor]",vk=typeof File=="function"||typeof File<"u"&&Up.call(File)==="[object FileConstructor]";function Kl(t){return _k&&(t instanceof ArrayBuffer||bk(t))||yk&&t instanceof Blob||vk&&t instanceof File}function cr(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:De.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 De.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 De.EVENT:case De.BINARY_EVENT:this.onevent(e);break;case De.ACK:case De.BINARY_ACK:this.onack(e);break;case De.DISCONNECT:this.ondisconnect();break;case De.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:De.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:De.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}$s.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};$s.prototype.reset=function(){this.attempts=0};$s.prototype.setMin=function(t){this.ms=t};$s.prototype.setMax=function(t){this.max=t};$s.prototype.setJitter=function(t){this.jitter=t};class sl extends Ye{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,ni(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 $s({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||Ak;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 $p(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Mt(n,"open",function(){s.onopen(),e&&e()}),r=Mt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Mt(e,"ping",this.onping.bind(this)),Mt(e,"data",this.ondata.bind(this)),Mt(e,"error",this.onerror.bind(this)),Mt(e,"close",this.onclose.bind(this)),Mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){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 Hp(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 Zs={};function ur(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=mk(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Zs[o]&&r in Zs[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new sl(s,e):(Zs[o]||(Zs[o]=new sl(s,e)),l=Zs[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(ur,{Manager:sl,Socket:Hp,io:ur,connect:ur});const Tk=void 0,qe=new ur(Tk);qe.onopen=()=>{console.log("WebSocket connection established.")};qe.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};qe.onerror=t=>{console.error("WebSocket error:",t),qe.disconnect()};qe.on("connect",()=>{console.log("WebSocket connected (websocket)")});qe.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const Ok={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})}}},Mk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Rk={class:"relative w-full max-w-md max-h-full"},Nk={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Dk=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),Lk=d("span",{class:"sr-only"},"Close modal",-1),Ik=[Dk,Lk],Pk={class:"p-4 text-center"},Fk=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),Bk={class:"p-4 text-center mx-auto mb-4"},jk=d("label",{class:"mr-2"},"Model path",-1);function zk(t,e,n,s,o,r){return o.show?(O(),M("div",Mk,[d("div",Rk,[d("div",Nk,[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"},Ik),d("div",Pk,[Fk,d("div",Bk,[jk,Oe(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),[[je,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")])])])])):U("",!0)}const qk=Ke(Ok,[["render",zk]]),$k={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){ge(()=>{Ee.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){ge(()=>{Ee.replace()})}}},Uk={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},Hk={class:"relative w-full max-w-md"},Vk={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Gk={class:"flex flex-row flex-grow items-center m-2 p-1"},Kk={class:"grow flex items-center"},Wk=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Zk={class:"text-lg font-semibold select-none mr-2"},Yk={class:"items-end"},Qk=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),Jk=d("span",{class:"sr-only"},"Close form modal",-1),Xk=[Qk,Jk],eE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},tE={class:"px-2"},nE={key:0},sE={key:0},oE={class:"text-base font-semibold"},rE={key:0,class:"relative inline-flex"},iE=["onUpdate:modelValue"],aE=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),lE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},cE=["onUpdate:modelValue"],uE={key:1},dE={class:"text-base font-semibold"},fE={key:0,class:"relative inline-flex"},hE=["onUpdate:modelValue"],pE=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),gE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},mE=["onUpdate:modelValue"],_E=["value","selected"],bE={key:1},yE={class:"text-base font-semibold"},vE={key:0,class:"relative inline-flex"},wE=["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),kE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},EE=["onUpdate:modelValue"],CE=["onUpdate:modelValue","min","max"],AE={key:2},SE={class:"mb-2 relative flex items-center gap-2"},TE={for:"default-checkbox",class:"text-base font-semibold"},OE=["onUpdate:modelValue"],ME={key:0,class:"relative inline-flex"},RE=["onUpdate:modelValue"],NE=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),DE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},LE={key:3},IE={class:"text-base font-semibold"},PE={key:0,class:"relative inline-flex"},FE=["onUpdate:modelValue"],BE=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),jE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},zE=["onUpdate:modelValue"],qE=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),$E={class:"flex flex-row flex-grow gap-3"},UE={class:"p-2 text-center grow"};function HE(t,e,n,s,o,r){return o.show?(O(),M("div",Uk,[d("div",Hk,[d("div",Vk,[d("div",Gk,[d("div",Kk,[Wk,d("h3",Zk,J(o.title),1)]),d("div",Yk,[d("button",{type:"button",onClick:e[0]||(e[0]=ue(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"},Xk)])]),d("div",eE,[(O(!0),M(Ie,null,et(o.controls_array,(i,a)=>(O(),M("div",tE,[i.type=="str"?(O(),M("div",nE,[i.options?U("",!0):(O(),M("div",sE,[d("label",{class:Me(["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",oE,J(i.name)+": ",1),i.help?(O(),M("label",rE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,iE),[[mn,i.isHelp]]),aE])):U("",!0)],2),i.isHelp?(O(),M("p",lE,J(i.help),1)):U("",!0),Oe(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,cE),[[je,i.value]])])),i.options?(O(),M("div",uE,[d("label",{class:Me(["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",dE,J(i.name)+": ",1),i.help?(O(),M("label",fE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,hE),[[mn,i.isHelp]]),pE])):U("",!0)],2),i.isHelp?(O(),M("p",gE,J(i.help),1)):U("",!0),Oe(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"},[(O(!0),M(Ie,null,et(i.options,l=>(O(),M("option",{value:l,selected:i.value===l},J(l),9,_E))),256))],8,mE),[[F1,i.value]])])):U("",!0)])):U("",!0),i.type=="int"||i.type=="float"?(O(),M("div",bE,[d("label",{class:Me(["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",yE,J(i.name)+": ",1),i.help?(O(),M("label",vE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,wE),[[mn,i.isHelp]]),xE])):U("",!0)],2),i.isHelp?(O(),M("p",kE,J(i.help),1)):U("",!0),Oe(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,EE),[[je,i.value]]),i.min!=null&&i.max!=null?Oe((O(),M("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,CE)),[[je,i.value]]):U("",!0)])):U("",!0),i.type=="bool"?(O(),M("div",AE,[d("div",SE,[d("label",TE,J(i.name)+": ",1),Oe(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,OE),[[mn,i.value]]),i.help?(O(),M("label",ME,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,RE),[[mn,i.isHelp]]),NE])):U("",!0)]),i.isHelp?(O(),M("p",DE,J(i.help),1)):U("",!0)])):U("",!0),i.type=="list"?(O(),M("div",LE,[d("label",{class:Me(["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",IE,J(i.name)+": ",1),i.help?(O(),M("label",PE,[Oe(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,FE),[[mn,i.isHelp]]),BE])):U("",!0)],2),i.isHelp?(O(),M("p",jE,J(i.help),1)):U("",!0),Oe(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,zE),[[je,i.value]])])):U("",!0),qE]))),256)),d("div",$E,[d("div",UE,[d("button",{onClick:e[1]||(e[1]=ue(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"},J(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=ue(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"},J(o.DenyButtonText),1)])])])])])])):U("",!0)}const Vp=Ke($k,[["render",HE]]);const VE="/";Ae.defaults.baseURL="/";const GE={components:{AddModelDialog:qk,MessageBox:M2,YesNoDialog:$2,ModelEntry:vw,PersonalityViewer:Fw,Toast:ti,PersonalityEntry:Tp,BindingEntry:zx,UniversalForm:Vp},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],modelsFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:VE,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async constructor(){this.isLoading=!0,ge(()=>{Ee.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.getVramUsage(),this.getMountedPersonalities(),this.isMounted=!0},async getVramUsage(){const t=await this.api_get_req("vram_usage"),e=[];if(t.nb_gpus>0){for(let s=0;ss.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model: `+model_object.title+` installed!`,4,!0),this.api_get_req("disk_usage").then(e=>{this.diskUsage=e})}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model: `+model_object.title+` @@ -76,10 +76,10 @@ Response: `+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n);console.log("index",s),console.log("i:",e);const o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),ge(()=>{})},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Yn},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()},activated(){this.isMounted&&this.constructor()},computed:{disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return defaultImgPlaceholder}},imgModel(){if(this.isMounted)try{return this.$refs.modelZoo[this.$refs.modelZoo.findIndex(t=>t.title==this.configFile.model_name)].$refs.imgElement.src}catch{return Ja}},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return zt(this.addModel.speed)},total_size_computed(){return zt(this.addModel.total_size)},downloaded_size_computed(){return zt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){ge(()=>{Ee.replace()})},pc_collapsed(){ge(()=>{Ee.replace()})},mc_collapsed(){ge(()=>{Ee.replace()})},sc_collapsed(){ge(()=>{Ee.replace()})},showConfirmation(){ge(()=>{Ee.replace()})},mzl_collapsed(){ge(()=>{Ee.replace()})},pzl_collapsed(){ge(()=>{Ee.replace()})},bzl_collapsed(){ge(()=>{Ee.replace()})},all_collapsed(t){this.collapseAll(t),ge(()=>{Ee.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,ge(()=>{Ee.replace()})},isLoading(){ge(()=>{Ee.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){ge(()=>{Ee.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes? You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model? -You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},be=t=>(Fs("data-v-ca5f9646"),t=t(),Bs(),t),GE={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},KE={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"},WE={key:0,class:"flex gap-3 flex-1 items-center duration-75"},ZE=be(()=>d("i",{"data-feather":"x"},null,-1)),YE=[ZE],QE=be(()=>d("i",{"data-feather":"check"},null,-1)),JE=[QE],XE={key:1,class:"flex gap-3 flex-1 items-center"},e5=be(()=>d("i",{"data-feather":"save"},null,-1)),t5=[e5],n5=be(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),s5=[n5],o5=be(()=>d("i",{"data-feather":"list"},null,-1)),r5=[o5],i5={class:"flex gap-3 flex-1 items-center justify-end"},a5={class:"flex gap-3 items-center"},l5={key:0,class:"flex gap-3 items-center"},c5=be(()=>d("i",{"data-feather":"check"},null,-1)),u5=[c5],d5={key:1,role:"status"},f5=be(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),h5=be(()=>d("span",{class:"sr-only"},"Loading...",-1)),p5=[f5,h5],g5={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"},m5={class:"flex flex-row p-3"},_5=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),b5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),y5=be(()=>d("div",{class:"mr-2"},"|",-1)),v5={class:"text-base font-semibold cursor-pointer select-none items-center"},w5={class:"flex gap-2 items-center"},x5={key:0},k5={class:"flex gap-2 items-center"},E5=["title"],C5=js('',34),A5=[C5],S5={class:"font-bold font-large text-lg"},T5={key:1},O5={class:"flex gap-2 items-center"},M5=js('',1),R5={class:"font-bold font-large text-lg"},N5=be(()=>d("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),D5={class:"font-bold font-large text-lg"},L5=be(()=>d("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),I5={class:"font-bold font-large text-lg"},P5={class:"mb-2"},F5=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),ve(" CPU Ram usage: ")],-1)),B5={class:"flex flex-col mx-2"},j5=be(()=>d("b",null,"Avaliable ram: ",-1)),z5=be(()=>d("b",null,"Ram usage: ",-1)),q5={class:"p-2"},$5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},U5={class:"mb-2"},H5=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),ve(" Disk usage: ")],-1)),V5={class:"flex flex-col mx-2"},G5=be(()=>d("b",null,"Avaliable disk space: ",-1)),K5=be(()=>d("b",null,"Disk usage: ",-1)),W5={class:"p-2"},Z5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Y5={class:"mb-2"},Q5=js('',1),J5={class:"flex flex-col mx-2"},X5=be(()=>d("b",null,"Model: ",-1)),e4=be(()=>d("b",null,"Avaliable vram: ",-1)),t4=be(()=>d("b",null,"GPU usage: ",-1)),n4={class:"p-2"},s4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},o4={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"},r4={class:"flex flex-row p-3"},i4=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),a4=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),l4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},c4=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),u4={key:1,class:"mr-2"},d4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},f4={class:"flex gap-1 items-center"},h4=["src"],p4={class:"font-bold font-large text-lg line-clamp-1"},g4={key:0,class:"mb-2"},m4={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},_4=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),b4=[_4],y4=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),v4=[y4],w4={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"},x4={class:"flex flex-row p-3"},k4=["data-feather"],E4=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),C4={class:"flex flex-row items-center"},A4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},S4=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),T4={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},O4=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),M4={key:2,class:"mr-2"},R4={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},N4={class:"flex gap-1 items-center"},D4=["src"],L4={class:"font-bold font-large text-lg line-clamp-1"},I4={class:"mx-2 mb-4"},P4={class:"relative"},F4={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},B4={key:0},j4=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),z4=[j4],q4={key:1},$4=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),U4=[$4],H4={key:0},V4={key:0,class:"mb-2"},G4={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},K4={key:1},W4={key:0,class:"mb-2"},Z4={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Y4=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),Q4=[Y4],J4=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),X4=[J4],eC={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"},tC={class:"flex flex-row p-3"},nC=["data-feather"],sC=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),oC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},rC=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),iC={key:1,class:"mr-2"},aC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},lC={class:"flex gap-1 items-center"},cC=["src"],uC={class:"font-bold font-large text-lg line-clamp-1"},dC={class:"mb-2"},fC={class:"p-2"},hC={key:0},pC={class:"mb-3"},gC=be(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),mC={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},_C=be(()=>d("div",{role:"status",class:"justify-center"},null,-1)),bC={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},yC={class:"w-full p-2"},vC={class:"flex justify-between mb-1"},wC=js(' Downloading Loading...',1),xC={class:"text-sm font-medium text-blue-700 dark:text-white"},kC=["title"],EC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},CC={class:"flex justify-between mb-1"},AC={class:"text-base font-medium text-blue-700 dark:text-white"},SC={class:"text-sm font-medium text-blue-700 dark:text-white"},TC={class:"flex flex-grow"},OC={class:"flex flex-row flex-grow gap-3"},MC={class:"p-2 text-center grow"},RC={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"},NC={class:"flex flex-row p-3 items-center"},DC=["data-feather"],LC=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),IC={key:0,class:"mr-2"},PC={class:"mr-2 font-bold font-large text-lg line-clamp-1"},FC={key:1,class:"mr-2"},BC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},jC={key:0,class:"flex -space-x-4 items-center"},zC={class:"group items-center flex flex-row"},qC=["onClick"],$C=["src","title"],UC=["onClick"],HC=be(()=>d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),VC=[HC],GC={class:"mx-2 mb-4"},KC=be(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),WC={class:"relative"},ZC={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},YC={key:0},QC=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),JC=[QC],XC={key:1},e3=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),t3=[e3],n3={key:0,class:"mx-2 mb-4"},s3={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},o3=["selected"],r3={key:1,class:"mx-2 mb-4"},i3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},a3=["selected"],l3={key:0,class:"mb-2"},c3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},u3=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),d3=[u3],f3=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),h3=[f3],p3={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"},g3={class:"flex flex-row"},m3=["data-feather"],_3=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),b3={class:"m-2"},y3={class:"flex flex-row gap-2 items-center"},v3=be(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),w3={class:"m-2"},x3=be(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),k3={class:"m-2"},E3={class:"flex flex-col align-bottom"},C3={class:"relative"},A3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),S3={class:"absolute right-0"},T3={class:"m-2"},O3={class:"flex flex-col align-bottom"},M3={class:"relative"},R3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),N3={class:"absolute right-0"},D3={class:"m-2"},L3={class:"flex flex-col align-bottom"},I3={class:"relative"},P3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),F3={class:"absolute right-0"},B3={class:"m-2"},j3={class:"flex flex-col align-bottom"},z3={class:"relative"},q3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),$3={class:"absolute right-0"},U3={class:"m-2"},H3={class:"flex flex-col align-bottom"},V3={class:"relative"},G3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),K3={class:"absolute right-0"},W3={class:"m-2"},Z3={class:"flex flex-col align-bottom"},Y3={class:"relative"},Q3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),J3={class:"absolute right-0"};function X3(t,e,n,s,o,r){const i=ut("BindingEntry"),a=ut("model-entry"),l=ut("personality-entry"),c=ut("YesNoDialog"),u=ut("AddModelDialog"),f=ut("MessageBox"),h=ut("Toast"),g=ut("UniversalForm");return O(),M(Ie,null,[d("div",GE,[d("div",KE,[o.showConfirmation?(O(),M("div",WE,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ue(p=>o.showConfirmation=!1,["stop"]))},YE),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ue(p=>r.save_configuration(),["stop"]))},JE)])):U("",!0),o.showConfirmation?U("",!0):(O(),M("div",XE,[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)},t5),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())},s5),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]=ue(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},r5)])),d("div",i5,[d("div",a5,[o.settingsChanged?(O(),M("div",l5,[ve(" Apply changes: "),o.isLoading?U("",!0):(O(),M("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ue(p=>r.applyConfiguration(),["stop"]))},u5))])):U("",!0),o.isLoading?(O(),M("div",d5,p5)):U("",!0)])])]),d("div",{class:Me(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",g5,[d("div",m5,[d("button",{onClick:e[6]||(e[6]=ue(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"},[_5,b5,y5,d("div",v5,[d("div",w5,[d("div",null,[o.vramUsage.gpus&&o.vramUsage.gpus.length==1?(O(),M("div",x5,[(O(!0),M(Ie,null,et(o.vramUsage.gpus,p=>(O(),M("div",k5,[(O(),M("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"},A5,8,E5)),d("h3",S5,[d("div",null,J(p.used_vram)+" / "+J(p.total_vram)+" ("+J(p.percentage)+"%) ",1)])]))),256))])):U("",!0),o.vramUsage.gpus&&o.vramUsage.gpus.length>1?(O(),M("div",T5,[d("div",O5,[M5,d("h3",R5,[d("div",null,J(o.vramUsage.gpus.length)+"x ",1)])])])):U("",!0)]),N5,d("h3",D5,[d("div",null,J(r.ram_usage)+" / "+J(r.ram_total_space)+" ("+J(r.ram_percent_usage)+"%)",1)]),L5,d("h3",I5,[d("div",null,J(r.disk_binding_models_usage)+" / "+J(r.disk_total_space)+" ("+J(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Me([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",P5,[F5,d("div",B5,[d("div",null,[j5,ve(J(r.ram_available_space),1)]),d("div",null,[z5,ve(" "+J(r.ram_usage)+" / "+J(r.ram_total_space)+" ("+J(r.ram_percent_usage)+")% ",1)])]),d("div",q5,[d("div",$5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",U5,[H5,d("div",V5,[d("div",null,[G5,ve(J(r.disk_available_space),1)]),d("div",null,[K5,ve(" "+J(r.disk_binding_models_usage)+" / "+J(r.disk_total_space)+" ("+J(r.disk_percent_usage)+"%)",1)])]),d("div",W5,[d("div",Z5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(O(!0),M(Ie,null,et(o.vramUsage.gpus,p=>(O(),M("div",Y5,[Q5,d("div",J5,[d("div",null,[X5,ve(J(p.gpu_model),1)]),d("div",null,[e4,ve(J(p.available_space),1)]),d("div",null,[t4,ve(" "+J(p.used_vram)+" / "+J(p.total_vram)+" ("+J(p.percentage)+"%)",1)])]),d("div",n4,[d("div",s4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),d("div",o4,[d("div",r4,[d("button",{onClick:e[7]||(e[7]=ue(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"},[i4,a4,o.configFile.binding_name?U("",!0):(O(),M("div",l4,[c4,ve(" No binding selected! ")])),o.configFile.binding_name?(O(),M("div",u4,"|")):U("",!0),o.configFile.binding_name?(O(),M("div",d4,[d("div",f4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,h4),d("h3",p4,J(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(O(),M("div",g4,[d("label",m4," Bindings: ("+J(o.bindings.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.bindings,(p,m)=>(O(),at(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:p.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):U("",!0),o.bzl_collapsed?(O(),M("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=p=>o.bzl_collapsed=!o.bzl_collapsed)},b4)):(O(),M("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=p=>o.bzl_collapsed=!o.bzl_collapsed)},v4))],2)]),d("div",w4,[d("div",x4,[d("button",{onClick:e[10]||(e[10]=ue(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"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,k4),E4,d("div",C4,[o.configFile.binding_name?U("",!0):(O(),M("div",A4,[S4,ve(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(O(),M("div",T4,[O4,ve(" No model selected! ")])):U("",!0),o.configFile.model_name?(O(),M("div",M4,"|")):U("",!0),o.configFile.model_name?(O(),M("div",R4,[d("div",N4,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,D4),d("h3",L4,J(o.configFile.model_name),1)])])):U("",!0)])])]),d("div",{class:Me([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",I4,[d("form",null,[d("div",P4,[d("div",F4,[o.searchModelInProgress?(O(),M("div",B4,z4)):U("",!0),o.searchModelInProgress?U("",!0):(O(),M("div",q4,U4))]),Oe(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[11]||(e[11]=p=>o.searchModel=p),onKeyup:e[12]||(e[12]=ue((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[je,o.searchModel]]),o.searchModel?(O(),M("button",{key:0,onClick:e[13]||(e[13]=ue(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")):U("",!0)])])]),o.searchModel?(O(),M("div",H4,[o.modelsFiltered.length>0?(O(),M("div",V4,[d("label",G4," Search results: ("+J(o.modelsFiltered.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.modelsFiltered,(p,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+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===o.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)])):U("",!0)])):U("",!0),o.searchModel?U("",!0):(O(),M("div",K4,[o.models.length>0?(O(),M("div",W4,[d("label",Z4," Models: ("+J(o.models.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.models,(p,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+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===o.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)])):U("",!0)])),o.mzl_collapsed?(O(),M("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[14]||(e[14]=p=>o.mzl_collapsed=!o.mzl_collapsed)},Q4)):(O(),M("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[15]||(e[15]=p=>o.mzl_collapsed=!o.mzl_collapsed)},X4))],2)]),d("div",eC,[d("div",tC,[d("button",{onClick:e[16]||(e[16]=ue(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"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,nC),sC,o.configFile.binding_name?U("",!0):(O(),M("div",oC,[rC,ve(" No binding selected! ")])),o.configFile.binding_name?(O(),M("div",iC,"|")):U("",!0),o.configFile.binding_name?(O(),M("div",aC,[d("div",lC,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,cC),d("h3",uC,J(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",dC,[d("div",fC,[o.modelDownlaodInProgress?U("",!0):(O(),M("div",hC,[d("div",pC,[gC,Oe(d("input",{type:"text","onUpdate:modelValue":e[17]||(e[17]=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),[[je,o.addModel.url]])]),d("button",{type:"button",onClick:e[18]||(e[18]=ue(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?(O(),M("div",mC,[_C,d("div",bC,[d("div",yC,[d("div",vC,[wC,d("span",xC,J(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},J(o.addModel.url),9,kC),d("div",EC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.addModel.progress+"%"})},null,4)]),d("div",CC,[d("span",AC,"Download speed: "+J(r.speed_computed)+"/s",1),d("span",SC,J(r.downloaded_size_computed)+"/"+J(r.total_size_computed),1)])])]),d("div",TC,[d("div",OC,[d("div",MC,[d("button",{onClick:e[19]||(e[19]=ue((...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 ")])])])])):U("",!0)])])],2)]),d("div",RC,[d("div",NC,[d("button",{onClick:e[21]||(e[21]=ue(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"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,DC),LC,o.configFile.personalities?(O(),M("div",IC,"|")):U("",!0),d("div",PC,J(r.active_pesonality),1),o.configFile.personalities?(O(),M("div",FC,"|")):U("",!0),o.configFile.personalities?(O(),M("div",BC,[o.mountedPersArr.length>0?(O(),M("div",jC,[(O(!0),M(Ie,null,et(o.mountedPersArr,(p,m)=>(O(),M("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",zC,[d("button",{onClick:ue(v=>r.onPersonalitySelected(p),["stop"])},[d("img",{src:o.bUrl+p.avatar,onError:e[20]||(e[20]=(...v)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...v)),class:Me(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,$C)],8,qC),d("button",{onClick:ue(v=>r.onPersonalityMounted(p),["stop"])},VC,8,UC)])]))),128))])):U("",!0)])):U("",!0)])]),d("div",{class:Me([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",GC,[d("form",null,[KC,d("div",WC,[d("div",ZC,[o.searchPersonalityInProgress?(O(),M("div",YC,JC)):U("",!0),o.searchPersonalityInProgress?U("",!0):(O(),M("div",XC,t3))]),Oe(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[22]||(e[22]=p=>o.searchPersonality=p),onKeyup:e[23]||(e[23]=ue((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[je,o.searchPersonality]]),o.searchPersonality?(O(),M("button",{key:0,onClick:e[24]||(e[24]=ue(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")):U("",!0)])])]),o.searchPersonality?U("",!0):(O(),M("div",n3,[d("label",s3," Personalities Languages: ("+J(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[25]||(e[25]=p=>r.update_setting("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"},[(O(!0),M(Ie,null,et(o.persLangArr,p=>(O(),M("option",{selected:p===this.configFile.personality_language},J(p),9,o3))),256))],32)])),o.searchPersonality?U("",!0):(O(),M("div",r3,[d("label",i3," Personalities Category: ("+J(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[26]||(e[26]=p=>r.update_setting("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"},[(O(!0),M(Ie,null,et(o.persCatgArr,(p,m)=>(O(),M("option",{key:m,selected:p==this.configFile.personality_category},J(p),9,a3))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(O(),M("div",l3,[d("label",c3,J(o.searchPersonality?"Search results":"Personalities")+": ("+J(o.personalitiesFiltered.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.personalitiesFiltered,(p,m)=>(O(),at(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+p.name,personality:p,full_path:p.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(v=>v===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):U("",!0)]),o.pzl_collapsed?(O(),M("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[27]||(e[27]=p=>o.pzl_collapsed=!o.pzl_collapsed)},d3)):(O(),M("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[28]||(e[28]=p=>o.pzl_collapsed=!o.pzl_collapsed)},h3))],2)]),d("div",p3,[d("div",g3,[d("button",{onClick:e[29]||(e[29]=ue(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"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,m3),_3])]),d("div",{class:Me([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",b3,[d("div",y3,[Oe(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[30]||(e[30]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[31]||(e[31]=p=>o.configFile.override_personality_model_parameters=p),onChange:e[32]||(e[32]=p=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[mn,o.configFile.override_personality_model_parameters]]),v3])]),d("div",{class:Me(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",w3,[x3,Oe(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[33]||(e[33]=p=>o.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),[[je,o.configFile.seed]])]),d("div",k3,[d("div",E3,[d("div",C3,[A3,d("p",S3,[Oe(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[34]||(e[34]=p=>o.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),[[je,o.configFile.temperature]])])]),Oe(d("input",{id:"temperature",onChange:e[35]||(e[35]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[36]||(e[36]=p=>o.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),[[je,o.configFile.temperature]])])]),d("div",T3,[d("div",O3,[d("div",M3,[R3,d("p",N3,[Oe(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[37]||(e[37]=p=>o.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),[[je,o.configFile.n_predict]])])]),Oe(d("input",{id:"predict",onChange:e[38]||(e[38]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[39]||(e[39]=p=>o.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),[[je,o.configFile.n_predict]])])]),d("div",D3,[d("div",L3,[d("div",I3,[P3,d("p",F3,[Oe(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[40]||(e[40]=p=>o.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),[[je,o.configFile.top_k]])])]),Oe(d("input",{id:"top_k",onChange:e[41]||(e[41]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[42]||(e[42]=p=>o.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),[[je,o.configFile.top_k]])])]),d("div",B3,[d("div",j3,[d("div",z3,[q3,d("p",$3,[Oe(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[43]||(e[43]=p=>o.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),[[je,o.configFile.top_p]])])]),Oe(d("input",{id:"top_p",onChange:e[44]||(e[44]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[45]||(e[45]=p=>o.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),[[je,o.configFile.top_p]])])]),d("div",U3,[d("div",H3,[d("div",V3,[G3,d("p",K3,[Oe(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[46]||(e[46]=p=>o.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),[[je,o.configFile.repeat_penalty]])])]),Oe(d("input",{id:"repeat_penalty",onChange:e[47]||(e[47]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[48]||(e[48]=p=>o.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),[[je,o.configFile.repeat_penalty]])])]),d("div",W3,[d("div",Z3,[d("div",Y3,[Q3,d("p",J3,[Oe(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[49]||(e[49]=p=>o.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),[[je,o.configFile.repeat_last_n]])])]),Oe(d("input",{id:"repeat_last_n",onChange:e[50]||(e[50]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[51]||(e[51]=p=>o.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),[[je,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ce(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ce(u,{ref:"addmodeldialog"},null,512),Ce(f,{ref:"messageBox"},null,512),Ce(h,{ref:"toast"},null,512),Ce(g,{ref:"universalForm",class:"z-20"},null,512)],64)}const eA=Ke(VE,[["render",X3],["__scopeId","data-v-ca5f9646"]]),tA={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)}}},nA={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"},sA={class:"mb-4"},oA=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),rA={class:"mb-4"},iA=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),aA={class:"mb-4"},lA=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),cA={class:"mt-2 text-xs"},uA={class:"mb-4"},dA=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),fA={class:"mb-4"},hA=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),pA={class:"mb-4"},gA=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),mA={class:"mb-4"},_A=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),bA={class:"mb-4"},yA=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),vA=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function wA(t,e,n,s,o,r){return O(),M("div",nA,[d("form",{onSubmit:e[10]||(e[10]=ue((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",sA,[oA,Oe(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.model_name]])]),d("div",rA,[iA,Oe(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.tokenizer_name]])]),d("div",aA,[lA,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",cA,"Selected File: "+J(o.selectedDatasetPath),1)]),d("div",uA,[dA,Oe(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.max_length,void 0,{number:!0}]])]),d("div",fA,[hA,Oe(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.batch_size,void 0,{number:!0}]])]),d("div",pA,[gA,Oe(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.lr,void 0,{number:!0}]])]),d("div",mA,[_A,Oe(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.num_epochs,void 0,{number:!0}]])]),d("div",bA,[yA,Oe(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[je,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),vA],32)])}const xA=Ke(tA,[["render",wA]]),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,ge(()=>{Ee.replace()})},watch:{showConfirmation(){ge(()=>{Ee.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&ge(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},EA=["id"],CA={class:"flex flex-row items-center gap-2"},AA={key:0},SA=["title"],TA=["value"],OA={class:"flex items-center flex-1 max-h-6"},MA={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},RA=d("i",{"data-feather":"check"},null,-1),NA=[RA],DA=d("i",{"data-feather":"x"},null,-1),LA=[DA],IA={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},PA=d("i",{"data-feather":"x"},null,-1),FA=[PA],BA=d("i",{"data-feather":"check"},null,-1),jA=[BA],zA={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},qA=d("i",{"data-feather":"edit-2"},null,-1),$A=[qA],UA=d("i",{"data-feather":"trash"},null,-1),HA=[UA];function VA(t,e,n,s,o,r){return O(),M("div",{class:Me([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ue(i=>r.selectEvent(),["stop"]))},[d("div",CA,[n.isCheckbox?(O(),M("div",AA,[Oe(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]=ue(()=>{},["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),[[mn,o.checkBoxValue_local]])])):U("",!0),n.selected?(O(),M("div",{key:1,class:Me(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):U("",!0),n.selected?U("",!0):(O(),M("div",{key:2,class:Me(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?U("",!0):(O(),M("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},J(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,SA)),o.editTitle?(O(),M("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]=$a(ue(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=$a(ue(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ue(()=>{},["stop"]))},null,40,TA)):U("",!0),d("div",OA,[o.showConfirmation&&!o.editTitleMode?(O(),M("div",MA,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(i=>r.deleteEvent(),["stop"]))},NA),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ue(i=>o.showConfirmation=!1,["stop"]))},LA)])):U("",!0),o.showConfirmation&&o.editTitleMode?(O(),M("div",IA,[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]=ue(i=>o.editTitleMode=!1,["stop"]))},FA),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ue(i=>r.editTitleEvent(),["stop"]))},jA)])):U("",!0),o.showConfirmation?U("",!0):(O(),M("div",zA,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ue(i=>o.editTitleMode=!0,["stop"]))},$A),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ue(i=>o.showConfirmation=!0,["stop"]))},HA)]))])],10,EA)}const Gp=Ke(kA,[["render",VA]]);var ze={};const GA="Á",KA="á",WA="Ă",ZA="ă",YA="∾",QA="∿",JA="∾̳",XA="Â",e8="â",t8="´",n8="А",s8="а",o8="Æ",r8="æ",i8="⁡",a8="𝔄",l8="𝔞",c8="À",u8="à",d8="ℵ",f8="ℵ",h8="Α",p8="α",g8="Ā",m8="ā",_8="⨿",b8="&",y8="&",v8="⩕",w8="⩓",x8="∧",k8="⩜",E8="⩘",C8="⩚",A8="∠",S8="⦤",T8="∠",O8="⦨",M8="⦩",R8="⦪",N8="⦫",D8="⦬",L8="⦭",I8="⦮",P8="⦯",F8="∡",B8="∟",j8="⊾",z8="⦝",q8="∢",$8="Å",U8="⍼",H8="Ą",V8="ą",G8="𝔸",K8="𝕒",W8="⩯",Z8="≈",Y8="⩰",Q8="≊",J8="≋",X8="'",e9="⁡",t9="≈",n9="≊",s9="Å",o9="å",r9="𝒜",i9="𝒶",a9="≔",l9="*",c9="≈",u9="≍",d9="Ã",f9="ã",h9="Ä",p9="ä",g9="∳",m9="⨑",_9="≌",b9="϶",y9="‵",v9="∽",w9="⋍",x9="∖",k9="⫧",E9="⊽",C9="⌅",A9="⌆",S9="⌅",T9="⎵",O9="⎶",M9="≌",R9="Б",N9="б",D9="„",L9="∵",I9="∵",P9="∵",F9="⦰",B9="϶",j9="ℬ",z9="ℬ",q9="Β",$9="β",U9="ℶ",H9="≬",V9="𝔅",G9="𝔟",K9="⋂",W9="◯",Z9="⋃",Y9="⨀",Q9="⨁",J9="⨂",X9="⨆",e6="★",t6="▽",n6="△",s6="⨄",o6="⋁",r6="⋀",i6="⤍",a6="⧫",l6="▪",c6="▴",u6="▾",d6="◂",f6="▸",h6="␣",p6="▒",g6="░",m6="▓",_6="█",b6="=⃥",y6="≡⃥",v6="⫭",w6="⌐",x6="𝔹",k6="𝕓",E6="⊥",C6="⊥",A6="⋈",S6="⧉",T6="┐",O6="╕",M6="╖",R6="╗",N6="┌",D6="╒",L6="╓",I6="╔",P6="─",F6="═",B6="┬",j6="╤",z6="╥",q6="╦",$6="┴",U6="╧",H6="╨",V6="╩",G6="⊟",K6="⊞",W6="⊠",Z6="┘",Y6="╛",Q6="╜",J6="╝",X6="└",eS="╘",tS="╙",nS="╚",sS="│",oS="║",rS="┼",iS="╪",aS="╫",lS="╬",cS="┤",uS="╡",dS="╢",fS="╣",hS="├",pS="╞",gS="╟",mS="╠",_S="‵",bS="˘",yS="˘",vS="¦",wS="𝒷",xS="ℬ",kS="⁏",ES="∽",CS="⋍",AS="⧅",SS="\\",TS="⟈",OS="•",MS="•",RS="≎",NS="⪮",DS="≏",LS="≎",IS="≏",PS="Ć",FS="ć",BS="⩄",jS="⩉",zS="⩋",qS="∩",$S="⋒",US="⩇",HS="⩀",VS="ⅅ",GS="∩︀",KS="⁁",WS="ˇ",ZS="ℭ",YS="⩍",QS="Č",JS="č",XS="Ç",eT="ç",tT="Ĉ",nT="ĉ",sT="∰",oT="⩌",rT="⩐",iT="Ċ",aT="ċ",lT="¸",cT="¸",uT="⦲",dT="¢",fT="·",hT="·",pT="𝔠",gT="ℭ",mT="Ч",_T="ч",bT="✓",yT="✓",vT="Χ",wT="χ",xT="ˆ",kT="≗",ET="↺",CT="↻",AT="⊛",ST="⊚",TT="⊝",OT="⊙",MT="®",RT="Ⓢ",NT="⊖",DT="⊕",LT="⊗",IT="○",PT="⧃",FT="≗",BT="⨐",jT="⫯",zT="⧂",qT="∲",$T="”",UT="’",HT="♣",VT="♣",GT=":",KT="∷",WT="⩴",ZT="≔",YT="≔",QT=",",JT="@",XT="∁",eO="∘",tO="∁",nO="ℂ",sO="≅",oO="⩭",rO="≡",iO="∮",aO="∯",lO="∮",cO="𝕔",uO="ℂ",dO="∐",fO="∐",hO="©",pO="©",gO="℗",mO="∳",_O="↵",bO="✗",yO="⨯",vO="𝒞",wO="𝒸",xO="⫏",kO="⫑",EO="⫐",CO="⫒",AO="⋯",SO="⤸",TO="⤵",OO="⋞",MO="⋟",RO="↶",NO="⤽",DO="⩈",LO="⩆",IO="≍",PO="∪",FO="⋓",BO="⩊",jO="⊍",zO="⩅",qO="∪︀",$O="↷",UO="⤼",HO="⋞",VO="⋟",GO="⋎",KO="⋏",WO="¤",ZO="↶",YO="↷",QO="⋎",JO="⋏",XO="∲",eM="∱",tM="⌭",nM="†",sM="‡",oM="ℸ",rM="↓",iM="↡",aM="⇓",lM="‐",cM="⫤",uM="⊣",dM="⤏",fM="˝",hM="Ď",pM="ď",gM="Д",mM="д",_M="‡",bM="⇊",yM="ⅅ",vM="ⅆ",wM="⤑",xM="⩷",kM="°",EM="∇",CM="Δ",AM="δ",SM="⦱",TM="⥿",OM="𝔇",MM="𝔡",RM="⥥",NM="⇃",DM="⇂",LM="´",IM="˙",PM="˝",FM="`",BM="˜",jM="⋄",zM="⋄",qM="⋄",$M="♦",UM="♦",HM="¨",VM="ⅆ",GM="ϝ",KM="⋲",WM="÷",ZM="÷",YM="⋇",QM="⋇",JM="Ђ",XM="ђ",e7="⌞",t7="⌍",n7="$",s7="𝔻",o7="𝕕",r7="¨",i7="˙",a7="⃜",l7="≐",c7="≑",u7="≐",d7="∸",f7="∔",h7="⊡",p7="⌆",g7="∯",m7="¨",_7="⇓",b7="⇐",y7="⇔",v7="⫤",w7="⟸",x7="⟺",k7="⟹",E7="⇒",C7="⊨",A7="⇑",S7="⇕",T7="∥",O7="⤓",M7="↓",R7="↓",N7="⇓",D7="⇵",L7="̑",I7="⇊",P7="⇃",F7="⇂",B7="⥐",j7="⥞",z7="⥖",q7="↽",$7="⥟",U7="⥗",H7="⇁",V7="↧",G7="⊤",K7="⤐",W7="⌟",Z7="⌌",Y7="𝒟",Q7="𝒹",J7="Ѕ",X7="ѕ",eR="⧶",tR="Đ",nR="đ",sR="⋱",oR="▿",rR="▾",iR="⇵",aR="⥯",lR="⦦",cR="Џ",uR="џ",dR="⟿",fR="É",hR="é",pR="⩮",gR="Ě",mR="ě",_R="Ê",bR="ê",yR="≖",vR="≕",wR="Э",xR="э",kR="⩷",ER="Ė",CR="ė",AR="≑",SR="ⅇ",TR="≒",OR="𝔈",MR="𝔢",RR="⪚",NR="È",DR="è",LR="⪖",IR="⪘",PR="⪙",FR="∈",BR="⏧",jR="ℓ",zR="⪕",qR="⪗",$R="Ē",UR="ē",HR="∅",VR="∅",GR="◻",KR="∅",WR="▫",ZR=" ",YR=" ",QR=" ",JR="Ŋ",XR="ŋ",eN=" ",tN="Ę",nN="ę",sN="𝔼",oN="𝕖",rN="⋕",iN="⧣",aN="⩱",lN="ε",cN="Ε",uN="ε",dN="ϵ",fN="≖",hN="≕",pN="≂",gN="⪖",mN="⪕",_N="⩵",bN="=",yN="≂",vN="≟",wN="⇌",xN="≡",kN="⩸",EN="⧥",CN="⥱",AN="≓",SN="ℯ",TN="ℰ",ON="≐",MN="⩳",RN="≂",NN="Η",DN="η",LN="Ð",IN="ð",PN="Ë",FN="ë",BN="€",jN="!",zN="∃",qN="∃",$N="ℰ",UN="ⅇ",HN="ⅇ",VN="≒",GN="Ф",KN="ф",WN="♀",ZN="ffi",YN="ff",QN="ffl",JN="𝔉",XN="𝔣",eD="fi",tD="◼",nD="▪",sD="fj",oD="♭",rD="fl",iD="▱",aD="ƒ",lD="𝔽",cD="𝕗",uD="∀",dD="∀",fD="⋔",hD="⫙",pD="ℱ",gD="⨍",mD="½",_D="⅓",bD="¼",yD="⅕",vD="⅙",wD="⅛",xD="⅔",kD="⅖",ED="¾",CD="⅗",AD="⅜",SD="⅘",TD="⅚",OD="⅝",MD="⅞",RD="⁄",ND="⌢",DD="𝒻",LD="ℱ",ID="ǵ",PD="Γ",FD="γ",BD="Ϝ",jD="ϝ",zD="⪆",qD="Ğ",$D="ğ",UD="Ģ",HD="Ĝ",VD="ĝ",GD="Г",KD="г",WD="Ġ",ZD="ġ",YD="≥",QD="≧",JD="⪌",XD="⋛",eL="≥",tL="≧",nL="⩾",sL="⪩",oL="⩾",rL="⪀",iL="⪂",aL="⪄",lL="⋛︀",cL="⪔",uL="𝔊",dL="𝔤",fL="≫",hL="⋙",pL="⋙",gL="ℷ",mL="Ѓ",_L="ѓ",bL="⪥",yL="≷",vL="⪒",wL="⪤",xL="⪊",kL="⪊",EL="⪈",CL="≩",AL="⪈",SL="≩",TL="⋧",OL="𝔾",ML="𝕘",RL="`",NL="≥",DL="⋛",LL="≧",IL="⪢",PL="≷",FL="⩾",BL="≳",jL="𝒢",zL="ℊ",qL="≳",$L="⪎",UL="⪐",HL="⪧",VL="⩺",GL=">",KL=">",WL="≫",ZL="⋗",YL="⦕",QL="⩼",JL="⪆",XL="⥸",eI="⋗",tI="⋛",nI="⪌",sI="≷",oI="≳",rI="≩︀",iI="≩︀",aI="ˇ",lI=" ",cI="½",uI="ℋ",dI="Ъ",fI="ъ",hI="⥈",pI="↔",gI="⇔",mI="↭",_I="^",bI="ℏ",yI="Ĥ",vI="ĥ",wI="♥",xI="♥",kI="…",EI="⊹",CI="𝔥",AI="ℌ",SI="ℋ",TI="⤥",OI="⤦",MI="⇿",RI="∻",NI="↩",DI="↪",LI="𝕙",II="ℍ",PI="―",FI="─",BI="𝒽",jI="ℋ",zI="ℏ",qI="Ħ",$I="ħ",UI="≎",HI="≏",VI="⁃",GI="‐",KI="Í",WI="í",ZI="⁣",YI="Î",QI="î",JI="И",XI="и",eP="İ",tP="Е",nP="е",sP="¡",oP="⇔",rP="𝔦",iP="ℑ",aP="Ì",lP="ì",cP="ⅈ",uP="⨌",dP="∭",fP="⧜",hP="℩",pP="IJ",gP="ij",mP="Ī",_P="ī",bP="ℑ",yP="ⅈ",vP="ℐ",wP="ℑ",xP="ı",kP="ℑ",EP="⊷",CP="Ƶ",AP="⇒",SP="℅",TP="∞",OP="⧝",MP="ı",RP="⊺",NP="∫",DP="∬",LP="ℤ",IP="∫",PP="⊺",FP="⋂",BP="⨗",jP="⨼",zP="⁣",qP="⁢",$P="Ё",UP="ё",HP="Į",VP="į",GP="𝕀",KP="𝕚",WP="Ι",ZP="ι",YP="⨼",QP="¿",JP="𝒾",XP="ℐ",eF="∈",tF="⋵",nF="⋹",sF="⋴",oF="⋳",rF="∈",iF="⁢",aF="Ĩ",lF="ĩ",cF="І",uF="і",dF="Ï",fF="ï",hF="Ĵ",pF="ĵ",gF="Й",mF="й",_F="𝔍",bF="𝔧",yF="ȷ",vF="𝕁",wF="𝕛",xF="𝒥",kF="𝒿",EF="Ј",CF="ј",AF="Є",SF="є",TF="Κ",OF="κ",MF="ϰ",RF="Ķ",NF="ķ",DF="К",LF="к",IF="𝔎",PF="𝔨",FF="ĸ",BF="Х",jF="х",zF="Ќ",qF="ќ",$F="𝕂",UF="𝕜",HF="𝒦",VF="𝓀",GF="⇚",KF="Ĺ",WF="ĺ",ZF="⦴",YF="ℒ",QF="Λ",JF="λ",XF="⟨",eB="⟪",tB="⦑",nB="⟨",sB="⪅",oB="ℒ",rB="«",iB="⇤",aB="⤟",lB="←",cB="↞",uB="⇐",dB="⤝",fB="↩",hB="↫",pB="⤹",gB="⥳",mB="↢",_B="⤙",bB="⤛",yB="⪫",vB="⪭",wB="⪭︀",xB="⤌",kB="⤎",EB="❲",CB="{",AB="[",SB="⦋",TB="⦏",OB="⦍",MB="Ľ",RB="ľ",NB="Ļ",DB="ļ",LB="⌈",IB="{",PB="Л",FB="л",BB="⤶",jB="“",zB="„",qB="⥧",$B="⥋",UB="↲",HB="≤",VB="≦",GB="⟨",KB="⇤",WB="←",ZB="←",YB="⇐",QB="⇆",JB="↢",XB="⌈",ej="⟦",tj="⥡",nj="⥙",sj="⇃",oj="⌊",rj="↽",ij="↼",aj="⇇",lj="↔",cj="↔",uj="⇔",dj="⇆",fj="⇋",hj="↭",pj="⥎",gj="↤",mj="⊣",_j="⥚",bj="⋋",yj="⧏",vj="⊲",wj="⊴",xj="⥑",kj="⥠",Ej="⥘",Cj="↿",Aj="⥒",Sj="↼",Tj="⪋",Oj="⋚",Mj="≤",Rj="≦",Nj="⩽",Dj="⪨",Lj="⩽",Ij="⩿",Pj="⪁",Fj="⪃",Bj="⋚︀",jj="⪓",zj="⪅",qj="⋖",$j="⋚",Uj="⪋",Hj="⋚",Vj="≦",Gj="≶",Kj="≶",Wj="⪡",Zj="≲",Yj="⩽",Qj="≲",Jj="⥼",Xj="⌊",ez="𝔏",tz="𝔩",nz="≶",sz="⪑",oz="⥢",rz="↽",iz="↼",az="⥪",lz="▄",cz="Љ",uz="љ",dz="⇇",fz="≪",hz="⋘",pz="⌞",gz="⇚",mz="⥫",_z="◺",bz="Ŀ",yz="ŀ",vz="⎰",wz="⎰",xz="⪉",kz="⪉",Ez="⪇",Cz="≨",Az="⪇",Sz="≨",Tz="⋦",Oz="⟬",Mz="⇽",Rz="⟦",Nz="⟵",Dz="⟵",Lz="⟸",Iz="⟷",Pz="⟷",Fz="⟺",Bz="⟼",jz="⟶",zz="⟶",qz="⟹",$z="↫",Uz="↬",Hz="⦅",Vz="𝕃",Gz="𝕝",Kz="⨭",Wz="⨴",Zz="∗",Yz="_",Qz="↙",Jz="↘",Xz="◊",eq="◊",tq="⧫",nq="(",sq="⦓",oq="⇆",rq="⌟",iq="⇋",aq="⥭",lq="‎",cq="⊿",uq="‹",dq="𝓁",fq="ℒ",hq="↰",pq="↰",gq="≲",mq="⪍",_q="⪏",bq="[",yq="‘",vq="‚",wq="Ł",xq="ł",kq="⪦",Eq="⩹",Cq="<",Aq="<",Sq="≪",Tq="⋖",Oq="⋋",Mq="⋉",Rq="⥶",Nq="⩻",Dq="◃",Lq="⊴",Iq="◂",Pq="⦖",Fq="⥊",Bq="⥦",jq="≨︀",zq="≨︀",qq="¯",$q="♂",Uq="✠",Hq="✠",Vq="↦",Gq="↦",Kq="↧",Wq="↤",Zq="↥",Yq="▮",Qq="⨩",Jq="М",Xq="м",e$="—",t$="∺",n$="∡",s$=" ",o$="ℳ",r$="𝔐",i$="𝔪",a$="℧",l$="µ",c$="*",u$="⫰",d$="∣",f$="·",h$="⊟",p$="−",g$="∸",m$="⨪",_$="∓",b$="⫛",y$="…",v$="∓",w$="⊧",x$="𝕄",k$="𝕞",E$="∓",C$="𝓂",A$="ℳ",S$="∾",T$="Μ",O$="μ",M$="⊸",R$="⊸",N$="∇",D$="Ń",L$="ń",I$="∠⃒",P$="≉",F$="⩰̸",B$="≋̸",j$="ʼn",z$="≉",q$="♮",$$="ℕ",U$="♮",H$=" ",V$="≎̸",G$="≏̸",K$="⩃",W$="Ň",Z$="ň",Y$="Ņ",Q$="ņ",J$="≇",X$="⩭̸",eU="⩂",tU="Н",nU="н",sU="–",oU="⤤",rU="↗",iU="⇗",aU="↗",lU="≠",cU="≐̸",uU="​",dU="​",fU="​",hU="​",pU="≢",gU="⤨",mU="≂̸",_U="≫",bU="≪",yU=` -`,vU="∄",wU="∄",xU="𝔑",kU="𝔫",EU="≧̸",CU="≱",AU="≱",SU="≧̸",TU="⩾̸",OU="⩾̸",MU="⋙̸",RU="≵",NU="≫⃒",DU="≯",LU="≯",IU="≫̸",PU="↮",FU="⇎",BU="⫲",jU="∋",zU="⋼",qU="⋺",$U="∋",UU="Њ",HU="њ",VU="↚",GU="⇍",KU="‥",WU="≦̸",ZU="≰",YU="↚",QU="⇍",JU="↮",XU="⇎",eH="≰",tH="≦̸",nH="⩽̸",sH="⩽̸",oH="≮",rH="⋘̸",iH="≴",aH="≪⃒",lH="≮",cH="⋪",uH="⋬",dH="≪̸",fH="∤",hH="⁠",pH=" ",gH="𝕟",mH="ℕ",_H="⫬",bH="¬",yH="≢",vH="≭",wH="∦",xH="∉",kH="≠",EH="≂̸",CH="∄",AH="≯",SH="≱",TH="≧̸",OH="≫̸",MH="≹",RH="⩾̸",NH="≵",DH="≎̸",LH="≏̸",IH="∉",PH="⋵̸",FH="⋹̸",BH="∉",jH="⋷",zH="⋶",qH="⧏̸",$H="⋪",UH="⋬",HH="≮",VH="≰",GH="≸",KH="≪̸",WH="⩽̸",ZH="≴",YH="⪢̸",QH="⪡̸",JH="∌",XH="∌",eV="⋾",tV="⋽",nV="⊀",sV="⪯̸",oV="⋠",rV="∌",iV="⧐̸",aV="⋫",lV="⋭",cV="⊏̸",uV="⋢",dV="⊐̸",fV="⋣",hV="⊂⃒",pV="⊈",gV="⊁",mV="⪰̸",_V="⋡",bV="≿̸",yV="⊃⃒",vV="⊉",wV="≁",xV="≄",kV="≇",EV="≉",CV="∤",AV="∦",SV="∦",TV="⫽⃥",OV="∂̸",MV="⨔",RV="⊀",NV="⋠",DV="⊀",LV="⪯̸",IV="⪯̸",PV="⤳̸",FV="↛",BV="⇏",jV="↝̸",zV="↛",qV="⇏",$V="⋫",UV="⋭",HV="⊁",VV="⋡",GV="⪰̸",KV="𝒩",WV="𝓃",ZV="∤",YV="∦",QV="≁",JV="≄",XV="≄",eG="∤",tG="∦",nG="⋢",sG="⋣",oG="⊄",rG="⫅̸",iG="⊈",aG="⊂⃒",lG="⊈",cG="⫅̸",uG="⊁",dG="⪰̸",fG="⊅",hG="⫆̸",pG="⊉",gG="⊃⃒",mG="⊉",_G="⫆̸",bG="≹",yG="Ñ",vG="ñ",wG="≸",xG="⋪",kG="⋬",EG="⋫",CG="⋭",AG="Ν",SG="ν",TG="#",OG="№",MG=" ",RG="≍⃒",NG="⊬",DG="⊭",LG="⊮",IG="⊯",PG="≥⃒",FG=">⃒",BG="⤄",jG="⧞",zG="⤂",qG="≤⃒",$G="<⃒",UG="⊴⃒",HG="⤃",VG="⊵⃒",GG="∼⃒",KG="⤣",WG="↖",ZG="⇖",YG="↖",QG="⤧",JG="Ó",XG="ó",eK="⊛",tK="Ô",nK="ô",sK="⊚",oK="О",rK="о",iK="⊝",aK="Ő",lK="ő",cK="⨸",uK="⊙",dK="⦼",fK="Œ",hK="œ",pK="⦿",gK="𝔒",mK="𝔬",_K="˛",bK="Ò",yK="ò",vK="⧁",wK="⦵",xK="Ω",kK="∮",EK="↺",CK="⦾",AK="⦻",SK="‾",TK="⧀",OK="Ō",MK="ō",RK="Ω",NK="ω",DK="Ο",LK="ο",IK="⦶",PK="⊖",FK="𝕆",BK="𝕠",jK="⦷",zK="“",qK="‘",$K="⦹",UK="⊕",HK="↻",VK="⩔",GK="∨",KK="⩝",WK="ℴ",ZK="ℴ",YK="ª",QK="º",JK="⊶",XK="⩖",eW="⩗",tW="⩛",nW="Ⓢ",sW="𝒪",oW="ℴ",rW="Ø",iW="ø",aW="⊘",lW="Õ",cW="õ",uW="⨶",dW="⨷",fW="⊗",hW="Ö",pW="ö",gW="⌽",mW="‾",_W="⏞",bW="⎴",yW="⏜",vW="¶",wW="∥",xW="∥",kW="⫳",EW="⫽",CW="∂",AW="∂",SW="П",TW="п",OW="%",MW=".",RW="‰",NW="⊥",DW="‱",LW="𝔓",IW="𝔭",PW="Φ",FW="φ",BW="ϕ",jW="ℳ",zW="☎",qW="Π",$W="π",UW="⋔",HW="ϖ",VW="ℏ",GW="ℎ",KW="ℏ",WW="⨣",ZW="⊞",YW="⨢",QW="+",JW="∔",XW="⨥",eZ="⩲",tZ="±",nZ="±",sZ="⨦",oZ="⨧",rZ="±",iZ="ℌ",aZ="⨕",lZ="𝕡",cZ="ℙ",uZ="£",dZ="⪷",fZ="⪻",hZ="≺",pZ="≼",gZ="⪷",mZ="≺",_Z="≼",bZ="≺",yZ="⪯",vZ="≼",wZ="≾",xZ="⪯",kZ="⪹",EZ="⪵",CZ="⋨",AZ="⪯",SZ="⪳",TZ="≾",OZ="′",MZ="″",RZ="ℙ",NZ="⪹",DZ="⪵",LZ="⋨",IZ="∏",PZ="∏",FZ="⌮",BZ="⌒",jZ="⌓",zZ="∝",qZ="∝",$Z="∷",UZ="∝",HZ="≾",VZ="⊰",GZ="𝒫",KZ="𝓅",WZ="Ψ",ZZ="ψ",YZ=" ",QZ="𝔔",JZ="𝔮",XZ="⨌",eY="𝕢",tY="ℚ",nY="⁗",sY="𝒬",oY="𝓆",rY="ℍ",iY="⨖",aY="?",lY="≟",cY='"',uY='"',dY="⇛",fY="∽̱",hY="Ŕ",pY="ŕ",gY="√",mY="⦳",_Y="⟩",bY="⟫",yY="⦒",vY="⦥",wY="⟩",xY="»",kY="⥵",EY="⇥",CY="⤠",AY="⤳",SY="→",TY="↠",OY="⇒",MY="⤞",RY="↪",NY="↬",DY="⥅",LY="⥴",IY="⤖",PY="↣",FY="↝",BY="⤚",jY="⤜",zY="∶",qY="ℚ",$Y="⤍",UY="⤏",HY="⤐",VY="❳",GY="}",KY="]",WY="⦌",ZY="⦎",YY="⦐",QY="Ř",JY="ř",XY="Ŗ",eQ="ŗ",tQ="⌉",nQ="}",sQ="Р",oQ="р",rQ="⤷",iQ="⥩",aQ="”",lQ="”",cQ="↳",uQ="ℜ",dQ="ℛ",fQ="ℜ",hQ="ℝ",pQ="ℜ",gQ="▭",mQ="®",_Q="®",bQ="∋",yQ="⇋",vQ="⥯",wQ="⥽",xQ="⌋",kQ="𝔯",EQ="ℜ",CQ="⥤",AQ="⇁",SQ="⇀",TQ="⥬",OQ="Ρ",MQ="ρ",RQ="ϱ",NQ="⟩",DQ="⇥",LQ="→",IQ="→",PQ="⇒",FQ="⇄",BQ="↣",jQ="⌉",zQ="⟧",qQ="⥝",$Q="⥕",UQ="⇂",HQ="⌋",VQ="⇁",GQ="⇀",KQ="⇄",WQ="⇌",ZQ="⇉",YQ="↝",QQ="↦",JQ="⊢",XQ="⥛",eJ="⋌",tJ="⧐",nJ="⊳",sJ="⊵",oJ="⥏",rJ="⥜",iJ="⥔",aJ="↾",lJ="⥓",cJ="⇀",uJ="˚",dJ="≓",fJ="⇄",hJ="⇌",pJ="‏",gJ="⎱",mJ="⎱",_J="⫮",bJ="⟭",yJ="⇾",vJ="⟧",wJ="⦆",xJ="𝕣",kJ="ℝ",EJ="⨮",CJ="⨵",AJ="⥰",SJ=")",TJ="⦔",OJ="⨒",MJ="⇉",RJ="⇛",NJ="›",DJ="𝓇",LJ="ℛ",IJ="↱",PJ="↱",FJ="]",BJ="’",jJ="’",zJ="⋌",qJ="⋊",$J="▹",UJ="⊵",HJ="▸",VJ="⧎",GJ="⧴",KJ="⥨",WJ="℞",ZJ="Ś",YJ="ś",QJ="‚",JJ="⪸",XJ="Š",eX="š",tX="⪼",nX="≻",sX="≽",oX="⪰",rX="⪴",iX="Ş",aX="ş",lX="Ŝ",cX="ŝ",uX="⪺",dX="⪶",fX="⋩",hX="⨓",pX="≿",gX="С",mX="с",_X="⊡",bX="⋅",yX="⩦",vX="⤥",wX="↘",xX="⇘",kX="↘",EX="§",CX=";",AX="⤩",SX="∖",TX="∖",OX="✶",MX="𝔖",RX="𝔰",NX="⌢",DX="♯",LX="Щ",IX="щ",PX="Ш",FX="ш",BX="↓",jX="←",zX="∣",qX="∥",$X="→",UX="↑",HX="­",VX="Σ",GX="σ",KX="ς",WX="ς",ZX="∼",YX="⩪",QX="≃",JX="≃",XX="⪞",eee="⪠",tee="⪝",nee="⪟",see="≆",oee="⨤",ree="⥲",iee="←",aee="∘",lee="∖",cee="⨳",uee="⧤",dee="∣",fee="⌣",hee="⪪",pee="⪬",gee="⪬︀",mee="Ь",_ee="ь",bee="⌿",yee="⧄",vee="/",wee="𝕊",xee="𝕤",kee="♠",Eee="♠",Cee="∥",Aee="⊓",See="⊓︀",Tee="⊔",Oee="⊔︀",Mee="√",Ree="⊏",Nee="⊑",Dee="⊏",Lee="⊑",Iee="⊐",Pee="⊒",Fee="⊐",Bee="⊒",jee="□",zee="□",qee="⊓",$ee="⊏",Uee="⊑",Hee="⊐",Vee="⊒",Gee="⊔",Kee="▪",Wee="□",Zee="▪",Yee="→",Qee="𝒮",Jee="𝓈",Xee="∖",ete="⌣",tte="⋆",nte="⋆",ste="☆",ote="★",rte="ϵ",ite="ϕ",ate="¯",lte="⊂",cte="⋐",ute="⪽",dte="⫅",fte="⊆",hte="⫃",pte="⫁",gte="⫋",mte="⊊",_te="⪿",bte="⥹",yte="⊂",vte="⋐",wte="⊆",xte="⫅",kte="⊆",Ete="⊊",Cte="⫋",Ate="⫇",Ste="⫕",Tte="⫓",Ote="⪸",Mte="≻",Rte="≽",Nte="≻",Dte="⪰",Lte="≽",Ite="≿",Pte="⪰",Fte="⪺",Bte="⪶",jte="⋩",zte="≿",qte="∋",$te="∑",Ute="∑",Hte="♪",Vte="¹",Gte="²",Kte="³",Wte="⊃",Zte="⋑",Yte="⪾",Qte="⫘",Jte="⫆",Xte="⊇",ene="⫄",tne="⊃",nne="⊇",sne="⟉",one="⫗",rne="⥻",ine="⫂",ane="⫌",lne="⊋",cne="⫀",une="⊃",dne="⋑",fne="⊇",hne="⫆",pne="⊋",gne="⫌",mne="⫈",_ne="⫔",bne="⫖",yne="⤦",vne="↙",wne="⇙",xne="↙",kne="⤪",Ene="ß",Cne=" ",Ane="⌖",Sne="Τ",Tne="τ",One="⎴",Mne="Ť",Rne="ť",Nne="Ţ",Dne="ţ",Lne="Т",Ine="т",Pne="⃛",Fne="⌕",Bne="𝔗",jne="𝔱",zne="∴",qne="∴",$ne="∴",Une="Θ",Hne="θ",Vne="ϑ",Gne="ϑ",Kne="≈",Wne="∼",Zne="  ",Yne=" ",Qne=" ",Jne="≈",Xne="∼",ese="Þ",tse="þ",nse="˜",sse="∼",ose="≃",rse="≅",ise="≈",ase="⨱",lse="⊠",cse="×",use="⨰",dse="∭",fse="⤨",hse="⌶",pse="⫱",gse="⊤",mse="𝕋",_se="𝕥",bse="⫚",yse="⤩",vse="‴",wse="™",xse="™",kse="▵",Ese="▿",Cse="◃",Ase="⊴",Sse="≜",Tse="▹",Ose="⊵",Mse="◬",Rse="≜",Nse="⨺",Dse="⃛",Lse="⨹",Ise="⧍",Pse="⨻",Fse="⏢",Bse="𝒯",jse="𝓉",zse="Ц",qse="ц",$se="Ћ",Use="ћ",Hse="Ŧ",Vse="ŧ",Gse="≬",Kse="↞",Wse="↠",Zse="Ú",Yse="ú",Qse="↑",Jse="↟",Xse="⇑",eoe="⥉",toe="Ў",noe="ў",soe="Ŭ",ooe="ŭ",roe="Û",ioe="û",aoe="У",loe="у",coe="⇅",uoe="Ű",doe="ű",foe="⥮",hoe="⥾",poe="𝔘",goe="𝔲",moe="Ù",_oe="ù",boe="⥣",yoe="↿",voe="↾",woe="▀",xoe="⌜",koe="⌜",Eoe="⌏",Coe="◸",Aoe="Ū",Soe="ū",Toe="¨",Ooe="_",Moe="⏟",Roe="⎵",Noe="⏝",Doe="⋃",Loe="⊎",Ioe="Ų",Poe="ų",Foe="𝕌",Boe="𝕦",joe="⤒",zoe="↑",qoe="↑",$oe="⇑",Uoe="⇅",Hoe="↕",Voe="↕",Goe="⇕",Koe="⥮",Woe="↿",Zoe="↾",Yoe="⊎",Qoe="↖",Joe="↗",Xoe="υ",ere="ϒ",tre="ϒ",nre="Υ",sre="υ",ore="↥",rre="⊥",ire="⇈",are="⌝",lre="⌝",cre="⌎",ure="Ů",dre="ů",fre="◹",hre="𝒰",pre="𝓊",gre="⋰",mre="Ũ",_re="ũ",bre="▵",yre="▴",vre="⇈",wre="Ü",xre="ü",kre="⦧",Ere="⦜",Cre="ϵ",Are="ϰ",Sre="∅",Tre="ϕ",Ore="ϖ",Mre="∝",Rre="↕",Nre="⇕",Dre="ϱ",Lre="ς",Ire="⊊︀",Pre="⫋︀",Fre="⊋︀",Bre="⫌︀",jre="ϑ",zre="⊲",qre="⊳",$re="⫨",Ure="⫫",Hre="⫩",Vre="В",Gre="в",Kre="⊢",Wre="⊨",Zre="⊩",Yre="⊫",Qre="⫦",Jre="⊻",Xre="∨",eie="⋁",tie="≚",nie="⋮",sie="|",oie="‖",rie="|",iie="‖",aie="∣",lie="|",cie="❘",uie="≀",die=" ",fie="𝔙",hie="𝔳",pie="⊲",gie="⊂⃒",mie="⊃⃒",_ie="𝕍",bie="𝕧",yie="∝",vie="⊳",wie="𝒱",xie="𝓋",kie="⫋︀",Eie="⊊︀",Cie="⫌︀",Aie="⊋︀",Sie="⊪",Tie="⦚",Oie="Ŵ",Mie="ŵ",Rie="⩟",Nie="∧",Die="⋀",Lie="≙",Iie="℘",Pie="𝔚",Fie="𝔴",Bie="𝕎",jie="𝕨",zie="℘",qie="≀",$ie="≀",Uie="𝒲",Hie="𝓌",Vie="⋂",Gie="◯",Kie="⋃",Wie="▽",Zie="𝔛",Yie="𝔵",Qie="⟷",Jie="⟺",Xie="Ξ",eae="ξ",tae="⟵",nae="⟸",sae="⟼",oae="⋻",rae="⨀",iae="𝕏",aae="𝕩",lae="⨁",cae="⨂",uae="⟶",dae="⟹",fae="𝒳",hae="𝓍",pae="⨆",gae="⨄",mae="△",_ae="⋁",bae="⋀",yae="Ý",vae="ý",wae="Я",xae="я",kae="Ŷ",Eae="ŷ",Cae="Ы",Aae="ы",Sae="¥",Tae="𝔜",Oae="𝔶",Mae="Ї",Rae="ї",Nae="𝕐",Dae="𝕪",Lae="𝒴",Iae="𝓎",Pae="Ю",Fae="ю",Bae="ÿ",jae="Ÿ",zae="Ź",qae="ź",$ae="Ž",Uae="ž",Hae="З",Vae="з",Gae="Ż",Kae="ż",Wae="ℨ",Zae="​",Yae="Ζ",Qae="ζ",Jae="𝔷",Xae="ℨ",ele="Ж",tle="ж",nle="⇝",sle="𝕫",ole="ℤ",rle="𝒵",ile="𝓏",ale="‍",lle="‌",cle={Aacute:GA,aacute:KA,Abreve:WA,abreve:ZA,ac:YA,acd:QA,acE:JA,Acirc:XA,acirc:e8,acute:t8,Acy:n8,acy:s8,AElig:o8,aelig:r8,af:i8,Afr:a8,afr:l8,Agrave:c8,agrave:u8,alefsym:d8,aleph:f8,Alpha:h8,alpha:p8,Amacr:g8,amacr:m8,amalg:_8,amp:b8,AMP:y8,andand:v8,And:w8,and:x8,andd:k8,andslope:E8,andv:C8,ang:A8,ange:S8,angle:T8,angmsdaa:O8,angmsdab:M8,angmsdac:R8,angmsdad:N8,angmsdae:D8,angmsdaf:L8,angmsdag:I8,angmsdah:P8,angmsd:F8,angrt:B8,angrtvb:j8,angrtvbd:z8,angsph:q8,angst:$8,angzarr:U8,Aogon:H8,aogon:V8,Aopf:G8,aopf:K8,apacir:W8,ap:Z8,apE:Y8,ape:Q8,apid:J8,apos:X8,ApplyFunction:e9,approx:t9,approxeq:n9,Aring:s9,aring:o9,Ascr:r9,ascr:i9,Assign:a9,ast:l9,asymp:c9,asympeq:u9,Atilde:d9,atilde:f9,Auml:h9,auml:p9,awconint:g9,awint:m9,backcong:_9,backepsilon:b9,backprime:y9,backsim:v9,backsimeq:w9,Backslash:x9,Barv:k9,barvee:E9,barwed:C9,Barwed:A9,barwedge:S9,bbrk:T9,bbrktbrk:O9,bcong:M9,Bcy:R9,bcy:N9,bdquo:D9,becaus:L9,because:I9,Because:P9,bemptyv:F9,bepsi:B9,bernou:j9,Bernoullis:z9,Beta:q9,beta:$9,beth:U9,between:H9,Bfr:V9,bfr:G9,bigcap:K9,bigcirc:W9,bigcup:Z9,bigodot:Y9,bigoplus:Q9,bigotimes:J9,bigsqcup:X9,bigstar:e6,bigtriangledown:t6,bigtriangleup:n6,biguplus:s6,bigvee:o6,bigwedge:r6,bkarow:i6,blacklozenge:a6,blacksquare:l6,blacktriangle:c6,blacktriangledown:u6,blacktriangleleft:d6,blacktriangleright:f6,blank:h6,blk12:p6,blk14:g6,blk34:m6,block:_6,bne:b6,bnequiv:y6,bNot:v6,bnot:w6,Bopf:x6,bopf:k6,bot:E6,bottom:C6,bowtie:A6,boxbox:S6,boxdl:T6,boxdL:O6,boxDl:M6,boxDL:R6,boxdr:N6,boxdR:D6,boxDr:L6,boxDR:I6,boxh:P6,boxH:F6,boxhd:B6,boxHd:j6,boxhD:z6,boxHD:q6,boxhu:$6,boxHu:U6,boxhU:H6,boxHU:V6,boxminus:G6,boxplus:K6,boxtimes:W6,boxul:Z6,boxuL:Y6,boxUl:Q6,boxUL:J6,boxur:X6,boxuR:eS,boxUr:tS,boxUR:nS,boxv:sS,boxV:oS,boxvh:rS,boxvH:iS,boxVh:aS,boxVH:lS,boxvl:cS,boxvL:uS,boxVl:dS,boxVL:fS,boxvr:hS,boxvR:pS,boxVr:gS,boxVR:mS,bprime:_S,breve:bS,Breve:yS,brvbar:vS,bscr:wS,Bscr:xS,bsemi:kS,bsim:ES,bsime:CS,bsolb:AS,bsol:SS,bsolhsub:TS,bull:OS,bullet:MS,bump:RS,bumpE:NS,bumpe:DS,Bumpeq:LS,bumpeq:IS,Cacute:PS,cacute:FS,capand:BS,capbrcup:jS,capcap:zS,cap:qS,Cap:$S,capcup:US,capdot:HS,CapitalDifferentialD:VS,caps:GS,caret:KS,caron:WS,Cayleys:ZS,ccaps:YS,Ccaron:QS,ccaron:JS,Ccedil:XS,ccedil:eT,Ccirc:tT,ccirc:nT,Cconint:sT,ccups:oT,ccupssm:rT,Cdot:iT,cdot:aT,cedil:lT,Cedilla:cT,cemptyv:uT,cent:dT,centerdot:fT,CenterDot:hT,cfr:pT,Cfr:gT,CHcy:mT,chcy:_T,check:bT,checkmark:yT,Chi:vT,chi:wT,circ:xT,circeq:kT,circlearrowleft:ET,circlearrowright:CT,circledast:AT,circledcirc:ST,circleddash:TT,CircleDot:OT,circledR:MT,circledS:RT,CircleMinus:NT,CirclePlus:DT,CircleTimes:LT,cir:IT,cirE:PT,cire:FT,cirfnint:BT,cirmid:jT,cirscir:zT,ClockwiseContourIntegral:qT,CloseCurlyDoubleQuote:$T,CloseCurlyQuote:UT,clubs:HT,clubsuit:VT,colon:GT,Colon:KT,Colone:WT,colone:ZT,coloneq:YT,comma:QT,commat:JT,comp:XT,compfn:eO,complement:tO,complexes:nO,cong:sO,congdot:oO,Congruent:rO,conint:iO,Conint:aO,ContourIntegral:lO,copf:cO,Copf:uO,coprod:dO,Coproduct:fO,copy:hO,COPY:pO,copysr:gO,CounterClockwiseContourIntegral:mO,crarr:_O,cross:bO,Cross:yO,Cscr:vO,cscr:wO,csub:xO,csube:kO,csup:EO,csupe:CO,ctdot:AO,cudarrl:SO,cudarrr:TO,cuepr:OO,cuesc:MO,cularr:RO,cularrp:NO,cupbrcap:DO,cupcap:LO,CupCap:IO,cup:PO,Cup:FO,cupcup:BO,cupdot:jO,cupor:zO,cups:qO,curarr:$O,curarrm:UO,curlyeqprec:HO,curlyeqsucc:VO,curlyvee:GO,curlywedge:KO,curren:WO,curvearrowleft:ZO,curvearrowright:YO,cuvee:QO,cuwed:JO,cwconint:XO,cwint:eM,cylcty:tM,dagger:nM,Dagger:sM,daleth:oM,darr:rM,Darr:iM,dArr:aM,dash:lM,Dashv:cM,dashv:uM,dbkarow:dM,dblac:fM,Dcaron:hM,dcaron:pM,Dcy:gM,dcy:mM,ddagger:_M,ddarr:bM,DD:yM,dd:vM,DDotrahd:wM,ddotseq:xM,deg:kM,Del:EM,Delta:CM,delta:AM,demptyv:SM,dfisht:TM,Dfr:OM,dfr:MM,dHar:RM,dharl:NM,dharr:DM,DiacriticalAcute:LM,DiacriticalDot:IM,DiacriticalDoubleAcute:PM,DiacriticalGrave:FM,DiacriticalTilde:BM,diam:jM,diamond:zM,Diamond:qM,diamondsuit:$M,diams:UM,die:HM,DifferentialD:VM,digamma:GM,disin:KM,div:WM,divide:ZM,divideontimes:YM,divonx:QM,DJcy:JM,djcy:XM,dlcorn:e7,dlcrop:t7,dollar:n7,Dopf:s7,dopf:o7,Dot:r7,dot:i7,DotDot:a7,doteq:l7,doteqdot:c7,DotEqual:u7,dotminus:d7,dotplus:f7,dotsquare:h7,doublebarwedge:p7,DoubleContourIntegral:g7,DoubleDot:m7,DoubleDownArrow:_7,DoubleLeftArrow:b7,DoubleLeftRightArrow:y7,DoubleLeftTee:v7,DoubleLongLeftArrow:w7,DoubleLongLeftRightArrow:x7,DoubleLongRightArrow:k7,DoubleRightArrow:E7,DoubleRightTee:C7,DoubleUpArrow:A7,DoubleUpDownArrow:S7,DoubleVerticalBar:T7,DownArrowBar:O7,downarrow:M7,DownArrow:R7,Downarrow:N7,DownArrowUpArrow:D7,DownBreve:L7,downdownarrows:I7,downharpoonleft:P7,downharpoonright:F7,DownLeftRightVector:B7,DownLeftTeeVector:j7,DownLeftVectorBar:z7,DownLeftVector:q7,DownRightTeeVector:$7,DownRightVectorBar:U7,DownRightVector:H7,DownTeeArrow:V7,DownTee:G7,drbkarow:K7,drcorn:W7,drcrop:Z7,Dscr:Y7,dscr:Q7,DScy:J7,dscy:X7,dsol:eR,Dstrok:tR,dstrok:nR,dtdot:sR,dtri:oR,dtrif:rR,duarr:iR,duhar:aR,dwangle:lR,DZcy:cR,dzcy:uR,dzigrarr:dR,Eacute:fR,eacute:hR,easter:pR,Ecaron:gR,ecaron:mR,Ecirc:_R,ecirc:bR,ecir:yR,ecolon:vR,Ecy:wR,ecy:xR,eDDot:kR,Edot:ER,edot:CR,eDot:AR,ee:SR,efDot:TR,Efr:OR,efr:MR,eg:RR,Egrave:NR,egrave:DR,egs:LR,egsdot:IR,el:PR,Element:FR,elinters:BR,ell:jR,els:zR,elsdot:qR,Emacr:$R,emacr:UR,empty:HR,emptyset:VR,EmptySmallSquare:GR,emptyv:KR,EmptyVerySmallSquare:WR,emsp13:ZR,emsp14:YR,emsp:QR,ENG:JR,eng:XR,ensp:eN,Eogon:tN,eogon:nN,Eopf:sN,eopf:oN,epar:rN,eparsl:iN,eplus:aN,epsi:lN,Epsilon:cN,epsilon:uN,epsiv:dN,eqcirc:fN,eqcolon:hN,eqsim:pN,eqslantgtr:gN,eqslantless:mN,Equal:_N,equals:bN,EqualTilde:yN,equest:vN,Equilibrium:wN,equiv:xN,equivDD:kN,eqvparsl:EN,erarr:CN,erDot:AN,escr:SN,Escr:TN,esdot:ON,Esim:MN,esim:RN,Eta:NN,eta:DN,ETH:LN,eth:IN,Euml:PN,euml:FN,euro:BN,excl:jN,exist:zN,Exists:qN,expectation:$N,exponentiale:UN,ExponentialE:HN,fallingdotseq:VN,Fcy:GN,fcy:KN,female:WN,ffilig:ZN,fflig:YN,ffllig:QN,Ffr:JN,ffr:XN,filig:eD,FilledSmallSquare:tD,FilledVerySmallSquare:nD,fjlig:sD,flat:oD,fllig:rD,fltns:iD,fnof:aD,Fopf:lD,fopf:cD,forall:uD,ForAll:dD,fork:fD,forkv:hD,Fouriertrf:pD,fpartint:gD,frac12:mD,frac13:_D,frac14:bD,frac15:yD,frac16:vD,frac18:wD,frac23:xD,frac25:kD,frac34:ED,frac35:CD,frac38:AD,frac45:SD,frac56:TD,frac58:OD,frac78:MD,frasl:RD,frown:ND,fscr:DD,Fscr:LD,gacute:ID,Gamma:PD,gamma:FD,Gammad:BD,gammad:jD,gap:zD,Gbreve:qD,gbreve:$D,Gcedil:UD,Gcirc:HD,gcirc:VD,Gcy:GD,gcy:KD,Gdot:WD,gdot:ZD,ge:YD,gE:QD,gEl:JD,gel:XD,geq:eL,geqq:tL,geqslant:nL,gescc:sL,ges:oL,gesdot:rL,gesdoto:iL,gesdotol:aL,gesl:lL,gesles:cL,Gfr:uL,gfr:dL,gg:fL,Gg:hL,ggg:pL,gimel:gL,GJcy:mL,gjcy:_L,gla:bL,gl:yL,glE:vL,glj:wL,gnap:xL,gnapprox:kL,gne:EL,gnE:CL,gneq:AL,gneqq:SL,gnsim:TL,Gopf:OL,gopf:ML,grave:RL,GreaterEqual:NL,GreaterEqualLess:DL,GreaterFullEqual:LL,GreaterGreater:IL,GreaterLess:PL,GreaterSlantEqual:FL,GreaterTilde:BL,Gscr:jL,gscr:zL,gsim:qL,gsime:$L,gsiml:UL,gtcc:HL,gtcir:VL,gt:GL,GT:KL,Gt:WL,gtdot:ZL,gtlPar:YL,gtquest:QL,gtrapprox:JL,gtrarr:XL,gtrdot:eI,gtreqless:tI,gtreqqless:nI,gtrless:sI,gtrsim:oI,gvertneqq:rI,gvnE:iI,Hacek:aI,hairsp:lI,half:cI,hamilt:uI,HARDcy:dI,hardcy:fI,harrcir:hI,harr:pI,hArr:gI,harrw:mI,Hat:_I,hbar:bI,Hcirc:yI,hcirc:vI,hearts:wI,heartsuit:xI,hellip:kI,hercon:EI,hfr:CI,Hfr:AI,HilbertSpace:SI,hksearow:TI,hkswarow:OI,hoarr:MI,homtht:RI,hookleftarrow:NI,hookrightarrow:DI,hopf:LI,Hopf:II,horbar:PI,HorizontalLine:FI,hscr:BI,Hscr:jI,hslash:zI,Hstrok:qI,hstrok:$I,HumpDownHump:UI,HumpEqual:HI,hybull:VI,hyphen:GI,Iacute:KI,iacute:WI,ic:ZI,Icirc:YI,icirc:QI,Icy:JI,icy:XI,Idot:eP,IEcy:tP,iecy:nP,iexcl:sP,iff:oP,ifr:rP,Ifr:iP,Igrave:aP,igrave:lP,ii:cP,iiiint:uP,iiint:dP,iinfin:fP,iiota:hP,IJlig:pP,ijlig:gP,Imacr:mP,imacr:_P,image:bP,ImaginaryI:yP,imagline:vP,imagpart:wP,imath:xP,Im:kP,imof:EP,imped:CP,Implies:AP,incare:SP,in:"∈",infin:TP,infintie:OP,inodot:MP,intcal:RP,int:NP,Int:DP,integers:LP,Integral:IP,intercal:PP,Intersection:FP,intlarhk:BP,intprod:jP,InvisibleComma:zP,InvisibleTimes:qP,IOcy:$P,iocy:UP,Iogon:HP,iogon:VP,Iopf:GP,iopf:KP,Iota:WP,iota:ZP,iprod:YP,iquest:QP,iscr:JP,Iscr:XP,isin:eF,isindot:tF,isinE:nF,isins:sF,isinsv:oF,isinv:rF,it:iF,Itilde:aF,itilde:lF,Iukcy:cF,iukcy:uF,Iuml:dF,iuml:fF,Jcirc:hF,jcirc:pF,Jcy:gF,jcy:mF,Jfr:_F,jfr:bF,jmath:yF,Jopf:vF,jopf:wF,Jscr:xF,jscr:kF,Jsercy:EF,jsercy:CF,Jukcy:AF,jukcy:SF,Kappa:TF,kappa:OF,kappav:MF,Kcedil:RF,kcedil:NF,Kcy:DF,kcy:LF,Kfr:IF,kfr:PF,kgreen:FF,KHcy:BF,khcy:jF,KJcy:zF,kjcy:qF,Kopf:$F,kopf:UF,Kscr:HF,kscr:VF,lAarr:GF,Lacute:KF,lacute:WF,laemptyv:ZF,lagran:YF,Lambda:QF,lambda:JF,lang:XF,Lang:eB,langd:tB,langle:nB,lap:sB,Laplacetrf:oB,laquo:rB,larrb:iB,larrbfs:aB,larr:lB,Larr:cB,lArr:uB,larrfs:dB,larrhk:fB,larrlp:hB,larrpl:pB,larrsim:gB,larrtl:mB,latail:_B,lAtail:bB,lat:yB,late:vB,lates:wB,lbarr:xB,lBarr:kB,lbbrk:EB,lbrace:CB,lbrack:AB,lbrke:SB,lbrksld:TB,lbrkslu:OB,Lcaron:MB,lcaron:RB,Lcedil:NB,lcedil:DB,lceil:LB,lcub:IB,Lcy:PB,lcy:FB,ldca:BB,ldquo:jB,ldquor:zB,ldrdhar:qB,ldrushar:$B,ldsh:UB,le:HB,lE:VB,LeftAngleBracket:GB,LeftArrowBar:KB,leftarrow:WB,LeftArrow:ZB,Leftarrow:YB,LeftArrowRightArrow:QB,leftarrowtail:JB,LeftCeiling:XB,LeftDoubleBracket:ej,LeftDownTeeVector:tj,LeftDownVectorBar:nj,LeftDownVector:sj,LeftFloor:oj,leftharpoondown:rj,leftharpoonup:ij,leftleftarrows:aj,leftrightarrow:lj,LeftRightArrow:cj,Leftrightarrow:uj,leftrightarrows:dj,leftrightharpoons:fj,leftrightsquigarrow:hj,LeftRightVector:pj,LeftTeeArrow:gj,LeftTee:mj,LeftTeeVector:_j,leftthreetimes:bj,LeftTriangleBar:yj,LeftTriangle:vj,LeftTriangleEqual:wj,LeftUpDownVector:xj,LeftUpTeeVector:kj,LeftUpVectorBar:Ej,LeftUpVector:Cj,LeftVectorBar:Aj,LeftVector:Sj,lEg:Tj,leg:Oj,leq:Mj,leqq:Rj,leqslant:Nj,lescc:Dj,les:Lj,lesdot:Ij,lesdoto:Pj,lesdotor:Fj,lesg:Bj,lesges:jj,lessapprox:zj,lessdot:qj,lesseqgtr:$j,lesseqqgtr:Uj,LessEqualGreater:Hj,LessFullEqual:Vj,LessGreater:Gj,lessgtr:Kj,LessLess:Wj,lesssim:Zj,LessSlantEqual:Yj,LessTilde:Qj,lfisht:Jj,lfloor:Xj,Lfr:ez,lfr:tz,lg:nz,lgE:sz,lHar:oz,lhard:rz,lharu:iz,lharul:az,lhblk:lz,LJcy:cz,ljcy:uz,llarr:dz,ll:fz,Ll:hz,llcorner:pz,Lleftarrow:gz,llhard:mz,lltri:_z,Lmidot:bz,lmidot:yz,lmoustache:vz,lmoust:wz,lnap:xz,lnapprox:kz,lne:Ez,lnE:Cz,lneq:Az,lneqq:Sz,lnsim:Tz,loang:Oz,loarr:Mz,lobrk:Rz,longleftarrow:Nz,LongLeftArrow:Dz,Longleftarrow:Lz,longleftrightarrow:Iz,LongLeftRightArrow:Pz,Longleftrightarrow:Fz,longmapsto:Bz,longrightarrow:jz,LongRightArrow:zz,Longrightarrow:qz,looparrowleft:$z,looparrowright:Uz,lopar:Hz,Lopf:Vz,lopf:Gz,loplus:Kz,lotimes:Wz,lowast:Zz,lowbar:Yz,LowerLeftArrow:Qz,LowerRightArrow:Jz,loz:Xz,lozenge:eq,lozf:tq,lpar:nq,lparlt:sq,lrarr:oq,lrcorner:rq,lrhar:iq,lrhard:aq,lrm:lq,lrtri:cq,lsaquo:uq,lscr:dq,Lscr:fq,lsh:hq,Lsh:pq,lsim:gq,lsime:mq,lsimg:_q,lsqb:bq,lsquo:yq,lsquor:vq,Lstrok:wq,lstrok:xq,ltcc:kq,ltcir:Eq,lt:Cq,LT:Aq,Lt:Sq,ltdot:Tq,lthree:Oq,ltimes:Mq,ltlarr:Rq,ltquest:Nq,ltri:Dq,ltrie:Lq,ltrif:Iq,ltrPar:Pq,lurdshar:Fq,luruhar:Bq,lvertneqq:jq,lvnE:zq,macr:qq,male:$q,malt:Uq,maltese:Hq,Map:"⤅",map:Vq,mapsto:Gq,mapstodown:Kq,mapstoleft:Wq,mapstoup:Zq,marker:Yq,mcomma:Qq,Mcy:Jq,mcy:Xq,mdash:e$,mDDot:t$,measuredangle:n$,MediumSpace:s$,Mellintrf:o$,Mfr:r$,mfr:i$,mho:a$,micro:l$,midast:c$,midcir:u$,mid:d$,middot:f$,minusb:h$,minus:p$,minusd:g$,minusdu:m$,MinusPlus:_$,mlcp:b$,mldr:y$,mnplus:v$,models:w$,Mopf:x$,mopf:k$,mp:E$,mscr:C$,Mscr:A$,mstpos:S$,Mu:T$,mu:O$,multimap:M$,mumap:R$,nabla:N$,Nacute:D$,nacute:L$,nang:I$,nap:P$,napE:F$,napid:B$,napos:j$,napprox:z$,natural:q$,naturals:$$,natur:U$,nbsp:H$,nbump:V$,nbumpe:G$,ncap:K$,Ncaron:W$,ncaron:Z$,Ncedil:Y$,ncedil:Q$,ncong:J$,ncongdot:X$,ncup:eU,Ncy:tU,ncy:nU,ndash:sU,nearhk:oU,nearr:rU,neArr:iU,nearrow:aU,ne:lU,nedot:cU,NegativeMediumSpace:uU,NegativeThickSpace:dU,NegativeThinSpace:fU,NegativeVeryThinSpace:hU,nequiv:pU,nesear:gU,nesim:mU,NestedGreaterGreater:_U,NestedLessLess:bU,NewLine:yU,nexist:vU,nexists:wU,Nfr:xU,nfr:kU,ngE:EU,nge:CU,ngeq:AU,ngeqq:SU,ngeqslant:TU,nges:OU,nGg:MU,ngsim:RU,nGt:NU,ngt:DU,ngtr:LU,nGtv:IU,nharr:PU,nhArr:FU,nhpar:BU,ni:jU,nis:zU,nisd:qU,niv:$U,NJcy:UU,njcy:HU,nlarr:VU,nlArr:GU,nldr:KU,nlE:WU,nle:ZU,nleftarrow:YU,nLeftarrow:QU,nleftrightarrow:JU,nLeftrightarrow:XU,nleq:eH,nleqq:tH,nleqslant:nH,nles:sH,nless:oH,nLl:rH,nlsim:iH,nLt:aH,nlt:lH,nltri:cH,nltrie:uH,nLtv:dH,nmid:fH,NoBreak:hH,NonBreakingSpace:pH,nopf:gH,Nopf:mH,Not:_H,not:bH,NotCongruent:yH,NotCupCap:vH,NotDoubleVerticalBar:wH,NotElement:xH,NotEqual:kH,NotEqualTilde:EH,NotExists:CH,NotGreater:AH,NotGreaterEqual:SH,NotGreaterFullEqual:TH,NotGreaterGreater:OH,NotGreaterLess:MH,NotGreaterSlantEqual:RH,NotGreaterTilde:NH,NotHumpDownHump:DH,NotHumpEqual:LH,notin:IH,notindot:PH,notinE:FH,notinva:BH,notinvb:jH,notinvc:zH,NotLeftTriangleBar:qH,NotLeftTriangle:$H,NotLeftTriangleEqual:UH,NotLess:HH,NotLessEqual:VH,NotLessGreater:GH,NotLessLess:KH,NotLessSlantEqual:WH,NotLessTilde:ZH,NotNestedGreaterGreater:YH,NotNestedLessLess:QH,notni:JH,notniva:XH,notnivb:eV,notnivc:tV,NotPrecedes:nV,NotPrecedesEqual:sV,NotPrecedesSlantEqual:oV,NotReverseElement:rV,NotRightTriangleBar:iV,NotRightTriangle:aV,NotRightTriangleEqual:lV,NotSquareSubset:cV,NotSquareSubsetEqual:uV,NotSquareSuperset:dV,NotSquareSupersetEqual:fV,NotSubset:hV,NotSubsetEqual:pV,NotSucceeds:gV,NotSucceedsEqual:mV,NotSucceedsSlantEqual:_V,NotSucceedsTilde:bV,NotSuperset:yV,NotSupersetEqual:vV,NotTilde:wV,NotTildeEqual:xV,NotTildeFullEqual:kV,NotTildeTilde:EV,NotVerticalBar:CV,nparallel:AV,npar:SV,nparsl:TV,npart:OV,npolint:MV,npr:RV,nprcue:NV,nprec:DV,npreceq:LV,npre:IV,nrarrc:PV,nrarr:FV,nrArr:BV,nrarrw:jV,nrightarrow:zV,nRightarrow:qV,nrtri:$V,nrtrie:UV,nsc:HV,nsccue:VV,nsce:GV,Nscr:KV,nscr:WV,nshortmid:ZV,nshortparallel:YV,nsim:QV,nsime:JV,nsimeq:XV,nsmid:eG,nspar:tG,nsqsube:nG,nsqsupe:sG,nsub:oG,nsubE:rG,nsube:iG,nsubset:aG,nsubseteq:lG,nsubseteqq:cG,nsucc:uG,nsucceq:dG,nsup:fG,nsupE:hG,nsupe:pG,nsupset:gG,nsupseteq:mG,nsupseteqq:_G,ntgl:bG,Ntilde:yG,ntilde:vG,ntlg:wG,ntriangleleft:xG,ntrianglelefteq:kG,ntriangleright:EG,ntrianglerighteq:CG,Nu:AG,nu:SG,num:TG,numero:OG,numsp:MG,nvap:RG,nvdash:NG,nvDash:DG,nVdash:LG,nVDash:IG,nvge:PG,nvgt:FG,nvHarr:BG,nvinfin:jG,nvlArr:zG,nvle:qG,nvlt:$G,nvltrie:UG,nvrArr:HG,nvrtrie:VG,nvsim:GG,nwarhk:KG,nwarr:WG,nwArr:ZG,nwarrow:YG,nwnear:QG,Oacute:JG,oacute:XG,oast:eK,Ocirc:tK,ocirc:nK,ocir:sK,Ocy:oK,ocy:rK,odash:iK,Odblac:aK,odblac:lK,odiv:cK,odot:uK,odsold:dK,OElig:fK,oelig:hK,ofcir:pK,Ofr:gK,ofr:mK,ogon:_K,Ograve:bK,ograve:yK,ogt:vK,ohbar:wK,ohm:xK,oint:kK,olarr:EK,olcir:CK,olcross:AK,oline:SK,olt:TK,Omacr:OK,omacr:MK,Omega:RK,omega:NK,Omicron:DK,omicron:LK,omid:IK,ominus:PK,Oopf:FK,oopf:BK,opar:jK,OpenCurlyDoubleQuote:zK,OpenCurlyQuote:qK,operp:$K,oplus:UK,orarr:HK,Or:VK,or:GK,ord:KK,order:WK,orderof:ZK,ordf:YK,ordm:QK,origof:JK,oror:XK,orslope:eW,orv:tW,oS:nW,Oscr:sW,oscr:oW,Oslash:rW,oslash:iW,osol:aW,Otilde:lW,otilde:cW,otimesas:uW,Otimes:dW,otimes:fW,Ouml:hW,ouml:pW,ovbar:gW,OverBar:mW,OverBrace:_W,OverBracket:bW,OverParenthesis:yW,para:vW,parallel:wW,par:xW,parsim:kW,parsl:EW,part:CW,PartialD:AW,Pcy:SW,pcy:TW,percnt:OW,period:MW,permil:RW,perp:NW,pertenk:DW,Pfr:LW,pfr:IW,Phi:PW,phi:FW,phiv:BW,phmmat:jW,phone:zW,Pi:qW,pi:$W,pitchfork:UW,piv:HW,planck:VW,planckh:GW,plankv:KW,plusacir:WW,plusb:ZW,pluscir:YW,plus:QW,plusdo:JW,plusdu:XW,pluse:eZ,PlusMinus:tZ,plusmn:nZ,plussim:sZ,plustwo:oZ,pm:rZ,Poincareplane:iZ,pointint:aZ,popf:lZ,Popf:cZ,pound:uZ,prap:dZ,Pr:fZ,pr:hZ,prcue:pZ,precapprox:gZ,prec:mZ,preccurlyeq:_Z,Precedes:bZ,PrecedesEqual:yZ,PrecedesSlantEqual:vZ,PrecedesTilde:wZ,preceq:xZ,precnapprox:kZ,precneqq:EZ,precnsim:CZ,pre:AZ,prE:SZ,precsim:TZ,prime:OZ,Prime:MZ,primes:RZ,prnap:NZ,prnE:DZ,prnsim:LZ,prod:IZ,Product:PZ,profalar:FZ,profline:BZ,profsurf:jZ,prop:zZ,Proportional:qZ,Proportion:$Z,propto:UZ,prsim:HZ,prurel:VZ,Pscr:GZ,pscr:KZ,Psi:WZ,psi:ZZ,puncsp:YZ,Qfr:QZ,qfr:JZ,qint:XZ,qopf:eY,Qopf:tY,qprime:nY,Qscr:sY,qscr:oY,quaternions:rY,quatint:iY,quest:aY,questeq:lY,quot:cY,QUOT:uY,rAarr:dY,race:fY,Racute:hY,racute:pY,radic:gY,raemptyv:mY,rang:_Y,Rang:bY,rangd:yY,range:vY,rangle:wY,raquo:xY,rarrap:kY,rarrb:EY,rarrbfs:CY,rarrc:AY,rarr:SY,Rarr:TY,rArr:OY,rarrfs:MY,rarrhk:RY,rarrlp:NY,rarrpl:DY,rarrsim:LY,Rarrtl:IY,rarrtl:PY,rarrw:FY,ratail:BY,rAtail:jY,ratio:zY,rationals:qY,rbarr:$Y,rBarr:UY,RBarr:HY,rbbrk:VY,rbrace:GY,rbrack:KY,rbrke:WY,rbrksld:ZY,rbrkslu:YY,Rcaron:QY,rcaron:JY,Rcedil:XY,rcedil:eQ,rceil:tQ,rcub:nQ,Rcy:sQ,rcy:oQ,rdca:rQ,rdldhar:iQ,rdquo:aQ,rdquor:lQ,rdsh:cQ,real:uQ,realine:dQ,realpart:fQ,reals:hQ,Re:pQ,rect:gQ,reg:mQ,REG:_Q,ReverseElement:bQ,ReverseEquilibrium:yQ,ReverseUpEquilibrium:vQ,rfisht:wQ,rfloor:xQ,rfr:kQ,Rfr:EQ,rHar:CQ,rhard:AQ,rharu:SQ,rharul:TQ,Rho:OQ,rho:MQ,rhov:RQ,RightAngleBracket:NQ,RightArrowBar:DQ,rightarrow:LQ,RightArrow:IQ,Rightarrow:PQ,RightArrowLeftArrow:FQ,rightarrowtail:BQ,RightCeiling:jQ,RightDoubleBracket:zQ,RightDownTeeVector:qQ,RightDownVectorBar:$Q,RightDownVector:UQ,RightFloor:HQ,rightharpoondown:VQ,rightharpoonup:GQ,rightleftarrows:KQ,rightleftharpoons:WQ,rightrightarrows:ZQ,rightsquigarrow:YQ,RightTeeArrow:QQ,RightTee:JQ,RightTeeVector:XQ,rightthreetimes:eJ,RightTriangleBar:tJ,RightTriangle:nJ,RightTriangleEqual:sJ,RightUpDownVector:oJ,RightUpTeeVector:rJ,RightUpVectorBar:iJ,RightUpVector:aJ,RightVectorBar:lJ,RightVector:cJ,ring:uJ,risingdotseq:dJ,rlarr:fJ,rlhar:hJ,rlm:pJ,rmoustache:gJ,rmoust:mJ,rnmid:_J,roang:bJ,roarr:yJ,robrk:vJ,ropar:wJ,ropf:xJ,Ropf:kJ,roplus:EJ,rotimes:CJ,RoundImplies:AJ,rpar:SJ,rpargt:TJ,rppolint:OJ,rrarr:MJ,Rrightarrow:RJ,rsaquo:NJ,rscr:DJ,Rscr:LJ,rsh:IJ,Rsh:PJ,rsqb:FJ,rsquo:BJ,rsquor:jJ,rthree:zJ,rtimes:qJ,rtri:$J,rtrie:UJ,rtrif:HJ,rtriltri:VJ,RuleDelayed:GJ,ruluhar:KJ,rx:WJ,Sacute:ZJ,sacute:YJ,sbquo:QJ,scap:JJ,Scaron:XJ,scaron:eX,Sc:tX,sc:nX,sccue:sX,sce:oX,scE:rX,Scedil:iX,scedil:aX,Scirc:lX,scirc:cX,scnap:uX,scnE:dX,scnsim:fX,scpolint:hX,scsim:pX,Scy:gX,scy:mX,sdotb:_X,sdot:bX,sdote:yX,searhk:vX,searr:wX,seArr:xX,searrow:kX,sect:EX,semi:CX,seswar:AX,setminus:SX,setmn:TX,sext:OX,Sfr:MX,sfr:RX,sfrown:NX,sharp:DX,SHCHcy:LX,shchcy:IX,SHcy:PX,shcy:FX,ShortDownArrow:BX,ShortLeftArrow:jX,shortmid:zX,shortparallel:qX,ShortRightArrow:$X,ShortUpArrow:UX,shy:HX,Sigma:VX,sigma:GX,sigmaf:KX,sigmav:WX,sim:ZX,simdot:YX,sime:QX,simeq:JX,simg:XX,simgE:eee,siml:tee,simlE:nee,simne:see,simplus:oee,simrarr:ree,slarr:iee,SmallCircle:aee,smallsetminus:lee,smashp:cee,smeparsl:uee,smid:dee,smile:fee,smt:hee,smte:pee,smtes:gee,SOFTcy:mee,softcy:_ee,solbar:bee,solb:yee,sol:vee,Sopf:wee,sopf:xee,spades:kee,spadesuit:Eee,spar:Cee,sqcap:Aee,sqcaps:See,sqcup:Tee,sqcups:Oee,Sqrt:Mee,sqsub:Ree,sqsube:Nee,sqsubset:Dee,sqsubseteq:Lee,sqsup:Iee,sqsupe:Pee,sqsupset:Fee,sqsupseteq:Bee,square:jee,Square:zee,SquareIntersection:qee,SquareSubset:$ee,SquareSubsetEqual:Uee,SquareSuperset:Hee,SquareSupersetEqual:Vee,SquareUnion:Gee,squarf:Kee,squ:Wee,squf:Zee,srarr:Yee,Sscr:Qee,sscr:Jee,ssetmn:Xee,ssmile:ete,sstarf:tte,Star:nte,star:ste,starf:ote,straightepsilon:rte,straightphi:ite,strns:ate,sub:lte,Sub:cte,subdot:ute,subE:dte,sube:fte,subedot:hte,submult:pte,subnE:gte,subne:mte,subplus:_te,subrarr:bte,subset:yte,Subset:vte,subseteq:wte,subseteqq:xte,SubsetEqual:kte,subsetneq:Ete,subsetneqq:Cte,subsim:Ate,subsub:Ste,subsup:Tte,succapprox:Ote,succ:Mte,succcurlyeq:Rte,Succeeds:Nte,SucceedsEqual:Dte,SucceedsSlantEqual:Lte,SucceedsTilde:Ite,succeq:Pte,succnapprox:Fte,succneqq:Bte,succnsim:jte,succsim:zte,SuchThat:qte,sum:$te,Sum:Ute,sung:Hte,sup1:Vte,sup2:Gte,sup3:Kte,sup:Wte,Sup:Zte,supdot:Yte,supdsub:Qte,supE:Jte,supe:Xte,supedot:ene,Superset:tne,SupersetEqual:nne,suphsol:sne,suphsub:one,suplarr:rne,supmult:ine,supnE:ane,supne:lne,supplus:cne,supset:une,Supset:dne,supseteq:fne,supseteqq:hne,supsetneq:pne,supsetneqq:gne,supsim:mne,supsub:_ne,supsup:bne,swarhk:yne,swarr:vne,swArr:wne,swarrow:xne,swnwar:kne,szlig:Ene,Tab:Cne,target:Ane,Tau:Sne,tau:Tne,tbrk:One,Tcaron:Mne,tcaron:Rne,Tcedil:Nne,tcedil:Dne,Tcy:Lne,tcy:Ine,tdot:Pne,telrec:Fne,Tfr:Bne,tfr:jne,there4:zne,therefore:qne,Therefore:$ne,Theta:Une,theta:Hne,thetasym:Vne,thetav:Gne,thickapprox:Kne,thicksim:Wne,ThickSpace:Zne,ThinSpace:Yne,thinsp:Qne,thkap:Jne,thksim:Xne,THORN:ese,thorn:tse,tilde:nse,Tilde:sse,TildeEqual:ose,TildeFullEqual:rse,TildeTilde:ise,timesbar:ase,timesb:lse,times:cse,timesd:use,tint:dse,toea:fse,topbot:hse,topcir:pse,top:gse,Topf:mse,topf:_se,topfork:bse,tosa:yse,tprime:vse,trade:wse,TRADE:xse,triangle:kse,triangledown:Ese,triangleleft:Cse,trianglelefteq:Ase,triangleq:Sse,triangleright:Tse,trianglerighteq:Ose,tridot:Mse,trie:Rse,triminus:Nse,TripleDot:Dse,triplus:Lse,trisb:Ise,tritime:Pse,trpezium:Fse,Tscr:Bse,tscr:jse,TScy:zse,tscy:qse,TSHcy:$se,tshcy:Use,Tstrok:Hse,tstrok:Vse,twixt:Gse,twoheadleftarrow:Kse,twoheadrightarrow:Wse,Uacute:Zse,uacute:Yse,uarr:Qse,Uarr:Jse,uArr:Xse,Uarrocir:eoe,Ubrcy:toe,ubrcy:noe,Ubreve:soe,ubreve:ooe,Ucirc:roe,ucirc:ioe,Ucy:aoe,ucy:loe,udarr:coe,Udblac:uoe,udblac:doe,udhar:foe,ufisht:hoe,Ufr:poe,ufr:goe,Ugrave:moe,ugrave:_oe,uHar:boe,uharl:yoe,uharr:voe,uhblk:woe,ulcorn:xoe,ulcorner:koe,ulcrop:Eoe,ultri:Coe,Umacr:Aoe,umacr:Soe,uml:Toe,UnderBar:Ooe,UnderBrace:Moe,UnderBracket:Roe,UnderParenthesis:Noe,Union:Doe,UnionPlus:Loe,Uogon:Ioe,uogon:Poe,Uopf:Foe,uopf:Boe,UpArrowBar:joe,uparrow:zoe,UpArrow:qoe,Uparrow:$oe,UpArrowDownArrow:Uoe,updownarrow:Hoe,UpDownArrow:Voe,Updownarrow:Goe,UpEquilibrium:Koe,upharpoonleft:Woe,upharpoonright:Zoe,uplus:Yoe,UpperLeftArrow:Qoe,UpperRightArrow:Joe,upsi:Xoe,Upsi:ere,upsih:tre,Upsilon:nre,upsilon:sre,UpTeeArrow:ore,UpTee:rre,upuparrows:ire,urcorn:are,urcorner:lre,urcrop:cre,Uring:ure,uring:dre,urtri:fre,Uscr:hre,uscr:pre,utdot:gre,Utilde:mre,utilde:_re,utri:bre,utrif:yre,uuarr:vre,Uuml:wre,uuml:xre,uwangle:kre,vangrt:Ere,varepsilon:Cre,varkappa:Are,varnothing:Sre,varphi:Tre,varpi:Ore,varpropto:Mre,varr:Rre,vArr:Nre,varrho:Dre,varsigma:Lre,varsubsetneq:Ire,varsubsetneqq:Pre,varsupsetneq:Fre,varsupsetneqq:Bre,vartheta:jre,vartriangleleft:zre,vartriangleright:qre,vBar:$re,Vbar:Ure,vBarv:Hre,Vcy:Vre,vcy:Gre,vdash:Kre,vDash:Wre,Vdash:Zre,VDash:Yre,Vdashl:Qre,veebar:Jre,vee:Xre,Vee:eie,veeeq:tie,vellip:nie,verbar:sie,Verbar:oie,vert:rie,Vert:iie,VerticalBar:aie,VerticalLine:lie,VerticalSeparator:cie,VerticalTilde:uie,VeryThinSpace:die,Vfr:fie,vfr:hie,vltri:pie,vnsub:gie,vnsup:mie,Vopf:_ie,vopf:bie,vprop:yie,vrtri:vie,Vscr:wie,vscr:xie,vsubnE:kie,vsubne:Eie,vsupnE:Cie,vsupne:Aie,Vvdash:Sie,vzigzag:Tie,Wcirc:Oie,wcirc:Mie,wedbar:Rie,wedge:Nie,Wedge:Die,wedgeq:Lie,weierp:Iie,Wfr:Pie,wfr:Fie,Wopf:Bie,wopf:jie,wp:zie,wr:qie,wreath:$ie,Wscr:Uie,wscr:Hie,xcap:Vie,xcirc:Gie,xcup:Kie,xdtri:Wie,Xfr:Zie,xfr:Yie,xharr:Qie,xhArr:Jie,Xi:Xie,xi:eae,xlarr:tae,xlArr:nae,xmap:sae,xnis:oae,xodot:rae,Xopf:iae,xopf:aae,xoplus:lae,xotime:cae,xrarr:uae,xrArr:dae,Xscr:fae,xscr:hae,xsqcup:pae,xuplus:gae,xutri:mae,xvee:_ae,xwedge:bae,Yacute:yae,yacute:vae,YAcy:wae,yacy:xae,Ycirc:kae,ycirc:Eae,Ycy:Cae,ycy:Aae,yen:Sae,Yfr:Tae,yfr:Oae,YIcy:Mae,yicy:Rae,Yopf:Nae,yopf:Dae,Yscr:Lae,yscr:Iae,YUcy:Pae,yucy:Fae,yuml:Bae,Yuml:jae,Zacute:zae,zacute:qae,Zcaron:$ae,zcaron:Uae,Zcy:Hae,zcy:Vae,Zdot:Gae,zdot:Kae,zeetrf:Wae,ZeroWidthSpace:Zae,Zeta:Yae,zeta:Qae,zfr:Jae,Zfr:Xae,ZHcy:ele,zhcy:tle,zigrarr:nle,zopf:sle,Zopf:ole,Zscr:rle,zscr:ile,zwj:ale,zwnj:lle};var Kp=cle,Zl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Us={},zu={};function ule(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=ule(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}si.defaultChars=";/?:@&=+$,-_.!~*'()#";si.componentChars="-_.!~*'()";var dle=si,qu={};function fle(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&&u<=57343?f+="���":f+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}oi.defaultChars=";/?:@&=+$,#";oi.componentChars="";var hle=oi,ple=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 wr(){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 gle=/^([a-z0-9.+-]+:)/i,mle=/:[0-9]*$/,_le=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ble=["<",">",'"',"`"," ","\r",` -`," "],yle=["{","}","|","\\","^","`"].concat(ble),vle=["'"].concat(yle),$u=["%","/","?",";","#"].concat(vle),Uu=["/","?","#"],wle=255,Hu=/^[+a-z0-9A-Z_-]{0,63}$/,xle=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Vu={javascript:!0,"javascript:":!0},Gu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function kle(t,e){if(t&&t instanceof wr)return t;var n=new wr;return n.parse(t,e),n}wr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=_le.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=gle.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&&Vu[c])&&(a=a.substr(2),this.slashes=!0)),!Vu[c]&&(i||c&&!Gu[c])){var u=-1;for(n=0;n127?_+="x":_+=v[b];if(!_.match(Hu)){var C=m.slice(0,n),R=m.slice(n+1),T=v.match(xle);T&&(C.push(T[1]),R.unshift(T[2])),R.length&&(a=R.join(".")+a),this.hostname=C.join(".");break}}}}this.hostname.length>wle&&(this.hostname=""),p&&(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 y=a.indexOf("?");return y!==-1&&(this.search=a.substr(y),a=a.slice(0,y)),a&&(this.pathname=a),Gu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};wr.prototype.parseHost=function(t){var e=mle.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 Ele=kle;Us.encode=dle;Us.decode=hle;Us.format=ple;Us.parse=Ele;var Ln={},Di,Ku;function Wp(){return Ku||(Ku=1,Di=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Di}var Li,Wu;function Zp(){return Wu||(Wu=1,Li=/[\0-\x1F\x7F-\x9F]/),Li}var Ii,Zu;function Cle(){return Zu||(Zu=1,Ii=/[\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]/),Ii}var Pi,Yu;function Yp(){return Yu||(Yu=1,Pi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Pi}var Qu;function Ale(){return Qu||(Qu=1,Ln.Any=Wp(),Ln.Cc=Zp(),Ln.Cf=Cle(),Ln.P=Zl,Ln.Z=Yp()),Ln}(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,ae){return s.call(I,ae)}function r(I){var ae=Array.prototype.slice.call(arguments,1);return ae.forEach(function(W){if(W){if(typeof W!="object")throw new TypeError(W+"must be object");Object.keys(W).forEach(function(A){I[A]=W[A]})}}),I}function i(I,ae,W){return[].concat(I.slice(0,ae),W,I.slice(ae+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 ae=55296+(I>>10),W=56320+(I&1023);return String.fromCharCode(ae,W)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(c.source+"|"+u.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=Kp;function p(I,ae){var W=0;return o(g,ae)?g[ae]:ae.charCodeAt(0)===35&&h.test(ae)&&(W=ae[1].toLowerCase()==="x"?parseInt(ae.slice(2),16):parseInt(ae.slice(1),10),a(W))?l(W):I}function m(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function v(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(f,function(ae,W,A){return W||p(ae,A)})}var _=/[&<>"]/,b=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function C(I){return x[I]}function R(I){return _.test(I)?I.replace(b,C):I}var T=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(T,"\\$&")}function y(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var S=Zl;function L(I){return S.test(I)}function F(I){switch(I){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Y(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Us,t.lib.ucmicro=Ale(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=y,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Y})(ze);var ri={},Sle=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=Ju(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},Ole=ze.unescapeAll,Mle=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"+Qn(t[e].content)+""};Zt.code_block=function(t,e,n,s,o){var r=t[e];return""+Qn(t[e].content)+` -`};Zt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Nle(r.info).trim():"",a="",l="",c,u,f,h,g;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Qn(r.content):c=Qn(r.content),c.indexOf("(Fs("data-v-ca5f9646"),t=t(),Bs(),t),KE={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},WE={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"},ZE={key:0,class:"flex gap-3 flex-1 items-center duration-75"},YE=ye(()=>d("i",{"data-feather":"x"},null,-1)),QE=[YE],JE=ye(()=>d("i",{"data-feather":"check"},null,-1)),XE=[JE],e5={key:1,class:"flex gap-3 flex-1 items-center"},t5=ye(()=>d("i",{"data-feather":"save"},null,-1)),n5=[t5],s5=ye(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),o5=[s5],r5=ye(()=>d("i",{"data-feather":"list"},null,-1)),i5=[r5],a5={class:"flex gap-3 flex-1 items-center justify-end"},l5={class:"flex gap-3 items-center"},c5={key:0,class:"flex gap-3 items-center"},u5=ye(()=>d("i",{"data-feather":"check"},null,-1)),d5=[u5],f5={key:1,role:"status"},h5=ye(()=>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)),p5=ye(()=>d("span",{class:"sr-only"},"Loading...",-1)),g5=[h5,p5],m5={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"},_5={class:"flex flex-row p-3"},b5=ye(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),y5=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),v5=ye(()=>d("div",{class:"mr-2"},"|",-1)),w5={class:"text-base font-semibold cursor-pointer select-none items-center"},x5={class:"flex gap-2 items-center"},k5={key:0},E5={class:"flex gap-2 items-center"},C5=["title"],A5=js('',34),S5=[A5],T5={class:"font-bold font-large text-lg"},O5={key:1},M5={class:"flex gap-2 items-center"},R5=js('',1),N5={class:"font-bold font-large text-lg"},D5=ye(()=>d("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),L5={class:"font-bold font-large text-lg"},I5=ye(()=>d("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),P5={class:"font-bold font-large text-lg"},F5={class:"mb-2"},B5=ye(()=>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)),j5={class:"flex flex-col mx-2"},z5=ye(()=>d("b",null,"Avaliable ram: ",-1)),q5=ye(()=>d("b",null,"Ram usage: ",-1)),$5={class:"p-2"},U5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},H5={class:"mb-2"},V5=ye(()=>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)),G5={class:"flex flex-col mx-2"},K5=ye(()=>d("b",null,"Avaliable disk space: ",-1)),W5=ye(()=>d("b",null,"Disk usage: ",-1)),Z5={class:"p-2"},Y5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Q5={class:"mb-2"},J5=js('',1),X5={class:"flex flex-col mx-2"},e4=ye(()=>d("b",null,"Model: ",-1)),t4=ye(()=>d("b",null,"Avaliable vram: ",-1)),n4=ye(()=>d("b",null,"GPU usage: ",-1)),s4={class:"p-2"},o4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},r4={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"},i4={class:"flex flex-row p-3"},a4=ye(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),l4=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),c4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},u4=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),d4={key:1,class:"mr-2"},f4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},h4={class:"flex gap-1 items-center"},p4=["src"],g4={class:"font-bold font-large text-lg line-clamp-1"},m4={key:0,class:"mb-2"},_4={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},b4=ye(()=>d("i",{"data-feather":"chevron-up"},null,-1)),y4=[b4],v4=ye(()=>d("i",{"data-feather":"chevron-down"},null,-1)),w4=[v4],x4={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"},k4={class:"flex flex-row p-3"},E4=["data-feather"],C4=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),A4={class:"flex flex-row items-center"},S4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},T4=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),O4={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},M4=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),R4={key:2,class:"mr-2"},N4={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},D4={class:"flex gap-1 items-center"},L4=["src"],I4={class:"font-bold font-large text-lg line-clamp-1"},P4={class:"mx-2 mb-4"},F4={class:"relative"},B4={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},j4={key:0},z4=ye(()=>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)),q4=[z4],$4={key:1},U4=ye(()=>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)),H4=[U4],V4={key:0},G4={key:0,class:"mb-2"},K4={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},W4={key:1},Z4={key:0,class:"mb-2"},Y4={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Q4=ye(()=>d("i",{"data-feather":"chevron-up"},null,-1)),J4=[Q4],X4=ye(()=>d("i",{"data-feather":"chevron-down"},null,-1)),eC=[X4],tC={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"},nC={class:"flex flex-row p-3"},sC=["data-feather"],oC=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),rC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},iC=ye(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),aC={key:1,class:"mr-2"},lC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},cC={class:"flex gap-1 items-center"},uC=["src"],dC={class:"font-bold font-large text-lg line-clamp-1"},fC={class:"mb-2"},hC={class:"p-2"},pC={key:0},gC={class:"mb-3"},mC=ye(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),_C={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},bC=ye(()=>d("div",{role:"status",class:"justify-center"},null,-1)),yC={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},vC={class:"w-full p-2"},wC={class:"flex justify-between mb-1"},xC=js(' Downloading Loading...',1),kC={class:"text-sm font-medium text-blue-700 dark:text-white"},EC=["title"],CC={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},AC={class:"flex justify-between mb-1"},SC={class:"text-base font-medium text-blue-700 dark:text-white"},TC={class:"text-sm font-medium text-blue-700 dark:text-white"},OC={class:"flex flex-grow"},MC={class:"flex flex-row flex-grow gap-3"},RC={class:"p-2 text-center grow"},NC={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 items-center"},LC=["data-feather"],IC=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),PC={key:0,class:"mr-2"},FC={class:"mr-2 font-bold font-large text-lg line-clamp-1"},BC={key:1,class:"mr-2"},jC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},zC={key:0,class:"flex -space-x-4 items-center"},qC={class:"group items-center flex flex-row"},$C=["onClick"],UC=["src","title"],HC=["onClick"],VC=ye(()=>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)),GC=[VC],KC={class:"mx-2 mb-4"},WC=ye(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),ZC={class:"relative"},YC={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},QC={key:0},JC=ye(()=>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)),XC=[JC],e3={key:1},t3=ye(()=>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)),n3=[t3],s3={key:0,class:"mx-2 mb-4"},o3={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},r3=["selected"],i3={key:1,class:"mx-2 mb-4"},a3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},l3=["selected"],c3={key:0,class:"mb-2"},u3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},d3=ye(()=>d("i",{"data-feather":"chevron-up"},null,-1)),f3=[d3],h3=ye(()=>d("i",{"data-feather":"chevron-down"},null,-1)),p3=[h3],g3={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"},m3={class:"flex flex-row"},_3=["data-feather"],b3=ye(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),y3={class:"m-2"},v3={class:"flex flex-row gap-2 items-center"},w3=ye(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),x3={class:"m-2"},k3=ye(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),E3={class:"m-2"},C3={class:"flex flex-col align-bottom"},A3={class:"relative"},S3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),T3={class:"absolute right-0"},O3={class:"m-2"},M3={class:"flex flex-col align-bottom"},R3={class:"relative"},N3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),D3={class:"absolute right-0"},L3={class:"m-2"},I3={class:"flex flex-col align-bottom"},P3={class:"relative"},F3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),B3={class:"absolute right-0"},j3={class:"m-2"},z3={class:"flex flex-col align-bottom"},q3={class:"relative"},$3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),U3={class:"absolute right-0"},H3={class:"m-2"},V3={class:"flex flex-col align-bottom"},G3={class:"relative"},K3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),W3={class:"absolute right-0"},Z3={class:"m-2"},Y3={class:"flex flex-col align-bottom"},Q3={class:"relative"},J3=ye(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),X3={class:"absolute right-0"};function eA(t,e,n,s,o,r){const i=ut("BindingEntry"),a=ut("model-entry"),l=ut("personality-entry"),c=ut("YesNoDialog"),u=ut("AddModelDialog"),f=ut("MessageBox"),h=ut("Toast"),g=ut("UniversalForm");return O(),M(Ie,null,[d("div",KE,[d("div",WE,[o.showConfirmation?(O(),M("div",ZE,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ue(p=>o.showConfirmation=!1,["stop"]))},QE),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ue(p=>r.save_configuration(),["stop"]))},XE)])):U("",!0),o.showConfirmation?U("",!0):(O(),M("div",e5,[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)},n5),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())},o5),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]=ue(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},i5)])),d("div",a5,[d("div",l5,[o.settingsChanged?(O(),M("div",c5,[be(" Apply changes: "),o.isLoading?U("",!0):(O(),M("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ue(p=>r.applyConfiguration(),["stop"]))},d5))])):U("",!0),o.isLoading?(O(),M("div",f5,g5)):U("",!0)])])]),d("div",{class:Me(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",m5,[d("div",_5,[d("button",{onClick:e[6]||(e[6]=ue(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"},[b5,y5,v5,d("div",w5,[d("div",x5,[d("div",null,[o.vramUsage.gpus&&o.vramUsage.gpus.length==1?(O(),M("div",k5,[(O(!0),M(Ie,null,et(o.vramUsage.gpus,p=>(O(),M("div",E5,[(O(),M("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"},S5,8,C5)),d("h3",T5,[d("div",null,J(p.used_vram)+" / "+J(p.total_vram)+" ("+J(p.percentage)+"%) ",1)])]))),256))])):U("",!0),o.vramUsage.gpus&&o.vramUsage.gpus.length>1?(O(),M("div",O5,[d("div",M5,[R5,d("h3",N5,[d("div",null,J(o.vramUsage.gpus.length)+"x ",1)])])])):U("",!0)]),D5,d("h3",L5,[d("div",null,J(r.ram_usage)+" / "+J(r.ram_total_space)+" ("+J(r.ram_percent_usage)+"%)",1)]),I5,d("h3",P5,[d("div",null,J(r.disk_binding_models_usage)+" / "+J(r.disk_total_space)+" ("+J(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Me([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",F5,[B5,d("div",j5,[d("div",null,[z5,be(J(r.ram_available_space),1)]),d("div",null,[q5,be(" "+J(r.ram_usage)+" / "+J(r.ram_total_space)+" ("+J(r.ram_percent_usage)+")% ",1)])]),d("div",$5,[d("div",U5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",H5,[V5,d("div",G5,[d("div",null,[K5,be(J(r.disk_available_space),1)]),d("div",null,[W5,be(" "+J(r.disk_binding_models_usage)+" / "+J(r.disk_total_space)+" ("+J(r.disk_percent_usage)+"%)",1)])]),d("div",Z5,[d("div",Y5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(O(!0),M(Ie,null,et(o.vramUsage.gpus,p=>(O(),M("div",Q5,[J5,d("div",X5,[d("div",null,[e4,be(J(p.gpu_model),1)]),d("div",null,[t4,be(J(p.available_space),1)]),d("div",null,[n4,be(" "+J(p.used_vram)+" / "+J(p.total_vram)+" ("+J(p.percentage)+"%)",1)])]),d("div",s4,[d("div",o4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),d("div",r4,[d("div",i4,[d("button",{onClick:e[7]||(e[7]=ue(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"},[a4,l4,o.configFile.binding_name?U("",!0):(O(),M("div",c4,[u4,be(" No binding selected! ")])),o.configFile.binding_name?(O(),M("div",d4,"|")):U("",!0),o.configFile.binding_name?(O(),M("div",f4,[d("div",h4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,p4),d("h3",g4,J(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(O(),M("div",m4,[d("label",_4," Bindings: ("+J(o.bindings.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.bindings,(p,m)=>(O(),at(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:p.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):U("",!0),o.bzl_collapsed?(O(),M("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=p=>o.bzl_collapsed=!o.bzl_collapsed)},y4)):(O(),M("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=p=>o.bzl_collapsed=!o.bzl_collapsed)},w4))],2)]),d("div",x4,[d("div",k4,[d("button",{onClick:e[10]||(e[10]=ue(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"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,E4),C4,d("div",A4,[o.configFile.binding_name?U("",!0):(O(),M("div",S4,[T4,be(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(O(),M("div",O4,[M4,be(" No model selected! ")])):U("",!0),o.configFile.model_name?(O(),M("div",R4,"|")):U("",!0),o.configFile.model_name?(O(),M("div",N4,[d("div",D4,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,L4),d("h3",I4,J(o.configFile.model_name),1)])])):U("",!0)])])]),d("div",{class:Me([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",P4,[d("form",null,[d("div",F4,[d("div",B4,[o.searchModelInProgress?(O(),M("div",j4,q4)):U("",!0),o.searchModelInProgress?U("",!0):(O(),M("div",$4,H4))]),Oe(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[11]||(e[11]=p=>o.searchModel=p),onKeyup:e[12]||(e[12]=ue((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[je,o.searchModel]]),o.searchModel?(O(),M("button",{key:0,onClick:e[13]||(e[13]=ue(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")):U("",!0)])])]),o.searchModel?(O(),M("div",V4,[o.modelsFiltered.length>0?(O(),M("div",G4,[d("label",K4," Search results: ("+J(o.modelsFiltered.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.modelsFiltered,(p,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+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===o.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)])):U("",!0)])):U("",!0),o.searchModel?U("",!0):(O(),M("div",W4,[o.models.length>0?(O(),M("div",Z4,[d("label",Y4," Models: ("+J(o.models.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.models,(p,m)=>(O(),at(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+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===o.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)])):U("",!0)])),o.mzl_collapsed?(O(),M("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[14]||(e[14]=p=>o.mzl_collapsed=!o.mzl_collapsed)},J4)):(O(),M("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[15]||(e[15]=p=>o.mzl_collapsed=!o.mzl_collapsed)},eC))],2)]),d("div",tC,[d("div",nC,[d("button",{onClick:e[16]||(e[16]=ue(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"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,sC),oC,o.configFile.binding_name?U("",!0):(O(),M("div",rC,[iC,be(" No binding selected! ")])),o.configFile.binding_name?(O(),M("div",aC,"|")):U("",!0),o.configFile.binding_name?(O(),M("div",lC,[d("div",cC,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,uC),d("h3",dC,J(r.binding_name),1)])])):U("",!0)])]),d("div",{class:Me([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",fC,[d("div",hC,[o.modelDownlaodInProgress?U("",!0):(O(),M("div",pC,[d("div",gC,[mC,Oe(d("input",{type:"text","onUpdate:modelValue":e[17]||(e[17]=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),[[je,o.addModel.url]])]),d("button",{type:"button",onClick:e[18]||(e[18]=ue(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?(O(),M("div",_C,[bC,d("div",yC,[d("div",vC,[d("div",wC,[xC,d("span",kC,J(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},J(o.addModel.url),9,EC),d("div",CC,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:en({width:o.addModel.progress+"%"})},null,4)]),d("div",AC,[d("span",SC,"Download speed: "+J(r.speed_computed)+"/s",1),d("span",TC,J(r.downloaded_size_computed)+"/"+J(r.total_size_computed),1)])])]),d("div",OC,[d("div",MC,[d("div",RC,[d("button",{onClick:e[19]||(e[19]=ue((...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 ")])])])])):U("",!0)])])],2)]),d("div",NC,[d("div",DC,[d("button",{onClick:e[21]||(e[21]=ue(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"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,LC),IC,o.configFile.personalities?(O(),M("div",PC,"|")):U("",!0),d("div",FC,J(r.active_pesonality),1),o.configFile.personalities?(O(),M("div",BC,"|")):U("",!0),o.configFile.personalities?(O(),M("div",jC,[o.mountedPersArr.length>0?(O(),M("div",zC,[(O(!0),M(Ie,null,et(o.mountedPersArr,(p,m)=>(O(),M("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",qC,[d("button",{onClick:ue(v=>r.onPersonalitySelected(p),["stop"])},[d("img",{src:o.bUrl+p.avatar,onError:e[20]||(e[20]=(...v)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...v)),class:Me(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,UC)],8,$C),d("button",{onClick:ue(v=>r.onPersonalityMounted(p),["stop"])},GC,8,HC)])]))),128))])):U("",!0)])):U("",!0)])]),d("div",{class:Me([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",KC,[d("form",null,[WC,d("div",ZC,[d("div",YC,[o.searchPersonalityInProgress?(O(),M("div",QC,XC)):U("",!0),o.searchPersonalityInProgress?U("",!0):(O(),M("div",e3,n3))]),Oe(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[22]||(e[22]=p=>o.searchPersonality=p),onKeyup:e[23]||(e[23]=ue((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[je,o.searchPersonality]]),o.searchPersonality?(O(),M("button",{key:0,onClick:e[24]||(e[24]=ue(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")):U("",!0)])])]),o.searchPersonality?U("",!0):(O(),M("div",s3,[d("label",o3," Personalities Languages: ("+J(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[25]||(e[25]=p=>r.update_setting("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"},[(O(!0),M(Ie,null,et(o.persLangArr,p=>(O(),M("option",{selected:p===this.configFile.personality_language},J(p),9,r3))),256))],32)])),o.searchPersonality?U("",!0):(O(),M("div",i3,[d("label",a3," Personalities Category: ("+J(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[26]||(e[26]=p=>r.update_setting("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"},[(O(!0),M(Ie,null,et(o.persCatgArr,(p,m)=>(O(),M("option",{key:m,selected:p==this.configFile.personality_category},J(p),9,l3))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(O(),M("div",c3,[d("label",u3,J(o.searchPersonality?"Search results":"Personalities")+": ("+J(o.personalitiesFiltered.length)+") ",1),d("div",{class:Me(["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"])},[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.personalitiesFiltered,(p,m)=>(O(),at(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+p.name,personality:p,full_path:p.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(v=>v===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):U("",!0)]),o.pzl_collapsed?(O(),M("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[27]||(e[27]=p=>o.pzl_collapsed=!o.pzl_collapsed)},f3)):(O(),M("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[28]||(e[28]=p=>o.pzl_collapsed=!o.pzl_collapsed)},p3))],2)]),d("div",g3,[d("div",m3,[d("button",{onClick:e[29]||(e[29]=ue(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"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,_3),b3])]),d("div",{class:Me([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",y3,[d("div",v3,[Oe(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[30]||(e[30]=ue(()=>{},["stop"])),"onUpdate:modelValue":e[31]||(e[31]=p=>o.configFile.override_personality_model_parameters=p),onChange:e[32]||(e[32]=p=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[mn,o.configFile.override_personality_model_parameters]]),w3])]),d("div",{class:Me(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",x3,[k3,Oe(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[33]||(e[33]=p=>o.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),[[je,o.configFile.seed]])]),d("div",E3,[d("div",C3,[d("div",A3,[S3,d("p",T3,[Oe(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[34]||(e[34]=p=>o.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),[[je,o.configFile.temperature]])])]),Oe(d("input",{id:"temperature",onChange:e[35]||(e[35]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[36]||(e[36]=p=>o.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),[[je,o.configFile.temperature]])])]),d("div",O3,[d("div",M3,[d("div",R3,[N3,d("p",D3,[Oe(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[37]||(e[37]=p=>o.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),[[je,o.configFile.n_predict]])])]),Oe(d("input",{id:"predict",onChange:e[38]||(e[38]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[39]||(e[39]=p=>o.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),[[je,o.configFile.n_predict]])])]),d("div",L3,[d("div",I3,[d("div",P3,[F3,d("p",B3,[Oe(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[40]||(e[40]=p=>o.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),[[je,o.configFile.top_k]])])]),Oe(d("input",{id:"top_k",onChange:e[41]||(e[41]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[42]||(e[42]=p=>o.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),[[je,o.configFile.top_k]])])]),d("div",j3,[d("div",z3,[d("div",q3,[$3,d("p",U3,[Oe(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[43]||(e[43]=p=>o.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),[[je,o.configFile.top_p]])])]),Oe(d("input",{id:"top_p",onChange:e[44]||(e[44]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[45]||(e[45]=p=>o.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),[[je,o.configFile.top_p]])])]),d("div",H3,[d("div",V3,[d("div",G3,[K3,d("p",W3,[Oe(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[46]||(e[46]=p=>o.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),[[je,o.configFile.repeat_penalty]])])]),Oe(d("input",{id:"repeat_penalty",onChange:e[47]||(e[47]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[48]||(e[48]=p=>o.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),[[je,o.configFile.repeat_penalty]])])]),d("div",Z3,[d("div",Y3,[d("div",Q3,[J3,d("p",X3,[Oe(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[49]||(e[49]=p=>o.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),[[je,o.configFile.repeat_last_n]])])]),Oe(d("input",{id:"repeat_last_n",onChange:e[50]||(e[50]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[51]||(e[51]=p=>o.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),[[je,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ce(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ce(u,{ref:"addmodeldialog"},null,512),Ce(f,{ref:"messageBox"},null,512),Ce(h,{ref:"toast"},null,512),Ce(g,{ref:"universalForm",class:"z-20"},null,512)],64)}const tA=Ke(GE,[["render",eA],["__scopeId","data-v-ca5f9646"]]),nA={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)}}},sA={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"},oA={class:"mb-4"},rA=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),iA={class:"mb-4"},aA=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),lA={class:"mb-4"},cA=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),uA={class:"mt-2 text-xs"},dA={class:"mb-4"},fA=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),hA={class:"mb-4"},pA=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),gA={class:"mb-4"},mA=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),_A={class:"mb-4"},bA=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),yA={class:"mb-4"},vA=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),wA=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function xA(t,e,n,s,o,r){return O(),M("div",sA,[d("form",{onSubmit:e[10]||(e[10]=ue((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",oA,[rA,Oe(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.model_name]])]),d("div",iA,[aA,Oe(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.tokenizer_name]])]),d("div",lA,[cA,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",uA,"Selected File: "+J(o.selectedDatasetPath),1)]),d("div",dA,[fA,Oe(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.max_length,void 0,{number:!0}]])]),d("div",hA,[pA,Oe(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.batch_size,void 0,{number:!0}]])]),d("div",gA,[mA,Oe(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.lr,void 0,{number:!0}]])]),d("div",_A,[bA,Oe(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[je,o.num_epochs,void 0,{number:!0}]])]),d("div",yA,[vA,Oe(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[je,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),wA],32)])}const kA=Ke(nA,[["render",xA]]),EA={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,ge(()=>{Ee.replace()})},watch:{showConfirmation(){ge(()=>{Ee.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&ge(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},CA=["id"],AA={class:"flex flex-row items-center gap-2"},SA={key:0},TA=["title"],OA=["value"],MA={class:"flex items-center flex-1 max-h-6"},RA={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},NA=d("i",{"data-feather":"check"},null,-1),DA=[NA],LA=d("i",{"data-feather":"x"},null,-1),IA=[LA],PA={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},FA=d("i",{"data-feather":"x"},null,-1),BA=[FA],jA=d("i",{"data-feather":"check"},null,-1),zA=[jA],qA={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},$A=d("i",{"data-feather":"edit-2"},null,-1),UA=[$A],HA=d("i",{"data-feather":"trash"},null,-1),VA=[HA];function GA(t,e,n,s,o,r){return O(),M("div",{class:Me([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ue(i=>r.selectEvent(),["stop"]))},[d("div",AA,[n.isCheckbox?(O(),M("div",SA,[Oe(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]=ue(()=>{},["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),[[mn,o.checkBoxValue_local]])])):U("",!0),n.selected?(O(),M("div",{key:1,class:Me(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):U("",!0),n.selected?U("",!0):(O(),M("div",{key:2,class:Me(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?U("",!0):(O(),M("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},J(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,TA)),o.editTitle?(O(),M("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]=$a(ue(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=$a(ue(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ue(()=>{},["stop"]))},null,40,OA)):U("",!0),d("div",MA,[o.showConfirmation&&!o.editTitleMode?(O(),M("div",RA,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(i=>r.deleteEvent(),["stop"]))},DA),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ue(i=>o.showConfirmation=!1,["stop"]))},IA)])):U("",!0),o.showConfirmation&&o.editTitleMode?(O(),M("div",PA,[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]=ue(i=>o.editTitleMode=!1,["stop"]))},BA),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ue(i=>r.editTitleEvent(),["stop"]))},zA)])):U("",!0),o.showConfirmation?U("",!0):(O(),M("div",qA,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ue(i=>o.editTitleMode=!0,["stop"]))},UA),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ue(i=>o.showConfirmation=!0,["stop"]))},VA)]))])],10,CA)}const Gp=Ke(EA,[["render",GA]]);var ze={};const KA="Á",WA="á",ZA="Ă",YA="ă",QA="∾",JA="∿",XA="∾̳",e8="Â",t8="â",n8="´",s8="А",o8="а",r8="Æ",i8="æ",a8="⁡",l8="𝔄",c8="𝔞",u8="À",d8="à",f8="ℵ",h8="ℵ",p8="Α",g8="α",m8="Ā",_8="ā",b8="⨿",y8="&",v8="&",w8="⩕",x8="⩓",k8="∧",E8="⩜",C8="⩘",A8="⩚",S8="∠",T8="⦤",O8="∠",M8="⦨",R8="⦩",N8="⦪",D8="⦫",L8="⦬",I8="⦭",P8="⦮",F8="⦯",B8="∡",j8="∟",z8="⊾",q8="⦝",$8="∢",U8="Å",H8="⍼",V8="Ą",G8="ą",K8="𝔸",W8="𝕒",Z8="⩯",Y8="≈",Q8="⩰",J8="≊",X8="≋",e9="'",t9="⁡",n9="≈",s9="≊",o9="Å",r9="å",i9="𝒜",a9="𝒶",l9="≔",c9="*",u9="≈",d9="≍",f9="Ã",h9="ã",p9="Ä",g9="ä",m9="∳",_9="⨑",b9="≌",y9="϶",v9="‵",w9="∽",x9="⋍",k9="∖",E9="⫧",C9="⊽",A9="⌅",S9="⌆",T9="⌅",O9="⎵",M9="⎶",R9="≌",N9="Б",D9="б",L9="„",I9="∵",P9="∵",F9="∵",B9="⦰",j9="϶",z9="ℬ",q9="ℬ",$9="Β",U9="β",H9="ℶ",V9="≬",G9="𝔅",K9="𝔟",W9="⋂",Z9="◯",Y9="⋃",Q9="⨀",J9="⨁",X9="⨂",e6="⨆",t6="★",n6="▽",s6="△",o6="⨄",r6="⋁",i6="⋀",a6="⤍",l6="⧫",c6="▪",u6="▴",d6="▾",f6="◂",h6="▸",p6="␣",g6="▒",m6="░",_6="▓",b6="█",y6="=⃥",v6="≡⃥",w6="⫭",x6="⌐",k6="𝔹",E6="𝕓",C6="⊥",A6="⊥",S6="⋈",T6="⧉",O6="┐",M6="╕",R6="╖",N6="╗",D6="┌",L6="╒",I6="╓",P6="╔",F6="─",B6="═",j6="┬",z6="╤",q6="╥",$6="╦",U6="┴",H6="╧",V6="╨",G6="╩",K6="⊟",W6="⊞",Z6="⊠",Y6="┘",Q6="╛",J6="╜",X6="╝",eS="└",tS="╘",nS="╙",sS="╚",oS="│",rS="║",iS="┼",aS="╪",lS="╫",cS="╬",uS="┤",dS="╡",fS="╢",hS="╣",pS="├",gS="╞",mS="╟",_S="╠",bS="‵",yS="˘",vS="˘",wS="¦",xS="𝒷",kS="ℬ",ES="⁏",CS="∽",AS="⋍",SS="⧅",TS="\\",OS="⟈",MS="•",RS="•",NS="≎",DS="⪮",LS="≏",IS="≎",PS="≏",FS="Ć",BS="ć",jS="⩄",zS="⩉",qS="⩋",$S="∩",US="⋒",HS="⩇",VS="⩀",GS="ⅅ",KS="∩︀",WS="⁁",ZS="ˇ",YS="ℭ",QS="⩍",JS="Č",XS="č",eT="Ç",tT="ç",nT="Ĉ",sT="ĉ",oT="∰",rT="⩌",iT="⩐",aT="Ċ",lT="ċ",cT="¸",uT="¸",dT="⦲",fT="¢",hT="·",pT="·",gT="𝔠",mT="ℭ",_T="Ч",bT="ч",yT="✓",vT="✓",wT="Χ",xT="χ",kT="ˆ",ET="≗",CT="↺",AT="↻",ST="⊛",TT="⊚",OT="⊝",MT="⊙",RT="®",NT="Ⓢ",DT="⊖",LT="⊕",IT="⊗",PT="○",FT="⧃",BT="≗",jT="⨐",zT="⫯",qT="⧂",$T="∲",UT="”",HT="’",VT="♣",GT="♣",KT=":",WT="∷",ZT="⩴",YT="≔",QT="≔",JT=",",XT="@",eO="∁",tO="∘",nO="∁",sO="ℂ",oO="≅",rO="⩭",iO="≡",aO="∮",lO="∯",cO="∮",uO="𝕔",dO="ℂ",fO="∐",hO="∐",pO="©",gO="©",mO="℗",_O="∳",bO="↵",yO="✗",vO="⨯",wO="𝒞",xO="𝒸",kO="⫏",EO="⫑",CO="⫐",AO="⫒",SO="⋯",TO="⤸",OO="⤵",MO="⋞",RO="⋟",NO="↶",DO="⤽",LO="⩈",IO="⩆",PO="≍",FO="∪",BO="⋓",jO="⩊",zO="⊍",qO="⩅",$O="∪︀",UO="↷",HO="⤼",VO="⋞",GO="⋟",KO="⋎",WO="⋏",ZO="¤",YO="↶",QO="↷",JO="⋎",XO="⋏",eM="∲",tM="∱",nM="⌭",sM="†",oM="‡",rM="ℸ",iM="↓",aM="↡",lM="⇓",cM="‐",uM="⫤",dM="⊣",fM="⤏",hM="˝",pM="Ď",gM="ď",mM="Д",_M="д",bM="‡",yM="⇊",vM="ⅅ",wM="ⅆ",xM="⤑",kM="⩷",EM="°",CM="∇",AM="Δ",SM="δ",TM="⦱",OM="⥿",MM="𝔇",RM="𝔡",NM="⥥",DM="⇃",LM="⇂",IM="´",PM="˙",FM="˝",BM="`",jM="˜",zM="⋄",qM="⋄",$M="⋄",UM="♦",HM="♦",VM="¨",GM="ⅆ",KM="ϝ",WM="⋲",ZM="÷",YM="÷",QM="⋇",JM="⋇",XM="Ђ",e7="ђ",t7="⌞",n7="⌍",s7="$",o7="𝔻",r7="𝕕",i7="¨",a7="˙",l7="⃜",c7="≐",u7="≑",d7="≐",f7="∸",h7="∔",p7="⊡",g7="⌆",m7="∯",_7="¨",b7="⇓",y7="⇐",v7="⇔",w7="⫤",x7="⟸",k7="⟺",E7="⟹",C7="⇒",A7="⊨",S7="⇑",T7="⇕",O7="∥",M7="⤓",R7="↓",N7="↓",D7="⇓",L7="⇵",I7="̑",P7="⇊",F7="⇃",B7="⇂",j7="⥐",z7="⥞",q7="⥖",$7="↽",U7="⥟",H7="⥗",V7="⇁",G7="↧",K7="⊤",W7="⤐",Z7="⌟",Y7="⌌",Q7="𝒟",J7="𝒹",X7="Ѕ",eR="ѕ",tR="⧶",nR="Đ",sR="đ",oR="⋱",rR="▿",iR="▾",aR="⇵",lR="⥯",cR="⦦",uR="Џ",dR="џ",fR="⟿",hR="É",pR="é",gR="⩮",mR="Ě",_R="ě",bR="Ê",yR="ê",vR="≖",wR="≕",xR="Э",kR="э",ER="⩷",CR="Ė",AR="ė",SR="≑",TR="ⅇ",OR="≒",MR="𝔈",RR="𝔢",NR="⪚",DR="È",LR="è",IR="⪖",PR="⪘",FR="⪙",BR="∈",jR="⏧",zR="ℓ",qR="⪕",$R="⪗",UR="Ē",HR="ē",VR="∅",GR="∅",KR="◻",WR="∅",ZR="▫",YR=" ",QR=" ",JR=" ",XR="Ŋ",eN="ŋ",tN=" ",nN="Ę",sN="ę",oN="𝔼",rN="𝕖",iN="⋕",aN="⧣",lN="⩱",cN="ε",uN="Ε",dN="ε",fN="ϵ",hN="≖",pN="≕",gN="≂",mN="⪖",_N="⪕",bN="⩵",yN="=",vN="≂",wN="≟",xN="⇌",kN="≡",EN="⩸",CN="⧥",AN="⥱",SN="≓",TN="ℯ",ON="ℰ",MN="≐",RN="⩳",NN="≂",DN="Η",LN="η",IN="Ð",PN="ð",FN="Ë",BN="ë",jN="€",zN="!",qN="∃",$N="∃",UN="ℰ",HN="ⅇ",VN="ⅇ",GN="≒",KN="Ф",WN="ф",ZN="♀",YN="ffi",QN="ff",JN="ffl",XN="𝔉",eD="𝔣",tD="fi",nD="◼",sD="▪",oD="fj",rD="♭",iD="fl",aD="▱",lD="ƒ",cD="𝔽",uD="𝕗",dD="∀",fD="∀",hD="⋔",pD="⫙",gD="ℱ",mD="⨍",_D="½",bD="⅓",yD="¼",vD="⅕",wD="⅙",xD="⅛",kD="⅔",ED="⅖",CD="¾",AD="⅗",SD="⅜",TD="⅘",OD="⅚",MD="⅝",RD="⅞",ND="⁄",DD="⌢",LD="𝒻",ID="ℱ",PD="ǵ",FD="Γ",BD="γ",jD="Ϝ",zD="ϝ",qD="⪆",$D="Ğ",UD="ğ",HD="Ģ",VD="Ĝ",GD="ĝ",KD="Г",WD="г",ZD="Ġ",YD="ġ",QD="≥",JD="≧",XD="⪌",eL="⋛",tL="≥",nL="≧",sL="⩾",oL="⪩",rL="⩾",iL="⪀",aL="⪂",lL="⪄",cL="⋛︀",uL="⪔",dL="𝔊",fL="𝔤",hL="≫",pL="⋙",gL="⋙",mL="ℷ",_L="Ѓ",bL="ѓ",yL="⪥",vL="≷",wL="⪒",xL="⪤",kL="⪊",EL="⪊",CL="⪈",AL="≩",SL="⪈",TL="≩",OL="⋧",ML="𝔾",RL="𝕘",NL="`",DL="≥",LL="⋛",IL="≧",PL="⪢",FL="≷",BL="⩾",jL="≳",zL="𝒢",qL="ℊ",$L="≳",UL="⪎",HL="⪐",VL="⪧",GL="⩺",KL=">",WL=">",ZL="≫",YL="⋗",QL="⦕",JL="⩼",XL="⪆",eI="⥸",tI="⋗",nI="⋛",sI="⪌",oI="≷",rI="≳",iI="≩︀",aI="≩︀",lI="ˇ",cI=" ",uI="½",dI="ℋ",fI="Ъ",hI="ъ",pI="⥈",gI="↔",mI="⇔",_I="↭",bI="^",yI="ℏ",vI="Ĥ",wI="ĥ",xI="♥",kI="♥",EI="…",CI="⊹",AI="𝔥",SI="ℌ",TI="ℋ",OI="⤥",MI="⤦",RI="⇿",NI="∻",DI="↩",LI="↪",II="𝕙",PI="ℍ",FI="―",BI="─",jI="𝒽",zI="ℋ",qI="ℏ",$I="Ħ",UI="ħ",HI="≎",VI="≏",GI="⁃",KI="‐",WI="Í",ZI="í",YI="⁣",QI="Î",JI="î",XI="И",eP="и",tP="İ",nP="Е",sP="е",oP="¡",rP="⇔",iP="𝔦",aP="ℑ",lP="Ì",cP="ì",uP="ⅈ",dP="⨌",fP="∭",hP="⧜",pP="℩",gP="IJ",mP="ij",_P="Ī",bP="ī",yP="ℑ",vP="ⅈ",wP="ℐ",xP="ℑ",kP="ı",EP="ℑ",CP="⊷",AP="Ƶ",SP="⇒",TP="℅",OP="∞",MP="⧝",RP="ı",NP="⊺",DP="∫",LP="∬",IP="ℤ",PP="∫",FP="⊺",BP="⋂",jP="⨗",zP="⨼",qP="⁣",$P="⁢",UP="Ё",HP="ё",VP="Į",GP="į",KP="𝕀",WP="𝕚",ZP="Ι",YP="ι",QP="⨼",JP="¿",XP="𝒾",eF="ℐ",tF="∈",nF="⋵",sF="⋹",oF="⋴",rF="⋳",iF="∈",aF="⁢",lF="Ĩ",cF="ĩ",uF="І",dF="і",fF="Ï",hF="ï",pF="Ĵ",gF="ĵ",mF="Й",_F="й",bF="𝔍",yF="𝔧",vF="ȷ",wF="𝕁",xF="𝕛",kF="𝒥",EF="𝒿",CF="Ј",AF="ј",SF="Є",TF="є",OF="Κ",MF="κ",RF="ϰ",NF="Ķ",DF="ķ",LF="К",IF="к",PF="𝔎",FF="𝔨",BF="ĸ",jF="Х",zF="х",qF="Ќ",$F="ќ",UF="𝕂",HF="𝕜",VF="𝒦",GF="𝓀",KF="⇚",WF="Ĺ",ZF="ĺ",YF="⦴",QF="ℒ",JF="Λ",XF="λ",eB="⟨",tB="⟪",nB="⦑",sB="⟨",oB="⪅",rB="ℒ",iB="«",aB="⇤",lB="⤟",cB="←",uB="↞",dB="⇐",fB="⤝",hB="↩",pB="↫",gB="⤹",mB="⥳",_B="↢",bB="⤙",yB="⤛",vB="⪫",wB="⪭",xB="⪭︀",kB="⤌",EB="⤎",CB="❲",AB="{",SB="[",TB="⦋",OB="⦏",MB="⦍",RB="Ľ",NB="ľ",DB="Ļ",LB="ļ",IB="⌈",PB="{",FB="Л",BB="л",jB="⤶",zB="“",qB="„",$B="⥧",UB="⥋",HB="↲",VB="≤",GB="≦",KB="⟨",WB="⇤",ZB="←",YB="←",QB="⇐",JB="⇆",XB="↢",ej="⌈",tj="⟦",nj="⥡",sj="⥙",oj="⇃",rj="⌊",ij="↽",aj="↼",lj="⇇",cj="↔",uj="↔",dj="⇔",fj="⇆",hj="⇋",pj="↭",gj="⥎",mj="↤",_j="⊣",bj="⥚",yj="⋋",vj="⧏",wj="⊲",xj="⊴",kj="⥑",Ej="⥠",Cj="⥘",Aj="↿",Sj="⥒",Tj="↼",Oj="⪋",Mj="⋚",Rj="≤",Nj="≦",Dj="⩽",Lj="⪨",Ij="⩽",Pj="⩿",Fj="⪁",Bj="⪃",jj="⋚︀",zj="⪓",qj="⪅",$j="⋖",Uj="⋚",Hj="⪋",Vj="⋚",Gj="≦",Kj="≶",Wj="≶",Zj="⪡",Yj="≲",Qj="⩽",Jj="≲",Xj="⥼",ez="⌊",tz="𝔏",nz="𝔩",sz="≶",oz="⪑",rz="⥢",iz="↽",az="↼",lz="⥪",cz="▄",uz="Љ",dz="љ",fz="⇇",hz="≪",pz="⋘",gz="⌞",mz="⇚",_z="⥫",bz="◺",yz="Ŀ",vz="ŀ",wz="⎰",xz="⎰",kz="⪉",Ez="⪉",Cz="⪇",Az="≨",Sz="⪇",Tz="≨",Oz="⋦",Mz="⟬",Rz="⇽",Nz="⟦",Dz="⟵",Lz="⟵",Iz="⟸",Pz="⟷",Fz="⟷",Bz="⟺",jz="⟼",zz="⟶",qz="⟶",$z="⟹",Uz="↫",Hz="↬",Vz="⦅",Gz="𝕃",Kz="𝕝",Wz="⨭",Zz="⨴",Yz="∗",Qz="_",Jz="↙",Xz="↘",eq="◊",tq="◊",nq="⧫",sq="(",oq="⦓",rq="⇆",iq="⌟",aq="⇋",lq="⥭",cq="‎",uq="⊿",dq="‹",fq="𝓁",hq="ℒ",pq="↰",gq="↰",mq="≲",_q="⪍",bq="⪏",yq="[",vq="‘",wq="‚",xq="Ł",kq="ł",Eq="⪦",Cq="⩹",Aq="<",Sq="<",Tq="≪",Oq="⋖",Mq="⋋",Rq="⋉",Nq="⥶",Dq="⩻",Lq="◃",Iq="⊴",Pq="◂",Fq="⦖",Bq="⥊",jq="⥦",zq="≨︀",qq="≨︀",$q="¯",Uq="♂",Hq="✠",Vq="✠",Gq="↦",Kq="↦",Wq="↧",Zq="↤",Yq="↥",Qq="▮",Jq="⨩",Xq="М",e$="м",t$="—",n$="∺",s$="∡",o$=" ",r$="ℳ",i$="𝔐",a$="𝔪",l$="℧",c$="µ",u$="*",d$="⫰",f$="∣",h$="·",p$="⊟",g$="−",m$="∸",_$="⨪",b$="∓",y$="⫛",v$="…",w$="∓",x$="⊧",k$="𝕄",E$="𝕞",C$="∓",A$="𝓂",S$="ℳ",T$="∾",O$="Μ",M$="μ",R$="⊸",N$="⊸",D$="∇",L$="Ń",I$="ń",P$="∠⃒",F$="≉",B$="⩰̸",j$="≋̸",z$="ʼn",q$="≉",$$="♮",U$="ℕ",H$="♮",V$=" ",G$="≎̸",K$="≏̸",W$="⩃",Z$="Ň",Y$="ň",Q$="Ņ",J$="ņ",X$="≇",eU="⩭̸",tU="⩂",nU="Н",sU="н",oU="–",rU="⤤",iU="↗",aU="⇗",lU="↗",cU="≠",uU="≐̸",dU="​",fU="​",hU="​",pU="​",gU="≢",mU="⤨",_U="≂̸",bU="≫",yU="≪",vU=` +`,wU="∄",xU="∄",kU="𝔑",EU="𝔫",CU="≧̸",AU="≱",SU="≱",TU="≧̸",OU="⩾̸",MU="⩾̸",RU="⋙̸",NU="≵",DU="≫⃒",LU="≯",IU="≯",PU="≫̸",FU="↮",BU="⇎",jU="⫲",zU="∋",qU="⋼",$U="⋺",UU="∋",HU="Њ",VU="њ",GU="↚",KU="⇍",WU="‥",ZU="≦̸",YU="≰",QU="↚",JU="⇍",XU="↮",eH="⇎",tH="≰",nH="≦̸",sH="⩽̸",oH="⩽̸",rH="≮",iH="⋘̸",aH="≴",lH="≪⃒",cH="≮",uH="⋪",dH="⋬",fH="≪̸",hH="∤",pH="⁠",gH=" ",mH="𝕟",_H="ℕ",bH="⫬",yH="¬",vH="≢",wH="≭",xH="∦",kH="∉",EH="≠",CH="≂̸",AH="∄",SH="≯",TH="≱",OH="≧̸",MH="≫̸",RH="≹",NH="⩾̸",DH="≵",LH="≎̸",IH="≏̸",PH="∉",FH="⋵̸",BH="⋹̸",jH="∉",zH="⋷",qH="⋶",$H="⧏̸",UH="⋪",HH="⋬",VH="≮",GH="≰",KH="≸",WH="≪̸",ZH="⩽̸",YH="≴",QH="⪢̸",JH="⪡̸",XH="∌",eV="∌",tV="⋾",nV="⋽",sV="⊀",oV="⪯̸",rV="⋠",iV="∌",aV="⧐̸",lV="⋫",cV="⋭",uV="⊏̸",dV="⋢",fV="⊐̸",hV="⋣",pV="⊂⃒",gV="⊈",mV="⊁",_V="⪰̸",bV="⋡",yV="≿̸",vV="⊃⃒",wV="⊉",xV="≁",kV="≄",EV="≇",CV="≉",AV="∤",SV="∦",TV="∦",OV="⫽⃥",MV="∂̸",RV="⨔",NV="⊀",DV="⋠",LV="⊀",IV="⪯̸",PV="⪯̸",FV="⤳̸",BV="↛",jV="⇏",zV="↝̸",qV="↛",$V="⇏",UV="⋫",HV="⋭",VV="⊁",GV="⋡",KV="⪰̸",WV="𝒩",ZV="𝓃",YV="∤",QV="∦",JV="≁",XV="≄",eG="≄",tG="∤",nG="∦",sG="⋢",oG="⋣",rG="⊄",iG="⫅̸",aG="⊈",lG="⊂⃒",cG="⊈",uG="⫅̸",dG="⊁",fG="⪰̸",hG="⊅",pG="⫆̸",gG="⊉",mG="⊃⃒",_G="⊉",bG="⫆̸",yG="≹",vG="Ñ",wG="ñ",xG="≸",kG="⋪",EG="⋬",CG="⋫",AG="⋭",SG="Ν",TG="ν",OG="#",MG="№",RG=" ",NG="≍⃒",DG="⊬",LG="⊭",IG="⊮",PG="⊯",FG="≥⃒",BG=">⃒",jG="⤄",zG="⧞",qG="⤂",$G="≤⃒",UG="<⃒",HG="⊴⃒",VG="⤃",GG="⊵⃒",KG="∼⃒",WG="⤣",ZG="↖",YG="⇖",QG="↖",JG="⤧",XG="Ó",eK="ó",tK="⊛",nK="Ô",sK="ô",oK="⊚",rK="О",iK="о",aK="⊝",lK="Ő",cK="ő",uK="⨸",dK="⊙",fK="⦼",hK="Œ",pK="œ",gK="⦿",mK="𝔒",_K="𝔬",bK="˛",yK="Ò",vK="ò",wK="⧁",xK="⦵",kK="Ω",EK="∮",CK="↺",AK="⦾",SK="⦻",TK="‾",OK="⧀",MK="Ō",RK="ō",NK="Ω",DK="ω",LK="Ο",IK="ο",PK="⦶",FK="⊖",BK="𝕆",jK="𝕠",zK="⦷",qK="“",$K="‘",UK="⦹",HK="⊕",VK="↻",GK="⩔",KK="∨",WK="⩝",ZK="ℴ",YK="ℴ",QK="ª",JK="º",XK="⊶",eW="⩖",tW="⩗",nW="⩛",sW="Ⓢ",oW="𝒪",rW="ℴ",iW="Ø",aW="ø",lW="⊘",cW="Õ",uW="õ",dW="⨶",fW="⨷",hW="⊗",pW="Ö",gW="ö",mW="⌽",_W="‾",bW="⏞",yW="⎴",vW="⏜",wW="¶",xW="∥",kW="∥",EW="⫳",CW="⫽",AW="∂",SW="∂",TW="П",OW="п",MW="%",RW=".",NW="‰",DW="⊥",LW="‱",IW="𝔓",PW="𝔭",FW="Φ",BW="φ",jW="ϕ",zW="ℳ",qW="☎",$W="Π",UW="π",HW="⋔",VW="ϖ",GW="ℏ",KW="ℎ",WW="ℏ",ZW="⨣",YW="⊞",QW="⨢",JW="+",XW="∔",eZ="⨥",tZ="⩲",nZ="±",sZ="±",oZ="⨦",rZ="⨧",iZ="±",aZ="ℌ",lZ="⨕",cZ="𝕡",uZ="ℙ",dZ="£",fZ="⪷",hZ="⪻",pZ="≺",gZ="≼",mZ="⪷",_Z="≺",bZ="≼",yZ="≺",vZ="⪯",wZ="≼",xZ="≾",kZ="⪯",EZ="⪹",CZ="⪵",AZ="⋨",SZ="⪯",TZ="⪳",OZ="≾",MZ="′",RZ="″",NZ="ℙ",DZ="⪹",LZ="⪵",IZ="⋨",PZ="∏",FZ="∏",BZ="⌮",jZ="⌒",zZ="⌓",qZ="∝",$Z="∝",UZ="∷",HZ="∝",VZ="≾",GZ="⊰",KZ="𝒫",WZ="𝓅",ZZ="Ψ",YZ="ψ",QZ=" ",JZ="𝔔",XZ="𝔮",eY="⨌",tY="𝕢",nY="ℚ",sY="⁗",oY="𝒬",rY="𝓆",iY="ℍ",aY="⨖",lY="?",cY="≟",uY='"',dY='"',fY="⇛",hY="∽̱",pY="Ŕ",gY="ŕ",mY="√",_Y="⦳",bY="⟩",yY="⟫",vY="⦒",wY="⦥",xY="⟩",kY="»",EY="⥵",CY="⇥",AY="⤠",SY="⤳",TY="→",OY="↠",MY="⇒",RY="⤞",NY="↪",DY="↬",LY="⥅",IY="⥴",PY="⤖",FY="↣",BY="↝",jY="⤚",zY="⤜",qY="∶",$Y="ℚ",UY="⤍",HY="⤏",VY="⤐",GY="❳",KY="}",WY="]",ZY="⦌",YY="⦎",QY="⦐",JY="Ř",XY="ř",eQ="Ŗ",tQ="ŗ",nQ="⌉",sQ="}",oQ="Р",rQ="р",iQ="⤷",aQ="⥩",lQ="”",cQ="”",uQ="↳",dQ="ℜ",fQ="ℛ",hQ="ℜ",pQ="ℝ",gQ="ℜ",mQ="▭",_Q="®",bQ="®",yQ="∋",vQ="⇋",wQ="⥯",xQ="⥽",kQ="⌋",EQ="𝔯",CQ="ℜ",AQ="⥤",SQ="⇁",TQ="⇀",OQ="⥬",MQ="Ρ",RQ="ρ",NQ="ϱ",DQ="⟩",LQ="⇥",IQ="→",PQ="→",FQ="⇒",BQ="⇄",jQ="↣",zQ="⌉",qQ="⟧",$Q="⥝",UQ="⥕",HQ="⇂",VQ="⌋",GQ="⇁",KQ="⇀",WQ="⇄",ZQ="⇌",YQ="⇉",QQ="↝",JQ="↦",XQ="⊢",eJ="⥛",tJ="⋌",nJ="⧐",sJ="⊳",oJ="⊵",rJ="⥏",iJ="⥜",aJ="⥔",lJ="↾",cJ="⥓",uJ="⇀",dJ="˚",fJ="≓",hJ="⇄",pJ="⇌",gJ="‏",mJ="⎱",_J="⎱",bJ="⫮",yJ="⟭",vJ="⇾",wJ="⟧",xJ="⦆",kJ="𝕣",EJ="ℝ",CJ="⨮",AJ="⨵",SJ="⥰",TJ=")",OJ="⦔",MJ="⨒",RJ="⇉",NJ="⇛",DJ="›",LJ="𝓇",IJ="ℛ",PJ="↱",FJ="↱",BJ="]",jJ="’",zJ="’",qJ="⋌",$J="⋊",UJ="▹",HJ="⊵",VJ="▸",GJ="⧎",KJ="⧴",WJ="⥨",ZJ="℞",YJ="Ś",QJ="ś",JJ="‚",XJ="⪸",eX="Š",tX="š",nX="⪼",sX="≻",oX="≽",rX="⪰",iX="⪴",aX="Ş",lX="ş",cX="Ŝ",uX="ŝ",dX="⪺",fX="⪶",hX="⋩",pX="⨓",gX="≿",mX="С",_X="с",bX="⊡",yX="⋅",vX="⩦",wX="⤥",xX="↘",kX="⇘",EX="↘",CX="§",AX=";",SX="⤩",TX="∖",OX="∖",MX="✶",RX="𝔖",NX="𝔰",DX="⌢",LX="♯",IX="Щ",PX="щ",FX="Ш",BX="ш",jX="↓",zX="←",qX="∣",$X="∥",UX="→",HX="↑",VX="­",GX="Σ",KX="σ",WX="ς",ZX="ς",YX="∼",QX="⩪",JX="≃",XX="≃",eee="⪞",tee="⪠",nee="⪝",see="⪟",oee="≆",ree="⨤",iee="⥲",aee="←",lee="∘",cee="∖",uee="⨳",dee="⧤",fee="∣",hee="⌣",pee="⪪",gee="⪬",mee="⪬︀",_ee="Ь",bee="ь",yee="⌿",vee="⧄",wee="/",xee="𝕊",kee="𝕤",Eee="♠",Cee="♠",Aee="∥",See="⊓",Tee="⊓︀",Oee="⊔",Mee="⊔︀",Ree="√",Nee="⊏",Dee="⊑",Lee="⊏",Iee="⊑",Pee="⊐",Fee="⊒",Bee="⊐",jee="⊒",zee="□",qee="□",$ee="⊓",Uee="⊏",Hee="⊑",Vee="⊐",Gee="⊒",Kee="⊔",Wee="▪",Zee="□",Yee="▪",Qee="→",Jee="𝒮",Xee="𝓈",ete="∖",tte="⌣",nte="⋆",ste="⋆",ote="☆",rte="★",ite="ϵ",ate="ϕ",lte="¯",cte="⊂",ute="⋐",dte="⪽",fte="⫅",hte="⊆",pte="⫃",gte="⫁",mte="⫋",_te="⊊",bte="⪿",yte="⥹",vte="⊂",wte="⋐",xte="⊆",kte="⫅",Ete="⊆",Cte="⊊",Ate="⫋",Ste="⫇",Tte="⫕",Ote="⫓",Mte="⪸",Rte="≻",Nte="≽",Dte="≻",Lte="⪰",Ite="≽",Pte="≿",Fte="⪰",Bte="⪺",jte="⪶",zte="⋩",qte="≿",$te="∋",Ute="∑",Hte="∑",Vte="♪",Gte="¹",Kte="²",Wte="³",Zte="⊃",Yte="⋑",Qte="⪾",Jte="⫘",Xte="⫆",ene="⊇",tne="⫄",nne="⊃",sne="⊇",one="⟉",rne="⫗",ine="⥻",ane="⫂",lne="⫌",cne="⊋",une="⫀",dne="⊃",fne="⋑",hne="⊇",pne="⫆",gne="⊋",mne="⫌",_ne="⫈",bne="⫔",yne="⫖",vne="⤦",wne="↙",xne="⇙",kne="↙",Ene="⤪",Cne="ß",Ane=" ",Sne="⌖",Tne="Τ",One="τ",Mne="⎴",Rne="Ť",Nne="ť",Dne="Ţ",Lne="ţ",Ine="Т",Pne="т",Fne="⃛",Bne="⌕",jne="𝔗",zne="𝔱",qne="∴",$ne="∴",Une="∴",Hne="Θ",Vne="θ",Gne="ϑ",Kne="ϑ",Wne="≈",Zne="∼",Yne="  ",Qne=" ",Jne=" ",Xne="≈",ese="∼",tse="Þ",nse="þ",sse="˜",ose="∼",rse="≃",ise="≅",ase="≈",lse="⨱",cse="⊠",use="×",dse="⨰",fse="∭",hse="⤨",pse="⌶",gse="⫱",mse="⊤",_se="𝕋",bse="𝕥",yse="⫚",vse="⤩",wse="‴",xse="™",kse="™",Ese="▵",Cse="▿",Ase="◃",Sse="⊴",Tse="≜",Ose="▹",Mse="⊵",Rse="◬",Nse="≜",Dse="⨺",Lse="⃛",Ise="⨹",Pse="⧍",Fse="⨻",Bse="⏢",jse="𝒯",zse="𝓉",qse="Ц",$se="ц",Use="Ћ",Hse="ћ",Vse="Ŧ",Gse="ŧ",Kse="≬",Wse="↞",Zse="↠",Yse="Ú",Qse="ú",Jse="↑",Xse="↟",eoe="⇑",toe="⥉",noe="Ў",soe="ў",ooe="Ŭ",roe="ŭ",ioe="Û",aoe="û",loe="У",coe="у",uoe="⇅",doe="Ű",foe="ű",hoe="⥮",poe="⥾",goe="𝔘",moe="𝔲",_oe="Ù",boe="ù",yoe="⥣",voe="↿",woe="↾",xoe="▀",koe="⌜",Eoe="⌜",Coe="⌏",Aoe="◸",Soe="Ū",Toe="ū",Ooe="¨",Moe="_",Roe="⏟",Noe="⎵",Doe="⏝",Loe="⋃",Ioe="⊎",Poe="Ų",Foe="ų",Boe="𝕌",joe="𝕦",zoe="⤒",qoe="↑",$oe="↑",Uoe="⇑",Hoe="⇅",Voe="↕",Goe="↕",Koe="⇕",Woe="⥮",Zoe="↿",Yoe="↾",Qoe="⊎",Joe="↖",Xoe="↗",ere="υ",tre="ϒ",nre="ϒ",sre="Υ",ore="υ",rre="↥",ire="⊥",are="⇈",lre="⌝",cre="⌝",ure="⌎",dre="Ů",fre="ů",hre="◹",pre="𝒰",gre="𝓊",mre="⋰",_re="Ũ",bre="ũ",yre="▵",vre="▴",wre="⇈",xre="Ü",kre="ü",Ere="⦧",Cre="⦜",Are="ϵ",Sre="ϰ",Tre="∅",Ore="ϕ",Mre="ϖ",Rre="∝",Nre="↕",Dre="⇕",Lre="ϱ",Ire="ς",Pre="⊊︀",Fre="⫋︀",Bre="⊋︀",jre="⫌︀",zre="ϑ",qre="⊲",$re="⊳",Ure="⫨",Hre="⫫",Vre="⫩",Gre="В",Kre="в",Wre="⊢",Zre="⊨",Yre="⊩",Qre="⊫",Jre="⫦",Xre="⊻",eie="∨",tie="⋁",nie="≚",sie="⋮",oie="|",rie="‖",iie="|",aie="‖",lie="∣",cie="|",uie="❘",die="≀",fie=" ",hie="𝔙",pie="𝔳",gie="⊲",mie="⊂⃒",_ie="⊃⃒",bie="𝕍",yie="𝕧",vie="∝",wie="⊳",xie="𝒱",kie="𝓋",Eie="⫋︀",Cie="⊊︀",Aie="⫌︀",Sie="⊋︀",Tie="⊪",Oie="⦚",Mie="Ŵ",Rie="ŵ",Nie="⩟",Die="∧",Lie="⋀",Iie="≙",Pie="℘",Fie="𝔚",Bie="𝔴",jie="𝕎",zie="𝕨",qie="℘",$ie="≀",Uie="≀",Hie="𝒲",Vie="𝓌",Gie="⋂",Kie="◯",Wie="⋃",Zie="▽",Yie="𝔛",Qie="𝔵",Jie="⟷",Xie="⟺",eae="Ξ",tae="ξ",nae="⟵",sae="⟸",oae="⟼",rae="⋻",iae="⨀",aae="𝕏",lae="𝕩",cae="⨁",uae="⨂",dae="⟶",fae="⟹",hae="𝒳",pae="𝓍",gae="⨆",mae="⨄",_ae="△",bae="⋁",yae="⋀",vae="Ý",wae="ý",xae="Я",kae="я",Eae="Ŷ",Cae="ŷ",Aae="Ы",Sae="ы",Tae="¥",Oae="𝔜",Mae="𝔶",Rae="Ї",Nae="ї",Dae="𝕐",Lae="𝕪",Iae="𝒴",Pae="𝓎",Fae="Ю",Bae="ю",jae="ÿ",zae="Ÿ",qae="Ź",$ae="ź",Uae="Ž",Hae="ž",Vae="З",Gae="з",Kae="Ż",Wae="ż",Zae="ℨ",Yae="​",Qae="Ζ",Jae="ζ",Xae="𝔷",ele="ℨ",tle="Ж",nle="ж",sle="⇝",ole="𝕫",rle="ℤ",ile="𝒵",ale="𝓏",lle="‍",cle="‌",ule={Aacute:KA,aacute:WA,Abreve:ZA,abreve:YA,ac:QA,acd:JA,acE:XA,Acirc:e8,acirc:t8,acute:n8,Acy:s8,acy:o8,AElig:r8,aelig:i8,af:a8,Afr:l8,afr:c8,Agrave:u8,agrave:d8,alefsym:f8,aleph:h8,Alpha:p8,alpha:g8,Amacr:m8,amacr:_8,amalg:b8,amp:y8,AMP:v8,andand:w8,And:x8,and:k8,andd:E8,andslope:C8,andv:A8,ang:S8,ange:T8,angle:O8,angmsdaa:M8,angmsdab:R8,angmsdac:N8,angmsdad:D8,angmsdae:L8,angmsdaf:I8,angmsdag:P8,angmsdah:F8,angmsd:B8,angrt:j8,angrtvb:z8,angrtvbd:q8,angsph:$8,angst:U8,angzarr:H8,Aogon:V8,aogon:G8,Aopf:K8,aopf:W8,apacir:Z8,ap:Y8,apE:Q8,ape:J8,apid:X8,apos:e9,ApplyFunction:t9,approx:n9,approxeq:s9,Aring:o9,aring:r9,Ascr:i9,ascr:a9,Assign:l9,ast:c9,asymp:u9,asympeq:d9,Atilde:f9,atilde:h9,Auml:p9,auml:g9,awconint:m9,awint:_9,backcong:b9,backepsilon:y9,backprime:v9,backsim:w9,backsimeq:x9,Backslash:k9,Barv:E9,barvee:C9,barwed:A9,Barwed:S9,barwedge:T9,bbrk:O9,bbrktbrk:M9,bcong:R9,Bcy:N9,bcy:D9,bdquo:L9,becaus:I9,because:P9,Because:F9,bemptyv:B9,bepsi:j9,bernou:z9,Bernoullis:q9,Beta:$9,beta:U9,beth:H9,between:V9,Bfr:G9,bfr:K9,bigcap:W9,bigcirc:Z9,bigcup:Y9,bigodot:Q9,bigoplus:J9,bigotimes:X9,bigsqcup:e6,bigstar:t6,bigtriangledown:n6,bigtriangleup:s6,biguplus:o6,bigvee:r6,bigwedge:i6,bkarow:a6,blacklozenge:l6,blacksquare:c6,blacktriangle:u6,blacktriangledown:d6,blacktriangleleft:f6,blacktriangleright:h6,blank:p6,blk12:g6,blk14:m6,blk34:_6,block:b6,bne:y6,bnequiv:v6,bNot:w6,bnot:x6,Bopf:k6,bopf:E6,bot:C6,bottom:A6,bowtie:S6,boxbox:T6,boxdl:O6,boxdL:M6,boxDl:R6,boxDL:N6,boxdr:D6,boxdR:L6,boxDr:I6,boxDR:P6,boxh:F6,boxH:B6,boxhd:j6,boxHd:z6,boxhD:q6,boxHD:$6,boxhu:U6,boxHu:H6,boxhU:V6,boxHU:G6,boxminus:K6,boxplus:W6,boxtimes:Z6,boxul:Y6,boxuL:Q6,boxUl:J6,boxUL:X6,boxur:eS,boxuR:tS,boxUr:nS,boxUR:sS,boxv:oS,boxV:rS,boxvh:iS,boxvH:aS,boxVh:lS,boxVH:cS,boxvl:uS,boxvL:dS,boxVl:fS,boxVL:hS,boxvr:pS,boxvR:gS,boxVr:mS,boxVR:_S,bprime:bS,breve:yS,Breve:vS,brvbar:wS,bscr:xS,Bscr:kS,bsemi:ES,bsim:CS,bsime:AS,bsolb:SS,bsol:TS,bsolhsub:OS,bull:MS,bullet:RS,bump:NS,bumpE:DS,bumpe:LS,Bumpeq:IS,bumpeq:PS,Cacute:FS,cacute:BS,capand:jS,capbrcup:zS,capcap:qS,cap:$S,Cap:US,capcup:HS,capdot:VS,CapitalDifferentialD:GS,caps:KS,caret:WS,caron:ZS,Cayleys:YS,ccaps:QS,Ccaron:JS,ccaron:XS,Ccedil:eT,ccedil:tT,Ccirc:nT,ccirc:sT,Cconint:oT,ccups:rT,ccupssm:iT,Cdot:aT,cdot:lT,cedil:cT,Cedilla:uT,cemptyv:dT,cent:fT,centerdot:hT,CenterDot:pT,cfr:gT,Cfr:mT,CHcy:_T,chcy:bT,check:yT,checkmark:vT,Chi:wT,chi:xT,circ:kT,circeq:ET,circlearrowleft:CT,circlearrowright:AT,circledast:ST,circledcirc:TT,circleddash:OT,CircleDot:MT,circledR:RT,circledS:NT,CircleMinus:DT,CirclePlus:LT,CircleTimes:IT,cir:PT,cirE:FT,cire:BT,cirfnint:jT,cirmid:zT,cirscir:qT,ClockwiseContourIntegral:$T,CloseCurlyDoubleQuote:UT,CloseCurlyQuote:HT,clubs:VT,clubsuit:GT,colon:KT,Colon:WT,Colone:ZT,colone:YT,coloneq:QT,comma:JT,commat:XT,comp:eO,compfn:tO,complement:nO,complexes:sO,cong:oO,congdot:rO,Congruent:iO,conint:aO,Conint:lO,ContourIntegral:cO,copf:uO,Copf:dO,coprod:fO,Coproduct:hO,copy:pO,COPY:gO,copysr:mO,CounterClockwiseContourIntegral:_O,crarr:bO,cross:yO,Cross:vO,Cscr:wO,cscr:xO,csub:kO,csube:EO,csup:CO,csupe:AO,ctdot:SO,cudarrl:TO,cudarrr:OO,cuepr:MO,cuesc:RO,cularr:NO,cularrp:DO,cupbrcap:LO,cupcap:IO,CupCap:PO,cup:FO,Cup:BO,cupcup:jO,cupdot:zO,cupor:qO,cups:$O,curarr:UO,curarrm:HO,curlyeqprec:VO,curlyeqsucc:GO,curlyvee:KO,curlywedge:WO,curren:ZO,curvearrowleft:YO,curvearrowright:QO,cuvee:JO,cuwed:XO,cwconint:eM,cwint:tM,cylcty:nM,dagger:sM,Dagger:oM,daleth:rM,darr:iM,Darr:aM,dArr:lM,dash:cM,Dashv:uM,dashv:dM,dbkarow:fM,dblac:hM,Dcaron:pM,dcaron:gM,Dcy:mM,dcy:_M,ddagger:bM,ddarr:yM,DD:vM,dd:wM,DDotrahd:xM,ddotseq:kM,deg:EM,Del:CM,Delta:AM,delta:SM,demptyv:TM,dfisht:OM,Dfr:MM,dfr:RM,dHar:NM,dharl:DM,dharr:LM,DiacriticalAcute:IM,DiacriticalDot:PM,DiacriticalDoubleAcute:FM,DiacriticalGrave:BM,DiacriticalTilde:jM,diam:zM,diamond:qM,Diamond:$M,diamondsuit:UM,diams:HM,die:VM,DifferentialD:GM,digamma:KM,disin:WM,div:ZM,divide:YM,divideontimes:QM,divonx:JM,DJcy:XM,djcy:e7,dlcorn:t7,dlcrop:n7,dollar:s7,Dopf:o7,dopf:r7,Dot:i7,dot:a7,DotDot:l7,doteq:c7,doteqdot:u7,DotEqual:d7,dotminus:f7,dotplus:h7,dotsquare:p7,doublebarwedge:g7,DoubleContourIntegral:m7,DoubleDot:_7,DoubleDownArrow:b7,DoubleLeftArrow:y7,DoubleLeftRightArrow:v7,DoubleLeftTee:w7,DoubleLongLeftArrow:x7,DoubleLongLeftRightArrow:k7,DoubleLongRightArrow:E7,DoubleRightArrow:C7,DoubleRightTee:A7,DoubleUpArrow:S7,DoubleUpDownArrow:T7,DoubleVerticalBar:O7,DownArrowBar:M7,downarrow:R7,DownArrow:N7,Downarrow:D7,DownArrowUpArrow:L7,DownBreve:I7,downdownarrows:P7,downharpoonleft:F7,downharpoonright:B7,DownLeftRightVector:j7,DownLeftTeeVector:z7,DownLeftVectorBar:q7,DownLeftVector:$7,DownRightTeeVector:U7,DownRightVectorBar:H7,DownRightVector:V7,DownTeeArrow:G7,DownTee:K7,drbkarow:W7,drcorn:Z7,drcrop:Y7,Dscr:Q7,dscr:J7,DScy:X7,dscy:eR,dsol:tR,Dstrok:nR,dstrok:sR,dtdot:oR,dtri:rR,dtrif:iR,duarr:aR,duhar:lR,dwangle:cR,DZcy:uR,dzcy:dR,dzigrarr:fR,Eacute:hR,eacute:pR,easter:gR,Ecaron:mR,ecaron:_R,Ecirc:bR,ecirc:yR,ecir:vR,ecolon:wR,Ecy:xR,ecy:kR,eDDot:ER,Edot:CR,edot:AR,eDot:SR,ee:TR,efDot:OR,Efr:MR,efr:RR,eg:NR,Egrave:DR,egrave:LR,egs:IR,egsdot:PR,el:FR,Element:BR,elinters:jR,ell:zR,els:qR,elsdot:$R,Emacr:UR,emacr:HR,empty:VR,emptyset:GR,EmptySmallSquare:KR,emptyv:WR,EmptyVerySmallSquare:ZR,emsp13:YR,emsp14:QR,emsp:JR,ENG:XR,eng:eN,ensp:tN,Eogon:nN,eogon:sN,Eopf:oN,eopf:rN,epar:iN,eparsl:aN,eplus:lN,epsi:cN,Epsilon:uN,epsilon:dN,epsiv:fN,eqcirc:hN,eqcolon:pN,eqsim:gN,eqslantgtr:mN,eqslantless:_N,Equal:bN,equals:yN,EqualTilde:vN,equest:wN,Equilibrium:xN,equiv:kN,equivDD:EN,eqvparsl:CN,erarr:AN,erDot:SN,escr:TN,Escr:ON,esdot:MN,Esim:RN,esim:NN,Eta:DN,eta:LN,ETH:IN,eth:PN,Euml:FN,euml:BN,euro:jN,excl:zN,exist:qN,Exists:$N,expectation:UN,exponentiale:HN,ExponentialE:VN,fallingdotseq:GN,Fcy:KN,fcy:WN,female:ZN,ffilig:YN,fflig:QN,ffllig:JN,Ffr:XN,ffr:eD,filig:tD,FilledSmallSquare:nD,FilledVerySmallSquare:sD,fjlig:oD,flat:rD,fllig:iD,fltns:aD,fnof:lD,Fopf:cD,fopf:uD,forall:dD,ForAll:fD,fork:hD,forkv:pD,Fouriertrf:gD,fpartint:mD,frac12:_D,frac13:bD,frac14:yD,frac15:vD,frac16:wD,frac18:xD,frac23:kD,frac25:ED,frac34:CD,frac35:AD,frac38:SD,frac45:TD,frac56:OD,frac58:MD,frac78:RD,frasl:ND,frown:DD,fscr:LD,Fscr:ID,gacute:PD,Gamma:FD,gamma:BD,Gammad:jD,gammad:zD,gap:qD,Gbreve:$D,gbreve:UD,Gcedil:HD,Gcirc:VD,gcirc:GD,Gcy:KD,gcy:WD,Gdot:ZD,gdot:YD,ge:QD,gE:JD,gEl:XD,gel:eL,geq:tL,geqq:nL,geqslant:sL,gescc:oL,ges:rL,gesdot:iL,gesdoto:aL,gesdotol:lL,gesl:cL,gesles:uL,Gfr:dL,gfr:fL,gg:hL,Gg:pL,ggg:gL,gimel:mL,GJcy:_L,gjcy:bL,gla:yL,gl:vL,glE:wL,glj:xL,gnap:kL,gnapprox:EL,gne:CL,gnE:AL,gneq:SL,gneqq:TL,gnsim:OL,Gopf:ML,gopf:RL,grave:NL,GreaterEqual:DL,GreaterEqualLess:LL,GreaterFullEqual:IL,GreaterGreater:PL,GreaterLess:FL,GreaterSlantEqual:BL,GreaterTilde:jL,Gscr:zL,gscr:qL,gsim:$L,gsime:UL,gsiml:HL,gtcc:VL,gtcir:GL,gt:KL,GT:WL,Gt:ZL,gtdot:YL,gtlPar:QL,gtquest:JL,gtrapprox:XL,gtrarr:eI,gtrdot:tI,gtreqless:nI,gtreqqless:sI,gtrless:oI,gtrsim:rI,gvertneqq:iI,gvnE:aI,Hacek:lI,hairsp:cI,half:uI,hamilt:dI,HARDcy:fI,hardcy:hI,harrcir:pI,harr:gI,hArr:mI,harrw:_I,Hat:bI,hbar:yI,Hcirc:vI,hcirc:wI,hearts:xI,heartsuit:kI,hellip:EI,hercon:CI,hfr:AI,Hfr:SI,HilbertSpace:TI,hksearow:OI,hkswarow:MI,hoarr:RI,homtht:NI,hookleftarrow:DI,hookrightarrow:LI,hopf:II,Hopf:PI,horbar:FI,HorizontalLine:BI,hscr:jI,Hscr:zI,hslash:qI,Hstrok:$I,hstrok:UI,HumpDownHump:HI,HumpEqual:VI,hybull:GI,hyphen:KI,Iacute:WI,iacute:ZI,ic:YI,Icirc:QI,icirc:JI,Icy:XI,icy:eP,Idot:tP,IEcy:nP,iecy:sP,iexcl:oP,iff:rP,ifr:iP,Ifr:aP,Igrave:lP,igrave:cP,ii:uP,iiiint:dP,iiint:fP,iinfin:hP,iiota:pP,IJlig:gP,ijlig:mP,Imacr:_P,imacr:bP,image:yP,ImaginaryI:vP,imagline:wP,imagpart:xP,imath:kP,Im:EP,imof:CP,imped:AP,Implies:SP,incare:TP,in:"∈",infin:OP,infintie:MP,inodot:RP,intcal:NP,int:DP,Int:LP,integers:IP,Integral:PP,intercal:FP,Intersection:BP,intlarhk:jP,intprod:zP,InvisibleComma:qP,InvisibleTimes:$P,IOcy:UP,iocy:HP,Iogon:VP,iogon:GP,Iopf:KP,iopf:WP,Iota:ZP,iota:YP,iprod:QP,iquest:JP,iscr:XP,Iscr:eF,isin:tF,isindot:nF,isinE:sF,isins:oF,isinsv:rF,isinv:iF,it:aF,Itilde:lF,itilde:cF,Iukcy:uF,iukcy:dF,Iuml:fF,iuml:hF,Jcirc:pF,jcirc:gF,Jcy:mF,jcy:_F,Jfr:bF,jfr:yF,jmath:vF,Jopf:wF,jopf:xF,Jscr:kF,jscr:EF,Jsercy:CF,jsercy:AF,Jukcy:SF,jukcy:TF,Kappa:OF,kappa:MF,kappav:RF,Kcedil:NF,kcedil:DF,Kcy:LF,kcy:IF,Kfr:PF,kfr:FF,kgreen:BF,KHcy:jF,khcy:zF,KJcy:qF,kjcy:$F,Kopf:UF,kopf:HF,Kscr:VF,kscr:GF,lAarr:KF,Lacute:WF,lacute:ZF,laemptyv:YF,lagran:QF,Lambda:JF,lambda:XF,lang:eB,Lang:tB,langd:nB,langle:sB,lap:oB,Laplacetrf:rB,laquo:iB,larrb:aB,larrbfs:lB,larr:cB,Larr:uB,lArr:dB,larrfs:fB,larrhk:hB,larrlp:pB,larrpl:gB,larrsim:mB,larrtl:_B,latail:bB,lAtail:yB,lat:vB,late:wB,lates:xB,lbarr:kB,lBarr:EB,lbbrk:CB,lbrace:AB,lbrack:SB,lbrke:TB,lbrksld:OB,lbrkslu:MB,Lcaron:RB,lcaron:NB,Lcedil:DB,lcedil:LB,lceil:IB,lcub:PB,Lcy:FB,lcy:BB,ldca:jB,ldquo:zB,ldquor:qB,ldrdhar:$B,ldrushar:UB,ldsh:HB,le:VB,lE:GB,LeftAngleBracket:KB,LeftArrowBar:WB,leftarrow:ZB,LeftArrow:YB,Leftarrow:QB,LeftArrowRightArrow:JB,leftarrowtail:XB,LeftCeiling:ej,LeftDoubleBracket:tj,LeftDownTeeVector:nj,LeftDownVectorBar:sj,LeftDownVector:oj,LeftFloor:rj,leftharpoondown:ij,leftharpoonup:aj,leftleftarrows:lj,leftrightarrow:cj,LeftRightArrow:uj,Leftrightarrow:dj,leftrightarrows:fj,leftrightharpoons:hj,leftrightsquigarrow:pj,LeftRightVector:gj,LeftTeeArrow:mj,LeftTee:_j,LeftTeeVector:bj,leftthreetimes:yj,LeftTriangleBar:vj,LeftTriangle:wj,LeftTriangleEqual:xj,LeftUpDownVector:kj,LeftUpTeeVector:Ej,LeftUpVectorBar:Cj,LeftUpVector:Aj,LeftVectorBar:Sj,LeftVector:Tj,lEg:Oj,leg:Mj,leq:Rj,leqq:Nj,leqslant:Dj,lescc:Lj,les:Ij,lesdot:Pj,lesdoto:Fj,lesdotor:Bj,lesg:jj,lesges:zj,lessapprox:qj,lessdot:$j,lesseqgtr:Uj,lesseqqgtr:Hj,LessEqualGreater:Vj,LessFullEqual:Gj,LessGreater:Kj,lessgtr:Wj,LessLess:Zj,lesssim:Yj,LessSlantEqual:Qj,LessTilde:Jj,lfisht:Xj,lfloor:ez,Lfr:tz,lfr:nz,lg:sz,lgE:oz,lHar:rz,lhard:iz,lharu:az,lharul:lz,lhblk:cz,LJcy:uz,ljcy:dz,llarr:fz,ll:hz,Ll:pz,llcorner:gz,Lleftarrow:mz,llhard:_z,lltri:bz,Lmidot:yz,lmidot:vz,lmoustache:wz,lmoust:xz,lnap:kz,lnapprox:Ez,lne:Cz,lnE:Az,lneq:Sz,lneqq:Tz,lnsim:Oz,loang:Mz,loarr:Rz,lobrk:Nz,longleftarrow:Dz,LongLeftArrow:Lz,Longleftarrow:Iz,longleftrightarrow:Pz,LongLeftRightArrow:Fz,Longleftrightarrow:Bz,longmapsto:jz,longrightarrow:zz,LongRightArrow:qz,Longrightarrow:$z,looparrowleft:Uz,looparrowright:Hz,lopar:Vz,Lopf:Gz,lopf:Kz,loplus:Wz,lotimes:Zz,lowast:Yz,lowbar:Qz,LowerLeftArrow:Jz,LowerRightArrow:Xz,loz:eq,lozenge:tq,lozf:nq,lpar:sq,lparlt:oq,lrarr:rq,lrcorner:iq,lrhar:aq,lrhard:lq,lrm:cq,lrtri:uq,lsaquo:dq,lscr:fq,Lscr:hq,lsh:pq,Lsh:gq,lsim:mq,lsime:_q,lsimg:bq,lsqb:yq,lsquo:vq,lsquor:wq,Lstrok:xq,lstrok:kq,ltcc:Eq,ltcir:Cq,lt:Aq,LT:Sq,Lt:Tq,ltdot:Oq,lthree:Mq,ltimes:Rq,ltlarr:Nq,ltquest:Dq,ltri:Lq,ltrie:Iq,ltrif:Pq,ltrPar:Fq,lurdshar:Bq,luruhar:jq,lvertneqq:zq,lvnE:qq,macr:$q,male:Uq,malt:Hq,maltese:Vq,Map:"⤅",map:Gq,mapsto:Kq,mapstodown:Wq,mapstoleft:Zq,mapstoup:Yq,marker:Qq,mcomma:Jq,Mcy:Xq,mcy:e$,mdash:t$,mDDot:n$,measuredangle:s$,MediumSpace:o$,Mellintrf:r$,Mfr:i$,mfr:a$,mho:l$,micro:c$,midast:u$,midcir:d$,mid:f$,middot:h$,minusb:p$,minus:g$,minusd:m$,minusdu:_$,MinusPlus:b$,mlcp:y$,mldr:v$,mnplus:w$,models:x$,Mopf:k$,mopf:E$,mp:C$,mscr:A$,Mscr:S$,mstpos:T$,Mu:O$,mu:M$,multimap:R$,mumap:N$,nabla:D$,Nacute:L$,nacute:I$,nang:P$,nap:F$,napE:B$,napid:j$,napos:z$,napprox:q$,natural:$$,naturals:U$,natur:H$,nbsp:V$,nbump:G$,nbumpe:K$,ncap:W$,Ncaron:Z$,ncaron:Y$,Ncedil:Q$,ncedil:J$,ncong:X$,ncongdot:eU,ncup:tU,Ncy:nU,ncy:sU,ndash:oU,nearhk:rU,nearr:iU,neArr:aU,nearrow:lU,ne:cU,nedot:uU,NegativeMediumSpace:dU,NegativeThickSpace:fU,NegativeThinSpace:hU,NegativeVeryThinSpace:pU,nequiv:gU,nesear:mU,nesim:_U,NestedGreaterGreater:bU,NestedLessLess:yU,NewLine:vU,nexist:wU,nexists:xU,Nfr:kU,nfr:EU,ngE:CU,nge:AU,ngeq:SU,ngeqq:TU,ngeqslant:OU,nges:MU,nGg:RU,ngsim:NU,nGt:DU,ngt:LU,ngtr:IU,nGtv:PU,nharr:FU,nhArr:BU,nhpar:jU,ni:zU,nis:qU,nisd:$U,niv:UU,NJcy:HU,njcy:VU,nlarr:GU,nlArr:KU,nldr:WU,nlE:ZU,nle:YU,nleftarrow:QU,nLeftarrow:JU,nleftrightarrow:XU,nLeftrightarrow:eH,nleq:tH,nleqq:nH,nleqslant:sH,nles:oH,nless:rH,nLl:iH,nlsim:aH,nLt:lH,nlt:cH,nltri:uH,nltrie:dH,nLtv:fH,nmid:hH,NoBreak:pH,NonBreakingSpace:gH,nopf:mH,Nopf:_H,Not:bH,not:yH,NotCongruent:vH,NotCupCap:wH,NotDoubleVerticalBar:xH,NotElement:kH,NotEqual:EH,NotEqualTilde:CH,NotExists:AH,NotGreater:SH,NotGreaterEqual:TH,NotGreaterFullEqual:OH,NotGreaterGreater:MH,NotGreaterLess:RH,NotGreaterSlantEqual:NH,NotGreaterTilde:DH,NotHumpDownHump:LH,NotHumpEqual:IH,notin:PH,notindot:FH,notinE:BH,notinva:jH,notinvb:zH,notinvc:qH,NotLeftTriangleBar:$H,NotLeftTriangle:UH,NotLeftTriangleEqual:HH,NotLess:VH,NotLessEqual:GH,NotLessGreater:KH,NotLessLess:WH,NotLessSlantEqual:ZH,NotLessTilde:YH,NotNestedGreaterGreater:QH,NotNestedLessLess:JH,notni:XH,notniva:eV,notnivb:tV,notnivc:nV,NotPrecedes:sV,NotPrecedesEqual:oV,NotPrecedesSlantEqual:rV,NotReverseElement:iV,NotRightTriangleBar:aV,NotRightTriangle:lV,NotRightTriangleEqual:cV,NotSquareSubset:uV,NotSquareSubsetEqual:dV,NotSquareSuperset:fV,NotSquareSupersetEqual:hV,NotSubset:pV,NotSubsetEqual:gV,NotSucceeds:mV,NotSucceedsEqual:_V,NotSucceedsSlantEqual:bV,NotSucceedsTilde:yV,NotSuperset:vV,NotSupersetEqual:wV,NotTilde:xV,NotTildeEqual:kV,NotTildeFullEqual:EV,NotTildeTilde:CV,NotVerticalBar:AV,nparallel:SV,npar:TV,nparsl:OV,npart:MV,npolint:RV,npr:NV,nprcue:DV,nprec:LV,npreceq:IV,npre:PV,nrarrc:FV,nrarr:BV,nrArr:jV,nrarrw:zV,nrightarrow:qV,nRightarrow:$V,nrtri:UV,nrtrie:HV,nsc:VV,nsccue:GV,nsce:KV,Nscr:WV,nscr:ZV,nshortmid:YV,nshortparallel:QV,nsim:JV,nsime:XV,nsimeq:eG,nsmid:tG,nspar:nG,nsqsube:sG,nsqsupe:oG,nsub:rG,nsubE:iG,nsube:aG,nsubset:lG,nsubseteq:cG,nsubseteqq:uG,nsucc:dG,nsucceq:fG,nsup:hG,nsupE:pG,nsupe:gG,nsupset:mG,nsupseteq:_G,nsupseteqq:bG,ntgl:yG,Ntilde:vG,ntilde:wG,ntlg:xG,ntriangleleft:kG,ntrianglelefteq:EG,ntriangleright:CG,ntrianglerighteq:AG,Nu:SG,nu:TG,num:OG,numero:MG,numsp:RG,nvap:NG,nvdash:DG,nvDash:LG,nVdash:IG,nVDash:PG,nvge:FG,nvgt:BG,nvHarr:jG,nvinfin:zG,nvlArr:qG,nvle:$G,nvlt:UG,nvltrie:HG,nvrArr:VG,nvrtrie:GG,nvsim:KG,nwarhk:WG,nwarr:ZG,nwArr:YG,nwarrow:QG,nwnear:JG,Oacute:XG,oacute:eK,oast:tK,Ocirc:nK,ocirc:sK,ocir:oK,Ocy:rK,ocy:iK,odash:aK,Odblac:lK,odblac:cK,odiv:uK,odot:dK,odsold:fK,OElig:hK,oelig:pK,ofcir:gK,Ofr:mK,ofr:_K,ogon:bK,Ograve:yK,ograve:vK,ogt:wK,ohbar:xK,ohm:kK,oint:EK,olarr:CK,olcir:AK,olcross:SK,oline:TK,olt:OK,Omacr:MK,omacr:RK,Omega:NK,omega:DK,Omicron:LK,omicron:IK,omid:PK,ominus:FK,Oopf:BK,oopf:jK,opar:zK,OpenCurlyDoubleQuote:qK,OpenCurlyQuote:$K,operp:UK,oplus:HK,orarr:VK,Or:GK,or:KK,ord:WK,order:ZK,orderof:YK,ordf:QK,ordm:JK,origof:XK,oror:eW,orslope:tW,orv:nW,oS:sW,Oscr:oW,oscr:rW,Oslash:iW,oslash:aW,osol:lW,Otilde:cW,otilde:uW,otimesas:dW,Otimes:fW,otimes:hW,Ouml:pW,ouml:gW,ovbar:mW,OverBar:_W,OverBrace:bW,OverBracket:yW,OverParenthesis:vW,para:wW,parallel:xW,par:kW,parsim:EW,parsl:CW,part:AW,PartialD:SW,Pcy:TW,pcy:OW,percnt:MW,period:RW,permil:NW,perp:DW,pertenk:LW,Pfr:IW,pfr:PW,Phi:FW,phi:BW,phiv:jW,phmmat:zW,phone:qW,Pi:$W,pi:UW,pitchfork:HW,piv:VW,planck:GW,planckh:KW,plankv:WW,plusacir:ZW,plusb:YW,pluscir:QW,plus:JW,plusdo:XW,plusdu:eZ,pluse:tZ,PlusMinus:nZ,plusmn:sZ,plussim:oZ,plustwo:rZ,pm:iZ,Poincareplane:aZ,pointint:lZ,popf:cZ,Popf:uZ,pound:dZ,prap:fZ,Pr:hZ,pr:pZ,prcue:gZ,precapprox:mZ,prec:_Z,preccurlyeq:bZ,Precedes:yZ,PrecedesEqual:vZ,PrecedesSlantEqual:wZ,PrecedesTilde:xZ,preceq:kZ,precnapprox:EZ,precneqq:CZ,precnsim:AZ,pre:SZ,prE:TZ,precsim:OZ,prime:MZ,Prime:RZ,primes:NZ,prnap:DZ,prnE:LZ,prnsim:IZ,prod:PZ,Product:FZ,profalar:BZ,profline:jZ,profsurf:zZ,prop:qZ,Proportional:$Z,Proportion:UZ,propto:HZ,prsim:VZ,prurel:GZ,Pscr:KZ,pscr:WZ,Psi:ZZ,psi:YZ,puncsp:QZ,Qfr:JZ,qfr:XZ,qint:eY,qopf:tY,Qopf:nY,qprime:sY,Qscr:oY,qscr:rY,quaternions:iY,quatint:aY,quest:lY,questeq:cY,quot:uY,QUOT:dY,rAarr:fY,race:hY,Racute:pY,racute:gY,radic:mY,raemptyv:_Y,rang:bY,Rang:yY,rangd:vY,range:wY,rangle:xY,raquo:kY,rarrap:EY,rarrb:CY,rarrbfs:AY,rarrc:SY,rarr:TY,Rarr:OY,rArr:MY,rarrfs:RY,rarrhk:NY,rarrlp:DY,rarrpl:LY,rarrsim:IY,Rarrtl:PY,rarrtl:FY,rarrw:BY,ratail:jY,rAtail:zY,ratio:qY,rationals:$Y,rbarr:UY,rBarr:HY,RBarr:VY,rbbrk:GY,rbrace:KY,rbrack:WY,rbrke:ZY,rbrksld:YY,rbrkslu:QY,Rcaron:JY,rcaron:XY,Rcedil:eQ,rcedil:tQ,rceil:nQ,rcub:sQ,Rcy:oQ,rcy:rQ,rdca:iQ,rdldhar:aQ,rdquo:lQ,rdquor:cQ,rdsh:uQ,real:dQ,realine:fQ,realpart:hQ,reals:pQ,Re:gQ,rect:mQ,reg:_Q,REG:bQ,ReverseElement:yQ,ReverseEquilibrium:vQ,ReverseUpEquilibrium:wQ,rfisht:xQ,rfloor:kQ,rfr:EQ,Rfr:CQ,rHar:AQ,rhard:SQ,rharu:TQ,rharul:OQ,Rho:MQ,rho:RQ,rhov:NQ,RightAngleBracket:DQ,RightArrowBar:LQ,rightarrow:IQ,RightArrow:PQ,Rightarrow:FQ,RightArrowLeftArrow:BQ,rightarrowtail:jQ,RightCeiling:zQ,RightDoubleBracket:qQ,RightDownTeeVector:$Q,RightDownVectorBar:UQ,RightDownVector:HQ,RightFloor:VQ,rightharpoondown:GQ,rightharpoonup:KQ,rightleftarrows:WQ,rightleftharpoons:ZQ,rightrightarrows:YQ,rightsquigarrow:QQ,RightTeeArrow:JQ,RightTee:XQ,RightTeeVector:eJ,rightthreetimes:tJ,RightTriangleBar:nJ,RightTriangle:sJ,RightTriangleEqual:oJ,RightUpDownVector:rJ,RightUpTeeVector:iJ,RightUpVectorBar:aJ,RightUpVector:lJ,RightVectorBar:cJ,RightVector:uJ,ring:dJ,risingdotseq:fJ,rlarr:hJ,rlhar:pJ,rlm:gJ,rmoustache:mJ,rmoust:_J,rnmid:bJ,roang:yJ,roarr:vJ,robrk:wJ,ropar:xJ,ropf:kJ,Ropf:EJ,roplus:CJ,rotimes:AJ,RoundImplies:SJ,rpar:TJ,rpargt:OJ,rppolint:MJ,rrarr:RJ,Rrightarrow:NJ,rsaquo:DJ,rscr:LJ,Rscr:IJ,rsh:PJ,Rsh:FJ,rsqb:BJ,rsquo:jJ,rsquor:zJ,rthree:qJ,rtimes:$J,rtri:UJ,rtrie:HJ,rtrif:VJ,rtriltri:GJ,RuleDelayed:KJ,ruluhar:WJ,rx:ZJ,Sacute:YJ,sacute:QJ,sbquo:JJ,scap:XJ,Scaron:eX,scaron:tX,Sc:nX,sc:sX,sccue:oX,sce:rX,scE:iX,Scedil:aX,scedil:lX,Scirc:cX,scirc:uX,scnap:dX,scnE:fX,scnsim:hX,scpolint:pX,scsim:gX,Scy:mX,scy:_X,sdotb:bX,sdot:yX,sdote:vX,searhk:wX,searr:xX,seArr:kX,searrow:EX,sect:CX,semi:AX,seswar:SX,setminus:TX,setmn:OX,sext:MX,Sfr:RX,sfr:NX,sfrown:DX,sharp:LX,SHCHcy:IX,shchcy:PX,SHcy:FX,shcy:BX,ShortDownArrow:jX,ShortLeftArrow:zX,shortmid:qX,shortparallel:$X,ShortRightArrow:UX,ShortUpArrow:HX,shy:VX,Sigma:GX,sigma:KX,sigmaf:WX,sigmav:ZX,sim:YX,simdot:QX,sime:JX,simeq:XX,simg:eee,simgE:tee,siml:nee,simlE:see,simne:oee,simplus:ree,simrarr:iee,slarr:aee,SmallCircle:lee,smallsetminus:cee,smashp:uee,smeparsl:dee,smid:fee,smile:hee,smt:pee,smte:gee,smtes:mee,SOFTcy:_ee,softcy:bee,solbar:yee,solb:vee,sol:wee,Sopf:xee,sopf:kee,spades:Eee,spadesuit:Cee,spar:Aee,sqcap:See,sqcaps:Tee,sqcup:Oee,sqcups:Mee,Sqrt:Ree,sqsub:Nee,sqsube:Dee,sqsubset:Lee,sqsubseteq:Iee,sqsup:Pee,sqsupe:Fee,sqsupset:Bee,sqsupseteq:jee,square:zee,Square:qee,SquareIntersection:$ee,SquareSubset:Uee,SquareSubsetEqual:Hee,SquareSuperset:Vee,SquareSupersetEqual:Gee,SquareUnion:Kee,squarf:Wee,squ:Zee,squf:Yee,srarr:Qee,Sscr:Jee,sscr:Xee,ssetmn:ete,ssmile:tte,sstarf:nte,Star:ste,star:ote,starf:rte,straightepsilon:ite,straightphi:ate,strns:lte,sub:cte,Sub:ute,subdot:dte,subE:fte,sube:hte,subedot:pte,submult:gte,subnE:mte,subne:_te,subplus:bte,subrarr:yte,subset:vte,Subset:wte,subseteq:xte,subseteqq:kte,SubsetEqual:Ete,subsetneq:Cte,subsetneqq:Ate,subsim:Ste,subsub:Tte,subsup:Ote,succapprox:Mte,succ:Rte,succcurlyeq:Nte,Succeeds:Dte,SucceedsEqual:Lte,SucceedsSlantEqual:Ite,SucceedsTilde:Pte,succeq:Fte,succnapprox:Bte,succneqq:jte,succnsim:zte,succsim:qte,SuchThat:$te,sum:Ute,Sum:Hte,sung:Vte,sup1:Gte,sup2:Kte,sup3:Wte,sup:Zte,Sup:Yte,supdot:Qte,supdsub:Jte,supE:Xte,supe:ene,supedot:tne,Superset:nne,SupersetEqual:sne,suphsol:one,suphsub:rne,suplarr:ine,supmult:ane,supnE:lne,supne:cne,supplus:une,supset:dne,Supset:fne,supseteq:hne,supseteqq:pne,supsetneq:gne,supsetneqq:mne,supsim:_ne,supsub:bne,supsup:yne,swarhk:vne,swarr:wne,swArr:xne,swarrow:kne,swnwar:Ene,szlig:Cne,Tab:Ane,target:Sne,Tau:Tne,tau:One,tbrk:Mne,Tcaron:Rne,tcaron:Nne,Tcedil:Dne,tcedil:Lne,Tcy:Ine,tcy:Pne,tdot:Fne,telrec:Bne,Tfr:jne,tfr:zne,there4:qne,therefore:$ne,Therefore:Une,Theta:Hne,theta:Vne,thetasym:Gne,thetav:Kne,thickapprox:Wne,thicksim:Zne,ThickSpace:Yne,ThinSpace:Qne,thinsp:Jne,thkap:Xne,thksim:ese,THORN:tse,thorn:nse,tilde:sse,Tilde:ose,TildeEqual:rse,TildeFullEqual:ise,TildeTilde:ase,timesbar:lse,timesb:cse,times:use,timesd:dse,tint:fse,toea:hse,topbot:pse,topcir:gse,top:mse,Topf:_se,topf:bse,topfork:yse,tosa:vse,tprime:wse,trade:xse,TRADE:kse,triangle:Ese,triangledown:Cse,triangleleft:Ase,trianglelefteq:Sse,triangleq:Tse,triangleright:Ose,trianglerighteq:Mse,tridot:Rse,trie:Nse,triminus:Dse,TripleDot:Lse,triplus:Ise,trisb:Pse,tritime:Fse,trpezium:Bse,Tscr:jse,tscr:zse,TScy:qse,tscy:$se,TSHcy:Use,tshcy:Hse,Tstrok:Vse,tstrok:Gse,twixt:Kse,twoheadleftarrow:Wse,twoheadrightarrow:Zse,Uacute:Yse,uacute:Qse,uarr:Jse,Uarr:Xse,uArr:eoe,Uarrocir:toe,Ubrcy:noe,ubrcy:soe,Ubreve:ooe,ubreve:roe,Ucirc:ioe,ucirc:aoe,Ucy:loe,ucy:coe,udarr:uoe,Udblac:doe,udblac:foe,udhar:hoe,ufisht:poe,Ufr:goe,ufr:moe,Ugrave:_oe,ugrave:boe,uHar:yoe,uharl:voe,uharr:woe,uhblk:xoe,ulcorn:koe,ulcorner:Eoe,ulcrop:Coe,ultri:Aoe,Umacr:Soe,umacr:Toe,uml:Ooe,UnderBar:Moe,UnderBrace:Roe,UnderBracket:Noe,UnderParenthesis:Doe,Union:Loe,UnionPlus:Ioe,Uogon:Poe,uogon:Foe,Uopf:Boe,uopf:joe,UpArrowBar:zoe,uparrow:qoe,UpArrow:$oe,Uparrow:Uoe,UpArrowDownArrow:Hoe,updownarrow:Voe,UpDownArrow:Goe,Updownarrow:Koe,UpEquilibrium:Woe,upharpoonleft:Zoe,upharpoonright:Yoe,uplus:Qoe,UpperLeftArrow:Joe,UpperRightArrow:Xoe,upsi:ere,Upsi:tre,upsih:nre,Upsilon:sre,upsilon:ore,UpTeeArrow:rre,UpTee:ire,upuparrows:are,urcorn:lre,urcorner:cre,urcrop:ure,Uring:dre,uring:fre,urtri:hre,Uscr:pre,uscr:gre,utdot:mre,Utilde:_re,utilde:bre,utri:yre,utrif:vre,uuarr:wre,Uuml:xre,uuml:kre,uwangle:Ere,vangrt:Cre,varepsilon:Are,varkappa:Sre,varnothing:Tre,varphi:Ore,varpi:Mre,varpropto:Rre,varr:Nre,vArr:Dre,varrho:Lre,varsigma:Ire,varsubsetneq:Pre,varsubsetneqq:Fre,varsupsetneq:Bre,varsupsetneqq:jre,vartheta:zre,vartriangleleft:qre,vartriangleright:$re,vBar:Ure,Vbar:Hre,vBarv:Vre,Vcy:Gre,vcy:Kre,vdash:Wre,vDash:Zre,Vdash:Yre,VDash:Qre,Vdashl:Jre,veebar:Xre,vee:eie,Vee:tie,veeeq:nie,vellip:sie,verbar:oie,Verbar:rie,vert:iie,Vert:aie,VerticalBar:lie,VerticalLine:cie,VerticalSeparator:uie,VerticalTilde:die,VeryThinSpace:fie,Vfr:hie,vfr:pie,vltri:gie,vnsub:mie,vnsup:_ie,Vopf:bie,vopf:yie,vprop:vie,vrtri:wie,Vscr:xie,vscr:kie,vsubnE:Eie,vsubne:Cie,vsupnE:Aie,vsupne:Sie,Vvdash:Tie,vzigzag:Oie,Wcirc:Mie,wcirc:Rie,wedbar:Nie,wedge:Die,Wedge:Lie,wedgeq:Iie,weierp:Pie,Wfr:Fie,wfr:Bie,Wopf:jie,wopf:zie,wp:qie,wr:$ie,wreath:Uie,Wscr:Hie,wscr:Vie,xcap:Gie,xcirc:Kie,xcup:Wie,xdtri:Zie,Xfr:Yie,xfr:Qie,xharr:Jie,xhArr:Xie,Xi:eae,xi:tae,xlarr:nae,xlArr:sae,xmap:oae,xnis:rae,xodot:iae,Xopf:aae,xopf:lae,xoplus:cae,xotime:uae,xrarr:dae,xrArr:fae,Xscr:hae,xscr:pae,xsqcup:gae,xuplus:mae,xutri:_ae,xvee:bae,xwedge:yae,Yacute:vae,yacute:wae,YAcy:xae,yacy:kae,Ycirc:Eae,ycirc:Cae,Ycy:Aae,ycy:Sae,yen:Tae,Yfr:Oae,yfr:Mae,YIcy:Rae,yicy:Nae,Yopf:Dae,yopf:Lae,Yscr:Iae,yscr:Pae,YUcy:Fae,yucy:Bae,yuml:jae,Yuml:zae,Zacute:qae,zacute:$ae,Zcaron:Uae,zcaron:Hae,Zcy:Vae,zcy:Gae,Zdot:Kae,zdot:Wae,zeetrf:Zae,ZeroWidthSpace:Yae,Zeta:Qae,zeta:Jae,zfr:Xae,Zfr:ele,ZHcy:tle,zhcy:nle,zigrarr:sle,zopf:ole,Zopf:rle,Zscr:ile,zscr:ale,zwj:lle,zwnj:cle};var Kp=ule,Zl=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Us={},zu={};function dle(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=dle(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}si.defaultChars=";/?:@&=+$,-_.!~*'()#";si.componentChars="-_.!~*'()";var fle=si,qu={};function hle(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&&u<=57343?f+="���":f+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}oi.defaultChars=";/?:@&=+$,#";oi.componentChars="";var ple=oi,gle=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 wr(){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 mle=/^([a-z0-9.+-]+:)/i,_le=/:[0-9]*$/,ble=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yle=["<",">",'"',"`"," ","\r",` +`," "],vle=["{","}","|","\\","^","`"].concat(yle),wle=["'"].concat(vle),$u=["%","/","?",";","#"].concat(wle),Uu=["/","?","#"],xle=255,Hu=/^[+a-z0-9A-Z_-]{0,63}$/,kle=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Vu={javascript:!0,"javascript:":!0},Gu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Ele(t,e){if(t&&t instanceof wr)return t;var n=new wr;return n.parse(t,e),n}wr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=ble.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=mle.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&&Vu[c])&&(a=a.substr(2),this.slashes=!0)),!Vu[c]&&(i||c&&!Gu[c])){var u=-1;for(n=0;n127?_+="x":_+=v[b];if(!_.match(Hu)){var C=m.slice(0,n),R=m.slice(n+1),T=v.match(kle);T&&(C.push(T[1]),R.unshift(T[2])),R.length&&(a=R.join(".")+a),this.hostname=C.join(".");break}}}}this.hostname.length>xle&&(this.hostname=""),p&&(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 y=a.indexOf("?");return y!==-1&&(this.search=a.substr(y),a=a.slice(0,y)),a&&(this.pathname=a),Gu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};wr.prototype.parseHost=function(t){var e=_le.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 Cle=Ele;Us.encode=fle;Us.decode=ple;Us.format=gle;Us.parse=Cle;var Ln={},Di,Ku;function Wp(){return Ku||(Ku=1,Di=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Di}var Li,Wu;function Zp(){return Wu||(Wu=1,Li=/[\0-\x1F\x7F-\x9F]/),Li}var Ii,Zu;function Ale(){return Zu||(Zu=1,Ii=/[\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]/),Ii}var Pi,Yu;function Yp(){return Yu||(Yu=1,Pi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Pi}var Qu;function Sle(){return Qu||(Qu=1,Ln.Any=Wp(),Ln.Cc=Zp(),Ln.Cf=Ale(),Ln.P=Zl,Ln.Z=Yp()),Ln}(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,ae){return s.call(I,ae)}function r(I){var ae=Array.prototype.slice.call(arguments,1);return ae.forEach(function(W){if(W){if(typeof W!="object")throw new TypeError(W+"must be object");Object.keys(W).forEach(function(A){I[A]=W[A]})}}),I}function i(I,ae,W){return[].concat(I.slice(0,ae),W,I.slice(ae+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 ae=55296+(I>>10),W=56320+(I&1023);return String.fromCharCode(ae,W)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(c.source+"|"+u.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=Kp;function p(I,ae){var W=0;return o(g,ae)?g[ae]:ae.charCodeAt(0)===35&&h.test(ae)&&(W=ae[1].toLowerCase()==="x"?parseInt(ae.slice(2),16):parseInt(ae.slice(1),10),a(W))?l(W):I}function m(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function v(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(f,function(ae,W,A){return W||p(ae,A)})}var _=/[&<>"]/,b=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function C(I){return x[I]}function R(I){return _.test(I)?I.replace(b,C):I}var T=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(T,"\\$&")}function y(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var S=Zl;function L(I){return S.test(I)}function F(I){switch(I){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Y(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Us,t.lib.ucmicro=Sle(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=y,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Y})(ze);var ri={},Tle=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=Ju(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},Mle=ze.unescapeAll,Rle=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"+Qn(t[e].content)+""};Zt.code_block=function(t,e,n,s,o){var r=t[e];return""+Qn(t[e].content)+` +`};Zt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Dle(r.info).trim():"",a="",l="",c,u,f,h,g;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Qn(r.content):c=Qn(r.content),c.indexOf(""+c+` `):"
"+c+`
`};Zt.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)};Zt.hardbreak=function(t,e,n){return n.xhtmlOut?`
@@ -87,18 +87,18 @@ You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},be=t=>( `};Zt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Zt.text=function(t,e){return Qn(t[e].content)};Zt.html_block=function(t,e){return t[e].content};Zt.html_inline=function(t,e){return t[e].content};function Hs(){this.rules=Rle({},Zt)}Hs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n `:">",r)};Hs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function qle(t){return/^<\/a\s*>/i.test(t)}var $le=function(e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b=e.tokens,x;if(e.md.options.linkify){for(s=0,o=b.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"&&(zle(a.content)&&p>0&&p--,qle(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,h=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;ch&&(i=new e.Token("text","",0),i.content=u.slice(h,f),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],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),h=x[c].lastIndex);h=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(Hle,Gle)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Wle(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&Qp.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 Zle=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Ule.test(e.tokens[n].content)&&Kle(e.tokens[n].children),Qp.test(e.tokens[n].content)&&Wle(e.tokens[n].children))},Xu=ze.isWhiteSpace,ed=ze.isPunctChar,td=ze.isMdAsciiPunct,Yle=/['"]/,nd=/['"]/g,sd="’";function Ho(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Qle(t,e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R,T;for(C=[],n=0;n=0&&!(C[b].level<=l);b--);if(C.length=b+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(b=n-1;b>=0&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b--)if(t[b].content){u=t[b].content.charCodeAt(t[b].content.length-1);break}if(f=32,i=48&&u<=57&&(_=v=!1),v&&_&&(v=h,_=g),!v&&!_){x&&(s.content=Ho(s.content,r.index,sd));continue}if(_){for(b=C.length-1;b>=0&&(c=C[b],!(C[b].level=0;n--)e.tokens[n].type!=="inline"||!Yle.test(e.tokens[n].content)||Qle(e.tokens[n].children,e)},Xle=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};Vs.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 Ql=Vs,ece=Ql;function Jp(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Jp.prototype.Token=ece;var tce=Jp,nce=Yl,Fi=[["normalize",Ple],["block",Fle],["inline",Ble],["linkify",$le],["replacements",Zle],["smartquotes",Jle],["text_join",Xle]];function Jl(){this.ruler=new nce;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]||(T=e.src.charCodeAt(a++),T!==124&&T!==45&&T!==58&&!Bi(T))||R===45&&Bi(T))return!1;for(;a=4||(f=od(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==p.length))return!1;if(o)return!0;for(b=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=v=[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(f=od(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.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},ice=function(e,n,s,o){var r,i,a,l,c,u,f,h=!1,g=e.bMarks[n]+e.tShift[n],p=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>p||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(f=e.src.slice(c,g),a=e.src.slice(g,p),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],p=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(S++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,C=!0):e.src.charCodeAt(S)===9?(C=!0,(e.bsCount[n]+g)%4===3?(S++,l++,g++,r=!1):r=!0):C=!1,p=[e.bMarks[n]],e.bMarks[n]=S;S=L,b=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],T=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",h=n+1;h=L));h++){if(e.src.charCodeAt(S++)===62&&!y){for(l=g=e.sCount[h]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,C=!0):e.src.charCodeAt(S)===9?(C=!0,(e.bsCount[h]+g)%4===3?(S++,l++,g++,r=!1):r=!0):C=!1,p.push(e.bMarks[h]),e.bMarks[h]=S;S=L,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),b.push(e.sCount[h]),e.sCount[h]=g-l,x.push(e.tShift[h]),e.tShift[h]=S-e.bMarks[h];continue}if(u)break;for(R=!1,a=0,c=T.length;a",D.map=f=[n,0],e.md.block.tokenize(e,n,h),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,f[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(A=!0),(L=ad(e,n))>=0){if(f=!0,Y=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Y,L-1)),A&&_!==1)return!1}else if((L=id(e,n))>=0)f=!1;else return!1;if(A&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(v=e.src.charCodeAt(L-1),o)return!0;for(m=e.tokens.length,f?(W=e.push("ordered_list_open","ol",1),_!==1&&(W.attrs=[["start",_]])):W=e.push("bullet_list_open","ul",1),W.map=p=[n,0],W.markup=String.fromCharCode(v),x=n,F=!1,ae=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";x=b?c=1:c=C-u,c>4&&(c=1),l=u+c,W=e.push("list_item_open","li",1),W.markup=String.fromCharCode(v),W.map=h=[n,0],f&&(W.info=e.src.slice(Y,L-1)),k=e.tight,y=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]=C,i>=b&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&($=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=y,e.sCount[n]=D,e.tight=k,W=e.push("list_item_close","li",-1),W.markup=String.fromCharCode(v),x=n=e.line,h[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=ae.length;a=4||e.src.charCodeAt(T)!==91)return!1;for(;++T3)&&!(e.sCount[y]<0)){for(b=!1,u=0,f=x.length;u"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:c}),e.parentType=p,e.line=n+R+1),!0)},pce=["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"],ii={},gce="[a-zA-Z_:][a-zA-Z0-9:._-]*",mce="[^\"'=<>`\\x00-\\x20]+",_ce="'[^']*'",bce='"[^"]*"',yce="(?:"+mce+"|"+_ce+"|"+bce+")",vce="(?:\\s+"+gce+"(?:\\s*=\\s*"+yce+")?)",eg="<[A-Za-z][A-Za-z0-9\\-]*"+vce+"*\\s*\\/?>",tg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",wce="|",xce="<[?][\\s\\S]*?[?]>",kce="]*>",Ece="",Cce=new RegExp("^(?:"+eg+"|"+tg+"|"+wce+"|"+xce+"|"+kce+"|"+Ece+")"),Ace=new RegExp("^(?:"+eg+"|"+tg+")");ii.HTML_TAG_RE=Cce;ii.HTML_OPEN_CLOSE_TAG_RE=Ace;var Sce=pce,Tce=ii.HTML_OPEN_CLOSE_TAG_RE,is=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Tce.source+"\\s*$"),/^$/,!1]],Oce=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&&ld(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)},Rce=function(e,n,s){var o,r,i,a,l,c,u,f,h,g=n+1,p,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(p=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)))){f=h===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=m.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Yt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Yt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!ai(this.src.charCodeAt(--e)))return e+1;return e};Yt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Yt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,u,f,h=e;if(e>=n)return"";for(u=new Array(n-e),r=0;hs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):u[r]=this.src.slice(l,c)}return u.join("")};Yt.prototype.Token=ng;var Dce=Yt,Lce=Yl,Go=[["table",oce,["paragraph","reference"]],["code",rce],["fence",ice,["paragraph","reference","blockquote","list"]],["blockquote",ace,["paragraph","reference","blockquote","list"]],["hr",cce,["paragraph","reference","blockquote","list"]],["list",dce,["paragraph","reference","blockquote"]],["reference",hce],["html_block",Oce,["paragraph","reference","blockquote"]],["heading",Mce,["paragraph","reference","blockquote"]],["lheading",Rce],["paragraph",Nce]];function li(){this.ruler=new Lce;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(Bce),!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)},zce=ze.isSpace,qce=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){Xl[t.charCodeAt(0)]=1});var Uce=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&Xl[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Hce=function(e,n){var s,o,r,i,a,l,c,u,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(s=f,f++,o=e.posMax;f=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}ui.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(dd(e,e.delimiters),n=0;n=m)return!1;if(v=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?l=c.pos:h="",v=l;l=m||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(v,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Vce(r)],!u)return e.pos=p,!1;h=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,f=e.push("link_open","a",1),f.attrs=s=[["href",h]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},Kce=ze.normalizeReference,qi=ze.isSpace,Wce=function(e,n){var s,o,r,i,a,l,c,u,f,h,g,p,m,v="",_=e.pos,b=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=b)return!1;for(m=c,f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?c=f.pos:v=""),m=c;c=b||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(m,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Kce(i)],!u)return e.pos=_,!1;v=u.href,h=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,p=[]),g=e.push("image","img",0),g.attrs=s=[["src",v],["alt",""]],g.children=p,g.content=r,h&&s.push(["title",h])),e.pos=c,e.posMax=b,!0},Zce=/^([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])?)*)$/,Yce=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Qce=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),Yce.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):Zce.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},Jce=ii.HTML_TAG_RE;function Xce(t){return/^\s]/i.test(t)}function eue(t){return/^<\/a\s*>/i.test(t)}function tue(t){var e=t|32;return e>=97&&e<=122}var nue=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&&!tue(s))||(o=e.src.slice(a).match(Jce),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Xce(i.content)&&e.linkLevel++,eue(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},fd=Kp,sue=ze.has,oue=ze.isValidEntityCode,hd=ze.fromCodePoint,rue=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,iue=/^&([a-z][a-z0-9]{1,31});/i,aue=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(rue),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=oue(o)?hd(o):hd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(iue),r&&sue(fd,r[1]))return n||(i=e.push("text_special","",0),i.content=fd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function pd(t,e){var n,s,o,r,i,a,l,c,u={},f=e.length;if(f){var h=0,g=-2,p=[];for(n=0;ni;s-=p[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?p[s-1]+1:0,p[n]=n-s+c,p[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 lue=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(pd(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Ro.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,f,h=!0,g=!0,p=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};No.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}),Hi}function ol(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 di(t){return Object.prototype.toString.call(t)}function hue(t){return di(t)==="[object String]"}function pue(t){return di(t)==="[object Object]"}function gue(t){return di(t)==="[object RegExp]"}function vd(t){return di(t)==="[object Function]"}function mue(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var sg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function _ue(t){return Object.keys(t||{}).reduce(function(e,n){return e||sg.hasOwnProperty(n)},!1)}var bue={"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}}},yue="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]",vue="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function wue(t){t.__index__=-1,t.__text_cache__=""}function xue(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function wd(){return function(t,e){e.normalize(t)}}function xr(t){var e=t.re=fue()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(yue),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,pue(l)){gue(l.validate)?c.validate=xue(l.validate):vd(l.validate)?c.validate=l.validate:r(a,l),vd(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=wd();return}if(hue(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:wd()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(mue).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"),wue(t)}function kue(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 rl(t,e){var n=new kue(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function mt(t,e){if(!(this instanceof mt))return new mt(t,e);e||_ue(t)&&(e=t,t={}),this.__opts__=ol({},sg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ol({},bue,t),this.__compiled__={},this.__tlds__=vue,this.__tlds_replaced__=!1,this.re={},xr(this)}mt.prototype.add=function(e,n){return this.__schemas__[e]=n,xr(this),this};mt.prototype.set=function(e){return this.__opts__=ol(this.__opts__,e),this};mt.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};mt.prototype.pretest=function(e){return this.re.pretest.test(e)};mt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};mt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(rl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(rl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};mt.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,rl(this,0)):null};mt.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(),xr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,xr(this),this)};mt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};mt.prototype.onCompile=function(){};var Eue=mt;const bs=2147483647,$t=36,tc=1,xo=26,Cue=38,Aue=700,og=72,rg=128,ig="-",Sue=/^xn--/,Tue=/[^\0-\x7F]/,Oue=/[\x2E\u3002\uFF0E\uFF61]/g,Mue={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Vi=$t-tc,Ut=Math.floor,Gi=String.fromCharCode;function bn(t){throw new RangeError(Mue[t])}function Rue(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function ag(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Oue,".");const o=t.split("."),r=Rue(o,e).join(".");return s+r}function nc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Nue=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:$t},xd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},cg=function(t,e,n){let s=0;for(t=n?Ut(t/Aue):t>>1,t+=Ut(t/e);t>Vi*xo>>1;s+=$t)t=Ut(t/Vi);return Ut(s+(Vi+1)*t/(t+Cue))},sc=function(t){const e=[],n=t.length;let s=0,o=rg,r=og,i=t.lastIndexOf(ig);i<0&&(i=0);for(let a=0;a=128&&bn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&bn("invalid-input");const h=Nue(t.charCodeAt(a++));h>=$t&&bn("invalid-input"),h>Ut((bs-s)/u)&&bn("overflow"),s+=h*u;const g=f<=r?tc:f>=r+xo?xo:f-r;if(hUt(bs/p)&&bn("overflow"),u*=p}const c=e.length+1;r=cg(s-l,c,l==0),Ut(s/c)>bs-o&&bn("overflow"),o+=Ut(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},oc=function(t){const e=[];t=nc(t);const n=t.length;let s=rg,o=0,r=og;for(const l of t)l<128&&e.push(Gi(l));const i=e.length;let a=i;for(i&&e.push(ig);a=s&&uUt((bs-o)/c)&&bn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(ubs&&bn("overflow"),u===s){let f=o;for(let h=$t;;h+=$t){const g=h<=r?tc:h>=r+xo?xo:h-r;if(f=0))try{e.hostname=fg.toASCII(e.hostname)}catch{}return Hn.encode(Hn.format(e))}function Yue(t){var e=Hn.parse(t,!0);if(e.hostname&&(!e.protocol||hg.indexOf(e.protocol)>=0))try{e.hostname=fg.toUnicode(e.hostname)}catch{}return Hn.decode(Hn.format(e),Hn.decode.defaultChars+"%")}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||oo.isString(t)||(e=t||{},t="default"),this.inline=new Uue,this.block=new $ue,this.core=new que,this.renderer=new zue,this.linkify=new Hue,this.validateLink=Wue,this.normalizeLink=Zue,this.normalizeLinkText=Yue,this.utils=oo,this.helpers=oo.assign({},jue),this.options={},this.configure(t),e&&this.set(e)}Ct.prototype.set=function(t){return oo.assign(this.options,t),this};Ct.prototype.configure=function(t){var e=this,n;if(oo.isString(t)&&(n=t,t=Vue[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Ct.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Ct.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Ct.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Ct.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Ct.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Ct.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Ct.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Que=Ct,Jue=Que;const Xue=ts(Jue),ede="😀",tde="😃",nde="😄",sde="😁",ode="😆",rde="😆",ide="😅",ade="🤣",lde="😂",cde="🙂",ude="🙃",dde="😉",fde="😊",hde="😇",pde="🥰",gde="😍",mde="🤩",_de="😘",bde="😗",yde="☺️",vde="😚",wde="😙",xde="🥲",kde="😋",Ede="😛",Cde="😜",Ade="🤪",Sde="😝",Tde="🤑",Ode="🤗",Mde="🤭",Rde="🤫",Nde="🤔",Dde="🤐",Lde="🤨",Ide="😐",Pde="😑",Fde="😶",Bde="😏",jde="😒",zde="🙄",qde="😬",$de="🤥",Ude="😌",Hde="😔",Vde="😪",Gde="🤤",Kde="😴",Wde="😷",Zde="🤒",Yde="🤕",Qde="🤢",Jde="🤮",Xde="🤧",efe="🥵",tfe="🥶",nfe="🥴",sfe="😵",ofe="🤯",rfe="🤠",ife="🥳",afe="🥸",lfe="😎",cfe="🤓",ufe="🧐",dfe="😕",ffe="😟",hfe="🙁",pfe="☹️",gfe="😮",mfe="😯",_fe="😲",bfe="😳",yfe="🥺",vfe="😦",wfe="😧",xfe="😨",kfe="😰",Efe="😥",Cfe="😢",Afe="😭",Sfe="😱",Tfe="😖",Ofe="😣",Mfe="😞",Rfe="😓",Nfe="😩",Dfe="😫",Lfe="🥱",Ife="😤",Pfe="😡",Ffe="😡",Bfe="😠",jfe="🤬",zfe="😈",qfe="👿",$fe="💀",Ufe="☠️",Hfe="💩",Vfe="💩",Gfe="💩",Kfe="🤡",Wfe="👹",Zfe="👺",Yfe="👻",Qfe="👽",Jfe="👾",Xfe="🤖",ehe="😺",the="😸",nhe="😹",she="😻",ohe="😼",rhe="😽",ihe="🙀",ahe="😿",lhe="😾",che="🙈",uhe="🙉",dhe="🙊",fhe="💋",hhe="💌",phe="💘",ghe="💝",mhe="💖",_he="💗",bhe="💓",yhe="💞",vhe="💕",whe="💟",xhe="❣️",khe="💔",Ehe="❤️",Che="🧡",Ahe="💛",She="💚",The="💙",Ohe="💜",Mhe="🤎",Rhe="🖤",Nhe="🤍",Dhe="💢",Lhe="💥",Ihe="💥",Phe="💫",Fhe="💦",Bhe="💨",jhe="🕳️",zhe="💣",qhe="💬",$he="👁️‍🗨️",Uhe="🗨️",Hhe="🗯️",Vhe="💭",Ghe="💤",Khe="👋",Whe="🤚",Zhe="🖐️",Yhe="✋",Qhe="✋",Jhe="🖖",Xhe="👌",epe="🤌",tpe="🤏",npe="✌️",spe="🤞",ope="🤟",rpe="🤘",ipe="🤙",ape="👈",lpe="👉",cpe="👆",upe="🖕",dpe="🖕",fpe="👇",hpe="☝️",ppe="👍",gpe="👎",mpe="✊",_pe="✊",bpe="👊",ype="👊",vpe="👊",wpe="🤛",xpe="🤜",kpe="👏",Epe="🙌",Cpe="👐",Ape="🤲",Spe="🤝",Tpe="🙏",Ope="✍️",Mpe="💅",Rpe="🤳",Npe="💪",Dpe="🦾",Lpe="🦿",Ipe="🦵",Ppe="🦶",Fpe="👂",Bpe="🦻",jpe="👃",zpe="🧠",qpe="🫀",$pe="🫁",Upe="🦷",Hpe="🦴",Vpe="👀",Gpe="👁️",Kpe="👅",Wpe="👄",Zpe="👶",Ype="🧒",Qpe="👦",Jpe="👧",Xpe="🧑",ege="👱",tge="👨",nge="🧔",sge="👨‍🦰",oge="👨‍🦱",rge="👨‍🦳",ige="👨‍🦲",age="👩",lge="👩‍🦰",cge="🧑‍🦰",uge="👩‍🦱",dge="🧑‍🦱",fge="👩‍🦳",hge="🧑‍🦳",pge="👩‍🦲",gge="🧑‍🦲",mge="👱‍♀️",_ge="👱‍♀️",bge="👱‍♂️",yge="🧓",vge="👴",wge="👵",xge="🙍",kge="🙍‍♂️",Ege="🙍‍♀️",Cge="🙎",Age="🙎‍♂️",Sge="🙎‍♀️",Tge="🙅",Oge="🙅‍♂️",Mge="🙅‍♂️",Rge="🙅‍♀️",Nge="🙅‍♀️",Dge="🙆",Lge="🙆‍♂️",Ige="🙆‍♀️",Pge="💁",Fge="💁",Bge="💁‍♂️",jge="💁‍♂️",zge="💁‍♀️",qge="💁‍♀️",$ge="🙋",Uge="🙋‍♂️",Hge="🙋‍♀️",Vge="🧏",Gge="🧏‍♂️",Kge="🧏‍♀️",Wge="🙇",Zge="🙇‍♂️",Yge="🙇‍♀️",Qge="🤦",Jge="🤦‍♂️",Xge="🤦‍♀️",eme="🤷",tme="🤷‍♂️",nme="🤷‍♀️",sme="🧑‍⚕️",ome="👨‍⚕️",rme="👩‍⚕️",ime="🧑‍🎓",ame="👨‍🎓",lme="👩‍🎓",cme="🧑‍🏫",ume="👨‍🏫",dme="👩‍🏫",fme="🧑‍⚖️",hme="👨‍⚖️",pme="👩‍⚖️",gme="🧑‍🌾",mme="👨‍🌾",_me="👩‍🌾",bme="🧑‍🍳",yme="👨‍🍳",vme="👩‍🍳",wme="🧑‍🔧",xme="👨‍🔧",kme="👩‍🔧",Eme="🧑‍🏭",Cme="👨‍🏭",Ame="👩‍🏭",Sme="🧑‍💼",Tme="👨‍💼",Ome="👩‍💼",Mme="🧑‍🔬",Rme="👨‍🔬",Nme="👩‍🔬",Dme="🧑‍💻",Lme="👨‍💻",Ime="👩‍💻",Pme="🧑‍🎤",Fme="👨‍🎤",Bme="👩‍🎤",jme="🧑‍🎨",zme="👨‍🎨",qme="👩‍🎨",$me="🧑‍✈️",Ume="👨‍✈️",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="🤴",f_e="👸",h_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="👨‍🍼",O_e="🧑‍🍼",M_e="👼",R_e="🎅",N_e="🤶",D_e="🧑‍🎄",L_e="🦸",I_e="🦸‍♂️",P_e="🦸‍♀️",F_e="🦹",B_e="🦹‍♂️",j_e="🦹‍♀️",z_e="🧙",q_e="🧙‍♂️",$_e="🧙‍♀️",U_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="💇‍♂️",f1e="💇‍♀️",h1e="🚶",p1e="🚶‍♂️",g1e="🚶‍♀️",m1e="🧍",_1e="🧍‍♂️",b1e="🧍‍♀️",y1e="🧎",v1e="🧎‍♂️",w1e="🧎‍♀️",x1e="🧑‍🦯",k1e="👨‍🦯",E1e="👩‍🦯",C1e="🧑‍🦼",A1e="👨‍🦼",S1e="👩‍🦼",T1e="🧑‍🦽",O1e="👨‍🦽",M1e="👩‍🦽",R1e="🏃",N1e="🏃",D1e="🏃‍♂️",L1e="🏃‍♀️",I1e="💃",P1e="💃",F1e="🕺",B1e="🕴️",j1e="👯",z1e="👯‍♂️",q1e="👯‍♀️",$1e="🧖",U1e="🧖‍♂️",H1e="🧖‍♀️",V1e="🧗",G1e="🧗‍♂️",K1e="🧗‍♀️",W1e="🤺",Z1e="🏇",Y1e="⛷️",Q1e="🏂",J1e="🏌️",X1e="🏌️‍♂️",e0e="🏌️‍♀️",t0e="🏄",n0e="🏄‍♂️",s0e="🏄‍♀️",o0e="🚣",r0e="🚣‍♂️",i0e="🚣‍♀️",a0e="🏊",l0e="🏊‍♂️",c0e="🏊‍♀️",u0e="⛹️",d0e="⛹️‍♂️",f0e="⛹️‍♂️",h0e="⛹️‍♀️",p0e="⛹️‍♀️",g0e="🏋️",m0e="🏋️‍♂️",_0e="🏋️‍♀️",b0e="🚴",y0e="🚴‍♂️",v0e="🚴‍♀️",w0e="🚵",x0e="🚵‍♂️",k0e="🚵‍♀️",E0e="🤸",C0e="🤸‍♂️",A0e="🤸‍♀️",S0e="🤼",T0e="🤼‍♂️",O0e="🤼‍♀️",M0e="🤽",R0e="🤽‍♂️",N0e="🤽‍♀️",D0e="🤾",L0e="🤾‍♂️",I0e="🤾‍♀️",P0e="🤹",F0e="🤹‍♂️",B0e="🤹‍♀️",j0e="🧘",z0e="🧘‍♂️",q0e="🧘‍♀️",$0e="🛀",U0e="🛌",H0e="🧑‍🤝‍🧑",V0e="👭",G0e="👫",K0e="👬",W0e="💏",Z0e="👩‍❤️‍💋‍👨",Y0e="👨‍❤️‍💋‍👨",Q0e="👩‍❤️‍💋‍👩",J0e="💑",X0e="👩‍❤️‍👨",ebe="👨‍❤️‍👨",tbe="👩‍❤️‍👩",nbe="👪",sbe="👨‍👩‍👦",obe="👨‍👩‍👧",rbe="👨‍👩‍👧‍👦",ibe="👨‍👩‍👦‍👦",abe="👨‍👩‍👧‍👧",lbe="👨‍👨‍👦",cbe="👨‍👨‍👧",ube="👨‍👨‍👧‍👦",dbe="👨‍👨‍👦‍👦",fbe="👨‍👨‍👧‍👧",hbe="👩‍👩‍👦",pbe="👩‍👩‍👧",gbe="👩‍👩‍👧‍👦",mbe="👩‍👩‍👦‍👦",_be="👩‍👩‍👧‍👧",bbe="👨‍👦",ybe="👨‍👦‍👦",vbe="👨‍👧",wbe="👨‍👧‍👦",xbe="👨‍👧‍👧",kbe="👩‍👦",Ebe="👩‍👦‍👦",Cbe="👩‍👧",Abe="👩‍👧‍👦",Sbe="👩‍👧‍👧",Tbe="🗣️",Obe="👤",Mbe="👥",Rbe="🫂",Nbe="👣",Dbe="🐵",Lbe="🐒",Ibe="🦍",Pbe="🦧",Fbe="🐶",Bbe="🐕",jbe="🦮",zbe="🐕‍🦺",qbe="🐩",$be="🐺",Ube="🦊",Hbe="🦝",Vbe="🐱",Gbe="🐈",Kbe="🐈‍⬛",Wbe="🦁",Zbe="🐯",Ybe="🐅",Qbe="🐆",Jbe="🐴",Xbe="🐎",eye="🦄",tye="🦓",nye="🦌",sye="🦬",oye="🐮",rye="🐂",iye="🐃",aye="🐄",lye="🐷",cye="🐖",uye="🐗",dye="🐽",fye="🐏",hye="🐑",pye="🐐",gye="🐪",mye="🐫",_ye="🦙",bye="🦒",yye="🐘",vye="🦣",wye="🦏",xye="🦛",kye="🐭",Eye="🐁",Cye="🐀",Aye="🐹",Sye="🐰",Tye="🐇",Oye="🐿️",Mye="🦫",Rye="🦔",Nye="🦇",Dye="🐻",Lye="🐻‍❄️",Iye="🐨",Pye="🐼",Fye="🦥",Bye="🦦",jye="🦨",zye="🦘",qye="🦡",$ye="🐾",Uye="🐾",Hye="🦃",Vye="🐔",Gye="🐓",Kye="🐣",Wye="🐤",Zye="🐥",Yye="🐦",Qye="🐧",Jye="🕊️",Xye="🦅",e2e="🦆",t2e="🦢",n2e="🦉",s2e="🦤",o2e="🪶",r2e="🦩",i2e="🦚",a2e="🦜",l2e="🐸",c2e="🐊",u2e="🐢",d2e="🦎",f2e="🐍",h2e="🐲",p2e="🐉",g2e="🦕",m2e="🐳",_2e="🐋",b2e="🐬",y2e="🐬",v2e="🦭",w2e="🐟",x2e="🐠",k2e="🐡",E2e="🦈",C2e="🐙",A2e="🐚",S2e="🐌",T2e="🦋",O2e="🐛",M2e="🐜",R2e="🐝",N2e="🐝",D2e="🪲",L2e="🐞",I2e="🦗",P2e="🪳",F2e="🕷️",B2e="🕸️",j2e="🦂",z2e="🦟",q2e="🪰",$2e="🪱",U2e="🦠",H2e="💐",V2e="🌸",G2e="💮",K2e="🏵️",W2e="🌹",Z2e="🥀",Y2e="🌺",Q2e="🌻",J2e="🌼",X2e="🌷",eve="🌱",tve="🪴",nve="🌲",sve="🌳",ove="🌴",rve="🌵",ive="🌾",ave="🌿",lve="☘️",cve="🍀",uve="🍁",dve="🍂",fve="🍃",hve="🍇",pve="🍈",gve="🍉",mve="🍊",_ve="🍊",bve="🍊",yve="🍋",vve="🍌",wve="🍍",xve="🥭",kve="🍎",Eve="🍏",Cve="🍐",Ave="🍑",Sve="🍒",Tve="🍓",Ove="🫐",Mve="🥝",Rve="🍅",Nve="🫒",Dve="🥥",Lve="🥑",Ive="🍆",Pve="🥔",Fve="🥕",Bve="🌽",jve="🌶️",zve="🫑",qve="🥒",$ve="🥬",Uve="🥦",Hve="🧄",Vve="🧅",Gve="🍄",Kve="🥜",Wve="🌰",Zve="🍞",Yve="🥐",Qve="🥖",Jve="🫓",Xve="🥨",ewe="🥯",twe="🥞",nwe="🧇",swe="🧀",owe="🍖",rwe="🍗",iwe="🥩",awe="🥓",lwe="🍔",cwe="🍟",uwe="🍕",dwe="🌭",fwe="🥪",hwe="🌮",pwe="🌯",gwe="🫔",mwe="🥙",_we="🧆",bwe="🥚",ywe="🍳",vwe="🥘",wwe="🍲",xwe="🫕",kwe="🥣",Ewe="🥗",Cwe="🍿",Awe="🧈",Swe="🧂",Twe="🥫",Owe="🍱",Mwe="🍘",Rwe="🍙",Nwe="🍚",Dwe="🍛",Lwe="🍜",Iwe="🍝",Pwe="🍠",Fwe="🍢",Bwe="🍣",jwe="🍤",zwe="🍥",qwe="🥮",$we="🍡",Uwe="🥟",Hwe="🥠",Vwe="🥡",Gwe="🦀",Kwe="🦞",Wwe="🦐",Zwe="🦑",Ywe="🦪",Qwe="🍦",Jwe="🍧",Xwe="🍨",exe="🍩",txe="🍪",nxe="🎂",sxe="🍰",oxe="🧁",rxe="🥧",ixe="🍫",axe="🍬",lxe="🍭",cxe="🍮",uxe="🍯",dxe="🍼",fxe="🥛",hxe="☕",pxe="🫖",gxe="🍵",mxe="🍶",_xe="🍾",bxe="🍷",yxe="🍸",vxe="🍹",wxe="🍺",xxe="🍻",kxe="🥂",Exe="🥃",Cxe="🥤",Axe="🧋",Sxe="🧃",Txe="🧉",Oxe="🧊",Mxe="🥢",Rxe="🍽️",Nxe="🍴",Dxe="🥄",Lxe="🔪",Ixe="🔪",Pxe="🏺",Fxe="🌍",Bxe="🌎",jxe="🌏",zxe="🌐",qxe="🗺️",$xe="🗾",Uxe="🧭",Hxe="🏔️",Vxe="⛰️",Gxe="🌋",Kxe="🗻",Wxe="🏕️",Zxe="🏖️",Yxe="🏜️",Qxe="🏝️",Jxe="🏞️",Xxe="🏟️",eke="🏛️",tke="🏗️",nke="🧱",ske="🪨",oke="🪵",rke="🛖",ike="🏘️",ake="🏚️",lke="🏠",cke="🏡",uke="🏢",dke="🏣",fke="🏤",hke="🏥",pke="🏦",gke="🏨",mke="🏩",_ke="🏪",bke="🏫",yke="🏬",vke="🏭",wke="🏯",xke="🏰",kke="💒",Eke="🗼",Cke="🗽",Ake="⛪",Ske="🕌",Tke="🛕",Oke="🕍",Mke="⛩️",Rke="🕋",Nke="⛲",Dke="⛺",Lke="🌁",Ike="🌃",Pke="🏙️",Fke="🌄",Bke="🌅",jke="🌆",zke="🌇",qke="🌉",$ke="♨️",Uke="🎠",Hke="🎡",Vke="🎢",Gke="💈",Kke="🎪",Wke="🚂",Zke="🚃",Yke="🚄",Qke="🚅",Jke="🚆",Xke="🚇",eEe="🚈",tEe="🚉",nEe="🚊",sEe="🚝",oEe="🚞",rEe="🚋",iEe="🚌",aEe="🚍",lEe="🚎",cEe="🚐",uEe="🚑",dEe="🚒",fEe="🚓",hEe="🚔",pEe="🚕",gEe="🚖",mEe="🚗",_Ee="🚗",bEe="🚘",yEe="🚙",vEe="🛻",wEe="🚚",xEe="🚛",kEe="🚜",EEe="🏎️",CEe="🏍️",AEe="🛵",SEe="🦽",TEe="🦼",OEe="🛺",MEe="🚲",REe="🛴",NEe="🛹",DEe="🛼",LEe="🚏",IEe="🛣️",PEe="🛤️",FEe="🛢️",BEe="⛽",jEe="🚨",zEe="🚥",qEe="🚦",$Ee="🛑",UEe="🚧",HEe="⚓",VEe="⛵",GEe="⛵",KEe="🛶",WEe="🚤",ZEe="🛳️",YEe="⛴️",QEe="🛥️",JEe="🚢",XEe="✈️",e5e="🛩️",t5e="🛫",n5e="🛬",s5e="🪂",o5e="💺",r5e="🚁",i5e="🚟",a5e="🚠",l5e="🚡",c5e="🛰️",u5e="🚀",d5e="🛸",f5e="🛎️",h5e="🧳",p5e="⌛",g5e="⏳",m5e="⌚",_5e="⏰",b5e="⏱️",y5e="⏲️",v5e="🕰️",w5e="🕛",x5e="🕧",k5e="🕐",E5e="🕜",C5e="🕑",A5e="🕝",S5e="🕒",T5e="🕞",O5e="🕓",M5e="🕟",R5e="🕔",N5e="🕠",D5e="🕕",L5e="🕡",I5e="🕖",P5e="🕢",F5e="🕗",B5e="🕣",j5e="🕘",z5e="🕤",q5e="🕙",$5e="🕥",U5e="🕚",H5e="🕦",V5e="🌑",G5e="🌒",K5e="🌓",W5e="🌔",Z5e="🌔",Y5e="🌕",Q5e="🌖",J5e="🌗",X5e="🌘",e4e="🌙",t4e="🌚",n4e="🌛",s4e="🌜",o4e="🌡️",r4e="☀️",i4e="🌝",a4e="🌞",l4e="🪐",c4e="⭐",u4e="🌟",d4e="🌠",f4e="🌌",h4e="☁️",p4e="⛅",g4e="⛈️",m4e="🌤️",_4e="🌥️",b4e="🌦️",y4e="🌧️",v4e="🌨️",w4e="🌩️",x4e="🌪️",k4e="🌫️",E4e="🌬️",C4e="🌀",A4e="🌈",S4e="🌂",T4e="☂️",O4e="☔",M4e="⛱️",R4e="⚡",N4e="❄️",D4e="☃️",L4e="⛄",I4e="☄️",P4e="🔥",F4e="💧",B4e="🌊",j4e="🎃",z4e="🎄",q4e="🎆",$4e="🎇",U4e="🧨",H4e="✨",V4e="🎈",G4e="🎉",K4e="🎊",W4e="🎋",Z4e="🎍",Y4e="🎎",Q4e="🎏",J4e="🎐",X4e="🎑",eCe="🧧",tCe="🎀",nCe="🎁",sCe="🎗️",oCe="🎟️",rCe="🎫",iCe="🎖️",aCe="🏆",lCe="🏅",cCe="⚽",uCe="⚾",dCe="🥎",fCe="🏀",hCe="🏐",pCe="🏈",gCe="🏉",mCe="🎾",_Ce="🥏",bCe="🎳",yCe="🏏",vCe="🏑",wCe="🏒",xCe="🥍",kCe="🏓",ECe="🏸",CCe="🥊",ACe="🥋",SCe="🥅",TCe="⛳",OCe="⛸️",MCe="🎣",RCe="🤿",NCe="🎽",DCe="🎿",LCe="🛷",ICe="🥌",PCe="🎯",FCe="🪀",BCe="🪁",jCe="🔮",zCe="🪄",qCe="🧿",$Ce="🎮",UCe="🕹️",HCe="🎰",VCe="🎲",GCe="🧩",KCe="🧸",WCe="🪅",ZCe="🪆",YCe="♠️",QCe="♥️",JCe="♦️",XCe="♣️",e3e="♟️",t3e="🃏",n3e="🀄",s3e="🎴",o3e="🎭",r3e="🖼️",i3e="🎨",a3e="🧵",l3e="🪡",c3e="🧶",u3e="🪢",d3e="👓",f3e="🕶️",h3e="🥽",p3e="🥼",g3e="🦺",m3e="👔",_3e="👕",b3e="👕",y3e="👖",v3e="🧣",w3e="🧤",x3e="🧥",k3e="🧦",E3e="👗",C3e="👘",A3e="🥻",S3e="🩱",T3e="🩲",O3e="🩳",M3e="👙",R3e="👚",N3e="👛",D3e="👜",L3e="👝",I3e="🛍️",P3e="🎒",F3e="🩴",B3e="👞",j3e="👞",z3e="👟",q3e="🥾",$3e="🥿",U3e="👠",H3e="👡",V3e="🩰",G3e="👢",K3e="👑",W3e="👒",Z3e="🎩",Y3e="🎓",Q3e="🧢",J3e="🪖",X3e="⛑️",eAe="📿",tAe="💄",nAe="💍",sAe="💎",oAe="🔇",rAe="🔈",iAe="🔉",aAe="🔊",lAe="📢",cAe="📣",uAe="📯",dAe="🔔",fAe="🔕",hAe="🎼",pAe="🎵",gAe="🎶",mAe="🎙️",_Ae="🎚️",bAe="🎛️",yAe="🎤",vAe="🎧",wAe="📻",xAe="🎷",kAe="🪗",EAe="🎸",CAe="🎹",AAe="🎺",SAe="🎻",TAe="🪕",OAe="🥁",MAe="🪘",RAe="📱",NAe="📲",DAe="☎️",LAe="☎️",IAe="📞",PAe="📟",FAe="📠",BAe="🔋",jAe="🔌",zAe="💻",qAe="🖥️",$Ae="🖨️",UAe="⌨️",HAe="🖱️",VAe="🖲️",GAe="💽",KAe="💾",WAe="💿",ZAe="📀",YAe="🧮",QAe="🎥",JAe="🎞️",XAe="📽️",e8e="🎬",t8e="📺",n8e="📷",s8e="📸",o8e="📹",r8e="📼",i8e="🔍",a8e="🔎",l8e="🕯️",c8e="💡",u8e="🔦",d8e="🏮",f8e="🏮",h8e="🪔",p8e="📔",g8e="📕",m8e="📖",_8e="📖",b8e="📗",y8e="📘",v8e="📙",w8e="📚",x8e="📓",k8e="📒",E8e="📃",C8e="📜",A8e="📄",S8e="📰",T8e="🗞️",O8e="📑",M8e="🔖",R8e="🏷️",N8e="💰",D8e="🪙",L8e="💴",I8e="💵",P8e="💶",F8e="💷",B8e="💸",j8e="💳",z8e="🧾",q8e="💹",$8e="✉️",U8e="📧",H8e="📨",V8e="📩",G8e="📤",K8e="📥",W8e="📫",Z8e="📪",Y8e="📬",Q8e="📭",J8e="📮",X8e="🗳️",e9e="✏️",t9e="✒️",n9e="🖋️",s9e="🖊️",o9e="🖌️",r9e="🖍️",i9e="📝",a9e="📝",l9e="💼",c9e="📁",u9e="📂",d9e="🗂️",f9e="📅",h9e="📆",p9e="🗒️",g9e="🗓️",m9e="📇",_9e="📈",b9e="📉",y9e="📊",v9e="📋",w9e="📌",x9e="📍",k9e="📎",E9e="🖇️",C9e="📏",A9e="📐",S9e="✂️",T9e="🗃️",O9e="🗄️",M9e="🗑️",R9e="🔒",N9e="🔓",D9e="🔏",L9e="🔐",I9e="🔑",P9e="🗝️",F9e="🔨",B9e="🪓",j9e="⛏️",z9e="⚒️",q9e="🛠️",$9e="🗡️",U9e="⚔️",H9e="🔫",V9e="🪃",G9e="🏹",K9e="🛡️",W9e="🪚",Z9e="🔧",Y9e="🪛",Q9e="🔩",J9e="⚙️",X9e="🗜️",e6e="⚖️",t6e="🦯",n6e="🔗",s6e="⛓️",o6e="🪝",r6e="🧰",i6e="🧲",a6e="🪜",l6e="⚗️",c6e="🧪",u6e="🧫",d6e="🧬",f6e="🔬",h6e="🔭",p6e="📡",g6e="💉",m6e="🩸",_6e="💊",b6e="🩹",y6e="🩺",v6e="🚪",w6e="🛗",x6e="🪞",k6e="🪟",E6e="🛏️",C6e="🛋️",A6e="🪑",S6e="🚽",T6e="🪠",O6e="🚿",M6e="🛁",R6e="🪤",N6e="🪒",D6e="🧴",L6e="🧷",I6e="🧹",P6e="🧺",F6e="🧻",B6e="🪣",j6e="🧼",z6e="🪥",q6e="🧽",$6e="🧯",U6e="🛒",H6e="🚬",V6e="⚰️",G6e="🪦",K6e="⚱️",W6e="🗿",Z6e="🪧",Y6e="🏧",Q6e="🚮",J6e="🚰",X6e="♿",eSe="🚹",tSe="🚺",nSe="🚻",sSe="🚼",oSe="🚾",rSe="🛂",iSe="🛃",aSe="🛄",lSe="🛅",cSe="⚠️",uSe="🚸",dSe="⛔",fSe="🚫",hSe="🚳",pSe="🚭",gSe="🚯",mSe="🚷",_Se="📵",bSe="🔞",ySe="☢️",vSe="☣️",wSe="⬆️",xSe="↗️",kSe="➡️",ESe="↘️",CSe="⬇️",ASe="↙️",SSe="⬅️",TSe="↖️",OSe="↕️",MSe="↔️",RSe="↩️",NSe="↪️",DSe="⤴️",LSe="⤵️",ISe="🔃",PSe="🔄",FSe="🔙",BSe="🔚",jSe="🔛",zSe="🔜",qSe="🔝",$Se="🛐",USe="⚛️",HSe="🕉️",VSe="✡️",GSe="☸️",KSe="☯️",WSe="✝️",ZSe="☦️",YSe="☪️",QSe="☮️",JSe="🕎",XSe="🔯",eTe="♈",tTe="♉",nTe="♊",sTe="♋",oTe="♌",rTe="♍",iTe="♎",aTe="♏",lTe="♐",cTe="♑",uTe="♒",dTe="♓",fTe="⛎",hTe="🔀",pTe="🔁",gTe="🔂",mTe="▶️",_Te="⏩",bTe="⏭️",yTe="⏯️",vTe="◀️",wTe="⏪",xTe="⏮️",kTe="🔼",ETe="⏫",CTe="🔽",ATe="⏬",STe="⏸️",TTe="⏹️",OTe="⏺️",MTe="⏏️",RTe="🎦",NTe="🔅",DTe="🔆",LTe="📶",ITe="📳",PTe="📴",FTe="♀️",BTe="♂️",jTe="⚧️",zTe="✖️",qTe="➕",$Te="➖",UTe="➗",HTe="♾️",VTe="‼️",GTe="⁉️",KTe="❓",WTe="❔",ZTe="❕",YTe="❗",QTe="❗",JTe="〰️",XTe="💱",eOe="💲",tOe="⚕️",nOe="♻️",sOe="⚜️",oOe="🔱",rOe="📛",iOe="🔰",aOe="⭕",lOe="✅",cOe="☑️",uOe="✔️",dOe="❌",fOe="❎",hOe="➰",pOe="➿",gOe="〽️",mOe="✳️",_Oe="✴️",bOe="❇️",yOe="©️",vOe="®️",wOe="™️",xOe="#️⃣",kOe="*️⃣",EOe="0️⃣",COe="1️⃣",AOe="2️⃣",SOe="3️⃣",TOe="4️⃣",OOe="5️⃣",MOe="6️⃣",ROe="7️⃣",NOe="8️⃣",DOe="9️⃣",LOe="🔟",IOe="🔠",POe="🔡",FOe="🔣",BOe="🔤",jOe="🅰️",zOe="🆎",qOe="🅱️",$Oe="🆑",UOe="🆒",HOe="🆓",VOe="ℹ️",GOe="🆔",KOe="Ⓜ️",WOe="🆖",ZOe="🅾️",YOe="🆗",QOe="🅿️",JOe="🆘",XOe="🆙",eMe="🆚",tMe="🈁",nMe="🈂️",sMe="🉐",oMe="🉑",rMe="㊗️",iMe="㊙️",aMe="🈵",lMe="🔴",cMe="🟠",uMe="🟡",dMe="🟢",fMe="🔵",hMe="🟣",pMe="🟤",gMe="⚫",mMe="⚪",_Me="🟥",bMe="🟧",yMe="🟨",vMe="🟩",wMe="🟦",xMe="🟪",kMe="🟫",EMe="⬛",CMe="⬜",AMe="◼️",SMe="◻️",TMe="◾",OMe="◽",MMe="▪️",RMe="▫️",NMe="🔶",DMe="🔷",LMe="🔸",IMe="🔹",PMe="🔺",FMe="🔻",BMe="💠",jMe="🔘",zMe="🔳",qMe="🔲",$Me="🏁",UMe="🚩",HMe="🎌",VMe="🏴",GMe="🏳️",KMe="🏳️‍🌈",WMe="🏳️‍⚧️",ZMe="🏴‍☠️",YMe="🇦🇨",QMe="🇦🇩",JMe="🇦🇪",XMe="🇦🇫",e7e="🇦🇬",t7e="🇦🇮",n7e="🇦🇱",s7e="🇦🇲",o7e="🇦🇴",r7e="🇦🇶",i7e="🇦🇷",a7e="🇦🇸",l7e="🇦🇹",c7e="🇦🇺",u7e="🇦🇼",d7e="🇦🇽",f7e="🇦🇿",h7e="🇧🇦",p7e="🇧🇧",g7e="🇧🇩",m7e="🇧🇪",_7e="🇧🇫",b7e="🇧🇬",y7e="🇧🇭",v7e="🇧🇮",w7e="🇧🇯",x7e="🇧🇱",k7e="🇧🇲",E7e="🇧🇳",C7e="🇧🇴",A7e="🇧🇶",S7e="🇧🇷",T7e="🇧🇸",O7e="🇧🇹",M7e="🇧🇻",R7e="🇧🇼",N7e="🇧🇾",D7e="🇧🇿",L7e="🇨🇦",I7e="🇨🇨",P7e="🇨🇩",F7e="🇨🇫",B7e="🇨🇬",j7e="🇨🇭",z7e="🇨🇮",q7e="🇨🇰",$7e="🇨🇱",U7e="🇨🇲",H7e="🇨🇳",V7e="🇨🇴",G7e="🇨🇵",K7e="🇨🇷",W7e="🇨🇺",Z7e="🇨🇻",Y7e="🇨🇼",Q7e="🇨🇽",J7e="🇨🇾",X7e="🇨🇿",eRe="🇩🇪",tRe="🇩🇬",nRe="🇩🇯",sRe="🇩🇰",oRe="🇩🇲",rRe="🇩🇴",iRe="🇩🇿",aRe="🇪🇦",lRe="🇪🇨",cRe="🇪🇪",uRe="🇪🇬",dRe="🇪🇭",fRe="🇪🇷",hRe="🇪🇸",pRe="🇪🇹",gRe="🇪🇺",mRe="🇪🇺",_Re="🇫🇮",bRe="🇫🇯",yRe="🇫🇰",vRe="🇫🇲",wRe="🇫🇴",xRe="🇫🇷",kRe="🇬🇦",ERe="🇬🇧",CRe="🇬🇧",ARe="🇬🇩",SRe="🇬🇪",TRe="🇬🇫",ORe="🇬🇬",MRe="🇬🇭",RRe="🇬🇮",NRe="🇬🇱",DRe="🇬🇲",LRe="🇬🇳",IRe="🇬🇵",PRe="🇬🇶",FRe="🇬🇷",BRe="🇬🇸",jRe="🇬🇹",zRe="🇬🇺",qRe="🇬🇼",$Re="🇬🇾",URe="🇭🇰",HRe="🇭🇲",VRe="🇭🇳",GRe="🇭🇷",KRe="🇭🇹",WRe="🇭🇺",ZRe="🇮🇨",YRe="🇮🇩",QRe="🇮🇪",JRe="🇮🇱",XRe="🇮🇲",eNe="🇮🇳",tNe="🇮🇴",nNe="🇮🇶",sNe="🇮🇷",oNe="🇮🇸",rNe="🇮🇹",iNe="🇯🇪",aNe="🇯🇲",lNe="🇯🇴",cNe="🇯🇵",uNe="🇰🇪",dNe="🇰🇬",fNe="🇰🇭",hNe="🇰🇮",pNe="🇰🇲",gNe="🇰🇳",mNe="🇰🇵",_Ne="🇰🇷",bNe="🇰🇼",yNe="🇰🇾",vNe="🇰🇿",wNe="🇱🇦",xNe="🇱🇧",kNe="🇱🇨",ENe="🇱🇮",CNe="🇱🇰",ANe="🇱🇷",SNe="🇱🇸",TNe="🇱🇹",ONe="🇱🇺",MNe="🇱🇻",RNe="🇱🇾",NNe="🇲🇦",DNe="🇲🇨",LNe="🇲🇩",INe="🇲🇪",PNe="🇲🇫",FNe="🇲🇬",BNe="🇲🇭",jNe="🇲🇰",zNe="🇲🇱",qNe="🇲🇲",$Ne="🇲🇳",UNe="🇲🇴",HNe="🇲🇵",VNe="🇲🇶",GNe="🇲🇷",KNe="🇲🇸",WNe="🇲🇹",ZNe="🇲🇺",YNe="🇲🇻",QNe="🇲🇼",JNe="🇲🇽",XNe="🇲🇾",eDe="🇲🇿",tDe="🇳🇦",nDe="🇳🇨",sDe="🇳🇪",oDe="🇳🇫",rDe="🇳🇬",iDe="🇳🇮",aDe="🇳🇱",lDe="🇳🇴",cDe="🇳🇵",uDe="🇳🇷",dDe="🇳🇺",fDe="🇳🇿",hDe="🇴🇲",pDe="🇵🇦",gDe="🇵🇪",mDe="🇵🇫",_De="🇵🇬",bDe="🇵🇭",yDe="🇵🇰",vDe="🇵🇱",wDe="🇵🇲",xDe="🇵🇳",kDe="🇵🇷",EDe="🇵🇸",CDe="🇵🇹",ADe="🇵🇼",SDe="🇵🇾",TDe="🇶🇦",ODe="🇷🇪",MDe="🇷🇴",RDe="🇷🇸",NDe="🇷🇺",DDe="🇷🇼",LDe="🇸🇦",IDe="🇸🇧",PDe="🇸🇨",FDe="🇸🇩",BDe="🇸🇪",jDe="🇸🇬",zDe="🇸🇭",qDe="🇸🇮",$De="🇸🇯",UDe="🇸🇰",HDe="🇸🇱",VDe="🇸🇲",GDe="🇸🇳",KDe="🇸🇴",WDe="🇸🇷",ZDe="🇸🇸",YDe="🇸🇹",QDe="🇸🇻",JDe="🇸🇽",XDe="🇸🇾",eLe="🇸🇿",tLe="🇹🇦",nLe="🇹🇨",sLe="🇹🇩",oLe="🇹🇫",rLe="🇹🇬",iLe="🇹🇭",aLe="🇹🇯",lLe="🇹🇰",cLe="🇹🇱",uLe="🇹🇲",dLe="🇹🇳",fLe="🇹🇴",hLe="🇹🇷",pLe="🇹🇹",gLe="🇹🇻",mLe="🇹🇼",_Le="🇹🇿",bLe="🇺🇦",yLe="🇺🇬",vLe="🇺🇲",wLe="🇺🇳",xLe="🇺🇸",kLe="🇺🇾",ELe="🇺🇿",CLe="🇻🇦",ALe="🇻🇨",SLe="🇻🇪",TLe="🇻🇬",OLe="🇻🇮",MLe="🇻🇳",RLe="🇻🇺",NLe="🇼🇫",DLe="🇼🇸",LLe="🇽🇰",ILe="🇾🇪",PLe="🇾🇹",FLe="🇿🇦",BLe="🇿🇲",jLe="🇿🇼",zLe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",qLe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",$Le="🏴󠁧󠁢󠁷󠁬󠁳󠁿",ULe={100:"💯",1234:"🔢",grinning:ede,smiley:tde,smile:nde,grin:sde,laughing:ode,satisfied:rde,sweat_smile:ide,rofl:ade,joy:lde,slightly_smiling_face:cde,upside_down_face:ude,wink:dde,blush:fde,innocent:hde,smiling_face_with_three_hearts:pde,heart_eyes:gde,star_struck:mde,kissing_heart:_de,kissing:bde,relaxed:yde,kissing_closed_eyes:vde,kissing_smiling_eyes:wde,smiling_face_with_tear:xde,yum:kde,stuck_out_tongue:Ede,stuck_out_tongue_winking_eye:Cde,zany_face:Ade,stuck_out_tongue_closed_eyes:Sde,money_mouth_face:Tde,hugs:Ode,hand_over_mouth:Mde,shushing_face:Rde,thinking:Nde,zipper_mouth_face:Dde,raised_eyebrow:Lde,neutral_face:Ide,expressionless:Pde,no_mouth:Fde,smirk:Bde,unamused:jde,roll_eyes:zde,grimacing:qde,lying_face:$de,relieved:Ude,pensive:Hde,sleepy:Vde,drooling_face:Gde,sleeping:Kde,mask:Wde,face_with_thermometer:Zde,face_with_head_bandage:Yde,nauseated_face:Qde,vomiting_face:Jde,sneezing_face:Xde,hot_face:efe,cold_face:tfe,woozy_face:nfe,dizzy_face:sfe,exploding_head:ofe,cowboy_hat_face:rfe,partying_face:ife,disguised_face:afe,sunglasses:lfe,nerd_face:cfe,monocle_face:ufe,confused:dfe,worried:ffe,slightly_frowning_face:hfe,frowning_face:pfe,open_mouth:gfe,hushed:mfe,astonished:_fe,flushed:bfe,pleading_face:yfe,frowning:vfe,anguished:wfe,fearful:xfe,cold_sweat:kfe,disappointed_relieved:Efe,cry:Cfe,sob:Afe,scream:Sfe,confounded:Tfe,persevere:Ofe,disappointed:Mfe,sweat:Rfe,weary:Nfe,tired_face:Dfe,yawning_face:Lfe,triumph:Ife,rage:Pfe,pout:Ffe,angry:Bfe,cursing_face:jfe,smiling_imp:zfe,imp:qfe,skull:$fe,skull_and_crossbones:Ufe,hankey:Hfe,poop:Vfe,shit:Gfe,clown_face:Kfe,japanese_ogre:Wfe,japanese_goblin:Zfe,ghost:Yfe,alien:Qfe,space_invader:Jfe,robot:Xfe,smiley_cat:ehe,smile_cat:the,joy_cat:nhe,heart_eyes_cat:she,smirk_cat:ohe,kissing_cat:rhe,scream_cat:ihe,crying_cat_face:ahe,pouting_cat:lhe,see_no_evil:che,hear_no_evil:uhe,speak_no_evil:dhe,kiss:fhe,love_letter:hhe,cupid:phe,gift_heart:ghe,sparkling_heart:mhe,heartpulse:_he,heartbeat:bhe,revolving_hearts:yhe,two_hearts:vhe,heart_decoration:whe,heavy_heart_exclamation:xhe,broken_heart:khe,heart:Ehe,orange_heart:Che,yellow_heart:Ahe,green_heart:She,blue_heart:The,purple_heart:Ohe,brown_heart:Mhe,black_heart:Rhe,white_heart:Nhe,anger:Dhe,boom:Lhe,collision:Ihe,dizzy:Phe,sweat_drops:Fhe,dash:Bhe,hole:jhe,bomb:zhe,speech_balloon:qhe,eye_speech_bubble:$he,left_speech_bubble:Uhe,right_anger_bubble:Hhe,thought_balloon:Vhe,zzz:Ghe,wave:Khe,raised_back_of_hand:Whe,raised_hand_with_fingers_splayed:Zhe,hand:Yhe,raised_hand:Qhe,vulcan_salute:Jhe,ok_hand:Xhe,pinched_fingers:epe,pinching_hand:tpe,v:npe,crossed_fingers:spe,love_you_gesture:ope,metal:rpe,call_me_hand:ipe,point_left:ape,point_right:lpe,point_up_2:cpe,middle_finger:upe,fu:dpe,point_down:fpe,point_up:hpe,"+1":"👍",thumbsup:ppe,"-1":"👎",thumbsdown:gpe,fist_raised:mpe,fist:_pe,fist_oncoming:bpe,facepunch:ype,punch:vpe,fist_left:wpe,fist_right:xpe,clap:kpe,raised_hands:Epe,open_hands:Cpe,palms_up_together:Ape,handshake:Spe,pray:Tpe,writing_hand:Ope,nail_care:Mpe,selfie:Rpe,muscle:Npe,mechanical_arm:Dpe,mechanical_leg:Lpe,leg:Ipe,foot:Ppe,ear:Fpe,ear_with_hearing_aid:Bpe,nose:jpe,brain:zpe,anatomical_heart:qpe,lungs:$pe,tooth:Upe,bone:Hpe,eyes:Vpe,eye:Gpe,tongue:Kpe,lips:Wpe,baby:Zpe,child:Ype,boy:Qpe,girl:Jpe,adult:Xpe,blond_haired_person:ege,man:tge,bearded_person:nge,red_haired_man:sge,curly_haired_man:oge,white_haired_man:rge,bald_man:ige,woman:age,red_haired_woman:lge,person_red_hair:cge,curly_haired_woman:uge,person_curly_hair:dge,white_haired_woman:fge,person_white_hair:hge,bald_woman:pge,person_bald:gge,blond_haired_woman:mge,blonde_woman:_ge,blond_haired_man:bge,older_adult:yge,older_man:vge,older_woman:wge,frowning_person:xge,frowning_man:kge,frowning_woman:Ege,pouting_face:Cge,pouting_man:Age,pouting_woman:Sge,no_good:Tge,no_good_man:Oge,ng_man:Mge,no_good_woman:Rge,ng_woman:Nge,ok_person:Dge,ok_man:Lge,ok_woman:Ige,tipping_hand_person:Pge,information_desk_person:Fge,tipping_hand_man:Bge,sassy_man:jge,tipping_hand_woman:zge,sassy_woman:qge,raising_hand:$ge,raising_hand_man:Uge,raising_hand_woman:Hge,deaf_person:Vge,deaf_man:Gge,deaf_woman:Kge,bow:Wge,bowing_man:Zge,bowing_woman:Yge,facepalm:Qge,man_facepalming:Jge,woman_facepalming:Xge,shrug:eme,man_shrugging:tme,woman_shrugging:nme,health_worker:sme,man_health_worker:ome,woman_health_worker:rme,student:ime,man_student:ame,woman_student:lme,teacher:cme,man_teacher:ume,woman_teacher:dme,judge:fme,man_judge:hme,woman_judge:pme,farmer:gme,man_farmer:mme,woman_farmer:_me,cook:bme,man_cook:yme,woman_cook:vme,mechanic:wme,man_mechanic:xme,woman_mechanic:kme,factory_worker:Eme,man_factory_worker:Cme,woman_factory_worker:Ame,office_worker:Sme,man_office_worker:Tme,woman_office_worker:Ome,scientist:Mme,man_scientist:Rme,woman_scientist:Nme,technologist:Dme,man_technologist:Lme,woman_technologist:Ime,singer:Pme,man_singer:Fme,woman_singer:Bme,artist:jme,man_artist:zme,woman_artist:qme,pilot:$me,man_pilot:Ume,woman_pilot:Hme,astronaut:Vme,man_astronaut:Gme,woman_astronaut:Kme,firefighter:Wme,man_firefighter:Zme,woman_firefighter:Yme,police_officer:Qme,cop:Jme,policeman:Xme,policewoman:e_e,detective:t_e,male_detective:n_e,female_detective:s_e,guard:o_e,guardsman:r_e,guardswoman:i_e,ninja:a_e,construction_worker:l_e,construction_worker_man:c_e,construction_worker_woman:u_e,prince:d_e,princess:f_e,person_with_turban:h_e,man_with_turban:p_e,woman_with_turban:g_e,man_with_gua_pi_mao:m_e,woman_with_headscarf:__e,person_in_tuxedo:b_e,man_in_tuxedo:y_e,woman_in_tuxedo:v_e,person_with_veil:w_e,man_with_veil:x_e,woman_with_veil:k_e,bride_with_veil:E_e,pregnant_woman:C_e,breast_feeding:A_e,woman_feeding_baby:S_e,man_feeding_baby:T_e,person_feeding_baby:O_e,angel:M_e,santa:R_e,mrs_claus:N_e,mx_claus:D_e,superhero:L_e,superhero_man:I_e,superhero_woman:P_e,supervillain:F_e,supervillain_man:B_e,supervillain_woman:j_e,mage:z_e,mage_man:q_e,mage_woman:$_e,fairy:U_e,fairy_man:H_e,fairy_woman:V_e,vampire:G_e,vampire_man:K_e,vampire_woman:W_e,merperson:Z_e,merman:Y_e,mermaid:Q_e,elf:J_e,elf_man:X_e,elf_woman:e1e,genie:t1e,genie_man:n1e,genie_woman:s1e,zombie:o1e,zombie_man:r1e,zombie_woman:i1e,massage:a1e,massage_man:l1e,massage_woman:c1e,haircut:u1e,haircut_man:d1e,haircut_woman:f1e,walking:h1e,walking_man:p1e,walking_woman:g1e,standing_person:m1e,standing_man:_1e,standing_woman:b1e,kneeling_person:y1e,kneeling_man:v1e,kneeling_woman:w1e,person_with_probing_cane:x1e,man_with_probing_cane:k1e,woman_with_probing_cane:E1e,person_in_motorized_wheelchair:C1e,man_in_motorized_wheelchair:A1e,woman_in_motorized_wheelchair:S1e,person_in_manual_wheelchair:T1e,man_in_manual_wheelchair:O1e,woman_in_manual_wheelchair:M1e,runner:R1e,running:N1e,running_man:D1e,running_woman:L1e,woman_dancing:I1e,dancer:P1e,man_dancing:F1e,business_suit_levitating:B1e,dancers:j1e,dancing_men:z1e,dancing_women:q1e,sauna_person:$1e,sauna_man:U1e,sauna_woman:H1e,climbing:V1e,climbing_man:G1e,climbing_woman:K1e,person_fencing:W1e,horse_racing:Z1e,skier:Y1e,snowboarder:Q1e,golfing:J1e,golfing_man:X1e,golfing_woman:e0e,surfer:t0e,surfing_man:n0e,surfing_woman:s0e,rowboat:o0e,rowing_man:r0e,rowing_woman:i0e,swimmer:a0e,swimming_man:l0e,swimming_woman:c0e,bouncing_ball_person:u0e,bouncing_ball_man:d0e,basketball_man:f0e,bouncing_ball_woman:h0e,basketball_woman:p0e,weight_lifting:g0e,weight_lifting_man:m0e,weight_lifting_woman:_0e,bicyclist:b0e,biking_man:y0e,biking_woman:v0e,mountain_bicyclist:w0e,mountain_biking_man:x0e,mountain_biking_woman:k0e,cartwheeling:E0e,man_cartwheeling:C0e,woman_cartwheeling:A0e,wrestling:S0e,men_wrestling:T0e,women_wrestling:O0e,water_polo:M0e,man_playing_water_polo:R0e,woman_playing_water_polo:N0e,handball_person:D0e,man_playing_handball:L0e,woman_playing_handball:I0e,juggling_person:P0e,man_juggling:F0e,woman_juggling:B0e,lotus_position:j0e,lotus_position_man:z0e,lotus_position_woman:q0e,bath:$0e,sleeping_bed:U0e,people_holding_hands:H0e,two_women_holding_hands:V0e,couple:G0e,two_men_holding_hands:K0e,couplekiss:W0e,couplekiss_man_woman:Z0e,couplekiss_man_man:Y0e,couplekiss_woman_woman:Q0e,couple_with_heart:J0e,couple_with_heart_woman_man:X0e,couple_with_heart_man_man:ebe,couple_with_heart_woman_woman:tbe,family:nbe,family_man_woman_boy:sbe,family_man_woman_girl:obe,family_man_woman_girl_boy:rbe,family_man_woman_boy_boy:ibe,family_man_woman_girl_girl:abe,family_man_man_boy:lbe,family_man_man_girl:cbe,family_man_man_girl_boy:ube,family_man_man_boy_boy:dbe,family_man_man_girl_girl:fbe,family_woman_woman_boy:hbe,family_woman_woman_girl:pbe,family_woman_woman_girl_boy:gbe,family_woman_woman_boy_boy:mbe,family_woman_woman_girl_girl:_be,family_man_boy:bbe,family_man_boy_boy:ybe,family_man_girl:vbe,family_man_girl_boy:wbe,family_man_girl_girl:xbe,family_woman_boy:kbe,family_woman_boy_boy:Ebe,family_woman_girl:Cbe,family_woman_girl_boy:Abe,family_woman_girl_girl:Sbe,speaking_head:Tbe,bust_in_silhouette:Obe,busts_in_silhouette:Mbe,people_hugging:Rbe,footprints:Nbe,monkey_face:Dbe,monkey:Lbe,gorilla:Ibe,orangutan:Pbe,dog:Fbe,dog2:Bbe,guide_dog:jbe,service_dog:zbe,poodle:qbe,wolf:$be,fox_face:Ube,raccoon:Hbe,cat:Vbe,cat2:Gbe,black_cat:Kbe,lion:Wbe,tiger:Zbe,tiger2:Ybe,leopard:Qbe,horse:Jbe,racehorse:Xbe,unicorn:eye,zebra:tye,deer:nye,bison:sye,cow:oye,ox:rye,water_buffalo:iye,cow2:aye,pig:lye,pig2:cye,boar:uye,pig_nose:dye,ram:fye,sheep:hye,goat:pye,dromedary_camel:gye,camel:mye,llama:_ye,giraffe:bye,elephant:yye,mammoth:vye,rhinoceros:wye,hippopotamus:xye,mouse:kye,mouse2:Eye,rat:Cye,hamster:Aye,rabbit:Sye,rabbit2:Tye,chipmunk:Oye,beaver:Mye,hedgehog:Rye,bat:Nye,bear:Dye,polar_bear:Lye,koala:Iye,panda_face:Pye,sloth:Fye,otter:Bye,skunk:jye,kangaroo:zye,badger:qye,feet:$ye,paw_prints:Uye,turkey:Hye,chicken:Vye,rooster:Gye,hatching_chick:Kye,baby_chick:Wye,hatched_chick:Zye,bird:Yye,penguin:Qye,dove:Jye,eagle:Xye,duck:e2e,swan:t2e,owl:n2e,dodo:s2e,feather:o2e,flamingo:r2e,peacock:i2e,parrot:a2e,frog:l2e,crocodile:c2e,turtle:u2e,lizard:d2e,snake:f2e,dragon_face:h2e,dragon:p2e,sauropod:g2e,"t-rex":"🦖",whale:m2e,whale2:_2e,dolphin:b2e,flipper:y2e,seal:v2e,fish:w2e,tropical_fish:x2e,blowfish:k2e,shark:E2e,octopus:C2e,shell:A2e,snail:S2e,butterfly:T2e,bug:O2e,ant:M2e,bee:R2e,honeybee:N2e,beetle:D2e,lady_beetle:L2e,cricket:I2e,cockroach:P2e,spider:F2e,spider_web:B2e,scorpion:j2e,mosquito:z2e,fly:q2e,worm:$2e,microbe:U2e,bouquet:H2e,cherry_blossom:V2e,white_flower:G2e,rosette:K2e,rose:W2e,wilted_flower:Z2e,hibiscus:Y2e,sunflower:Q2e,blossom:J2e,tulip:X2e,seedling:eve,potted_plant:tve,evergreen_tree:nve,deciduous_tree:sve,palm_tree:ove,cactus:rve,ear_of_rice:ive,herb:ave,shamrock:lve,four_leaf_clover:cve,maple_leaf:uve,fallen_leaf:dve,leaves:fve,grapes:hve,melon:pve,watermelon:gve,tangerine:mve,orange:_ve,mandarin:bve,lemon:yve,banana:vve,pineapple:wve,mango:xve,apple:kve,green_apple:Eve,pear:Cve,peach:Ave,cherries:Sve,strawberry:Tve,blueberries:Ove,kiwi_fruit:Mve,tomato:Rve,olive:Nve,coconut:Dve,avocado:Lve,eggplant:Ive,potato:Pve,carrot:Fve,corn:Bve,hot_pepper:jve,bell_pepper:zve,cucumber:qve,leafy_green:$ve,broccoli:Uve,garlic:Hve,onion:Vve,mushroom:Gve,peanuts:Kve,chestnut:Wve,bread:Zve,croissant:Yve,baguette_bread:Qve,flatbread:Jve,pretzel:Xve,bagel:ewe,pancakes:twe,waffle:nwe,cheese:swe,meat_on_bone:owe,poultry_leg:rwe,cut_of_meat:iwe,bacon:awe,hamburger:lwe,fries:cwe,pizza:uwe,hotdog:dwe,sandwich:fwe,taco:hwe,burrito:pwe,tamale:gwe,stuffed_flatbread:mwe,falafel:_we,egg:bwe,fried_egg:ywe,shallow_pan_of_food:vwe,stew:wwe,fondue:xwe,bowl_with_spoon:kwe,green_salad:Ewe,popcorn:Cwe,butter:Awe,salt:Swe,canned_food:Twe,bento:Owe,rice_cracker:Mwe,rice_ball:Rwe,rice:Nwe,curry:Dwe,ramen:Lwe,spaghetti:Iwe,sweet_potato:Pwe,oden:Fwe,sushi:Bwe,fried_shrimp:jwe,fish_cake:zwe,moon_cake:qwe,dango:$we,dumpling:Uwe,fortune_cookie:Hwe,takeout_box:Vwe,crab:Gwe,lobster:Kwe,shrimp:Wwe,squid:Zwe,oyster:Ywe,icecream:Qwe,shaved_ice:Jwe,ice_cream:Xwe,doughnut:exe,cookie:txe,birthday:nxe,cake:sxe,cupcake:oxe,pie:rxe,chocolate_bar:ixe,candy:axe,lollipop:lxe,custard:cxe,honey_pot:uxe,baby_bottle:dxe,milk_glass:fxe,coffee:hxe,teapot:pxe,tea:gxe,sake:mxe,champagne:_xe,wine_glass:bxe,cocktail:yxe,tropical_drink:vxe,beer:wxe,beers:xxe,clinking_glasses:kxe,tumbler_glass:Exe,cup_with_straw:Cxe,bubble_tea:Axe,beverage_box:Sxe,mate:Txe,ice_cube:Oxe,chopsticks:Mxe,plate_with_cutlery:Rxe,fork_and_knife:Nxe,spoon:Dxe,hocho:Lxe,knife:Ixe,amphora:Pxe,earth_africa:Fxe,earth_americas:Bxe,earth_asia:jxe,globe_with_meridians:zxe,world_map:qxe,japan:$xe,compass:Uxe,mountain_snow:Hxe,mountain:Vxe,volcano:Gxe,mount_fuji:Kxe,camping:Wxe,beach_umbrella:Zxe,desert:Yxe,desert_island:Qxe,national_park:Jxe,stadium:Xxe,classical_building:eke,building_construction:tke,bricks:nke,rock:ske,wood:oke,hut:rke,houses:ike,derelict_house:ake,house:lke,house_with_garden:cke,office:uke,post_office:dke,european_post_office:fke,hospital:hke,bank:pke,hotel:gke,love_hotel:mke,convenience_store:_ke,school:bke,department_store:yke,factory:vke,japanese_castle:wke,european_castle:xke,wedding:kke,tokyo_tower:Eke,statue_of_liberty:Cke,church:Ake,mosque:Ske,hindu_temple:Tke,synagogue:Oke,shinto_shrine:Mke,kaaba:Rke,fountain:Nke,tent:Dke,foggy:Lke,night_with_stars:Ike,cityscape:Pke,sunrise_over_mountains:Fke,sunrise:Bke,city_sunset:jke,city_sunrise:zke,bridge_at_night:qke,hotsprings:$ke,carousel_horse:Uke,ferris_wheel:Hke,roller_coaster:Vke,barber:Gke,circus_tent:Kke,steam_locomotive:Wke,railway_car:Zke,bullettrain_side:Yke,bullettrain_front:Qke,train2:Jke,metro:Xke,light_rail:eEe,station:tEe,tram:nEe,monorail:sEe,mountain_railway:oEe,train:rEe,bus:iEe,oncoming_bus:aEe,trolleybus:lEe,minibus:cEe,ambulance:uEe,fire_engine:dEe,police_car:fEe,oncoming_police_car:hEe,taxi:pEe,oncoming_taxi:gEe,car:mEe,red_car:_Ee,oncoming_automobile:bEe,blue_car:yEe,pickup_truck:vEe,truck:wEe,articulated_lorry:xEe,tractor:kEe,racing_car:EEe,motorcycle:CEe,motor_scooter:AEe,manual_wheelchair:SEe,motorized_wheelchair:TEe,auto_rickshaw:OEe,bike:MEe,kick_scooter:REe,skateboard:NEe,roller_skate:DEe,busstop:LEe,motorway:IEe,railway_track:PEe,oil_drum:FEe,fuelpump:BEe,rotating_light:jEe,traffic_light:zEe,vertical_traffic_light:qEe,stop_sign:$Ee,construction:UEe,anchor:HEe,boat:VEe,sailboat:GEe,canoe:KEe,speedboat:WEe,passenger_ship:ZEe,ferry:YEe,motor_boat:QEe,ship:JEe,airplane:XEe,small_airplane:e5e,flight_departure:t5e,flight_arrival:n5e,parachute:s5e,seat:o5e,helicopter:r5e,suspension_railway:i5e,mountain_cableway:a5e,aerial_tramway:l5e,artificial_satellite:c5e,rocket:u5e,flying_saucer:d5e,bellhop_bell:f5e,luggage:h5e,hourglass:p5e,hourglass_flowing_sand:g5e,watch:m5e,alarm_clock:_5e,stopwatch:b5e,timer_clock:y5e,mantelpiece_clock:v5e,clock12:w5e,clock1230:x5e,clock1:k5e,clock130:E5e,clock2:C5e,clock230:A5e,clock3:S5e,clock330:T5e,clock4:O5e,clock430:M5e,clock5:R5e,clock530:N5e,clock6:D5e,clock630:L5e,clock7:I5e,clock730:P5e,clock8:F5e,clock830:B5e,clock9:j5e,clock930:z5e,clock10:q5e,clock1030:$5e,clock11:U5e,clock1130:H5e,new_moon:V5e,waxing_crescent_moon:G5e,first_quarter_moon:K5e,moon:W5e,waxing_gibbous_moon:Z5e,full_moon:Y5e,waning_gibbous_moon:Q5e,last_quarter_moon:J5e,waning_crescent_moon:X5e,crescent_moon:e4e,new_moon_with_face:t4e,first_quarter_moon_with_face:n4e,last_quarter_moon_with_face:s4e,thermometer:o4e,sunny:r4e,full_moon_with_face:i4e,sun_with_face:a4e,ringed_planet:l4e,star:c4e,star2:u4e,stars:d4e,milky_way:f4e,cloud:h4e,partly_sunny:p4e,cloud_with_lightning_and_rain:g4e,sun_behind_small_cloud:m4e,sun_behind_large_cloud:_4e,sun_behind_rain_cloud:b4e,cloud_with_rain:y4e,cloud_with_snow:v4e,cloud_with_lightning:w4e,tornado:x4e,fog:k4e,wind_face:E4e,cyclone:C4e,rainbow:A4e,closed_umbrella:S4e,open_umbrella:T4e,umbrella:O4e,parasol_on_ground:M4e,zap:R4e,snowflake:N4e,snowman_with_snow:D4e,snowman:L4e,comet:I4e,fire:P4e,droplet:F4e,ocean:B4e,jack_o_lantern:j4e,christmas_tree:z4e,fireworks:q4e,sparkler:$4e,firecracker:U4e,sparkles:H4e,balloon:V4e,tada:G4e,confetti_ball:K4e,tanabata_tree:W4e,bamboo:Z4e,dolls:Y4e,flags:Q4e,wind_chime:J4e,rice_scene:X4e,red_envelope:eCe,ribbon:tCe,gift:nCe,reminder_ribbon:sCe,tickets:oCe,ticket:rCe,medal_military:iCe,trophy:aCe,medal_sports:lCe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:cCe,baseball:uCe,softball:dCe,basketball:fCe,volleyball:hCe,football:pCe,rugby_football:gCe,tennis:mCe,flying_disc:_Ce,bowling:bCe,cricket_game:yCe,field_hockey:vCe,ice_hockey:wCe,lacrosse:xCe,ping_pong:kCe,badminton:ECe,boxing_glove:CCe,martial_arts_uniform:ACe,goal_net:SCe,golf:TCe,ice_skate:OCe,fishing_pole_and_fish:MCe,diving_mask:RCe,running_shirt_with_sash:NCe,ski:DCe,sled:LCe,curling_stone:ICe,dart:PCe,yo_yo:FCe,kite:BCe,"8ball":"🎱",crystal_ball:jCe,magic_wand:zCe,nazar_amulet:qCe,video_game:$Ce,joystick:UCe,slot_machine:HCe,game_die:VCe,jigsaw:GCe,teddy_bear:KCe,pinata:WCe,nesting_dolls:ZCe,spades:YCe,hearts:QCe,diamonds:JCe,clubs:XCe,chess_pawn:e3e,black_joker:t3e,mahjong:n3e,flower_playing_cards:s3e,performing_arts:o3e,framed_picture:r3e,art:i3e,thread:a3e,sewing_needle:l3e,yarn:c3e,knot:u3e,eyeglasses:d3e,dark_sunglasses:f3e,goggles:h3e,lab_coat:p3e,safety_vest:g3e,necktie:m3e,shirt:_3e,tshirt:b3e,jeans:y3e,scarf:v3e,gloves:w3e,coat:x3e,socks:k3e,dress:E3e,kimono:C3e,sari:A3e,one_piece_swimsuit:S3e,swim_brief:T3e,shorts:O3e,bikini:M3e,womans_clothes:R3e,purse:N3e,handbag:D3e,pouch:L3e,shopping:I3e,school_satchel:P3e,thong_sandal:F3e,mans_shoe:B3e,shoe:j3e,athletic_shoe:z3e,hiking_boot:q3e,flat_shoe:$3e,high_heel:U3e,sandal:H3e,ballet_shoes:V3e,boot:G3e,crown:K3e,womans_hat:W3e,tophat:Z3e,mortar_board:Y3e,billed_cap:Q3e,military_helmet:J3e,rescue_worker_helmet:X3e,prayer_beads:eAe,lipstick:tAe,ring:nAe,gem:sAe,mute:oAe,speaker:rAe,sound:iAe,loud_sound:aAe,loudspeaker:lAe,mega:cAe,postal_horn:uAe,bell:dAe,no_bell:fAe,musical_score:hAe,musical_note:pAe,notes:gAe,studio_microphone:mAe,level_slider:_Ae,control_knobs:bAe,microphone:yAe,headphones:vAe,radio:wAe,saxophone:xAe,accordion:kAe,guitar:EAe,musical_keyboard:CAe,trumpet:AAe,violin:SAe,banjo:TAe,drum:OAe,long_drum:MAe,iphone:RAe,calling:NAe,phone:DAe,telephone:LAe,telephone_receiver:IAe,pager:PAe,fax:FAe,battery:BAe,electric_plug:jAe,computer:zAe,desktop_computer:qAe,printer:$Ae,keyboard:UAe,computer_mouse:HAe,trackball:VAe,minidisc:GAe,floppy_disk:KAe,cd:WAe,dvd:ZAe,abacus:YAe,movie_camera:QAe,film_strip:JAe,film_projector:XAe,clapper:e8e,tv:t8e,camera:n8e,camera_flash:s8e,video_camera:o8e,vhs:r8e,mag:i8e,mag_right:a8e,candle:l8e,bulb:c8e,flashlight:u8e,izakaya_lantern:d8e,lantern:f8e,diya_lamp:h8e,notebook_with_decorative_cover:p8e,closed_book:g8e,book:m8e,open_book:_8e,green_book:b8e,blue_book:y8e,orange_book:v8e,books:w8e,notebook:x8e,ledger:k8e,page_with_curl:E8e,scroll:C8e,page_facing_up:A8e,newspaper:S8e,newspaper_roll:T8e,bookmark_tabs:O8e,bookmark:M8e,label:R8e,moneybag:N8e,coin:D8e,yen:L8e,dollar:I8e,euro:P8e,pound:F8e,money_with_wings:B8e,credit_card:j8e,receipt:z8e,chart:q8e,envelope:$8e,email:U8e,"e-mail":"📧",incoming_envelope:H8e,envelope_with_arrow:V8e,outbox_tray:G8e,inbox_tray:K8e,package:"📦",mailbox:W8e,mailbox_closed:Z8e,mailbox_with_mail:Y8e,mailbox_with_no_mail:Q8e,postbox:J8e,ballot_box:X8e,pencil2:e9e,black_nib:t9e,fountain_pen:n9e,pen:s9e,paintbrush:o9e,crayon:r9e,memo:i9e,pencil:a9e,briefcase:l9e,file_folder:c9e,open_file_folder:u9e,card_index_dividers:d9e,date:f9e,calendar:h9e,spiral_notepad:p9e,spiral_calendar:g9e,card_index:m9e,chart_with_upwards_trend:_9e,chart_with_downwards_trend:b9e,bar_chart:y9e,clipboard:v9e,pushpin:w9e,round_pushpin:x9e,paperclip:k9e,paperclips:E9e,straight_ruler:C9e,triangular_ruler:A9e,scissors:S9e,card_file_box:T9e,file_cabinet:O9e,wastebasket:M9e,lock:R9e,unlock:N9e,lock_with_ink_pen:D9e,closed_lock_with_key:L9e,key:I9e,old_key:P9e,hammer:F9e,axe:B9e,pick:j9e,hammer_and_pick:z9e,hammer_and_wrench:q9e,dagger:$9e,crossed_swords:U9e,gun:H9e,boomerang:V9e,bow_and_arrow:G9e,shield:K9e,carpentry_saw:W9e,wrench:Z9e,screwdriver:Y9e,nut_and_bolt:Q9e,gear:J9e,clamp:X9e,balance_scale:e6e,probing_cane:t6e,link:n6e,chains:s6e,hook:o6e,toolbox:r6e,magnet:i6e,ladder:a6e,alembic:l6e,test_tube:c6e,petri_dish:u6e,dna:d6e,microscope:f6e,telescope:h6e,satellite:p6e,syringe:g6e,drop_of_blood:m6e,pill:_6e,adhesive_bandage:b6e,stethoscope:y6e,door:v6e,elevator:w6e,mirror:x6e,window:k6e,bed:E6e,couch_and_lamp:C6e,chair:A6e,toilet:S6e,plunger:T6e,shower:O6e,bathtub:M6e,mouse_trap:R6e,razor:N6e,lotion_bottle:D6e,safety_pin:L6e,broom:I6e,basket:P6e,roll_of_paper:F6e,bucket:B6e,soap:j6e,toothbrush:z6e,sponge:q6e,fire_extinguisher:$6e,shopping_cart:U6e,smoking:H6e,coffin:V6e,headstone:G6e,funeral_urn:K6e,moyai:W6e,placard:Z6e,atm:Y6e,put_litter_in_its_place:Q6e,potable_water:J6e,wheelchair:X6e,mens:eSe,womens:tSe,restroom:nSe,baby_symbol:sSe,wc:oSe,passport_control:rSe,customs:iSe,baggage_claim:aSe,left_luggage:lSe,warning:cSe,children_crossing:uSe,no_entry:dSe,no_entry_sign:fSe,no_bicycles:hSe,no_smoking:pSe,do_not_litter:gSe,"non-potable_water":"🚱",no_pedestrians:mSe,no_mobile_phones:_Se,underage:bSe,radioactive:ySe,biohazard:vSe,arrow_up:wSe,arrow_upper_right:xSe,arrow_right:kSe,arrow_lower_right:ESe,arrow_down:CSe,arrow_lower_left:ASe,arrow_left:SSe,arrow_upper_left:TSe,arrow_up_down:OSe,left_right_arrow:MSe,leftwards_arrow_with_hook:RSe,arrow_right_hook:NSe,arrow_heading_up:DSe,arrow_heading_down:LSe,arrows_clockwise:ISe,arrows_counterclockwise:PSe,back:FSe,end:BSe,on:jSe,soon:zSe,top:qSe,place_of_worship:$Se,atom_symbol:USe,om:HSe,star_of_david:VSe,wheel_of_dharma:GSe,yin_yang:KSe,latin_cross:WSe,orthodox_cross:ZSe,star_and_crescent:YSe,peace_symbol:QSe,menorah:JSe,six_pointed_star:XSe,aries:eTe,taurus:tTe,gemini:nTe,cancer:sTe,leo:oTe,virgo:rTe,libra:iTe,scorpius:aTe,sagittarius:lTe,capricorn:cTe,aquarius:uTe,pisces:dTe,ophiuchus:fTe,twisted_rightwards_arrows:hTe,repeat:pTe,repeat_one:gTe,arrow_forward:mTe,fast_forward:_Te,next_track_button:bTe,play_or_pause_button:yTe,arrow_backward:vTe,rewind:wTe,previous_track_button:xTe,arrow_up_small:kTe,arrow_double_up:ETe,arrow_down_small:CTe,arrow_double_down:ATe,pause_button:STe,stop_button:TTe,record_button:OTe,eject_button:MTe,cinema:RTe,low_brightness:NTe,high_brightness:DTe,signal_strength:LTe,vibration_mode:ITe,mobile_phone_off:PTe,female_sign:FTe,male_sign:BTe,transgender_symbol:jTe,heavy_multiplication_x:zTe,heavy_plus_sign:qTe,heavy_minus_sign:$Te,heavy_division_sign:UTe,infinity:HTe,bangbang:VTe,interrobang:GTe,question:KTe,grey_question:WTe,grey_exclamation:ZTe,exclamation:YTe,heavy_exclamation_mark:QTe,wavy_dash:JTe,currency_exchange:XTe,heavy_dollar_sign:eOe,medical_symbol:tOe,recycle:nOe,fleur_de_lis:sOe,trident:oOe,name_badge:rOe,beginner:iOe,o:aOe,white_check_mark:lOe,ballot_box_with_check:cOe,heavy_check_mark:uOe,x:dOe,negative_squared_cross_mark:fOe,curly_loop:hOe,loop:pOe,part_alternation_mark:gOe,eight_spoked_asterisk:mOe,eight_pointed_black_star:_Oe,sparkle:bOe,copyright:yOe,registered:vOe,tm:wOe,hash:xOe,asterisk:kOe,zero:EOe,one:COe,two:AOe,three:SOe,four:TOe,five:OOe,six:MOe,seven:ROe,eight:NOe,nine:DOe,keycap_ten:LOe,capital_abcd:IOe,abcd:POe,symbols:FOe,abc:BOe,a:jOe,ab:zOe,b:qOe,cl:$Oe,cool:UOe,free:HOe,information_source:VOe,id:GOe,m:KOe,new:"🆕",ng:WOe,o2:ZOe,ok:YOe,parking:QOe,sos:JOe,up:XOe,vs:eMe,koko:tMe,sa:nMe,ideograph_advantage:sMe,accept:oMe,congratulations:rMe,secret:iMe,u6e80:aMe,red_circle:lMe,orange_circle:cMe,yellow_circle:uMe,green_circle:dMe,large_blue_circle:fMe,purple_circle:hMe,brown_circle:pMe,black_circle:gMe,white_circle:mMe,red_square:_Me,orange_square:bMe,yellow_square:yMe,green_square:vMe,blue_square:wMe,purple_square:xMe,brown_square:kMe,black_large_square:EMe,white_large_square:CMe,black_medium_square:AMe,white_medium_square:SMe,black_medium_small_square:TMe,white_medium_small_square:OMe,black_small_square:MMe,white_small_square:RMe,large_orange_diamond:NMe,large_blue_diamond:DMe,small_orange_diamond:LMe,small_blue_diamond:IMe,small_red_triangle:PMe,small_red_triangle_down:FMe,diamond_shape_with_a_dot_inside:BMe,radio_button:jMe,white_square_button:zMe,black_square_button:qMe,checkered_flag:$Me,triangular_flag_on_post:UMe,crossed_flags:HMe,black_flag:VMe,white_flag:GMe,rainbow_flag:KMe,transgender_flag:WMe,pirate_flag:ZMe,ascension_island:YMe,andorra:QMe,united_arab_emirates:JMe,afghanistan:XMe,antigua_barbuda:e7e,anguilla:t7e,albania:n7e,armenia:s7e,angola:o7e,antarctica:r7e,argentina:i7e,american_samoa:a7e,austria:l7e,australia:c7e,aruba:u7e,aland_islands:d7e,azerbaijan:f7e,bosnia_herzegovina:h7e,barbados:p7e,bangladesh:g7e,belgium:m7e,burkina_faso:_7e,bulgaria:b7e,bahrain:y7e,burundi:v7e,benin:w7e,st_barthelemy:x7e,bermuda:k7e,brunei:E7e,bolivia:C7e,caribbean_netherlands:A7e,brazil:S7e,bahamas:T7e,bhutan:O7e,bouvet_island:M7e,botswana:R7e,belarus:N7e,belize:D7e,canada:L7e,cocos_islands:I7e,congo_kinshasa:P7e,central_african_republic:F7e,congo_brazzaville:B7e,switzerland:j7e,cote_divoire:z7e,cook_islands:q7e,chile:$7e,cameroon:U7e,cn:H7e,colombia:V7e,clipperton_island:G7e,costa_rica:K7e,cuba:W7e,cape_verde:Z7e,curacao:Y7e,christmas_island:Q7e,cyprus:J7e,czech_republic:X7e,de:eRe,diego_garcia:tRe,djibouti:nRe,denmark:sRe,dominica:oRe,dominican_republic:rRe,algeria:iRe,ceuta_melilla:aRe,ecuador:lRe,estonia:cRe,egypt:uRe,western_sahara:dRe,eritrea:fRe,es:hRe,ethiopia:pRe,eu:gRe,european_union:mRe,finland:_Re,fiji:bRe,falkland_islands:yRe,micronesia:vRe,faroe_islands:wRe,fr:xRe,gabon:kRe,gb:ERe,uk:CRe,grenada:ARe,georgia:SRe,french_guiana:TRe,guernsey:ORe,ghana:MRe,gibraltar:RRe,greenland:NRe,gambia:DRe,guinea:LRe,guadeloupe:IRe,equatorial_guinea:PRe,greece:FRe,south_georgia_south_sandwich_islands:BRe,guatemala:jRe,guam:zRe,guinea_bissau:qRe,guyana:$Re,hong_kong:URe,heard_mcdonald_islands:HRe,honduras:VRe,croatia:GRe,haiti:KRe,hungary:WRe,canary_islands:ZRe,indonesia:YRe,ireland:QRe,israel:JRe,isle_of_man:XRe,india:eNe,british_indian_ocean_territory:tNe,iraq:nNe,iran:sNe,iceland:oNe,it:rNe,jersey:iNe,jamaica:aNe,jordan:lNe,jp:cNe,kenya:uNe,kyrgyzstan:dNe,cambodia:fNe,kiribati:hNe,comoros:pNe,st_kitts_nevis:gNe,north_korea:mNe,kr:_Ne,kuwait:bNe,cayman_islands:yNe,kazakhstan:vNe,laos:wNe,lebanon:xNe,st_lucia:kNe,liechtenstein:ENe,sri_lanka:CNe,liberia:ANe,lesotho:SNe,lithuania:TNe,luxembourg:ONe,latvia:MNe,libya:RNe,morocco:NNe,monaco:DNe,moldova:LNe,montenegro:INe,st_martin:PNe,madagascar:FNe,marshall_islands:BNe,macedonia:jNe,mali:zNe,myanmar:qNe,mongolia:$Ne,macau:UNe,northern_mariana_islands:HNe,martinique:VNe,mauritania:GNe,montserrat:KNe,malta:WNe,mauritius:ZNe,maldives:YNe,malawi:QNe,mexico:JNe,malaysia:XNe,mozambique:eDe,namibia:tDe,new_caledonia:nDe,niger:sDe,norfolk_island:oDe,nigeria:rDe,nicaragua:iDe,netherlands:aDe,norway:lDe,nepal:cDe,nauru:uDe,niue:dDe,new_zealand:fDe,oman:hDe,panama:pDe,peru:gDe,french_polynesia:mDe,papua_new_guinea:_De,philippines:bDe,pakistan:yDe,poland:vDe,st_pierre_miquelon:wDe,pitcairn_islands:xDe,puerto_rico:kDe,palestinian_territories:EDe,portugal:CDe,palau:ADe,paraguay:SDe,qatar:TDe,reunion:ODe,romania:MDe,serbia:RDe,ru:NDe,rwanda:DDe,saudi_arabia:LDe,solomon_islands:IDe,seychelles:PDe,sudan:FDe,sweden:BDe,singapore:jDe,st_helena:zDe,slovenia:qDe,svalbard_jan_mayen:$De,slovakia:UDe,sierra_leone:HDe,san_marino:VDe,senegal:GDe,somalia:KDe,suriname:WDe,south_sudan:ZDe,sao_tome_principe:YDe,el_salvador:QDe,sint_maarten:JDe,syria:XDe,swaziland:eLe,tristan_da_cunha:tLe,turks_caicos_islands:nLe,chad:sLe,french_southern_territories:oLe,togo:rLe,thailand:iLe,tajikistan:aLe,tokelau:lLe,timor_leste:cLe,turkmenistan:uLe,tunisia:dLe,tonga:fLe,tr:hLe,trinidad_tobago:pLe,tuvalu:gLe,taiwan:mLe,tanzania:_Le,ukraine:bLe,uganda:yLe,us_outlying_islands:vLe,united_nations:wLe,us:xLe,uruguay:kLe,uzbekistan:ELe,vatican_city:CLe,st_vincent_grenadines:ALe,venezuela:SLe,british_virgin_islands:TLe,us_virgin_islands:OLe,vietnam:MLe,vanuatu:RLe,wallis_futuna:NLe,samoa:DLe,kosovo:LLe,yemen:ILe,mayotte:PLe,south_africa:FLe,zambia:BLe,zimbabwe:jLe,england:zLe,scotland:qLe,wales:$Le};var HLe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(b[_-1])||_+v.lengthp&&(g=new h("text","",0),g.content=u.slice(p,_),m.push(g)),g=new h("emoji","",0),g.markup=x,g.content=n[x],m.push(g),p=_+v.length}),p=0;h--)v=m[h],(v.type==="link_open"||v.type==="link_close")&&v.info==="auto"&&(b-=v.nesting),v.type==="text"&&b===0&&o.test(v.content)&&(_[g].children=m=i(m,h,c(v.content,v.level,f.Token)))}};function KLe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var WLe=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 KLe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},ZLe=VLe,YLe=GLe,QLe=WLe,JLe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=QLe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=ZLe,e.core.ruler.after("linkify","emoji",YLe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},XLe=ULe,eIe=HLe,tIe=JLe,nIe=function(e,n){var s={defs:XLe,shortcuts:eIe,enabled:[]},o=e.utils.assign({},s,n||{});tIe(e,o)};const sIe=ts(nIe);var kd=!1,As={false:"push",true:"unshift",after:"push",before:"unshift"},kr={isPermalinkSymbol:!0};function il(t,e,n,s){var o;if(!kd){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),kd=!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:kr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[As[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[As[e.permalinkBefore]].apply(o,i)}function pg(t){return"#"+t}function gg(t){return{}}var oIe={class:"header-anchor",symbol:"#",renderHref:pg,renderAttrs:gg};function Do(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({},oIe),e.renderPermalinkImpl=t,e}var fi=Do(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:kr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[As[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[As[e.placement]].apply(r,i)});Object.assign(fi.defaults,{space:!0,placement:"after",ariaHidden:!1});var Pn=Do(fi.renderPermalinkImpl);Pn.defaults=Object.assign({},fi.defaults,{ariaHidden:!0});var mg=Do(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(mg.defaults,{safariReaderFix:!1});var Ed=Do(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(f){return f.type==="text"||f.type==="code_inline"}).reduce(function(f,h){return f+h.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[As[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[As[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:kr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:kr}));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]+` +`);return s};Hs.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 $le(t){return/^<\/a\s*>/i.test(t)}var Ule=function(e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b=e.tokens,x;if(e.md.options.linkify){for(s=0,o=b.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"&&(qle(a.content)&&p>0&&p--,$le(a.content)&&p++),!(p>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],g=a.level,h=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;ch&&(i=new e.Token("text","",0),i.content=u.slice(h,f),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],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),h=x[c].lastIndex);h=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(Vle,Kle)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Zle(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&Qp.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 Yle=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Hle.test(e.tokens[n].content)&&Wle(e.tokens[n].children),Qp.test(e.tokens[n].content)&&Zle(e.tokens[n].children))},Xu=ze.isWhiteSpace,ed=ze.isPunctChar,td=ze.isMdAsciiPunct,Qle=/['"]/,nd=/['"]/g,sd="’";function Ho(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Jle(t,e){var n,s,o,r,i,a,l,c,u,f,h,g,p,m,v,_,b,x,C,R,T;for(C=[],n=0;n=0&&!(C[b].level<=l);b--);if(C.length=b+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(b=n-1;b>=0&&!(t[b].type==="softbreak"||t[b].type==="hardbreak");b--)if(t[b].content){u=t[b].content.charCodeAt(t[b].content.length-1);break}if(f=32,i=48&&u<=57&&(_=v=!1),v&&_&&(v=h,_=g),!v&&!_){x&&(s.content=Ho(s.content,r.index,sd));continue}if(_){for(b=C.length-1;b>=0&&(c=C[b],!(C[b].level=0;n--)e.tokens[n].type!=="inline"||!Qle.test(e.tokens[n].content)||Jle(e.tokens[n].children,e)},ece=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};Vs.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 Ql=Vs,tce=Ql;function Jp(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Jp.prototype.Token=tce;var nce=Jp,sce=Yl,Fi=[["normalize",Fle],["block",Ble],["inline",jle],["linkify",Ule],["replacements",Yle],["smartquotes",Xle],["text_join",ece]];function Jl(){this.ruler=new sce;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]||(T=e.src.charCodeAt(a++),T!==124&&T!==45&&T!==58&&!Bi(T))||R===45&&Bi(T))return!1;for(;a=4||(f=od(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==p.length))return!1;if(o)return!0;for(b=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=v=[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(f=od(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.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},ace=function(e,n,s,o){var r,i,a,l,c,u,f,h=!1,g=e.bMarks[n]+e.tShift[n],p=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>p||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(f=e.src.slice(c,g),a=e.src.slice(g,p),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],p=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(S++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,C=!0):e.src.charCodeAt(S)===9?(C=!0,(e.bsCount[n]+g)%4===3?(S++,l++,g++,r=!1):r=!0):C=!1,p=[e.bMarks[n]],e.bMarks[n]=S;S=L,b=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],T=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",h=n+1;h=L));h++){if(e.src.charCodeAt(S++)===62&&!y){for(l=g=e.sCount[h]+1,e.src.charCodeAt(S)===32?(S++,l++,g++,r=!1,C=!0):e.src.charCodeAt(S)===9?(C=!0,(e.bsCount[h]+g)%4===3?(S++,l++,g++,r=!1):r=!0):C=!1,p.push(e.bMarks[h]),e.bMarks[h]=S;S=L,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),b.push(e.sCount[h]),e.sCount[h]=g-l,x.push(e.tShift[h]),e.tShift[h]=S-e.bMarks[h];continue}if(u)break;for(R=!1,a=0,c=T.length;a",D.map=f=[n,0],e.md.block.tokenize(e,n,h),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,f[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(A=!0),(L=ad(e,n))>=0){if(f=!0,Y=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Y,L-1)),A&&_!==1)return!1}else if((L=id(e,n))>=0)f=!1;else return!1;if(A&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(v=e.src.charCodeAt(L-1),o)return!0;for(m=e.tokens.length,f?(W=e.push("ordered_list_open","ol",1),_!==1&&(W.attrs=[["start",_]])):W=e.push("bullet_list_open","ul",1),W.map=p=[n,0],W.markup=String.fromCharCode(v),x=n,F=!1,ae=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";x=b?c=1:c=C-u,c>4&&(c=1),l=u+c,W=e.push("list_item_open","li",1),W.markup=String.fromCharCode(v),W.map=h=[n,0],f&&(W.info=e.src.slice(Y,L-1)),k=e.tight,y=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]=C,i>=b&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&($=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=y,e.sCount[n]=D,e.tight=k,W=e.push("list_item_close","li",-1),W.markup=String.fromCharCode(v),x=n=e.line,h[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=ae.length;a=4||e.src.charCodeAt(T)!==91)return!1;for(;++T3)&&!(e.sCount[y]<0)){for(b=!1,u=0,f=x.length;u"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:c}),e.parentType=p,e.line=n+R+1),!0)},gce=["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"],ii={},mce="[a-zA-Z_:][a-zA-Z0-9:._-]*",_ce="[^\"'=<>`\\x00-\\x20]+",bce="'[^']*'",yce='"[^"]*"',vce="(?:"+_ce+"|"+bce+"|"+yce+")",wce="(?:\\s+"+mce+"(?:\\s*=\\s*"+vce+")?)",eg="<[A-Za-z][A-Za-z0-9\\-]*"+wce+"*\\s*\\/?>",tg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",xce="|",kce="<[?][\\s\\S]*?[?]>",Ece="]*>",Cce="",Ace=new RegExp("^(?:"+eg+"|"+tg+"|"+xce+"|"+kce+"|"+Ece+"|"+Cce+")"),Sce=new RegExp("^(?:"+eg+"|"+tg+")");ii.HTML_TAG_RE=Ace;ii.HTML_OPEN_CLOSE_TAG_RE=Sce;var Tce=gce,Oce=ii.HTML_OPEN_CLOSE_TAG_RE,is=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Oce.source+"\\s*$"),/^$/,!1]],Mce=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&&ld(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)},Nce=function(e,n,s){var o,r,i,a,l,c,u,f,h,g=n+1,p,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(p=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)))){f=h===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=m.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Yt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Yt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!ai(this.src.charCodeAt(--e)))return e+1;return e};Yt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Yt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,u,f,h=e;if(e>=n)return"";for(u=new Array(n-e),r=0;hs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):u[r]=this.src.slice(l,c)}return u.join("")};Yt.prototype.Token=ng;var Lce=Yt,Ice=Yl,Go=[["table",rce,["paragraph","reference"]],["code",ice],["fence",ace,["paragraph","reference","blockquote","list"]],["blockquote",lce,["paragraph","reference","blockquote","list"]],["hr",uce,["paragraph","reference","blockquote","list"]],["list",fce,["paragraph","reference","blockquote"]],["reference",pce],["html_block",Mce,["paragraph","reference","blockquote"]],["heading",Rce,["paragraph","reference","blockquote"]],["lheading",Nce],["paragraph",Dce]];function li(){this.ruler=new Ice;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(jce),!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)},qce=ze.isSpace,$ce=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){Xl[t.charCodeAt(0)]=1});var Hce=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&Xl[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Vce=function(e,n){var s,o,r,i,a,l,c,u,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(s=f,f++,o=e.posMax;f=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}ui.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(dd(e,e.delimiters),n=0;n=m)return!1;if(v=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?l=c.pos:h="",v=l;l=m||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(v,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Gce(r)],!u)return e.pos=p,!1;h=u.href,g=u.title}return n||(e.pos=a,e.posMax=i,f=e.push("link_open","a",1),f.attrs=s=[["href",h]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},Wce=ze.normalizeReference,qi=ze.isSpace,Zce=function(e,n){var s,o,r,i,a,l,c,u,f,h,g,p,m,v="",_=e.pos,b=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=b)return!1;for(m=c,f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?c=f.pos:v=""),m=c;c=b||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(m,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Wce(i)],!u)return e.pos=_,!1;v=u.href,h=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,p=[]),g=e.push("image","img",0),g.attrs=s=[["src",v],["alt",""]],g.children=p,g.content=r,h&&s.push(["title",h])),e.pos=c,e.posMax=b,!0},Yce=/^([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])?)*)$/,Qce=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Jce=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),Qce.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):Yce.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},Xce=ii.HTML_TAG_RE;function eue(t){return/^\s]/i.test(t)}function tue(t){return/^<\/a\s*>/i.test(t)}function nue(t){var e=t|32;return e>=97&&e<=122}var sue=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&&!nue(s))||(o=e.src.slice(a).match(Xce),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),eue(i.content)&&e.linkLevel++,tue(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},fd=Kp,oue=ze.has,rue=ze.isValidEntityCode,hd=ze.fromCodePoint,iue=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,aue=/^&([a-z][a-z0-9]{1,31});/i,lue=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(iue),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=rue(o)?hd(o):hd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(aue),r&&oue(fd,r[1]))return n||(i=e.push("text_special","",0),i.content=fd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function pd(t,e){var n,s,o,r,i,a,l,c,u={},f=e.length;if(f){var h=0,g=-2,p=[];for(n=0;ni;s-=p[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?p[s-1]+1:0,p[n]=n-s+c,p[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 cue=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(pd(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Ro.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,f,h=!0,g=!0,p=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};No.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}),Hi}function ol(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 di(t){return Object.prototype.toString.call(t)}function pue(t){return di(t)==="[object String]"}function gue(t){return di(t)==="[object Object]"}function mue(t){return di(t)==="[object RegExp]"}function vd(t){return di(t)==="[object Function]"}function _ue(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var sg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function bue(t){return Object.keys(t||{}).reduce(function(e,n){return e||sg.hasOwnProperty(n)},!1)}var yue={"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}}},vue="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]",wue="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function xue(t){t.__index__=-1,t.__text_cache__=""}function kue(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function wd(){return function(t,e){e.normalize(t)}}function xr(t){var e=t.re=hue()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(vue),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,gue(l)){mue(l.validate)?c.validate=kue(l.validate):vd(l.validate)?c.validate=l.validate:r(a,l),vd(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=wd();return}if(pue(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:wd()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(_ue).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"),xue(t)}function Eue(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 rl(t,e){var n=new Eue(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function mt(t,e){if(!(this instanceof mt))return new mt(t,e);e||bue(t)&&(e=t,t={}),this.__opts__=ol({},sg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ol({},yue,t),this.__compiled__={},this.__tlds__=wue,this.__tlds_replaced__=!1,this.re={},xr(this)}mt.prototype.add=function(e,n){return this.__schemas__[e]=n,xr(this),this};mt.prototype.set=function(e){return this.__opts__=ol(this.__opts__,e),this};mt.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};mt.prototype.pretest=function(e){return this.re.pretest.test(e)};mt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};mt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(rl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(rl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};mt.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,rl(this,0)):null};mt.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(),xr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,xr(this),this)};mt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};mt.prototype.onCompile=function(){};var Cue=mt;const bs=2147483647,$t=36,tc=1,xo=26,Aue=38,Sue=700,og=72,rg=128,ig="-",Tue=/^xn--/,Oue=/[^\0-\x7F]/,Mue=/[\x2E\u3002\uFF0E\uFF61]/g,Rue={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Vi=$t-tc,Ut=Math.floor,Gi=String.fromCharCode;function bn(t){throw new RangeError(Rue[t])}function Nue(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function ag(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Mue,".");const o=t.split("."),r=Nue(o,e).join(".");return s+r}function nc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Due=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:$t},xd=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},cg=function(t,e,n){let s=0;for(t=n?Ut(t/Sue):t>>1,t+=Ut(t/e);t>Vi*xo>>1;s+=$t)t=Ut(t/Vi);return Ut(s+(Vi+1)*t/(t+Aue))},sc=function(t){const e=[],n=t.length;let s=0,o=rg,r=og,i=t.lastIndexOf(ig);i<0&&(i=0);for(let a=0;a=128&&bn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&bn("invalid-input");const h=Due(t.charCodeAt(a++));h>=$t&&bn("invalid-input"),h>Ut((bs-s)/u)&&bn("overflow"),s+=h*u;const g=f<=r?tc:f>=r+xo?xo:f-r;if(hUt(bs/p)&&bn("overflow"),u*=p}const c=e.length+1;r=cg(s-l,c,l==0),Ut(s/c)>bs-o&&bn("overflow"),o+=Ut(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},oc=function(t){const e=[];t=nc(t);const n=t.length;let s=rg,o=0,r=og;for(const l of t)l<128&&e.push(Gi(l));const i=e.length;let a=i;for(i&&e.push(ig);a=s&&uUt((bs-o)/c)&&bn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(ubs&&bn("overflow"),u===s){let f=o;for(let h=$t;;h+=$t){const g=h<=r?tc:h>=r+xo?xo:h-r;if(f=0))try{e.hostname=fg.toASCII(e.hostname)}catch{}return Hn.encode(Hn.format(e))}function Que(t){var e=Hn.parse(t,!0);if(e.hostname&&(!e.protocol||hg.indexOf(e.protocol)>=0))try{e.hostname=fg.toUnicode(e.hostname)}catch{}return Hn.decode(Hn.format(e),Hn.decode.defaultChars+"%")}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||oo.isString(t)||(e=t||{},t="default"),this.inline=new Hue,this.block=new Uue,this.core=new $ue,this.renderer=new que,this.linkify=new Vue,this.validateLink=Zue,this.normalizeLink=Yue,this.normalizeLinkText=Que,this.utils=oo,this.helpers=oo.assign({},zue),this.options={},this.configure(t),e&&this.set(e)}Ct.prototype.set=function(t){return oo.assign(this.options,t),this};Ct.prototype.configure=function(t){var e=this,n;if(oo.isString(t)&&(n=t,t=Gue[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Ct.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Ct.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Ct.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Ct.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Ct.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Ct.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Ct.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Jue=Ct,Xue=Jue;const ede=ts(Xue),tde="😀",nde="😃",sde="😄",ode="😁",rde="😆",ide="😆",ade="😅",lde="🤣",cde="😂",ude="🙂",dde="🙃",fde="😉",hde="😊",pde="😇",gde="🥰",mde="😍",_de="🤩",bde="😘",yde="😗",vde="☺️",wde="😚",xde="😙",kde="🥲",Ede="😋",Cde="😛",Ade="😜",Sde="🤪",Tde="😝",Ode="🤑",Mde="🤗",Rde="🤭",Nde="🤫",Dde="🤔",Lde="🤐",Ide="🤨",Pde="😐",Fde="😑",Bde="😶",jde="😏",zde="😒",qde="🙄",$de="😬",Ude="🤥",Hde="😌",Vde="😔",Gde="😪",Kde="🤤",Wde="😴",Zde="😷",Yde="🤒",Qde="🤕",Jde="🤢",Xde="🤮",efe="🤧",tfe="🥵",nfe="🥶",sfe="🥴",ofe="😵",rfe="🤯",ife="🤠",afe="🥳",lfe="🥸",cfe="😎",ufe="🤓",dfe="🧐",ffe="😕",hfe="😟",pfe="🙁",gfe="☹️",mfe="😮",_fe="😯",bfe="😲",yfe="😳",vfe="🥺",wfe="😦",xfe="😧",kfe="😨",Efe="😰",Cfe="😥",Afe="😢",Sfe="😭",Tfe="😱",Ofe="😖",Mfe="😣",Rfe="😞",Nfe="😓",Dfe="😩",Lfe="😫",Ife="🥱",Pfe="😤",Ffe="😡",Bfe="😡",jfe="😠",zfe="🤬",qfe="😈",$fe="👿",Ufe="💀",Hfe="☠️",Vfe="💩",Gfe="💩",Kfe="💩",Wfe="🤡",Zfe="👹",Yfe="👺",Qfe="👻",Jfe="👽",Xfe="👾",ehe="🤖",the="😺",nhe="😸",she="😹",ohe="😻",rhe="😼",ihe="😽",ahe="🙀",lhe="😿",che="😾",uhe="🙈",dhe="🙉",fhe="🙊",hhe="💋",phe="💌",ghe="💘",mhe="💝",_he="💖",bhe="💗",yhe="💓",vhe="💞",whe="💕",xhe="💟",khe="❣️",Ehe="💔",Che="❤️",Ahe="🧡",She="💛",The="💚",Ohe="💙",Mhe="💜",Rhe="🤎",Nhe="🖤",Dhe="🤍",Lhe="💢",Ihe="💥",Phe="💥",Fhe="💫",Bhe="💦",jhe="💨",zhe="🕳️",qhe="💣",$he="💬",Uhe="👁️‍🗨️",Hhe="🗨️",Vhe="🗯️",Ghe="💭",Khe="💤",Whe="👋",Zhe="🤚",Yhe="🖐️",Qhe="✋",Jhe="✋",Xhe="🖖",epe="👌",tpe="🤌",npe="🤏",spe="✌️",ope="🤞",rpe="🤟",ipe="🤘",ape="🤙",lpe="👈",cpe="👉",upe="👆",dpe="🖕",fpe="🖕",hpe="👇",ppe="☝️",gpe="👍",mpe="👎",_pe="✊",bpe="✊",ype="👊",vpe="👊",wpe="👊",xpe="🤛",kpe="🤜",Epe="👏",Cpe="🙌",Ape="👐",Spe="🤲",Tpe="🤝",Ope="🙏",Mpe="✍️",Rpe="💅",Npe="🤳",Dpe="💪",Lpe="🦾",Ipe="🦿",Ppe="🦵",Fpe="🦶",Bpe="👂",jpe="🦻",zpe="👃",qpe="🧠",$pe="🫀",Upe="🫁",Hpe="🦷",Vpe="🦴",Gpe="👀",Kpe="👁️",Wpe="👅",Zpe="👄",Ype="👶",Qpe="🧒",Jpe="👦",Xpe="👧",ege="🧑",tge="👱",nge="👨",sge="🧔",oge="👨‍🦰",rge="👨‍🦱",ige="👨‍🦳",age="👨‍🦲",lge="👩",cge="👩‍🦰",uge="🧑‍🦰",dge="👩‍🦱",fge="🧑‍🦱",hge="👩‍🦳",pge="🧑‍🦳",gge="👩‍🦲",mge="🧑‍🦲",_ge="👱‍♀️",bge="👱‍♀️",yge="👱‍♂️",vge="🧓",wge="👴",xge="👵",kge="🙍",Ege="🙍‍♂️",Cge="🙍‍♀️",Age="🙎",Sge="🙎‍♂️",Tge="🙎‍♀️",Oge="🙅",Mge="🙅‍♂️",Rge="🙅‍♂️",Nge="🙅‍♀️",Dge="🙅‍♀️",Lge="🙆",Ige="🙆‍♂️",Pge="🙆‍♀️",Fge="💁",Bge="💁",jge="💁‍♂️",zge="💁‍♂️",qge="💁‍♀️",$ge="💁‍♀️",Uge="🙋",Hge="🙋‍♂️",Vge="🙋‍♀️",Gge="🧏",Kge="🧏‍♂️",Wge="🧏‍♀️",Zge="🙇",Yge="🙇‍♂️",Qge="🙇‍♀️",Jge="🤦",Xge="🤦‍♂️",eme="🤦‍♀️",tme="🤷",nme="🤷‍♂️",sme="🤷‍♀️",ome="🧑‍⚕️",rme="👨‍⚕️",ime="👩‍⚕️",ame="🧑‍🎓",lme="👨‍🎓",cme="👩‍🎓",ume="🧑‍🏫",dme="👨‍🏫",fme="👩‍🏫",hme="🧑‍⚖️",pme="👨‍⚖️",gme="👩‍⚖️",mme="🧑‍🌾",_me="👨‍🌾",bme="👩‍🌾",yme="🧑‍🍳",vme="👨‍🍳",wme="👩‍🍳",xme="🧑‍🔧",kme="👨‍🔧",Eme="👩‍🔧",Cme="🧑‍🏭",Ame="👨‍🏭",Sme="👩‍🏭",Tme="🧑‍💼",Ome="👨‍💼",Mme="👩‍💼",Rme="🧑‍🔬",Nme="👨‍🔬",Dme="👩‍🔬",Lme="🧑‍💻",Ime="👨‍💻",Pme="👩‍💻",Fme="🧑‍🎤",Bme="👨‍🎤",jme="👩‍🎤",zme="🧑‍🎨",qme="👨‍🎨",$me="👩‍🎨",Ume="🧑‍✈️",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="👷‍♀️",f_e="🤴",h_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="👩‍🍼",O_e="👨‍🍼",M_e="🧑‍🍼",R_e="👼",N_e="🎅",D_e="🤶",L_e="🧑‍🎄",I_e="🦸",P_e="🦸‍♂️",F_e="🦸‍♀️",B_e="🦹",j_e="🦹‍♂️",z_e="🦹‍♀️",q_e="🧙",$_e="🧙‍♂️",U_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="💇",f1e="💇‍♂️",h1e="💇‍♀️",p1e="🚶",g1e="🚶‍♂️",m1e="🚶‍♀️",_1e="🧍",b1e="🧍‍♂️",y1e="🧍‍♀️",v1e="🧎",w1e="🧎‍♂️",x1e="🧎‍♀️",k1e="🧑‍🦯",E1e="👨‍🦯",C1e="👩‍🦯",A1e="🧑‍🦼",S1e="👨‍🦼",T1e="👩‍🦼",O1e="🧑‍🦽",M1e="👨‍🦽",R1e="👩‍🦽",N1e="🏃",D1e="🏃",L1e="🏃‍♂️",I1e="🏃‍♀️",P1e="💃",F1e="💃",B1e="🕺",j1e="🕴️",z1e="👯",q1e="👯‍♂️",$1e="👯‍♀️",U1e="🧖",H1e="🧖‍♂️",V1e="🧖‍♀️",G1e="🧗",K1e="🧗‍♂️",W1e="🧗‍♀️",Z1e="🤺",Y1e="🏇",Q1e="⛷️",J1e="🏂",X1e="🏌️",e0e="🏌️‍♂️",t0e="🏌️‍♀️",n0e="🏄",s0e="🏄‍♂️",o0e="🏄‍♀️",r0e="🚣",i0e="🚣‍♂️",a0e="🚣‍♀️",l0e="🏊",c0e="🏊‍♂️",u0e="🏊‍♀️",d0e="⛹️",f0e="⛹️‍♂️",h0e="⛹️‍♂️",p0e="⛹️‍♀️",g0e="⛹️‍♀️",m0e="🏋️",_0e="🏋️‍♂️",b0e="🏋️‍♀️",y0e="🚴",v0e="🚴‍♂️",w0e="🚴‍♀️",x0e="🚵",k0e="🚵‍♂️",E0e="🚵‍♀️",C0e="🤸",A0e="🤸‍♂️",S0e="🤸‍♀️",T0e="🤼",O0e="🤼‍♂️",M0e="🤼‍♀️",R0e="🤽",N0e="🤽‍♂️",D0e="🤽‍♀️",L0e="🤾",I0e="🤾‍♂️",P0e="🤾‍♀️",F0e="🤹",B0e="🤹‍♂️",j0e="🤹‍♀️",z0e="🧘",q0e="🧘‍♂️",$0e="🧘‍♀️",U0e="🛀",H0e="🛌",V0e="🧑‍🤝‍🧑",G0e="👭",K0e="👫",W0e="👬",Z0e="💏",Y0e="👩‍❤️‍💋‍👨",Q0e="👨‍❤️‍💋‍👨",J0e="👩‍❤️‍💋‍👩",X0e="💑",ebe="👩‍❤️‍👨",tbe="👨‍❤️‍👨",nbe="👩‍❤️‍👩",sbe="👪",obe="👨‍👩‍👦",rbe="👨‍👩‍👧",ibe="👨‍👩‍👧‍👦",abe="👨‍👩‍👦‍👦",lbe="👨‍👩‍👧‍👧",cbe="👨‍👨‍👦",ube="👨‍👨‍👧",dbe="👨‍👨‍👧‍👦",fbe="👨‍👨‍👦‍👦",hbe="👨‍👨‍👧‍👧",pbe="👩‍👩‍👦",gbe="👩‍👩‍👧",mbe="👩‍👩‍👧‍👦",_be="👩‍👩‍👦‍👦",bbe="👩‍👩‍👧‍👧",ybe="👨‍👦",vbe="👨‍👦‍👦",wbe="👨‍👧",xbe="👨‍👧‍👦",kbe="👨‍👧‍👧",Ebe="👩‍👦",Cbe="👩‍👦‍👦",Abe="👩‍👧",Sbe="👩‍👧‍👦",Tbe="👩‍👧‍👧",Obe="🗣️",Mbe="👤",Rbe="👥",Nbe="🫂",Dbe="👣",Lbe="🐵",Ibe="🐒",Pbe="🦍",Fbe="🦧",Bbe="🐶",jbe="🐕",zbe="🦮",qbe="🐕‍🦺",$be="🐩",Ube="🐺",Hbe="🦊",Vbe="🦝",Gbe="🐱",Kbe="🐈",Wbe="🐈‍⬛",Zbe="🦁",Ybe="🐯",Qbe="🐅",Jbe="🐆",Xbe="🐴",eye="🐎",tye="🦄",nye="🦓",sye="🦌",oye="🦬",rye="🐮",iye="🐂",aye="🐃",lye="🐄",cye="🐷",uye="🐖",dye="🐗",fye="🐽",hye="🐏",pye="🐑",gye="🐐",mye="🐪",_ye="🐫",bye="🦙",yye="🦒",vye="🐘",wye="🦣",xye="🦏",kye="🦛",Eye="🐭",Cye="🐁",Aye="🐀",Sye="🐹",Tye="🐰",Oye="🐇",Mye="🐿️",Rye="🦫",Nye="🦔",Dye="🦇",Lye="🐻",Iye="🐻‍❄️",Pye="🐨",Fye="🐼",Bye="🦥",jye="🦦",zye="🦨",qye="🦘",$ye="🦡",Uye="🐾",Hye="🐾",Vye="🦃",Gye="🐔",Kye="🐓",Wye="🐣",Zye="🐤",Yye="🐥",Qye="🐦",Jye="🐧",Xye="🕊️",e2e="🦅",t2e="🦆",n2e="🦢",s2e="🦉",o2e="🦤",r2e="🪶",i2e="🦩",a2e="🦚",l2e="🦜",c2e="🐸",u2e="🐊",d2e="🐢",f2e="🦎",h2e="🐍",p2e="🐲",g2e="🐉",m2e="🦕",_2e="🐳",b2e="🐋",y2e="🐬",v2e="🐬",w2e="🦭",x2e="🐟",k2e="🐠",E2e="🐡",C2e="🦈",A2e="🐙",S2e="🐚",T2e="🐌",O2e="🦋",M2e="🐛",R2e="🐜",N2e="🐝",D2e="🐝",L2e="🪲",I2e="🐞",P2e="🦗",F2e="🪳",B2e="🕷️",j2e="🕸️",z2e="🦂",q2e="🦟",$2e="🪰",U2e="🪱",H2e="🦠",V2e="💐",G2e="🌸",K2e="💮",W2e="🏵️",Z2e="🌹",Y2e="🥀",Q2e="🌺",J2e="🌻",X2e="🌼",eve="🌷",tve="🌱",nve="🪴",sve="🌲",ove="🌳",rve="🌴",ive="🌵",ave="🌾",lve="🌿",cve="☘️",uve="🍀",dve="🍁",fve="🍂",hve="🍃",pve="🍇",gve="🍈",mve="🍉",_ve="🍊",bve="🍊",yve="🍊",vve="🍋",wve="🍌",xve="🍍",kve="🥭",Eve="🍎",Cve="🍏",Ave="🍐",Sve="🍑",Tve="🍒",Ove="🍓",Mve="🫐",Rve="🥝",Nve="🍅",Dve="🫒",Lve="🥥",Ive="🥑",Pve="🍆",Fve="🥔",Bve="🥕",jve="🌽",zve="🌶️",qve="🫑",$ve="🥒",Uve="🥬",Hve="🥦",Vve="🧄",Gve="🧅",Kve="🍄",Wve="🥜",Zve="🌰",Yve="🍞",Qve="🥐",Jve="🥖",Xve="🫓",ewe="🥨",twe="🥯",nwe="🥞",swe="🧇",owe="🧀",rwe="🍖",iwe="🍗",awe="🥩",lwe="🥓",cwe="🍔",uwe="🍟",dwe="🍕",fwe="🌭",hwe="🥪",pwe="🌮",gwe="🌯",mwe="🫔",_we="🥙",bwe="🧆",ywe="🥚",vwe="🍳",wwe="🥘",xwe="🍲",kwe="🫕",Ewe="🥣",Cwe="🥗",Awe="🍿",Swe="🧈",Twe="🧂",Owe="🥫",Mwe="🍱",Rwe="🍘",Nwe="🍙",Dwe="🍚",Lwe="🍛",Iwe="🍜",Pwe="🍝",Fwe="🍠",Bwe="🍢",jwe="🍣",zwe="🍤",qwe="🍥",$we="🥮",Uwe="🍡",Hwe="🥟",Vwe="🥠",Gwe="🥡",Kwe="🦀",Wwe="🦞",Zwe="🦐",Ywe="🦑",Qwe="🦪",Jwe="🍦",Xwe="🍧",exe="🍨",txe="🍩",nxe="🍪",sxe="🎂",oxe="🍰",rxe="🧁",ixe="🥧",axe="🍫",lxe="🍬",cxe="🍭",uxe="🍮",dxe="🍯",fxe="🍼",hxe="🥛",pxe="☕",gxe="🫖",mxe="🍵",_xe="🍶",bxe="🍾",yxe="🍷",vxe="🍸",wxe="🍹",xxe="🍺",kxe="🍻",Exe="🥂",Cxe="🥃",Axe="🥤",Sxe="🧋",Txe="🧃",Oxe="🧉",Mxe="🧊",Rxe="🥢",Nxe="🍽️",Dxe="🍴",Lxe="🥄",Ixe="🔪",Pxe="🔪",Fxe="🏺",Bxe="🌍",jxe="🌎",zxe="🌏",qxe="🌐",$xe="🗺️",Uxe="🗾",Hxe="🧭",Vxe="🏔️",Gxe="⛰️",Kxe="🌋",Wxe="🗻",Zxe="🏕️",Yxe="🏖️",Qxe="🏜️",Jxe="🏝️",Xxe="🏞️",eke="🏟️",tke="🏛️",nke="🏗️",ske="🧱",oke="🪨",rke="🪵",ike="🛖",ake="🏘️",lke="🏚️",cke="🏠",uke="🏡",dke="🏢",fke="🏣",hke="🏤",pke="🏥",gke="🏦",mke="🏨",_ke="🏩",bke="🏪",yke="🏫",vke="🏬",wke="🏭",xke="🏯",kke="🏰",Eke="💒",Cke="🗼",Ake="🗽",Ske="⛪",Tke="🕌",Oke="🛕",Mke="🕍",Rke="⛩️",Nke="🕋",Dke="⛲",Lke="⛺",Ike="🌁",Pke="🌃",Fke="🏙️",Bke="🌄",jke="🌅",zke="🌆",qke="🌇",$ke="🌉",Uke="♨️",Hke="🎠",Vke="🎡",Gke="🎢",Kke="💈",Wke="🎪",Zke="🚂",Yke="🚃",Qke="🚄",Jke="🚅",Xke="🚆",eEe="🚇",tEe="🚈",nEe="🚉",sEe="🚊",oEe="🚝",rEe="🚞",iEe="🚋",aEe="🚌",lEe="🚍",cEe="🚎",uEe="🚐",dEe="🚑",fEe="🚒",hEe="🚓",pEe="🚔",gEe="🚕",mEe="🚖",_Ee="🚗",bEe="🚗",yEe="🚘",vEe="🚙",wEe="🛻",xEe="🚚",kEe="🚛",EEe="🚜",CEe="🏎️",AEe="🏍️",SEe="🛵",TEe="🦽",OEe="🦼",MEe="🛺",REe="🚲",NEe="🛴",DEe="🛹",LEe="🛼",IEe="🚏",PEe="🛣️",FEe="🛤️",BEe="🛢️",jEe="⛽",zEe="🚨",qEe="🚥",$Ee="🚦",UEe="🛑",HEe="🚧",VEe="⚓",GEe="⛵",KEe="⛵",WEe="🛶",ZEe="🚤",YEe="🛳️",QEe="⛴️",JEe="🛥️",XEe="🚢",e5e="✈️",t5e="🛩️",n5e="🛫",s5e="🛬",o5e="🪂",r5e="💺",i5e="🚁",a5e="🚟",l5e="🚠",c5e="🚡",u5e="🛰️",d5e="🚀",f5e="🛸",h5e="🛎️",p5e="🧳",g5e="⌛",m5e="⏳",_5e="⌚",b5e="⏰",y5e="⏱️",v5e="⏲️",w5e="🕰️",x5e="🕛",k5e="🕧",E5e="🕐",C5e="🕜",A5e="🕑",S5e="🕝",T5e="🕒",O5e="🕞",M5e="🕓",R5e="🕟",N5e="🕔",D5e="🕠",L5e="🕕",I5e="🕡",P5e="🕖",F5e="🕢",B5e="🕗",j5e="🕣",z5e="🕘",q5e="🕤",$5e="🕙",U5e="🕥",H5e="🕚",V5e="🕦",G5e="🌑",K5e="🌒",W5e="🌓",Z5e="🌔",Y5e="🌔",Q5e="🌕",J5e="🌖",X5e="🌗",e4e="🌘",t4e="🌙",n4e="🌚",s4e="🌛",o4e="🌜",r4e="🌡️",i4e="☀️",a4e="🌝",l4e="🌞",c4e="🪐",u4e="⭐",d4e="🌟",f4e="🌠",h4e="🌌",p4e="☁️",g4e="⛅",m4e="⛈️",_4e="🌤️",b4e="🌥️",y4e="🌦️",v4e="🌧️",w4e="🌨️",x4e="🌩️",k4e="🌪️",E4e="🌫️",C4e="🌬️",A4e="🌀",S4e="🌈",T4e="🌂",O4e="☂️",M4e="☔",R4e="⛱️",N4e="⚡",D4e="❄️",L4e="☃️",I4e="⛄",P4e="☄️",F4e="🔥",B4e="💧",j4e="🌊",z4e="🎃",q4e="🎄",$4e="🎆",U4e="🎇",H4e="🧨",V4e="✨",G4e="🎈",K4e="🎉",W4e="🎊",Z4e="🎋",Y4e="🎍",Q4e="🎎",J4e="🎏",X4e="🎐",eCe="🎑",tCe="🧧",nCe="🎀",sCe="🎁",oCe="🎗️",rCe="🎟️",iCe="🎫",aCe="🎖️",lCe="🏆",cCe="🏅",uCe="⚽",dCe="⚾",fCe="🥎",hCe="🏀",pCe="🏐",gCe="🏈",mCe="🏉",_Ce="🎾",bCe="🥏",yCe="🎳",vCe="🏏",wCe="🏑",xCe="🏒",kCe="🥍",ECe="🏓",CCe="🏸",ACe="🥊",SCe="🥋",TCe="🥅",OCe="⛳",MCe="⛸️",RCe="🎣",NCe="🤿",DCe="🎽",LCe="🎿",ICe="🛷",PCe="🥌",FCe="🎯",BCe="🪀",jCe="🪁",zCe="🔮",qCe="🪄",$Ce="🧿",UCe="🎮",HCe="🕹️",VCe="🎰",GCe="🎲",KCe="🧩",WCe="🧸",ZCe="🪅",YCe="🪆",QCe="♠️",JCe="♥️",XCe="♦️",e3e="♣️",t3e="♟️",n3e="🃏",s3e="🀄",o3e="🎴",r3e="🎭",i3e="🖼️",a3e="🎨",l3e="🧵",c3e="🪡",u3e="🧶",d3e="🪢",f3e="👓",h3e="🕶️",p3e="🥽",g3e="🥼",m3e="🦺",_3e="👔",b3e="👕",y3e="👕",v3e="👖",w3e="🧣",x3e="🧤",k3e="🧥",E3e="🧦",C3e="👗",A3e="👘",S3e="🥻",T3e="🩱",O3e="🩲",M3e="🩳",R3e="👙",N3e="👚",D3e="👛",L3e="👜",I3e="👝",P3e="🛍️",F3e="🎒",B3e="🩴",j3e="👞",z3e="👞",q3e="👟",$3e="🥾",U3e="🥿",H3e="👠",V3e="👡",G3e="🩰",K3e="👢",W3e="👑",Z3e="👒",Y3e="🎩",Q3e="🎓",J3e="🧢",X3e="🪖",eAe="⛑️",tAe="📿",nAe="💄",sAe="💍",oAe="💎",rAe="🔇",iAe="🔈",aAe="🔉",lAe="🔊",cAe="📢",uAe="📣",dAe="📯",fAe="🔔",hAe="🔕",pAe="🎼",gAe="🎵",mAe="🎶",_Ae="🎙️",bAe="🎚️",yAe="🎛️",vAe="🎤",wAe="🎧",xAe="📻",kAe="🎷",EAe="🪗",CAe="🎸",AAe="🎹",SAe="🎺",TAe="🎻",OAe="🪕",MAe="🥁",RAe="🪘",NAe="📱",DAe="📲",LAe="☎️",IAe="☎️",PAe="📞",FAe="📟",BAe="📠",jAe="🔋",zAe="🔌",qAe="💻",$Ae="🖥️",UAe="🖨️",HAe="⌨️",VAe="🖱️",GAe="🖲️",KAe="💽",WAe="💾",ZAe="💿",YAe="📀",QAe="🧮",JAe="🎥",XAe="🎞️",e8e="📽️",t8e="🎬",n8e="📺",s8e="📷",o8e="📸",r8e="📹",i8e="📼",a8e="🔍",l8e="🔎",c8e="🕯️",u8e="💡",d8e="🔦",f8e="🏮",h8e="🏮",p8e="🪔",g8e="📔",m8e="📕",_8e="📖",b8e="📖",y8e="📗",v8e="📘",w8e="📙",x8e="📚",k8e="📓",E8e="📒",C8e="📃",A8e="📜",S8e="📄",T8e="📰",O8e="🗞️",M8e="📑",R8e="🔖",N8e="🏷️",D8e="💰",L8e="🪙",I8e="💴",P8e="💵",F8e="💶",B8e="💷",j8e="💸",z8e="💳",q8e="🧾",$8e="💹",U8e="✉️",H8e="📧",V8e="📨",G8e="📩",K8e="📤",W8e="📥",Z8e="📫",Y8e="📪",Q8e="📬",J8e="📭",X8e="📮",e9e="🗳️",t9e="✏️",n9e="✒️",s9e="🖋️",o9e="🖊️",r9e="🖌️",i9e="🖍️",a9e="📝",l9e="📝",c9e="💼",u9e="📁",d9e="📂",f9e="🗂️",h9e="📅",p9e="📆",g9e="🗒️",m9e="🗓️",_9e="📇",b9e="📈",y9e="📉",v9e="📊",w9e="📋",x9e="📌",k9e="📍",E9e="📎",C9e="🖇️",A9e="📏",S9e="📐",T9e="✂️",O9e="🗃️",M9e="🗄️",R9e="🗑️",N9e="🔒",D9e="🔓",L9e="🔏",I9e="🔐",P9e="🔑",F9e="🗝️",B9e="🔨",j9e="🪓",z9e="⛏️",q9e="⚒️",$9e="🛠️",U9e="🗡️",H9e="⚔️",V9e="🔫",G9e="🪃",K9e="🏹",W9e="🛡️",Z9e="🪚",Y9e="🔧",Q9e="🪛",J9e="🔩",X9e="⚙️",e6e="🗜️",t6e="⚖️",n6e="🦯",s6e="🔗",o6e="⛓️",r6e="🪝",i6e="🧰",a6e="🧲",l6e="🪜",c6e="⚗️",u6e="🧪",d6e="🧫",f6e="🧬",h6e="🔬",p6e="🔭",g6e="📡",m6e="💉",_6e="🩸",b6e="💊",y6e="🩹",v6e="🩺",w6e="🚪",x6e="🛗",k6e="🪞",E6e="🪟",C6e="🛏️",A6e="🛋️",S6e="🪑",T6e="🚽",O6e="🪠",M6e="🚿",R6e="🛁",N6e="🪤",D6e="🪒",L6e="🧴",I6e="🧷",P6e="🧹",F6e="🧺",B6e="🧻",j6e="🪣",z6e="🧼",q6e="🪥",$6e="🧽",U6e="🧯",H6e="🛒",V6e="🚬",G6e="⚰️",K6e="🪦",W6e="⚱️",Z6e="🗿",Y6e="🪧",Q6e="🏧",J6e="🚮",X6e="🚰",eSe="♿",tSe="🚹",nSe="🚺",sSe="🚻",oSe="🚼",rSe="🚾",iSe="🛂",aSe="🛃",lSe="🛄",cSe="🛅",uSe="⚠️",dSe="🚸",fSe="⛔",hSe="🚫",pSe="🚳",gSe="🚭",mSe="🚯",_Se="🚷",bSe="📵",ySe="🔞",vSe="☢️",wSe="☣️",xSe="⬆️",kSe="↗️",ESe="➡️",CSe="↘️",ASe="⬇️",SSe="↙️",TSe="⬅️",OSe="↖️",MSe="↕️",RSe="↔️",NSe="↩️",DSe="↪️",LSe="⤴️",ISe="⤵️",PSe="🔃",FSe="🔄",BSe="🔙",jSe="🔚",zSe="🔛",qSe="🔜",$Se="🔝",USe="🛐",HSe="⚛️",VSe="🕉️",GSe="✡️",KSe="☸️",WSe="☯️",ZSe="✝️",YSe="☦️",QSe="☪️",JSe="☮️",XSe="🕎",eTe="🔯",tTe="♈",nTe="♉",sTe="♊",oTe="♋",rTe="♌",iTe="♍",aTe="♎",lTe="♏",cTe="♐",uTe="♑",dTe="♒",fTe="♓",hTe="⛎",pTe="🔀",gTe="🔁",mTe="🔂",_Te="▶️",bTe="⏩",yTe="⏭️",vTe="⏯️",wTe="◀️",xTe="⏪",kTe="⏮️",ETe="🔼",CTe="⏫",ATe="🔽",STe="⏬",TTe="⏸️",OTe="⏹️",MTe="⏺️",RTe="⏏️",NTe="🎦",DTe="🔅",LTe="🔆",ITe="📶",PTe="📳",FTe="📴",BTe="♀️",jTe="♂️",zTe="⚧️",qTe="✖️",$Te="➕",UTe="➖",HTe="➗",VTe="♾️",GTe="‼️",KTe="⁉️",WTe="❓",ZTe="❔",YTe="❕",QTe="❗",JTe="❗",XTe="〰️",eOe="💱",tOe="💲",nOe="⚕️",sOe="♻️",oOe="⚜️",rOe="🔱",iOe="📛",aOe="🔰",lOe="⭕",cOe="✅",uOe="☑️",dOe="✔️",fOe="❌",hOe="❎",pOe="➰",gOe="➿",mOe="〽️",_Oe="✳️",bOe="✴️",yOe="❇️",vOe="©️",wOe="®️",xOe="™️",kOe="#️⃣",EOe="*️⃣",COe="0️⃣",AOe="1️⃣",SOe="2️⃣",TOe="3️⃣",OOe="4️⃣",MOe="5️⃣",ROe="6️⃣",NOe="7️⃣",DOe="8️⃣",LOe="9️⃣",IOe="🔟",POe="🔠",FOe="🔡",BOe="🔣",jOe="🔤",zOe="🅰️",qOe="🆎",$Oe="🅱️",UOe="🆑",HOe="🆒",VOe="🆓",GOe="ℹ️",KOe="🆔",WOe="Ⓜ️",ZOe="🆖",YOe="🅾️",QOe="🆗",JOe="🅿️",XOe="🆘",eMe="🆙",tMe="🆚",nMe="🈁",sMe="🈂️",oMe="🉐",rMe="🉑",iMe="㊗️",aMe="㊙️",lMe="🈵",cMe="🔴",uMe="🟠",dMe="🟡",fMe="🟢",hMe="🔵",pMe="🟣",gMe="🟤",mMe="⚫",_Me="⚪",bMe="🟥",yMe="🟧",vMe="🟨",wMe="🟩",xMe="🟦",kMe="🟪",EMe="🟫",CMe="⬛",AMe="⬜",SMe="◼️",TMe="◻️",OMe="◾",MMe="◽",RMe="▪️",NMe="▫️",DMe="🔶",LMe="🔷",IMe="🔸",PMe="🔹",FMe="🔺",BMe="🔻",jMe="💠",zMe="🔘",qMe="🔳",$Me="🔲",UMe="🏁",HMe="🚩",VMe="🎌",GMe="🏴",KMe="🏳️",WMe="🏳️‍🌈",ZMe="🏳️‍⚧️",YMe="🏴‍☠️",QMe="🇦🇨",JMe="🇦🇩",XMe="🇦🇪",e7e="🇦🇫",t7e="🇦🇬",n7e="🇦🇮",s7e="🇦🇱",o7e="🇦🇲",r7e="🇦🇴",i7e="🇦🇶",a7e="🇦🇷",l7e="🇦🇸",c7e="🇦🇹",u7e="🇦🇺",d7e="🇦🇼",f7e="🇦🇽",h7e="🇦🇿",p7e="🇧🇦",g7e="🇧🇧",m7e="🇧🇩",_7e="🇧🇪",b7e="🇧🇫",y7e="🇧🇬",v7e="🇧🇭",w7e="🇧🇮",x7e="🇧🇯",k7e="🇧🇱",E7e="🇧🇲",C7e="🇧🇳",A7e="🇧🇴",S7e="🇧🇶",T7e="🇧🇷",O7e="🇧🇸",M7e="🇧🇹",R7e="🇧🇻",N7e="🇧🇼",D7e="🇧🇾",L7e="🇧🇿",I7e="🇨🇦",P7e="🇨🇨",F7e="🇨🇩",B7e="🇨🇫",j7e="🇨🇬",z7e="🇨🇭",q7e="🇨🇮",$7e="🇨🇰",U7e="🇨🇱",H7e="🇨🇲",V7e="🇨🇳",G7e="🇨🇴",K7e="🇨🇵",W7e="🇨🇷",Z7e="🇨🇺",Y7e="🇨🇻",Q7e="🇨🇼",J7e="🇨🇽",X7e="🇨🇾",eRe="🇨🇿",tRe="🇩🇪",nRe="🇩🇬",sRe="🇩🇯",oRe="🇩🇰",rRe="🇩🇲",iRe="🇩🇴",aRe="🇩🇿",lRe="🇪🇦",cRe="🇪🇨",uRe="🇪🇪",dRe="🇪🇬",fRe="🇪🇭",hRe="🇪🇷",pRe="🇪🇸",gRe="🇪🇹",mRe="🇪🇺",_Re="🇪🇺",bRe="🇫🇮",yRe="🇫🇯",vRe="🇫🇰",wRe="🇫🇲",xRe="🇫🇴",kRe="🇫🇷",ERe="🇬🇦",CRe="🇬🇧",ARe="🇬🇧",SRe="🇬🇩",TRe="🇬🇪",ORe="🇬🇫",MRe="🇬🇬",RRe="🇬🇭",NRe="🇬🇮",DRe="🇬🇱",LRe="🇬🇲",IRe="🇬🇳",PRe="🇬🇵",FRe="🇬🇶",BRe="🇬🇷",jRe="🇬🇸",zRe="🇬🇹",qRe="🇬🇺",$Re="🇬🇼",URe="🇬🇾",HRe="🇭🇰",VRe="🇭🇲",GRe="🇭🇳",KRe="🇭🇷",WRe="🇭🇹",ZRe="🇭🇺",YRe="🇮🇨",QRe="🇮🇩",JRe="🇮🇪",XRe="🇮🇱",eNe="🇮🇲",tNe="🇮🇳",nNe="🇮🇴",sNe="🇮🇶",oNe="🇮🇷",rNe="🇮🇸",iNe="🇮🇹",aNe="🇯🇪",lNe="🇯🇲",cNe="🇯🇴",uNe="🇯🇵",dNe="🇰🇪",fNe="🇰🇬",hNe="🇰🇭",pNe="🇰🇮",gNe="🇰🇲",mNe="🇰🇳",_Ne="🇰🇵",bNe="🇰🇷",yNe="🇰🇼",vNe="🇰🇾",wNe="🇰🇿",xNe="🇱🇦",kNe="🇱🇧",ENe="🇱🇨",CNe="🇱🇮",ANe="🇱🇰",SNe="🇱🇷",TNe="🇱🇸",ONe="🇱🇹",MNe="🇱🇺",RNe="🇱🇻",NNe="🇱🇾",DNe="🇲🇦",LNe="🇲🇨",INe="🇲🇩",PNe="🇲🇪",FNe="🇲🇫",BNe="🇲🇬",jNe="🇲🇭",zNe="🇲🇰",qNe="🇲🇱",$Ne="🇲🇲",UNe="🇲🇳",HNe="🇲🇴",VNe="🇲🇵",GNe="🇲🇶",KNe="🇲🇷",WNe="🇲🇸",ZNe="🇲🇹",YNe="🇲🇺",QNe="🇲🇻",JNe="🇲🇼",XNe="🇲🇽",eDe="🇲🇾",tDe="🇲🇿",nDe="🇳🇦",sDe="🇳🇨",oDe="🇳🇪",rDe="🇳🇫",iDe="🇳🇬",aDe="🇳🇮",lDe="🇳🇱",cDe="🇳🇴",uDe="🇳🇵",dDe="🇳🇷",fDe="🇳🇺",hDe="🇳🇿",pDe="🇴🇲",gDe="🇵🇦",mDe="🇵🇪",_De="🇵🇫",bDe="🇵🇬",yDe="🇵🇭",vDe="🇵🇰",wDe="🇵🇱",xDe="🇵🇲",kDe="🇵🇳",EDe="🇵🇷",CDe="🇵🇸",ADe="🇵🇹",SDe="🇵🇼",TDe="🇵🇾",ODe="🇶🇦",MDe="🇷🇪",RDe="🇷🇴",NDe="🇷🇸",DDe="🇷🇺",LDe="🇷🇼",IDe="🇸🇦",PDe="🇸🇧",FDe="🇸🇨",BDe="🇸🇩",jDe="🇸🇪",zDe="🇸🇬",qDe="🇸🇭",$De="🇸🇮",UDe="🇸🇯",HDe="🇸🇰",VDe="🇸🇱",GDe="🇸🇲",KDe="🇸🇳",WDe="🇸🇴",ZDe="🇸🇷",YDe="🇸🇸",QDe="🇸🇹",JDe="🇸🇻",XDe="🇸🇽",eLe="🇸🇾",tLe="🇸🇿",nLe="🇹🇦",sLe="🇹🇨",oLe="🇹🇩",rLe="🇹🇫",iLe="🇹🇬",aLe="🇹🇭",lLe="🇹🇯",cLe="🇹🇰",uLe="🇹🇱",dLe="🇹🇲",fLe="🇹🇳",hLe="🇹🇴",pLe="🇹🇷",gLe="🇹🇹",mLe="🇹🇻",_Le="🇹🇼",bLe="🇹🇿",yLe="🇺🇦",vLe="🇺🇬",wLe="🇺🇲",xLe="🇺🇳",kLe="🇺🇸",ELe="🇺🇾",CLe="🇺🇿",ALe="🇻🇦",SLe="🇻🇨",TLe="🇻🇪",OLe="🇻🇬",MLe="🇻🇮",RLe="🇻🇳",NLe="🇻🇺",DLe="🇼🇫",LLe="🇼🇸",ILe="🇽🇰",PLe="🇾🇪",FLe="🇾🇹",BLe="🇿🇦",jLe="🇿🇲",zLe="🇿🇼",qLe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",$Le="🏴󠁧󠁢󠁳󠁣󠁴󠁿",ULe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",HLe={100:"💯",1234:"🔢",grinning:tde,smiley:nde,smile:sde,grin:ode,laughing:rde,satisfied:ide,sweat_smile:ade,rofl:lde,joy:cde,slightly_smiling_face:ude,upside_down_face:dde,wink:fde,blush:hde,innocent:pde,smiling_face_with_three_hearts:gde,heart_eyes:mde,star_struck:_de,kissing_heart:bde,kissing:yde,relaxed:vde,kissing_closed_eyes:wde,kissing_smiling_eyes:xde,smiling_face_with_tear:kde,yum:Ede,stuck_out_tongue:Cde,stuck_out_tongue_winking_eye:Ade,zany_face:Sde,stuck_out_tongue_closed_eyes:Tde,money_mouth_face:Ode,hugs:Mde,hand_over_mouth:Rde,shushing_face:Nde,thinking:Dde,zipper_mouth_face:Lde,raised_eyebrow:Ide,neutral_face:Pde,expressionless:Fde,no_mouth:Bde,smirk:jde,unamused:zde,roll_eyes:qde,grimacing:$de,lying_face:Ude,relieved:Hde,pensive:Vde,sleepy:Gde,drooling_face:Kde,sleeping:Wde,mask:Zde,face_with_thermometer:Yde,face_with_head_bandage:Qde,nauseated_face:Jde,vomiting_face:Xde,sneezing_face:efe,hot_face:tfe,cold_face:nfe,woozy_face:sfe,dizzy_face:ofe,exploding_head:rfe,cowboy_hat_face:ife,partying_face:afe,disguised_face:lfe,sunglasses:cfe,nerd_face:ufe,monocle_face:dfe,confused:ffe,worried:hfe,slightly_frowning_face:pfe,frowning_face:gfe,open_mouth:mfe,hushed:_fe,astonished:bfe,flushed:yfe,pleading_face:vfe,frowning:wfe,anguished:xfe,fearful:kfe,cold_sweat:Efe,disappointed_relieved:Cfe,cry:Afe,sob:Sfe,scream:Tfe,confounded:Ofe,persevere:Mfe,disappointed:Rfe,sweat:Nfe,weary:Dfe,tired_face:Lfe,yawning_face:Ife,triumph:Pfe,rage:Ffe,pout:Bfe,angry:jfe,cursing_face:zfe,smiling_imp:qfe,imp:$fe,skull:Ufe,skull_and_crossbones:Hfe,hankey:Vfe,poop:Gfe,shit:Kfe,clown_face:Wfe,japanese_ogre:Zfe,japanese_goblin:Yfe,ghost:Qfe,alien:Jfe,space_invader:Xfe,robot:ehe,smiley_cat:the,smile_cat:nhe,joy_cat:she,heart_eyes_cat:ohe,smirk_cat:rhe,kissing_cat:ihe,scream_cat:ahe,crying_cat_face:lhe,pouting_cat:che,see_no_evil:uhe,hear_no_evil:dhe,speak_no_evil:fhe,kiss:hhe,love_letter:phe,cupid:ghe,gift_heart:mhe,sparkling_heart:_he,heartpulse:bhe,heartbeat:yhe,revolving_hearts:vhe,two_hearts:whe,heart_decoration:xhe,heavy_heart_exclamation:khe,broken_heart:Ehe,heart:Che,orange_heart:Ahe,yellow_heart:She,green_heart:The,blue_heart:Ohe,purple_heart:Mhe,brown_heart:Rhe,black_heart:Nhe,white_heart:Dhe,anger:Lhe,boom:Ihe,collision:Phe,dizzy:Fhe,sweat_drops:Bhe,dash:jhe,hole:zhe,bomb:qhe,speech_balloon:$he,eye_speech_bubble:Uhe,left_speech_bubble:Hhe,right_anger_bubble:Vhe,thought_balloon:Ghe,zzz:Khe,wave:Whe,raised_back_of_hand:Zhe,raised_hand_with_fingers_splayed:Yhe,hand:Qhe,raised_hand:Jhe,vulcan_salute:Xhe,ok_hand:epe,pinched_fingers:tpe,pinching_hand:npe,v:spe,crossed_fingers:ope,love_you_gesture:rpe,metal:ipe,call_me_hand:ape,point_left:lpe,point_right:cpe,point_up_2:upe,middle_finger:dpe,fu:fpe,point_down:hpe,point_up:ppe,"+1":"👍",thumbsup:gpe,"-1":"👎",thumbsdown:mpe,fist_raised:_pe,fist:bpe,fist_oncoming:ype,facepunch:vpe,punch:wpe,fist_left:xpe,fist_right:kpe,clap:Epe,raised_hands:Cpe,open_hands:Ape,palms_up_together:Spe,handshake:Tpe,pray:Ope,writing_hand:Mpe,nail_care:Rpe,selfie:Npe,muscle:Dpe,mechanical_arm:Lpe,mechanical_leg:Ipe,leg:Ppe,foot:Fpe,ear:Bpe,ear_with_hearing_aid:jpe,nose:zpe,brain:qpe,anatomical_heart:$pe,lungs:Upe,tooth:Hpe,bone:Vpe,eyes:Gpe,eye:Kpe,tongue:Wpe,lips:Zpe,baby:Ype,child:Qpe,boy:Jpe,girl:Xpe,adult:ege,blond_haired_person:tge,man:nge,bearded_person:sge,red_haired_man:oge,curly_haired_man:rge,white_haired_man:ige,bald_man:age,woman:lge,red_haired_woman:cge,person_red_hair:uge,curly_haired_woman:dge,person_curly_hair:fge,white_haired_woman:hge,person_white_hair:pge,bald_woman:gge,person_bald:mge,blond_haired_woman:_ge,blonde_woman:bge,blond_haired_man:yge,older_adult:vge,older_man:wge,older_woman:xge,frowning_person:kge,frowning_man:Ege,frowning_woman:Cge,pouting_face:Age,pouting_man:Sge,pouting_woman:Tge,no_good:Oge,no_good_man:Mge,ng_man:Rge,no_good_woman:Nge,ng_woman:Dge,ok_person:Lge,ok_man:Ige,ok_woman:Pge,tipping_hand_person:Fge,information_desk_person:Bge,tipping_hand_man:jge,sassy_man:zge,tipping_hand_woman:qge,sassy_woman:$ge,raising_hand:Uge,raising_hand_man:Hge,raising_hand_woman:Vge,deaf_person:Gge,deaf_man:Kge,deaf_woman:Wge,bow:Zge,bowing_man:Yge,bowing_woman:Qge,facepalm:Jge,man_facepalming:Xge,woman_facepalming:eme,shrug:tme,man_shrugging:nme,woman_shrugging:sme,health_worker:ome,man_health_worker:rme,woman_health_worker:ime,student:ame,man_student:lme,woman_student:cme,teacher:ume,man_teacher:dme,woman_teacher:fme,judge:hme,man_judge:pme,woman_judge:gme,farmer:mme,man_farmer:_me,woman_farmer:bme,cook:yme,man_cook:vme,woman_cook:wme,mechanic:xme,man_mechanic:kme,woman_mechanic:Eme,factory_worker:Cme,man_factory_worker:Ame,woman_factory_worker:Sme,office_worker:Tme,man_office_worker:Ome,woman_office_worker:Mme,scientist:Rme,man_scientist:Nme,woman_scientist:Dme,technologist:Lme,man_technologist:Ime,woman_technologist:Pme,singer:Fme,man_singer:Bme,woman_singer:jme,artist:zme,man_artist:qme,woman_artist:$me,pilot:Ume,man_pilot:Hme,woman_pilot:Vme,astronaut:Gme,man_astronaut:Kme,woman_astronaut:Wme,firefighter:Zme,man_firefighter:Yme,woman_firefighter:Qme,police_officer:Jme,cop:Xme,policeman:e_e,policewoman:t_e,detective:n_e,male_detective:s_e,female_detective:o_e,guard:r_e,guardsman:i_e,guardswoman:a_e,ninja:l_e,construction_worker:c_e,construction_worker_man:u_e,construction_worker_woman:d_e,prince:f_e,princess:h_e,person_with_turban:p_e,man_with_turban:g_e,woman_with_turban:m_e,man_with_gua_pi_mao:__e,woman_with_headscarf:b_e,person_in_tuxedo:y_e,man_in_tuxedo:v_e,woman_in_tuxedo:w_e,person_with_veil:x_e,man_with_veil:k_e,woman_with_veil:E_e,bride_with_veil:C_e,pregnant_woman:A_e,breast_feeding:S_e,woman_feeding_baby:T_e,man_feeding_baby:O_e,person_feeding_baby:M_e,angel:R_e,santa:N_e,mrs_claus:D_e,mx_claus:L_e,superhero:I_e,superhero_man:P_e,superhero_woman:F_e,supervillain:B_e,supervillain_man:j_e,supervillain_woman:z_e,mage:q_e,mage_man:$_e,mage_woman:U_e,fairy:H_e,fairy_man:V_e,fairy_woman:G_e,vampire:K_e,vampire_man:W_e,vampire_woman:Z_e,merperson:Y_e,merman:Q_e,mermaid:J_e,elf:X_e,elf_man:e1e,elf_woman:t1e,genie:n1e,genie_man:s1e,genie_woman:o1e,zombie:r1e,zombie_man:i1e,zombie_woman:a1e,massage:l1e,massage_man:c1e,massage_woman:u1e,haircut:d1e,haircut_man:f1e,haircut_woman:h1e,walking:p1e,walking_man:g1e,walking_woman:m1e,standing_person:_1e,standing_man:b1e,standing_woman:y1e,kneeling_person:v1e,kneeling_man:w1e,kneeling_woman:x1e,person_with_probing_cane:k1e,man_with_probing_cane:E1e,woman_with_probing_cane:C1e,person_in_motorized_wheelchair:A1e,man_in_motorized_wheelchair:S1e,woman_in_motorized_wheelchair:T1e,person_in_manual_wheelchair:O1e,man_in_manual_wheelchair:M1e,woman_in_manual_wheelchair:R1e,runner:N1e,running:D1e,running_man:L1e,running_woman:I1e,woman_dancing:P1e,dancer:F1e,man_dancing:B1e,business_suit_levitating:j1e,dancers:z1e,dancing_men:q1e,dancing_women:$1e,sauna_person:U1e,sauna_man:H1e,sauna_woman:V1e,climbing:G1e,climbing_man:K1e,climbing_woman:W1e,person_fencing:Z1e,horse_racing:Y1e,skier:Q1e,snowboarder:J1e,golfing:X1e,golfing_man:e0e,golfing_woman:t0e,surfer:n0e,surfing_man:s0e,surfing_woman:o0e,rowboat:r0e,rowing_man:i0e,rowing_woman:a0e,swimmer:l0e,swimming_man:c0e,swimming_woman:u0e,bouncing_ball_person:d0e,bouncing_ball_man:f0e,basketball_man:h0e,bouncing_ball_woman:p0e,basketball_woman:g0e,weight_lifting:m0e,weight_lifting_man:_0e,weight_lifting_woman:b0e,bicyclist:y0e,biking_man:v0e,biking_woman:w0e,mountain_bicyclist:x0e,mountain_biking_man:k0e,mountain_biking_woman:E0e,cartwheeling:C0e,man_cartwheeling:A0e,woman_cartwheeling:S0e,wrestling:T0e,men_wrestling:O0e,women_wrestling:M0e,water_polo:R0e,man_playing_water_polo:N0e,woman_playing_water_polo:D0e,handball_person:L0e,man_playing_handball:I0e,woman_playing_handball:P0e,juggling_person:F0e,man_juggling:B0e,woman_juggling:j0e,lotus_position:z0e,lotus_position_man:q0e,lotus_position_woman:$0e,bath:U0e,sleeping_bed:H0e,people_holding_hands:V0e,two_women_holding_hands:G0e,couple:K0e,two_men_holding_hands:W0e,couplekiss:Z0e,couplekiss_man_woman:Y0e,couplekiss_man_man:Q0e,couplekiss_woman_woman:J0e,couple_with_heart:X0e,couple_with_heart_woman_man:ebe,couple_with_heart_man_man:tbe,couple_with_heart_woman_woman:nbe,family:sbe,family_man_woman_boy:obe,family_man_woman_girl:rbe,family_man_woman_girl_boy:ibe,family_man_woman_boy_boy:abe,family_man_woman_girl_girl:lbe,family_man_man_boy:cbe,family_man_man_girl:ube,family_man_man_girl_boy:dbe,family_man_man_boy_boy:fbe,family_man_man_girl_girl:hbe,family_woman_woman_boy:pbe,family_woman_woman_girl:gbe,family_woman_woman_girl_boy:mbe,family_woman_woman_boy_boy:_be,family_woman_woman_girl_girl:bbe,family_man_boy:ybe,family_man_boy_boy:vbe,family_man_girl:wbe,family_man_girl_boy:xbe,family_man_girl_girl:kbe,family_woman_boy:Ebe,family_woman_boy_boy:Cbe,family_woman_girl:Abe,family_woman_girl_boy:Sbe,family_woman_girl_girl:Tbe,speaking_head:Obe,bust_in_silhouette:Mbe,busts_in_silhouette:Rbe,people_hugging:Nbe,footprints:Dbe,monkey_face:Lbe,monkey:Ibe,gorilla:Pbe,orangutan:Fbe,dog:Bbe,dog2:jbe,guide_dog:zbe,service_dog:qbe,poodle:$be,wolf:Ube,fox_face:Hbe,raccoon:Vbe,cat:Gbe,cat2:Kbe,black_cat:Wbe,lion:Zbe,tiger:Ybe,tiger2:Qbe,leopard:Jbe,horse:Xbe,racehorse:eye,unicorn:tye,zebra:nye,deer:sye,bison:oye,cow:rye,ox:iye,water_buffalo:aye,cow2:lye,pig:cye,pig2:uye,boar:dye,pig_nose:fye,ram:hye,sheep:pye,goat:gye,dromedary_camel:mye,camel:_ye,llama:bye,giraffe:yye,elephant:vye,mammoth:wye,rhinoceros:xye,hippopotamus:kye,mouse:Eye,mouse2:Cye,rat:Aye,hamster:Sye,rabbit:Tye,rabbit2:Oye,chipmunk:Mye,beaver:Rye,hedgehog:Nye,bat:Dye,bear:Lye,polar_bear:Iye,koala:Pye,panda_face:Fye,sloth:Bye,otter:jye,skunk:zye,kangaroo:qye,badger:$ye,feet:Uye,paw_prints:Hye,turkey:Vye,chicken:Gye,rooster:Kye,hatching_chick:Wye,baby_chick:Zye,hatched_chick:Yye,bird:Qye,penguin:Jye,dove:Xye,eagle:e2e,duck:t2e,swan:n2e,owl:s2e,dodo:o2e,feather:r2e,flamingo:i2e,peacock:a2e,parrot:l2e,frog:c2e,crocodile:u2e,turtle:d2e,lizard:f2e,snake:h2e,dragon_face:p2e,dragon:g2e,sauropod:m2e,"t-rex":"🦖",whale:_2e,whale2:b2e,dolphin:y2e,flipper:v2e,seal:w2e,fish:x2e,tropical_fish:k2e,blowfish:E2e,shark:C2e,octopus:A2e,shell:S2e,snail:T2e,butterfly:O2e,bug:M2e,ant:R2e,bee:N2e,honeybee:D2e,beetle:L2e,lady_beetle:I2e,cricket:P2e,cockroach:F2e,spider:B2e,spider_web:j2e,scorpion:z2e,mosquito:q2e,fly:$2e,worm:U2e,microbe:H2e,bouquet:V2e,cherry_blossom:G2e,white_flower:K2e,rosette:W2e,rose:Z2e,wilted_flower:Y2e,hibiscus:Q2e,sunflower:J2e,blossom:X2e,tulip:eve,seedling:tve,potted_plant:nve,evergreen_tree:sve,deciduous_tree:ove,palm_tree:rve,cactus:ive,ear_of_rice:ave,herb:lve,shamrock:cve,four_leaf_clover:uve,maple_leaf:dve,fallen_leaf:fve,leaves:hve,grapes:pve,melon:gve,watermelon:mve,tangerine:_ve,orange:bve,mandarin:yve,lemon:vve,banana:wve,pineapple:xve,mango:kve,apple:Eve,green_apple:Cve,pear:Ave,peach:Sve,cherries:Tve,strawberry:Ove,blueberries:Mve,kiwi_fruit:Rve,tomato:Nve,olive:Dve,coconut:Lve,avocado:Ive,eggplant:Pve,potato:Fve,carrot:Bve,corn:jve,hot_pepper:zve,bell_pepper:qve,cucumber:$ve,leafy_green:Uve,broccoli:Hve,garlic:Vve,onion:Gve,mushroom:Kve,peanuts:Wve,chestnut:Zve,bread:Yve,croissant:Qve,baguette_bread:Jve,flatbread:Xve,pretzel:ewe,bagel:twe,pancakes:nwe,waffle:swe,cheese:owe,meat_on_bone:rwe,poultry_leg:iwe,cut_of_meat:awe,bacon:lwe,hamburger:cwe,fries:uwe,pizza:dwe,hotdog:fwe,sandwich:hwe,taco:pwe,burrito:gwe,tamale:mwe,stuffed_flatbread:_we,falafel:bwe,egg:ywe,fried_egg:vwe,shallow_pan_of_food:wwe,stew:xwe,fondue:kwe,bowl_with_spoon:Ewe,green_salad:Cwe,popcorn:Awe,butter:Swe,salt:Twe,canned_food:Owe,bento:Mwe,rice_cracker:Rwe,rice_ball:Nwe,rice:Dwe,curry:Lwe,ramen:Iwe,spaghetti:Pwe,sweet_potato:Fwe,oden:Bwe,sushi:jwe,fried_shrimp:zwe,fish_cake:qwe,moon_cake:$we,dango:Uwe,dumpling:Hwe,fortune_cookie:Vwe,takeout_box:Gwe,crab:Kwe,lobster:Wwe,shrimp:Zwe,squid:Ywe,oyster:Qwe,icecream:Jwe,shaved_ice:Xwe,ice_cream:exe,doughnut:txe,cookie:nxe,birthday:sxe,cake:oxe,cupcake:rxe,pie:ixe,chocolate_bar:axe,candy:lxe,lollipop:cxe,custard:uxe,honey_pot:dxe,baby_bottle:fxe,milk_glass:hxe,coffee:pxe,teapot:gxe,tea:mxe,sake:_xe,champagne:bxe,wine_glass:yxe,cocktail:vxe,tropical_drink:wxe,beer:xxe,beers:kxe,clinking_glasses:Exe,tumbler_glass:Cxe,cup_with_straw:Axe,bubble_tea:Sxe,beverage_box:Txe,mate:Oxe,ice_cube:Mxe,chopsticks:Rxe,plate_with_cutlery:Nxe,fork_and_knife:Dxe,spoon:Lxe,hocho:Ixe,knife:Pxe,amphora:Fxe,earth_africa:Bxe,earth_americas:jxe,earth_asia:zxe,globe_with_meridians:qxe,world_map:$xe,japan:Uxe,compass:Hxe,mountain_snow:Vxe,mountain:Gxe,volcano:Kxe,mount_fuji:Wxe,camping:Zxe,beach_umbrella:Yxe,desert:Qxe,desert_island:Jxe,national_park:Xxe,stadium:eke,classical_building:tke,building_construction:nke,bricks:ske,rock:oke,wood:rke,hut:ike,houses:ake,derelict_house:lke,house:cke,house_with_garden:uke,office:dke,post_office:fke,european_post_office:hke,hospital:pke,bank:gke,hotel:mke,love_hotel:_ke,convenience_store:bke,school:yke,department_store:vke,factory:wke,japanese_castle:xke,european_castle:kke,wedding:Eke,tokyo_tower:Cke,statue_of_liberty:Ake,church:Ske,mosque:Tke,hindu_temple:Oke,synagogue:Mke,shinto_shrine:Rke,kaaba:Nke,fountain:Dke,tent:Lke,foggy:Ike,night_with_stars:Pke,cityscape:Fke,sunrise_over_mountains:Bke,sunrise:jke,city_sunset:zke,city_sunrise:qke,bridge_at_night:$ke,hotsprings:Uke,carousel_horse:Hke,ferris_wheel:Vke,roller_coaster:Gke,barber:Kke,circus_tent:Wke,steam_locomotive:Zke,railway_car:Yke,bullettrain_side:Qke,bullettrain_front:Jke,train2:Xke,metro:eEe,light_rail:tEe,station:nEe,tram:sEe,monorail:oEe,mountain_railway:rEe,train:iEe,bus:aEe,oncoming_bus:lEe,trolleybus:cEe,minibus:uEe,ambulance:dEe,fire_engine:fEe,police_car:hEe,oncoming_police_car:pEe,taxi:gEe,oncoming_taxi:mEe,car:_Ee,red_car:bEe,oncoming_automobile:yEe,blue_car:vEe,pickup_truck:wEe,truck:xEe,articulated_lorry:kEe,tractor:EEe,racing_car:CEe,motorcycle:AEe,motor_scooter:SEe,manual_wheelchair:TEe,motorized_wheelchair:OEe,auto_rickshaw:MEe,bike:REe,kick_scooter:NEe,skateboard:DEe,roller_skate:LEe,busstop:IEe,motorway:PEe,railway_track:FEe,oil_drum:BEe,fuelpump:jEe,rotating_light:zEe,traffic_light:qEe,vertical_traffic_light:$Ee,stop_sign:UEe,construction:HEe,anchor:VEe,boat:GEe,sailboat:KEe,canoe:WEe,speedboat:ZEe,passenger_ship:YEe,ferry:QEe,motor_boat:JEe,ship:XEe,airplane:e5e,small_airplane:t5e,flight_departure:n5e,flight_arrival:s5e,parachute:o5e,seat:r5e,helicopter:i5e,suspension_railway:a5e,mountain_cableway:l5e,aerial_tramway:c5e,artificial_satellite:u5e,rocket:d5e,flying_saucer:f5e,bellhop_bell:h5e,luggage:p5e,hourglass:g5e,hourglass_flowing_sand:m5e,watch:_5e,alarm_clock:b5e,stopwatch:y5e,timer_clock:v5e,mantelpiece_clock:w5e,clock12:x5e,clock1230:k5e,clock1:E5e,clock130:C5e,clock2:A5e,clock230:S5e,clock3:T5e,clock330:O5e,clock4:M5e,clock430:R5e,clock5:N5e,clock530:D5e,clock6:L5e,clock630:I5e,clock7:P5e,clock730:F5e,clock8:B5e,clock830:j5e,clock9:z5e,clock930:q5e,clock10:$5e,clock1030:U5e,clock11:H5e,clock1130:V5e,new_moon:G5e,waxing_crescent_moon:K5e,first_quarter_moon:W5e,moon:Z5e,waxing_gibbous_moon:Y5e,full_moon:Q5e,waning_gibbous_moon:J5e,last_quarter_moon:X5e,waning_crescent_moon:e4e,crescent_moon:t4e,new_moon_with_face:n4e,first_quarter_moon_with_face:s4e,last_quarter_moon_with_face:o4e,thermometer:r4e,sunny:i4e,full_moon_with_face:a4e,sun_with_face:l4e,ringed_planet:c4e,star:u4e,star2:d4e,stars:f4e,milky_way:h4e,cloud:p4e,partly_sunny:g4e,cloud_with_lightning_and_rain:m4e,sun_behind_small_cloud:_4e,sun_behind_large_cloud:b4e,sun_behind_rain_cloud:y4e,cloud_with_rain:v4e,cloud_with_snow:w4e,cloud_with_lightning:x4e,tornado:k4e,fog:E4e,wind_face:C4e,cyclone:A4e,rainbow:S4e,closed_umbrella:T4e,open_umbrella:O4e,umbrella:M4e,parasol_on_ground:R4e,zap:N4e,snowflake:D4e,snowman_with_snow:L4e,snowman:I4e,comet:P4e,fire:F4e,droplet:B4e,ocean:j4e,jack_o_lantern:z4e,christmas_tree:q4e,fireworks:$4e,sparkler:U4e,firecracker:H4e,sparkles:V4e,balloon:G4e,tada:K4e,confetti_ball:W4e,tanabata_tree:Z4e,bamboo:Y4e,dolls:Q4e,flags:J4e,wind_chime:X4e,rice_scene:eCe,red_envelope:tCe,ribbon:nCe,gift:sCe,reminder_ribbon:oCe,tickets:rCe,ticket:iCe,medal_military:aCe,trophy:lCe,medal_sports:cCe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:uCe,baseball:dCe,softball:fCe,basketball:hCe,volleyball:pCe,football:gCe,rugby_football:mCe,tennis:_Ce,flying_disc:bCe,bowling:yCe,cricket_game:vCe,field_hockey:wCe,ice_hockey:xCe,lacrosse:kCe,ping_pong:ECe,badminton:CCe,boxing_glove:ACe,martial_arts_uniform:SCe,goal_net:TCe,golf:OCe,ice_skate:MCe,fishing_pole_and_fish:RCe,diving_mask:NCe,running_shirt_with_sash:DCe,ski:LCe,sled:ICe,curling_stone:PCe,dart:FCe,yo_yo:BCe,kite:jCe,"8ball":"🎱",crystal_ball:zCe,magic_wand:qCe,nazar_amulet:$Ce,video_game:UCe,joystick:HCe,slot_machine:VCe,game_die:GCe,jigsaw:KCe,teddy_bear:WCe,pinata:ZCe,nesting_dolls:YCe,spades:QCe,hearts:JCe,diamonds:XCe,clubs:e3e,chess_pawn:t3e,black_joker:n3e,mahjong:s3e,flower_playing_cards:o3e,performing_arts:r3e,framed_picture:i3e,art:a3e,thread:l3e,sewing_needle:c3e,yarn:u3e,knot:d3e,eyeglasses:f3e,dark_sunglasses:h3e,goggles:p3e,lab_coat:g3e,safety_vest:m3e,necktie:_3e,shirt:b3e,tshirt:y3e,jeans:v3e,scarf:w3e,gloves:x3e,coat:k3e,socks:E3e,dress:C3e,kimono:A3e,sari:S3e,one_piece_swimsuit:T3e,swim_brief:O3e,shorts:M3e,bikini:R3e,womans_clothes:N3e,purse:D3e,handbag:L3e,pouch:I3e,shopping:P3e,school_satchel:F3e,thong_sandal:B3e,mans_shoe:j3e,shoe:z3e,athletic_shoe:q3e,hiking_boot:$3e,flat_shoe:U3e,high_heel:H3e,sandal:V3e,ballet_shoes:G3e,boot:K3e,crown:W3e,womans_hat:Z3e,tophat:Y3e,mortar_board:Q3e,billed_cap:J3e,military_helmet:X3e,rescue_worker_helmet:eAe,prayer_beads:tAe,lipstick:nAe,ring:sAe,gem:oAe,mute:rAe,speaker:iAe,sound:aAe,loud_sound:lAe,loudspeaker:cAe,mega:uAe,postal_horn:dAe,bell:fAe,no_bell:hAe,musical_score:pAe,musical_note:gAe,notes:mAe,studio_microphone:_Ae,level_slider:bAe,control_knobs:yAe,microphone:vAe,headphones:wAe,radio:xAe,saxophone:kAe,accordion:EAe,guitar:CAe,musical_keyboard:AAe,trumpet:SAe,violin:TAe,banjo:OAe,drum:MAe,long_drum:RAe,iphone:NAe,calling:DAe,phone:LAe,telephone:IAe,telephone_receiver:PAe,pager:FAe,fax:BAe,battery:jAe,electric_plug:zAe,computer:qAe,desktop_computer:$Ae,printer:UAe,keyboard:HAe,computer_mouse:VAe,trackball:GAe,minidisc:KAe,floppy_disk:WAe,cd:ZAe,dvd:YAe,abacus:QAe,movie_camera:JAe,film_strip:XAe,film_projector:e8e,clapper:t8e,tv:n8e,camera:s8e,camera_flash:o8e,video_camera:r8e,vhs:i8e,mag:a8e,mag_right:l8e,candle:c8e,bulb:u8e,flashlight:d8e,izakaya_lantern:f8e,lantern:h8e,diya_lamp:p8e,notebook_with_decorative_cover:g8e,closed_book:m8e,book:_8e,open_book:b8e,green_book:y8e,blue_book:v8e,orange_book:w8e,books:x8e,notebook:k8e,ledger:E8e,page_with_curl:C8e,scroll:A8e,page_facing_up:S8e,newspaper:T8e,newspaper_roll:O8e,bookmark_tabs:M8e,bookmark:R8e,label:N8e,moneybag:D8e,coin:L8e,yen:I8e,dollar:P8e,euro:F8e,pound:B8e,money_with_wings:j8e,credit_card:z8e,receipt:q8e,chart:$8e,envelope:U8e,email:H8e,"e-mail":"📧",incoming_envelope:V8e,envelope_with_arrow:G8e,outbox_tray:K8e,inbox_tray:W8e,package:"📦",mailbox:Z8e,mailbox_closed:Y8e,mailbox_with_mail:Q8e,mailbox_with_no_mail:J8e,postbox:X8e,ballot_box:e9e,pencil2:t9e,black_nib:n9e,fountain_pen:s9e,pen:o9e,paintbrush:r9e,crayon:i9e,memo:a9e,pencil:l9e,briefcase:c9e,file_folder:u9e,open_file_folder:d9e,card_index_dividers:f9e,date:h9e,calendar:p9e,spiral_notepad:g9e,spiral_calendar:m9e,card_index:_9e,chart_with_upwards_trend:b9e,chart_with_downwards_trend:y9e,bar_chart:v9e,clipboard:w9e,pushpin:x9e,round_pushpin:k9e,paperclip:E9e,paperclips:C9e,straight_ruler:A9e,triangular_ruler:S9e,scissors:T9e,card_file_box:O9e,file_cabinet:M9e,wastebasket:R9e,lock:N9e,unlock:D9e,lock_with_ink_pen:L9e,closed_lock_with_key:I9e,key:P9e,old_key:F9e,hammer:B9e,axe:j9e,pick:z9e,hammer_and_pick:q9e,hammer_and_wrench:$9e,dagger:U9e,crossed_swords:H9e,gun:V9e,boomerang:G9e,bow_and_arrow:K9e,shield:W9e,carpentry_saw:Z9e,wrench:Y9e,screwdriver:Q9e,nut_and_bolt:J9e,gear:X9e,clamp:e6e,balance_scale:t6e,probing_cane:n6e,link:s6e,chains:o6e,hook:r6e,toolbox:i6e,magnet:a6e,ladder:l6e,alembic:c6e,test_tube:u6e,petri_dish:d6e,dna:f6e,microscope:h6e,telescope:p6e,satellite:g6e,syringe:m6e,drop_of_blood:_6e,pill:b6e,adhesive_bandage:y6e,stethoscope:v6e,door:w6e,elevator:x6e,mirror:k6e,window:E6e,bed:C6e,couch_and_lamp:A6e,chair:S6e,toilet:T6e,plunger:O6e,shower:M6e,bathtub:R6e,mouse_trap:N6e,razor:D6e,lotion_bottle:L6e,safety_pin:I6e,broom:P6e,basket:F6e,roll_of_paper:B6e,bucket:j6e,soap:z6e,toothbrush:q6e,sponge:$6e,fire_extinguisher:U6e,shopping_cart:H6e,smoking:V6e,coffin:G6e,headstone:K6e,funeral_urn:W6e,moyai:Z6e,placard:Y6e,atm:Q6e,put_litter_in_its_place:J6e,potable_water:X6e,wheelchair:eSe,mens:tSe,womens:nSe,restroom:sSe,baby_symbol:oSe,wc:rSe,passport_control:iSe,customs:aSe,baggage_claim:lSe,left_luggage:cSe,warning:uSe,children_crossing:dSe,no_entry:fSe,no_entry_sign:hSe,no_bicycles:pSe,no_smoking:gSe,do_not_litter:mSe,"non-potable_water":"🚱",no_pedestrians:_Se,no_mobile_phones:bSe,underage:ySe,radioactive:vSe,biohazard:wSe,arrow_up:xSe,arrow_upper_right:kSe,arrow_right:ESe,arrow_lower_right:CSe,arrow_down:ASe,arrow_lower_left:SSe,arrow_left:TSe,arrow_upper_left:OSe,arrow_up_down:MSe,left_right_arrow:RSe,leftwards_arrow_with_hook:NSe,arrow_right_hook:DSe,arrow_heading_up:LSe,arrow_heading_down:ISe,arrows_clockwise:PSe,arrows_counterclockwise:FSe,back:BSe,end:jSe,on:zSe,soon:qSe,top:$Se,place_of_worship:USe,atom_symbol:HSe,om:VSe,star_of_david:GSe,wheel_of_dharma:KSe,yin_yang:WSe,latin_cross:ZSe,orthodox_cross:YSe,star_and_crescent:QSe,peace_symbol:JSe,menorah:XSe,six_pointed_star:eTe,aries:tTe,taurus:nTe,gemini:sTe,cancer:oTe,leo:rTe,virgo:iTe,libra:aTe,scorpius:lTe,sagittarius:cTe,capricorn:uTe,aquarius:dTe,pisces:fTe,ophiuchus:hTe,twisted_rightwards_arrows:pTe,repeat:gTe,repeat_one:mTe,arrow_forward:_Te,fast_forward:bTe,next_track_button:yTe,play_or_pause_button:vTe,arrow_backward:wTe,rewind:xTe,previous_track_button:kTe,arrow_up_small:ETe,arrow_double_up:CTe,arrow_down_small:ATe,arrow_double_down:STe,pause_button:TTe,stop_button:OTe,record_button:MTe,eject_button:RTe,cinema:NTe,low_brightness:DTe,high_brightness:LTe,signal_strength:ITe,vibration_mode:PTe,mobile_phone_off:FTe,female_sign:BTe,male_sign:jTe,transgender_symbol:zTe,heavy_multiplication_x:qTe,heavy_plus_sign:$Te,heavy_minus_sign:UTe,heavy_division_sign:HTe,infinity:VTe,bangbang:GTe,interrobang:KTe,question:WTe,grey_question:ZTe,grey_exclamation:YTe,exclamation:QTe,heavy_exclamation_mark:JTe,wavy_dash:XTe,currency_exchange:eOe,heavy_dollar_sign:tOe,medical_symbol:nOe,recycle:sOe,fleur_de_lis:oOe,trident:rOe,name_badge:iOe,beginner:aOe,o:lOe,white_check_mark:cOe,ballot_box_with_check:uOe,heavy_check_mark:dOe,x:fOe,negative_squared_cross_mark:hOe,curly_loop:pOe,loop:gOe,part_alternation_mark:mOe,eight_spoked_asterisk:_Oe,eight_pointed_black_star:bOe,sparkle:yOe,copyright:vOe,registered:wOe,tm:xOe,hash:kOe,asterisk:EOe,zero:COe,one:AOe,two:SOe,three:TOe,four:OOe,five:MOe,six:ROe,seven:NOe,eight:DOe,nine:LOe,keycap_ten:IOe,capital_abcd:POe,abcd:FOe,symbols:BOe,abc:jOe,a:zOe,ab:qOe,b:$Oe,cl:UOe,cool:HOe,free:VOe,information_source:GOe,id:KOe,m:WOe,new:"🆕",ng:ZOe,o2:YOe,ok:QOe,parking:JOe,sos:XOe,up:eMe,vs:tMe,koko:nMe,sa:sMe,ideograph_advantage:oMe,accept:rMe,congratulations:iMe,secret:aMe,u6e80:lMe,red_circle:cMe,orange_circle:uMe,yellow_circle:dMe,green_circle:fMe,large_blue_circle:hMe,purple_circle:pMe,brown_circle:gMe,black_circle:mMe,white_circle:_Me,red_square:bMe,orange_square:yMe,yellow_square:vMe,green_square:wMe,blue_square:xMe,purple_square:kMe,brown_square:EMe,black_large_square:CMe,white_large_square:AMe,black_medium_square:SMe,white_medium_square:TMe,black_medium_small_square:OMe,white_medium_small_square:MMe,black_small_square:RMe,white_small_square:NMe,large_orange_diamond:DMe,large_blue_diamond:LMe,small_orange_diamond:IMe,small_blue_diamond:PMe,small_red_triangle:FMe,small_red_triangle_down:BMe,diamond_shape_with_a_dot_inside:jMe,radio_button:zMe,white_square_button:qMe,black_square_button:$Me,checkered_flag:UMe,triangular_flag_on_post:HMe,crossed_flags:VMe,black_flag:GMe,white_flag:KMe,rainbow_flag:WMe,transgender_flag:ZMe,pirate_flag:YMe,ascension_island:QMe,andorra:JMe,united_arab_emirates:XMe,afghanistan:e7e,antigua_barbuda:t7e,anguilla:n7e,albania:s7e,armenia:o7e,angola:r7e,antarctica:i7e,argentina:a7e,american_samoa:l7e,austria:c7e,australia:u7e,aruba:d7e,aland_islands:f7e,azerbaijan:h7e,bosnia_herzegovina:p7e,barbados:g7e,bangladesh:m7e,belgium:_7e,burkina_faso:b7e,bulgaria:y7e,bahrain:v7e,burundi:w7e,benin:x7e,st_barthelemy:k7e,bermuda:E7e,brunei:C7e,bolivia:A7e,caribbean_netherlands:S7e,brazil:T7e,bahamas:O7e,bhutan:M7e,bouvet_island:R7e,botswana:N7e,belarus:D7e,belize:L7e,canada:I7e,cocos_islands:P7e,congo_kinshasa:F7e,central_african_republic:B7e,congo_brazzaville:j7e,switzerland:z7e,cote_divoire:q7e,cook_islands:$7e,chile:U7e,cameroon:H7e,cn:V7e,colombia:G7e,clipperton_island:K7e,costa_rica:W7e,cuba:Z7e,cape_verde:Y7e,curacao:Q7e,christmas_island:J7e,cyprus:X7e,czech_republic:eRe,de:tRe,diego_garcia:nRe,djibouti:sRe,denmark:oRe,dominica:rRe,dominican_republic:iRe,algeria:aRe,ceuta_melilla:lRe,ecuador:cRe,estonia:uRe,egypt:dRe,western_sahara:fRe,eritrea:hRe,es:pRe,ethiopia:gRe,eu:mRe,european_union:_Re,finland:bRe,fiji:yRe,falkland_islands:vRe,micronesia:wRe,faroe_islands:xRe,fr:kRe,gabon:ERe,gb:CRe,uk:ARe,grenada:SRe,georgia:TRe,french_guiana:ORe,guernsey:MRe,ghana:RRe,gibraltar:NRe,greenland:DRe,gambia:LRe,guinea:IRe,guadeloupe:PRe,equatorial_guinea:FRe,greece:BRe,south_georgia_south_sandwich_islands:jRe,guatemala:zRe,guam:qRe,guinea_bissau:$Re,guyana:URe,hong_kong:HRe,heard_mcdonald_islands:VRe,honduras:GRe,croatia:KRe,haiti:WRe,hungary:ZRe,canary_islands:YRe,indonesia:QRe,ireland:JRe,israel:XRe,isle_of_man:eNe,india:tNe,british_indian_ocean_territory:nNe,iraq:sNe,iran:oNe,iceland:rNe,it:iNe,jersey:aNe,jamaica:lNe,jordan:cNe,jp:uNe,kenya:dNe,kyrgyzstan:fNe,cambodia:hNe,kiribati:pNe,comoros:gNe,st_kitts_nevis:mNe,north_korea:_Ne,kr:bNe,kuwait:yNe,cayman_islands:vNe,kazakhstan:wNe,laos:xNe,lebanon:kNe,st_lucia:ENe,liechtenstein:CNe,sri_lanka:ANe,liberia:SNe,lesotho:TNe,lithuania:ONe,luxembourg:MNe,latvia:RNe,libya:NNe,morocco:DNe,monaco:LNe,moldova:INe,montenegro:PNe,st_martin:FNe,madagascar:BNe,marshall_islands:jNe,macedonia:zNe,mali:qNe,myanmar:$Ne,mongolia:UNe,macau:HNe,northern_mariana_islands:VNe,martinique:GNe,mauritania:KNe,montserrat:WNe,malta:ZNe,mauritius:YNe,maldives:QNe,malawi:JNe,mexico:XNe,malaysia:eDe,mozambique:tDe,namibia:nDe,new_caledonia:sDe,niger:oDe,norfolk_island:rDe,nigeria:iDe,nicaragua:aDe,netherlands:lDe,norway:cDe,nepal:uDe,nauru:dDe,niue:fDe,new_zealand:hDe,oman:pDe,panama:gDe,peru:mDe,french_polynesia:_De,papua_new_guinea:bDe,philippines:yDe,pakistan:vDe,poland:wDe,st_pierre_miquelon:xDe,pitcairn_islands:kDe,puerto_rico:EDe,palestinian_territories:CDe,portugal:ADe,palau:SDe,paraguay:TDe,qatar:ODe,reunion:MDe,romania:RDe,serbia:NDe,ru:DDe,rwanda:LDe,saudi_arabia:IDe,solomon_islands:PDe,seychelles:FDe,sudan:BDe,sweden:jDe,singapore:zDe,st_helena:qDe,slovenia:$De,svalbard_jan_mayen:UDe,slovakia:HDe,sierra_leone:VDe,san_marino:GDe,senegal:KDe,somalia:WDe,suriname:ZDe,south_sudan:YDe,sao_tome_principe:QDe,el_salvador:JDe,sint_maarten:XDe,syria:eLe,swaziland:tLe,tristan_da_cunha:nLe,turks_caicos_islands:sLe,chad:oLe,french_southern_territories:rLe,togo:iLe,thailand:aLe,tajikistan:lLe,tokelau:cLe,timor_leste:uLe,turkmenistan:dLe,tunisia:fLe,tonga:hLe,tr:pLe,trinidad_tobago:gLe,tuvalu:mLe,taiwan:_Le,tanzania:bLe,ukraine:yLe,uganda:vLe,us_outlying_islands:wLe,united_nations:xLe,us:kLe,uruguay:ELe,uzbekistan:CLe,vatican_city:ALe,st_vincent_grenadines:SLe,venezuela:TLe,british_virgin_islands:OLe,us_virgin_islands:MLe,vietnam:RLe,vanuatu:NLe,wallis_futuna:DLe,samoa:LLe,kosovo:ILe,yemen:PLe,mayotte:FLe,south_africa:BLe,zambia:jLe,zimbabwe:zLe,england:qLe,scotland:$Le,wales:ULe};var VLe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(b[_-1])||_+v.lengthp&&(g=new h("text","",0),g.content=u.slice(p,_),m.push(g)),g=new h("emoji","",0),g.markup=x,g.content=n[x],m.push(g),p=_+v.length}),p=0;h--)v=m[h],(v.type==="link_open"||v.type==="link_close")&&v.info==="auto"&&(b-=v.nesting),v.type==="text"&&b===0&&o.test(v.content)&&(_[g].children=m=i(m,h,c(v.content,v.level,f.Token)))}};function WLe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ZLe=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 WLe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},YLe=GLe,QLe=KLe,JLe=ZLe,XLe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=JLe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=YLe,e.core.ruler.after("linkify","emoji",QLe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},eIe=HLe,tIe=VLe,nIe=XLe,sIe=function(e,n){var s={defs:eIe,shortcuts:tIe,enabled:[]},o=e.utils.assign({},s,n||{});nIe(e,o)};const oIe=ts(sIe);var kd=!1,As={false:"push",true:"unshift",after:"push",before:"unshift"},kr={isPermalinkSymbol:!0};function il(t,e,n,s){var o;if(!kd){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),kd=!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:kr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[As[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[As[e.permalinkBefore]].apply(o,i)}function pg(t){return"#"+t}function gg(t){return{}}var rIe={class:"header-anchor",symbol:"#",renderHref:pg,renderAttrs:gg};function Do(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({},rIe),e.renderPermalinkImpl=t,e}var fi=Do(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:kr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[As[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[As[e.placement]].apply(r,i)});Object.assign(fi.defaults,{space:!0,placement:"after",ariaHidden:!1});var Pn=Do(fi.renderPermalinkImpl);Pn.defaults=Object.assign({},fi.defaults,{ariaHidden:!0});var mg=Do(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(mg.defaults,{safariReaderFix:!1});var Ed=Do(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(f){return f.type==="text"||f.type==="code_inline"}).reduce(function(f,h){return f+h.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[As[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[As[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:kr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:kr}));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 Cd(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 us(t,e){e=Object.assign({},us.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(f){return s.includes(f)}):function(f){return function(h){return h>=f}}(e.level),a=0;ah.match(f))}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 iIe=ts(rIe);function _g(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)&&_g(n)}),t}class Ad{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function bg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function En(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 aIe="",Sd=t=>!!t.scope,lIe=(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 cIe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=bg(e)}openNode(e){if(!Sd(e))return;const n=lIe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Sd(e)&&(this.buffer+=aIe)}value(){return this.buffer}span(e){this.buffer+=``}}const Td=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class rc{constructor(){this.rootNode=Td(),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=Td({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=>{rc._collapse(n)}))}}class uIe extends rc{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 cIe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function ko(t){return t?typeof t=="string"?t:t.source:null}function yg(t){return ns("(?=",t,")")}function dIe(t){return ns("(?:",t,")*")}function fIe(t){return ns("(?:",t,")?")}function ns(...t){return t.map(n=>ko(n)).join("")}function hIe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function ic(...t){return"("+(hIe(t).capture?"":"?:")+t.map(s=>ko(s)).join("|")+")"}function vg(t){return new RegExp(t.toString()+"|").exec("").length-1}function pIe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const gIe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ac(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=ko(s),i="";for(;r.length>0;){const a=gIe.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 mIe=/\b\B/,wg="[a-zA-Z]\\w*",lc="[a-zA-Z_]\\w*",xg="\\b\\d+(\\.\\d+)?",kg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Eg="\\b(0b[01]+)",_Ie="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bIe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ns(e,/.*\b/,t.binary,/\b.*/)),En({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Eo={begin:"\\\\[\\s\\S]",relevance:0},yIe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Eo]},vIe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Eo]},wIe={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/},hi=function(t,e,n={}){const s=En({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=ic("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:ns(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},xIe=hi("//","$"),kIe=hi("/\\*","\\*/"),EIe=hi("#","$"),CIe={scope:"number",begin:xg,relevance:0},AIe={scope:"number",begin:kg,relevance:0},SIe={scope:"number",begin:Eg,relevance:0},TIe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Eo,{begin:/\[/,end:/\]/,relevance:0,contains:[Eo]}]}]},OIe={scope:"title",begin:wg,relevance:0},MIe={scope:"title",begin:lc,relevance:0},RIe={begin:"\\.\\s*"+lc,relevance:0},NIe=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Ko=Object.freeze({__proto__:null,MATCH_NOTHING_RE:mIe,IDENT_RE:wg,UNDERSCORE_IDENT_RE:lc,NUMBER_RE:xg,C_NUMBER_RE:kg,BINARY_NUMBER_RE:Eg,RE_STARTERS_RE:_Ie,SHEBANG:bIe,BACKSLASH_ESCAPE:Eo,APOS_STRING_MODE:yIe,QUOTE_STRING_MODE:vIe,PHRASAL_WORDS_MODE:wIe,COMMENT:hi,C_LINE_COMMENT_MODE:xIe,C_BLOCK_COMMENT_MODE:kIe,HASH_COMMENT_MODE:EIe,NUMBER_MODE:CIe,C_NUMBER_MODE:AIe,BINARY_NUMBER_MODE:SIe,REGEXP_MODE:TIe,TITLE_MODE:OIe,UNDERSCORE_TITLE_MODE:MIe,METHOD_GUARD:RIe,END_SAME_AS_BEGIN:NIe});function DIe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function LIe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function IIe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=DIe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function PIe(t,e){Array.isArray(t.illegal)&&(t.illegal=ic(...t.illegal))}function FIe(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function BIe(t,e){t.relevance===void 0&&(t.relevance=1)}const jIe=(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=ns(n.beforeMatch,yg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},zIe=["of","and","for","in","not","or","if","then","parent","list","value"],qIe="keyword";function Cg(t,e,n=qIe){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,Cg(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,$Ie(l[0],l[1])]})}}function $Ie(t,e){return e?Number(e):UIe(t)?0:1}function UIe(t){return zIe.includes(t.toLowerCase())}const Od={},Wn=t=>{console.error(t)},Md=(t,...e)=>{console.log(`WARN: ${t}`,...e)},as=(t,e)=>{Od[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Od[`${t}/${e}`]=!0)},Er=new Error;function Ag(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+=vg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function HIe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Wn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Er;if(typeof t.beginScope!="object"||t.beginScope===null)throw Wn("beginScope must be object"),Er;Ag(t,t.begin,{key:"beginScope"}),t.begin=ac(t.begin,{joinWith:""})}}function VIe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Wn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Er;if(typeof t.endScope!="object"||t.endScope===null)throw Wn("endScope must be object"),Er;Ag(t,t.end,{key:"endScope"}),t.end=ac(t.end,{joinWith:""})}}function GIe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function KIe(t){GIe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),HIe(t),VIe(t)}function WIe(t){function e(i,a){return new RegExp(ko(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=vg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(ac(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((f,h)=>h>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[LIe,FIe,KIe,jIe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[IIe,PIe,BIe].forEach(u=>u(i,a)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=Cg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=ko(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return ZIe(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=En(t.classNameAliases||{}),r(t)}function Sg(t){return t?t.endsWithParent||Sg(t.starts):!1}function ZIe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return En(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Sg(t)?En(t,{starts:t.starts?En(t.starts):null}):Object.isFrozen(t)?En(t):t}var YIe="11.8.0";class QIe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Ki=bg,Rd=En,Nd=Symbol("nomatch"),JIe=7,Tg=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:uIe};function l(A){return a.noHighlightRe.test(A)}function c(A){let $=A.className+" ";$+=A.parentNode?A.parentNode.className:"";const V=a.languageDetectRe.exec($);if(V){const me=k(V[1]);return me||(Md(r.replace("{}",V[1])),Md("Falling back to no-highlight mode for this block.",A)),me?V[1]:"no-highlight"}return $.split(/\s+/).find(me=>l(me)||k(me))}function u(A,$,V){let me="",pe="";typeof $=="object"?(me=A,V=$.ignoreIllegals,pe=$.language):(as("10.7.0","highlight(lang, code, ...args) has been deprecated."),as("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=$),V===void 0&&(V=!0);const ee={code:me,language:pe};ae("before:highlight",ee);const _e=ee.result?ee.result:f(ee.language,ee.code,V);return _e.code=ee.code,ae("after:highlight",_e),_e}function f(A,$,V,me){const pe=Object.create(null);function ee(K,oe){return K.keywords[oe]}function _e(){if(!z.keywords){q.addText(Z);return}let K=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Z),he="";for(;oe;){he+=Z.substring(K,oe.index);const ke=j.case_insensitive?oe[0].toLowerCase():oe[0],Le=ee(z,ke);if(Le){const[Ue,Ne]=Le;if(q.addText(he),he="",pe[ke]=(pe[ke]||0)+1,pe[ke]<=JIe&&(ie+=Ne),Ue.startsWith("_"))he+=oe[0];else{const Ze=j.classNameAliases[Ue]||Ue;Q(oe[0],Ze)}}else he+=oe[0];K=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Z)}he+=Z.substring(K),q.addText(he)}function xe(){if(Z==="")return;let K=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){q.addText(Z);return}K=f(z.subLanguage,Z,!0,se[z.subLanguage]),se[z.subLanguage]=K._top}else K=g(Z,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ie+=K.relevance),q.__addSublanguage(K._emitter,K.language)}function N(){z.subLanguage!=null?xe():_e(),Z=""}function Q(K,oe){K!==""&&(q.startScope(oe),q.addText(K),q.endScope())}function H(K,oe){let he=1;const ke=oe.length-1;for(;he<=ke;){if(!K._emit[he]){he++;continue}const Le=j.classNameAliases[K[he]]||K[he],Ue=oe[he];Le?Q(Ue,Le):(Z=Ue,_e(),Z=""),he++}}function te(K,oe){return K.scope&&typeof K.scope=="string"&&q.openNode(j.classNameAliases[K.scope]||K.scope),K.beginScope&&(K.beginScope._wrap?(Q(Z,j.classNameAliases[K.beginScope._wrap]||K.beginScope._wrap),Z=""):K.beginScope._multi&&(H(K.beginScope,oe),Z="")),z=Object.create(K,{parent:{value:z}}),z}function X(K,oe,he){let ke=pIe(K.endRe,he);if(ke){if(K["on:end"]){const Le=new Ad(K);K["on:end"](oe,Le),Le.isMatchIgnored&&(ke=!1)}if(ke){for(;K.endsParent&&K.parent;)K=K.parent;return K}}if(K.endsWithParent)return X(K.parent,oe,he)}function fe(K){return z.matcher.regexIndex===0?(Z+=K[0],1):(ye=!0,0)}function le(K){const oe=K[0],he=K.rule,ke=new Ad(he),Le=[he.__beforeBegin,he["on:begin"]];for(const Ue of Le)if(Ue&&(Ue(K,ke),ke.isMatchIgnored))return fe(oe);return he.skip?Z+=oe:(he.excludeBegin&&(Z+=oe),N(),!he.returnBegin&&!he.excludeBegin&&(Z=oe)),te(he,K),he.returnBegin?0:oe.length}function w(K){const oe=K[0],he=$.substring(K.index),ke=X(z,K,he);if(!ke)return Nd;const Le=z;z.endScope&&z.endScope._wrap?(N(),Q(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),H(z.endScope,K)):Le.skip?Z+=oe:(Le.returnEnd||Le.excludeEnd||(Z+=oe),N(),Le.excludeEnd&&(Z=oe));do z.scope&&q.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==ke.parent);return ke.starts&&te(ke.starts,K),Le.returnEnd?0:oe.length}function E(){const K=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&K.unshift(oe.scope);K.forEach(oe=>q.openNode(oe))}let P={};function B(K,oe){const he=oe&&oe[0];if(Z+=K,he==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&he===""){if(Z+=$.slice(oe.index,oe.index+1),!o){const ke=new Error(`0 width match regex (${A})`);throw ke.languageName=A,ke.badRule=P.rule,ke}return 1}if(P=oe,oe.type==="begin")return le(oe);if(oe.type==="illegal"&&!V){const ke=new Error('Illegal lexeme "'+he+'" for mode "'+(z.scope||"")+'"');throw ke.mode=z,ke}else if(oe.type==="end"){const ke=w(oe);if(ke!==Nd)return ke}if(oe.type==="illegal"&&he==="")return 1;if(ce>1e5&&ce>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=he,he.length}const j=k(A);if(!j)throw Wn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const ne=WIe(j);let re="",z=me||ne;const se={},q=new a.__emitter(a);E();let Z="",ie=0,de=0,ce=0,ye=!1;try{if(j.__emitTokens)j.__emitTokens($,q);else{for(z.matcher.considerAll();;){ce++,ye?ye=!1:z.matcher.considerAll(),z.matcher.lastIndex=de;const K=z.matcher.exec($);if(!K)break;const oe=$.substring(de,K.index),he=B(oe,K);de=K.index+he}B($.substring(de))}return q.finalize(),re=q.toHTML(),{language:A,value:re,relevance:ie,illegal:!1,_emitter:q,_top:z}}catch(K){if(K.message&&K.message.includes("Illegal"))return{language:A,value:Ki($),illegal:!0,relevance:0,_illegalBy:{message:K.message,index:de,context:$.slice(de-100,de+100),mode:K.mode,resultSoFar:re},_emitter:q};if(o)return{language:A,value:Ki($),illegal:!1,relevance:0,errorRaised:K,_emitter:q,_top:z};throw K}}function h(A){const $={value:Ki(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return $._emitter.addText(A),$}function g(A,$){$=$||a.languages||Object.keys(e);const V=h(A),me=$.filter(k).filter(L).map(N=>f(N,A,!1));me.unshift(V);const pe=me.sort((N,Q)=>{if(N.relevance!==Q.relevance)return Q.relevance-N.relevance;if(N.language&&Q.language){if(k(N.language).supersetOf===Q.language)return 1;if(k(Q.language).supersetOf===N.language)return-1}return 0}),[ee,_e]=pe,xe=ee;return xe.secondBest=_e,xe}function p(A,$,V){const me=$&&n[$]||V;A.classList.add("hljs"),A.classList.add(`language-${me}`)}function m(A){let $=null;const V=c(A);if(l(V))return;if(ae("before:highlightElement",{el:A,language:V}),A.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),a.throwUnescapedHTML))throw new QIe("One of your code blocks includes unescaped HTML.",A.innerHTML);$=A;const me=$.textContent,pe=V?u(me,{language:V,ignoreIllegals:!0}):g(me);A.innerHTML=pe.value,p(A,V,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),ae("after:highlightElement",{el:A,result:pe,text:me})}function v(A){a=Rd(a,A)}const _=()=>{C(),as("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){C(),as("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function C(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function R(){x&&C()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function T(A,$){let V=null;try{V=$(t)}catch(me){if(Wn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Wn(me);else throw me;V=i}V.name||(V.name=A),e[A]=V,V.rawDefinition=$.bind(null,t),V.aliases&&S(V.aliases,{languageName:A})}function D(A){delete e[A];for(const $ of Object.keys(n))n[$]===A&&delete n[$]}function y(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function S(A,{languageName:$}){typeof A=="string"&&(A=[A]),A.forEach(V=>{n[V.toLowerCase()]=$})}function L(A){const $=k(A);return $&&!$.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=$=>{A["before:highlightBlock"](Object.assign({block:$.el},$))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=$=>{A["after:highlightBlock"](Object.assign({block:$.el},$))})}function Y(A){F(A),s.push(A)}function I(A){const $=s.indexOf(A);$!==-1&&s.splice($,1)}function ae(A,$){const V=A;s.forEach(function(me){me[V]&&me[V]($)})}function W(A){return as("10.7.0","highlightBlock will be removed entirely in v12.0"),as("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:C,highlightElement:m,highlightBlock:W,configure:v,initHighlighting:_,initHighlightingOnLoad:b,registerLanguage:T,unregisterLanguage:D,listLanguages:y,getLanguage:k,registerAliases:S,autoDetection:L,inherit:Rd,addPlugin:Y,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=YIe,t.regex={concat:ns,lookahead:yg,either:ic,optional:fIe,anyNumberOfTimes:dIe};for(const A in Ko)typeof Ko[A]=="object"&&_g(Ko[A]);return Object.assign(t,Ko),t},Ss=Tg({});Ss.newInstance=()=>Tg({});var XIe=Ss;Ss.HighlightJS=Ss;Ss.default=Ss;var Wi,Dd;function ePe(){if(Dd)return Wi;Dd=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 Wi=t,Wi}var Zi,Ld;function tPe(){if(Ld)return Zi;Ld=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]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.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},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],v={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["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"],C=["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:p,literal:m,built_in:[..._,...b,"set","shopt",...x,...C]},contains:[h,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,v,a,l,c,s]}}return Zi=t,Zi}var Yi,Id;function nPe(){if(Id)return Yi;Id=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})"/})]},f={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},h={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},p=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"},b=[h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:b.concat([{begin:/\(/,end:/\)/,keywords:_,contains:b.concat(["self"]),relevance:0}]),relevance:0},C={begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:p,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,f,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:h,strings:u,keywords:_}}}return Yi=t,Yi}var Qi,Pd;function sPe(){if(Pd)return Qi;Pd=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})"/})]},f={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},h={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},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",m=["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"],v=["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"],b=["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:v,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},T={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[T,h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],y={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]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:p,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,f,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};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 Qi=t,Qi}var Ji,Fd;function oPe(){if(Fd)return Ji;Fd=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:'""'}]},f=e.inherit(u,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(h,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},m={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},v=e.inherit(m,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});h.contains=[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[v,p,f,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",C={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,b,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,b,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,b],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]},C]}}return Ji=t,Ji}var Xi,Bd;function rPe(){if(Bd)return Xi;Bd=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])/},f="and or not only",h=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",p=[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,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Xi=i,Xi}var ea,jd;function iPe(){if(jd)return ea;jd=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}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=e.inherit(u,{contains:[]}),g=e.inherit(f,{contains:[]});u.contains.push(g),f.contains.push(h);let p=[s,c];return[u,f,h,g].forEach(_=>{_.contains=_.contains.concat(p)}),p=p.concat(u,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},s,i,u,f,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},r,o,c,a]}}return ea=t,ea}var ta,zd;function aPe(){if(zd)return ta;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 ta=t,ta}var na,qd;function lPe(){if(qd)return na;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:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:a},h={className:"string",contains:[e.BACKSLASH_ESCAPE,f],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,f]})]}]},g="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[h,{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:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:s}],relevance:0},m,{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,f],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);f.contains=D,v.contains=D;const y="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",S="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+y+"|"+k+"|"+S+")(?=[ ])",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 na=t,na}var sa,$d;function cPe(){if($d)return sa;$d=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),p={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"]},m={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},v={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,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:[v,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:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[m,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,m]}}return ia=r,ia}var aa,Gd;function hPe(){if(Gd)return aa;Gd=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,f=(H,{after:te})=>{const X="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={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===">"&&(f(H,{after:X})||te.ignoreMatch());let le;const w=H.input.substring(X);if(le=w.match(/^\s*=/)){te.ignoreMatch();return}if((le=w.match(/^\s+extends\s+/))&&le.index===0){te.ignoreMatch();return}}},v={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",b=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${x})((${b})|\\.)?|(${b}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${b})\\b|\\.)?|(${b})\\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:v,contains:[]},T={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"}},y={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:h+"(?=\\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,T,D,y,k,{match:/\$\d+/},C];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(F)});const Y=[].concat(L,R.contains),I=Y.concat([{begin:/\(/,end:/\)/,keywords:v,contains:["self"].concat(Y)}]),ae={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:I},W={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,u.concat(h,"(",u.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},A={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]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},V={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ae],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function pe(H){return u.concat("(?!",H.join("|"),")")}const ee={match:u.concat(/\b/,pe([...r,"super","import"]),h,u.lookahead(/\(/)),className:"title.function",relevance:0},_e={begin:u.concat(/\./,u.lookahead(u.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},xe={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ae]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ae]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,T,D,y,k,L,{match:/\$\d+/},C,A,{className:"attr",begin:h+u.lookahead(":"),relevance:0},Q,{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:v,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:p},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},V,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ae,c.inherit(c.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},_e,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ae]},ee,me,W,xe,{match:/\$[(.]/}]}}return aa=l,aa}var la,Kd;function pPe(){if(Kd)return la;Kd=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 la=t,la}var ca,Wd;function gPe(){if(Wd)return ca;Wd=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},f={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(f);const h={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(f,{className:"string"}),"self"]}]},p=s,m=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=v;return _.variants[1].contains=[v],v.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,m,a,l,h,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:[v,r.C_LINE_COMMENT_MODE,m],relevance:0},r.C_LINE_COMMENT_MODE,m,h,g,f,r.C_NUMBER_MODE]},m]},{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},h,g]},f,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},p]}}return ca=o,ca}var ua,Zd;function mPe(){if(Zd)return ua;Zd=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,f="and or not only",h="[\\w-]+",g="("+h+"|@\\{"+h+"\\})",p=[],m=[],v=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Y){return{className:L,begin:F,relevance:Y}},b={$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:m,keywords:b,relevance:0};m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+h,10),_("variable","@\\{"+h+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:h+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const C=m.concat({begin:/\{/,end:/\}/,contains:p}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(m)},T={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:m}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:m,relevance:0}},y={className:"variable",variants:[{begin:"@"+h+"\\s*:",relevance:15},{begin:"@"+h}],starts:{end:"[;}]",returnEnd:!0,contains:C}},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","@\\{"+h+"\\}"),{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:C},{begin:"!important"},c.FUNCTION_DISPATCH]},S={begin:h+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[k]};return p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,y,S,T,k,R,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:p}}return ua=a,ua}var da,Yd;function _Pe(){if(Yd)return da;Yd=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 da=t,da}var fa,Qd;function bPe(){if(Qd)return fa;Qd=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=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(p,m,v="\\1")=>{const _=v==="\\1"?v:n.concat(v,m);return n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,v,o)},h=(p,m,v)=>n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,v,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:f("s|tr|y",n.either(...u,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("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 ha=t,ha}var pa,Xd;function vPe(){if(Xd)return pa;Xd=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 pa=t,pa}var ga,ef;function wPe(){if(ef)return ga;ef=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)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,ae)=>{ae.data._beginMatch=I[1]||I[2]},"on:end":(I,ae)=>{ae.data._beginMatch!==I[1]&&ae.ignoreMatch()}},h=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ -]`,p={scope:"string",variants:[u,c,f,h]},m={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},v=["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"],b=["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"],C={keyword:_,literal:(I=>{const ae=[];return I.forEach(W=>{ae.push(W),W.toLowerCase()===W?ae.push(W.toUpperCase()):ae.push(W.toLowerCase())}),ae})(v),built_in:b},R=I=>I.map(ae=>ae.replace(/\|\d+$/,"")),T={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(b).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),y={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(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:C,contains:[k,i,y,e.C_BLOCK_COMMENT_MODE,p,m,T]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(_).join("\\b|"),"|",R(b).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(L);const F=[k,y,e.C_BLOCK_COMMENT_MODE,p,m,T],Y={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:C,contains:[Y,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,y,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},T,{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:C,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,p,m]}]},{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]},p,m]}}return ga=t,ga}var ma,tf;function xPe(){if(tf)return ma;tf=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 ma=t,ma}var _a,nf;function kPe(){if(nf)return _a;nf=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return _a=t,_a}var ba,sf;function EPe(){if(sf)return ba;sf=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:/#/},f={begin:/\{\{/,relevance:0},h={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,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,f,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,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",p=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,m=`\\b|${o.join("|")}`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${p}))[eE][+-]?(${g})[jJ]?(?=${m})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${g})[jJ](?=${m})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,v,h,e.HASH_COMMENT_MODE]}]};return u.contains=[h,v,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},h,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{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:[v,b,h]}]}}return ba=t,ba}var ya,of;function CPe(){if(of)return ya;of=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return ya=t,ya}var va,rf;function APe(){if(rf)return va;rf=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 va=t,va}var wa,af;function SPe(){if(af)return wa;af=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 wa=t,wa}var xa,lf;function TPe(){if(lf)return xa;lf=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,f="@[a-z-]+",h="and or not only",p={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("|")+")"},p,{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,p,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:f,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:f,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return xa=i,xa}var ka,cf;function OPe(){if(cf)return ka;cf=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 ka=t,ka}var Ea,uf;function MPe(){if(uf)return Ea;uf=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"],f=["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"],h=["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"],p=f,m=[...u,...c].filter(C=>!f.includes(C)),v={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function x(C,{exceptions:R,when:T}={}){const D=T;return R=R||[],C.map(y=>y.match(/\|\d+$/)||R.includes(y)?y:D(y)?`${y}|0`:y)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(m,{when:C=>C.length<3}),literal:i,type:l,built_in:h},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:m.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},b,v,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Ea=t,Ea}var Ca,df;function RPe(){if(df)return Ca;df=1;function t(y){return y?typeof y=="string"?y:y.source:null}function e(y){return n("(?=",y,")")}function n(...y){return y.map(S=>t(S)).join("")}function s(y){const k=y[y.length-1];return typeof k=="object"&&k.constructor===Object?(y.splice(y.length-1,1),k):{}}function o(...y){return"("+(s(y).capture?"":"?:")+y.map(L=>t(L)).join("|")+")"}const r=y=>n(/\b/,y,/\w$/.test(y)?/\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"],f=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#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"],p=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]/),m=o(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),v=n(p,m,"*"),_=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]/),b=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,b,"*"),C=n(/[A-Z]/,b,"*"),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"],T=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(y){const k={match:/\s+/,relevance:0},S=y.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[y.C_LINE_COMMENT_MODE,S],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Y={match:n(/\./,o(...c)),relevance:0},I=c.filter(Ne=>typeof Ne=="string").concat(["_|0"]),ae=c.filter(Ne=>typeof Ne!="string").concat(l).map(r),W={variants:[{className:"keyword",match:o(...ae,...a)}]},A={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(h),literal:u},$=[F,Y,W],V={match:n(/\./,o(...g)),relevance:0},me={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},pe=[V,me],ee={match:/->/,relevance:0},_e={className:"operator",relevance:0,variants:[{match:v},{match:`\\.(\\.|${m})+`}]},xe=[ee,_e],N="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${Q})(\\.(${Q}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(Ne="")=>({className:"subst",variants:[{match:n(/\\/,Ne,/[0\\tnr"']/)},{match:n(/\\/,Ne,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Ne="")=>({className:"subst",match:n(/\\/,Ne,/[\t ]*(?:[\r\n]|\r\n)/)}),fe=(Ne="")=>({className:"subst",label:"interpol",begin:n(/\\/,Ne,/\(/),end:/\)/}),le=(Ne="")=>({begin:n(Ne,/"""/),end:n(/"""/,Ne),contains:[te(Ne),X(Ne),fe(Ne)]}),w=(Ne="")=>({begin:n(Ne,/"/),end:n(/"/,Ne),contains:[te(Ne),fe(Ne)]}),E={className:"string",variants:[le(),le("#"),le("##"),le("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},B={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${b}+`},ne=[P,B,j],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:T,contains:[...xe,H,E]}]}},z={className:"keyword",match:n(/@/,o(...R))},se={className:"meta",match:n(/@/,x)},q=[re,z,se],Z={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)/,b,"+")},{className:"type",match:C,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(C)),relevance:0}]},ie={begin://,keywords:A,contains:[...L,...$,...q,ee,Z]};Z.contains.push(ie);const de={match:n(x,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",de,...L,...$,...pe,...xe,H,E,...ne,...q,Z]},ye={begin://,contains:[...L,Z]},K={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:A,contains:[K,...L,...$,...xe,H,E,...q,Z,ce],endsParent:!0,illegal:/["']/},he={match:[/func/,/\s+/,o(P.match,x,v)],className:{1:"keyword",3:"title.function"},contains:[ye,oe,k],illegal:[/\[/,/%/]},ke={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ye,oe,k],illegal:/\[|%/},Le={match:[/operator/,/\s+/,v],className:{1:"keyword",3:"title"}},Ue={begin:[/precedencegroup/,/\s+/,C],className:{1:"keyword",3:"title"},contains:[Z],keywords:[...f,...u],end:/}/};for(const Ne of E.variants){const Ze=Ne.contains.find(rt=>rt.label==="interpol");Ze.keywords=A;const Qe=[...$,...pe,...xe,H,E,...ne];Ze.contains=[...Qe,{begin:/\(/,end:/\)/,contains:["self",...Qe]}]}return{name:"Swift",keywords:A,contains:[...L,he,ke,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:A,contains:[y.inherit(y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...$]},Le,Ue,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...$,...pe,...xe,H,E,...ne,...q,Z,ce]}}return Ca=D,Ca}var Aa,ff;function NPe(){if(ff)return Aa;ff=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]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+l+c+u+f+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},p={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},v=[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}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},p,m,i],_=[...v];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Aa=t,Aa}var Sa,hf;function DPe(){if(hf)return Sa;hf=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 f=u.regex,h=(te,{after:X})=>{const fe="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const fe=te[0].length+te.index,le=te.input[fe];if(le==="<"||le===","){X.ignoreMatch();return}le===">"&&(h(te,{after:fe})||X.ignoreMatch());let w;const E=te.input.substring(fe);if(w=E.match(/^\s*=/)){X.ignoreMatch();return}if((w=E.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",x=`\\.(${b})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${C})((${x})|\\.)?|(${x}))[eE][+-]?(${b})\\b`},{begin:`\\b(${C})\\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},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,T]},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]},Y=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,S,{match:/\$\d+/},R];T.contains=Y.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Y)});const I=[].concat(F,T.contains),ae=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ae},A={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,f.concat(g,"(",f.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:f.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]}},V={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},me={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},pe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return f.concat("(?!",te.join("|"),")")}const _e={match:f.concat(/\b/,ee([...r,"super","import"]),g,f.lookahead(/\(/)),className:"title.function",relevance:0},xe={begin:f.concat(/\./,f.lookahead(f.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:/\(\)/},W]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,f.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),V,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,S,F,{match:/\$\d+/},R,$,{className:"attr",begin:g+f.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:Q,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:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:m},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}]},me,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},xe,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},_e,pe,A,N,{match:/\$[(.]/}]}}function c(u){const f=l(u),h=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[f.exports.CLASS_REFERENCE]},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[f.exports.CLASS_REFERENCE]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],b={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+h},C=(T,D,y)=>{const k=T.contains.findIndex(S=>S.label===D);if(k===-1)throw new Error("can not find mode to replace");T.contains.splice(k,1,y)};Object.assign(f.keywords,b),f.exports.PARAMS_CONTAINS.push(x),f.contains=f.contains.concat([x,p,m]),C(f,"shebang",u.SHEBANG()),C(f,"use_strict",v);const R=f.contains.find(T=>T.label==="func.def");return R.relevance=0,Object.assign(f,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),f}return Sa=c,Sa}var Ta,pf;function LPe(){if(pf)return Ta;pf=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])|[%&])?/}]},f={className:"label",begin:/^\w+:/},h=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,f,h,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 Ta=t,Ta}var Oa,gf;function IPe(){if(gf)return Oa;gf=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 Oa=t,Oa}var Te=XIe;Te.registerLanguage("xml",ePe());Te.registerLanguage("bash",tPe());Te.registerLanguage("c",nPe());Te.registerLanguage("cpp",sPe());Te.registerLanguage("csharp",oPe());Te.registerLanguage("css",rPe());Te.registerLanguage("markdown",iPe());Te.registerLanguage("diff",aPe());Te.registerLanguage("ruby",lPe());Te.registerLanguage("go",cPe());Te.registerLanguage("graphql",uPe());Te.registerLanguage("ini",dPe());Te.registerLanguage("java",fPe());Te.registerLanguage("javascript",hPe());Te.registerLanguage("json",pPe());Te.registerLanguage("kotlin",gPe());Te.registerLanguage("less",mPe());Te.registerLanguage("lua",_Pe());Te.registerLanguage("makefile",bPe());Te.registerLanguage("perl",yPe());Te.registerLanguage("objectivec",vPe());Te.registerLanguage("php",wPe());Te.registerLanguage("php-template",xPe());Te.registerLanguage("plaintext",kPe());Te.registerLanguage("python",EPe());Te.registerLanguage("python-repl",CPe());Te.registerLanguage("r",APe());Te.registerLanguage("rust",SPe());Te.registerLanguage("scss",TPe());Te.registerLanguage("shell",OPe());Te.registerLanguage("sql",MPe());Te.registerLanguage("swift",RPe());Te.registerLanguage("yaml",NPe());Te.registerLanguage("typescript",DPe());Te.registerLanguage("vbnet",LPe());Te.registerLanguage("wasm",IPe());Te.HighlightJS=Te;Te.default=Te;var PPe=Te;const ro=ts(PPe);var On={};On.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",f=!0,h=!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))}};On.removeDelimiter=function(t,e){const n=al(e.leftDelimiter),s=al(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function al(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}On.escapeRegExp=al;On.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 FPe=/[&<>"]/,BPe=/[&<>"]/g,jPe={"&":"&","<":"<",">":">",'"':"""};function zPe(t){return jPe[t]}On.escapeHtml=function(t){return FPe.test(t)?t.replace(BPe,zPe):t};const Re=On;var qPe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Re.escapeRegExp(t.leftDelimiter)+"[^"+Re.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Re.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Re.getAttrs(o.info,r,t);Re.addAttrs(i,o),o.info=Re.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:Re.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=Re.getAttrs(r.content,0,t);Re.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:Re.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Re.getMatchingOpeningToken(n,s),i=Re.getAttrs(o.content,0,t);Re.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:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,0,t),l=Re.getMatchingOpeningToken(n[s].children,o-1);Re.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:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Re.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--;Re.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:Re.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Re.getAttrs(r,0,t),a=Re.getMatchingOpeningToken(n,s);Re.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:Re.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Re.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=mf(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:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Re.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Re.getMatchingOpeningToken(n,a);Re.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=Re.getAttrs(r,i,t);Re.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Re.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=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Re.getMatchingOpeningToken(n,l);Re.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=mf(u)!==" "?u:u.slice(0,-1)}}]};function mf(t){return t.slice(-1)[0]}const $Pe=qPe,UPe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var HPe=function(e,n){let s=Object.assign({},UPe);s=Object.assign(s,n);const o=$Pe(s);function r(i){const a=i.tokens;for(let l=0;l{const p=ll(a,l,g);return p.j!==null&&(f=p.j),p.match})&&(u.transform(a,l,f),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ll(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=KPe(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"&&VPe(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=>ll(c,u.position,u).match),a){const u=WPe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;ull(c,u,f).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(GPe(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 VPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function GPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function KPe(t,e){return e>=0?t[e]:t[t.length+e]}function WPe(t){return t.slice(-1)[0]||{}}const ZPe=ts(HPe);function YPe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Co=new Xue("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=YPe();if(e&&ro.getLanguage(e))try{const o=ro.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+ro.highlightAuto(t).value+"
"},bulletListMarker:"•"}).use(ZPe).use(us).use(iIe).use(sIe);ro.configure({languages:[]});ro.configure({languages:["javascript"]});Co.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 Og=(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)};Co.renderer.rules.bullet_list_open=Og;Co.renderer.rules.ordered_list_open=Og;const QPe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` +`})))});function Cd(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 us(t,e){e=Object.assign({},us.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(f){return s.includes(f)}):function(f){return function(h){return h>=f}}(e.level),a=0;ah.match(f))}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 aIe=ts(iIe);function _g(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)&&_g(n)}),t}class Ad{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function bg(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function En(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 lIe="
",Sd=t=>!!t.scope,cIe=(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 uIe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=bg(e)}openNode(e){if(!Sd(e))return;const n=cIe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Sd(e)&&(this.buffer+=lIe)}value(){return this.buffer}span(e){this.buffer+=``}}const Td=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class rc{constructor(){this.rootNode=Td(),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=Td({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=>{rc._collapse(n)}))}}class dIe extends rc{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 uIe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function ko(t){return t?typeof t=="string"?t:t.source:null}function yg(t){return ns("(?=",t,")")}function fIe(t){return ns("(?:",t,")*")}function hIe(t){return ns("(?:",t,")?")}function ns(...t){return t.map(n=>ko(n)).join("")}function pIe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function ic(...t){return"("+(pIe(t).capture?"":"?:")+t.map(s=>ko(s)).join("|")+")"}function vg(t){return new RegExp(t.toString()+"|").exec("").length-1}function gIe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const mIe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ac(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=ko(s),i="";for(;r.length>0;){const a=mIe.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 _Ie=/\b\B/,wg="[a-zA-Z]\\w*",lc="[a-zA-Z_]\\w*",xg="\\b\\d+(\\.\\d+)?",kg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Eg="\\b(0b[01]+)",bIe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",yIe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ns(e,/.*\b/,t.binary,/\b.*/)),En({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Eo={begin:"\\\\[\\s\\S]",relevance:0},vIe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Eo]},wIe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Eo]},xIe={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/},hi=function(t,e,n={}){const s=En({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=ic("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:ns(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},kIe=hi("//","$"),EIe=hi("/\\*","\\*/"),CIe=hi("#","$"),AIe={scope:"number",begin:xg,relevance:0},SIe={scope:"number",begin:kg,relevance:0},TIe={scope:"number",begin:Eg,relevance:0},OIe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Eo,{begin:/\[/,end:/\]/,relevance:0,contains:[Eo]}]}]},MIe={scope:"title",begin:wg,relevance:0},RIe={scope:"title",begin:lc,relevance:0},NIe={begin:"\\.\\s*"+lc,relevance:0},DIe=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Ko=Object.freeze({__proto__:null,MATCH_NOTHING_RE:_Ie,IDENT_RE:wg,UNDERSCORE_IDENT_RE:lc,NUMBER_RE:xg,C_NUMBER_RE:kg,BINARY_NUMBER_RE:Eg,RE_STARTERS_RE:bIe,SHEBANG:yIe,BACKSLASH_ESCAPE:Eo,APOS_STRING_MODE:vIe,QUOTE_STRING_MODE:wIe,PHRASAL_WORDS_MODE:xIe,COMMENT:hi,C_LINE_COMMENT_MODE:kIe,C_BLOCK_COMMENT_MODE:EIe,HASH_COMMENT_MODE:CIe,NUMBER_MODE:AIe,C_NUMBER_MODE:SIe,BINARY_NUMBER_MODE:TIe,REGEXP_MODE:OIe,TITLE_MODE:MIe,UNDERSCORE_TITLE_MODE:RIe,METHOD_GUARD:NIe,END_SAME_AS_BEGIN:DIe});function LIe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function IIe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function PIe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=LIe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function FIe(t,e){Array.isArray(t.illegal)&&(t.illegal=ic(...t.illegal))}function BIe(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 jIe(t,e){t.relevance===void 0&&(t.relevance=1)}const zIe=(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=ns(n.beforeMatch,yg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},qIe=["of","and","for","in","not","or","if","then","parent","list","value"],$Ie="keyword";function Cg(t,e,n=$Ie){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,Cg(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,UIe(l[0],l[1])]})}}function UIe(t,e){return e?Number(e):HIe(t)?0:1}function HIe(t){return qIe.includes(t.toLowerCase())}const Od={},Wn=t=>{console.error(t)},Md=(t,...e)=>{console.log(`WARN: ${t}`,...e)},as=(t,e)=>{Od[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Od[`${t}/${e}`]=!0)},Er=new Error;function Ag(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+=vg(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function VIe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Wn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Er;if(typeof t.beginScope!="object"||t.beginScope===null)throw Wn("beginScope must be object"),Er;Ag(t,t.begin,{key:"beginScope"}),t.begin=ac(t.begin,{joinWith:""})}}function GIe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Wn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Er;if(typeof t.endScope!="object"||t.endScope===null)throw Wn("endScope must be object"),Er;Ag(t,t.end,{key:"endScope"}),t.end=ac(t.end,{joinWith:""})}}function KIe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function WIe(t){KIe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),VIe(t),GIe(t)}function ZIe(t){function e(i,a){return new RegExp(ko(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=vg(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(ac(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((f,h)=>h>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[IIe,BIe,WIe,zIe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[PIe,FIe,jIe].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=Cg(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=ko(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return YIe(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=En(t.classNameAliases||{}),r(t)}function Sg(t){return t?t.endsWithParent||Sg(t.starts):!1}function YIe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return En(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Sg(t)?En(t,{starts:t.starts?En(t.starts):null}):Object.isFrozen(t)?En(t):t}var QIe="11.8.0";class JIe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Ki=bg,Rd=En,Nd=Symbol("nomatch"),XIe=7,Tg=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:dIe};function l(A){return a.noHighlightRe.test(A)}function c(A){let $=A.className+" ";$+=A.parentNode?A.parentNode.className:"";const V=a.languageDetectRe.exec($);if(V){const me=k(V[1]);return me||(Md(r.replace("{}",V[1])),Md("Falling back to no-highlight mode for this block.",A)),me?V[1]:"no-highlight"}return $.split(/\s+/).find(me=>l(me)||k(me))}function u(A,$,V){let me="",pe="";typeof $=="object"?(me=A,V=$.ignoreIllegals,pe=$.language):(as("10.7.0","highlight(lang, code, ...args) has been deprecated."),as("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=$),V===void 0&&(V=!0);const ee={code:me,language:pe};ae("before:highlight",ee);const _e=ee.result?ee.result:f(ee.language,ee.code,V);return _e.code=ee.code,ae("after:highlight",_e),_e}function f(A,$,V,me){const pe=Object.create(null);function ee(K,oe){return K.keywords[oe]}function _e(){if(!z.keywords){q.addText(Z);return}let K=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Z),he="";for(;oe;){he+=Z.substring(K,oe.index);const ke=j.case_insensitive?oe[0].toLowerCase():oe[0],Le=ee(z,ke);if(Le){const[Ue,Ne]=Le;if(q.addText(he),he="",pe[ke]=(pe[ke]||0)+1,pe[ke]<=XIe&&(ie+=Ne),Ue.startsWith("_"))he+=oe[0];else{const Ze=j.classNameAliases[Ue]||Ue;Q(oe[0],Ze)}}else he+=oe[0];K=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Z)}he+=Z.substring(K),q.addText(he)}function xe(){if(Z==="")return;let K=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){q.addText(Z);return}K=f(z.subLanguage,Z,!0,se[z.subLanguage]),se[z.subLanguage]=K._top}else K=g(Z,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ie+=K.relevance),q.__addSublanguage(K._emitter,K.language)}function N(){z.subLanguage!=null?xe():_e(),Z=""}function Q(K,oe){K!==""&&(q.startScope(oe),q.addText(K),q.endScope())}function H(K,oe){let he=1;const ke=oe.length-1;for(;he<=ke;){if(!K._emit[he]){he++;continue}const Le=j.classNameAliases[K[he]]||K[he],Ue=oe[he];Le?Q(Ue,Le):(Z=Ue,_e(),Z=""),he++}}function te(K,oe){return K.scope&&typeof K.scope=="string"&&q.openNode(j.classNameAliases[K.scope]||K.scope),K.beginScope&&(K.beginScope._wrap?(Q(Z,j.classNameAliases[K.beginScope._wrap]||K.beginScope._wrap),Z=""):K.beginScope._multi&&(H(K.beginScope,oe),Z="")),z=Object.create(K,{parent:{value:z}}),z}function X(K,oe,he){let ke=gIe(K.endRe,he);if(ke){if(K["on:end"]){const Le=new Ad(K);K["on:end"](oe,Le),Le.isMatchIgnored&&(ke=!1)}if(ke){for(;K.endsParent&&K.parent;)K=K.parent;return K}}if(K.endsWithParent)return X(K.parent,oe,he)}function fe(K){return z.matcher.regexIndex===0?(Z+=K[0],1):(ve=!0,0)}function le(K){const oe=K[0],he=K.rule,ke=new Ad(he),Le=[he.__beforeBegin,he["on:begin"]];for(const Ue of Le)if(Ue&&(Ue(K,ke),ke.isMatchIgnored))return fe(oe);return he.skip?Z+=oe:(he.excludeBegin&&(Z+=oe),N(),!he.returnBegin&&!he.excludeBegin&&(Z=oe)),te(he,K),he.returnBegin?0:oe.length}function w(K){const oe=K[0],he=$.substring(K.index),ke=X(z,K,he);if(!ke)return Nd;const Le=z;z.endScope&&z.endScope._wrap?(N(),Q(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),H(z.endScope,K)):Le.skip?Z+=oe:(Le.returnEnd||Le.excludeEnd||(Z+=oe),N(),Le.excludeEnd&&(Z=oe));do z.scope&&q.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==ke.parent);return ke.starts&&te(ke.starts,K),Le.returnEnd?0:oe.length}function E(){const K=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&K.unshift(oe.scope);K.forEach(oe=>q.openNode(oe))}let P={};function B(K,oe){const he=oe&&oe[0];if(Z+=K,he==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&he===""){if(Z+=$.slice(oe.index,oe.index+1),!o){const ke=new Error(`0 width match regex (${A})`);throw ke.languageName=A,ke.badRule=P.rule,ke}return 1}if(P=oe,oe.type==="begin")return le(oe);if(oe.type==="illegal"&&!V){const ke=new Error('Illegal lexeme "'+he+'" for mode "'+(z.scope||"")+'"');throw ke.mode=z,ke}else if(oe.type==="end"){const ke=w(oe);if(ke!==Nd)return ke}if(oe.type==="illegal"&&he==="")return 1;if(ce>1e5&&ce>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Z+=he,he.length}const j=k(A);if(!j)throw Wn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const ne=ZIe(j);let re="",z=me||ne;const se={},q=new a.__emitter(a);E();let Z="",ie=0,de=0,ce=0,ve=!1;try{if(j.__emitTokens)j.__emitTokens($,q);else{for(z.matcher.considerAll();;){ce++,ve?ve=!1:z.matcher.considerAll(),z.matcher.lastIndex=de;const K=z.matcher.exec($);if(!K)break;const oe=$.substring(de,K.index),he=B(oe,K);de=K.index+he}B($.substring(de))}return q.finalize(),re=q.toHTML(),{language:A,value:re,relevance:ie,illegal:!1,_emitter:q,_top:z}}catch(K){if(K.message&&K.message.includes("Illegal"))return{language:A,value:Ki($),illegal:!0,relevance:0,_illegalBy:{message:K.message,index:de,context:$.slice(de-100,de+100),mode:K.mode,resultSoFar:re},_emitter:q};if(o)return{language:A,value:Ki($),illegal:!1,relevance:0,errorRaised:K,_emitter:q,_top:z};throw K}}function h(A){const $={value:Ki(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return $._emitter.addText(A),$}function g(A,$){$=$||a.languages||Object.keys(e);const V=h(A),me=$.filter(k).filter(L).map(N=>f(N,A,!1));me.unshift(V);const pe=me.sort((N,Q)=>{if(N.relevance!==Q.relevance)return Q.relevance-N.relevance;if(N.language&&Q.language){if(k(N.language).supersetOf===Q.language)return 1;if(k(Q.language).supersetOf===N.language)return-1}return 0}),[ee,_e]=pe,xe=ee;return xe.secondBest=_e,xe}function p(A,$,V){const me=$&&n[$]||V;A.classList.add("hljs"),A.classList.add(`language-${me}`)}function m(A){let $=null;const V=c(A);if(l(V))return;if(ae("before:highlightElement",{el:A,language:V}),A.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),a.throwUnescapedHTML))throw new JIe("One of your code blocks includes unescaped HTML.",A.innerHTML);$=A;const me=$.textContent,pe=V?u(me,{language:V,ignoreIllegals:!0}):g(me);A.innerHTML=pe.value,p(A,V,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),ae("after:highlightElement",{el:A,result:pe,text:me})}function v(A){a=Rd(a,A)}const _=()=>{C(),as("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){C(),as("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function C(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function R(){x&&C()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function T(A,$){let V=null;try{V=$(t)}catch(me){if(Wn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Wn(me);else throw me;V=i}V.name||(V.name=A),e[A]=V,V.rawDefinition=$.bind(null,t),V.aliases&&S(V.aliases,{languageName:A})}function D(A){delete e[A];for(const $ of Object.keys(n))n[$]===A&&delete n[$]}function y(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function S(A,{languageName:$}){typeof A=="string"&&(A=[A]),A.forEach(V=>{n[V.toLowerCase()]=$})}function L(A){const $=k(A);return $&&!$.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=$=>{A["before:highlightBlock"](Object.assign({block:$.el},$))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=$=>{A["after:highlightBlock"](Object.assign({block:$.el},$))})}function Y(A){F(A),s.push(A)}function I(A){const $=s.indexOf(A);$!==-1&&s.splice($,1)}function ae(A,$){const V=A;s.forEach(function(me){me[V]&&me[V]($)})}function W(A){return as("10.7.0","highlightBlock will be removed entirely in v12.0"),as("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:g,highlightAll:C,highlightElement:m,highlightBlock:W,configure:v,initHighlighting:_,initHighlightingOnLoad:b,registerLanguage:T,unregisterLanguage:D,listLanguages:y,getLanguage:k,registerAliases:S,autoDetection:L,inherit:Rd,addPlugin:Y,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=QIe,t.regex={concat:ns,lookahead:yg,either:ic,optional:hIe,anyNumberOfTimes:fIe};for(const A in Ko)typeof Ko[A]=="object"&&_g(Ko[A]);return Object.assign(t,Ko),t},Ss=Tg({});Ss.newInstance=()=>Tg({});var ePe=Ss;Ss.HighlightJS=Ss;Ss.default=Ss;var Wi,Dd;function tPe(){if(Dd)return Wi;Dd=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 Wi=t,Wi}var Zi,Ld;function nPe(){if(Ld)return Zi;Ld=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]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.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},p=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],m=["true","false"],v={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],b=["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"],C=["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:p,literal:m,built_in:[..._,...b,"set","shopt",...x,...C]},contains:[h,e.SHEBANG(),g,u,e.HASH_COMMENT_MODE,i,v,a,l,c,s]}}return Zi=t,Zi}var Yi,Id;function sPe(){if(Id)return Yi;Id=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})"/})]},f={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},h={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},p=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"},b=[h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:b.concat([{begin:/\(/,end:/\)/,keywords:_,contains:b.concat(["self"]),relevance:0}]),relevance:0},C={begin:"("+a+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:p,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,f,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:h,strings:u,keywords:_}}}return Yi=t,Yi}var Qi,Pd;function oPe(){if(Pd)return Qi;Pd=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})"/})]},f={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},h={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},p=n.optional(r)+e.IDENT_RE+"\\s*\\(",m=["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"],v=["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"],b=["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:v,keyword:m,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},T={className:"function.dispatch",relevance:0,keywords:{_hint:b},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[T,h,l,s,e.C_BLOCK_COMMENT_MODE,f,u],y={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]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:p,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,f,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,f,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,h]};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 Qi=t,Qi}var Ji,Fd;function rPe(){if(Fd)return Ji;Fd=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:'""'}]},f=e.inherit(u,{illegal:/\n/}),h={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(h,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},m={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]},v=e.inherit(m,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});h.contains=[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[v,p,f,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[m,p,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",C={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,b,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,b,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,b],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]},C]}}return Ji=t,Ji}var Xi,Bd;function iPe(){if(Bd)return Xi;Bd=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])/},f="and or not only",h=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",p=[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,...p,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...p,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...p,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Xi=i,Xi}var ea,jd;function aPe(){if(jd)return ea;jd=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}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=e.inherit(u,{contains:[]}),g=e.inherit(f,{contains:[]});u.contains.push(g),f.contains.push(h);let p=[s,c];return[u,f,h,g].forEach(_=>{_.contains=_.contains.concat(p)}),p=p.concat(u,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},s,i,u,f,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},r,o,c,a]}}return ea=t,ea}var ta,zd;function lPe(){if(zd)return ta;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 ta=t,ta}var na,qd;function cPe(){if(qd)return na;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:">"},u=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:a},h={className:"string",contains:[e.BACKSLASH_ESCAPE,f],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,f]})]}]},g="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",m={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[h,{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:[v]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:s}],relevance:0},m,{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,f],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);f.contains=D,v.contains=D;const y="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",S="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+y+"|"+k+"|"+S+")(?=[ ])",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 na=t,na}var sa,$d;function uPe(){if($d)return sa;$d=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),p={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"]},m={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},v={className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:p,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:[v,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:p,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[m,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,m]}}return ia=r,ia}var aa,Gd;function pPe(){if(Gd)return aa;Gd=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,f=(H,{after:te})=>{const X="",end:""},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,m={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===">"&&(f(H,{after:X})||te.ignoreMatch());let le;const w=H.input.substring(X);if(le=w.match(/^\s*=/)){te.ignoreMatch();return}if((le=w.match(/^\s+extends\s+/))&&le.index===0){te.ignoreMatch();return}}},v={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",b=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${x})((${b})|\\.)?|(${b}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${b})\\b|\\.)?|(${b})\\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:v,contains:[]},T={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"}},y={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:h+"(?=\\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,T,D,y,k,{match:/\$\d+/},C];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:v,contains:["self"].concat(F)});const Y=[].concat(L,R.contains),I=Y.concat([{begin:/\(/,end:/\)/,keywords:v,contains:["self"].concat(Y)}]),ae={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:v,contains:I},W={variants:[{match:[/class/,/\s+/,h,/\s+/,/extends/,/\s+/,u.concat(h,"(",u.concat(/\./,h),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,h],scope:{1:"keyword",3:"title.class"}}]},A={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]}},$={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},V={variants:[{match:[/function/,/\s+/,h,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ae],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function pe(H){return u.concat("(?!",H.join("|"),")")}const ee={match:u.concat(/\b/,pe([...r,"super","import"]),h,u.lookahead(/\(/)),className:"title.function",relevance:0},_e={begin:u.concat(/\./,u.lookahead(u.concat(h,/(?![0-9A-Za-z$_(])/))),end:h,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},xe={match:[/get|set/,/\s+/,h,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ae]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",Q={match:[/const|var|let/,/\s+/,h,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ae]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:v,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:A},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),$,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,T,D,y,k,L,{match:/\$\d+/},C,A,{className:"attr",begin:h+u.lookahead(":"),relevance:0},Q,{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:v,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:p},{begin:m.begin,"on:begin":m.isTrulyOpeningTag,end:m.end}],subLanguage:"xml",contains:[{begin:m.begin,end:m.end,skip:!0,contains:["self"]}]}]},V,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ae,c.inherit(c.TITLE_MODE,{begin:h,className:"title.function"})]},{match:/\.\.\./,relevance:0},_e,{match:"\\$"+h,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ae]},ee,me,W,xe,{match:/\$[(.]/}]}}return aa=l,aa}var la,Kd;function gPe(){if(Kd)return la;Kd=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 la=t,la}var ca,Wd;function mPe(){if(Wd)return ca;Wd=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},f={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(f);const h={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(f,{className:"string"}),"self"]}]},p=s,m=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=v;return _.variants[1].contains=[v],v.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,m,a,l,h,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:[v,r.C_LINE_COMMENT_MODE,m],relevance:0},r.C_LINE_COMMENT_MODE,m,h,g,f,r.C_NUMBER_MODE]},m]},{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},h,g]},f,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},p]}}return ca=o,ca}var ua,Zd;function _Pe(){if(Zd)return ua;Zd=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,f="and or not only",h="[\\w-]+",g="("+h+"|@\\{"+h+"\\})",p=[],m=[],v=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Y){return{className:L,begin:F,relevance:Y}},b={$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:m,keywords:b,relevance:0};m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+h,10),_("variable","@\\{"+h+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:h+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const C=m.concat({begin:/\{/,end:/\}/,contains:p}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(m)},T={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:m}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:b,returnEnd:!0,contains:m,relevance:0}},y={className:"variable",variants:[{begin:"@"+h+"\\s*:",relevance:15},{begin:"@"+h}],starts:{end:"[;}]",returnEnd:!0,contains:C}},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","@\\{"+h+"\\}"),{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:C},{begin:"!important"},c.FUNCTION_DISPATCH]},S={begin:h+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[k]};return p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,y,S,T,k,R,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:p}}return ua=a,ua}var da,Yd;function bPe(){if(Yd)return da;Yd=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 da=t,da}var fa,Qd;function yPe(){if(Qd)return fa;Qd=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=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(p,m,v="\\1")=>{const _=v==="\\1"?v:n.concat(v,m);return n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,v,o)},h=(p,m,v)=>n.concat(n.concat("(?:",p,")"),m,/(?:\\.|[^\\\/])*?/,v,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:f("s|tr|y",n.either(...u,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",n.either(...u,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("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 ha=t,ha}var pa,Xd;function wPe(){if(Xd)return pa;Xd=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 pa=t,pa}var ga,ef;function xPe(){if(ef)return ga;ef=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)}),f={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,ae)=>{ae.data._beginMatch=I[1]||I[2]},"on:end":(I,ae)=>{ae.data._beginMatch!==I[1]&&ae.ignoreMatch()}},h=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[ +]`,p={scope:"string",variants:[u,c,f,h]},m={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},v=["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"],b=["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"],C={keyword:_,literal:(I=>{const ae=[];return I.forEach(W=>{ae.push(W),W.toLowerCase()===W?ae.push(W.toUpperCase()):ae.push(W.toLowerCase())}),ae})(v),built_in:b},R=I=>I.map(ae=>ae.replace(/\|\d+$/,"")),T={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(b).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),y={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(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:C,contains:[k,i,y,e.C_BLOCK_COMMENT_MODE,p,m,T]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(_).join("\\b|"),"|",R(b).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(L);const F=[k,y,e.C_BLOCK_COMMENT_MODE,p,m,T],Y={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:C,contains:[Y,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,y,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},T,{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:C,contains:["self",i,y,e.C_BLOCK_COMMENT_MODE,p,m]}]},{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]},p,m]}}return ga=t,ga}var ma,tf;function kPe(){if(tf)return ma;tf=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 ma=t,ma}var _a,nf;function EPe(){if(nf)return _a;nf=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return _a=t,_a}var ba,sf;function CPe(){if(sf)return ba;sf=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:/#/},f={begin:/\{\{/,relevance:0},h={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,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,f,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,f,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,f,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",p=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,m=`\\b|${o.join("|")}`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${p}))[eE][+-]?(${g})[jJ]?(?=${m})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${g})[jJ](?=${m})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},b={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,v,h,e.HASH_COMMENT_MODE]}]};return u.contains=[h,v,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},h,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{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:[v,b,h]}]}}return ba=t,ba}var ya,of;function APe(){if(of)return ya;of=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return ya=t,ya}var va,rf;function SPe(){if(rf)return va;rf=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 va=t,va}var wa,af;function TPe(){if(af)return wa;af=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 wa=t,wa}var xa,lf;function OPe(){if(lf)return xa;lf=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,f="@[a-z-]+",h="and or not only",p={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("|")+")"},p,{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,p,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:f,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:f,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},p,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return xa=i,xa}var ka,cf;function MPe(){if(cf)return ka;cf=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 ka=t,ka}var Ea,uf;function RPe(){if(uf)return Ea;uf=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"],f=["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"],h=["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"],p=f,m=[...u,...c].filter(C=>!f.includes(C)),v={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},b={begin:n.concat(/\b/,n.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function x(C,{exceptions:R,when:T}={}){const D=T;return R=R||[],C.map(y=>y.match(/\|\d+$/)||R.includes(y)?y:D(y)?`${y}|0`:y)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(m,{when:C=>C.length<3}),literal:i,type:l,built_in:h},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:m.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},b,v,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Ea=t,Ea}var Ca,df;function NPe(){if(df)return Ca;df=1;function t(y){return y?typeof y=="string"?y:y.source:null}function e(y){return n("(?=",y,")")}function n(...y){return y.map(S=>t(S)).join("")}function s(y){const k=y[y.length-1];return typeof k=="object"&&k.constructor===Object?(y.splice(y.length-1,1),k):{}}function o(...y){return"("+(s(y).capture?"":"?:")+y.map(L=>t(L)).join("|")+")"}const r=y=>n(/\b/,y,/\w$/.test(y)?/\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"],f=["assignment","associativity","higherThan","left","lowerThan","none","right"],h=["#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"],p=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]/),m=o(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),v=n(p,m,"*"),_=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]/),b=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,b,"*"),C=n(/[A-Z]/,b,"*"),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"],T=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(y){const k={match:/\s+/,relevance:0},S=y.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[y.C_LINE_COMMENT_MODE,S],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Y={match:n(/\./,o(...c)),relevance:0},I=c.filter(Ne=>typeof Ne=="string").concat(["_|0"]),ae=c.filter(Ne=>typeof Ne!="string").concat(l).map(r),W={variants:[{className:"keyword",match:o(...ae,...a)}]},A={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(h),literal:u},$=[F,Y,W],V={match:n(/\./,o(...g)),relevance:0},me={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},pe=[V,me],ee={match:/->/,relevance:0},_e={className:"operator",relevance:0,variants:[{match:v},{match:`\\.(\\.|${m})+`}]},xe=[ee,_e],N="([0-9]_*)+",Q="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${Q})(\\.(${Q}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(Ne="")=>({className:"subst",variants:[{match:n(/\\/,Ne,/[0\\tnr"']/)},{match:n(/\\/,Ne,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(Ne="")=>({className:"subst",match:n(/\\/,Ne,/[\t ]*(?:[\r\n]|\r\n)/)}),fe=(Ne="")=>({className:"subst",label:"interpol",begin:n(/\\/,Ne,/\(/),end:/\)/}),le=(Ne="")=>({begin:n(Ne,/"""/),end:n(/"""/,Ne),contains:[te(Ne),X(Ne),fe(Ne)]}),w=(Ne="")=>({begin:n(Ne,/"/),end:n(/"/,Ne),contains:[te(Ne),fe(Ne)]}),E={className:"string",variants:[le(),le("#"),le("##"),le("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},B={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${b}+`},ne=[P,B,j],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:T,contains:[...xe,H,E]}]}},z={className:"keyword",match:n(/@/,o(...R))},se={className:"meta",match:n(/@/,x)},q=[re,z,se],Z={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)/,b,"+")},{className:"type",match:C,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(C)),relevance:0}]},ie={begin://,keywords:A,contains:[...L,...$,...q,ee,Z]};Z.contains.push(ie);const de={match:n(x,/\s*:/),keywords:"_|0",relevance:0},ce={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",de,...L,...$,...pe,...xe,H,E,...ne,...q,Z]},ve={begin://,contains:[...L,Z]},K={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:A,contains:[K,...L,...$,...xe,H,E,...q,Z,ce],endsParent:!0,illegal:/["']/},he={match:[/func/,/\s+/,o(P.match,x,v)],className:{1:"keyword",3:"title.function"},contains:[ve,oe,k],illegal:[/\[/,/%/]},ke={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ve,oe,k],illegal:/\[|%/},Le={match:[/operator/,/\s+/,v],className:{1:"keyword",3:"title"}},Ue={begin:[/precedencegroup/,/\s+/,C],className:{1:"keyword",3:"title"},contains:[Z],keywords:[...f,...u],end:/}/};for(const Ne of E.variants){const Ze=Ne.contains.find(rt=>rt.label==="interpol");Ze.keywords=A;const Qe=[...$,...pe,...xe,H,E,...ne];Ze.contains=[...Qe,{begin:/\(/,end:/\)/,contains:["self",...Qe]}]}return{name:"Swift",keywords:A,contains:[...L,he,ke,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:A,contains:[y.inherit(y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...$]},Le,Ue,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...$,...pe,...xe,H,E,...ne,...q,Z,ce]}}return Ca=D,Ca}var Aa,ff;function DPe(){if(ff)return Aa;ff=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]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+l+c+u+f+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},p={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},m={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},v=[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}},h,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},p,m,i],_=[...v];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return Aa=t,Aa}var Sa,hf;function LPe(){if(hf)return Sa;hf=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 f=u.regex,h=(te,{after:X})=>{const fe="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const fe=te[0].length+te.index,le=te.input[fe];if(le==="<"||le===","){X.ignoreMatch();return}le===">"&&(h(te,{after:fe})||X.ignoreMatch());let w;const E=te.input.substring(fe);if(w=E.match(/^\s*=/)){X.ignoreMatch();return}if((w=E.match(/^\s+extends\s+/))&&w.index===0){X.ignoreMatch();return}}},_={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},b="[0-9](_?[0-9])*",x=`\\.(${b})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${C})((${x})|\\.)?|(${x}))[eE][+-]?(${b})\\b`},{begin:`\\b(${C})\\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},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},y={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},S={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,T]},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]},Y=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,S,{match:/\$\d+/},R];T.contains=Y.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Y)});const I=[].concat(F,T.contains),ae=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),W={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:ae},A={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,f.concat(g,"(",f.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:f.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]}},V={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},me={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[W],illegal:/%/},pe={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return f.concat("(?!",te.join("|"),")")}const _e={match:f.concat(/\b/,ee([...r,"super","import"]),g,f.lookahead(/\(/)),className:"title.function",relevance:0},xe={begin:f.concat(/\./,f.lookahead(f.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:/\(\)/},W]},Q="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,f.lookahead(Q)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[W]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),V,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,D,y,k,S,F,{match:/\$\d+/},R,$,{className:"attr",begin:g+f.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:Q,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:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:p.begin,end:p.end},{match:m},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}]},me,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[W,u.inherit(u.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},xe,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[W]},_e,pe,A,N,{match:/\$[(.]/}]}}function c(u){const f=l(u),h=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],p={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[f.exports.CLASS_REFERENCE]},m={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[f.exports.CLASS_REFERENCE]},v={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],b={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+h},C=(T,D,y)=>{const k=T.contains.findIndex(S=>S.label===D);if(k===-1)throw new Error("can not find mode to replace");T.contains.splice(k,1,y)};Object.assign(f.keywords,b),f.exports.PARAMS_CONTAINS.push(x),f.contains=f.contains.concat([x,p,m]),C(f,"shebang",u.SHEBANG()),C(f,"use_strict",v);const R=f.contains.find(T=>T.label==="func.def");return R.relevance=0,Object.assign(f,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),f}return Sa=c,Sa}var Ta,pf;function IPe(){if(pf)return Ta;pf=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])|[%&])?/}]},f={className:"label",begin:/^\w+:/},h=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,f,h,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 Ta=t,Ta}var Oa,gf;function PPe(){if(gf)return Oa;gf=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 Oa=t,Oa}var Te=ePe;Te.registerLanguage("xml",tPe());Te.registerLanguage("bash",nPe());Te.registerLanguage("c",sPe());Te.registerLanguage("cpp",oPe());Te.registerLanguage("csharp",rPe());Te.registerLanguage("css",iPe());Te.registerLanguage("markdown",aPe());Te.registerLanguage("diff",lPe());Te.registerLanguage("ruby",cPe());Te.registerLanguage("go",uPe());Te.registerLanguage("graphql",dPe());Te.registerLanguage("ini",fPe());Te.registerLanguage("java",hPe());Te.registerLanguage("javascript",pPe());Te.registerLanguage("json",gPe());Te.registerLanguage("kotlin",mPe());Te.registerLanguage("less",_Pe());Te.registerLanguage("lua",bPe());Te.registerLanguage("makefile",yPe());Te.registerLanguage("perl",vPe());Te.registerLanguage("objectivec",wPe());Te.registerLanguage("php",xPe());Te.registerLanguage("php-template",kPe());Te.registerLanguage("plaintext",EPe());Te.registerLanguage("python",CPe());Te.registerLanguage("python-repl",APe());Te.registerLanguage("r",SPe());Te.registerLanguage("rust",TPe());Te.registerLanguage("scss",OPe());Te.registerLanguage("shell",MPe());Te.registerLanguage("sql",RPe());Te.registerLanguage("swift",NPe());Te.registerLanguage("yaml",DPe());Te.registerLanguage("typescript",LPe());Te.registerLanguage("vbnet",IPe());Te.registerLanguage("wasm",PPe());Te.HighlightJS=Te;Te.default=Te;var FPe=Te;const ro=ts(FPe);var On={};On.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",f=!0,h=!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))}};On.removeDelimiter=function(t,e){const n=al(e.leftDelimiter),s=al(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function al(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}On.escapeRegExp=al;On.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 BPe=/[&<>"]/,jPe=/[&<>"]/g,zPe={"&":"&","<":"<",">":">",'"':"""};function qPe(t){return zPe[t]}On.escapeHtml=function(t){return BPe.test(t)?t.replace(jPe,qPe):t};const Re=On;var $Pe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Re.escapeRegExp(t.leftDelimiter)+"[^"+Re.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Re.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Re.getAttrs(o.info,r,t);Re.addAttrs(i,o),o.info=Re.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:Re.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=Re.getAttrs(r.content,0,t);Re.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:Re.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Re.getMatchingOpeningToken(n,s),i=Re.getAttrs(o.content,0,t);Re.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:Re.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,0,t),l=Re.getMatchingOpeningToken(n[s].children,o-1);Re.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:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Re.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--;Re.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:Re.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Re.getAttrs(r,0,t),a=Re.getMatchingOpeningToken(n,s);Re.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:Re.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Re.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=mf(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:Re.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Re.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Re.getMatchingOpeningToken(n,a);Re.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=Re.getAttrs(r,i,t);Re.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Re.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=Re.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Re.getMatchingOpeningToken(n,l);Re.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=mf(u)!==" "?u:u.slice(0,-1)}}]};function mf(t){return t.slice(-1)[0]}const UPe=$Pe,HPe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var VPe=function(e,n){let s=Object.assign({},HPe);s=Object.assign(s,n);const o=UPe(s);function r(i){const a=i.tokens;for(let l=0;l{const p=ll(a,l,g);return p.j!==null&&(f=p.j),p.match})&&(u.transform(a,l,f),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function ll(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=WPe(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"&&GPe(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=>ll(c,u.position,u).match),a){const u=ZPe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;ull(c,u,f).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(KPe(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 GPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function KPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function WPe(t,e){return e>=0?t[e]:t[t.length+e]}function ZPe(t){return t.slice(-1)[0]||{}}const YPe=ts(VPe);function QPe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Co=new ede("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=QPe();if(e&&ro.getLanguage(e))try{const o=ro.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+ro.highlightAuto(t).value+"
"},bulletListMarker:"•"}).use(YPe).use(us).use(aIe).use(oIe);ro.configure({languages:[]});ro.configure({languages:["javascript"]});Co.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 Og=(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)};Co.renderer.rules.bullet_list_open=Og;Co.renderer.rules.ordered_list_open=Og;const JPe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` // Your inline script code here console.log('Inline script executed!'); @@ -116,22 +116,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=$),V===void 0& document.execCommand('copy'); window.getSelection().removeAllRanges(); } - `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Co.render(this.markdownText),ge(()=>{Ee.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Co.render(t),ge(()=>{Ee.replace()})}}},JPe={class:"break-all"},XPe=["innerHTML"];function eFe(t,e,n,s,o,r){return O(),M("div",JPe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,XPe)])}const tFe=Ke(QPe,[["render",eFe]]);const nFe="/",sFe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:tFe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,ge(()=>{Ee.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:Bw:this.avatar?nFe+this.avatar:Yn},defaultImg(t){t.target.src=Yn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){ge(()=>{Ee.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),ge(()=>{Ee.replace()})},deleteMsgMode(){ge(()=>{Ee.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},oFe={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"},rFe={class:"flex flex-row gap-2"},iFe={class:"flex-shrink-0"},aFe={class:"group/avatar"},lFe=["src","data-popover-target"],cFe={class:"flex flex-col w-full flex-grow-0"},uFe={class:"flex flex-row flex-grow items-start"},dFe={class:"flex flex-col mb-2"},fFe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},hFe=["title"],pFe=d("div",{class:"flex-grow"},null,-1),gFe={class:"flex-row justify-end mx-2"},mFe={class:"invisible group-hover:visible flex flex-row"},_Fe={key:0,class:"flex items-center duration-75"},bFe=d("i",{"data-feather":"x"},null,-1),yFe=[bFe],vFe=d("i",{"data-feather":"check"},null,-1),wFe=[vFe],xFe=d("i",{"data-feather":"edit"},null,-1),kFe=[xFe],EFe=d("i",{"data-feather":"copy"},null,-1),CFe=[EFe],AFe=d("i",{"data-feather":"refresh-cw"},null,-1),SFe=[AFe],TFe={key:2,class:"flex items-center duration-75"},OFe=d("i",{"data-feather":"x"},null,-1),MFe=[OFe],RFe=d("i",{"data-feather":"check"},null,-1),NFe=[RFe],DFe=d("i",{"data-feather":"trash"},null,-1),LFe=[DFe],IFe=d("i",{"data-feather":"thumbs-up"},null,-1),PFe=[IFe],FFe={class:"flex flex-row items-center"},BFe=d("i",{"data-feather":"thumbs-down"},null,-1),jFe=[BFe],zFe={class:"overflow-x-auto w-full"},qFe={class:"text-sm text-gray-400 mt-2"},$Fe={class:"flex flex-row items-center gap-2"},UFe={key:0},HFe={class:"font-thin"},VFe={key:1},GFe={class:"font-thin"},KFe={key:2},WFe={class:"font-thin"},ZFe={key:3},YFe=["title"];function QFe(t,e,n,s,o,r){const i=ut("MarkdownRenderer");return O(),M("div",oFe,[d("div",rFe,[d("div",iFe,[d("div",aFe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,lFe)])]),d("div",cFe,[d("div",uFe,[d("div",dFe,[d("div",fFe,J(n.message.sender)+" ",1),n.message.created_at?(O(),M("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},J(r.created_at),9,hFe)):U("",!0)]),pFe,d("div",gFe,[d("div",mFe,[o.editMsgMode?(O(),M("div",_Fe,[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]=ue(a=>o.editMsgMode=!1,["stop"]))},yFe),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]=ue((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},wFe)])):U("",!0),o.editMsgMode?U("",!0):(O(),M("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ue(a=>o.editMsgMode=!0,["stop"]))},kFe)),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]=ue(a=>r.copyContentToClipboard(),["stop"]))},CFe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ue(a=>r.resendMessage(),["stop"]))},SFe),o.deleteMsgMode?(O(),M("div",TFe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=ue(a=>o.deleteMsgMode=!1,["stop"]))},MFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(a=>r.deleteMsg(),["stop"]))},NFe)])):U("",!0),o.deleteMsgMode?U("",!0):(O(),M("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},LFe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=ue(a=>r.rankUp(),["stop"]))},PFe),d("div",FFe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=ue(a=>r.rankDown(),["stop"]))},jFe),n.message.rank!=0?(O(),M("div",{key:0,class:Me(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},J(n.message.rank),3)):U("",!0)])])])]),d("div",zFe,[o.editMsgMode?U("",!0):(O(),at(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Oe((O(),M("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:en({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[je,o.new_message_content]]):U("",!0)]),d("div",qFe,[d("div",$Fe,[n.message.binding?(O(),M("p",UFe,[ve("Binding: "),d("span",HFe,J(n.message.binding),1)])):U("",!0),n.message.model?(O(),M("p",VFe,[ve("Model: "),d("span",GFe,J(n.message.model),1)])):U("",!0),n.message.seed?(O(),M("p",KFe,[ve("Seed: "),d("span",WFe,J(n.message.seed),1)])):U("",!0),r.time_spent?(O(),M("p",ZFe,[ve("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},J(r.time_spent),9,YFe)])):U("",!0)])])])])])}const Mg=Ke(sFe,[["render",QFe]]),JFe="/";Ae.defaults.baseURL="/";const XFe={name:"MountedPersonalities",props:{onShowPersList:Function},data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:JFe,isMounted:!1,mountedPers:{},show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,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.getMountedPersonalities(),ge(()=>{})},personalityImgPlacehodler(t){t.target.src=Yn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality: + `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Co.render(this.markdownText),ge(()=>{Ee.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Co.render(t),ge(()=>{Ee.replace()})}}},XPe={class:"break-all"},eFe=["innerHTML"];function tFe(t,e,n,s,o,r){return O(),M("div",XPe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,eFe)])}const nFe=Ke(JPe,[["render",tFe]]);const sFe="/",oFe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:nFe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,ge(()=>{Ee.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:Bw:this.avatar?sFe+this.avatar:Yn},defaultImg(t){t.target.src=Yn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){ge(()=>{Ee.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),ge(()=>{Ee.replace()})},deleteMsgMode(){ge(()=>{Ee.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},rFe={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"},iFe={class:"flex flex-row gap-2"},aFe={class:"flex-shrink-0"},lFe={class:"group/avatar"},cFe=["src","data-popover-target"],uFe={class:"flex flex-col w-full flex-grow-0"},dFe={class:"flex flex-row flex-grow items-start"},fFe={class:"flex flex-col mb-2"},hFe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},pFe=["title"],gFe=d("div",{class:"flex-grow"},null,-1),mFe={class:"flex-row justify-end mx-2"},_Fe={class:"invisible group-hover:visible flex flex-row"},bFe={key:0,class:"flex items-center duration-75"},yFe=d("i",{"data-feather":"x"},null,-1),vFe=[yFe],wFe=d("i",{"data-feather":"check"},null,-1),xFe=[wFe],kFe=d("i",{"data-feather":"edit"},null,-1),EFe=[kFe],CFe=d("i",{"data-feather":"copy"},null,-1),AFe=[CFe],SFe=d("i",{"data-feather":"refresh-cw"},null,-1),TFe=[SFe],OFe={key:2,class:"flex items-center duration-75"},MFe=d("i",{"data-feather":"x"},null,-1),RFe=[MFe],NFe=d("i",{"data-feather":"check"},null,-1),DFe=[NFe],LFe=d("i",{"data-feather":"trash"},null,-1),IFe=[LFe],PFe=d("i",{"data-feather":"thumbs-up"},null,-1),FFe=[PFe],BFe={class:"flex flex-row items-center"},jFe=d("i",{"data-feather":"thumbs-down"},null,-1),zFe=[jFe],qFe={class:"overflow-x-auto w-full"},$Fe={class:"text-sm text-gray-400 mt-2"},UFe={class:"flex flex-row items-center gap-2"},HFe={key:0},VFe={class:"font-thin"},GFe={key:1},KFe={class:"font-thin"},WFe={key:2},ZFe={class:"font-thin"},YFe={key:3},QFe=["title"];function JFe(t,e,n,s,o,r){const i=ut("MarkdownRenderer");return O(),M("div",rFe,[d("div",iFe,[d("div",aFe,[d("div",lFe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,cFe)])]),d("div",uFe,[d("div",dFe,[d("div",fFe,[d("div",hFe,J(n.message.sender)+" ",1),n.message.created_at?(O(),M("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},J(r.created_at),9,pFe)):U("",!0)]),gFe,d("div",mFe,[d("div",_Fe,[o.editMsgMode?(O(),M("div",bFe,[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]=ue(a=>o.editMsgMode=!1,["stop"]))},vFe),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]=ue((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},xFe)])):U("",!0),o.editMsgMode?U("",!0):(O(),M("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ue(a=>o.editMsgMode=!0,["stop"]))},EFe)),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]=ue(a=>r.copyContentToClipboard(),["stop"]))},AFe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ue(a=>r.resendMessage(),["stop"]))},TFe),o.deleteMsgMode?(O(),M("div",OFe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=ue(a=>o.deleteMsgMode=!1,["stop"]))},RFe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ue(a=>r.deleteMsg(),["stop"]))},DFe)])):U("",!0),o.deleteMsgMode?U("",!0):(O(),M("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},IFe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=ue(a=>r.rankUp(),["stop"]))},FFe),d("div",BFe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=ue(a=>r.rankDown(),["stop"]))},zFe),n.message.rank!=0?(O(),M("div",{key:0,class:Me(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},J(n.message.rank),3)):U("",!0)])])])]),d("div",qFe,[o.editMsgMode?U("",!0):(O(),at(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Oe((O(),M("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:en({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[je,o.new_message_content]]):U("",!0)]),d("div",$Fe,[d("div",UFe,[n.message.binding?(O(),M("p",HFe,[be("Binding: "),d("span",VFe,J(n.message.binding),1)])):U("",!0),n.message.model?(O(),M("p",GFe,[be("Model: "),d("span",KFe,J(n.message.model),1)])):U("",!0),n.message.seed?(O(),M("p",WFe,[be("Seed: "),d("span",ZFe,J(n.message.seed),1)])):U("",!0),r.time_spent?(O(),M("p",YFe,[be("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},J(r.time_spent),9,QFe)])):U("",!0)])])])])])}const Mg=Ke(oFe,[["render",JFe]]),XFe="/";Ae.defaults.baseURL="/";const eBe={name:"MountedPersonalities",props:{onShowPersList:Function},data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:XFe,isMounted:!1,mountedPers:{},show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,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.getMountedPersonalities(),ge(()=>{})},personalityImgPlacehodler(t){t.target.src=Yn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0)}else this.onPersonalityMounted(t)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ae.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 Ae.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 Ae.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this),this.mountedPers=this.personalities[this.personalities.findIndex(e=>e.full_path==this.configFile.personalities[this.configFile.active_personality_id])]}}},eBe={class:"w-fit select-none"},tBe={key:0,class:"flex -space-x-4"},nBe=["src","title"],sBe={key:1,class:"flex -space-x-4"},oBe=["src","title"];function rBe(t,e,n,s,o,r){return O(),M("div",eBe,[o.mountedPersArr.length>1?(O(),M("div",tBe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+o.mountedPers.name},null,40,nBe),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]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+J(o.mountedPersArr.length-1),1)])):U("",!0),o.mountedPersArr.length==1?(O(),M("div",sBe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+o.mountedPers.name,onClick:e[3]||(e[3]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,oBe)])):U("",!0)])}const iBe=Ke(XFe,[["render",rBe]]);const aBe="/";Ae.defaults.baseURL="/";const lBe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Tp,Toast:ti,UniversalForm:Vp},name:"MountedPersonalitiesList",data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:aBe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){console.log("moununmoun pers list"),this.onMountUnmount(this)},async constructor(){this.isLoading=!0,this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,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.getMountedPersonalities(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=Yn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: +Error: `+e.error,4,!1)},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this),this.mountedPers=this.personalities[this.personalities.findIndex(e=>e.full_path==this.configFile.personalities[this.configFile.active_personality_id])]}}},tBe={class:"w-fit select-none"},nBe={key:0,class:"flex -space-x-4"},sBe=["src","title"],oBe={key:1,class:"flex -space-x-4"},rBe=["src","title"];function iBe(t,e,n,s,o,r){return O(),M("div",tBe,[o.mountedPersArr.length>1?(O(),M("div",nBe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+o.mountedPers.name},null,40,sBe),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]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+J(o.mountedPersArr.length-1),1)])):U("",!0),o.mountedPersArr.length==1?(O(),M("div",oBe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+o.mountedPers.name,onClick:e[3]||(e[3]=ue((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,rBe)])):U("",!0)])}const aBe=Ke(eBe,[["render",iBe]]);const lBe="/";Ae.defaults.baseURL="/";const cBe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Tp,Toast:ti,UniversalForm:Vp},name:"MountedPersonalitiesList",data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:lBe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){console.log("moununmoun pers list"),this.onMountUnmount(this)},async constructor(){this.isLoading=!0,this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let g={};return g=f,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+f.folder,g.isMounted=h,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.getMountedPersonalities(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=Yn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: `+t.name,4,!0),console.log("ssss",this.configFile))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Ae.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{Ae.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 Ae.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 Ae.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 Ae.post("/select_personality",n);if(s){this.toggleMountUnmount(),this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality: `+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},cc=t=>(Fs("data-v-ecabcf2a"),t=t(),Bs(),t),cBe={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"},uBe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},dBe=cc(()=>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)),fBe=cc(()=>d("span",{class:"sr-only"},"Loading...",-1)),hBe=[dBe,fBe],pBe=cc(()=>d("i",{"data-feather":"chevron-down"},null,-1)),gBe=[pBe],mBe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},_Be={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function bBe(t,e,n,s,o,r){const i=ut("personality-entry"),a=ut("Toast"),l=ut("UniversalForm");return O(),M("div",cBe,[o.isLoading?(O(),M("div",uBe,hBe)):U("",!0),d("div",null,[o.mountedPersArr.length>0?(O(),M("div",{key:0,class:Me(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]=ue((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},gBe),d("label",mBe," Mounted Personalities: ("+J(o.mountedPersArr.length)+") ",1),d("div",_Be,[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.mountedPersArr,(c,u)=>(O(),at(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:o.configFile.personalities[o.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):U("",!0)]),Ce(a,{ref:"toast"},null,512),Ce(l,{ref:"universalForm",class:"z-20"},null,512)])}const yBe=Ke(lBe,[["render",bBe],["__scopeId","data-v-ecabcf2a"]]);const vBe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:iBe,MountedPersonalitiesList:yBe},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1}},computed:{allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{Ee.replace()}),zt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){ge(()=>{Ee.replace()})},loading(t,e){ge(()=>{Ee.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{Ee.replace()})},activated(){ge(()=>{Ee.replace()})}},Tt=t=>(Fs("data-v-fdaaab76"),t=t(),Bs(),t),wBe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},xBe={key:0,class:"flex items-center justify-center w-full"},kBe={class:"flex flex-row p-2 rounded-t-lg"},EBe=Tt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),CBe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},ABe={class:"flex flex-col gap-2"},SBe=["title"],TBe=Tt(()=>d("i",{"data-feather":"list"},null,-1)),OBe=[TBe],MBe={key:1},RBe={key:0,class:"flex flex-col max-h-64"},NBe=["title"],DBe={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"},LBe=Tt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),IBe={class:"line-clamp-1 w-3/5"},PBe=Tt(()=>d("div",{class:"grow"},null,-1)),FBe={class:"flex flex-row items-center"},BBe={class:"whitespace-nowrap"},jBe=["onClick"],zBe=Tt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),qBe=[zBe],$Be={key:2,class:"flex items-center mx-1"},UBe={class:"whitespace-nowrap flex flex-row gap-2"},HBe=Tt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),VBe=Tt(()=>d("div",{class:"grow"},null,-1)),GBe=Tt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),KBe=[GBe],WBe={key:3,class:"mx-1"},ZBe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},YBe={class:"w-fit"},QBe={class:"relative grow"},JBe=Tt(()=>d("i",{"data-feather":"file-plus"},null,-1)),XBe=[JBe],eje={class:"inline-flex justify-center rounded-full"},tje=Tt(()=>d("i",{"data-feather":"send"},null,-1)),nje=Tt(()=>d("span",{class:"sr-only"},"Send message",-1)),sje=[tje,nje],oje={key:1,title:"Waiting for reply"},rje=Tt(()=>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)),ije=[rje];function aje(t,e,n,s,o,r){const i=ut("MountedPersonalitiesList"),a=ut("MountedPersonalities");return O(),M("div",wBe,[n.loading?(O(),M("div",xBe,[d("div",kBe,[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]=ue((...l)=>r.stopGenerating&&r.stopGenerating(...l),["stop"]))}," Stop generating ")])])):U("",!0),d("form",null,[EBe,d("div",CBe,[d("div",ABe,[o.fileList.length>0?(O(),M("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]=ue(l=>o.showFileList=!o.showFileList,["stop"]))},OBe,8,SBe)):U("",!0),o.fileList.length>0&&o.showFileList==!0?(O(),M("div",MBe,[o.fileList.length>0?(O(),M("div",RBe,[Ce(jt,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.fileList,(l,c)=>(O(),M("div",{key:c+"-"+l.name},[d("div",{class:"m-1",title:l.name},[d("div",DBe,[LBe,d("div",IBe,J(l.name),1),PBe,d("div",FBe,[d("p",BBe,J(r.computedFileSize(l.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:u=>r.removeItem(l)},qBe,8,jBe)])])],8,NBe)]))),128))]),_:1})])):U("",!0)])):U("",!0),o.fileList.length>0?(O(),M("div",$Be,[d("div",UBe,[HBe,ve(" "+J(o.totalSize)+" ("+J(o.fileList.length)+") ",1)]),VBe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=l=>o.fileList=[])},KBe)])):U("",!0),o.showPersonalities?(O(),M("div",WBe,[Ce(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):U("",!0),d("div",ZBe,[d("div",YBe,[Ce(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun},null,8,["onShowPersList"])]),d("div",QBe,[Oe(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>o.message=l),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=$a(ue(l=>r.submitOnEnter(l),["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.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)}}},cc=t=>(Fs("data-v-ecabcf2a"),t=t(),Bs(),t),uBe={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"},dBe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},fBe=cc(()=>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)),hBe=cc(()=>d("span",{class:"sr-only"},"Loading...",-1)),pBe=[fBe,hBe],gBe=cc(()=>d("i",{"data-feather":"chevron-down"},null,-1)),mBe=[gBe],_Be={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},bBe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function yBe(t,e,n,s,o,r){const i=ut("personality-entry"),a=ut("Toast"),l=ut("UniversalForm");return O(),M("div",uBe,[o.isLoading?(O(),M("div",dBe,pBe)):U("",!0),d("div",null,[o.mountedPersArr.length>0?(O(),M("div",{key:0,class:Me(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]=ue((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},mBe),d("label",_Be," Mounted Personalities: ("+J(o.mountedPersArr.length)+") ",1),d("div",bBe,[Ce(jt,{name:"bounce"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.mountedPersArr,(c,u)=>(O(),at(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:o.configFile.personalities[o.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):U("",!0)]),Ce(a,{ref:"toast"},null,512),Ce(l,{ref:"universalForm",class:"z-20"},null,512)])}const vBe=Ke(cBe,[["render",yBe],["__scopeId","data-v-ecabcf2a"]]);const wBe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:aBe,MountedPersonalitiesList:vBe},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1}},computed:{allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{Ee.replace()}),zt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){ge(()=>{Ee.replace()})},loading(t,e){ge(()=>{Ee.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{Ee.replace()})},activated(){ge(()=>{Ee.replace()})}},Tt=t=>(Fs("data-v-fdaaab76"),t=t(),Bs(),t),xBe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},kBe={key:0,class:"flex items-center justify-center w-full"},EBe={class:"flex flex-row p-2 rounded-t-lg"},CBe=Tt(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),ABe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},SBe={class:"flex flex-col gap-2"},TBe=["title"],OBe=Tt(()=>d("i",{"data-feather":"list"},null,-1)),MBe=[OBe],RBe={key:1},NBe={key:0,class:"flex flex-col max-h-64"},DBe=["title"],LBe={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"},IBe=Tt(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),PBe={class:"line-clamp-1 w-3/5"},FBe=Tt(()=>d("div",{class:"grow"},null,-1)),BBe={class:"flex flex-row items-center"},jBe={class:"whitespace-nowrap"},zBe=["onClick"],qBe=Tt(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),$Be=[qBe],UBe={key:2,class:"flex items-center mx-1"},HBe={class:"whitespace-nowrap flex flex-row gap-2"},VBe=Tt(()=>d("p",{class:"font-bold"}," Total size: ",-1)),GBe=Tt(()=>d("div",{class:"grow"},null,-1)),KBe=Tt(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),WBe=[KBe],ZBe={key:3,class:"mx-1"},YBe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},QBe={class:"w-fit"},JBe={class:"relative grow"},XBe=Tt(()=>d("i",{"data-feather":"file-plus"},null,-1)),eje=[XBe],tje={class:"inline-flex justify-center rounded-full"},nje=Tt(()=>d("i",{"data-feather":"send"},null,-1)),sje=Tt(()=>d("span",{class:"sr-only"},"Send message",-1)),oje=[nje,sje],rje={key:1,title:"Waiting for reply"},ije=Tt(()=>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)),aje=[ije];function lje(t,e,n,s,o,r){const i=ut("MountedPersonalitiesList"),a=ut("MountedPersonalities");return O(),M("div",xBe,[n.loading?(O(),M("div",kBe,[d("div",EBe,[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]=ue((...l)=>r.stopGenerating&&r.stopGenerating(...l),["stop"]))}," Stop generating ")])])):U("",!0),d("form",null,[CBe,d("div",ABe,[d("div",SBe,[o.fileList.length>0?(O(),M("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]=ue(l=>o.showFileList=!o.showFileList,["stop"]))},MBe,8,TBe)):U("",!0),o.fileList.length>0&&o.showFileList==!0?(O(),M("div",RBe,[o.fileList.length>0?(O(),M("div",NBe,[Ce(jt,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Je(()=>[(O(!0),M(Ie,null,et(o.fileList,(l,c)=>(O(),M("div",{key:c+"-"+l.name},[d("div",{class:"m-1",title:l.name},[d("div",LBe,[IBe,d("div",PBe,J(l.name),1),FBe,d("div",BBe,[d("p",jBe,J(r.computedFileSize(l.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:u=>r.removeItem(l)},$Be,8,zBe)])])],8,DBe)]))),128))]),_:1})])):U("",!0)])):U("",!0),o.fileList.length>0?(O(),M("div",UBe,[d("div",HBe,[VBe,be(" "+J(o.totalSize)+" ("+J(o.fileList.length)+") ",1)]),GBe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=l=>o.fileList=[])},WBe)])):U("",!0),o.showPersonalities?(O(),M("div",ZBe,[Ce(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):U("",!0),d("div",YBe,[d("div",QBe,[Ce(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun},null,8,["onShowPersList"])]),d("div",JBe,[Oe(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>o.message=l),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[4]||(e[4]=$a(ue(l=>r.submitOnEnter(l),["exact"]),["enter"]))},`\r \r \r - `,544),[[je,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...l)=>r.addFiles&&r.addFiles(...l)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=ue(l=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},XBe)]),d("div",eje,[n.loading?U("",!0):(O(),M("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...l)=>r.submit&&r.submit(...l)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},sje)),n.loading?(O(),M("div",oje,ije)):U("",!0)])])])])])])}const Rg=Ke(vBe,[["render",aje],["__scopeId","data-v-fdaaab76"]]),lje={name:"WelcomeComponent",setup(){return{}}},cje={class:"flex flex-col text-center"},uje=js('
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),dje=[uje];function fje(t,e,n,s,o,r){return O(),M("div",cje,dje)}const Ng=Ke(lje,[["render",fje]]);const hje={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){ge(()=>{Ee.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),ge(()=>{Ee.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,ge(()=>{Ee.replace()})}}},pje={class:"text-4xl text-center"};function gje(t,e,n,s,o,r){return O(),at(jt,{name:"list",tag:"div"},{default:Je(()=>[o.show?(O(),M("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]=ue(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ue(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Me(["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",pje,[hh(t.$slots,"default",{},()=>[ve(" Drop your files here ")])])],2)],32)):U("",!0)]),_:3})}const cl=Ke(hje,[["render",gje]]);var mje=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}(),Cr=globalThis&&globalThis.__assign||function(){return Cr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=_t(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Oje(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];!Et(r)||!Wt(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 Mje(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},{});!Et(o)||!Wt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const Rje={name:"applyStyles",enabled:!0,phase:"write",fn:Oje,effect:Mje,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Zn=Math.max,Or=Math.min,Os=Math.round;function ul(){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 Ug(){return!/^((?!chrome|android).)*safari/i.test(ul())}function Ms(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Et(t)&&(o=t.offsetWidth>0&&Os(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Os(s.height)/t.offsetHeight||1);var i=Jn(t)?_t(t):window,a=i.visualViewport,l=!Ug()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/o,h=s.height/r;return{width:f,height:h,top:u,right:c+f,bottom:u+h,left:c,x:c,y:u}}function fc(t){var e=Ms(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 Hg(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&dc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function an(t){return _t(t).getComputedStyle(t)}function Nje(t){return["table","td","th"].indexOf(Wt(t))>=0}function Mn(t){return((Jn(t)?t.ownerDocument:t.document)||window.document).documentElement}function pi(t){return Wt(t)==="html"?t:t.assignedSlot||t.parentNode||(dc(t)?t.host:null)||Mn(t)}function vf(t){return!Et(t)||an(t).position==="fixed"?null:t.offsetParent}function Dje(t){var e=/firefox/i.test(ul()),n=/Trident/i.test(ul());if(n&&Et(t)){var s=an(t);if(s.position==="fixed")return null}var o=pi(t);for(dc(o)&&(o=o.host);Et(o)&&["html","body"].indexOf(Wt(o))<0;){var r=an(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Io(t){for(var e=_t(t),n=vf(t);n&&Nje(n)&&an(n).position==="static";)n=vf(n);return n&&(Wt(n)==="html"||Wt(n)==="body"&&an(n).position==="static")?e:n||Dje(t)||e}function hc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function io(t,e,n){return Zn(t,Or(e,n))}function Lje(t,e,n){var s=io(t,e,n);return s>n?n:s}function Vg(){return{top:0,right:0,bottom:0,left:0}}function Gg(t){return Object.assign({},Vg(),t)}function Kg(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var Ije=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Gg(typeof e!="number"?e:Kg(e,Lo))};function Pje(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Vt(n.placement),l=hc(a),c=[ft,St].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var f=Ije(o.padding,n),h=fc(r),g=l==="y"?dt:ft,p=l==="y"?At:St,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],_=Io(r),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=m/2-v/2,C=f[g],R=b-h[u]-f[p],T=b/2-h[u]/2+x,D=io(C,T,R),y=l;n.modifiersData[s]=(e={},e[y]=D,e.centerOffset=D-T,e)}}function Fje(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)||Hg(e.elements.popper,o)&&(e.elements.arrow=o))}const Bje={name:"arrow",enabled:!0,phase:"main",fn:Pje,effect:Fje,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rs(t){return t.split("-")[1]}var jje={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zje(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Os(n*o)/o||0,y:Os(s*o)/o||0}}function wf(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,h=i.x,g=h===void 0?0:h,p=i.y,m=p===void 0?0:p,v=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=v.x,m=v.y;var _=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),x=ft,C=dt,R=window;if(c){var T=Io(n),D="clientHeight",y="clientWidth";if(T===_t(n)&&(T=Mn(n),an(T).position!=="static"&&a==="absolute"&&(D="scrollHeight",y="scrollWidth")),T=T,o===dt||(o===ft||o===St)&&r===Ao){C=At;var k=f&&T===R&&R.visualViewport?R.visualViewport.height:T[D];m-=k-s.height,m*=l?1:-1}if(o===ft||(o===dt||o===At)&&r===Ao){x=St;var S=f&&T===R&&R.visualViewport?R.visualViewport.width:T[y];g-=S-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&jje),F=u===!0?zje({x:g,y:m},_t(n)):{x:g,y:m};if(g=F.x,m=F.y,l){var Y;return Object.assign({},L,(Y={},Y[C]=b?"0":"",Y[x]=_?"0":"",Y.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",Y))}return Object.assign({},L,(e={},e[C]=b?m+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function qje(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:Vt(e.placement),variation:Rs(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,wf(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,wf(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 $je={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qje,data:{}};var Wo={passive:!0};function Uje(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=_t(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,Wo)}),a&&l.addEventListener("resize",n.update,Wo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Wo)}),a&&l.removeEventListener("resize",n.update,Wo)}}const Hje={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Uje,data:{}};var Vje={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(t){return t.replace(/left|right|bottom|top/g,function(e){return Vje[e]})}var Gje={start:"end",end:"start"};function xf(t){return t.replace(/start|end/g,function(e){return Gje[e]})}function pc(t){var e=_t(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function gc(t){return Ms(Mn(t)).left+pc(t).scrollLeft}function Kje(t,e){var n=_t(t),s=Mn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=Ug();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+gc(t),y:l}}function Wje(t){var e,n=Mn(t),s=pc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Zn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+gc(t),l=-s.scrollTop;return an(o||n).direction==="rtl"&&(a+=Zn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function mc(t){var e=an(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function Wg(t){return["html","body","#document"].indexOf(Wt(t))>=0?t.ownerDocument.body:Et(t)&&mc(t)?t:Wg(pi(t))}function ao(t,e){var n;e===void 0&&(e=[]);var s=Wg(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=_t(s),i=o?[r].concat(r.visualViewport||[],mc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(ao(pi(i)))}function dl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Zje(t,e){var n=Ms(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 kf(t,e,n){return e===qg?dl(Kje(t,n)):Jn(e)?Zje(e,n):dl(Wje(Mn(t)))}function Yje(t){var e=ao(pi(t)),n=["absolute","fixed"].indexOf(an(t).position)>=0,s=n&&Et(t)?Io(t):t;return Jn(s)?e.filter(function(o){return Jn(o)&&Hg(o,s)&&Wt(o)!=="body"}):[]}function Qje(t,e,n,s){var o=e==="clippingParents"?Yje(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=kf(t,c,s);return l.top=Zn(u.top,l.top),l.right=Or(u.right,l.right),l.bottom=Or(u.bottom,l.bottom),l.left=Zn(u.left,l.left),l},kf(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 Zg(t){var e=t.reference,n=t.element,s=t.placement,o=s?Vt(s):null,r=s?Rs(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case dt:l={x:i,y:e.y-n.height};break;case At:l={x:i,y:e.y+e.height};break;case St:l={x:e.x+e.width,y:a};break;case ft:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?hc(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Ts:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Ao:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function So(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?_je:a,c=n.rootBoundary,u=c===void 0?qg:c,f=n.elementContext,h=f===void 0?Ys:f,g=n.altBoundary,p=g===void 0?!1:g,m=n.padding,v=m===void 0?0:m,_=Gg(typeof v!="number"?v:Kg(v,Lo)),b=h===Ys?bje:Ys,x=t.rects.popper,C=t.elements[p?b:h],R=Qje(Jn(C)?C:C.contextElement||Mn(t.elements.popper),l,u,i),T=Ms(t.elements.reference),D=Zg({reference:T,element:x,strategy:"absolute",placement:o}),y=dl(Object.assign({},x,D)),k=h===Ys?y:T,S={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(h===Ys&&L){var F=L[o];Object.keys(S).forEach(function(Y){var I=[St,At].indexOf(Y)>=0?1:-1,ae=[dt,At].indexOf(Y)>=0?"y":"x";S[Y]+=F[ae]*I})}return S}function Jje(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?$g:l,u=Rs(s),f=u?a?yf:yf.filter(function(p){return Rs(p)===u}):Lo,h=f.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=f);var g=h.reduce(function(p,m){return p[m]=So(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Vt(m)],p},{});return Object.keys(g).sort(function(p,m){return g[p]-g[m]})}function Xje(t){if(Vt(t)===uc)return[];var e=fr(t);return[xf(t),e,xf(e)]}function eze(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,p=g===void 0?!0:g,m=n.allowedAutoPlacements,v=e.options.placement,_=Vt(v),b=_===v,x=l||(b||!p?[fr(v)]:Xje(v)),C=[v].concat(x).reduce(function(xe,N){return xe.concat(Vt(N)===uc?Jje(e,{placement:N,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):N)},[]),R=e.rects.reference,T=e.rects.popper,D=new Map,y=!0,k=C[0],S=0;S=0,ae=I?"width":"height",W=So(e,{placement:L,boundary:u,rootBoundary:f,altBoundary:h,padding:c}),A=I?Y?St:ft:Y?At:dt;R[ae]>T[ae]&&(A=fr(A));var $=fr(A),V=[];if(r&&V.push(W[F]<=0),a&&V.push(W[A]<=0,W[$]<=0),V.every(function(xe){return xe})){k=L,y=!1;break}D.set(L,V)}if(y)for(var me=p?3:1,pe=function(N){var Q=C.find(function(H){var te=D.get(H);if(te)return te.slice(0,N).every(function(X){return X})});if(Q)return k=Q,"break"},ee=me;ee>0;ee--){var _e=pe(ee);if(_e==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const tze={name:"flip",enabled:!0,phase:"main",fn:eze,requiresIfExists:["offset"],data:{_skip:!1}};function Ef(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 Cf(t){return[dt,St,At,ft].some(function(e){return t[e]>=0})}function nze(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=So(e,{elementContext:"reference"}),a=So(e,{altBoundary:!0}),l=Ef(i,s),c=Ef(a,o,r),u=Cf(l),f=Cf(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const sze={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nze};function oze(t,e,n){var s=Vt(t),o=[ft,dt].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,[ft,St].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function rze(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=$g.reduce(function(u,f){return u[f]=oze(f,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const ize={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rze};function aze(t){var e=t.state,n=t.name;e.modifiersData[n]=Zg({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const lze={name:"popperOffsets",enabled:!0,phase:"read",fn:aze,data:{}};function cze(t){return t==="x"?"y":"x"}function uze(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,h=n.tether,g=h===void 0?!0:h,p=n.tetherOffset,m=p===void 0?0:p,v=So(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Vt(e.placement),b=Rs(e.placement),x=!b,C=hc(_),R=cze(C),T=e.modifiersData.popperOffsets,D=e.rects.reference,y=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,S=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(T){if(r){var Y,I=C==="y"?dt:ft,ae=C==="y"?At:St,W=C==="y"?"height":"width",A=T[C],$=A+v[I],V=A-v[ae],me=g?-y[W]/2:0,pe=b===Ts?D[W]:y[W],ee=b===Ts?-y[W]:-D[W],_e=e.elements.arrow,xe=g&&_e?fc(_e):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Vg(),Q=N[I],H=N[ae],te=io(0,D[W],xe[W]),X=x?D[W]/2-me-te-Q-S.mainAxis:pe-te-Q-S.mainAxis,fe=x?-D[W]/2+me+te+H+S.mainAxis:ee+te+H+S.mainAxis,le=e.elements.arrow&&Io(e.elements.arrow),w=le?C==="y"?le.clientTop||0:le.clientLeft||0:0,E=(Y=L==null?void 0:L[C])!=null?Y:0,P=A+X-E-w,B=A+fe-E,j=io(g?Or($,P):$,A,g?Zn(V,B):V);T[C]=j,F[C]=j-A}if(a){var ne,re=C==="x"?dt:ft,z=C==="x"?At:St,se=T[R],q=R==="y"?"height":"width",Z=se+v[re],ie=se-v[z],de=[dt,ft].indexOf(_)!==-1,ce=(ne=L==null?void 0:L[R])!=null?ne:0,ye=de?Z:se-D[q]-y[q]-ce+S.altAxis,K=de?se+D[q]+y[q]-ce-S.altAxis:ie,oe=g&&de?Lje(ye,se,K):io(g?ye:Z,se,g?K:ie);T[R]=oe,F[R]=oe-se}e.modifiersData[s]=F}}const dze={name:"preventOverflow",enabled:!0,phase:"main",fn:uze,requiresIfExists:["offset"]};function fze(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function hze(t){return t===_t(t)||!Et(t)?pc(t):fze(t)}function pze(t){var e=t.getBoundingClientRect(),n=Os(e.width)/t.offsetWidth||1,s=Os(e.height)/t.offsetHeight||1;return n!==1||s!==1}function gze(t,e,n){n===void 0&&(n=!1);var s=Et(e),o=Et(e)&&pze(e),r=Mn(e),i=Ms(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Wt(e)!=="body"||mc(r))&&(a=hze(e)),Et(e)?(l=Ms(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=gc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function mze(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 _ze(t){var e=mze(t);return Tje.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function bze(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function yze(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 Af={placement:"bottom",modifiers:[],strategy:"absolute"};function Sf(){for(var t=arguments.length,e=new Array(t),n=0;n(Fs("data-v-f4cd3563"),t=t(),Bs(),t),Eze={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Cze={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},Aze={class:"flex-row p-4 flex items-center gap-3 flex-0"},Sze=ot(()=>d("i",{"data-feather":"plus"},null,-1)),Tze=[Sze],Oze=ot(()=>d("i",{"data-feather":"check-square"},null,-1)),Mze=[Oze],Rze=ot(()=>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)),Nze=ot(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),Dze=ot(()=>d("i",{"data-feather":"log-in"},null,-1)),Lze=[Dze],Ize=ot(()=>d("i",{"data-feather":"search"},null,-1)),Pze=[Ize],Fze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Bze=ot(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),jze=[Bze],zze={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},qze={class:"p-4 pt-2"},$ze={class:"relative"},Uze=ot(()=>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)),Hze={class:"absolute inset-y-0 right-0 flex items-center pr-3"},Vze=ot(()=>d("i",{"data-feather":"x"},null,-1)),Gze=[Vze],Kze={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Wze={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},Zze={class:"flex flex-row flex-grow"},Yze={key:0},Qze={class:"flex flex-row"},Jze={key:0,class:"flex gap-3"},Xze=ot(()=>d("i",{"data-feather":"trash"},null,-1)),eqe=[Xze],tqe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},nqe=ot(()=>d("i",{"data-feather":"check"},null,-1)),sqe=[nqe],oqe=ot(()=>d("i",{"data-feather":"x"},null,-1)),rqe=[oqe],iqe={class:"flex gap-3"},aqe=ot(()=>d("i",{"data-feather":"log-out"},null,-1)),lqe=[aqe],cqe=ot(()=>d("i",{"data-feather":"list"},null,-1)),uqe=[cqe],dqe={class:"z-20"},fqe={class:"relative flex flex-row flex-grow mb-10"},hqe={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"},pqe=ot(()=>d("p",{class:"px-3"},"No discussions are found",-1)),gqe=[pqe],mqe=ot(()=>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)),_qe={class:"z-20 h-max"},bqe={class:"container pt-4 pb-10 mb-28"},yqe=ot(()=>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)),vqe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},wqe={setup(){},data(){return{msgTypes:{MSG_TYPE_NORMAL_USER:0,MSG_TYPE_NORMAL_AI:1,MSG_TYPE_CONDITIONNING:2,MSG_TYPE_HIDDEN:3,MSG_TYPE_USER_ONLY:4},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ae.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ae.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_NORMAL_AI||n.type==this.msgTypes.MSG_TYPE_NORMAL_USER||n.type==this.msgTypes.MSG_TYPE_USER_ONLY),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 Ae.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 Ae.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 Ae.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 Ae.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(qe.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Ae.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 Ae.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 Ae.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 Ae.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 Ae.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),ge(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),ge(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{qe.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){console.log("stream msg",t);const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),ge(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):qe.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}ge(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` + `,544),[[je,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...l)=>r.addFiles&&r.addFiles(...l)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=ue(l=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},eje)]),d("div",tje,[n.loading?U("",!0):(O(),M("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...l)=>r.submit&&r.submit(...l)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},oje)),n.loading?(O(),M("div",rje,aje)):U("",!0)])])])])])])}const Rg=Ke(wBe,[["render",lje],["__scopeId","data-v-fdaaab76"]]),cje={name:"WelcomeComponent",setup(){return{}}},uje={class:"flex flex-col text-center"},dje=js('
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),fje=[dje];function hje(t,e,n,s,o,r){return O(),M("div",uje,fje)}const Ng=Ke(cje,[["render",hje]]);const pje={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){ge(()=>{Ee.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),ge(()=>{Ee.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,ge(()=>{Ee.replace()})}}},gje={class:"text-4xl text-center"};function mje(t,e,n,s,o,r){return O(),at(jt,{name:"list",tag:"div"},{default:Je(()=>[o.show?(O(),M("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]=ue(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ue(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Me(["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",gje,[hh(t.$slots,"default",{},()=>[be(" Drop your files here ")])])],2)],32)):U("",!0)]),_:3})}const cl=Ke(pje,[["render",mje]]);var _je=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}(),Cr=globalThis&&globalThis.__assign||function(){return Cr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=_t(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Mje(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];!Et(r)||!Wt(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 Rje(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},{});!Et(o)||!Wt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const Nje={name:"applyStyles",enabled:!0,phase:"write",fn:Mje,effect:Rje,requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Zn=Math.max,Or=Math.min,Os=Math.round;function ul(){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 Ug(){return!/^((?!chrome|android).)*safari/i.test(ul())}function Ms(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&Et(t)&&(o=t.offsetWidth>0&&Os(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Os(s.height)/t.offsetHeight||1);var i=Jn(t)?_t(t):window,a=i.visualViewport,l=!Ug()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/o,h=s.height/r;return{width:f,height:h,top:u,right:c+f,bottom:u+h,left:c,x:c,y:u}}function fc(t){var e=Ms(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 Hg(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&dc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function an(t){return _t(t).getComputedStyle(t)}function Dje(t){return["table","td","th"].indexOf(Wt(t))>=0}function Mn(t){return((Jn(t)?t.ownerDocument:t.document)||window.document).documentElement}function pi(t){return Wt(t)==="html"?t:t.assignedSlot||t.parentNode||(dc(t)?t.host:null)||Mn(t)}function vf(t){return!Et(t)||an(t).position==="fixed"?null:t.offsetParent}function Lje(t){var e=/firefox/i.test(ul()),n=/Trident/i.test(ul());if(n&&Et(t)){var s=an(t);if(s.position==="fixed")return null}var o=pi(t);for(dc(o)&&(o=o.host);Et(o)&&["html","body"].indexOf(Wt(o))<0;){var r=an(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Io(t){for(var e=_t(t),n=vf(t);n&&Dje(n)&&an(n).position==="static";)n=vf(n);return n&&(Wt(n)==="html"||Wt(n)==="body"&&an(n).position==="static")?e:n||Lje(t)||e}function hc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function io(t,e,n){return Zn(t,Or(e,n))}function Ije(t,e,n){var s=io(t,e,n);return s>n?n:s}function Vg(){return{top:0,right:0,bottom:0,left:0}}function Gg(t){return Object.assign({},Vg(),t)}function Kg(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var Pje=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Gg(typeof e!="number"?e:Kg(e,Lo))};function Fje(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Vt(n.placement),l=hc(a),c=[ft,St].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var f=Pje(o.padding,n),h=fc(r),g=l==="y"?dt:ft,p=l==="y"?At:St,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],_=Io(r),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=m/2-v/2,C=f[g],R=b-h[u]-f[p],T=b/2-h[u]/2+x,D=io(C,T,R),y=l;n.modifiersData[s]=(e={},e[y]=D,e.centerOffset=D-T,e)}}function Bje(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)||Hg(e.elements.popper,o)&&(e.elements.arrow=o))}const jje={name:"arrow",enabled:!0,phase:"main",fn:Fje,effect:Bje,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rs(t){return t.split("-")[1]}var zje={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qje(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Os(n*o)/o||0,y:Os(s*o)/o||0}}function wf(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,h=i.x,g=h===void 0?0:h,p=i.y,m=p===void 0?0:p,v=typeof u=="function"?u({x:g,y:m}):{x:g,y:m};g=v.x,m=v.y;var _=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),x=ft,C=dt,R=window;if(c){var T=Io(n),D="clientHeight",y="clientWidth";if(T===_t(n)&&(T=Mn(n),an(T).position!=="static"&&a==="absolute"&&(D="scrollHeight",y="scrollWidth")),T=T,o===dt||(o===ft||o===St)&&r===Ao){C=At;var k=f&&T===R&&R.visualViewport?R.visualViewport.height:T[D];m-=k-s.height,m*=l?1:-1}if(o===ft||(o===dt||o===At)&&r===Ao){x=St;var S=f&&T===R&&R.visualViewport?R.visualViewport.width:T[y];g-=S-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&zje),F=u===!0?qje({x:g,y:m},_t(n)):{x:g,y:m};if(g=F.x,m=F.y,l){var Y;return Object.assign({},L,(Y={},Y[C]=b?"0":"",Y[x]=_?"0":"",Y.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+m+"px)":"translate3d("+g+"px, "+m+"px, 0)",Y))}return Object.assign({},L,(e={},e[C]=b?m+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function $je(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:Vt(e.placement),variation:Rs(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,wf(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,wf(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 Uje={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$je,data:{}};var Wo={passive:!0};function Hje(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=_t(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,Wo)}),a&&l.addEventListener("resize",n.update,Wo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Wo)}),a&&l.removeEventListener("resize",n.update,Wo)}}const Vje={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hje,data:{}};var Gje={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(t){return t.replace(/left|right|bottom|top/g,function(e){return Gje[e]})}var Kje={start:"end",end:"start"};function xf(t){return t.replace(/start|end/g,function(e){return Kje[e]})}function pc(t){var e=_t(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function gc(t){return Ms(Mn(t)).left+pc(t).scrollLeft}function Wje(t,e){var n=_t(t),s=Mn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=Ug();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+gc(t),y:l}}function Zje(t){var e,n=Mn(t),s=pc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Zn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+gc(t),l=-s.scrollTop;return an(o||n).direction==="rtl"&&(a+=Zn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function mc(t){var e=an(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function Wg(t){return["html","body","#document"].indexOf(Wt(t))>=0?t.ownerDocument.body:Et(t)&&mc(t)?t:Wg(pi(t))}function ao(t,e){var n;e===void 0&&(e=[]);var s=Wg(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=_t(s),i=o?[r].concat(r.visualViewport||[],mc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(ao(pi(i)))}function dl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Yje(t,e){var n=Ms(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 kf(t,e,n){return e===qg?dl(Wje(t,n)):Jn(e)?Yje(e,n):dl(Zje(Mn(t)))}function Qje(t){var e=ao(pi(t)),n=["absolute","fixed"].indexOf(an(t).position)>=0,s=n&&Et(t)?Io(t):t;return Jn(s)?e.filter(function(o){return Jn(o)&&Hg(o,s)&&Wt(o)!=="body"}):[]}function Jje(t,e,n,s){var o=e==="clippingParents"?Qje(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=kf(t,c,s);return l.top=Zn(u.top,l.top),l.right=Or(u.right,l.right),l.bottom=Or(u.bottom,l.bottom),l.left=Zn(u.left,l.left),l},kf(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 Zg(t){var e=t.reference,n=t.element,s=t.placement,o=s?Vt(s):null,r=s?Rs(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case dt:l={x:i,y:e.y-n.height};break;case At:l={x:i,y:e.y+e.height};break;case St:l={x:e.x+e.width,y:a};break;case ft:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?hc(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Ts:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Ao:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function So(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?bje:a,c=n.rootBoundary,u=c===void 0?qg:c,f=n.elementContext,h=f===void 0?Ys:f,g=n.altBoundary,p=g===void 0?!1:g,m=n.padding,v=m===void 0?0:m,_=Gg(typeof v!="number"?v:Kg(v,Lo)),b=h===Ys?yje:Ys,x=t.rects.popper,C=t.elements[p?b:h],R=Jje(Jn(C)?C:C.contextElement||Mn(t.elements.popper),l,u,i),T=Ms(t.elements.reference),D=Zg({reference:T,element:x,strategy:"absolute",placement:o}),y=dl(Object.assign({},x,D)),k=h===Ys?y:T,S={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(h===Ys&&L){var F=L[o];Object.keys(S).forEach(function(Y){var I=[St,At].indexOf(Y)>=0?1:-1,ae=[dt,At].indexOf(Y)>=0?"y":"x";S[Y]+=F[ae]*I})}return S}function Xje(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?$g:l,u=Rs(s),f=u?a?yf:yf.filter(function(p){return Rs(p)===u}):Lo,h=f.filter(function(p){return c.indexOf(p)>=0});h.length===0&&(h=f);var g=h.reduce(function(p,m){return p[m]=So(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Vt(m)],p},{});return Object.keys(g).sort(function(p,m){return g[p]-g[m]})}function eze(t){if(Vt(t)===uc)return[];var e=fr(t);return[xf(t),e,xf(e)]}function tze(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,g=n.flipVariations,p=g===void 0?!0:g,m=n.allowedAutoPlacements,v=e.options.placement,_=Vt(v),b=_===v,x=l||(b||!p?[fr(v)]:eze(v)),C=[v].concat(x).reduce(function(xe,N){return xe.concat(Vt(N)===uc?Xje(e,{placement:N,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):N)},[]),R=e.rects.reference,T=e.rects.popper,D=new Map,y=!0,k=C[0],S=0;S=0,ae=I?"width":"height",W=So(e,{placement:L,boundary:u,rootBoundary:f,altBoundary:h,padding:c}),A=I?Y?St:ft:Y?At:dt;R[ae]>T[ae]&&(A=fr(A));var $=fr(A),V=[];if(r&&V.push(W[F]<=0),a&&V.push(W[A]<=0,W[$]<=0),V.every(function(xe){return xe})){k=L,y=!1;break}D.set(L,V)}if(y)for(var me=p?3:1,pe=function(N){var Q=C.find(function(H){var te=D.get(H);if(te)return te.slice(0,N).every(function(X){return X})});if(Q)return k=Q,"break"},ee=me;ee>0;ee--){var _e=pe(ee);if(_e==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const nze={name:"flip",enabled:!0,phase:"main",fn:tze,requiresIfExists:["offset"],data:{_skip:!1}};function Ef(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 Cf(t){return[dt,St,At,ft].some(function(e){return t[e]>=0})}function sze(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=So(e,{elementContext:"reference"}),a=So(e,{altBoundary:!0}),l=Ef(i,s),c=Ef(a,o,r),u=Cf(l),f=Cf(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const oze={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sze};function rze(t,e,n){var s=Vt(t),o=[ft,dt].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,[ft,St].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function ize(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=$g.reduce(function(u,f){return u[f]=rze(f,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const aze={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ize};function lze(t){var e=t.state,n=t.name;e.modifiersData[n]=Zg({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const cze={name:"popperOffsets",enabled:!0,phase:"read",fn:lze,data:{}};function uze(t){return t==="x"?"y":"x"}function dze(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,h=n.tether,g=h===void 0?!0:h,p=n.tetherOffset,m=p===void 0?0:p,v=So(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Vt(e.placement),b=Rs(e.placement),x=!b,C=hc(_),R=uze(C),T=e.modifiersData.popperOffsets,D=e.rects.reference,y=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,S=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(T){if(r){var Y,I=C==="y"?dt:ft,ae=C==="y"?At:St,W=C==="y"?"height":"width",A=T[C],$=A+v[I],V=A-v[ae],me=g?-y[W]/2:0,pe=b===Ts?D[W]:y[W],ee=b===Ts?-y[W]:-D[W],_e=e.elements.arrow,xe=g&&_e?fc(_e):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Vg(),Q=N[I],H=N[ae],te=io(0,D[W],xe[W]),X=x?D[W]/2-me-te-Q-S.mainAxis:pe-te-Q-S.mainAxis,fe=x?-D[W]/2+me+te+H+S.mainAxis:ee+te+H+S.mainAxis,le=e.elements.arrow&&Io(e.elements.arrow),w=le?C==="y"?le.clientTop||0:le.clientLeft||0:0,E=(Y=L==null?void 0:L[C])!=null?Y:0,P=A+X-E-w,B=A+fe-E,j=io(g?Or($,P):$,A,g?Zn(V,B):V);T[C]=j,F[C]=j-A}if(a){var ne,re=C==="x"?dt:ft,z=C==="x"?At:St,se=T[R],q=R==="y"?"height":"width",Z=se+v[re],ie=se-v[z],de=[dt,ft].indexOf(_)!==-1,ce=(ne=L==null?void 0:L[R])!=null?ne:0,ve=de?Z:se-D[q]-y[q]-ce+S.altAxis,K=de?se+D[q]+y[q]-ce-S.altAxis:ie,oe=g&&de?Ije(ve,se,K):io(g?ve:Z,se,g?K:ie);T[R]=oe,F[R]=oe-se}e.modifiersData[s]=F}}const fze={name:"preventOverflow",enabled:!0,phase:"main",fn:dze,requiresIfExists:["offset"]};function hze(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function pze(t){return t===_t(t)||!Et(t)?pc(t):hze(t)}function gze(t){var e=t.getBoundingClientRect(),n=Os(e.width)/t.offsetWidth||1,s=Os(e.height)/t.offsetHeight||1;return n!==1||s!==1}function mze(t,e,n){n===void 0&&(n=!1);var s=Et(e),o=Et(e)&&gze(e),r=Mn(e),i=Ms(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Wt(e)!=="body"||mc(r))&&(a=pze(e)),Et(e)?(l=Ms(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=gc(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function _ze(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 bze(t){var e=_ze(t);return Oje.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function yze(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function vze(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 Af={placement:"bottom",modifiers:[],strategy:"absolute"};function Sf(){for(var t=arguments.length,e=new Array(t),n=0;n(Fs("data-v-f4cd3563"),t=t(),Bs(),t),Cze={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Aze={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},Sze={class:"flex-row p-4 flex items-center gap-3 flex-0"},Tze=ot(()=>d("i",{"data-feather":"plus"},null,-1)),Oze=[Tze],Mze=ot(()=>d("i",{"data-feather":"check-square"},null,-1)),Rze=[Mze],Nze=ot(()=>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)),Dze=ot(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),Lze=ot(()=>d("i",{"data-feather":"log-in"},null,-1)),Ize=[Lze],Pze=ot(()=>d("i",{"data-feather":"search"},null,-1)),Fze=[Pze],Bze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},jze=ot(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),zze=[jze],qze={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},$ze={class:"p-4 pt-2"},Uze={class:"relative"},Hze=ot(()=>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)),Vze={class:"absolute inset-y-0 right-0 flex items-center pr-3"},Gze=ot(()=>d("i",{"data-feather":"x"},null,-1)),Kze=[Gze],Wze={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},Zze={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},Yze={class:"flex flex-row flex-grow"},Qze={key:0},Jze={class:"flex flex-row"},Xze={key:0,class:"flex gap-3"},eqe=ot(()=>d("i",{"data-feather":"trash"},null,-1)),tqe=[eqe],nqe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},sqe=ot(()=>d("i",{"data-feather":"check"},null,-1)),oqe=[sqe],rqe=ot(()=>d("i",{"data-feather":"x"},null,-1)),iqe=[rqe],aqe={class:"flex gap-3"},lqe=ot(()=>d("i",{"data-feather":"log-out"},null,-1)),cqe=[lqe],uqe=ot(()=>d("i",{"data-feather":"list"},null,-1)),dqe=[uqe],fqe={class:"z-20"},hqe={class:"relative flex flex-row flex-grow mb-10"},pqe={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"},gqe=ot(()=>d("p",{class:"px-3"},"No discussions are found",-1)),mqe=[gqe],_qe=ot(()=>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)),bqe={class:"z-20 h-max"},yqe={class:"container pt-4 pb-10 mb-28"},vqe=ot(()=>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)),wqe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},xqe={setup(){},data(){return{msgTypes:{MSG_TYPE_NORMAL_USER:0,MSG_TYPE_NORMAL_AI:1,MSG_TYPE_CONDITIONNING:2,MSG_TYPE_HIDDEN:3,MSG_TYPE_USER_ONLY:4},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Ae.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ae.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ae.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_NORMAL_AI||n.type==this.msgTypes.MSG_TYPE_NORMAL_USER||n.type==this.msgTypes.MSG_TYPE_USER_ONLY),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 Ae.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 Ae.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 Ae.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 Ae.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(qe.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Ae.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 Ae.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 Ae.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 Ae.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 Ae.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),ge(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),ge(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{qe.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){console.log("stream msg",t);const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),ge(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ae.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):qe.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}ge(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=` Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=` Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s} @@ -140,4 +140,4 @@ ${o} ${l}`;navigator.clipboard.writeText(c),ge(()=>{Ee.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. `+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){let t=[];const e=await this.api_get_req("get_all_personalities"),n=Object.keys(e);for(let s=0;s{let h={};return h=f,h.category=l,h.language=o,h});t.length==0?t=u:t=t.concat(u)}}this.personalityAvatars=t.map(s=>({name:s.name,avatar:s.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox -`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,ge(()=>{Ee.replace()}),qe.on("infos",this.createBotMsg),qe.on("message",this.streamMessageContent),qe.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Gp,Message:Mg,ChatBox:Rg,WelcomeComponent:Ng,Toast:ti,DragDrop:cl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){ge(()=>{Ee.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){ge(()=>{Ee.replace()})},isSearch(){ge(()=>{Ee.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return ge(()=>{Ee.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},xqe=Object.assign(wqe,{__name:"DiscussionsView",setup(t){return Hr(()=>{xze()}),Ae.defaults.baseURL="/",(e,n)=>(O(),M(Ie,null,[d("div",Eze,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=ue(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",Cze,[d("div",Aze,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},Tze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},Mze,2),Rze,Nze,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=ue(s=>e.$refs.fileDialog.click(),["stop"]))},Lze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},Pze,2),e.loading?(O(),M("div",Fze,jze)):U("",!0)]),e.isSearch?(O(),M("div",zze,[d("div",qze,[d("div",$ze,[Uze,d("div",Hze,[d("div",{class:Me(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},Gze,2)]),Oe(d("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[je,e.filterTitle]])])])])):U("",!0),e.isCheckbox?(O(),M("hr",Kze)):U("",!0),e.isCheckbox?(O(),M("div",Wze,[d("div",Zze,[e.selectedDiscussions.length>0?(O(),M("p",Yze,"Selected: "+J(e.selectedDiscussions.length),1)):U("",!0)]),d("div",Qze,[e.selectedDiscussions.length>0?(O(),M("div",Jze,[e.showConfirmation?U("",!0):(O(),M("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=ue(s=>e.showConfirmation=!0,["stop"]))},eqe)),e.showConfirmation?(O(),M("div",tqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=ue((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},sqe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=ue(s=>e.showConfirmation=!1,["stop"]))},rqe)])):U("",!0)])):U("",!0),d("div",iqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=ue((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},lqe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=ue((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},uqe)])])])):U("",!0)]),d("div",dqe,[Ce(cl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Je(()=>[ve("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",fqe,[d("div",{class:Me(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Me([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(e.list,(s,o)=>(O(),at(Gp,{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})):U("",!0),e.list.length<1?(O(),M("div",hqe,gqe)):U("",!0),mqe],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=ue(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",_qe,[Ce(cl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Me(["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",bqe,[e.discussionArr.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(e.discussionArr,(s,o)=>(O(),at(Mg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):U("",!0),e.currentDiscussion.id?U("",!0):(O(),at(Ng,{key:1}))]),yqe,e.currentDiscussion.id?(O(),M("div",vqe,[Ce(Rg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):U("",!0)],2)],32),Ce(ti,{ref:"toast"},null,512)],64))}}),kqe=Ke(xqe,[["__scopeId","data-v-f4cd3563"]]),Eqe=mb({history:L0("/"),routes:[{path:"/extensions/",name:"extensions",component:Wb},{path:"/help/",name:"help",component:cy},{path:"/settings/",name:"settings",component:eA},{path:"/training/",name:"training",component:xA},{path:"/",name:"discussions",component:kqe}]});const bc=U1(Vb),Cqe=m0({state(){return{mountedPersonalities:[],settingsChanged:!1}},mutations:{}});bc.use(Eqe);bc.use(Cqe);bc.mount("#app"); +`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,ge(()=>{Ee.replace()}),qe.on("infos",this.createBotMsg),qe.on("message",this.streamMessageContent),qe.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Gp,Message:Mg,ChatBox:Rg,WelcomeComponent:Ng,Toast:ti,DragDrop:cl},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){ge(()=>{Ee.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){ge(()=>{Ee.replace()})},isSearch(){ge(()=>{Ee.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return ge(()=>{Ee.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},kqe=Object.assign(xqe,{__name:"DiscussionsView",setup(t){return Hr(()=>{kze()}),Ae.defaults.baseURL="/",(e,n)=>(O(),M(Ie,null,[d("div",Cze,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=ue(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",Aze,[d("div",Sze,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},Oze),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},Rze,2),Nze,Dze,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=ue(s=>e.$refs.fileDialog.click(),["stop"]))},Ize),d("button",{class:Me(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},Fze,2),e.loading?(O(),M("div",Bze,zze)):U("",!0)]),e.isSearch?(O(),M("div",qze,[d("div",$ze,[d("div",Uze,[Hze,d("div",Vze,[d("div",{class:Me(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},Kze,2)]),Oe(d("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[je,e.filterTitle]])])])])):U("",!0),e.isCheckbox?(O(),M("hr",Wze)):U("",!0),e.isCheckbox?(O(),M("div",Zze,[d("div",Yze,[e.selectedDiscussions.length>0?(O(),M("p",Qze,"Selected: "+J(e.selectedDiscussions.length),1)):U("",!0)]),d("div",Jze,[e.selectedDiscussions.length>0?(O(),M("div",Xze,[e.showConfirmation?U("",!0):(O(),M("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=ue(s=>e.showConfirmation=!0,["stop"]))},tqe)),e.showConfirmation?(O(),M("div",nqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=ue((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},oqe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=ue(s=>e.showConfirmation=!1,["stop"]))},iqe)])):U("",!0)])):U("",!0),d("div",aqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=ue((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},cqe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=ue((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},dqe)])])])):U("",!0)]),d("div",fqe,[Ce(cl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Je(()=>[be("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",hqe,[d("div",{class:Me(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Me([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(e.list,(s,o)=>(O(),at(Gp,{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})):U("",!0),e.list.length<1?(O(),M("div",pqe,mqe)):U("",!0),_qe],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=ue(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",bqe,[Ce(cl,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Me(["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",yqe,[e.discussionArr.length>0?(O(),at(jt,{key:0,name:"list"},{default:Je(()=>[(O(!0),M(Ie,null,et(e.discussionArr,(s,o)=>(O(),at(Mg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):U("",!0),e.currentDiscussion.id?U("",!0):(O(),at(Ng,{key:1}))]),vqe,e.currentDiscussion.id?(O(),M("div",wqe,[Ce(Rg,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):U("",!0)],2)],32),Ce(ti,{ref:"toast"},null,512)],64))}}),Eqe=Ke(kqe,[["__scopeId","data-v-f4cd3563"]]),Cqe=mb({history:L0("/"),routes:[{path:"/extensions/",name:"extensions",component:Wb},{path:"/help/",name:"help",component:cy},{path:"/settings/",name:"settings",component:tA},{path:"/training/",name:"training",component:kA},{path:"/",name:"discussions",component:Eqe}]});const bc=U1(Vb),Aqe=m0({state(){return{mountedPersonalities:[],settingsChanged:!1}},mutations:{}});bc.use(Cqe);bc.use(Aqe);bc.mount("#app"); diff --git a/web/dist/index.html b/web/dist/index.html index e973af7a..fb43903c 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,7 +6,7 @@ LoLLMS WebUI - Welcome - + diff --git a/web/src/components/MountedPersonalitiesList.vue b/web/src/components/MountedPersonalitiesList.vue index c1457c0a..cce179d9 100644 --- a/web/src/components/MountedPersonalitiesList.vue +++ b/web/src/components/MountedPersonalitiesList.vue @@ -126,7 +126,6 @@ export default { this.onShowPersList() }, toggleMountUnmount() { - console.log('moununmoun pers list') this.onMountUnmount(this) }, async constructor() { diff --git a/web/src/components/PersonalityEntry.vue b/web/src/components/PersonalityEntry.vue index 11edbe88..1d53cd2a 100644 --- a/web/src/components/PersonalityEntry.vue +++ b/web/src/components/PersonalityEntry.vue @@ -13,10 +13,6 @@

{{ personality.name }}

- - - -
@@ -26,7 +22,12 @@ Settings +