lollms-webui/web/dist/assets/index-af6d039d.js
Saifeddine ALOUI fc18ebb08e upgraded
2023-07-24 01:39:27 +02:00

143 lines
912 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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 wl(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}function zt(t){if(Ee(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],o=Ye(s)?km(s):zt(s);if(o)for(const r in o)e[r]=o[r]}return e}else{if(Ye(t))return t;if(He(t))return t}}const vm=/;(?![^(]*\))/g,wm=/:([^]+)/,xm=/\/\*.*?\*\//gs;function km(t){const e={};return t.replace(xm,"").split(vm).forEach(n=>{if(n){const s=n.split(wm);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Te(t){let e="";if(Ye(t))e=t;else if(Ee(t))for(let n=0;n<t.length;n++){const s=Te(t[n]);s&&(e+=s+" ")}else if(He(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const Em="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Cm=wl(Em);function Fh(t){return!!t||t===""}function Am(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=No(t[s],e[s]);return n}function No(t,e){if(t===e)return!0;let n=Tc(t),s=Tc(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=fo(t),s=fo(e),n||s)return t===e;if(n=Ee(t),s=Ee(e),n||s)return n&&s?Am(t,e):!1;if(n=He(t),s=He(e),n||s){if(!n||!s)return!1;const o=Object.keys(t).length,r=Object.keys(e).length;if(o!==r)return!1;for(const i in t){const a=t.hasOwnProperty(i),l=e.hasOwnProperty(i);if(a&&!l||!a&&l||!No(t[i],e[i]))return!1}}return String(t)===String(e)}function xl(t,e){return t.findIndex(n=>No(n,e))}const V=t=>Ye(t)?t:t==null?"":Ee(t)||He(t)&&(t.toString===jh||!Me(t.toString))?JSON.stringify(t,Bh,2):String(t),Bh=(t,e)=>e&&e.__v_isRef?Bh(t,e.value):bs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Fs(e)?{[`Set(${e.size})`]:[...e.values()]}:He(e)&&!Ee(e)&&!zh(e)?String(e):e,Ge={},_s=[],It=()=>{},Sm=()=>!1,Tm=/^on[^a-z]/,jr=t=>Tm.test(t),kl=t=>t.startsWith("onUpdate:"),ot=Object.assign,El=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Mm=Object.prototype.hasOwnProperty,Fe=(t,e)=>Mm.call(t,e),Ee=Array.isArray,bs=t=>Bs(t)==="[object Map]",Fs=t=>Bs(t)==="[object Set]",Tc=t=>Bs(t)==="[object Date]",Om=t=>Bs(t)==="[object RegExp]",Me=t=>typeof t=="function",Ye=t=>typeof t=="string",fo=t=>typeof t=="symbol",He=t=>t!==null&&typeof t=="object",$h=t=>He(t)&&Me(t.then)&&Me(t.catch),jh=Object.prototype.toString,Bs=t=>jh.call(t),Rm=t=>Bs(t).slice(8,-1),zh=t=>Bs(t)==="[object Object]",Cl=t=>Ye(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,or=wl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Nm=/-(\w)/g,Zt=zr(t=>t.replace(Nm,(e,n)=>n?n.toUpperCase():"")),Dm=/\B([A-Z])/g,ts=zr(t=>t.replace(Dm,"-$1").toLowerCase()),Ur=zr(t=>t.charAt(0).toUpperCase()+t.slice(1)),xi=zr(t=>t?`on${Ur(t)}`:""),po=(t,e)=>!Object.is(t,e),ys=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},_r=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},br=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Lm=t=>{const e=Ye(t)?Number(t):NaN;return isNaN(e)?t:e};let Mc;const Im=()=>Mc||(Mc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Rt;class Pm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Rt,!e&&Rt&&(this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Rt;try{return Rt=this,e()}finally{Rt=n}}}on(){Rt=this}off(){Rt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Fm(t,e=Rt){e&&e.active&&e.effects.push(t)}function Bm(){return Rt}const Al=t=>{const e=new Set(t);return e.w=0,e.n=0,e},Uh=t=>(t.w&On)>0,qh=t=>(t.n&On)>0,$m=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=On},jm=t=>{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s<e.length;s++){const o=e[s];Uh(o)&&!qh(o)?o.delete(t):e[n++]=o,o.w&=~On,o.n&=~On}e.length=n}},Fa=new WeakMap;let eo=0,On=1;const Ba=30;let Dt;const Kn=Symbol(""),$a=Symbol("");class Sl{constructor(e,n=null,s){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Fm(this,s)}run(){if(!this.active)return this.fn();let e=Dt,n=Tn;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Dt,Dt=this,Tn=!0,On=1<<++eo,eo<=Ba?$m(this):Oc(this),this.fn()}finally{eo<=Ba&&jm(this),On=1<<--eo,Dt=this.parent,Tn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Dt===this?this.deferStop=!0:this.active&&(Oc(this),this.onStop&&this.onStop(),this.active=!1)}}function Oc(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let Tn=!0;const Hh=[];function $s(){Hh.push(Tn),Tn=!1}function js(){const t=Hh.pop();Tn=t===void 0?!0:t}function gt(t,e,n){if(Tn&&Dt){let s=Fa.get(t);s||Fa.set(t,s=new Map);let o=s.get(n);o||s.set(n,o=Al()),Vh(o)}}function Vh(t,e){let n=!1;eo<=Ba?qh(t)||(t.n|=On,n=!Uh(t)):n=!t.has(Dt),n&&(t.add(Dt),Dt.deps.push(t))}function rn(t,e,n,s,o,r){const i=Fa.get(t);if(!i)return;let a=[];if(e==="clear")a=[...i.values()];else if(n==="length"&&Ee(t)){const l=Number(s);i.forEach((c,d)=>{(d==="length"||d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":Ee(t)?Cl(n)&&a.push(i.get("length")):(a.push(i.get(Kn)),bs(t)&&a.push(i.get($a)));break;case"delete":Ee(t)||(a.push(i.get(Kn)),bs(t)&&a.push(i.get($a)));break;case"set":bs(t)&&a.push(i.get(Kn));break}if(a.length===1)a[0]&&ja(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);ja(Al(l))}}function ja(t,e){const n=Ee(t)?t:[...t];for(const s of n)s.computed&&Rc(s);for(const s of n)s.computed||Rc(s)}function Rc(t,e){(t!==Dt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const zm=wl("__proto__,__v_isRef,__isVue"),Gh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(fo)),Um=Tl(),qm=Tl(!1,!0),Hm=Tl(!0),Nc=Vm();function Vm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=$e(this);for(let r=0,i=this.length;r<i;r++)gt(s,"get",r+"");const o=s[e](...n);return o===-1||o===!1?s[e](...n.map($e)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){$s();const s=$e(this)[e].apply(this,n);return js(),s}}),t}function Gm(t){const e=$e(this);return gt(e,"has",t),e.hasOwnProperty(t)}function Tl(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?l_:Qh:e?Yh:Zh).get(s))return s;const i=Ee(s);if(!t){if(i&&Fe(Nc,o))return Reflect.get(Nc,o,r);if(o==="hasOwnProperty")return Gm}const a=Reflect.get(s,o,r);return(fo(o)?Gh.has(o):zm(o))||(t||gt(s,"get",o),e)?a:ut(a)?i&&Cl(o)?a:a.value:He(a)?t?Jh(a):zs(a):a}}const Km=Kh(),Wm=Kh(!0);function Kh(t=!1){return function(n,s,o,r){let i=n[s];if(Es(i)&&ut(i)&&!ut(o))return!1;if(!t&&(!yr(o)&&!Es(o)&&(i=$e(i),o=$e(o)),!Ee(n)&&ut(i)&&!ut(o)))return i.value=o,!0;const a=Ee(n)&&Cl(s)?Number(s)<n.length:Fe(n,s),l=Reflect.set(n,s,o,r);return n===$e(r)&&(a?po(o,i)&&rn(n,"set",s,o):rn(n,"add",s,o)),l}}function Zm(t,e){const n=Fe(t,e);t[e];const s=Reflect.deleteProperty(t,e);return s&&n&&rn(t,"delete",e,void 0),s}function Ym(t,e){const n=Reflect.has(t,e);return(!fo(e)||!Gh.has(e))&&gt(t,"has",e),n}function Qm(t){return gt(t,"iterate",Ee(t)?"length":Kn),Reflect.ownKeys(t)}const Wh={get:Um,set:Km,deleteProperty:Zm,has:Ym,ownKeys:Qm},Jm={get:Hm,set(t,e){return!0},deleteProperty(t,e){return!0}},Xm=ot({},Wh,{get:qm,set:Wm}),Ml=t=>t,qr=t=>Reflect.getPrototypeOf(t);function jo(t,e,n=!1,s=!1){t=t.__v_raw;const o=$e(t),r=$e(e);n||(e!==r&&gt(o,"get",e),gt(o,"get",r));const{has:i}=qr(o),a=s?Ml:n?Nl:go;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function zo(t,e=!1){const n=this.__v_raw,s=$e(n),o=$e(t);return e||(t!==o&&gt(s,"has",t),gt(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Uo(t,e=!1){return t=t.__v_raw,!e&&gt($e(t),"iterate",Kn),Reflect.get(t,"size",t)}function Dc(t){t=$e(t);const e=$e(this);return qr(e).has.call(e,t)||(e.add(t),rn(e,"add",t,t)),this}function Lc(t,e){e=$e(e);const n=$e(this),{has:s,get:o}=qr(n);let r=s.call(n,t);r||(t=$e(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?po(e,i)&&rn(n,"set",t,e):rn(n,"add",t,e),this}function Ic(t){const e=$e(this),{has:n,get:s}=qr(e);let o=n.call(e,t);o||(t=$e(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&rn(e,"delete",t,void 0),r}function Pc(){const t=$e(this),e=t.size!==0,n=t.clear();return e&&rn(t,"clear",void 0,void 0),n}function qo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=$e(i),l=e?Ml:t?Nl:go;return!t&&gt(a,"iterate",Kn),i.forEach((c,d)=>s.call(o,l(c),l(d),r))}}function Ho(t,e,n){return function(...s){const o=this.__v_raw,r=$e(o),i=bs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),d=n?Ml:e?Nl:go;return!e&&gt(r,"iterate",l?$a:Kn),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[d(h[0]),d(h[1])]:d(h),done:f}},[Symbol.iterator](){return this}}}}function hn(t){return function(...e){return t==="delete"?!1:this}}function e_(){const t={get(r){return jo(this,r)},get size(){return Uo(this)},has:zo,add:Dc,set:Lc,delete:Ic,clear:Pc,forEach:qo(!1,!1)},e={get(r){return jo(this,r,!1,!0)},get size(){return Uo(this)},has:zo,add:Dc,set:Lc,delete:Ic,clear:Pc,forEach:qo(!1,!0)},n={get(r){return jo(this,r,!0)},get size(){return Uo(this,!0)},has(r){return zo.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:qo(!0,!1)},s={get(r){return jo(this,r,!0,!0)},get size(){return Uo(this,!0)},has(r){return zo.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:qo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Ho(r,!1,!1),n[r]=Ho(r,!0,!1),e[r]=Ho(r,!1,!0),s[r]=Ho(r,!0,!0)}),[t,n,e,s]}const[t_,n_,s_,o_]=e_();function Ol(t,e){const n=e?t?o_:s_:t?n_:t_;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Fe(n,o)&&o in s?n:s,o,r)}const r_={get:Ol(!1,!1)},i_={get:Ol(!1,!0)},a_={get:Ol(!0,!1)},Zh=new WeakMap,Yh=new WeakMap,Qh=new WeakMap,l_=new WeakMap;function c_(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function u_(t){return t.__v_skip||!Object.isExtensible(t)?0:c_(Rm(t))}function zs(t){return Es(t)?t:Rl(t,!1,Wh,r_,Zh)}function d_(t){return Rl(t,!1,Xm,i_,Yh)}function Jh(t){return Rl(t,!0,Jm,a_,Qh)}function Rl(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=u_(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function vs(t){return Es(t)?vs(t.__v_raw):!!(t&&t.__v_isReactive)}function Es(t){return!!(t&&t.__v_isReadonly)}function yr(t){return!!(t&&t.__v_isShallow)}function Xh(t){return vs(t)||Es(t)}function $e(t){const e=t&&t.__v_raw;return e?$e(e):t}function ef(t){return _r(t,"__v_skip",!0),t}const go=t=>He(t)?zs(t):t,Nl=t=>He(t)?Jh(t):t;function tf(t){Tn&&Dt&&(t=$e(t),Vh(t.dep||(t.dep=Al())))}function nf(t,e){t=$e(t);const n=t.dep;n&&ja(n)}function ut(t){return!!(t&&t.__v_isRef===!0)}function h_(t){return sf(t,!1)}function f_(t){return sf(t,!0)}function sf(t,e){return ut(t)?t:new p_(t,e)}class p_{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:$e(e),this._value=n?e:go(e)}get value(){return tf(this),this._value}set value(e){const n=this.__v_isShallow||yr(e)||Es(e);e=n?e:$e(e),po(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:go(e),nf(this))}}function ht(t){return ut(t)?t.value:t}const g_={get:(t,e,n)=>ht(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return ut(o)&&!ut(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function of(t){return vs(t)?t:new Proxy(t,g_)}var rf;class m_{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[rf]=!1,this._dirty=!0,this.effect=new Sl(e,()=>{this._dirty||(this._dirty=!0,nf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=$e(this);return tf(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}rf="__v_isReadonly";function __(t,e,n=!1){let s,o;const r=Me(t);return r?(s=t,o=It):(s=t.get,o=t.set),new m_(s,o,r||!o,n)}function Mn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Hr(r,e,n)}return o}function Ct(t,e,n,s){if(Me(t)){const r=Mn(t,e,n,s);return r&&$h(r)&&r.catch(i=>{Hr(i,e,n)}),r}const o=[];for(let r=0;r<t.length;r++)o.push(Ct(t[r],e,n,s));return o}function Hr(t,e,n,s=!0){const o=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,a=n;for(;r;){const c=r.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](t,i,a)===!1)return}r=r.parent}const l=e.appContext.config.errorHandler;if(l){Mn(l,null,10,[t,i,a]);return}}b_(t,n,o,s)}function b_(t,e,n,s=!0){console.error(t)}let mo=!1,za=!1;const ct=[];let jt=0;const ws=[];let nn=null,jn=0;const af=Promise.resolve();let Dl=null;function _e(t){const e=Dl||af;return t?e.then(this?t.bind(this):t):e}function y_(t){let e=jt+1,n=ct.length;for(;e<n;){const s=e+n>>>1;_o(ct[s])<t?e=s+1:n=s}return e}function Ll(t){(!ct.length||!ct.includes(t,mo&&t.allowRecurse?jt+1:jt))&&(t.id==null?ct.push(t):ct.splice(y_(t.id),0,t),lf())}function lf(){!mo&&!za&&(za=!0,Dl=af.then(uf))}function v_(t){const e=ct.indexOf(t);e>jt&&ct.splice(e,1)}function w_(t){Ee(t)?ws.push(...t):(!nn||!nn.includes(t,t.allowRecurse?jn+1:jn))&&ws.push(t),lf()}function Fc(t,e=mo?jt+1:0){for(;e<ct.length;e++){const n=ct[e];n&&n.pre&&(ct.splice(e,1),e--,n())}}function cf(t){if(ws.length){const e=[...new Set(ws)];if(ws.length=0,nn){nn.push(...e);return}for(nn=e,nn.sort((n,s)=>_o(n)-_o(s)),jn=0;jn<nn.length;jn++)nn[jn]();nn=null,jn=0}}const _o=t=>t.id==null?1/0:t.id,x_=(t,e)=>{const n=_o(t)-_o(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function uf(t){za=!1,mo=!0,ct.sort(x_);const e=It;try{for(jt=0;jt<ct.length;jt++){const n=ct[jt];n&&n.active!==!1&&Mn(n,null,14)}}finally{jt=0,ct.length=0,cf(),mo=!1,Dl=null,(ct.length||ws.length)&&uf()}}function k_(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Ge;let o=n;const r=e.startsWith("update:"),i=r&&e.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:f}=s[d]||Ge;f&&(o=n.map(g=>Ye(g)?g.trim():g)),h&&(o=n.map(br))}let a,l=s[a=xi(e)]||s[a=xi(Zt(e))];!l&&r&&(l=s[a=xi(ts(e))]),l&&Ct(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,Ct(c,t,6,o)}}function df(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(!Me(t)){const l=c=>{const d=df(c,e,!0);d&&(a=!0,ot(i,d))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(He(t)&&s.set(t,null),null):(Ee(r)?r.forEach(l=>i[l]=null):ot(i,r),He(t)&&s.set(t,i),i)}function Vr(t,e){return!t||!jr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Fe(t,e[0].toLowerCase()+e.slice(1))||Fe(t,ts(e))||Fe(t,e))}let it=null,Gr=null;function vr(t){const e=it;return it=t,Gr=t&&t.type.__scopeId||null,e}function ns(t){Gr=t}function ss(){Gr=null}function We(t,e=it,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Kc(-1);const r=vr(e);let i;try{i=t(...o)}finally{vr(r),s._d&&Kc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ki(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:h,data:f,setupState:g,ctx:m,inheritAttrs:p}=t;let b,_;const y=vr(t);try{if(n.shapeFlag&4){const A=o||s;b=$t(d.call(A,A,h,r,g,f,m)),_=l}else{const A=e;b=$t(A.length>1?A(r,{attrs:l,slots:a,emit:c}):A(r,null)),_=e.props?l:E_(l)}}catch(A){oo.length=0,Hr(A,t,1),b=ve(At)}let x=b;if(_&&p!==!1){const A=Object.keys(_),{shapeFlag:R}=x;A.length&&R&7&&(i&&A.some(kl)&&(_=C_(_,i)),x=an(x,_))}return n.dirs&&(x=an(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),b=x,vr(y),b}const E_=t=>{let e;for(const n in t)(n==="class"||n==="style"||jr(n))&&((e||(e={}))[n]=t[n]);return e},C_=(t,e)=>{const n={};for(const s in t)(!kl(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function A_(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?Bc(s,i,c):!!i;if(l&8){const d=e.dynamicProps;for(let h=0;h<d.length;h++){const f=d[h];if(i[f]!==s[f]&&!Vr(c,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Bc(s,i,c):!0:!!i;return!1}function Bc(t,e,n){const s=Object.keys(e);if(s.length!==Object.keys(t).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(e[r]!==t[r]&&!Vr(n,r))return!0}return!1}function S_({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const hf=t=>t.__isSuspense;function T_(t,e){e&&e.pendingBranch?Ee(t)?e.effects.push(...t):e.effects.push(t):w_(t)}function rr(t,e){if(Qe){let n=Qe.provides;const s=Qe.parent&&Qe.parent.provides;s===n&&(n=Qe.provides=Object.create(s)),n[t]=e}}function sn(t,e,n=!1){const s=Qe||it;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Me(e)?e.call(s.proxy):e}}const Vo={};function Wn(t,e,n){return ff(t,e,n)}function ff(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ge){const a=Bm()===(Qe==null?void 0:Qe.scope)?Qe:null;let l,c=!1,d=!1;if(ut(t)?(l=()=>t.value,c=yr(t)):vs(t)?(l=()=>t,s=!0):Ee(t)?(d=!0,c=t.some(x=>vs(x)||yr(x)),l=()=>t.map(x=>{if(ut(x))return x.value;if(vs(x))return Vn(x);if(Me(x))return Mn(x,a,2)})):Me(t)?e?l=()=>Mn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),Ct(t,a,3,[f])}:l=It,e&&s){const x=l;l=()=>Vn(x())}let h,f=x=>{h=_.onStop=()=>{Mn(x,a,4)}},g;if(wo)if(f=It,e?n&&Ct(e,a,3,[l(),d?[]:void 0,f]):l(),o==="sync"){const x=y1();g=x.__watcherHandles||(x.__watcherHandles=[])}else return It;let m=d?new Array(t.length).fill(Vo):Vo;const p=()=>{if(_.active)if(e){const x=_.run();(s||c||(d?x.some((A,R)=>po(A,m[R])):po(x,m)))&&(h&&h(),Ct(e,a,3,[x,m===Vo?void 0:d&&m[0]===Vo?[]:m,f]),m=x)}else _.run()};p.allowRecurse=!!e;let b;o==="sync"?b=p:o==="post"?b=()=>rt(p,a&&a.suspense):(p.pre=!0,a&&(p.id=a.uid),b=()=>Ll(p));const _=new Sl(l,b);e?n?p():m=_.run():o==="post"?rt(_.run.bind(_),a&&a.suspense):_.run();const y=()=>{_.stop(),a&&a.scope&&El(a.scope.effects,_)};return g&&g.push(y),y}function M_(t,e,n){const s=this.proxy,o=Ye(t)?t.includes(".")?pf(s,t):()=>s[t]:t.bind(s,s);let r;Me(e)?r=e:(r=e.handler,n=e);const i=Qe;As(this);const a=ff(o,r.bind(s),n);return i?As(i):Zn(),a}function pf(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function Vn(t,e){if(!He(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),ut(t))Vn(t.value,e);else if(Ee(t))for(let n=0;n<t.length;n++)Vn(t[n],e);else if(Fs(t)||bs(t))t.forEach(n=>{Vn(n,e)});else if(zh(t))for(const n in t)Vn(t[n],e);return t}function gf(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zr(()=>{t.isMounted=!0}),Fl(()=>{t.isUnmounting=!0}),t}const vt=[Function,Array],O_={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vt,onEnter:vt,onAfterEnter:vt,onEnterCancelled:vt,onBeforeLeave:vt,onLeave:vt,onAfterLeave:vt,onLeaveCancelled:vt,onBeforeAppear:vt,onAppear:vt,onAfterAppear:vt,onAppearCancelled:vt},setup(t,{slots:e}){const n=Ul(),s=gf();let o;return()=>{const r=e.default&&Il(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const p of r)if(p.type!==At){i=p;break}}const a=$e(t),{mode:l}=a;if(s.isLeaving)return Ei(i);const c=$c(i);if(!c)return Ei(i);const d=bo(c,a,s,n);Cs(c,d);const h=n.subTree,f=h&&$c(h);let g=!1;const{getTransitionKey:m}=c.type;if(m){const p=m();o===void 0?o=p:p!==o&&(o=p,g=!0)}if(f&&f.type!==At&&(!Cn(c,f)||g)){const p=bo(f,a,s,n);if(Cs(f,p),l==="out-in")return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Ei(i);l==="in-out"&&c.type!==At&&(p.delayLeave=(b,_,y)=>{const x=_f(s,f);x[String(f.key)]=f,b._leaveCb=()=>{_(),b._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=y})}return i}}},mf=O_;function _f(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 bo(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:h,onLeave:f,onAfterLeave:g,onLeaveCancelled:m,onBeforeAppear:p,onAppear:b,onAfterAppear:_,onAppearCancelled:y}=e,x=String(t.key),A=_f(n,t),R=(v,k)=>{v&&Ct(v,s,9,k)},O=(v,k)=>{const M=k[1];R(v,k),Ee(v)?v.every(L=>L.length<=1)&&M():v.length<=1&&M()},D={mode:r,persisted:i,beforeEnter(v){let k=a;if(!n.isMounted)if(o)k=p||a;else return;v._leaveCb&&v._leaveCb(!0);const M=A[x];M&&Cn(t,M)&&M.el._leaveCb&&M.el._leaveCb(),R(k,[v])},enter(v){let k=l,M=c,L=d;if(!n.isMounted)if(o)k=b||l,M=_||c,L=y||d;else return;let F=!1;const Q=v._enterCb=I=>{F||(F=!0,I?R(L,[v]):R(M,[v]),D.delayedLeave&&D.delayedLeave(),v._enterCb=void 0)};k?O(k,[v,Q]):Q()},leave(v,k){const M=String(t.key);if(v._enterCb&&v._enterCb(!0),n.isUnmounting)return k();R(h,[v]);let L=!1;const F=v._leaveCb=Q=>{L||(L=!0,k(),Q?R(m,[v]):R(g,[v]),v._leaveCb=void 0,A[M]===t&&delete A[M])};A[M]=t,f?O(f,[v,F]):F()},clone(v){return bo(v,e,n,s)}};return D}function Ei(t){if(Kr(t))return t=an(t),t.children=null,t}function $c(t){return Kr(t)?t.children?t.children[0]:void 0:t}function Cs(t,e){t.shapeFlag&6&&t.component?Cs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Il(t,e=!1,n){let s=[],o=0;for(let r=0;r<t.length;r++){let i=t[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Re?(i.patchFlag&128&&o++,s=s.concat(Il(i.children,e,a))):(e||i.type!==At)&&s.push(a!=null?an(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function bf(t){return Me(t)?{setup:t,name:t.name}:t}const xs=t=>!!t.type.__asyncLoader,Kr=t=>t.type.__isKeepAlive,R_={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Ul(),s=n.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:h}}}=s,f=h("div");s.activate=(y,x,A,R,O)=>{const D=y.component;c(y,x,A,0,a),l(D.vnode,y,x,A,D,a,R,y.slotScopeIds,O),rt(()=>{D.isDeactivated=!1,D.a&&ys(D.a);const v=y.props&&y.props.onVnodeMounted;v&&wt(v,D.parent,y)},a)},s.deactivate=y=>{const x=y.component;c(y,f,null,1,a),rt(()=>{x.da&&ys(x.da);const A=y.props&&y.props.onVnodeUnmounted;A&&wt(A,x.parent,y),x.isDeactivated=!0},a)};function g(y){Ci(y),d(y,n,a,!0)}function m(y){o.forEach((x,A)=>{const R=Ka(x.type);R&&(!y||!y(R))&&p(A)})}function p(y){const x=o.get(y);!i||!Cn(x,i)?g(x):i&&Ci(i),o.delete(y),r.delete(y)}Wn(()=>[t.include,t.exclude],([y,x])=>{y&&m(A=>to(y,A)),x&&m(A=>!to(x,A))},{flush:"post",deep:!0});let b=null;const _=()=>{b!=null&&o.set(b,Ai(n.subTree))};return Zr(_),Pl(_),Fl(()=>{o.forEach(y=>{const{subTree:x,suspense:A}=n,R=Ai(x);if(y.type===R.type&&y.key===R.key){Ci(R);const O=R.component.da;O&&rt(O,A);return}g(y)})}),()=>{if(b=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!vo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let A=Ai(x);const R=A.type,O=Ka(xs(A)?A.type.__asyncResolved||{}:R),{include:D,exclude:v,max:k}=t;if(D&&(!O||!to(D,O))||v&&O&&to(v,O))return i=A,x;const M=A.key==null?R:A.key,L=o.get(M);return A.el&&(A=an(A),x.shapeFlag&128&&(x.ssContent=A)),b=M,L?(A.el=L.el,A.component=L.component,A.transition&&Cs(A,A.transition),A.shapeFlag|=512,r.delete(M),r.add(M)):(r.add(M),k&&r.size>parseInt(k,10)&&p(r.values().next().value)),A.shapeFlag|=256,i=A,hf(x.type)?x:A}}},N_=R_;function to(t,e){return Ee(t)?t.some(n=>to(n,e)):Ye(t)?t.split(",").includes(e):Om(t)?t.test(e):!1}function D_(t,e){yf(t,"a",e)}function L_(t,e){yf(t,"da",e)}function yf(t,e,n=Qe){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Wr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Kr(o.parent.vnode)&&I_(s,e,n,o),o=o.parent}}function I_(t,e,n,s){const o=Wr(e,t,s,!0);vf(()=>{El(s[e],o)},n)}function Ci(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ai(t){return t.shapeFlag&128?t.ssContent:t}function Wr(t,e,n=Qe,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;$s(),As(n);const a=Ct(e,n,t,i);return Zn(),js(),a});return s?o.unshift(r):o.push(r),r}}const un=t=>(e,n=Qe)=>(!wo||t==="sp")&&Wr(t,(...s)=>e(...s),n),P_=un("bm"),Zr=un("m"),F_=un("bu"),Pl=un("u"),Fl=un("bum"),vf=un("um"),B_=un("sp"),$_=un("rtg"),j_=un("rtc");function z_(t,e=Qe){Wr("ec",t,e)}function me(t,e){const n=it;if(n===null)return t;const s=Jr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[i,a,l,c=Ge]=e[r];i&&(Me(i)&&(i={mounted:i,updated:i}),i.deep&&Vn(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return t}function Ln(t,e,n,s){const o=t.dirs,r=e&&e.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let l=a.dir[s];l&&($s(),Ct(l,n,8,[t.el,a,t,e]),js())}}const Bl="components";function nt(t,e){return xf(Bl,t,!0,e)||t}const wf=Symbol();function U_(t){return Ye(t)?xf(Bl,t,!1)||t:t||wf}function xf(t,e,n=!0,s=!1){const o=it||Qe;if(o){const r=o.type;if(t===Bl){const a=Ka(r,!1);if(a&&(a===e||a===Zt(e)||a===Ur(Zt(e))))return r}const i=jc(o[t]||r[t],e)||jc(o.appContext[t],e);return!i&&s?r:i}}function jc(t,e){return t&&(t[e]||t[Zt(e)]||t[Ur(Zt(e))])}function Ke(t,e,n,s){let o;const r=n&&n[s];if(Ee(t)||Ye(t)){o=new Array(t.length);for(let i=0,a=t.length;i<a;i++)o[i]=e(t[i],i,void 0,r&&r[i])}else if(typeof t=="number"){o=new Array(t);for(let i=0;i<t;i++)o[i]=e(i+1,i,void 0,r&&r[i])}else if(He(t))if(t[Symbol.iterator])o=Array.from(t,(i,a)=>e(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<l;a++){const c=i[a];o[a]=e(t[c],c,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function kf(t,e,n={},s,o){if(it.isCE||it.parent&&xs(it.parent)&&it.parent.isCE)return e!=="default"&&(n.name=e),ve("slot",n,s&&s());let r=t[e];r&&r._c&&(r._d=!1),C();const i=r&&Ef(r(n)),a=st(Re,{key:n.key||i&&i.key||`_${e}`},i||(s?s():[]),i&&t._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Ef(t){return t.some(e=>vo(e)?!(e.type===At||e.type===Re&&!Ef(e.children)):!0)?t:null}const Ua=t=>t?If(t)?Jr(t)||t.proxy:Ua(t.parent):null,so=ot(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ua(t.parent),$root:t=>Ua(t.root),$emit:t=>t.emit,$options:t=>$l(t),$forceUpdate:t=>t.f||(t.f=()=>Ll(t.update)),$nextTick:t=>t.n||(t.n=_e.bind(t.proxy)),$watch:t=>M_.bind(t)}),Si=(t,e)=>t!==Ge&&!t.__isScriptSetup&&Fe(t,e),q_={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(Si(s,e))return i[e]=1,s[e];if(o!==Ge&&Fe(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Fe(c,e))return i[e]=3,r[e];if(n!==Ge&&Fe(n,e))return i[e]=4,n[e];qa&&(i[e]=0)}}const d=so[e];let h,f;if(d)return e==="$attrs"&&gt(t,"get",e),d(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Ge&&Fe(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,Fe(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return Si(o,e)?(o[e]=n,!0):s!==Ge&&Fe(s,e)?(s[e]=n,!0):Fe(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!==Ge&&Fe(t,i)||Si(e,i)||(a=r[0])&&Fe(a,i)||Fe(s,i)||Fe(so,i)||Fe(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Fe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let qa=!0;function H_(t){const e=$l(t),n=t.proxy,s=t.ctx;qa=!1,e.beforeCreate&&zc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:h,mounted:f,beforeUpdate:g,updated:m,activated:p,deactivated:b,beforeDestroy:_,beforeUnmount:y,destroyed:x,unmounted:A,render:R,renderTracked:O,renderTriggered:D,errorCaptured:v,serverPrefetch:k,expose:M,inheritAttrs:L,components:F,directives:Q,filters:I}=e;if(c&&V_(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const T in i){const q=i[T];Me(q)&&(s[T]=q.bind(n))}if(o){const T=o.call(n,n);He(T)&&(t.data=zs(T))}if(qa=!0,r)for(const T in r){const q=r[T],G=Me(q)?q.bind(n,n):Me(q.get)?q.get.bind(n,n):It,be=!Me(q)&&Me(q.set)?q.set.bind(n):It,ge=Et({get:G,set:be});Object.defineProperty(s,T,{enumerable:!0,configurable:!0,get:()=>ge.value,set:ee=>ge.value=ee})}if(a)for(const T in a)Cf(a[T],s,n,T);if(l){const T=Me(l)?l.call(n):l;Reflect.ownKeys(T).forEach(q=>{rr(q,T[q])})}d&&zc(d,t,"c");function Z(T,q){Ee(q)?q.forEach(G=>T(G.bind(n))):q&&T(q.bind(n))}if(Z(P_,h),Z(Zr,f),Z(F_,g),Z(Pl,m),Z(D_,p),Z(L_,b),Z(z_,v),Z(j_,O),Z($_,D),Z(Fl,y),Z(vf,A),Z(B_,k),Ee(M))if(M.length){const T=t.exposed||(t.exposed={});M.forEach(q=>{Object.defineProperty(T,q,{get:()=>n[q],set:G=>n[q]=G})})}else t.exposed||(t.exposed={});R&&t.render===It&&(t.render=R),L!=null&&(t.inheritAttrs=L),F&&(t.components=F),Q&&(t.directives=Q)}function V_(t,e,n=It,s=!1){Ee(t)&&(t=Ha(t));for(const o in t){const r=t[o];let i;He(r)?"default"in r?i=sn(r.from||o,r.default,!0):i=sn(r.from||o):i=sn(r),ut(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function zc(t,e,n){Ct(Ee(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Cf(t,e,n,s){const o=s.includes(".")?pf(n,s):()=>n[s];if(Ye(t)){const r=e[t];Me(r)&&Wn(o,r)}else if(Me(t))Wn(o,t.bind(n));else if(He(t))if(Ee(t))t.forEach(r=>Cf(r,e,n,s));else{const r=Me(t.handler)?t.handler.bind(n):e[t.handler];Me(r)&&Wn(o,r,t)}}function $l(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=>wr(l,c,i,!0)),wr(l,e,i)),He(e)&&r.set(e,l),l}function wr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&wr(t,r,n,!0),o&&o.forEach(i=>wr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=G_[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const G_={data:Uc,props:Bn,emits:Bn,methods:Bn,computed:Bn,beforeCreate:dt,created:dt,beforeMount:dt,mounted:dt,beforeUpdate:dt,updated:dt,beforeDestroy:dt,beforeUnmount:dt,destroyed:dt,unmounted:dt,activated:dt,deactivated:dt,errorCaptured:dt,serverPrefetch:dt,components:Bn,directives:Bn,watch:W_,provide:Uc,inject:K_};function Uc(t,e){return e?t?function(){return ot(Me(t)?t.call(this,this):t,Me(e)?e.call(this,this):e)}:e:t}function K_(t,e){return Bn(Ha(t),Ha(e))}function Ha(t){if(Ee(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function dt(t,e){return t?[...new Set([].concat(t,e))]:e}function Bn(t,e){return t?ot(ot(Object.create(null),t),e):e}function W_(t,e){if(!t)return e;if(!e)return t;const n=ot(Object.create(null),t);for(const s in e)n[s]=dt(t[s],e[s]);return n}function Z_(t,e,n,s=!1){const o={},r={};_r(r,Qr,1),t.propsDefaults=Object.create(null),Af(t,e,o,r);for(const i in t.propsOptions[0])i in o||(o[i]=void 0);n?t.props=s?o:d_(o):t.type.props?t.props=o:t.props=r,t.attrs=r}function Y_(t,e,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=t,a=$e(o),[l]=t.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=t.vnode.dynamicProps;for(let h=0;h<d.length;h++){let f=d[h];if(Vr(t.emitsOptions,f))continue;const g=e[f];if(l)if(Fe(r,f))g!==r[f]&&(r[f]=g,c=!0);else{const m=Zt(f);o[m]=Va(l,a,m,g,t,!1)}else g!==r[f]&&(r[f]=g,c=!0)}}}else{Af(t,e,o,r)&&(c=!0);let d;for(const h in a)(!e||!Fe(e,h)&&((d=ts(h))===h||!Fe(e,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(o[h]=Va(l,a,h,void 0,t,!0)):delete o[h]);if(r!==a)for(const h in r)(!e||!Fe(e,h))&&(delete r[h],c=!0)}c&&rn(t,"set","$attrs")}function Af(t,e,n,s){const[o,r]=t.propsOptions;let i=!1,a;if(e)for(let l in e){if(or(l))continue;const c=e[l];let d;o&&Fe(o,d=Zt(l))?!r||!r.includes(d)?n[d]=c:(a||(a={}))[d]=c:Vr(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(r){const l=$e(n),c=a||Ge;for(let d=0;d<r.length;d++){const h=r[d];n[h]=Va(o,l,h,c[h],t,!Fe(c,h))}}return i}function Va(t,e,n,s,o,r){const i=t[n];if(i!=null){const a=Fe(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&Me(l)){const{propsDefaults:c}=o;n in c?s=c[n]:(As(o),s=c[n]=l.call(null,e),Zn())}else s=l}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===ts(n))&&(s=!0))}return s}function Sf(t,e,n=!1){const s=e.propsCache,o=s.get(t);if(o)return o;const r=t.props,i={},a=[];let l=!1;if(!Me(t)){const d=h=>{l=!0;const[f,g]=Sf(h,e,!0);ot(i,f),g&&a.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!r&&!l)return He(t)&&s.set(t,_s),_s;if(Ee(r))for(let d=0;d<r.length;d++){const h=Zt(r[d]);qc(h)&&(i[h]=Ge)}else if(r)for(const d in r){const h=Zt(d);if(qc(h)){const f=r[d],g=i[h]=Ee(f)||Me(f)?{type:f}:Object.assign({},f);if(g){const m=Gc(Boolean,g.type),p=Gc(String,g.type);g[0]=m>-1,g[1]=p<0||m<p,(m>-1||Fe(g,"default"))&&a.push(h)}}}const c=[i,a];return He(t)&&s.set(t,c),c}function qc(t){return t[0]!=="$"}function Hc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Vc(t,e){return Hc(t)===Hc(e)}function Gc(t,e){return Ee(e)?e.findIndex(n=>Vc(n,t)):Me(e)&&Vc(e,t)?0:-1}const Tf=t=>t[0]==="_"||t==="$stable",jl=t=>Ee(t)?t.map($t):[$t(t)],Q_=(t,e,n)=>{if(e._n)return e;const s=We((...o)=>jl(e(...o)),n);return s._c=!1,s},Mf=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Tf(o))continue;const r=t[o];if(Me(r))e[o]=Q_(o,r,s);else if(r!=null){const i=jl(r);e[o]=()=>i}}},Of=(t,e)=>{const n=jl(e);t.slots.default=()=>n},J_=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=$e(e),_r(e,"_",n)):Mf(e,t.slots={})}else t.slots={},e&&Of(t,e);_r(t.slots,Qr,1)},X_=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ge;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(ot(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Mf(e,o)),i=e}else e&&(Of(t,e),i={default:1});if(r)for(const a in o)!Tf(a)&&!(a in i)&&delete o[a]};function Rf(){return{app:null,config:{isNativeTag:Sm,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 e1=0;function t1(t,e){return function(s,o=null){Me(s)||(s=Object.assign({},s)),o!=null&&!He(o)&&(o=null);const r=Rf(),i=new Set;let a=!1;const l=r.app={_uid:e1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:v1,get config(){return r.config},set config(c){},use(c,...d){return i.has(c)||(c&&Me(c.install)?(i.add(c),c.install(l,...d)):Me(c)&&(i.add(c),c(l,...d))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,d){return d?(r.components[c]=d,l):r.components[c]},directive(c,d){return d?(r.directives[c]=d,l):r.directives[c]},mount(c,d,h){if(!a){const f=ve(s,o);return f.appContext=r,d&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,Jr(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,d){return r.provides[c]=d,l}};return l}}function Ga(t,e,n,s,o=!1){if(Ee(t)){t.forEach((f,g)=>Ga(f,e&&(Ee(e)?e[g]:e),n,s,o));return}if(xs(s)&&!o)return;const r=s.shapeFlag&4?Jr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,d=a.refs===Ge?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(Ye(c)?(d[c]=null,Fe(h,c)&&(h[c]=null)):ut(c)&&(c.value=null)),Me(l))Mn(l,a,12,[i,d]);else{const f=Ye(l),g=ut(l);if(f||g){const m=()=>{if(t.f){const p=f?Fe(h,l)?h[l]:d[l]:l.value;o?Ee(p)&&El(p,r):Ee(p)?p.includes(r)||p.push(r):f?(d[l]=[r],Fe(h,l)&&(h[l]=d[l])):(l.value=[r],t.k&&(d[t.k]=l.value))}else f?(d[l]=i,Fe(h,l)&&(h[l]=i)):g&&(l.value=i,t.k&&(d[t.k]=i))};i?(m.id=-1,rt(m,n)):m()}}}const rt=T_;function n1(t){return s1(t)}function s1(t,e){const n=Im();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:f,setScopeId:g=It,insertStaticContent:m}=t,p=(w,E,P,$=null,j=null,ne=null,re=!1,z=null,se=!!E.dynamicChildren)=>{if(w===E)return;w&&!Cn(w,E)&&($=H(w),ee(w,j,ne,!0),w=null),E.patchFlag===-2&&(se=!1,E.dynamicChildren=null);const{type:U,ref:Y,shapeFlag:ie}=E;switch(U){case Yr:b(w,E,P,$);break;case At:_(w,E,P,$);break;case ir:w==null&&y(E,P,$,re);break;case Re:F(w,E,P,$,j,ne,re,z,se);break;default:ie&1?R(w,E,P,$,j,ne,re,z,se):ie&6?Q(w,E,P,$,j,ne,re,z,se):(ie&64||ie&128)&&U.process(w,E,P,$,j,ne,re,z,se,X)}Y!=null&&j&&Ga(Y,w&&w.ref,ne,E||w,!E)},b=(w,E,P,$)=>{if(w==null)s(E.el=a(E.children),P,$);else{const j=E.el=w.el;E.children!==w.children&&c(j,E.children)}},_=(w,E,P,$)=>{w==null?s(E.el=l(E.children||""),P,$):E.el=w.el},y=(w,E,P,$)=>{[w.el,w.anchor]=m(w.children,E,P,$,w.el,w.anchor)},x=({el:w,anchor:E},P,$)=>{let j;for(;w&&w!==E;)j=f(w),s(w,P,$),w=j;s(E,P,$)},A=({el:w,anchor:E})=>{let P;for(;w&&w!==E;)P=f(w),o(w),w=P;o(E)},R=(w,E,P,$,j,ne,re,z,se)=>{re=re||E.type==="svg",w==null?O(E,P,$,j,ne,re,z,se):k(w,E,j,ne,re,z,se)},O=(w,E,P,$,j,ne,re,z)=>{let se,U;const{type:Y,props:ie,shapeFlag:he,transition:de,dirs:ke}=w;if(se=w.el=i(w.type,ne,ie&&ie.is,ie),he&8?d(se,w.children):he&16&&v(w.children,se,null,$,j,ne&&Y!=="foreignObject",re,z),ke&&Ln(w,null,$,"created"),D(se,w,w.scopeId,re,$),ie){for(const oe in ie)oe!=="value"&&!or(oe)&&r(se,oe,null,ie[oe],ne,w.children,$,j,J);"value"in ie&&r(se,"value",null,ie.value),(U=ie.onVnodeBeforeMount)&&wt(U,$,w)}ke&&Ln(w,null,$,"beforeMount");const W=(!j||j&&!j.pendingBranch)&&de&&!de.persisted;W&&de.beforeEnter(se),s(se,E,P),((U=ie&&ie.onVnodeMounted)||W||ke)&&rt(()=>{U&&wt(U,$,w),W&&de.enter(se),ke&&Ln(w,null,$,"mounted")},j)},D=(w,E,P,$,j)=>{if(P&&g(w,P),$)for(let ne=0;ne<$.length;ne++)g(w,$[ne]);if(j){let ne=j.subTree;if(E===ne){const re=j.vnode;D(w,re,re.scopeId,re.slotScopeIds,j.parent)}}},v=(w,E,P,$,j,ne,re,z,se=0)=>{for(let U=se;U<w.length;U++){const Y=w[U]=z?bn(w[U]):$t(w[U]);p(null,Y,E,P,$,j,ne,re,z)}},k=(w,E,P,$,j,ne,re)=>{const z=E.el=w.el;let{patchFlag:se,dynamicChildren:U,dirs:Y}=E;se|=w.patchFlag&16;const ie=w.props||Ge,he=E.props||Ge;let de;P&&In(P,!1),(de=he.onVnodeBeforeUpdate)&&wt(de,P,E,w),Y&&Ln(E,w,P,"beforeUpdate"),P&&In(P,!0);const ke=j&&E.type!=="foreignObject";if(U?M(w.dynamicChildren,U,z,P,$,ke,ne):re||q(w,E,z,null,P,$,ke,ne,!1),se>0){if(se&16)L(z,E,ie,he,P,$,j);else if(se&2&&ie.class!==he.class&&r(z,"class",null,he.class,j),se&4&&r(z,"style",ie.style,he.style,j),se&8){const W=E.dynamicProps;for(let oe=0;oe<W.length;oe++){const pe=W[oe],Ae=ie[pe],Ie=he[pe];(Ie!==Ae||pe==="value")&&r(z,pe,Ae,Ie,j,w.children,P,$,J)}}se&1&&w.children!==E.children&&d(z,E.children)}else!re&&U==null&&L(z,E,ie,he,P,$,j);((de=he.onVnodeUpdated)||Y)&&rt(()=>{de&&wt(de,P,E,w),Y&&Ln(E,w,P,"updated")},$)},M=(w,E,P,$,j,ne,re)=>{for(let z=0;z<E.length;z++){const se=w[z],U=E[z],Y=se.el&&(se.type===Re||!Cn(se,U)||se.shapeFlag&70)?h(se.el):P;p(se,U,Y,null,$,j,ne,re,!0)}},L=(w,E,P,$,j,ne,re)=>{if(P!==$){if(P!==Ge)for(const z in P)!or(z)&&!(z in $)&&r(w,z,P[z],null,re,E.children,j,ne,J);for(const z in $){if(or(z))continue;const se=$[z],U=P[z];se!==U&&z!=="value"&&r(w,z,U,se,re,E.children,j,ne,J)}"value"in $&&r(w,"value",P.value,$.value)}},F=(w,E,P,$,j,ne,re,z,se)=>{const U=E.el=w?w.el:a(""),Y=E.anchor=w?w.anchor:a("");let{patchFlag:ie,dynamicChildren:he,slotScopeIds:de}=E;de&&(z=z?z.concat(de):de),w==null?(s(U,P,$),s(Y,P,$),v(E.children,P,Y,j,ne,re,z,se)):ie>0&&ie&64&&he&&w.dynamicChildren?(M(w.dynamicChildren,he,P,j,ne,re,z),(E.key!=null||j&&E===j.subTree)&&Nf(w,E,!0)):q(w,E,P,Y,j,ne,re,z,se)},Q=(w,E,P,$,j,ne,re,z,se)=>{E.slotScopeIds=z,w==null?E.shapeFlag&512?j.ctx.activate(E,P,$,re,se):I(E,P,$,j,ne,re,se):le(w,E,se)},I=(w,E,P,$,j,ne,re)=>{const z=w.component=h1(w,$,j);if(Kr(w)&&(z.ctx.renderer=X),f1(z),z.asyncDep){if(j&&j.registerDep(z,Z),!w.el){const se=z.subTree=ve(At);_(null,se,E,P)}return}Z(z,w,E,P,j,ne,re)},le=(w,E,P)=>{const $=E.component=w.component;if(A_(w,E,P))if($.asyncDep&&!$.asyncResolved){T($,E,P);return}else $.next=E,v_($.update),$.update();else E.el=w.el,$.vnode=E},Z=(w,E,P,$,j,ne,re)=>{const z=()=>{if(w.isMounted){let{next:Y,bu:ie,u:he,parent:de,vnode:ke}=w,W=Y,oe;In(w,!1),Y?(Y.el=ke.el,T(w,Y,re)):Y=ke,ie&&ys(ie),(oe=Y.props&&Y.props.onVnodeBeforeUpdate)&&wt(oe,de,Y,ke),In(w,!0);const pe=ki(w),Ae=w.subTree;w.subTree=pe,p(Ae,pe,h(Ae.el),H(Ae),w,j,ne),Y.el=pe.el,W===null&&S_(w,pe.el),he&&rt(he,j),(oe=Y.props&&Y.props.onVnodeUpdated)&&rt(()=>wt(oe,de,Y,ke),j)}else{let Y;const{el:ie,props:he}=E,{bm:de,m:ke,parent:W}=w,oe=xs(E);if(In(w,!1),de&&ys(de),!oe&&(Y=he&&he.onVnodeBeforeMount)&&wt(Y,W,E),In(w,!0),ie&&ue){const pe=()=>{w.subTree=ki(w),ue(ie,w.subTree,w,j,null)};oe?E.type.__asyncLoader().then(()=>!w.isUnmounted&&pe()):pe()}else{const pe=w.subTree=ki(w);p(null,pe,P,$,w,j,ne),E.el=pe.el}if(ke&&rt(ke,j),!oe&&(Y=he&&he.onVnodeMounted)){const pe=E;rt(()=>wt(Y,W,pe),j)}(E.shapeFlag&256||W&&xs(W.vnode)&&W.vnode.shapeFlag&256)&&w.a&&rt(w.a,j),w.isMounted=!0,E=P=$=null}},se=w.effect=new Sl(z,()=>Ll(U),w.scope),U=w.update=()=>se.run();U.id=w.uid,In(w,!0),U()},T=(w,E,P)=>{E.component=w;const $=w.vnode.props;w.vnode=E,w.next=null,Y_(w,E.props,$,P),X_(w,E.children,P),$s(),Fc(),js()},q=(w,E,P,$,j,ne,re,z,se=!1)=>{const U=w&&w.children,Y=w?w.shapeFlag:0,ie=E.children,{patchFlag:he,shapeFlag:de}=E;if(he>0){if(he&128){be(U,ie,P,$,j,ne,re,z,se);return}else if(he&256){G(U,ie,P,$,j,ne,re,z,se);return}}de&8?(Y&16&&J(U,j,ne),ie!==U&&d(P,ie)):Y&16?de&16?be(U,ie,P,$,j,ne,re,z,se):J(U,j,ne,!0):(Y&8&&d(P,""),de&16&&v(ie,P,$,j,ne,re,z,se))},G=(w,E,P,$,j,ne,re,z,se)=>{w=w||_s,E=E||_s;const U=w.length,Y=E.length,ie=Math.min(U,Y);let he;for(he=0;he<ie;he++){const de=E[he]=se?bn(E[he]):$t(E[he]);p(w[he],de,P,null,j,ne,re,z,se)}U>Y?J(w,j,ne,!0,!1,ie):v(E,P,$,j,ne,re,z,se,ie)},be=(w,E,P,$,j,ne,re,z,se)=>{let U=0;const Y=E.length;let ie=w.length-1,he=Y-1;for(;U<=ie&&U<=he;){const de=w[U],ke=E[U]=se?bn(E[U]):$t(E[U]);if(Cn(de,ke))p(de,ke,P,null,j,ne,re,z,se);else break;U++}for(;U<=ie&&U<=he;){const de=w[ie],ke=E[he]=se?bn(E[he]):$t(E[he]);if(Cn(de,ke))p(de,ke,P,null,j,ne,re,z,se);else break;ie--,he--}if(U>ie){if(U<=he){const de=he+1,ke=de<Y?E[de].el:$;for(;U<=he;)p(null,E[U]=se?bn(E[U]):$t(E[U]),P,ke,j,ne,re,z,se),U++}}else if(U>he)for(;U<=ie;)ee(w[U],j,ne,!0),U++;else{const de=U,ke=U,W=new Map;for(U=ke;U<=he;U++){const et=E[U]=se?bn(E[U]):$t(E[U]);et.key!=null&&W.set(et.key,U)}let oe,pe=0;const Ae=he-ke+1;let Ie=!1,qe=0;const De=new Array(Ae);for(U=0;U<Ae;U++)De[U]=0;for(U=de;U<=ie;U++){const et=w[U];if(pe>=Ae){ee(et,j,ne,!0);continue}let at;if(et.key!=null)at=W.get(et.key);else for(oe=ke;oe<=he;oe++)if(De[oe-ke]===0&&Cn(et,E[oe])){at=oe;break}at===void 0?ee(et,j,ne,!0):(De[at-ke]=U+1,at>=qe?qe=at:Ie=!0,p(et,E[at],P,null,j,ne,re,z,se),pe++)}const Je=Ie?o1(De):_s;for(oe=Je.length-1,U=Ae-1;U>=0;U--){const et=ke+U,at=E[et],Sc=et+1<Y?E[et+1].el:$;De[U]===0?p(null,at,P,Sc,j,ne,re,z,se):Ie&&(oe<0||U!==Je[oe]?ge(at,P,Sc,2):oe--)}}},ge=(w,E,P,$,j=null)=>{const{el:ne,type:re,transition:z,children:se,shapeFlag:U}=w;if(U&6){ge(w.component.subTree,E,P,$);return}if(U&128){w.suspense.move(E,P,$);return}if(U&64){re.move(w,E,P,X);return}if(re===Re){s(ne,E,P);for(let ie=0;ie<se.length;ie++)ge(se[ie],E,P,$);s(w.anchor,E,P);return}if(re===ir){x(w,E,P);return}if($!==2&&U&1&&z)if($===0)z.beforeEnter(ne),s(ne,E,P),rt(()=>z.enter(ne),j);else{const{leave:ie,delayLeave:he,afterLeave:de}=z,ke=()=>s(ne,E,P),W=()=>{ie(ne,()=>{ke(),de&&de()})};he?he(ne,ke,W):W()}else s(ne,E,P)},ee=(w,E,P,$=!1,j=!1)=>{const{type:ne,props:re,ref:z,children:se,dynamicChildren:U,shapeFlag:Y,patchFlag:ie,dirs:he}=w;if(z!=null&&Ga(z,null,P,w,!0),Y&256){E.ctx.deactivate(w);return}const de=Y&1&&he,ke=!xs(w);let W;if(ke&&(W=re&&re.onVnodeBeforeUnmount)&&wt(W,E,w),Y&6)N(w.component,P,$);else{if(Y&128){w.suspense.unmount(P,$);return}de&&Ln(w,null,E,"beforeUnmount"),Y&64?w.type.remove(w,E,P,j,X,$):U&&(ne!==Re||ie>0&&ie&64)?J(U,E,P,!1,!0):(ne===Re&&ie&384||!j&&Y&16)&&J(se,E,P),$&&we(w)}(ke&&(W=re&&re.onVnodeUnmounted)||de)&&rt(()=>{W&&wt(W,E,w),de&&Ln(w,null,E,"unmounted")},P)},we=w=>{const{type:E,el:P,anchor:$,transition:j}=w;if(E===Re){Ce(P,$);return}if(E===ir){A(w);return}const ne=()=>{o(P),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(w.shapeFlag&1&&j&&!j.persisted){const{leave:re,delayLeave:z}=j,se=()=>re(P,ne);z?z(w.el,ne,se):se()}else ne()},Ce=(w,E)=>{let P;for(;w!==E;)P=f(w),o(w),w=P;o(E)},N=(w,E,P)=>{const{bum:$,scope:j,update:ne,subTree:re,um:z}=w;$&&ys($),j.stop(),ne&&(ne.active=!1,ee(re,w,E,P)),z&&rt(z,E),rt(()=>{w.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},J=(w,E,P,$=!1,j=!1,ne=0)=>{for(let re=ne;re<w.length;re++)ee(w[re],E,P,$,j)},H=w=>w.shapeFlag&6?H(w.component.subTree):w.shapeFlag&128?w.suspense.next():f(w.anchor||w.el),te=(w,E,P)=>{w==null?E._vnode&&ee(E._vnode,null,null,!0):p(E._vnode||null,w,E,null,null,null,P),Fc(),cf(),E._vnode=w},X={p,um:ee,m:ge,r:we,mt:I,mc:v,pc:q,pbc:M,n:H,o:t};let fe,ue;return e&&([fe,ue]=e(X)),{render:te,hydrate:fe,createApp:t1(te,fe)}}function In({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Nf(t,e,n=!1){const s=t.children,o=e.children;if(Ee(s)&&Ee(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=bn(o[r]),a.el=i.el),n||Nf(i,a)),a.type===Yr&&(a.el=i.el)}}function o1(t){const e=t.slice(),n=[0];let s,o,r,i,a;const l=t.length;for(s=0;s<l;s++){const c=t[s];if(c!==0){if(o=n[n.length-1],t[o]<c){e[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,t[n[a]]<c?r=a+1:i=a;c<t[n[r]]&&(r>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 r1=t=>t.__isTeleport,Re=Symbol(void 0),Yr=Symbol(void 0),At=Symbol(void 0),ir=Symbol(void 0),oo=[];let Lt=null;function C(t=!1){oo.push(Lt=t?null:[])}function i1(){oo.pop(),Lt=oo[oo.length-1]||null}let yo=1;function Kc(t){yo+=t}function Df(t){return t.dynamicChildren=yo>0?Lt||_s:null,i1(),yo>0&&Lt&&Lt.push(t),t}function S(t,e,n,s,o,r){return Df(u(t,e,n,s,o,r,!0))}function st(t,e,n,s,o){return Df(ve(t,e,n,s,o,!0))}function vo(t){return t?t.__v_isVNode===!0:!1}function Cn(t,e){return t.type===e.type&&t.key===e.key}const Qr="__vInternal",Lf=({key:t})=>t??null,ar=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ye(t)||ut(t)||Me(t)?{i:it,r:t,k:e,f:!!n}:t:null;function u(t,e=null,n=null,s=0,o=null,r=t===Re?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Lf(e),ref:e&&ar(e),scopeId:Gr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:it};return a?(zl(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ye(n)?8:16),yo>0&&!i&&Lt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Lt.push(l),l}const ve=a1;function a1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===wf)&&(t=At),vo(t)){const a=an(t,e,!0);return n&&zl(a,n),yo>0&&!r&&Lt&&(a.shapeFlag&6?Lt[Lt.indexOf(t)]=a:Lt.push(a)),a.patchFlag|=-2,a}if(_1(t)&&(t=t.__vccOpts),e){e=l1(e);let{class:a,style:l}=e;a&&!Ye(a)&&(e.class=Te(a)),He(l)&&(Xh(l)&&!Ee(l)&&(l=ot({},l)),e.style=zt(l))}const i=Ye(t)?1:hf(t)?128:r1(t)?64:He(t)?4:Me(t)?2:0;return u(t,e,n,s,o,i,r,!0)}function l1(t){return t?Xh(t)||Qr in t?ot({},t):t:null}function an(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?c1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Lf(a),ref:e&&e.ref?n&&o?Ee(o)?o.concat(ar(e)):[o,ar(e)]:ar(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Re?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&an(t.ssContent),ssFallback:t.ssFallback&&an(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xe(t=" ",e=0){return ve(Yr,null,t,e)}function os(t,e){const n=ve(ir,null,t);return n.staticCount=e,n}function B(t="",e=!1){return e?(C(),st(At,null,t)):ve(At,null,t)}function $t(t){return t==null||typeof t=="boolean"?ve(At):Ee(t)?ve(Re,null,t.slice()):typeof t=="object"?bn(t):ve(Yr,null,String(t))}function bn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:an(t)}function zl(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(Ee(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),zl(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Qr in e)?e._ctx=it:o===3&&it&&(it.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Me(e)?(e={default:e,_ctx:it},n=32):(e=String(e),s&64?(n=16,e=[xe(e)]):n=8);t.children=e,t.shapeFlag|=n}function c1(...t){const e={};for(let n=0;n<t.length;n++){const s=t[n];for(const o in s)if(o==="class")e.class!==s.class&&(e.class=Te([e.class,s.class]));else if(o==="style")e.style=zt([e.style,s.style]);else if(jr(o)){const r=e[o],i=s[o];i&&r!==i&&!(Ee(r)&&r.includes(i))&&(e[o]=r?[].concat(r,i):i)}else o!==""&&(e[o]=s[o])}return e}function wt(t,e,n,s=null){Ct(t,e,7,[n,s])}const u1=Rf();let d1=0;function h1(t,e,n){const s=t.type,o=(e?e.appContext:t.appContext)||u1,r={uid:d1++,vnode:t,type:s,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Sf(s,o),emitsOptions:df(s,o),emit:null,emitted:null,propsDefaults:Ge,inheritAttrs:s.inheritAttrs,ctx:Ge,data:Ge,props:Ge,attrs:Ge,slots:Ge,refs:Ge,setupState:Ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=k_.bind(null,r),t.ce&&t.ce(r),r}let Qe=null;const Ul=()=>Qe||it,As=t=>{Qe=t,t.scope.on()},Zn=()=>{Qe&&Qe.scope.off(),Qe=null};function If(t){return t.vnode.shapeFlag&4}let wo=!1;function f1(t,e=!1){wo=e;const{props:n,children:s}=t.vnode,o=If(t);Z_(t,n,o,e),J_(t,s);const r=o?p1(t,e):void 0;return wo=!1,r}function p1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=ef(new Proxy(t.ctx,q_));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?m1(t):null;As(t),$s();const r=Mn(s,t,0,[t.props,o]);if(js(),Zn(),$h(r)){if(r.then(Zn,Zn),e)return r.then(i=>{Wc(t,i,e)}).catch(i=>{Hr(i,t,0)});t.asyncDep=r}else Wc(t,r,e)}else Pf(t,e)}function Wc(t,e,n){Me(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:He(e)&&(t.setupState=of(e)),Pf(t,n)}let Zc;function Pf(t,e,n){const s=t.type;if(!t.render){if(!e&&Zc&&!s.render){const o=s.template||$l(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=ot(ot({isCustomElement:r,delimiters:a},i),l);s.render=Zc(o,c)}}t.render=s.render||It}As(t),$s(),H_(t),js(),Zn()}function g1(t){return new Proxy(t.attrs,{get(e,n){return gt(t,"get","$attrs"),e[n]}})}function m1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=g1(t))},slots:t.slots,emit:t.emit,expose:e}}function Jr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(of(ef(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in so)return so[n](t)},has(e,n){return n in e||n in so}}))}function Ka(t,e=!0){return Me(t)?t.displayName||t.name:t.name||e&&t.__name}function _1(t){return Me(t)&&"__vccOpts"in t}const Et=(t,e)=>__(t,e,wo);function ql(t,e,n){const s=arguments.length;return s===2?He(e)&&!Ee(e)?vo(e)?ve(t,null,[e]):ve(t,e):ve(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vo(n)&&(n=[n]),ve(t,e,n))}const b1=Symbol(""),y1=()=>sn(b1),v1="3.2.47",w1="http://www.w3.org/2000/svg",zn=typeof document<"u"?document:null,Yc=zn&&zn.createElement("template"),x1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?zn.createElementNS(w1,t):zn.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>zn.createTextNode(t),createComment:t=>zn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>zn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Yc.innerHTML=s?`<svg>${t}</svg>`:t;const a=Yc.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 k1(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 E1(t,e,n){const s=t.style,o=Ye(n);if(n&&!o){if(e&&!Ye(e))for(const r in e)n[r]==null&&Wa(s,r,"");for(const r in n)Wa(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 Qc=/\s*!important$/;function Wa(t,e,n){if(Ee(n))n.forEach(s=>Wa(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=C1(t,e);Qc.test(n)?t.setProperty(ts(s),n.replace(Qc,""),"important"):t[s]=n}}const Jc=["Webkit","Moz","ms"],Ti={};function C1(t,e){const n=Ti[e];if(n)return n;let s=Zt(e);if(s!=="filter"&&s in t)return Ti[e]=s;s=Ur(s);for(let o=0;o<Jc.length;o++){const r=Jc[o]+s;if(r in t)return Ti[e]=r}return e}const Xc="http://www.w3.org/1999/xlink";function A1(t,e,n,s,o){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Xc,e.slice(6,e.length)):t.setAttributeNS(Xc,e,n);else{const r=Cm(e);n==null||r&&!Fh(n)?t.removeAttribute(e):t.setAttribute(e,r?"":n)}}function S1(t,e,n,s,o,r,i){if(e==="innerHTML"||e==="textContent"){s&&i(s,o,r),t[e]=n??"";return}if(e==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=n;const l=n??"";(t.value!==l||t.tagName==="OPTION")&&(t.value=l),n==null&&t.removeAttribute(e);return}let a=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=Fh(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(e)}function An(t,e,n,s){t.addEventListener(e,n,s)}function T1(t,e,n,s){t.removeEventListener(e,n,s)}function M1(t,e,n,s,o=null){const r=t._vei||(t._vei={}),i=r[e];if(s&&i)i.value=s;else{const[a,l]=O1(e);if(s){const c=r[e]=D1(s,o);An(t,a,c,l)}else i&&(T1(t,a,i,l),r[e]=void 0)}}const eu=/(?:Once|Passive|Capture)$/;function O1(t){let e;if(eu.test(t)){e={};let s;for(;s=t.match(eu);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ts(t.slice(2)),e]}let Mi=0;const R1=Promise.resolve(),N1=()=>Mi||(R1.then(()=>Mi=0),Mi=Date.now());function D1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ct(L1(s,n.value),e,5,[s])};return n.value=t,n.attached=N1(),n}function L1(t,e){if(Ee(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 tu=/^on[a-z]/,I1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?k1(t,s,o):e==="style"?E1(t,n,s):jr(e)?kl(e)||M1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):P1(t,e,s,o))?S1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),A1(t,e,s,o))};function P1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&tu.test(e)&&Me(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||tu.test(e)&&Ye(n)?!1:e in t}const fn="transition",Ws="animation",xo=(t,{slots:e})=>ql(mf,Bf(t),e);xo.displayName="Transition";const Ff={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},F1=xo.props=ot({},mf.props,Ff),Pn=(t,e=[])=>{Ee(t)?t.forEach(n=>n(...e)):t&&t(...e)},nu=t=>t?Ee(t)?t.some(e=>e.length>1):t.length>1:!1;function Bf(t){const e={};for(const F in t)F in Ff||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,m=B1(o),p=m&&m[0],b=m&&m[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:x,onLeave:A,onLeaveCancelled:R,onBeforeAppear:O=_,onAppear:D=y,onAppearCancelled:v=x}=e,k=(F,Q,I)=>{_n(F,Q?d:a),_n(F,Q?c:i),I&&I()},M=(F,Q)=>{F._isLeaving=!1,_n(F,h),_n(F,g),_n(F,f),Q&&Q()},L=F=>(Q,I)=>{const le=F?D:y,Z=()=>k(Q,F,I);Pn(le,[Q,Z]),su(()=>{_n(Q,F?l:r),tn(Q,F?d:a),nu(le)||ou(Q,s,p,Z)})};return ot(e,{onBeforeEnter(F){Pn(_,[F]),tn(F,r),tn(F,i)},onBeforeAppear(F){Pn(O,[F]),tn(F,l),tn(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Q){F._isLeaving=!0;const I=()=>M(F,Q);tn(F,h),jf(),tn(F,f),su(()=>{F._isLeaving&&(_n(F,h),tn(F,g),nu(A)||ou(F,s,b,I))}),Pn(A,[F,I])},onEnterCancelled(F){k(F,!1),Pn(x,[F])},onAppearCancelled(F){k(F,!0),Pn(v,[F])},onLeaveCancelled(F){M(F),Pn(R,[F])}})}function B1(t){if(t==null)return null;if(He(t))return[Oi(t.enter),Oi(t.leave)];{const e=Oi(t);return[e,e]}}function Oi(t){return Lm(t)}function tn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function _n(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function su(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let $1=0;function ou(t,e,n,s){const o=t._endId=++$1,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=$f(t,e);if(!i)return s();const c=i+"end";let d=0;const h=()=>{t.removeEventListener(c,f),r()},f=g=>{g.target===t&&++d>=l&&h()};setTimeout(()=>{d<l&&h()},a+1),t.addEventListener(c,f)}function $f(t,e){const n=window.getComputedStyle(t),s=m=>(n[m]||"").split(", "),o=s(`${fn}Delay`),r=s(`${fn}Duration`),i=ru(o,r),a=s(`${Ws}Delay`),l=s(`${Ws}Duration`),c=ru(a,l);let d=null,h=0,f=0;e===fn?i>0&&(d=fn,h=i,f=r.length):e===Ws?c>0&&(d=Ws,h=c,f=l.length):(h=Math.max(i,c),d=h>0?i>c?fn:Ws:null,f=d?d===fn?r.length:l.length:0);const g=d===fn&&/\b(transform|all)(,|$)/.test(s(`${fn}Property`).toString());return{type:d,timeout:h,propCount:f,hasTransform:g}}function ru(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>iu(n)+iu(t[s])))}function iu(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function jf(){return document.body.offsetHeight}const zf=new WeakMap,Uf=new WeakMap,qf={name:"TransitionGroup",props:ot({},F1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Ul(),s=gf();let o,r;return Pl(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!H1(o[0].el,n.vnode.el,i))return;o.forEach(z1),o.forEach(U1);const a=o.filter(q1);jf(),a.forEach(l=>{const c=l.el,d=c.style;tn(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const h=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c._moveCb=null,_n(c,i))};c.addEventListener("transitionend",h)})}),()=>{const i=$e(t),a=Bf(i);let l=i.tag||Re;o=r,r=e.default?Il(e.default()):[];for(let c=0;c<r.length;c++){const d=r[c];d.key!=null&&Cs(d,bo(d,a,s,n))}if(o)for(let c=0;c<o.length;c++){const d=o[c];Cs(d,bo(d,a,s,n)),zf.set(d,d.el.getBoundingClientRect())}return ve(l,null,r)}}},j1=t=>delete t.mode;qf.props;const Ut=qf;function z1(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function U1(t){Uf.set(t,t.el.getBoundingClientRect())}function q1(t){const e=zf.get(t),n=Uf.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function H1(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=$f(s);return o.removeChild(s),r}const Ss=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ee(e)?n=>ys(e,n):e};function V1(t){t.target.composing=!0}function au(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Pe={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=Ss(o);const r=s||o.props&&o.props.type==="number";An(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=br(a)),t._assign(a)}),n&&An(t,"change",()=>{t.value=t.value.trim()}),e||(An(t,"compositionstart",V1),An(t,"compositionend",au),An(t,"change",au))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=Ss(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&br(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},xt={deep:!0,created(t,e,n){t._assign=Ss(n),An(t,"change",()=>{const s=t._modelValue,o=ko(t),r=t.checked,i=t._assign;if(Ee(s)){const a=xl(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(Fs(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(Hf(t,r))})},mounted:lu,beforeUpdate(t,e,n){t._assign=Ss(n),lu(t,e,n)}};function lu(t,{value:e,oldValue:n},s){t._modelValue=e,Ee(e)?t.checked=xl(e,s.props.value)>-1:Fs(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=No(e,Hf(t,!0)))}const Za={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Fs(e);An(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?br(ko(i)):ko(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=Ss(s)},mounted(t,{value:e}){cu(t,e)},beforeUpdate(t,e,n){t._assign=Ss(n)},updated(t,{value:e}){cu(t,e)}};function cu(t,e){const n=t.multiple;if(!(n&&!Ee(e)&&!Fs(e))){for(let s=0,o=t.options.length;s<o;s++){const r=t.options[s],i=ko(r);if(n)Ee(e)?r.selected=xl(e,i)>-1:r.selected=e.has(i);else if(No(ko(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function ko(t){return"_value"in t?t._value:t.value}function Hf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const G1=["ctrl","shift","alt","meta"],K1={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)=>G1.some(n=>t[`${n}Key`]&&!e.includes(n))},ae=(t,e)=>(n,...s)=>{for(let o=0;o<e.length;o++){const r=K1[e[o]];if(r&&r(n,e))return}return t(n,...s)},W1={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ya=(t,e)=>n=>{if(!("key"in n))return;const s=ts(n.key);if(e.some(o=>o===s||W1[o]===s))return t(n)},lt={beforeMount(t,{value:e},{transition:n}){t._vod=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Zs(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Zs(t,!0),s.enter(t)):s.leave(t,()=>{Zs(t,!1)}):Zs(t,e))},beforeUnmount(t,{value:e}){Zs(t,e)}};function Zs(t,e){t.style.display=e?t._vod:"none"}const Z1=ot({patchProp:I1},x1);let uu;function Y1(){return uu||(uu=n1(Z1))}const Q1=(...t)=>{const e=Y1().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=J1(s);if(!o)return;const r=e._component;!Me(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 J1(t){return Ye(t)?document.querySelector(t):t}function X1(){return Vf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const e0=typeof Proxy=="function",t0="devtools-plugin:setup",n0="plugin:settings:set";let ls,Qa;function s0(){var t;return ls!==void 0||(typeof window<"u"&&window.performance?(ls=!0,Qa=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(ls=!0,Qa=global.perf_hooks.performance):ls=!1),ls}function o0(){return s0()?Qa.now():Date.now()}class r0{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 o0()}},n&&n.on(n0,(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 i0(t,e){const n=t,s=Vf(),o=X1(),r=e0&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(t0,t,e);else{const i=r?new r0(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*!
* vuex v4.0.2
* (c) 2021 Evan You
* @license MIT
*/var a0="store";function Us(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function Gf(t){return t!==null&&typeof t=="object"}function l0(t){return t&&typeof t.then=="function"}function c0(t,e){return function(){return t(e)}}function Kf(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function Wf(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Xr(t,n,[],t._modules.root,!0),Hl(t,n,e)}function Hl(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Us(o,function(i,a){r[a]=c0(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=zs({data:e}),t.strict&&p0(t),s&&n&&t._withCommit(function(){s.data=null})}function Xr(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Vl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=u0(t,i,n);s.forEachMutation(function(d,h){var f=i+h;d0(t,f,d,c)}),s.forEachAction(function(d,h){var f=d.root?h:i+h,g=d.handler||d;h0(t,f,g,c)}),s.forEachGetter(function(d,h){var f=i+h;f0(t,f,d,c)}),s.forEachChild(function(d,h){Xr(t,e,n.concat(h),d,o)})}function u0(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=xr(r,i,a),c=l.payload,d=l.options,h=l.type;return(!d||!d.root)&&(h=e+h),t.dispatch(h,c)},commit:s?t.commit:function(r,i,a){var l=xr(r,i,a),c=l.payload,d=l.options,h=l.type;(!d||!d.root)&&(h=e+h),t.commit(h,c,d)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return Zf(t,e)}},state:{get:function(){return Vl(t.state,n)}}}),o}function Zf(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function d0(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function h0(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return l0(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function f0(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function p0(t){Wn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Vl(t,e){return e.reduce(function(n,s){return n[s]},t)}function xr(t,e,n){return Gf(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var g0="vuex bindings",du="vuex:mutations",Ri="vuex:actions",cs="vuex",m0=0;function _0(t,e){i0({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[g0]},function(n){n.addTimelineLayer({id:du,label:"Vuex Mutations",color:hu}),n.addTimelineLayer({id:Ri,label:"Vuex Actions",color:hu}),n.addInspector({id:cs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===cs)if(s.filter){var o=[];Xf(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[Jf(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===cs){var o=s.nodeId;Zf(e,o),s.state=v0(x0(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===cs){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(cs),n.sendInspectorState(cs),n.addTimelineEvent({layerId:du,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=m0++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ri,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:Ri,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var hu=8702998,b0=6710886,y0=16777215,Yf={label:"namespaced",textColor:y0,backgroundColor:b0};function Qf(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Jf(t,e){return{id:e||"root",label:Qf(e),tags:t.namespaced?[Yf]:[],children:Object.keys(t._children).map(function(n){return Jf(t._children[n],e+n+"/")})}}function Xf(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[Yf]:[]}),Object.keys(e._children).forEach(function(o){Xf(t,e._children[o],n,s+o+"/")})}function v0(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=w0(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?Qf(i):i,editable:!1,value:Ja(function(){return r[i]})}})}return o}function w0(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=Ja(function(){return t[n]})}else e[n]=Ja(function(){return t[n]})}),e}function x0(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function Ja(t){try{return t()}catch(e){return e}}var Ft=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},ep={namespaced:{configurable:!0}};ep.namespaced.get=function(){return!!this._rawModule.namespaced};Ft.prototype.addChild=function(e,n){this._children[e]=n};Ft.prototype.removeChild=function(e){delete this._children[e]};Ft.prototype.getChild=function(e){return this._children[e]};Ft.prototype.hasChild=function(e){return e in this._children};Ft.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Ft.prototype.forEachChild=function(e){Us(this._children,e)};Ft.prototype.forEachGetter=function(e){this._rawModule.getters&&Us(this._rawModule.getters,e)};Ft.prototype.forEachAction=function(e){this._rawModule.actions&&Us(this._rawModule.actions,e)};Ft.prototype.forEachMutation=function(e){this._rawModule.mutations&&Us(this._rawModule.mutations,e)};Object.defineProperties(Ft.prototype,ep);var rs=function(e){this.register([],e,!1)};rs.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};rs.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};rs.prototype.update=function(e){tp([],this.root,e)};rs.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Ft(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&Us(n.modules,function(a,l){o.register(e.concat(l),a,s)})};rs.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};rs.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function tp(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;tp(t.concat(s),e.getChild(s),n.modules[s])}}function k0(t){return new mt(t)}var mt=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new rs(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(f,g){return l.call(i,f,g)},this.commit=function(f,g,m){return c.call(i,f,g,m)},this.strict=o;var d=this._modules.root.state;Xr(this,d,[],this._modules.root),Hl(this,d),s.forEach(function(h){return h(n)})},Gl={state:{configurable:!0}};mt.prototype.install=function(e,n){e.provide(n||a0,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&_0(e,this)};Gl.state.get=function(){return this._state.data};Gl.state.set=function(t){};mt.prototype.commit=function(e,n,s){var o=this,r=xr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(d){return d(l,o.state)}))};mt.prototype.dispatch=function(e,n){var s=this,o=xr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,h){c.then(function(f){try{s._actionSubscribers.filter(function(g){return g.after}).forEach(function(g){return g.after(a,s.state)})}catch{}d(f)},function(f){try{s._actionSubscribers.filter(function(g){return g.error}).forEach(function(g){return g.error(a,s.state,f)})}catch{}h(f)})})}};mt.prototype.subscribe=function(e,n){return Kf(e,this._subscribers,n)};mt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Kf(s,this._actionSubscribers,n)};mt.prototype.watch=function(e,n,s){var o=this;return Wn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};mt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};mt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Xr(this,this.state,e,this._modules.get(e),s.preserveState),Hl(this,this.state)};mt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Vl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Wf(this)};mt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};mt.prototype.hotUpdate=function(e){this._modules.update(e),Wf(this,!0)};mt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(mt.prototype,Gl);var E0=S0(function(t,e){var n={};return C0(e).forEach(function(s){var o=s.key,r=s.val;n[o]=function(){var a=this.$store.state,l=this.$store.getters;if(t){var c=T0(this.$store,"mapState",t);if(!c)return;a=c.context.state,l=c.context.getters}return typeof r=="function"?r.call(this,a,l):a[r]},n[o].vuex=!0}),n});function C0(t){return A0(t)?Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function A0(t){return Array.isArray(t)||Gf(t)}function S0(t){return function(e,n){return typeof e!="string"?(n=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),t(e,n)}}function T0(t,e,n){var s=t._modulesNamespaceMap[n];return s}function np(t,e){return function(){return t.apply(e,arguments)}}const{toString:M0}=Object.prototype,{getPrototypeOf:Kl}=Object,ei=(t=>e=>{const n=M0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),dn=t=>(t=t.toLowerCase(),e=>ei(e)===t),ti=t=>e=>typeof e===t,{isArray:qs}=Array,Eo=ti("undefined");function O0(t){return t!==null&&!Eo(t)&&t.constructor!==null&&!Eo(t.constructor)&&ln(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const sp=dn("ArrayBuffer");function R0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&sp(t.buffer),e}const N0=ti("string"),ln=ti("function"),op=ti("number"),Wl=t=>t!==null&&typeof t=="object",D0=t=>t===!0||t===!1,lr=t=>{if(ei(t)!=="object")return!1;const e=Kl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},L0=dn("Date"),I0=dn("File"),P0=dn("Blob"),F0=dn("FileList"),B0=t=>Wl(t)&&ln(t.pipe),$0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ln(t.append)&&((e=ei(t))==="formdata"||e==="object"&&ln(t.toString)&&t.toString()==="[object FormData]"))},j0=dn("URLSearchParams"),z0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Do(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),qs(t))for(s=0,o=t.length;s<o;s++)e.call(null,t[s],s,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),i=r.length;let a;for(s=0;s<i;s++)a=r[s],e.call(null,t[a],a,t)}}function rp(t,e){e=e.toLowerCase();const n=Object.keys(t);let s=n.length,o;for(;s-- >0;)if(o=n[s],e===o.toLowerCase())return o;return null}const ip=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ap=t=>!Eo(t)&&t!==ip;function Xa(){const{caseless:t}=ap(this)&&this||{},e={},n=(s,o)=>{const r=t&&rp(e,o)||o;lr(e[r])&&lr(s)?e[r]=Xa(e[r],s):lr(s)?e[r]=Xa({},s):qs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&Do(arguments[s],n);return e}const U0=(t,e,n,{allOwnKeys:s}={})=>(Do(e,(o,r)=>{n&&ln(o)?t[r]=np(o,n):t[r]=o},{allOwnKeys:s}),t),q0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),H0=(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)},V0=(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&&Kl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},G0=(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},K0=t=>{if(!t)return null;if(qs(t))return t;let e=t.length;if(!op(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},W0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Kl(Uint8Array)),Z0=(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])}},Y0=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Q0=dn("HTMLFormElement"),J0=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),fu=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),X0=dn("RegExp"),lp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Do(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},eb=t=>{lp(t,(e,n)=>{if(ln(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(ln(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},tb=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return qs(t)?s(t):s(String(t).split(e)),n},nb=()=>{},sb=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ni="abcdefghijklmnopqrstuvwxyz",pu="0123456789",cp={DIGIT:pu,ALPHA:Ni,ALPHA_DIGIT:Ni+Ni.toUpperCase()+pu},ob=(t=16,e=cp.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function rb(t){return!!(t&&ln(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ib=t=>{const e=new Array(10),n=(s,o)=>{if(Wl(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=qs(s)?[]:{};return Do(s,(i,a)=>{const l=n(i,o+1);!Eo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},K={isArray:qs,isArrayBuffer:sp,isBuffer:O0,isFormData:$0,isArrayBufferView:R0,isString:N0,isNumber:op,isBoolean:D0,isObject:Wl,isPlainObject:lr,isUndefined:Eo,isDate:L0,isFile:I0,isBlob:P0,isRegExp:X0,isFunction:ln,isStream:B0,isURLSearchParams:j0,isTypedArray:W0,isFileList:F0,forEach:Do,merge:Xa,extend:U0,trim:z0,stripBOM:q0,inherits:H0,toFlatObject:V0,kindOf:ei,kindOfTest:dn,endsWith:G0,toArray:K0,forEachEntry:Z0,matchAll:Y0,isHTMLForm:Q0,hasOwnProperty:fu,hasOwnProp:fu,reduceDescriptors:lp,freezeMethods:eb,toObjectSet:tb,toCamelCase:J0,noop:nb,toFiniteNumber:sb,findKey:rp,global:ip,isContextDefined:ap,ALPHABET:cp,generateString:ob,isSpecCompliantForm:rb,toJSONObject:ib};function Be(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}K.inherits(Be,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const up=Be.prototype,dp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{dp[t]={value:t}});Object.defineProperties(Be,dp);Object.defineProperty(up,"isAxiosError",{value:!0});Be.from=(t,e,n,s,o,r)=>{const i=Object.create(up);return K.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Be.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const ab=null;function el(t){return K.isPlainObject(t)||K.isArray(t)}function hp(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function gu(t,e,n){return t?t.concat(e).map(function(o,r){return o=hp(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function lb(t){return K.isArray(t)&&!t.some(el)}const cb=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function ni(t,e,n){if(!K.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,b){return!K.isUndefined(b[p])});const s=n.metaTokens,o=n.visitor||d,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(e);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!l&&K.isBlob(m))throw new Be("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,p,b){let _=m;if(m&&!b&&typeof m=="object"){if(K.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&lb(m)||(K.isFileList(m)||K.endsWith(p,"[]"))&&(_=K.toArray(m)))return p=hp(p),_.forEach(function(x,A){!(K.isUndefined(x)||x===null)&&e.append(i===!0?gu([p],A,r):i===null?p:p+"[]",c(x))}),!1}return el(m)?!0:(e.append(gu(b,p,r),c(m)),!1)}const h=[],f=Object.assign(cb,{defaultVisitor:d,convertValue:c,isVisitable:el});function g(m,p){if(!K.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(m),K.forEach(m,function(_,y){(!(K.isUndefined(_)||_===null)&&o.call(e,_,K.isString(y)?y.trim():y,p,f))===!0&&g(_,p?p.concat(y):[y])}),h.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return g(t),e}function mu(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Zl(t,e){this._pairs=[],t&&ni(t,this,e)}const fp=Zl.prototype;fp.append=function(e,n){this._pairs.push([e,n])};fp.toString=function(e){const n=e?function(s){return e.call(this,s,mu)}:mu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ub(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pp(t,e,n){if(!e)return t;const s=n&&n.encode||ub,o=n&&n.serialize;let r;if(o?r=o(e,n):r=K.isURLSearchParams(e)?e.toString():new Zl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class db{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(s){s!==null&&e(s)})}}const _u=db,gp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hb=typeof URLSearchParams<"u"?URLSearchParams:Zl,fb=typeof FormData<"u"?FormData:null,pb=typeof Blob<"u"?Blob:null,gb=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),mb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:hb,FormData:fb,Blob:pb},isStandardBrowserEnv:gb,isStandardBrowserWebWorkerEnv:mb,protocols:["http","https","file","blob","url","data"]};function _b(t,e){return ni(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&K.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function bb(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function yb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s<o;s++)r=n[s],e[r]=t[r];return e}function mp(t){function e(n,s,o,r){let i=n[r++];const a=Number.isFinite(+i),l=r>=n.length;return i=!i&&K.isArray(o)?o.length:i,l?(K.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!K.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&K.isArray(o[i])&&(o[i]=yb(o[i])),!a)}if(K.isFormData(t)&&K.isFunction(t.entries)){const n={};return K.forEachEntry(t,(s,o)=>{e(bb(s),o,n,0)}),n}return null}const vb={"Content-Type":void 0};function wb(t,e,n){if(K.isString(t))try{return(e||JSON.parse)(t),K.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const si={transitional:gp,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=K.isObject(e);if(r&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return o&&o?JSON.stringify(mp(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return _b(e,this.formSerializer).toString();if((a=K.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ni(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),wb(e)):e}],transformResponse:[function(e){const n=this.transitional||si.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&K.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?Be.from(a,Be.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qt.classes.FormData,Blob:qt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};K.forEach(["delete","get","head"],function(e){si.headers[e]={}});K.forEach(["post","put","patch"],function(e){si.headers[e]=K.merge(vb)});const Yl=si,xb=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),kb=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]&&xb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},bu=Symbol("internals");function Ys(t){return t&&String(t).trim().toLowerCase()}function cr(t){return t===!1||t==null?t:K.isArray(t)?t.map(cr):String(t)}function Eb(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 Cb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Di(t,e,n,s,o){if(K.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!K.isString(e)){if(K.isString(s))return e.indexOf(s)!==-1;if(K.isRegExp(s))return s.test(e)}}function Ab(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Sb(t,e){const n=K.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class oi{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const d=Ys(l);if(!d)throw new Error("header name must be a non-empty string");const h=K.findKey(o,d);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=cr(a))}const i=(a,l)=>K.forEach(a,(c,d)=>r(c,d,l));return K.isPlainObject(e)||e instanceof this.constructor?i(e,n):K.isString(e)&&(e=e.trim())&&!Cb(e)?i(kb(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Ys(e),e){const s=K.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Eb(o);if(K.isFunction(n))return n.call(this,o,s);if(K.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Ys(e),e){const s=K.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Di(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Ys(i),i){const a=K.findKey(s,i);a&&(!n||Di(s,s[a],a,n))&&(delete s[a],o=!0)}}return K.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Di(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return K.forEach(this,(o,r)=>{const i=K.findKey(s,r);if(i){n[i]=cr(o),delete n[r];return}const a=e?Ab(r):String(r).trim();a!==r&&delete n[r],n[a]=cr(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return K.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&K.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[bu]=this[bu]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Ys(i);s[a]||(Sb(o,i),s[a]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}oi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.freezeMethods(oi.prototype);K.freezeMethods(oi);const on=oi;function Li(t,e){const n=this||Yl,s=e||n,o=on.from(s.headers);let r=s.data;return K.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function _p(t){return!!(t&&t.__CANCEL__)}function Lo(t,e,n){Be.call(this,t??"canceled",Be.ERR_CANCELED,e,n),this.name="CanceledError"}K.inherits(Lo,Be,{__CANCEL__:!0});function Tb(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Be("Request failed with status code "+n.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Mb=qt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),K.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),K.isString(r)&&l.push("path="+r),K.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ob(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Rb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function bp(t,e){return t&&!Ob(e)?Rb(t,e):e}const Nb=qt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=o(window.location.href),function(i){const a=K.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Db(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Lb(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),d=s[r];i||(i=c),n[o]=l,s[o]=c;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i<e)return;const g=d&&c-d;return g?Math.round(f*1e3/g):void 0}}function yu(t,e){let n=0;const s=Lb(50,250);return o=>{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const d={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};d[e?"download":"upload"]=!0,t(d)}}const Ib=typeof XMLHttpRequest<"u",Pb=Ib&&function(t){return new Promise(function(n,s){let o=t.data;const r=on.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}K.isFormData(o)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const g=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(g+":"+m))}const d=bp(t.baseURL,t.url);c.open(t.method.toUpperCase(),pp(d,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function h(){if(!c)return;const g=on.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),p={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:t,request:c};Tb(function(_){n(_),l()},function(_){s(_),l()},p),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){c&&(s(new Be("Request aborted",Be.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new Be("Network Error",Be.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let m=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const p=t.transitional||gp;t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),s(new Be(m,p.clarifyTimeoutError?Be.ETIMEDOUT:Be.ECONNABORTED,t,c)),c=null},qt.isStandardBrowserEnv){const g=(t.withCredentials||Nb(d))&&t.xsrfCookieName&&Mb.read(t.xsrfCookieName);g&&r.set(t.xsrfHeaderName,g)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&K.forEach(r.toJSON(),function(m,p){c.setRequestHeader(p,m)}),K.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",yu(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",yu(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=g=>{c&&(s(!g||g.type?new Lo(null,t,c):g),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Db(d);if(f&&qt.protocols.indexOf(f)===-1){s(new Be("Unsupported protocol "+f+":",Be.ERR_BAD_REQUEST,t));return}c.send(o||null)})},ur={http:ab,xhr:Pb};K.forEach(ur,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Fb={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;o<e&&(n=t[o],!(s=K.isString(n)?ur[n.toLowerCase()]:n));o++);if(!s)throw s===!1?new Be(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(K.hasOwnProp(ur,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!K.isFunction(s))throw new TypeError("adapter is not a function");return s},adapters:ur};function Ii(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Lo(null,t)}function vu(t){return Ii(t),t.headers=on.from(t.headers),t.data=Li.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Fb.getAdapter(t.adapter||Yl.adapter)(t).then(function(s){return Ii(t),s.data=Li.call(t,t.transformResponse,s),s.headers=on.from(s.headers),s},function(s){return _p(s)||(Ii(t),s&&s.response&&(s.response.data=Li.call(t,t.transformResponse,s.response),s.response.headers=on.from(s.response.headers))),Promise.reject(s)})}const wu=t=>t instanceof on?t.toJSON():t;function Ts(t,e){e=e||{};const n={};function s(c,d,h){return K.isPlainObject(c)&&K.isPlainObject(d)?K.merge.call({caseless:h},c,d):K.isPlainObject(d)?K.merge({},d):K.isArray(d)?d.slice():d}function o(c,d,h){if(K.isUndefined(d)){if(!K.isUndefined(c))return s(void 0,c,h)}else return s(c,d,h)}function r(c,d){if(!K.isUndefined(d))return s(void 0,d)}function i(c,d){if(K.isUndefined(d)){if(!K.isUndefined(c))return s(void 0,c)}else return s(void 0,d)}function a(c,d,h){if(h in e)return s(c,d);if(h in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,d)=>o(wu(c),wu(d),!0)};return K.forEach(Object.keys(t).concat(Object.keys(e)),function(d){const h=l[d]||o,f=h(t[d],e[d],d);K.isUndefined(f)&&h!==a||(n[d]=f)}),n}const yp="1.3.6",Ql={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ql[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const xu={};Ql.transitional=function(e,n,s){function o(r,i){return"[Axios v"+yp+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Be(o(i," has been removed"+(n?" in "+n:"")),Be.ERR_DEPRECATED);return n&&!xu[i]&&(xu[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 Bb(t,e,n){if(typeof t!="object")throw new Be("options must be an object",Be.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 Be("option "+r+" must be "+l,Be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Be("Unknown option "+r,Be.ERR_BAD_OPTION)}}const tl={assertOptions:Bb,validators:Ql},pn=tl.validators;class kr{constructor(e){this.defaults=e,this.interceptors={request:new _u,response:new _u}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Ts(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&tl.assertOptions(s,{silentJSONParsing:pn.transitional(pn.boolean),forcedJSONParsing:pn.transitional(pn.boolean),clarifyTimeoutError:pn.transitional(pn.boolean)},!1),o!=null&&(K.isFunction(o)?n.paramsSerializer={serialize:o}:tl.assertOptions(o,{encode:pn.function,serialize:pn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&K.merge(r.common,r[n.method]),i&&K.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=on.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let d,h=0,f;if(!l){const m=[vu.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,c),f=m.length,d=Promise.resolve(n);h<f;)d=d.then(m[h++],m[h++]);return d}f=a.length;let g=n;for(h=0;h<f;){const m=a[h++],p=a[h++];try{g=m(g)}catch(b){p.call(this,b);break}}try{d=vu.call(this,g)}catch(m){return Promise.reject(m)}for(h=0,f=c.length;h<f;)d=d.then(c[h++],c[h++]);return d}getUri(e){e=Ts(this.defaults,e);const n=bp(e.baseURL,e.url);return pp(n,e.params,e.paramsSerializer)}}K.forEach(["delete","get","head","options"],function(e){kr.prototype[e]=function(n,s){return this.request(Ts(s||{},{method:e,url:n,data:(s||{}).data}))}});K.forEach(["post","put","patch"],function(e){function n(s){return function(r,i,a){return this.request(Ts(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}kr.prototype[e]=n(),kr.prototype[e+"Form"]=n(!0)});const dr=kr;class Jl{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const s=this;this.promise.then(o=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Lo(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Jl(function(o){e=o}),cancel:e}}}const $b=Jl;function jb(t){return function(n){return t.apply(null,n)}}function zb(t){return K.isObject(t)&&t.isAxiosError===!0}const nl={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(nl).forEach(([t,e])=>{nl[e]=t});const Ub=nl;function vp(t){const e=new dr(t),n=np(dr.prototype.request,e);return K.extend(n,dr.prototype,e,{allOwnKeys:!0}),K.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return vp(Ts(t,o))},n}const tt=vp(Yl);tt.Axios=dr;tt.CanceledError=Lo;tt.CancelToken=$b;tt.isCancel=_p;tt.VERSION=yp;tt.toFormData=ni;tt.AxiosError=Be;tt.Cancel=tt.CanceledError;tt.all=function(e){return Promise.all(e)};tt.spread=jb;tt.isAxiosError=zb;tt.mergeConfig=Ts;tt.AxiosHeaders=on;tt.formToJSON=t=>mp(K.isHTMLForm(t)?new FormData(t):t);tt.HttpStatusCode=Ub;tt.default=tt;const Se=tt;/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const fs=typeof window<"u";function qb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ue=Object.assign;function Pi(t,e){const n={};for(const s in e){const o=e[s];n[s]=Pt(o)?o.map(t):t(o)}return n}const ro=()=>{},Pt=Array.isArray,Hb=/\/$/,Vb=t=>t.replace(Hb,"");function Fi(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=Zb(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Gb(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function ku(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Kb(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Ms(e.matched[s],n.matched[o])&&wp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ms(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function wp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Wb(t[n],e[n]))return!1;return!0}function Wb(t,e){return Pt(t)?Eu(t,e):Pt(e)?Eu(e,t):t===e}function Eu(t,e){return Pt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Zb(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r<s.length;r++)if(i=s[r],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var Co;(function(t){t.pop="pop",t.push="push"})(Co||(Co={}));var io;(function(t){t.back="back",t.forward="forward",t.unknown=""})(io||(io={}));function Yb(t){if(!t)if(fs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Vb(t)}const Qb=/^[^#]+#/;function Jb(t,e){return t.replace(Qb,"#")+e}function Xb(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const ri=()=>({left:window.pageXOffset,top:window.pageYOffset});function ey(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=Xb(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Cu(t,e){return(history.state?history.state.position-e:-1)+t}const sl=new Map;function ty(t,e){sl.set(t,e)}function ny(t){const e=sl.get(t);return sl.delete(t),e}let sy=()=>location.protocol+"//"+location.host;function xp(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),ku(l,"")}return ku(n,t)+s+o}function oy(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const g=xp(t,location),m=n.value,p=e.value;let b=0;if(f){if(n.value=g,e.value=f,i&&i===m){i=null;return}b=p?f.position-p.position:0}else s(g);o.forEach(_=>{_(n.value,m,{delta:b,type:Co.pop,direction:b?b>0?io.forward:io.back:io.unknown})})};function l(){i=n.value}function c(f){o.push(f);const g=()=>{const m=o.indexOf(f);m>-1&&o.splice(m,1)};return r.push(g),g}function d(){const{history:f}=window;f.state&&f.replaceState(Ue({},f.state,{scroll:ri()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:c,destroy:h}}function Au(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?ri():null}}function ry(t){const{history:e,location:n}=window,s={value:xp(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,d){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:sy()+t+l;try{e[d?"replaceState":"pushState"](c,"",f),o.value=c}catch(g){console.error(g),n[d?"replace":"assign"](f)}}function i(l,c){const d=Ue({},e.state,Au(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,d,!0),s.value=l}function a(l,c){const d=Ue({},o.value,e.state,{forward:l,scroll:ri()});r(d.current,d,!0);const h=Ue({},Au(s.value,l,null),{position:d.position+1},c);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function iy(t){t=Yb(t);const e=ry(t),n=oy(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ue({location:"",base:t,go:s,createHref:Jb.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function ay(t){return typeof t=="string"||t&&typeof t=="object"}function kp(t){return typeof t=="string"||typeof t=="symbol"}const gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ep=Symbol("");var Su;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Su||(Su={}));function Os(t,e){return Ue(new Error,{type:t,[Ep]:!0},e)}function en(t,e){return t instanceof Error&&Ep in t&&(e==null||!!(t.type&e))}const Tu="[^/]+?",ly={sensitive:!1,strict:!1,start:!0,end:!0},cy=/[.+*?^${}()[\]/\\]/g;function uy(t,e){const n=Ue({},ly,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let h=0;h<c.length;h++){const f=c[h];let g=40+(n.sensitive?.25:0);if(f.type===0)h||(o+="/"),o+=f.value.replace(cy,"\\$&"),g+=40;else if(f.type===1){const{value:m,repeatable:p,optional:b,regexp:_}=f;r.push({name:m,repeatable:p,optional:b});const y=_||Tu;if(y!==Tu){g+=10;try{new RegExp(`(${y})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${m}" (${y}): `+A.message)}}let x=p?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;h||(x=b&&c.length<2?`(?:/${x})`:"/"+x),b&&(x+="?"),o+=x,g+=20,b&&(g+=-8),p&&(g+=-20),y===".*"&&(g+=-50)}d.push(g)}s.push(d)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const d=c.match(i),h={};if(!d)return null;for(let f=1;f<d.length;f++){const g=d[f]||"",m=r[f-1];h[m.name]=g&&m.repeatable?g.split("/"):g}return h}function l(c){let d="",h=!1;for(const f of t){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const g of f)if(g.type===0)d+=g.value;else if(g.type===1){const{value:m,repeatable:p,optional:b}=g,_=m in c?c[m]:"";if(Pt(_)&&!p)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const y=Pt(_)?_.join("/"):_;if(!y)if(b)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${m}"`);d+=y}}return d||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function dy(t,e){let n=0;for(;n<t.length&&n<e.length;){const s=e[n]-t[n];if(s)return s;n++}return t.length<e.length?t.length===1&&t[0]===40+40?-1:1:t.length>e.length?e.length===1&&e[0]===40+40?1:-1:0}function hy(t,e){let n=0;const s=t.score,o=e.score;for(;n<s.length&&n<o.length;){const r=dy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Mu(s))return 1;if(Mu(o))return-1}return o.length-s.length}function Mu(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const fy={type:0,value:""},py=/[a-zA-Z0-9_]/;function gy(t){if(!t)return[[]];if(t==="/")return[[fy]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",d="";function h(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<t.length;){if(l=t[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(c&&h(),i()):l===":"?(h(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:py.test(l)?f():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${c}"`),h(),i(),o}function my(t,e,n){const s=uy(gy(t.path),n),o=Ue(s,{record:t,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function _y(t,e){const n=[],s=new Map;e=Nu({strict:!1,end:!0,sensitive:!1},e);function o(d){return s.get(d)}function r(d,h,f){const g=!f,m=by(d);m.aliasOf=f&&f.record;const p=Nu(e,d),b=[m];if("alias"in d){const x=typeof d.alias=="string"?[d.alias]:d.alias;for(const A of x)b.push(Ue({},m,{components:f?f.record.components:m.components,path:A,aliasOf:f?f.record:m}))}let _,y;for(const x of b){const{path:A}=x;if(h&&A[0]!=="/"){const R=h.record.path,O=R[R.length-1]==="/"?"":"/";x.path=h.record.path+(A&&O+A)}if(_=my(x,h,p),f?f.alias.push(_):(y=y||_,y!==_&&y.alias.push(_),g&&d.name&&!Ru(_)&&i(d.name)),m.children){const R=m.children;for(let O=0;O<R.length;O++)r(R[O],_,f&&f.children[O])}f=f||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&l(_)}return y?()=>{i(y)}:ro}function i(d){if(kp(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let h=0;for(;h<n.length&&hy(d,n[h])>=0&&(d.record.path!==n[h].record.path||!Cp(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!Ru(d)&&s.set(d.record.name,d)}function c(d,h){let f,g={},m,p;if("name"in d&&d.name){if(f=s.get(d.name),!f)throw Os(1,{location:d});p=f.record.name,g=Ue(Ou(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),d.params&&Ou(d.params,f.keys.map(y=>y.name))),m=f.stringify(g)}else if("path"in d)m=d.path,f=n.find(y=>y.re.test(m)),f&&(g=f.parse(m),p=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw Os(1,{location:d,currentLocation:h});p=f.record.name,g=Ue({},h.params,d.params),m=f.stringify(g)}const b=[];let _=f;for(;_;)b.unshift(_.record),_=_.parent;return{name:p,path:m,params:g,matched:b,meta:vy(b)}}return t.forEach(d=>r(d)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Ou(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function by(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:yy(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function yy(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function Ru(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function vy(t){return t.reduce((e,n)=>Ue(e,n.meta),{})}function Nu(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Cp(t,e){return e.children.some(n=>n===t||Cp(t,n))}const Ap=/#/g,wy=/&/g,xy=/\//g,ky=/=/g,Ey=/\?/g,Sp=/\+/g,Cy=/%5B/g,Ay=/%5D/g,Tp=/%5E/g,Sy=/%60/g,Mp=/%7B/g,Ty=/%7C/g,Op=/%7D/g,My=/%20/g;function Xl(t){return encodeURI(""+t).replace(Ty,"|").replace(Cy,"[").replace(Ay,"]")}function Oy(t){return Xl(t).replace(Mp,"{").replace(Op,"}").replace(Tp,"^")}function ol(t){return Xl(t).replace(Sp,"%2B").replace(My,"+").replace(Ap,"%23").replace(wy,"%26").replace(Sy,"`").replace(Mp,"{").replace(Op,"}").replace(Tp,"^")}function Ry(t){return ol(t).replace(ky,"%3D")}function Ny(t){return Xl(t).replace(Ap,"%23").replace(Ey,"%3F")}function Dy(t){return t==null?"":Ny(t).replace(xy,"%2F")}function Er(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function Ly(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(Sp," "),i=r.indexOf("="),a=Er(i<0?r:r.slice(0,i)),l=i<0?null:Er(r.slice(i+1));if(a in e){let c=e[a];Pt(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function Du(t){let e="";for(let n in t){const s=t[n];if(n=Ry(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(Pt(s)?s.map(r=>r&&ol(r)):[s&&ol(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function Iy(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Pt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const Py=Symbol(""),Lu=Symbol(""),ec=Symbol(""),Rp=Symbol(""),rl=Symbol("");function Qs(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function yn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(Os(4,{from:n,to:e})):h instanceof Error?a(h):ay(h)?a(Os(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},c=t.call(s&&s.instances[o],e,n,l);let d=Promise.resolve(c);t.length<3&&(d=d.then(l)),d.catch(h=>a(h))})}function Bi(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(Fy(a)){const c=(a.__vccOpts||a)[e];c&&o.push(yn(c,n,s,r,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const d=qb(c)?c.default:c;r.components[i]=d;const f=(d.__vccOpts||d)[e];return f&&yn(f,n,s,r,i)()}))}}return o}function Fy(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Iu(t){const e=sn(ec),n=sn(Rp),s=Et(()=>e.resolve(ht(t.to))),o=Et(()=>{const{matched:l}=s.value,{length:c}=l,d=l[c-1],h=n.matched;if(!d||!h.length)return-1;const f=h.findIndex(Ms.bind(null,d));if(f>-1)return f;const g=Pu(l[c-2]);return c>1&&Pu(d)===g&&h[h.length-1].path!==g?h.findIndex(Ms.bind(null,l[c-2])):f}),r=Et(()=>o.value>-1&&jy(n.params,s.value.params)),i=Et(()=>o.value>-1&&o.value===n.matched.length-1&&wp(n.params,s.value.params));function a(l={}){return $y(l)?e[ht(t.replace)?"replace":"push"](ht(t.to)).catch(ro):Promise.resolve()}return{route:s,href:Et(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const By=bf({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Iu,setup(t,{slots:e}){const n=zs(Iu(t)),{options:s}=sn(ec),o=Et(()=>({[Fu(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Fu(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:ql("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),vn=By;function $y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function jy(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Pt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Pu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Fu=(t,e,n)=>t??e??n,zy=bf({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=sn(rl),o=Et(()=>t.route||s.value),r=sn(Lu,0),i=Et(()=>{let c=ht(r);const{matched:d}=o.value;let h;for(;(h=d[c])&&!h.components;)c++;return c}),a=Et(()=>o.value.matched[i.value]);rr(Lu,Et(()=>i.value+1)),rr(Py,a),rr(rl,o);const l=h_();return Wn(()=>[l.value,a.value,t.name],([c,d,h],[f,g,m])=>{d&&(d.instances[h]=c,g&&g!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),c&&d&&(!g||!Ms(d,g)||!f)&&(d.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,d=t.name,h=a.value,f=h&&h.components[d];if(!f)return Bu(n.default,{Component:f,route:c});const g=h.props[d],m=g?g===!0?c.params:typeof g=="function"?g(c):g:null,b=ql(f,Ue({},m,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Bu(n.default,{Component:b,route:c})||b}}});function Bu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Np=zy;function Uy(t){const e=_y(t.routes,t),n=t.parseQuery||Ly,s=t.stringifyQuery||Du,o=t.history,r=Qs(),i=Qs(),a=Qs(),l=f_(gn);let c=gn;fs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Pi.bind(null,N=>""+N),h=Pi.bind(null,Dy),f=Pi.bind(null,Er);function g(N,J){let H,te;return kp(N)?(H=e.getRecordMatcher(N),te=J):te=N,e.addRoute(te,H)}function m(N){const J=e.getRecordMatcher(N);J&&e.removeRoute(J)}function p(){return e.getRoutes().map(N=>N.record)}function b(N){return!!e.getRecordMatcher(N)}function _(N,J){if(J=Ue({},J||l.value),typeof N=="string"){const w=Fi(n,N,J.path),E=e.resolve({path:w.path},J),P=o.createHref(w.fullPath);return Ue(w,E,{params:f(E.params),hash:Er(w.hash),redirectedFrom:void 0,href:P})}let H;if("path"in N)H=Ue({},N,{path:Fi(n,N.path,J.path).path});else{const w=Ue({},N.params);for(const E in w)w[E]==null&&delete w[E];H=Ue({},N,{params:h(N.params)}),J.params=h(J.params)}const te=e.resolve(H,J),X=N.hash||"";te.params=d(f(te.params));const fe=Gb(s,Ue({},N,{hash:Oy(X),path:te.path})),ue=o.createHref(fe);return Ue({fullPath:fe,hash:X,query:s===Du?Iy(N.query):N.query||{}},te,{redirectedFrom:void 0,href:ue})}function y(N){return typeof N=="string"?Fi(n,N,l.value.path):Ue({},N)}function x(N,J){if(c!==N)return Os(8,{from:J,to:N})}function A(N){return D(N)}function R(N){return A(Ue(y(N),{replace:!0}))}function O(N){const J=N.matched[N.matched.length-1];if(J&&J.redirect){const{redirect:H}=J;let te=typeof H=="function"?H(N):H;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=y(te):{path:te},te.params={}),Ue({query:N.query,hash:N.hash,params:"path"in te?{}:N.params},te)}}function D(N,J){const H=c=_(N),te=l.value,X=N.state,fe=N.force,ue=N.replace===!0,w=O(H);if(w)return D(Ue(y(w),{state:typeof w=="object"?Ue({},X,w.state):X,force:fe,replace:ue}),J||H);const E=H;E.redirectedFrom=J;let P;return!fe&&Kb(s,te,H)&&(P=Os(16,{to:E,from:te}),be(te,te,!0,!1)),(P?Promise.resolve(P):k(E,te)).catch($=>en($)?en($,2)?$:G($):T($,E,te)).then($=>{if($){if(en($,2))return D(Ue({replace:ue},y($.to),{state:typeof $.to=="object"?Ue({},X,$.to.state):X,force:fe}),J||E)}else $=L(E,te,!0,ue,X);return M(E,te,$),$})}function v(N,J){const H=x(N,J);return H?Promise.reject(H):Promise.resolve()}function k(N,J){let H;const[te,X,fe]=qy(N,J);H=Bi(te.reverse(),"beforeRouteLeave",N,J);for(const w of te)w.leaveGuards.forEach(E=>{H.push(yn(E,N,J))});const ue=v.bind(null,N,J);return H.push(ue),us(H).then(()=>{H=[];for(const w of r.list())H.push(yn(w,N,J));return H.push(ue),us(H)}).then(()=>{H=Bi(X,"beforeRouteUpdate",N,J);for(const w of X)w.updateGuards.forEach(E=>{H.push(yn(E,N,J))});return H.push(ue),us(H)}).then(()=>{H=[];for(const w of N.matched)if(w.beforeEnter&&!J.matched.includes(w))if(Pt(w.beforeEnter))for(const E of w.beforeEnter)H.push(yn(E,N,J));else H.push(yn(w.beforeEnter,N,J));return H.push(ue),us(H)}).then(()=>(N.matched.forEach(w=>w.enterCallbacks={}),H=Bi(fe,"beforeRouteEnter",N,J),H.push(ue),us(H))).then(()=>{H=[];for(const w of i.list())H.push(yn(w,N,J));return H.push(ue),us(H)}).catch(w=>en(w,8)?w:Promise.reject(w))}function M(N,J,H){for(const te of a.list())te(N,J,H)}function L(N,J,H,te,X){const fe=x(N,J);if(fe)return fe;const ue=J===gn,w=fs?history.state:{};H&&(te||ue?o.replace(N.fullPath,Ue({scroll:ue&&w&&w.scroll},X)):o.push(N.fullPath,X)),l.value=N,be(N,J,H,ue),G()}let F;function Q(){F||(F=o.listen((N,J,H)=>{if(!Ce.listening)return;const te=_(N),X=O(te);if(X){D(Ue(X,{replace:!0}),te).catch(ro);return}c=te;const fe=l.value;fs&&ty(Cu(fe.fullPath,H.delta),ri()),k(te,fe).catch(ue=>en(ue,12)?ue:en(ue,2)?(D(ue.to,te).then(w=>{en(w,20)&&!H.delta&&H.type===Co.pop&&o.go(-1,!1)}).catch(ro),Promise.reject()):(H.delta&&o.go(-H.delta,!1),T(ue,te,fe))).then(ue=>{ue=ue||L(te,fe,!1),ue&&(H.delta&&!en(ue,8)?o.go(-H.delta,!1):H.type===Co.pop&&en(ue,20)&&o.go(-1,!1)),M(te,fe,ue)}).catch(ro)}))}let I=Qs(),le=Qs(),Z;function T(N,J,H){G(N);const te=le.list();return te.length?te.forEach(X=>X(N,J,H)):console.error(N),Promise.reject(N)}function q(){return Z&&l.value!==gn?Promise.resolve():new Promise((N,J)=>{I.add([N,J])})}function G(N){return Z||(Z=!N,Q(),I.list().forEach(([J,H])=>N?H(N):J()),I.reset()),N}function be(N,J,H,te){const{scrollBehavior:X}=t;if(!fs||!X)return Promise.resolve();const fe=!H&&ny(Cu(N.fullPath,0))||(te||!H)&&history.state&&history.state.scroll||null;return _e().then(()=>X(N,J,fe)).then(ue=>ue&&ey(ue)).catch(ue=>T(ue,N,J))}const ge=N=>o.go(N);let ee;const we=new Set,Ce={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:b,getRoutes:p,resolve:_,options:t,push:A,replace:R,go:ge,back:()=>ge(-1),forward:()=>ge(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:le.add,isReady:q,install(N){const J=this;N.component("RouterLink",vn),N.component("RouterView",Np),N.config.globalProperties.$router=J,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),fs&&!ee&&l.value===gn&&(ee=!0,A(o.location).catch(X=>{}));const H={};for(const X in gn)H[X]=Et(()=>l.value[X]);N.provide(ec,J),N.provide(Rp,zs(H)),N.provide(rl,l);const te=N.unmount;we.add(N),N.unmount=function(){we.delete(N),we.size<1&&(c=gn,F&&F(),F=null,l.value=gn,ee=!1,Z=!1),te()}}};return Ce}function us(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function qy(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;i<r;i++){const a=e.matched[i];a&&(t.matched.find(c=>Ms(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>Ms(c,l))||o.push(l))}return[n,s,o]}const Hy="modulepreload",Vy=function(t){return"/"+t},$u={},$i=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Vy(r),r in $u)return;$u[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const h=o[d];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Hy,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((d,h)=>{c.addEventListener("load",d),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},tc="/assets/logo-023c77a1.png";var Dp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function is(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Gy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var Lp={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Dp,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'<polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline>',airplay:'<path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon>',"alert-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line>',"alert-triangle":'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line>',"align-center":'<line x1="18" y1="10" x2="6" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="18" y1="18" x2="6" y2="18"></line>',"align-justify":'<line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line>',"align-left":'<line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line>',"align-right":'<line x1="21" y1="10" x2="7" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="7" y2="18"></line>',anchor:'<circle cx="12" cy="5" r="3"></circle><line x1="12" y1="22" x2="12" y2="8"></line><path d="M5 12H2a10 10 0 0 0 20 0h-3"></path>',aperture:'<circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line>',archive:'<polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line>',"arrow-down-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="8 12 12 16 16 12"></polyline><line x1="12" y1="8" x2="12" y2="16"></line>',"arrow-down-left":'<line x1="17" y1="7" x2="7" y2="17"></line><polyline points="17 17 7 17 7 7"></polyline>',"arrow-down-right":'<line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline>',"arrow-down":'<line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline>',"arrow-left-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 8 8 12 12 16"></polyline><line x1="16" y1="12" x2="8" y2="12"></line>',"arrow-left":'<line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline>',"arrow-right-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line>',"arrow-right":'<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>',"arrow-up-circle":'<circle cx="12" cy="12" r="10"></circle><polyline points="16 12 12 8 8 12"></polyline><line x1="12" y1="16" x2="12" y2="8"></line>',"arrow-up-left":'<line x1="17" y1="17" x2="7" y2="7"></line><polyline points="7 17 7 7 17 7"></polyline>',"arrow-up-right":'<line x1="7" y1="17" x2="17" y2="7"></line><polyline points="7 7 17 7 17 17"></polyline>',"arrow-up":'<line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline>',"at-sign":'<circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path>',award:'<circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline>',"bar-chart-2":'<line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line>',"bar-chart":'<line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line>',"battery-charging":'<path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19"></path><line x1="23" y1="13" x2="23" y2="11"></line><polyline points="11 6 7 12 13 12 9 18"></polyline>',battery:'<rect x="1" y="6" width="18" height="12" rx="2" ry="2"></rect><line x1="23" y1="13" x2="23" y2="11"></line>',"bell-off":'<path d="M13.73 21a2 2 0 0 1-3.46 0"></path><path d="M18.63 13A17.89 17.89 0 0 1 18 8"></path><path d="M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14"></path><path d="M18 8a6 6 0 0 0-9.33-5"></path><line x1="1" y1="1" x2="23" y2="23"></line>',bell:'<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path>',bluetooth:'<polyline points="6.5 6.5 17.5 17.5 12 23 12 1 17.5 6.5 6.5 17.5"></polyline>',bold:'<path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path><path d="M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path>',"book-open":'<path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path>',book:'<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>',bookmark:'<path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path>',box:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',briefcase:'<rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>',calendar:'<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line>',"camera-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56"></path>',camera:'<path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle>',cast:'<path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"></path><line x1="2" y1="20" x2="2.01" y2="20"></line>',"check-circle":'<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline>',"check-square":'<polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path>',check:'<polyline points="20 6 9 17 4 12"></polyline>',"chevron-down":'<polyline points="6 9 12 15 18 9"></polyline>',"chevron-left":'<polyline points="15 18 9 12 15 6"></polyline>',"chevron-right":'<polyline points="9 18 15 12 9 6"></polyline>',"chevron-up":'<polyline points="18 15 12 9 6 15"></polyline>',"chevrons-down":'<polyline points="7 13 12 18 17 13"></polyline><polyline points="7 6 12 11 17 6"></polyline>',"chevrons-left":'<polyline points="11 17 6 12 11 7"></polyline><polyline points="18 17 13 12 18 7"></polyline>',"chevrons-right":'<polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline>',"chevrons-up":'<polyline points="17 11 12 6 7 11"></polyline><polyline points="17 18 12 13 7 18"></polyline>',chrome:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="21.17" y1="8" x2="12" y2="8"></line><line x1="3.95" y1="6.06" x2="8.54" y2="14"></line><line x1="10.88" y1="21.94" x2="15.46" y2="14"></line>',circle:'<circle cx="12" cy="12" r="10"></circle>',clipboard:'<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect>',clock:'<circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline>',"cloud-drizzle":'<line x1="8" y1="19" x2="8" y2="21"></line><line x1="8" y1="13" x2="8" y2="15"></line><line x1="16" y1="19" x2="16" y2="21"></line><line x1="16" y1="13" x2="16" y2="15"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="12" y1="15" x2="12" y2="17"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-lightning":'<path d="M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9"></path><polyline points="13 11 9 17 15 17 11 23"></polyline>',"cloud-off":'<path d="M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3"></path><line x1="1" y1="1" x2="23" y2="23"></line>',"cloud-rain":'<line x1="16" y1="13" x2="16" y2="21"></line><line x1="8" y1="13" x2="8" y2="21"></line><line x1="12" y1="15" x2="12" y2="23"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path>',"cloud-snow":'<path d="M20 17.58A5 5 0 0 0 18 8h-1.26A8 8 0 1 0 4 16.25"></path><line x1="8" y1="16" x2="8.01" y2="16"></line><line x1="8" y1="20" x2="8.01" y2="20"></line><line x1="12" y1="18" x2="12.01" y2="18"></line><line x1="12" y1="22" x2="12.01" y2="22"></line><line x1="16" y1="16" x2="16.01" y2="16"></line><line x1="16" y1="20" x2="16.01" y2="20"></line>',cloud:'<path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path>',code:'<polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline>',codepen:'<polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="22 8.5 12 15.5 2 8.5"></polyline><polyline points="2 15.5 12 8.5 22 15.5"></polyline><line x1="12" y1="2" x2="12" y2="8.5"></line>',codesandbox:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="7.5 4.21 12 6.81 16.5 4.21"></polyline><polyline points="7.5 19.79 7.5 14.6 3 12"></polyline><polyline points="21 12 16.5 14.6 16.5 19.79"></polyline><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',coffee:'<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path><path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path><line x1="6" y1="1" x2="6" y2="4"></line><line x1="10" y1="1" x2="10" y2="4"></line><line x1="14" y1="1" x2="14" y2="4"></line>',columns:'<path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path>',command:'<path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path>',compass:'<circle cx="12" cy="12" r="10"></circle><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"></polygon>',copy:'<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>',"corner-down-left":'<polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path>',"corner-down-right":'<polyline points="15 10 20 15 15 20"></polyline><path d="M4 4v7a4 4 0 0 0 4 4h12"></path>',"corner-left-down":'<polyline points="14 15 9 20 4 15"></polyline><path d="M20 4h-7a4 4 0 0 0-4 4v12"></path>',"corner-left-up":'<polyline points="14 9 9 4 4 9"></polyline><path d="M20 20h-7a4 4 0 0 1-4-4V4"></path>',"corner-right-down":'<polyline points="10 15 15 20 20 15"></polyline><path d="M4 4h7a4 4 0 0 1 4 4v12"></path>',"corner-right-up":'<polyline points="10 9 15 4 20 9"></polyline><path d="M4 20h7a4 4 0 0 0 4-4V4"></path>',"corner-up-left":'<polyline points="9 14 4 9 9 4"></polyline><path d="M20 20v-7a4 4 0 0 0-4-4H4"></path>',"corner-up-right":'<polyline points="15 14 20 9 15 4"></polyline><path d="M4 20v-7a4 4 0 0 1 4-4h12"></path>',cpu:'<rect x="4" y="4" width="16" height="16" rx="2" ry="2"></rect><rect x="9" y="9" width="6" height="6"></rect><line x1="9" y1="1" x2="9" y2="4"></line><line x1="15" y1="1" x2="15" y2="4"></line><line x1="9" y1="20" x2="9" y2="23"></line><line x1="15" y1="20" x2="15" y2="23"></line><line x1="20" y1="9" x2="23" y2="9"></line><line x1="20" y1="14" x2="23" y2="14"></line><line x1="1" y1="9" x2="4" y2="9"></line><line x1="1" y1="14" x2="4" y2="14"></line>',"credit-card":'<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line>',crop:'<path d="M6.13 1L6 16a2 2 0 0 0 2 2h15"></path><path d="M1 6.13L16 6a2 2 0 0 1 2 2v15"></path>',crosshair:'<circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="18" y2="12"></line><line x1="6" y1="12" x2="2" y2="12"></line><line x1="12" y1="6" x2="12" y2="2"></line><line x1="12" y1="22" x2="12" y2="18"></line>',database:'<ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path>',delete:'<path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"></path><line x1="18" y1="9" x2="12" y2="15"></line><line x1="12" y1="9" x2="18" y2="15"></line>',disc:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle>',"divide-circle":'<line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line><circle cx="12" cy="12" r="10"></circle>',"divide-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line><line x1="12" y1="8" x2="12" y2="8"></line>',divide:'<circle cx="12" cy="6" r="2"></circle><line x1="5" y1="12" x2="19" y2="12"></line><circle cx="12" cy="18" r="2"></circle>',"dollar-sign":'<line x1="12" y1="1" x2="12" y2="23"></line><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"></path>',"download-cloud":'<polyline points="8 17 12 21 16 17"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path>',download:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line>',dribbble:'<circle cx="12" cy="12" r="10"></circle><path d="M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32"></path>',droplet:'<path d="M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z"></path>',"edit-2":'<path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"></path>',"edit-3":'<path d="M12 20h9"></path><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"></path>',edit:'<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path>',"external-link":'<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line>',"eye-off":'<path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line>',eye:'<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle>',facebook:'<path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path>',"fast-forward":'<polygon points="13 19 22 12 13 5 13 19"></polygon><polygon points="2 19 11 12 2 5 2 19"></polygon>',feather:'<path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"></path><line x1="16" y1="8" x2="2" y2="22"></line><line x1="17.5" y1="15" x2="9" y2="15"></line>',figma:'<path d="M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z"></path><path d="M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z"></path><path d="M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z"></path><path d="M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z"></path><path d="M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z"></path>',"file-minus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="9" y1="15" x2="15" y2="15"></line>',"file-plus":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line>',"file-text":'<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline>',file:'<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>',film:'<rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"></rect><line x1="7" y1="2" x2="7" y2="22"></line><line x1="17" y1="2" x2="17" y2="22"></line><line x1="2" y1="12" x2="22" y2="12"></line><line x1="2" y1="7" x2="7" y2="7"></line><line x1="2" y1="17" x2="7" y2="17"></line><line x1="17" y1="17" x2="22" y2="17"></line><line x1="17" y1="7" x2="22" y2="7"></line>',filter:'<polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon>',flag:'<path d="M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z"></path><line x1="4" y1="22" x2="4" y2="15"></line>',"folder-minus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="9" y1="14" x2="15" y2="14"></line>',"folder-plus":'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="12" y1="11" x2="12" y2="17"></line><line x1="9" y1="14" x2="15" y2="14"></line>',folder:'<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path>',framer:'<path d="M5 16V9h14V2H5l14 14h-7m-7 0l7 7v-7m-7 0h7"></path>',frown:'<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',gift:'<polyline points="20 12 20 22 4 22 4 12"></polyline><rect x="2" y="7" width="20" height="5"></rect><line x1="12" y1="22" x2="12" y2="7"></line><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"></path><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path>',"git-branch":'<line x1="6" y1="3" x2="6" y2="15"></line><circle cx="18" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><path d="M18 9a9 9 0 0 1-9 9"></path>',"git-commit":'<circle cx="12" cy="12" r="4"></circle><line x1="1.05" y1="12" x2="7" y2="12"></line><line x1="17.01" y1="12" x2="22.96" y2="12"></line>',"git-merge":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M6 21V9a9 9 0 0 0 9 9"></path>',"git-pull-request":'<circle cx="18" cy="18" r="3"></circle><circle cx="6" cy="6" r="3"></circle><path d="M13 6h3a2 2 0 0 1 2 2v7"></path><line x1="6" y1="9" x2="6" y2="21"></line>',github:'<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>',gitlab:'<path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path>',globe:'<circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path>',grid:'<rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect>',"hard-drive":'<line x1="22" y1="12" x2="2" y2="12"></line><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path><line x1="6" y1="16" x2="6.01" y2="16"></line><line x1="10" y1="16" x2="10.01" y2="16"></line>',hash:'<line x1="4" y1="9" x2="20" y2="9"></line><line x1="4" y1="15" x2="20" y2="15"></line><line x1="10" y1="3" x2="8" y2="21"></line><line x1="16" y1="3" x2="14" y2="21"></line>',headphones:'<path d="M3 18v-6a9 9 0 0 1 18 0v6"></path><path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"></path>',heart:'<path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path>',"help-circle":'<circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line>',hexagon:'<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path>',home:'<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline>',image:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline>',inbox:'<polyline points="22 12 16 12 14 15 10 15 8 12 2 12"></polyline><path d="M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"></path>',info:'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line>',instagram:'<rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line>',italic:'<line x1="19" y1="4" x2="10" y2="4"></line><line x1="14" y1="20" x2="5" y2="20"></line><line x1="15" y1="4" x2="9" y2="20"></line>',key:'<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"></path>',layers:'<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline>',layout:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="3" y1="9" x2="21" y2="9"></line><line x1="9" y1="21" x2="9" y2="9"></line>',"life-buoy":'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"></line><line x1="14.83" y1="9.17" x2="19.07" y2="4.93"></line><line x1="14.83" y1="9.17" x2="18.36" y2="5.64"></line><line x1="4.93" y1="19.07" x2="9.17" y2="14.83"></line>',"link-2":'<path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"></path><line x1="8" y1="12" x2="16" y2="12"></line>',link:'<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>',linkedin:'<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle>',list:'<line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line>',loader:'<line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line>',lock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path>',"log-in":'<path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"></path><polyline points="10 17 15 12 10 7"></polyline><line x1="15" y1="12" x2="3" y2="12"></line>',"log-out":'<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line>',mail:'<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline>',"map-pin":'<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle>',map:'<polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line>',"maximize-2":'<polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" y1="3" x2="14" y2="10"></line><line x1="3" y1="21" x2="10" y2="14"></line>',maximize:'<path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path>',meh:'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="15" x2="16" y2="15"></line><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',menu:'<line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>',"message-circle":'<path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path>',"message-square":'<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path>',"mic-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"></path><path d="M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',mic:'<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line>',"minimize-2":'<polyline points="4 14 10 14 10 20"></polyline><polyline points="20 10 14 10 14 4"></polyline><line x1="14" y1="10" x2="21" y2="3"></line><line x1="3" y1="21" x2="10" y2="14"></line>',minimize:'<path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"></path>',"minus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="8" y1="12" x2="16" y2="12"></line>',"minus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="12" x2="16" y2="12"></line>',minus:'<line x1="5" y1="12" x2="19" y2="12"></line>',monitor:'<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><line x1="8" y1="21" x2="16" y2="21"></line><line x1="12" y1="17" x2="12" y2="21"></line>',moon:'<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>',"more-horizontal":'<circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle>',"more-vertical":'<circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle>',"mouse-pointer":'<path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"></path><path d="M13 13l6 6"></path>',move:'<polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line>',music:'<path d="M9 18V5l12-2v13"></path><circle cx="6" cy="18" r="3"></circle><circle cx="18" cy="16" r="3"></circle>',"navigation-2":'<polygon points="12 2 19 21 12 17 5 21 12 2"></polygon>',navigation:'<polygon points="3 11 22 2 13 21 11 13 3 11"></polygon>',octagon:'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon>',package:'<line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line>',paperclip:'<path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path>',"pause-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="10" y1="15" x2="10" y2="9"></line><line x1="14" y1="15" x2="14" y2="9"></line>',pause:'<rect x="6" y="4" width="4" height="16"></rect><rect x="14" y="4" width="4" height="16"></rect>',"pen-tool":'<path d="M12 19l7-7 3 3-7 7-3-3z"></path><path d="M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"></path><path d="M2 2l7.586 7.586"></path><circle cx="11" cy="11" r="2"></circle>',percent:'<line x1="19" y1="5" x2="5" y2="19"></line><circle cx="6.5" cy="6.5" r="2.5"></circle><circle cx="17.5" cy="17.5" r="2.5"></circle>',"phone-call":'<path d="M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-forwarded":'<polyline points="19 1 23 5 19 9"></polyline><line x1="15" y1="5" x2="23" y2="5"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-incoming":'<polyline points="16 2 16 8 22 8"></polyline><line x1="23" y1="1" x2="16" y2="8"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-missed":'<line x1="23" y1="1" x2="17" y2="7"></line><line x1="17" y1="1" x2="23" y2="7"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"phone-off":'<path d="M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91"></path><line x1="23" y1="1" x2="1" y2="23"></line>',"phone-outgoing":'<polyline points="23 7 23 1 17 1"></polyline><line x1="16" y1="8" x2="23" y2="1"></line><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',phone:'<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path>',"pie-chart":'<path d="M21.21 15.89A10 10 0 1 1 8 2.83"></path><path d="M22 12A10 10 0 0 0 12 2v10z"></path>',"play-circle":'<circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon>',play:'<polygon points="5 3 19 12 5 21 5 3"></polygon>',"plus-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',"plus-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="12" y1="8" x2="12" y2="16"></line><line x1="8" y1="12" x2="16" y2="12"></line>',plus:'<line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>',pocket:'<path d="M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z"></path><polyline points="8 10 12 14 16 10"></polyline>',power:'<path d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12" y2="12"></line>',printer:'<polyline points="6 9 6 2 18 2 18 9"></polyline><path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2"></path><rect x="6" y="14" width="12" height="8"></rect>',radio:'<circle cx="12" cy="12" r="2"></circle><path d="M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14"></path>',"refresh-ccw":'<polyline points="1 4 1 10 7 10"></polyline><polyline points="23 20 23 14 17 14"></polyline><path d="M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"></path>',"refresh-cw":'<polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>',repeat:'<polyline points="17 1 21 5 17 9"></polyline><path d="M3 11V9a4 4 0 0 1 4-4h14"></path><polyline points="7 23 3 19 7 15"></polyline><path d="M21 13v2a4 4 0 0 1-4 4H3"></path>',rewind:'<polygon points="11 19 2 12 11 5 11 19"></polygon><polygon points="22 19 13 12 22 5 22 19"></polygon>',"rotate-ccw":'<polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path>',"rotate-cw":'<polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.12-9.36L23 10"></path>',rss:'<path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle>',save:'<path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline>',scissors:'<circle cx="6" cy="6" r="3"></circle><circle cx="6" cy="18" r="3"></circle><line x1="20" y1="4" x2="8.12" y2="15.88"></line><line x1="14.47" y1="14.48" x2="20" y2="20"></line><line x1="8.12" y1="8.12" x2="12" y2="12"></line>',search:'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>',send:'<line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon>',server:'<rect x="2" y="2" width="20" height="8" rx="2" ry="2"></rect><rect x="2" y="14" width="20" height="8" rx="2" ry="2"></rect><line x1="6" y1="6" x2="6.01" y2="6"></line><line x1="6" y1="18" x2="6.01" y2="18"></line>',settings:'<circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>',"share-2":'<circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line>',share:'<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><polyline points="16 6 12 2 8 6"></polyline><line x1="12" y1="2" x2="12" y2="15"></line>',"shield-off":'<path d="M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18"></path><path d="M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38"></path><line x1="1" y1="1" x2="23" y2="23"></line>',shield:'<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path>',"shopping-bag":'<path d="M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"></path><line x1="3" y1="6" x2="21" y2="6"></line><path d="M16 10a4 4 0 0 1-8 0"></path>',"shopping-cart":'<circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>',shuffle:'<polyline points="16 3 21 3 21 8"></polyline><line x1="4" y1="20" x2="21" y2="3"></line><polyline points="21 16 21 21 16 21"></polyline><line x1="15" y1="15" x2="21" y2="21"></line><line x1="4" y1="4" x2="9" y2="9"></line>',sidebar:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="3" x2="9" y2="21"></line>',"skip-back":'<polygon points="19 20 9 12 19 4 19 20"></polygon><line x1="5" y1="19" x2="5" y2="5"></line>',"skip-forward":'<polygon points="5 4 15 12 5 20 5 4"></polygon><line x1="19" y1="5" x2="19" y2="19"></line>',slack:'<path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z"></path><path d="M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"></path><path d="M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z"></path><path d="M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z"></path><path d="M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z"></path><path d="M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"></path><path d="M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z"></path><path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z"></path>',slash:'<circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line>',sliders:'<line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line>',smartphone:'<rect x="5" y="2" width="14" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',smile:'<circle cx="12" cy="12" r="10"></circle><path d="M8 14s1.5 2 4 2 4-2 4-2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>',speaker:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><circle cx="12" cy="14" r="4"></circle><line x1="12" y1="6" x2="12.01" y2="6"></line>',square:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>',star:'<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>',"stop-circle":'<circle cx="12" cy="12" r="10"></circle><rect x="9" y="9" width="6" height="6"></rect>',sun:'<circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>',sunrise:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="2" x2="12" y2="9"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="8 6 12 2 16 6"></polyline>',sunset:'<path d="M17 18a5 5 0 0 0-10 0"></path><line x1="12" y1="9" x2="12" y2="2"></line><line x1="4.22" y1="10.22" x2="5.64" y2="11.64"></line><line x1="1" y1="18" x2="3" y2="18"></line><line x1="21" y1="18" x2="23" y2="18"></line><line x1="18.36" y1="11.64" x2="19.78" y2="10.22"></line><line x1="23" y1="22" x2="1" y2="22"></line><polyline points="16 5 12 9 8 5"></polyline>',table:'<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"></path>',tablet:'<rect x="4" y="2" width="16" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line>',tag:'<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line>',target:'<circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="6"></circle><circle cx="12" cy="12" r="2"></circle>',terminal:'<polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line>',thermometer:'<path d="M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z"></path>',"thumbs-down":'<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>',"thumbs-up":'<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>',"toggle-left":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="8" cy="12" r="3"></circle>',"toggle-right":'<rect x="1" y="5" width="22" height="14" rx="7" ry="7"></rect><circle cx="16" cy="12" r="3"></circle>',tool:'<path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path>',"trash-2":'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line>',trash:'<polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path>',trello:'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><rect x="7" y="7" width="3" height="9"></rect><rect x="14" y="7" width="3" height="5"></rect>',"trending-down":'<polyline points="23 18 13.5 8.5 8.5 13.5 1 6"></polyline><polyline points="17 18 23 18 23 12"></polyline>',"trending-up":'<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline>',triangle:'<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path>',truck:'<rect x="1" y="3" width="15" height="13"></rect><polygon points="16 8 20 8 23 11 23 16 16 16 16 8"></polygon><circle cx="5.5" cy="18.5" r="2.5"></circle><circle cx="18.5" cy="18.5" r="2.5"></circle>',tv:'<rect x="2" y="7" width="20" height="15" rx="2" ry="2"></rect><polyline points="17 2 12 7 7 2"></polyline>',twitch:'<path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7"></path>',twitter:'<path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path>',type:'<polyline points="4 7 4 4 20 4 20 7"></polyline><line x1="9" y1="20" x2="15" y2="20"></line><line x1="12" y1="4" x2="12" y2="20"></line>',umbrella:'<path d="M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7"></path>',underline:'<path d="M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3"></path><line x1="4" y1="21" x2="20" y2="21"></line>',unlock:'<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 9.9-1"></path>',"upload-cloud":'<polyline points="16 16 12 12 8 16"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"></path><polyline points="16 16 12 12 8 16"></polyline>',upload:'<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line>',"user-check":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><polyline points="17 11 19 13 23 9"></polyline>',"user-minus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="23" y1="11" x2="17" y2="11"></line>',"user-plus":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="20" y1="8" x2="20" y2="14"></line><line x1="23" y1="11" x2="17" y2="11"></line>',"user-x":'<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="18" y1="8" x2="23" y2="13"></line><line x1="23" y1="8" x2="18" y2="13"></line>',user:'<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle>',users:'<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path>',"video-off":'<path d="M16 16v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2m5.66 0H14a2 2 0 0 1 2 2v3.34l1 1L23 7v10"></path><line x1="1" y1="1" x2="23" y2="23"></line>',video:'<polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>',voicemail:'<circle cx="5.5" cy="11.5" r="4.5"></circle><circle cx="18.5" cy="11.5" r="4.5"></circle><line x1="5.5" y1="16" x2="18.5" y2="16"></line>',"volume-1":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-2":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path>',"volume-x":'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line>',volume:'<polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon>',watch:'<circle cx="12" cy="12" r="7"></circle><polyline points="12 9 12 12 13.5 13.5"></polyline><path d="M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"></path>',"wifi-off":'<line x1="1" y1="1" x2="23" y2="23"></line><path d="M16.72 11.06A10.94 10.94 0 0 1 19 12.55"></path><path d="M5 12.55a10.94 10.94 0 0 1 5.17-2.39"></path><path d="M10.71 5.05A16 16 0 0 1 22.58 9"></path><path d="M1.42 9a15.91 15.91 0 0 1 4.7-2.88"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wifi:'<path d="M5 12.55a11 11 0 0 1 14.08 0"></path><path d="M1.42 9a16 16 0 0 1 21.16 0"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line>',wind:'<path d="M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2"></path>',"x-circle":'<circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-octagon":'<polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line>',"x-square":'<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><line x1="9" y1="9" x2="15" y2="15"></line><line x1="15" y1="9" x2="9" y2="15"></line>',x:'<line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line>',youtube:'<path d="M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"></path><polygon points="9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"></polygon>',"zap-off":'<polyline points="12.41 6.75 13 2 10.57 4.92"></polyline><polyline points="18.57 12.91 21 10 15.66 10"></polyline><polyline points="8 8 3 14 12 14 11 22 16 16"></polyline><line x1="1" y1="1" x2="23" y2="23"></line>',zap:'<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon>',"zoom-in":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line>',"zoom-out":'<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="8" y1="11" x2="14" y2="11"></line>'}},"./node_modules/classnames/dedupe.js":function(n,s,o){var r,i;/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(_,y){for(var x=y.length,A=0;A<x;++A)p(_,y[A])}var d={}.hasOwnProperty;function h(_,y){_[y]=!0}function f(_,y){for(var x in y)d.call(y,x)&&(_[x]=!!y[x])}var g=/\s+/;function m(_,y){for(var x=y.split(g),A=x.length,R=0;R<A;++R)_[x[R]]=!0}function p(_,y){if(y){var x=typeof y;x==="string"?m(_,y):Array.isArray(y)?c(_,y):x==="object"?f(_,y):x==="number"&&h(_,y)}}function b(){for(var _=arguments.length,y=Array(_),x=0;x<_;x++)y[x]=arguments[x];var A=new l;c(A,y);var R=[];for(var O in A)A[O]&&R.push(O);return R.join(" ")}return b}();typeof n<"u"&&n.exports?n.exports=a:(r=[],i=function(){return a}.apply(s,r),i!==void 0&&(n.exports=i))})()},"./node_modules/core-js/es/array/from.js":function(n,s,o){o("./node_modules/core-js/modules/es.string.iterator.js"),o("./node_modules/core-js/modules/es.array.from.js");var r=o("./node_modules/core-js/internals/path.js");n.exports=r.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,s){n.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"./node_modules/core-js/internals/an-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i){if(!r(i))throw TypeError(String(i)+" is not an object");return i}},"./node_modules/core-js/internals/array-from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/bind-context.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),l=o("./node_modules/core-js/internals/is-array-iterator-method.js"),c=o("./node_modules/core-js/internals/to-length.js"),d=o("./node_modules/core-js/internals/create-property.js"),h=o("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(g){var m=i(g),p=typeof this=="function"?this:Array,b=arguments.length,_=b>1?arguments[1]:void 0,y=_!==void 0,x=0,A=h(m),R,O,D,v;if(y&&(_=r(_,b>2?arguments[2]:void 0,2)),A!=null&&!(p==Array&&l(A)))for(v=A.call(m),O=new p;!(D=v.next()).done;x++)d(O,x,y?a(v,_,[D.value,x],!0):D.value);else for(R=c(m.length),O=new p(R);R>x;x++)d(O,x,y?_(m[x],x):m[x]);return O.length=x,O}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,d,h){var f=r(c),g=i(f.length),m=a(h,g),p;if(l&&d!=d){for(;g>m;)if(p=f[m++],p!=p)return!0}else for(;g>m;m++)if((l||m in f)&&f[m]===d)return l||m||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,d){return i.call(a,c,d)};case 3:return function(c,d,h){return i.call(a,c,d,h)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,c){try{return c?a(r(l)[0],l[1]):a(l)}catch(h){var d=i.return;throw d!==void 0&&r(d.call(i)),h}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(d,h){if(!h&&!a)return!1;var f=!1;try{var g={};g[i]=function(){return{next:function(){return{done:f=!0}}}},d(g)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(d,h){try{return d[h]}catch{}};n.exports=function(d){var h,f,g;return d===void 0?"Undefined":d===null?"Null":typeof(f=c(h=Object(d),a))=="string"?f:l?r(h):(g=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,d){for(var h=i(d),f=l.f,g=a.f,m=0;m<h.length;m++){var p=h[m];r(c,p)||f(c,p,g(d,p))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!r(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})},"./node_modules/core-js/internals/create-iterator-constructor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,i=o("./node_modules/core-js/internals/object-create.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/set-to-string-tag.js"),c=o("./node_modules/core-js/internals/iterators.js"),d=function(){return this};n.exports=function(h,f,g){var m=f+" Iterator";return h.prototype=i(r,{next:a(1,g)}),l(h,m,!1,!0),c[m]=d,h}},"./node_modules/core-js/internals/create-property-descriptor.js":function(n,s){n.exports=function(o,r){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:r}}},"./node_modules/core-js/internals/create-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-primitive.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=function(l,c,d){var h=r(c);h in l?i.f(l,h,a(0,d)):l[h]=d}},"./node_modules/core-js/internals/define-iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/create-iterator-constructor.js"),a=o("./node_modules/core-js/internals/object-get-prototype-of.js"),l=o("./node_modules/core-js/internals/object-set-prototype-of.js"),c=o("./node_modules/core-js/internals/set-to-string-tag.js"),d=o("./node_modules/core-js/internals/hide.js"),h=o("./node_modules/core-js/internals/redefine.js"),f=o("./node_modules/core-js/internals/well-known-symbol.js"),g=o("./node_modules/core-js/internals/is-pure.js"),m=o("./node_modules/core-js/internals/iterators.js"),p=o("./node_modules/core-js/internals/iterators-core.js"),b=p.IteratorPrototype,_=p.BUGGY_SAFARI_ITERATORS,y=f("iterator"),x="keys",A="values",R="entries",O=function(){return this};n.exports=function(D,v,k,M,L,F,Q){i(k,v,M);var I=function(Ce){if(Ce===L&&G)return G;if(!_&&Ce in T)return T[Ce];switch(Ce){case x:return function(){return new k(this,Ce)};case A:return function(){return new k(this,Ce)};case R:return function(){return new k(this,Ce)}}return function(){return new k(this)}},le=v+" Iterator",Z=!1,T=D.prototype,q=T[y]||T["@@iterator"]||L&&T[L],G=!_&&q||I(L),be=v=="Array"&&T.entries||q,ge,ee,we;if(be&&(ge=a(be.call(new D)),b!==Object.prototype&&ge.next&&(!g&&a(ge)!==b&&(l?l(ge,b):typeof ge[y]!="function"&&d(ge,y,O)),c(ge,le,!0,!0),g&&(m[le]=O))),L==A&&q&&q.name!==A&&(Z=!0,G=function(){return q.call(this)}),(!g||Q)&&T[y]!==G&&d(T,y,G),m[v]=G,L)if(ee={values:I(A),keys:F?G:I(x),entries:I(R)},Q)for(we in ee)(_||Z||!(we in T))&&h(T,we,ee[we]);else r({target:v,proto:!0,forced:_||Z},ee);return ee}},"./node_modules/core-js/internals/descriptors.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!r(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/document-create-element.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/is-object.js"),a=r.document,l=i(a)&&i(a.createElement);n.exports=function(c){return l?a.createElement(c):{}}},"./node_modules/core-js/internals/enum-bug-keys.js":function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/redefine.js"),c=o("./node_modules/core-js/internals/set-global.js"),d=o("./node_modules/core-js/internals/copy-constructor-properties.js"),h=o("./node_modules/core-js/internals/is-forced.js");n.exports=function(f,g){var m=f.target,p=f.global,b=f.stat,_,y,x,A,R,O;if(p?y=r:b?y=r[m]||c(m,{}):y=(r[m]||{}).prototype,y)for(x in g){if(R=g[x],f.noTargetGet?(O=i(y,x),A=O&&O.value):A=y[x],_=h(p?x:m+(b?".":"#")+x,f.forced),!_&&A!==void 0){if(typeof R==typeof A)continue;d(R,A)}(f.sham||A&&A.sham)&&a(R,"sham",!0),l(y,x,R,f)}}},"./node_modules/core-js/internals/fails.js":function(n,s){n.exports=function(o){try{return!!o()}catch{return!0}}},"./node_modules/core-js/internals/function-to-string.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js");n.exports=r("native-function-to-string",Function.toString)},"./node_modules/core-js/internals/get-iterator-method.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof.js"),i=o("./node_modules/core-js/internals/iterators.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("iterator");n.exports=function(c){if(c!=null)return c[l]||c["@@iterator"]||i[r(c)]}},"./node_modules/core-js/internals/global.js":function(n,s,o){(function(r){var i="object",a=function(l){return l&&l.Math==Math&&l};n.exports=a(typeof globalThis==i&&globalThis)||a(typeof window==i&&window)||a(typeof self==i&&self)||a(typeof r==i&&r)||Function("return this")()}).call(this,o("./node_modules/webpack/buildin/global.js"))},"./node_modules/core-js/internals/has.js":function(n,s){var o={}.hasOwnProperty;n.exports=function(r,i){return o.call(r,i)}},"./node_modules/core-js/internals/hidden-keys.js":function(n,s){n.exports={}},"./node_modules/core-js/internals/hide.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js");n.exports=r?function(l,c,d){return i.f(l,c,a(1,d))}:function(l,c,d){return l[c]=d,l}},"./node_modules/core-js/internals/html.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=r.document;n.exports=i&&i.documentElement},"./node_modules/core-js/internals/ie8-dom-define.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/fails.js"),a=o("./node_modules/core-js/internals/document-create-element.js");n.exports=!r&&!i(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js"),i=o("./node_modules/core-js/internals/classof-raw.js"),a="".split;n.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(l){return i(l)=="String"?a.call(l,""):Object(l)}:Object},"./node_modules/core-js/internals/internal-state.js":function(n,s,o){var r=o("./node_modules/core-js/internals/native-weak-map.js"),i=o("./node_modules/core-js/internals/global.js"),a=o("./node_modules/core-js/internals/is-object.js"),l=o("./node_modules/core-js/internals/hide.js"),c=o("./node_modules/core-js/internals/has.js"),d=o("./node_modules/core-js/internals/shared-key.js"),h=o("./node_modules/core-js/internals/hidden-keys.js"),f=i.WeakMap,g,m,p,b=function(D){return p(D)?m(D):g(D,{})},_=function(D){return function(v){var k;if(!a(v)||(k=m(v)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return k}};if(r){var y=new f,x=y.get,A=y.has,R=y.set;g=function(D,v){return R.call(y,D,v),v},m=function(D){return x.call(y,D)||{}},p=function(D){return A.call(y,D)}}else{var O=d("state");h[O]=!0,g=function(D,v){return l(D,O,v),v},m=function(D){return c(D,O)?D[O]:{}},p=function(D){return c(D,O)}}n.exports={set:g,get:m,has:p,enforce:b,getterFor:_}},"./node_modules/core-js/internals/is-array-iterator-method.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=o("./node_modules/core-js/internals/iterators.js"),a=r("iterator"),l=Array.prototype;n.exports=function(c){return c!==void 0&&(i.Array===c||l[a]===c)}},"./node_modules/core-js/internals/is-forced.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js"),i=/#|\.prototype\./,a=function(f,g){var m=c[l(f)];return m==h?!0:m==d?!1:typeof g=="function"?r(g):!!g},l=a.normalize=function(f){return String(f).replace(i,".").toLowerCase()},c=a.data={},d=a.NATIVE="N",h=a.POLYFILL="P";n.exports=a},"./node_modules/core-js/internals/is-object.js":function(n,s){n.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},"./node_modules/core-js/internals/is-pure.js":function(n,s){n.exports=!1},"./node_modules/core-js/internals/iterators-core.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-get-prototype-of.js"),i=o("./node_modules/core-js/internals/hide.js"),a=o("./node_modules/core-js/internals/has.js"),l=o("./node_modules/core-js/internals/well-known-symbol.js"),c=o("./node_modules/core-js/internals/is-pure.js"),d=l("iterator"),h=!1,f=function(){return this},g,m,p;[].keys&&(p=[].keys(),"next"in p?(m=r(r(p)),m!==Object.prototype&&(g=m)):h=!0),g==null&&(g={}),!c&&!a(g,d)&&i(g,d,f),n.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:h}},"./node_modules/core-js/internals/iterators.js":function(n,s){n.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/fails.js");n.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"./node_modules/core-js/internals/native-weak-map.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/function-to-string.js"),a=r.WeakMap;n.exports=typeof a=="function"&&/native code/.test(i.call(a))},"./node_modules/core-js/internals/object-create.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js"),i=o("./node_modules/core-js/internals/object-define-properties.js"),a=o("./node_modules/core-js/internals/enum-bug-keys.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),c=o("./node_modules/core-js/internals/html.js"),d=o("./node_modules/core-js/internals/document-create-element.js"),h=o("./node_modules/core-js/internals/shared-key.js"),f=h("IE_PROTO"),g="prototype",m=function(){},p=function(){var b=d("iframe"),_=a.length,y="<",x="script",A=">",R="java"+x+":",O;for(b.style.display="none",c.appendChild(b),b.src=String(R),O=b.contentWindow.document,O.open(),O.write(y+x+A+"document.F=Object"+y+"/"+x+A),O.close(),p=O.F;_--;)delete p[g][a[_]];return p()};n.exports=Object.create||function(_,y){var x;return _!==null?(m[g]=r(_),x=new m,m[g]=null,x[f]=_):x=p(),y===void 0?x:i(x,y)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(d,h){a(d);for(var f=l(h),g=f.length,m=0,p;g>m;)i.f(d,p=f[m++],h[p]);return d}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;s.f=r?c:function(h,f,g){if(a(h),f=l(f,!0),a(g),i)try{return c(h,f,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(h[f]=g.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),c=o("./node_modules/core-js/internals/to-primitive.js"),d=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(m,p){if(m=l(m),p=c(p,!0),h)try{return f(m,p)}catch{}if(d(m,p))return a(!i.f.call(m,p),m[p])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),d=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,c)?h[c]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?d:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(d,h){var f=i(d),g=0,m=[],p;for(p in f)!r(l,p)&&r(f,p)&&m.push(p);for(;h.length>g;)r(f,p=h[g++])&&(~c(m,p)||m.push(p));return m}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var d=i(this,c);return!!d&&d.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(d,h){return r(d,h),i?l.call(d,h):d.__proto__=h,d}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),c=r.Reflect;n.exports=c&&c.ownKeys||function(h){var f=i.f(l(h)),g=a.f;return g?f.concat(g(h)):f}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),c=o("./node_modules/core-js/internals/set-global.js"),d=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,g=h.enforce,m=String(d).split("toString");i("inspectSource",function(p){return d.call(p)}),(n.exports=function(p,b,_,y){var x=y?!!y.unsafe:!1,A=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof _=="function"&&(typeof b=="string"&&!l(_,"name")&&a(_,"name",b),g(_).source=m.join(typeof b=="string"?b:"")),p===r){A?p[b]=_:c(b,_);return}else x?!R&&p[b]&&(A=!0):delete p[b];A?p[b]=_:a(p,b,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||d.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,d,h){c&&!i(c=h?c:c.prototype,l)&&r(c,l,{configurable:!0,value:d})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=r[l]||i(l,{});(n.exports=function(d,h){return c[d]||(c[d]=h!==void 0?h:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var d=String(i(a)),h=r(l),f=d.length,g,m;return h<0||h>=f?c?"":void 0:(g=d.charCodeAt(h),g<55296||g>56319||h+1===f||(m=d.charCodeAt(h+1))<56320||m>57343?c?d.charAt(h):g:c?d.slice(h,h+2):(g-55296<<10)+(m-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var d=r(l);return d<0?i(d+c,0):a(d,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,d=i("wks");n.exports=function(h){return d[h]||(d[h]=l&&c[h]||(l?c:a)("Symbol."+h))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=i.set,d=i.getterFor(l);a(String,"String",function(h){c(this,{type:l,string:String(h),index:0})},function(){var f=d(this),g=f.string,m=f.index,p;return m>=g.length?{value:void 0,done:!0}:(p=r(g,m,!0),f.index+=p.length,{value:p,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(p){for(var b=1;b<arguments.length;b++){var _=arguments[b];for(var y in _)Object.prototype.hasOwnProperty.call(_,y)&&(p[y]=_[y])}return p},i=function(){function p(b,_){for(var y=0;y<_.length;y++){var x=_[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,_,y){return _&&p(b.prototype,_),y&&p(b,y),b}}(),a=o("./node_modules/classnames/dedupe.js"),l=h(a),c=o("./src/default-attrs.json"),d=h(c);function h(p){return p&&p.__esModule?p:{default:p}}function f(p,b){if(!(p instanceof b))throw new TypeError("Cannot call a class as a function")}var g=function(){function p(b,_){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];f(this,p),this.name=b,this.contents=_,this.tags=y,this.attrs=r({},d.default,{class:"feather feather-"+b})}return i(p,[{key:"toSvg",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,_,{class:(0,l.default)(this.attrs.class,_.class)});return"<svg "+m(y)+">"+this.contents+"</svg>"}},{key:"toString",value:function(){return this.contents}}]),p}();function m(p){return Object.keys(p).map(function(b){return b+'="'+p[b]+'"'}).join(" ")}s.default=g},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),c=o("./src/tags.json"),d=h(c);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],d.default[f])}).reduce(function(f,g){return f[g.name]=g,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),c=o("./src/replace.js"),d=h(c);function h(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:i.default,toSvg:l.default,replace:d.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var p=1;p<arguments.length;p++){var b=arguments[p];for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&(m[_]=b[_])}return m},i=o("./node_modules/classnames/dedupe.js"),a=d(i),l=o("./src/icons.js"),c=d(l);function d(m){return m&&m.__esModule?m:{default:m}}function h(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var p=document.querySelectorAll("[data-feather]");Array.from(p).forEach(function(b){return f(b,m)})}function f(m){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=g(m),_=b["data-feather"];delete b["data-feather"];var y=c.default[_].toSvg(r({},p,b,{class:(0,a.default)(p.class,b.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),A=x.querySelector("svg");m.parentNode.replaceChild(A,m)}function g(m){return Array.from(m.attributes).reduce(function(p,b){return p[b.name]=b.value,p},{})}s.default=h},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function l(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return i.default[c].toSvg(d)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Lp);var Ky=Lp.exports;const ye=is(Ky),Wy={key:0,class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},Zy={class:"items-center justify-between w-full flex-row md:w-auto md:order-1"},Yy={class:"flex flex-row font-medium p-0 mt-4 space-x-8"},Qy=u("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Jy=u("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),Xy=u("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),e2=u("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),t2=u("a",{href:"#",class:"hover:text-primary duration-150"},"Quantizing",-1),n2=u("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),s2={data(){return{}},activated(){},methods:{}},Ip=Object.assign(s2,{__name:"Navigation",setup(t){return(e,n)=>e.$store.state.ready?(C(),S("div",Wy,[u("div",Zy,[u("ul",Yy,[u("li",null,[ve(ht(vn),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Qy]),_:1})]),u("li",null,[ve(ht(vn),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Jy]),_:1})]),u("li",null,[ve(ht(vn),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[Xy]),_:1})]),u("li",null,[ve(ht(vn),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[e2]),_:1})]),u("li",null,[ve(ht(vn),{to:{name:"quantizing"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[t2]),_:1})]),u("li",null,[ve(ht(vn),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:We(()=>[n2]),_:1})])])])])):B("",!0)}});const o2={class:"top-0 shadow-lg"},r2={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},i2=u("div",{class:"flex items-center gap-3 flex-1"},[u("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:tc,alt:"Logo"}),u("div",{class:"flex flex-col"},[u("p",{class:"text-2xl"},"Lord of Large Language Models"),u("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),a2={class:"flex gap-3 flex-1 items-center justify-end"},l2=os('<a href="https://github.com/ParisNeo/lollms-webui" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Visit repository page"><i data-feather="github"></i></div></a><a href="https://www.youtube.com/channel/UCJzrg0cyQV2Z30SQ1v2FdSQ" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Visit repository page"><i data-feather="youtube"></i></div></a><a href="https://twitter.com/SpaceNerduino" target="_blank"><div class="text-2xl hover:text-primary duration-150" title="Follow me on my twitter acount"><i data-feather="twitter"></i></div></a>',3),c2=u("i",{"data-feather":"sun"},null,-1),u2=[c2],d2=u("i",{"data-feather":"moon"},null,-1),h2=[d2],f2=u("body",null,null,-1),p2={name:"TopBar",computed:{...E0(["isConnected"])},data(){return{codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),_e(()=>{ye.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),_e(()=>{$i(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}_e(()=>{$i(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}$i(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:Ip}},g2=Object.assign(p2,{setup(t){return(e,n)=>(C(),S(Re,null,[u("header",o2,[u("nav",r2,[ve(ht(vn),{to:{name:"discussions"}},{default:We(()=>[i2]),_:1}),u("div",a2,[u("div",{title:"Connection status",class:Te(["dot",{"dot-green":e.isConnected,"dot-red":!e.isConnected}])},null,2),l2,u("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},u2),u("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},h2)])]),ve(Ip)]),f2],64))}}),m2={class:"flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},_2={class:"flex overflow-hidden flex-grow"},b2={__name:"App",setup(t){return(e,n)=>(C(),S("div",m2,[ve(g2),u("div",_2,[ve(ht(Np),null,{default:We(({Component:s})=>[(C(),st(N_,null,[(C(),st(U_(s)))],1024))]),_:1})])]))}};const Ve=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},y2={data(){return{activeExtension:null}},computed:{activeExtensions(){return this.$store.state.extensionsZoo.filter(t=>t.is_active)}},methods:{showExtensionPage(t){this.activeExtension=t}}},v2={key:0},w2=["onClick"],x2={key:0},k2=["src"],E2={key:1},C2=u("p",null,"No extension is active. Please install and activate an extension.",-1),A2=[C2];function S2(t,e,n,s,o,r){return C(),S("div",null,[r.activeExtensions.length>0?(C(),S("div",v2,[(C(!0),S(Re,null,Ke(r.activeExtensions,i=>(C(),S("div",{key:i.name,onClick:a=>r.showExtensionPage(i)},[u("div",{class:Te({"active-tab":i===o.activeExtension})},V(i.name),3)],8,w2))),128)),o.activeExtension?(C(),S("div",x2,[u("iframe",{src:o.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,k2)])):B("",!0)])):(C(),S("div",E2,A2))])}const T2=Ve(y2,[["render",S2]]);var Pp={exports:{}};/* @license
Papa Parse
v5.4.1
https://github.com/mholt/PapaParse
License: MIT
*/(function(t,e){(function(n,s){t.exports=s()})(Dp,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(v,k){var M=(k=k||{}).dynamicTyping||!1;if(D(M)&&(k.dynamicTypingFunction=M,M={}),k.dynamicTyping=M,k.transform=!!D(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var L=function(){if(!l.WORKERS_SUPPORTED)return!1;var Q=(le=s.URL||s.webkitURL||null,Z=n.toString(),l.BLOB_URL||(l.BLOB_URL=le.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",Z,")();"],{type:"text/javascript"})))),I=new s.Worker(Q),le,Z;return I.onmessage=y,I.id=a++,i[I.id]=I}();return L.userStep=k.step,L.userChunk=k.chunk,L.userComplete=k.complete,L.userError=k.error,k.step=D(k.step),k.chunk=D(k.chunk),k.complete=D(k.complete),k.error=D(k.error),delete k.worker,void L.postMessage({input:v,config:k,workerId:L.id})}var F=null;return l.NODE_STREAM_INPUT,typeof v=="string"?(v=function(Q){return Q.charCodeAt(0)===65279?Q.slice(1):Q}(v),F=k.download?new h(k):new g(k)):v.readable===!0&&D(v.read)&&D(v.on)?F=new m(k):(s.File&&v instanceof File||v instanceof Object)&&(F=new f(k)),F.stream(v)},unparse:function(v,k){var M=!1,L=!0,F=",",Q=`\r
`,I='"',le=I+I,Z=!1,T=null,q=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(ee){return k.delimiter.indexOf(ee)!==-1}).length||(F=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(M=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(Z=k.skipEmptyLines),typeof k.newline=="string"&&(Q=k.newline),typeof k.quoteChar=="string"&&(I=k.quoteChar),typeof k.header=="boolean"&&(L=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");T=k.columns}k.escapeChar!==void 0&&(le=k.escapeChar+I),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(q=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var G=new RegExp(b(I),"g");if(typeof v=="string"&&(v=JSON.parse(v)),Array.isArray(v)){if(!v.length||Array.isArray(v[0]))return be(null,v,Z);if(typeof v[0]=="object")return be(T||Object.keys(v[0]),v,Z)}else if(typeof v=="object")return typeof v.data=="string"&&(v.data=JSON.parse(v.data)),Array.isArray(v.data)&&(v.fields||(v.fields=v.meta&&v.meta.fields||T),v.fields||(v.fields=Array.isArray(v.data[0])?v.fields:typeof v.data[0]=="object"?Object.keys(v.data[0]):[]),Array.isArray(v.data[0])||typeof v.data[0]=="object"||(v.data=[v.data])),be(v.fields||[],v.data||[],Z);throw new Error("Unable to serialize unrecognized input");function be(ee,we,Ce){var N="";typeof ee=="string"&&(ee=JSON.parse(ee)),typeof we=="string"&&(we=JSON.parse(we));var J=Array.isArray(ee)&&0<ee.length,H=!Array.isArray(we[0]);if(J&&L){for(var te=0;te<ee.length;te++)0<te&&(N+=F),N+=ge(ee[te],te);0<we.length&&(N+=Q)}for(var X=0;X<we.length;X++){var fe=J?ee.length:we[X].length,ue=!1,w=J?Object.keys(we[X]).length===0:we[X].length===0;if(Ce&&!J&&(ue=Ce==="greedy"?we[X].join("").trim()==="":we[X].length===1&&we[X][0].length===0),Ce==="greedy"&&J){for(var E=[],P=0;P<fe;P++){var $=H?ee[P]:P;E.push(we[X][$])}ue=E.join("").trim()===""}if(!ue){for(var j=0;j<fe;j++){0<j&&!w&&(N+=F);var ne=J&&H?ee[j]:j;N+=ge(we[X][ne],j)}X<we.length-1&&(!Ce||0<fe&&!w)&&(N+=Q)}}return N}function ge(ee,we){if(ee==null)return"";if(ee.constructor===Date)return JSON.stringify(ee).slice(1,25);var Ce=!1;q&&typeof ee=="string"&&q.test(ee)&&(ee="'"+ee,Ce=!0);var N=ee.toString().replace(G,le);return(Ce=Ce||M===!0||typeof M=="function"&&M(ee,we)||Array.isArray(M)&&M[we]||function(J,H){for(var te=0;te<H.length;te++)if(-1<J.indexOf(H[te]))return!0;return!1}(N,l.BAD_DELIMITERS)||-1<N.indexOf(F)||N.charAt(0)===" "||N.charAt(N.length-1)===" ")?I+N+I:N}}};if(l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
`,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!o&&!!s.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=_,l.ParserHandle=p,l.NetworkStreamer=h,l.FileStreamer=f,l.StringStreamer=g,l.ReadableStreamStreamer=m,s.jQuery){var c=s.jQuery;c.fn.parse=function(v){var k=v.config||{},M=[];return this.each(function(Q){if(!(c(this).prop("tagName").toUpperCase()==="INPUT"&&c(this).attr("type").toLowerCase()==="file"&&s.FileReader)||!this.files||this.files.length===0)return!0;for(var I=0;I<this.files.length;I++)M.push({file:this.files[I],inputElem:this,instanceConfig:c.extend({},k)})}),L(),this;function L(){if(M.length!==0){var Q,I,le,Z,T=M[0];if(D(v.before)){var q=v.before(T.file,T.inputElem);if(typeof q=="object"){if(q.action==="abort")return Q="AbortError",I=T.file,le=T.inputElem,Z=q.reason,void(D(v.error)&&v.error({name:Q},I,le,Z));if(q.action==="skip")return void F();typeof q.config=="object"&&(T.instanceConfig=c.extend(T.instanceConfig,q.config))}else if(q==="skip")return void F()}var G=T.instanceConfig.complete;T.instanceConfig.complete=function(be){D(G)&&G(be,T.file,T.inputElem),F()},l.parse(T.file,T.instanceConfig)}else D(v.complete)&&v.complete()}function F(){M.splice(0,1),L()}}}function d(v){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(k){var M=R(k);M.chunkSize=parseInt(M.chunkSize),k.step||k.chunk||(M.chunkSize=null),this._handle=new p(M),(this._handle.streamer=this)._config=M}.call(this,v),this.parseChunk=function(k,M){if(this.isFirstChunk&&D(this._config.beforeFirstChunk)){var L=this._config.beforeFirstChunk(k);L!==void 0&&(k=L)}this.isFirstChunk=!1,this._halted=!1;var F=this._partialLine+k;this._partialLine="";var Q=this._handle.parse(F,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var I=Q.meta.cursor;this._finished||(this._partialLine=F.substring(I-this._baseIndex),this._baseIndex=I),Q&&Q.data&&(this._rowCount+=Q.data.length);var le=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(r)s.postMessage({results:Q,workerId:l.WORKER_ID,finished:le});else if(D(this._config.chunk)&&!M){if(this._config.chunk(Q,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Q=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Q.data),this._completeResults.errors=this._completeResults.errors.concat(Q.errors),this._completeResults.meta=Q.meta),this._completed||!le||!D(this._config.complete)||Q&&Q.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),le||Q&&Q.meta.paused||this._nextChunk(),Q}this._halted=!0},this._sendError=function(k){D(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function h(v){var k;(v=v||{}).chunkSize||(v.chunkSize=l.RemoteChunkSize),d.call(this,v),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(M){this._input=M,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=O(this._chunkLoaded,this),k.onerror=O(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var M=this._config.downloadRequestHeaders;for(var L in M)k.setRequestHeader(L,M[L])}if(this._config.chunkSize){var F=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+F)}try{k.send(this._config.downloadRequestBody)}catch(Q){this._chunkError(Q.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(M){var L=M.getResponseHeader("Content-Range");return L===null?-1:parseInt(L.substring(L.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(M){var L=k.statusText||M;this._sendError(new Error(L))}}function f(v){var k,M;(v=v||{}).chunkSize||(v.chunkSize=l.LocalChunkSize),d.call(this,v);var L=typeof FileReader<"u";this.stream=function(F){this._input=F,M=F.slice||F.webkitSlice||F.mozSlice,L?((k=new FileReader).onload=O(this._chunkLoaded,this),k.onerror=O(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var F=this._input;if(this._config.chunkSize){var Q=Math.min(this._start+this._config.chunkSize,this._input.size);F=M.call(F,this._start,Q)}var I=k.readAsText(F,this._config.encoding);L||this._chunkLoaded({target:{result:I}})},this._chunkLoaded=function(F){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(F.target.result)},this._chunkError=function(){this._sendError(k.error)}}function g(v){var k;d.call(this,v=v||{}),this.stream=function(M){return k=M,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var M,L=this._config.chunkSize;return L?(M=k.substring(0,L),k=k.substring(L)):(M=k,k=""),this._finished=!k,this.parseChunk(M)}}}function m(v){d.call(this,v=v||{});var k=[],M=!0,L=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){L&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):M=!0},this._streamData=O(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),M&&(M=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Q){this._streamError(Q)}},this),this._streamError=O(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=O(function(){this._streamCleanUp(),L=!0,this._streamData("")},this),this._streamCleanUp=O(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function p(v){var k,M,L,F=Math.pow(2,53),Q=-F,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,le=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,Z=this,T=0,q=0,G=!1,be=!1,ge=[],ee={data:[],errors:[],meta:{}};if(D(v.step)){var we=v.step;v.step=function(X){if(ee=X,J())N();else{if(N(),ee.data.length===0)return;T+=X.data.length,v.preview&&T>v.preview?M.abort():(ee.data=ee.data[0],we(ee,Z))}}}function Ce(X){return v.skipEmptyLines==="greedy"?X.join("").trim()==="":X.length===1&&X[0].length===0}function N(){return ee&&L&&(te("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),L=!1),v.skipEmptyLines&&(ee.data=ee.data.filter(function(X){return!Ce(X)})),J()&&function(){if(!ee)return;function X(ue,w){D(v.transformHeader)&&(ue=v.transformHeader(ue,w)),ge.push(ue)}if(Array.isArray(ee.data[0])){for(var fe=0;J()&&fe<ee.data.length;fe++)ee.data[fe].forEach(X);ee.data.splice(0,1)}else ee.data.forEach(X)}(),function(){if(!ee||!v.header&&!v.dynamicTyping&&!v.transform)return ee;function X(ue,w){var E,P=v.header?{}:[];for(E=0;E<ue.length;E++){var $=E,j=ue[E];v.header&&($=E>=ge.length?"__parsed_extra":ge[E]),v.transform&&(j=v.transform(j,$)),j=H($,j),$==="__parsed_extra"?(P[$]=P[$]||[],P[$].push(j)):P[$]=j}return v.header&&(E>ge.length?te("FieldMismatch","TooManyFields","Too many fields: expected "+ge.length+" fields but parsed "+E,q+w):E<ge.length&&te("FieldMismatch","TooFewFields","Too few fields: expected "+ge.length+" fields but parsed "+E,q+w)),P}var fe=1;return!ee.data.length||Array.isArray(ee.data[0])?(ee.data=ee.data.map(X),fe=ee.data.length):ee.data=X(ee.data,0),v.header&&ee.meta&&(ee.meta.fields=ge),q+=fe,ee}()}function J(){return v.header&&ge.length===0}function H(X,fe){return ue=X,v.dynamicTypingFunction&&v.dynamicTyping[ue]===void 0&&(v.dynamicTyping[ue]=v.dynamicTypingFunction(ue)),(v.dynamicTyping[ue]||v.dynamicTyping)===!0?fe==="true"||fe==="TRUE"||fe!=="false"&&fe!=="FALSE"&&(function(w){if(I.test(w)){var E=parseFloat(w);if(Q<E&&E<F)return!0}return!1}(fe)?parseFloat(fe):le.test(fe)?new Date(fe):fe===""?null:fe):fe;var ue}function te(X,fe,ue,w){var E={type:X,code:fe,message:ue};w!==void 0&&(E.row=w),ee.errors.push(E)}this.parse=function(X,fe,ue){var w=v.quoteChar||'"';if(v.newline||(v.newline=function($,j){$=$.substring(0,1048576);var ne=new RegExp(b(j)+"([^]*?)"+b(j),"gm"),re=($=$.replace(ne,"")).split("\r"),z=$.split(`
`),se=1<z.length&&z[0].length<re[0].length;if(re.length===1||se)return`
`;for(var U=0,Y=0;Y<re.length;Y++)re[Y][0]===`
`&&U++;return U>=re.length/2?`\r
`:"\r"}(X,w)),L=!1,v.delimiter)D(v.delimiter)&&(v.delimiter=v.delimiter(X),ee.meta.delimiter=v.delimiter);else{var E=function($,j,ne,re,z){var se,U,Y,ie;z=z||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var he=0;he<z.length;he++){var de=z[he],ke=0,W=0,oe=0;Y=void 0;for(var pe=new _({comments:re,delimiter:de,newline:j,preview:10}).parse($),Ae=0;Ae<pe.data.length;Ae++)if(ne&&Ce(pe.data[Ae]))oe++;else{var Ie=pe.data[Ae].length;W+=Ie,Y!==void 0?0<Ie&&(ke+=Math.abs(Ie-Y),Y=Ie):Y=Ie}0<pe.data.length&&(W/=pe.data.length-oe),(U===void 0||ke<=U)&&(ie===void 0||ie<W)&&1.99<W&&(U=ke,se=de,ie=W)}return{successful:!!(v.delimiter=se),bestDelimiter:se}}(X,v.newline,v.skipEmptyLines,v.comments,v.delimitersToGuess);E.successful?v.delimiter=E.bestDelimiter:(L=!0,v.delimiter=l.DefaultDelimiter),ee.meta.delimiter=v.delimiter}var P=R(v);return v.preview&&v.header&&P.preview++,k=X,M=new _(P),ee=M.parse(k,fe,ue),N(),G?{meta:{paused:!0}}:ee||{meta:{paused:!1}}},this.paused=function(){return G},this.pause=function(){G=!0,M.abort(),k=D(v.chunk)?"":k.substring(M.getCharIndex())},this.resume=function(){Z.streamer._halted?(G=!1,Z.streamer.parseChunk(k,!0)):setTimeout(Z.resume,3)},this.aborted=function(){return be},this.abort=function(){be=!0,M.abort(),ee.meta.aborted=!0,D(v.complete)&&v.complete(ee),k=""}}function b(v){return v.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _(v){var k,M=(v=v||{}).delimiter,L=v.newline,F=v.comments,Q=v.step,I=v.preview,le=v.fastMode,Z=k=v.quoteChar===void 0||v.quoteChar===null?'"':v.quoteChar;if(v.escapeChar!==void 0&&(Z=v.escapeChar),(typeof M!="string"||-1<l.BAD_DELIMITERS.indexOf(M))&&(M=","),F===M)throw new Error("Comment character same as delimiter");F===!0?F="#":(typeof F!="string"||-1<l.BAD_DELIMITERS.indexOf(F))&&(F=!1),L!==`
`&&L!=="\r"&&L!==`\r
`&&(L=`
`);var T=0,q=!1;this.parse=function(G,be,ge){if(typeof G!="string")throw new Error("Input must be a string");var ee=G.length,we=M.length,Ce=L.length,N=F.length,J=D(Q),H=[],te=[],X=[],fe=T=0;if(!G)return qe();if(v.header&&!be){var ue=G.split(L)[0].split(M),w=[],E={},P=!1;for(var $ in ue){var j=ue[$];D(v.transformHeader)&&(j=v.transformHeader(j,$));var ne=j,re=E[j]||0;for(0<re&&(P=!0,ne=j+"_"+re),E[j]=re+1;w.includes(ne);)ne=ne+"_"+re;w.push(ne)}if(P){var z=G.split(L);z[0]=w.join(M),G=z.join(L)}}if(le||le!==!1&&G.indexOf(k)===-1){for(var se=G.split(L),U=0;U<se.length;U++){if(X=se[U],T+=X.length,U!==se.length-1)T+=L.length;else if(ge)return qe();if(!F||X.substring(0,N)!==F){if(J){if(H=[],oe(X.split(M)),De(),q)return qe()}else oe(X.split(M));if(I&&I<=U)return H=H.slice(0,I),qe(!0)}}return qe()}for(var Y=G.indexOf(M,T),ie=G.indexOf(L,T),he=new RegExp(b(Z)+b(k),"g"),de=G.indexOf(k,T);;)if(G[T]!==k)if(F&&X.length===0&&G.substring(T,T+N)===F){if(ie===-1)return qe();T=ie+Ce,ie=G.indexOf(L,T),Y=G.indexOf(M,T)}else if(Y!==-1&&(Y<ie||ie===-1))X.push(G.substring(T,Y)),T=Y+we,Y=G.indexOf(M,T);else{if(ie===-1)break;if(X.push(G.substring(T,ie)),Ie(ie+Ce),J&&(De(),q))return qe();if(I&&H.length>=I)return qe(!0)}else for(de=T,T++;;){if((de=G.indexOf(k,de+1))===-1)return ge||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:T}),Ae();if(de===ee-1)return Ae(G.substring(T,de).replace(he,k));if(k!==Z||G[de+1]!==Z){if(k===Z||de===0||G[de-1]!==Z){Y!==-1&&Y<de+1&&(Y=G.indexOf(M,de+1)),ie!==-1&&ie<de+1&&(ie=G.indexOf(L,de+1));var ke=pe(ie===-1?Y:Math.min(Y,ie));if(G.substr(de+1+ke,we)===M){X.push(G.substring(T,de).replace(he,k)),G[T=de+1+ke+we]!==k&&(de=G.indexOf(k,T)),Y=G.indexOf(M,T),ie=G.indexOf(L,T);break}var W=pe(ie);if(G.substring(de+1+W,de+1+W+Ce)===L){if(X.push(G.substring(T,de).replace(he,k)),Ie(de+1+W+Ce),Y=G.indexOf(M,T),de=G.indexOf(k,T),J&&(De(),q))return qe();if(I&&H.length>=I)return qe(!0);break}te.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:H.length,index:T}),de++}}else de++}return Ae();function oe(Je){H.push(Je),fe=T}function pe(Je){var et=0;if(Je!==-1){var at=G.substring(de+1,Je);at&&at.trim()===""&&(et=at.length)}return et}function Ae(Je){return ge||(Je===void 0&&(Je=G.substring(T)),X.push(Je),T=ee,oe(X),J&&De()),qe()}function Ie(Je){T=Je,oe(X),X=[],ie=G.indexOf(L,T)}function qe(Je){return{data:H,errors:te,meta:{delimiter:M,linebreak:L,aborted:q,truncated:!!Je,cursor:fe+(be||0)}}}function De(){Q(qe()),H=[],te=[]}},this.abort=function(){q=!0},this.getCharIndex=function(){return T}}function y(v){var k=v.data,M=i[k.workerId],L=!1;if(k.error)M.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){L=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:A,resume:A};if(D(M.userStep)){for(var Q=0;Q<k.results.data.length&&(M.userStep({data:k.results.data[Q],errors:k.results.errors,meta:k.results.meta},F),!L);Q++);delete k.results}else D(M.userChunk)&&(M.userChunk(k.results,F,k.file),delete k.results)}k.finished&&!L&&x(k.workerId,k.results)}function x(v,k){var M=i[v];D(M.userComplete)&&M.userComplete(k),M.terminate(),delete i[v]}function A(){throw new Error("Not implemented.")}function R(v){if(typeof v!="object"||v===null)return v;var k=Array.isArray(v)?[]:{};for(var M in v)k[M]=R(v[M]);return k}function O(v,k){return function(){v.apply(k,arguments)}}function D(v){return typeof v=="function"}return r&&(s.onmessage=function(v){var k=v.data;if(l.WORKER_ID===void 0&&k&&(l.WORKER_ID=k.workerId),typeof k.input=="string")s.postMessage({workerId:l.WORKER_ID,results:l.parse(k.input,k.config),finished:!0});else if(s.File&&k.input instanceof File||k.input instanceof Object){var M=l.parse(k.input,k.config);M&&s.postMessage({workerId:l.WORKER_ID,results:M,finished:!0})}}),(h.prototype=Object.create(d.prototype)).constructor=h,(f.prototype=Object.create(d.prototype)).constructor=f,(g.prototype=Object.create(g.prototype)).constructor=g,(m.prototype=Object.create(d.prototype)).constructor=m,l})})(Pp);var M2=Pp.exports;const O2=is(M2);const R2={name:"HelpPage",data(){return{lollmsVersion:"unknown",faqs:[],githubLink:"https://github.com/ParisNeo/lollms-webui"}},mounted(){this.loadFAQs(),this.fetchLollmsVersion().then(t=>{this.lollmsVersion=t})},computed:{async fetchLollmsVersion(){return await Se.get("/get_lollms_version")}},async created(){},methods:{async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},loadFAQs(){fetch("/help/faqs.csv").then(t=>t.text()).then(t=>{const{data:e}=O2.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,"<br>")}}},ii=t=>(ns("data-v-6f1a11a2"),t=t(),ss(),t),N2={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},D2=ii(()=>u("h2",{class:"text-2xl font-bold mb-2"},"About Lord of large Language Models",-1)),L2={class:"mb-4"},I2=ii(()=>u("p",null,[xe("Discord link: "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")],-1)),P2={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},F2=ii(()=>u("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),B2={class:"list-disc pl-4"},$2={class:"text-xl font-bold mb-1"},j2=["innerHTML"],z2=ii(()=>u("div",null,[u("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),u("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to me."),u("p",null,[xe("Discord link: "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),U2={class:"mt-8"},q2=os('<h2 class="text-2xl font-bold mb-2" data-v-6f1a11a2>Credits</h2><p class="mb-4" data-v-6f1a11a2>This project is developed by <span class="font-bold" data-v-6f1a11a2>ParisNeo</span> With help from the community.</p><p class="mb-4" data-v-6f1a11a2><span class="font-bold" data-v-6f1a11a2><a href="https://github.com/ParisNeo/lollms-webui/graphs/contributors" data-v-6f1a11a2>Check out the full list of developers here and show them some love.</a></span></p>',3),H2=["href"];function V2(t,e,n,s,o,r){return C(),S("div",N2,[u("div",null,[D2,u("p",L2," Lollms version "+V(o.lollmsVersion),1),I2]),u("div",P2,[F2,u("ul",B2,[(C(!0),S(Re,null,Ke(o.faqs,(i,a)=>(C(),S("li",{key:a},[u("h3",$2,V(i.question),1),u("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,j2)]))),128))])]),z2,u("div",U2,[q2,u("p",null,[xe("Check out the project on "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,H2),xe(".")])])])}const G2=Ve(R2,[["render",V2],["__scopeId","data-v-6f1a11a2"]]);function Ht(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)<s)return t+" B";const o=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let r=-1;const i=10**n;do t/=s,++r;while(Math.round(Math.abs(t)*i)/i>=s&&r<o.length-1);return t.toFixed(n)+" "+o[r]}const K2={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},W2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Z2={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},Y2={class:"text-lg font-medium"},Q2={class:"mt-4 flex justify-center"};function J2(t,e,n,s,o,r){return o.show?(C(),S("div",W2,[u("div",Z2,[u("h3",Y2,V(o.message),1),u("div",Q2,[u("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 ")])])])):B("",!0)}const Fp=Ve(K2,[["render",J2]]),X2={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})}}},ev={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},tv={class:"relative w-full max-w-md max-h-full"},nv={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},sv=u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),ov=u("span",{class:"sr-only"},"Close modal",-1),rv=[sv,ov],iv={class:"p-4 text-center"},av=u("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),lv={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function cv(t,e,n,s,o,r){return o.show?(C(),S("div",ev,[u("div",tv,[u("div",nv,[u("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},rv),u("div",iv,[av,u("h3",lv,V(o.message),1),u("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},V(o.ConfirmButtonText),1),u("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},V(o.DenyButtonText),1)])])])])):B("",!0)}const uv=Ve(X2,[["render",cv]]);const dv={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),_e(()=>{ye.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),_e(()=>{ye.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Rn=t=>(ns("data-v-3ffdabf3"),t=t(),ss(),t),hv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},fv={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"},pv={class:"flex flex-row flex-grow items-center"},gv={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"},mv=Rn(()=>u("i",{"data-feather":"check"},null,-1)),_v=Rn(()=>u("span",{class:"sr-only"},"Check icon",-1)),bv=[mv,_v],yv={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"},vv=Rn(()=>u("i",{"data-feather":"x"},null,-1)),wv=Rn(()=>u("span",{class:"sr-only"},"Cross icon",-1)),xv=[vv,wv],kv=["title"],Ev={class:"flex"},Cv=["onClick"],Av=Rn(()=>u("span",{class:"sr-only"},"Copy message",-1)),Sv=Rn(()=>u("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),Tv=[Av,Sv],Mv=["onClick"],Ov=Rn(()=>u("span",{class:"sr-only"},"Close",-1)),Rv=Rn(()=>u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),Nv=[Ov,Rv];function Dv(t,e,n,s,o,r){return C(),S("div",hv,[ve(Ut,{name:"toastItem",tag:"div"},{default:We(()=>[(C(!0),S(Re,null,Ke(o.toastArr,i=>(C(),S("div",{key:i.id,class:"relative"},[u("div",fv,[u("div",pv,[kf(t.$slots,"default",{},()=>[i.success?(C(),S("div",gv,bv)):B("",!0),i.success?B("",!0):(C(),S("div",yv,xv)),u("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},V(i.message),9,kv)],!0)]),u("div",Ev,[u("button",{type:"button",onClick:ae(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Tv,8,Cv),u("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},Nv,8,Mv)])])]))),128))]),_:3})])}const ai=Ve(dv,[["render",Dv],["__scopeId","data-v-3ffdabf3"]]),Cr="/assets/default_model-9e24e852.png",Lv={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,linkNotValid:!1,selected_variant:""}},async mounted(){_e(()=>{ye.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Ht(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Se.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?Cr:this.icon},defaultImg(t){t.target.src=Cr},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){this.$emit("copy","this.message.content")}},computed:{fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Ht(this.speed)},total_size_computed(){return Ht(this.total_size)},downloaded_size_computed(){return Ht(this.downloaded_size)}},watch:{linkNotValid(){_e(()=>{ye.replace()})}}},Iv=["title"],Pv={key:0,class:"flex flex-row"},Fv={class:"flex gap-3 items-center grow"},Bv=["src"],$v={class:"font-bold font-large text-lg truncate"},jv={key:1,class:"flex items-center flex-row gap-2 my-1"},zv={class:"flex grow items-center"},Uv=u("i",{"data-feather":"box",class:"w-5"},null,-1),qv=u("span",{class:"sr-only"},"Custom model / local model",-1),Hv=[Uv,qv],Vv=u("span",{class:"sr-only"},"Remove",-1),Gv={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"},Kv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Wv=u("div",{role:"status",class:"justify-center"},[u("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1),Zv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Yv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Qv={class:"flex justify-between mb-1"},Jv=u("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Xv={class:"text-sm font-medium text-blue-700 dark:text-white"},ew={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},tw={class:"flex justify-between mb-1"},nw={class:"text-base font-medium text-blue-700 dark:text-white"},sw={class:"text-sm font-medium text-blue-700 dark:text-white"},ow={class:"flex flex-grow"},rw={class:"flex flex-row flex-grow gap-3"},iw={class:"p-2 text-center grow"},aw={key:3},lw={class:"flex flex-row items-center gap-3"},cw=["src"],uw={class:"font-bold font-large text-lg truncate"},dw=u("div",{class:"grow"},null,-1),hw=u("div",{class:"flex-none gap-1"},null,-1),fw={class:"flex items-center flex-row-reverse gap-2 my-1"},pw=u("span",{class:"sr-only"},"Copy info",-1),gw={class:"flex flex-row items-center"},mw={key:0,class:"text-base text-red-600 flex items-center mt-1"},_w=u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),bw=u("span",{class:"sr-only"},"Click to install",-1),yw=u("span",{class:"sr-only"},"Remove",-1),vw=["title"],ww={class:""},xw={class:"flex flex-row items-center"},kw=u("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),Ew=u("b",null,"Manual download: ",-1),Cw=["href","title"],Aw=u("div",{class:"grow"},null,-1),Sw=u("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Tw=[Sw],Mw={class:"flex items-center"},Ow=u("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Rw=u("b",null,"File size: ",-1),Nw={class:"flex items-center"},Dw=u("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Lw=u("b",null,"License: ",-1),Iw={class:"flex items-center"},Pw=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Fw=u("b",null,"Owner: ",-1),Bw=["href"],$w=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),jw=["title"];function zw(t,e,n,s,o,r){return C(),S("div",{class:Te(["relative items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[11]||(e[11]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(C(),S("div",Pv,[u("div",Fv,[u("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,Bv),u("h3",$v,V(n.title),1)])])):B("",!0),n.model.isCustomModel?(C(),S("div",jv,[u("div",zv,[u("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ae(()=>{},["stop"]))},Hv),xe(" Custom model ")]),u("div",null,[n.model.isInstalled?(C(),S("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ae((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Uninstall "),Vv])):B("",!0)])])):B("",!0),o.installing?(C(),S("div",Gv,[u("div",Kv,[Wv,u("div",Zv,[u("div",Yv,[u("div",Qv,[Jv,u("span",Xv,V(Math.floor(o.progress))+"%",1)]),u("div",ew,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt({width:o.progress+"%"})},null,4)]),u("div",tw,[u("span",nw,"Download speed: "+V(r.speed_computed)+"/s",1),u("span",sw,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),u("div",ow,[u("div",rw,[u("div",iw,[u("button",{onClick:e[3]||(e[3]=ae((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):B("",!0),n.model.isCustomModel?B("",!0):(C(),S("div",aw,[u("div",lw,[u("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Te(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,cw),u("h3",uw,V(n.title),1),dw,hw]),u("div",fw,[u("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=ae(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Copy info "),pw]),u("div",gw,[o.linkNotValid?(C(),S("div",mw,[_w,xe(" Link is not valid ")])):B("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(C(),S("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=ae((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Install "),bw])):B("",!0),n.model.isInstalled?(C(),S("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=ae((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Uninstall "),yw])):B("",!0)]),u("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[u("div",ww,[u("div",xw,[kw,Ew,u("a",{href:n.path,onClick:e[8]||(e[8]=ae(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/<current binding> folder then refresh"}," Click here to download ",8,Cw),Aw,u("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=ae(i=>r.toggleCopyLink(),["stop"]))},Tw)]),u("div",Mw,[u("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Ow,Rw,xe(" "+V(r.fileSize),1)],2)]),u("div",Nw,[Dw,Lw,xe(" "+V(n.license),1)]),u("div",Iw,[Pw,Fw,u("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=ae(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},V(n.owner),9,Bw)])]),$w,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},V(n.description.replace(/<\/?[^>]+>/ig," ")),9,jw)],8,vw)]))],10,Iv)}const Uw=Ve(Lv,[["render",zw]]),qw={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}}},Hw={class:"p-4"},Vw={class:"flex items-center mb-4"},Gw=["src"],Kw={class:"text-lg font-semibold"},Ww=u("strong",null,"Author:",-1),Zw=u("strong",null,"Description:",-1),Yw=u("strong",null,"Language:",-1),Qw=u("strong",null,"Category:",-1),Jw={key:0},Xw=u("strong",null,"Disclaimer:",-1),ex=u("strong",null,"Conditioning Text:",-1),tx=u("strong",null,"AI Prefix:",-1),nx=u("strong",null,"User Prefix:",-1),sx=u("strong",null,"Antiprompts:",-1);function ox(t,e,n,s,o,r){return C(),S("div",Hw,[u("div",Vw,[u("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Gw),u("h2",Kw,V(o.personalityName),1)]),u("p",null,[Ww,xe(" "+V(o.personalityAuthor),1)]),u("p",null,[Zw,xe(" "+V(o.personalityDescription),1)]),u("p",null,[Yw,xe(" "+V(o.personalityLanguage),1)]),u("p",null,[Qw,xe(" "+V(o.personalityCategory),1)]),o.disclaimer?(C(),S("p",Jw,[Xw,xe(" "+V(o.disclaimer),1)])):B("",!0),u("p",null,[ex,xe(" "+V(o.conditioningText),1)]),u("p",null,[tx,xe(" "+V(o.aiPrefix),1)]),u("p",null,[nx,xe(" "+V(o.userPrefix),1)]),u("div",null,[sx,u("ul",null,[(C(!0),S(Re,null,Ke(o.antipromptsList,i=>(C(),S("li",{key:i.id},V(i.text),1))),128))])]),u("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(C(),S("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):B("",!0)])}const rx=Ve(qw,[["render",ox]]),Jn="/assets/logo-9d653710.svg",ix="/",ax={props:{personality:{},selected:Boolean,full_path:String,onTalk:Function,onSelected:Function,onMounted:Function,onReinstall:Function,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,_e(()=>{ye.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return ix+this.personality.avatar},defaultImg(t){t.target.src=Jn},toggleTalk(){this.onTalk(this)},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){_e(()=>{ye.replace()})}}},lx=["title"],cx={class:"flex flex-row items-center flex-shrink-0 gap-3"},ux=["src"],dx={class:"font-bold font-large text-lg line-clamp-3"},hx=u("i",{"data-feather":"send",class:"w-5"},null,-1),fx=u("span",{class:"sr-only"},"Talk",-1),px=[hx,fx],gx={class:"flex items-center flex-row-reverse gap-2 my-1"},mx=u("span",{class:"sr-only"},"Settings",-1),_x=u("span",{class:"sr-only"},"Reinstall personality",-1),bx=u("span",{class:"sr-only"},"Click to install",-1),yx=u("span",{class:"sr-only"},"Remove",-1),vx={class:""},wx={class:""},xx={class:"flex items-center"},kx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Ex=u("b",null,"Author: ",-1),Cx={class:"flex items-center"},Ax=u("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Sx=u("b",null,"Language: ",-1),Tx={class:"flex items-center"},Mx=u("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Ox=u("b",null,"Category: ",-1),Rx=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Nx=["title"];function Dx(t,e,n,s,o,r){return C(),S("div",{class:Te(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[7]||(e[7]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[u("div",{class:Te(n.personality.installed?"":"opacity-50")},[u("div",cx,[u("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,ux),u("h3",dx,V(n.personality.name),1),u("button",{type:"button",title:"Talk",onClick:[e[1]||(e[1]=(...i)=>r.toggleTalk&&r.toggleTalk(...i)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},px)]),u("div",gx,[r.selected_computed?(C(),S("button",{key:0,type:"button",title:"Settings",onClick:e[3]||(e[3]=ae((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Settings "),mx])):B("",!0),r.selected_computed?(C(),S("button",{key:1,title:"Click to Reinstall personality",type:"button",onClick:e[4]||(e[4]=ae((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Reinstall personality "),_x])):B("",!0),o.isMounted?B("",!0):(C(),S("button",{key:2,title:"Mount personality",type:"button",onClick:e[5]||(e[5]=ae((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Mount "),bx])),o.isMounted?(C(),S("button",{key:3,title:"Unmount personality",type:"button",onClick:e[6]||(e[6]=ae((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Unmount "),yx])):B("",!0)]),u("div",vx,[u("div",wx,[u("div",xx,[kx,Ex,xe(" "+V(n.personality.author),1)]),u("div",Cx,[Ax,Sx,xe(" "+V(n.personality.language),1)]),u("div",Tx,[Mx,Ox,xe(" "+V(n.personality.category),1)])]),Rx,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},V(n.personality.description),9,Nx)])],2)],10,lx)}const Bp=Ve(ax,[["render",Dx]]),Lx="/",Ix={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){_e(()=>{ye.replace()})},methods:{getImgUrl(){return Lx+this.binding.icon},defaultImg(t){t.target.src=Jn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){_e(()=>{ye.replace()})}}},Px=["title"],Fx={class:"flex flex-row items-center gap-3"},Bx=["src"],$x={class:"font-bold font-large text-lg truncate"},jx=u("div",{class:"grow"},null,-1),zx={class:"flex-none gap-1"},Ux=u("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),qx=u("span",{class:"sr-only"},"Help",-1),Hx=[Ux,qx],Vx={class:"flex items-center flex-row-reverse gap-2 my-1"},Gx=u("span",{class:"sr-only"},"Click to install",-1),Kx=u("span",{class:"sr-only"},"Reinstall binding",-1),Wx=u("span",{class:"sr-only"},"Settings",-1),Zx={class:""},Yx={class:""},Qx={class:"flex items-center"},Jx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Xx=u("b",null,"Author: ",-1),ek={class:"flex items-center"},tk=u("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),nk=u("b",null,"Folder: ",-1),sk={class:"flex items-center"},ok=u("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),rk=u("b",null,"Version: ",-1),ik={class:"flex items-center"},ak=u("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),lk=u("b",null,"Link: ",-1),ck=["href"],uk=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),dk=["title"];function hk(t,e,n,s,o,r){return C(),S("div",{class:Te(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[6]||(e[6]=ae((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[u("div",null,[u("div",Fx,[u("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,Bx),u("h3",$x,V(n.binding.name),1),jx,u("div",zx,[n.selected?(C(),S("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...i)=>r.toggleReloadBinding&&r.toggleReloadBinding(...i)),e[2]||(e[2]=ae(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Hx)):B("",!0)])]),u("div",Vx,[n.binding.installed?B("",!0):(C(),S("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=ae((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Install "),Gx])),n.binding.installed?(C(),S("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=ae((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[xe(" Reinstall binding "),Kx])):B("",!0),n.selected?(C(),S("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[5]||(e[5]=ae((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[xe(" Settings "),Wx])):B("",!0)]),u("div",Zx,[u("div",Yx,[u("div",Qx,[Jx,Xx,xe(" "+V(n.binding.author),1)]),u("div",ek,[tk,nk,xe(" "+V(n.binding.folder),1)]),u("div",sk,[ok,rk,xe(" "+V(n.binding.version),1)]),u("div",ik,[ak,lk,u("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},V(n.binding.link),9,ck)])]),uk,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},V(n.binding.description),9,dk)])])],10,Px)}const fk=Ve(Ix,[["render",hk]]),Yt=Object.create(null);Yt.open="0";Yt.close="1";Yt.ping="2";Yt.pong="3";Yt.message="4";Yt.upgrade="5";Yt.noop="6";const hr=Object.create(null);Object.keys(Yt).forEach(t=>{hr[Yt[t]]=t});const pk={type:"error",data:"parser error"},gk=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",mk=typeof ArrayBuffer=="function",_k=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,$p=({type:t,data:e},n,s)=>gk&&e instanceof Blob?n?s(e):ju(e,s):mk&&(e instanceof ArrayBuffer||_k(e))?n?s(e):ju(new Blob([e]),s):s(Yt[t]+(e||"")),ju=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},zu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",no=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<zu.length;t++)no[zu.charCodeAt(t)]=t;const bk=t=>{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),d=new Uint8Array(c);for(s=0;s<n;s+=4)r=no[t.charCodeAt(s)],i=no[t.charCodeAt(s+1)],a=no[t.charCodeAt(s+2)],l=no[t.charCodeAt(s+3)],d[o++]=r<<2|i>>4,d[o++]=(i&15)<<4|a>>2,d[o++]=(a&3)<<6|l&63;return c},yk=typeof ArrayBuffer=="function",jp=(t,e)=>{if(typeof t!="string")return{type:"message",data:zp(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:vk(t.substring(1),e)}:hr[n]?t.length>1?{type:hr[n],data:t.substring(1)}:{type:hr[n]}:pk},vk=(t,e)=>{if(yk){const n=bk(t);return zp(n,e)}else return{base64:!0,data:t}},zp=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},Up=String.fromCharCode(30),wk=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{$p(r,!1,a=>{s[i]=a,++o===n&&e(s.join(Up))})})},xk=(t,e)=>{const n=t.split(Up),s=[];for(let o=0;o<n.length;o++){const r=jp(n[o],e);if(s.push(r),r.type==="error")break}return s},qp=4;function Xe(t){if(t)return kk(t)}function kk(t){for(var e in Xe.prototype)t[e]=Xe.prototype[e];return t}Xe.prototype.on=Xe.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Xe.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};Xe.prototype.off=Xe.prototype.removeListener=Xe.prototype.removeAllListeners=Xe.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var s,o=0;o<n.length;o++)if(s=n[o],s===e||s.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};Xe.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(n){n=n.slice(0);for(var s=0,o=n.length;s<o;++s)n[s].apply(this,e)}return this};Xe.prototype.emitReserved=Xe.prototype.emit;Xe.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Xe.prototype.hasListeners=function(t){return!!this.listeners(t).length};const kt=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Hp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Ek=kt.setTimeout,Ck=kt.clearTimeout;function li(t,e){e.useNativeTimers?(t.setTimeoutFn=Ek.bind(kt),t.clearTimeoutFn=Ck.bind(kt)):(t.setTimeoutFn=kt.setTimeout.bind(kt),t.clearTimeoutFn=kt.clearTimeout.bind(kt))}const Ak=1.33;function Sk(t){return typeof t=="string"?Tk(t):Math.ceil((t.byteLength||t.size)*Ak)}function Tk(t){let e=0,n=0;for(let s=0,o=t.length;s<o;s++)e=t.charCodeAt(s),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(s++,n+=4);return n}class Mk extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Vp extends Xe{constructor(e){super(),this.writable=!1,li(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new Mk(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=jp(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const Gp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),il=64,Ok={};let Uu=0,Go=0,qu;function Hu(t){let e="";do e=Gp[t%il]+e,t=Math.floor(t/il);while(t>0);return e}function Kp(){const t=Hu(+new Date);return t!==qu?(Uu=0,qu=t):t+"."+Hu(Uu++)}for(;Go<il;Go++)Ok[Gp[Go]]=Go;function Wp(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function Rk(t){let e={},n=t.split("&");for(let s=0,o=n.length;s<o;s++){let r=n[s].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}let Zp=!1;try{Zp=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const Nk=Zp;function Yp(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Nk))return new XMLHttpRequest}catch{}if(!e)try{return new kt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function Dk(){}const Lk=function(){return new Yp({xdomain:!1}).responseType!=null}();class Ik extends Vp{constructor(e){if(super(e),this.polling=!1,typeof location<"u"){const s=location.protocol==="https:";let o=location.port;o||(o=s?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||o!==e.port,this.xs=e.secure!==s}const n=e&&e.forceBase64;this.supportsBinary=Lk&&!n}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const n=()=>{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)};xk(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,wk(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=Kp()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=Wp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Kt(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Kt extends Xe{constructor(e,n){super(),li(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=Hp(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new Yp(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Kt.requestsCount++,Kt.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Dk,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Kt.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Kt.requestsCount=0;Kt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Vu);else if(typeof addEventListener=="function"){const t="onpagehide"in kt?"pagehide":"unload";addEventListener(t,Vu,!1)}}function Vu(){for(let t in Kt.requests)Kt.requests.hasOwnProperty(t)&&Kt.requests[t].abort()}const Qp=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Ko=kt.WebSocket||kt.MozWebSocket,Gu=!0,Pk="arraybuffer",Ku=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Fk extends Vp{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=Ku?{}:Hp(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=Gu&&!Ku?n?new Ko(e,n):new Ko(e):new Ko(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||Pk,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<e.length;n++){const s=e[n],o=n===e.length-1;$p(s,this.supportsBinary,r=>{const i={};try{Gu&&this.ws.send(r)}catch{}o&&Qp(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=Kp()),this.supportsBinary||(e.b64=1);const o=Wp(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!Ko}}const Bk={websocket:Fk,polling:Ik},$k=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,jk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function al(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=$k.exec(t||""),r={},i=14;for(;i--;)r[jk[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=zk(r,r.path),r.queryKey=Uk(r,r.query),r}function zk(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 Uk(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Jp=class ps extends Xe{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=al(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=al(n.host).host),li(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=Rk(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=qp,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Bk[e](s)}open(){let e;if(this.opts.rememberUpgrade&&ps.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(e){let n=this.createTransport(e),s=!1;ps.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;ps.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,d(),n.close(),n=null)}const i=h=>{const f=new Error("probe error: "+h);f.transport=n.name,r(),this.emitReserved("upgradeError",f)};function a(){i("transport closed")}function l(){i("socket closed")}function c(h){n&&h.name!==n.name&&r()}const d=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",ps.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e<n;e++)this.probe(this.upgrades[e])}}onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=e.data,this.onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{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;s<this.writeBuffer.length;s++){const o=this.writeBuffer[s].data;if(o&&(n+=Sk(o)),s>0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){ps.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;s<o;s++)~this.transports.indexOf(e[s])&&n.push(e[s]);return n}};Jp.protocol=qp;function qk(t,e="",n){let s=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),s=al(t)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const r=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+r+":"+s.port+e,s.href=s.protocol+"://"+r+(n&&n.port===s.port?"":":"+s.port),s}const Hk=typeof ArrayBuffer=="function",Vk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Xp=Object.prototype.toString,Gk=typeof Blob=="function"||typeof Blob<"u"&&Xp.call(Blob)==="[object BlobConstructor]",Kk=typeof File=="function"||typeof File<"u"&&Xp.call(File)==="[object FileConstructor]";function nc(t){return Hk&&(t instanceof ArrayBuffer||Vk(t))||Gk&&t instanceof Blob||Kk&&t instanceof File}function fr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n<s;n++)if(fr(t[n]))return!0;return!1}if(nc(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return fr(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&fr(t[n]))return!0;return!1}function Wk(t){const e=[],n=t.data,s=t;return s.data=ll(n,e),s.attachments=e.length,{packet:s,buffers:e}}function ll(t,e){if(!t)return t;if(nc(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let s=0;s<t.length;s++)n[s]=ll(t[s],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=ll(t[s],e));return n}return t}function Zk(t,e){return t.data=cl(t.data,e),delete t.attachments,t}function cl(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=cl(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=cl(t[n],e));return t}const Yk=5;var Le;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Le||(Le={}));class Qk{constructor(e){this.replacer=e}encode(e){return(e.type===Le.EVENT||e.type===Le.ACK)&&fr(e)?this.encodeAsBinary({type:e.type===Le.EVENT?Le.BINARY_EVENT:Le.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Le.BINARY_EVENT||e.type===Le.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=Wk(e),s=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(s),o}}class sc extends Xe{constructor(e){super(),this.reviver=e}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const s=n.type===Le.BINARY_EVENT;s||n.type===Le.BINARY_ACK?(n.type=s?Le.EVENT:Le.ACK,this.reconstructor=new Jk(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(nc(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const s={type:Number(e.charAt(0))};if(Le[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===Le.BINARY_EVENT||s.type===Le.BINARY_ACK){const r=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const i=e.substring(r,n);if(i!=Number(i)||e.charAt(n)!=="-")throw new Error("Illegal attachments");s.attachments=Number(i)}if(e.charAt(n+1)==="/"){const r=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););s.nsp=e.substring(r,n)}else s.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const r=n+1;for(;++n;){const i=e.charAt(n);if(i==null||Number(i)!=i){--n;break}if(n===e.length)break}s.id=Number(e.substring(r,n+1))}if(e.charAt(++n)){const r=this.tryParse(e.substr(n));if(sc.isPayloadValid(s.type,r))s.data=r;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case Le.CONNECT:return typeof n=="object";case Le.DISCONNECT:return n===void 0;case Le.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case Le.EVENT:case Le.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="string"||typeof n[0]=="number");case Le.ACK:case Le.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Jk{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=Zk(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Xk=Object.freeze(Object.defineProperty({__proto__:null,Decoder:sc,Encoder:Qk,get PacketType(){return Le},protocol:Yk},Symbol.toStringTag,{value:"Module"}));function Nt(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const eE=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class eg extends Xe{constructor(e,n,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Nt(e,"open",this.onopen.bind(this)),Nt(e,"packet",this.onpacket.bind(this)),Nt(e,"error",this.onerror.bind(this)),Nt(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){if(eE.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:Le.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const i=this.ids++,a=n.pop();this._registerAckCallback(i,a),s.id=i}const o=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!o||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(e,n){var s;const o=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let i=0;i<this.sendBuffer.length;i++)this.sendBuffer[i].id===e&&this.sendBuffer.splice(i,1);n.call(this,new Error("operation has timed out"))},o);this.acks[e]=(...i)=>{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Le.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Le.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Le.EVENT:case Le.BINARY_EVENT:this.onevent(e);break;case Le.ACK:case Le.BINARY_ACK:this.onack(e);break;case Le.DISCONNECT:this.ondisconnect();break;case Le.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:Le.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Le.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s<n.length;s++)if(e===n[s])return n.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let s=0;s<n.length;s++)if(e===n[s])return n.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const s of n)s.apply(this,e.data)}}}function Hs(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Hs.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};Hs.prototype.reset=function(){this.attempts=0};Hs.prototype.setMin=function(t){this.ms=t};Hs.prototype.setMax=function(t){this.max=t};Hs.prototype.setJitter=function(t){this.jitter=t};class ul extends Xe{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,li(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 Hs({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||Xk;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Jp(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Nt(n,"open",function(){s.onopen(),e&&e()}),r=Nt(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(Nt(e,"ping",this.onping.bind(this)),Nt(e,"data",this.ondata.bind(this)),Nt(e,"error",this.onerror.bind(this)),Nt(e,"close",this.onclose.bind(this)),Nt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Qp(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new eg(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;s<n.length;s++)this.engine.write(n[s],e.options)}cleanup(){this.subs.forEach(e=>e()),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 Js={};function pr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=qk(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Js[o]&&r in Js[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new ul(s,e):(Js[o]||(Js[o]=new ul(s,e)),l=Js[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(pr,{Manager:ul,Socket:eg,io:pr,connect:pr});const tE=void 0,je=new pr(tE);je.onopen=()=>{console.log("WebSocket connection established.")};je.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};je.onerror=t=>{console.error("WebSocket error:",t),je.disconnect()};const nE={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})}}},sE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},oE={class:"relative w-full max-w-md max-h-full"},rE={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},iE=u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),aE=u("span",{class:"sr-only"},"Close modal",-1),lE=[iE,aE],cE={class:"p-4 text-center"},uE=u("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),dE={class:"p-4 text-center mx-auto mb-4"},hE=u("label",{class:"mr-2"},"Model path",-1);function fE(t,e,n,s,o,r){return o.show?(C(),S("div",sE,[u("div",oE,[u("div",rE,[u("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},lE),u("div",cE,[uE,u("div",dE,[hE,me(u("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[Pe,o.model_path]])]),u("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),u("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):B("",!0)}const pE=Ve(nE,[["render",fE]]),gE={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){_e(()=>{ye.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<t.length;o++)t[o].isHelp=!1;return new Promise(o=>{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){_e(()=>{ye.replace()})}}},mE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},_E={class:"relative w-full max-w-md"},bE={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},yE={class:"flex flex-row flex-grow items-center m-2 p-1"},vE={class:"grow flex items-center"},wE=u("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),xE={class:"text-lg font-semibold select-none mr-2"},kE={class:"items-end"},EE=u("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),CE=u("span",{class:"sr-only"},"Close form modal",-1),AE=[EE,CE],SE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},TE={class:"px-2"},ME={key:0},OE={key:0},RE={class:"text-base font-semibold"},NE={key:0,class:"relative inline-flex"},DE=["onUpdate:modelValue"],LE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),IE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},PE=["onUpdate:modelValue"],FE={key:1},BE={class:"text-base font-semibold"},$E={key:0,class:"relative inline-flex"},jE=["onUpdate:modelValue"],zE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),UE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},qE=["onUpdate:modelValue"],HE=["value","selected"],VE={key:1},GE={class:"text-base font-semibold"},KE={key:0,class:"relative inline-flex"},WE=["onUpdate:modelValue"],ZE=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),YE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},QE=["onUpdate:modelValue"],JE=["onUpdate:modelValue","min","max"],XE={key:2},e5={class:"mb-2 relative flex items-center gap-2"},t5={for:"default-checkbox",class:"text-base font-semibold"},n5=["onUpdate:modelValue"],s5={key:0,class:"relative inline-flex"},o5=["onUpdate:modelValue"],r5=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),i5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},a5={key:3},l5={class:"text-base font-semibold"},c5={key:0,class:"relative inline-flex"},u5=["onUpdate:modelValue"],d5=u("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[u("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),h5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},f5=["onUpdate:modelValue"],p5=u("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),g5={class:"flex flex-row flex-grow gap-3"},m5={class:"p-2 text-center grow"};function _5(t,e,n,s,o,r){return o.show?(C(),S("div",mE,[u("div",_E,[u("div",bE,[u("div",yE,[u("div",vE,[wE,u("h3",xE,V(o.title),1)]),u("div",kE,[u("button",{type:"button",onClick:e[0]||(e[0]=ae(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},AE)])]),u("div",SE,[(C(!0),S(Re,null,Ke(o.controls_array,(i,a)=>(C(),S("div",TE,[i.type=="str"?(C(),S("div",ME,[i.options?B("",!0):(C(),S("div",OE,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",RE,V(i.name)+": ",1),i.help?(C(),S("label",NE,[me(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,DE),[[xt,i.isHelp]]),LE])):B("",!0)],2),i.isHelp?(C(),S("p",IE,V(i.help),1)):B("",!0),me(u("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter string"},null,8,PE),[[Pe,i.value]])])),i.options?(C(),S("div",FE,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",BE,V(i.name)+": ",1),i.help?(C(),S("label",$E,[me(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,jE),[[xt,i.isHelp]]),zE])):B("",!0)],2),i.isHelp?(C(),S("p",UE,V(i.help),1)):B("",!0),me(u("select",{"onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(C(!0),S(Re,null,Ke(i.options,l=>(C(),S("option",{value:l,selected:i.value===l},V(l),9,HE))),256))],8,qE),[[Za,i.value]])])):B("",!0)])):B("",!0),i.type=="int"||i.type=="float"?(C(),S("div",VE,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",GE,V(i.name)+": ",1),i.help?(C(),S("label",KE,[me(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,WE),[[xt,i.isHelp]]),ZE])):B("",!0)],2),i.isHelp?(C(),S("p",YE,V(i.help),1)):B("",!0),me(u("input",{type:"number","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter number"},null,8,QE),[[Pe,i.value]]),i.min!=null&&i.max!=null?me((C(),S("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,8,JE)),[[Pe,i.value]]):B("",!0)])):B("",!0),i.type=="bool"?(C(),S("div",XE,[u("div",e5,[u("label",t5,V(i.name)+": ",1),me(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,n5),[[xt,i.value]]),i.help?(C(),S("label",s5,[me(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,o5),[[xt,i.isHelp]]),r5])):B("",!0)]),i.isHelp?(C(),S("p",i5,V(i.help),1)):B("",!0)])):B("",!0),i.type=="list"?(C(),S("div",a5,[u("label",{class:Te(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[u("div",l5,V(i.name)+": ",1),i.help?(C(),S("label",c5,[me(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,u5),[[xt,i.isHelp]]),d5])):B("",!0)],2),i.isHelp?(C(),S("p",h5,V(i.help),1)):B("",!0),me(u("input",{type:"text","onUpdate:modelValue":l=>i.value=l,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter comma separated values"},null,8,f5),[[Pe,i.value]])])):B("",!0),p5]))),256)),u("div",g5,[u("div",m5,[u("button",{onClick:e[1]||(e[1]=ae(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},V(o.ConfirmButtonText),1),u("button",{onClick:e[2]||(e[2]=ae(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},V(o.DenyButtonText),1)])])])])])])):B("",!0)}const tg=Ve(gE,[["render",_5]]);const b5={props:{show:{type:Boolean,required:!0},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null}},methods:{selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated")},formatSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"}}},y5={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},v5={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},w5={class:"text-xl font-semibold mb-4"},x5={class:"h-48 overflow-y-auto"},k5=["onClick"],E5={class:"font-bold"},C5=u("br",null,null,-1),A5={class:"text-xs text-gray-500"},S5={class:"flex justify-end mt-4"},T5=["disabled"];function M5(t,e,n,s,o,r){return C(),st(xo,{name:"fade"},{default:We(()=>[n.show?(C(),S("div",y5,[u("div",v5,[u("h2",w5,V(n.title),1),u("div",x5,[u("ul",null,[(C(!0),S(Re,null,Ke(n.choices,(i,a)=>(C(),S("li",{key:a,onClick:l=>r.selectChoice(i),class:Te([{"selected-choice":i===o.selectedChoice},"py-2 px-4 cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700"])},[u("span",E5,V(i.name),1),C5,u("span",A5,V(this.formatSize(i.size)),1)],10,k5))),128))])]),u("div",S5,[u("button",{onClick:e[0]||(e[0]=(...i)=>r.closeDialog&&r.closeDialog(...i)),class:"py-2 px-4 mr-2 bg-red-500 hover:bg-red-600 text-white rounded-lg transition duration-300"}," Cancel "),u("button",{onClick:e[1]||(e[1]=(...i)=>r.validateChoice&&r.validateChoice(...i)),class:Te([{"bg-gray-400 cursor-not-allowed":!o.selectedChoice,"bg-blue-500 hover:bg-blue-600":o.selectedChoice,"text-white":o.selectedChoice,"text-gray-500":!o.selectedChoice},"py-2 px-4 rounded-lg transition duration-300"]),disabled:!o.selectedChoice}," Validate ",10,T5)])])])):B("",!0)]),_:1})}const O5=Ve(b5,[["render",M5]]);const R5="/";Se.defaults.baseURL="/";const N5={components:{AddModelDialog:pE,MessageBox:Fp,YesNoDialog:uv,ModelEntry:Uw,PersonalityViewer:rx,Toast:ai,PersonalityEntry:Bp,BindingEntry:fk,UniversalForm:tg,ChoiceDialog:O5},data(){return{audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_language:null,personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,minconf_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,persLangArr:[],persCatgArr:[],persArr:[],langArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:R5,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){je.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{getVoices(){"speechSynthesis"in window&&(this.audioVoices=speechSynthesis.getVoices(),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),je.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model:
`+t.title+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}}else je.off("install_progress",n),console.log("Install failed"),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",s.error),this.$refs.toast.showToast(`Model:
`+t.title+`
failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage")};je.on("install_progress",n),je.emit("install_model",{path:e}),console.log("Started installation, please wait")},uploadAvatar(t){const e=t.target.files[0],n=new FormData;n.append("avatar",e),console.log("Uploading avatar"),Se.post("/upload_avatar",n).then(s=>{console.log("Avatar uploaded successfully"),this.$refs.toast.showToast("Avatar uploaded successfully!",4,!0);const o=s.data.fileName;console.log("response",s),this.user_avatar=o,this.update_setting("user_avatar",o,()=>{}).then(()=>{})}).catch(s=>{console.error("Error uploading avatar:",s)})},async update_software(){console.log("Posting");const t=await this.api_get_req("update_software");console.log("Posting done"),t.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Failure!",4,!1)},on_loading_text(t){console.log("Loading text",t),this.loading_text=t},async constructor(){for(this.isLoading=!0,_e(()=>{ye.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.configFile.model_name&&(this.isModelSelected=!0),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories?language="+this.configFile.personality_language),this.persArr=await this.api_get_req("list_personalities?language="+this.configFile.personality_language+"&category"+this.configFile.personality_category),this.langArr=await this.api_get_req("list_languages"),this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),this.personality_language=this.configFile.personality_language,this.personality_category=this.configFile.personality_category,this.personalitiesFiltered=this.personalities.filter(t=>t.category===this.configFile.personality_category&&t.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.modelsFiltered=this.models,this.bindingsArr.sort((t,e)=>t.name.localeCompare(e.name)),this.isLoading=!1,this.isMounted=!0},async open_mzl(){this.mzl_collapsed=!this.mzl_collapsed,console.log("Fetching models")},async getVramUsage(){await this.api_get_req("vram_usage")},async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model:
`+model_object.title+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage")}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model:
`+model_object.title+`
failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage")}},showAddModelDialog(){this.$refs.addmodeldialog.showDialog("").then(()=>{console.log(this.$refs.addmodeldialog.model_path);const t=this.$refs.addmodeldialog.model_path;je.emit("install_model",{path:t},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.minconf_collapsed=t,this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchPersonalities(){this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities:
${t}`)})},fetchHardwareInfos(){this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage")},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}if(t.isMounted&&this.configFile.personalities.includes(t.full_path)){const e=await this.select_personality(t);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality:
`+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality:
`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);_e(()=>{ye.replace()})}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&this.update_model(t.title).then(e=>{console.log("update_model",e),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model:
`+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0}):this.$refs.toast.showToast(`Model:
`+t.title+`
is not installed`,4,!1),_e(()=>{ye.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title}
File size: ${t.fileSize}
Manually downloaded model `:e=`Model name: ${t.title}
File size: ${t.fileSize}
Download: ${t.path}
License: ${t.license}
Owner: ${t.owner}
Website: ${t.owner_link}
Description: ${t.description}`,this.$refs.toast.showToast("Copied model info to clipboard!",4,!0),navigator.clipboard.writeText(e.trim())},onCopyLink(t){this.$refs.toast.showToast("Copied link to clipboard!",4,!0),navigator.clipboard.writeText(t.path)},onCancelInstall(){const t=this.addModel;console.log("cancel install",t),this.modelDownlaodInProgress=!1,this.addModel={},this.$refs.toast.showToast("Model installation aborted",4,!1),je.emit("cancel_install",{model_name:t.model_name,binding_folder:t.binding_folder,model_url:t.model_url})},onInstall(t){this.variant_choices=t.model.variants,this.currenModelToInstall=t,console.log(this.variant_choices),this.variantSelectionDialogVisible=!0},onInstallAddModel(){if(!this.addModel.url){this.$refs.toast.showToast("Link is empty",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),je.off("install_progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model:
`+this.addModel.model_name+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage"))):(je.off("install_progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model:
`+this.addModel.model_name+`
failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};je.on("install_progress",e),je.emit("install_model",{path:t}),console.log("Started installation, please wait")},uploadLocalModel(){if(this.uploadData.length==0){this.$refs.toast.showToast("No files to upload",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),je.off("progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model:
`+this.addModel.model_name+`
installed!`,4,!0),this.$store.dispatch("refreshDiskUsage"))):(je.off("progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model:
`+this.addModel.model_name+`
failed to install!`,4,!1),this.$store.dispatch("refreshDiskUsage"))};je.on("progress",e),console.log("Started installation, please wait")},setFileList(t){this.uploadData=t.target.files,console.log("set file list",this.uploadData)},onUninstall(t){this.$refs.yesNoDialog.askQuestion(`Are you sure you want to delete this model?
[`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,je.off("install_progress",n),this.showProgress=!1;const o=this.models.findIndex(r=>r.path===t.path);this.models[o].isInstalled=!1,t.model.isCustomModel&&(this.models=this.models.filter(r=>r.title!==t.title)),this.$refs.toast.showToast(`Model:
`+t.title+`
was uninstalled!`,4,!0),this.$store.dispatch("refreshDiskUsage")}else console.log("uninstalling failed",s),t.uninstalling=!1,this.showProgress=!1,je.off("install_progress",n),console.error("Uninstallation failed:",message.error),this.$refs.toast.showToast(`Model:
`+t.title+`
failed to uninstall!`,4,!1),this.$store.dispatch("refreshDiskUsage")};je.on("install_progress",n),je.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){if(console.log("Binding selected"),!t.binding.installed){this.$refs.toast.showToast(`Binding is not installed:
`+t.binding.name,4,!1);return}this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onInstallBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,Se.post("/reinstall_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_binding",e),e.data.status?this.$refs.toast.showToast("Reinstalled binding successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall binding",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall binding
`+e.message,4,!1),{status:!1}))},onSettingsBinding(t){try{this.isLoading=!0,Se.get("/get_active_binding_settings").then(e=>{this.isLoading=!1,e&&(console.log("binding sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Binding settings - "+t.binding.name,"Save changes","Cancel").then(n=>{try{Se.post("/set_active_binding_settings",n).then(s=>{s&&s.data?(console.log("binding set with new settings",s.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses.
`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get binding settings responses.
Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+e.message,4,!1)}},onReloadBinding(t){this.isLoading=!0,Se.post("/reload_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reload_binding",e),e.data.status?this.$refs.toast.showToast("Binding reloaded successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall binding",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall binding
`+e.message,4,!1),{status:!1}))},onSettingsPersonality(t){try{this.isLoading=!0,Se.get("/get_active_personality_settings").then(e=>{this.isLoading=!1,e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Se.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get Personality settings responses.
`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses.
Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},update_personality_language(t,e){this.personality_language=t,e()},update_personality_category(t,e){this.personality_category=t,e()},refresh(){console.log("Refreshing"),this.$store.dispatch("refreshConfig").then(()=>{console.log(this.personality_language),console.log(this.personality_category),this.api_get_req("list_personalities_categories?language="+this.personality_language).then(t=>{console.log("cats",t),this.persCatgArr=t,this.personalitiesFiltered=this.personalities.filter(e=>e.category===this.personality_category&&e.language===this.personality_language),this.personalitiesFiltered.sort()})})},toggleAccordion(){this.showAccordion=!this.showAccordion},async update_setting(t,e,n){console.log("Updating setting",t,":",e),this.isLoading=!0;const s={setting_name:t,setting_value:e};let o=await Se.post("/update_setting",s);if(o)return this.isLoading=!1,console.log("update_setting",o),o.status?this.$refs.toast.showToast(`Setting updated successfully.
Don't forget to save to keep the setting permanently.`,4,!0):this.$refs.toast.showToast(`Setting update failed.
Please view the console for more details.`,4,!1),n!==void 0&&n(o),o.data;this.isLoading=!1},update_binding(t){this.isLoading=!0,console.log("updating binding_name"),this.update_setting("binding_name",t,e=>{console.log("updated binding_name");const n=this.bindingsArr.findIndex(o=>o.folder==t),s=this.bindingsArr[n];s&&(s.installed=!0),this.settingsChanged=!0,this.isLoading=!1,console.log("updating model"),this.update_model(null).then(()=>{console.log("updated model"),this.configFile.model_name=null,this.$store.dispatch("refreshConfig"),this.$store.dispatch("refreshModelsZoo"),this.$refs.toast.showToast("Binding changed.",4,!0),this.$forceUpdate()}),_e(()=>{ye.replace()})})},async update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0;let e=await this.update_setting("model_name",t);return this.isLoading=!1,e},applyConfiguration(){this.isLoading=!0,Se.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),_e(()=>{ye.replace()})})},save_configuration(){this.showConfirmation=!1,Se.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure?
This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Se.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=this.$store.state.config,n=Object.keys(t);for(let s=0;s<n.length;s++){const o=n[s],r=t[o],i=Object.keys(r);for(let a=0;a<i.length;a++){const l=i[a],d=r[l].map(h=>{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let g={};return g=h,g.category=l,g.language=o,g.full_path=o+"/"+l+"/"+h.folder,g.isMounted=f,g});this.personalities.length==0?this.personalities=d:this.personalities=this.personalities.concat(d)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name&&n.name.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.full_path&&n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},async filterModels(){if(!this.searchModel){console.log("Searching model"),this.modelsFiltered=this.models,this.modelsFiltered.sort(),this.searchModelInProgress=!1;return}const t=this.searchModel.toLowerCase(),e=this.models.filter(n=>{if(n.title&&n.title.toLowerCase().includes(t)||n.description&&n.description.toLowerCase().includes(t)||n.path&&n.path.toLowerCase().includes(t))return n});e.length>0?this.modelsFiltered=e.sort():(this.modelsFiltered=this.models,this.modelsFiltered.sort()),this.searchModelInProgress=!1},computedFileSize(t){return Ht(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Se.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 Se.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 Se.post("/select_personality",n);if(s)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.$store.dispatch("refreshMountedPersonalities")):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error+`
Response:
`+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.$store.dispatch("refreshMountedPersonalities");const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
Error: `+e.error,4,!1);this.isLoading=!1},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,Se.post("/reinstall_personality",{name:t.personality.path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality
`+e.message,4,!1),{status:!1}))},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Jn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){clearTimeout(this.searchModelTimer),this.searchModel&&(this.searchModelInProgress=!0,setTimeout(this.filterModels,this.searchModelTimer))}},async mounted(){this.constructor(),console.log("Getting voices"),this.getVoices()},activated(){this.isMounted&&this.constructor()},computed:{audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return"/user_infos/"+this.$store.state.config.user_avatar},set(t){this.$store.state.config.user_avatar=t}},enable_gpu:{get(){return this.$store.state.config.enable_gpu},set(t){this.$store.state.config.enable_gpu=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},db_path:{get(){return this.$store.state.config.db_path},set(t){this.$store.state.config.db_path=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsArr:{get(){return this.$store.state.bindingsArr},set(t){this.$store.commit("setBindingsArr",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.$store.state.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return Cr}},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 Cr}},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return Ht(this.addModel.speed)},total_size_computed(){return Ht(this.addModel.total_size)},downloaded_size_computed(){return Ht(this.addModel.downloaded_size)}},watch:{bec_collapsed(){_e(()=>{ye.replace()})},pc_collapsed(){_e(()=>{ye.replace()})},mc_collapsed(){_e(()=>{ye.replace()})},sc_collapsed(){_e(()=>{ye.replace()})},showConfirmation(){_e(()=>{ye.replace()})},mzl_collapsed(){_e(()=>{ye.replace()})},pzl_collapsed(){_e(()=>{ye.replace()})},bzl_collapsed(){_e(()=>{ye.replace()})},all_collapsed(t){this.collapseAll(t),_e(()=>{ye.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,_e(()=>{ye.replace()})},isLoading(){_e(()=>{ye.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},searchModel(t){t==""&&this.filterModels()},mzdc_collapsed(){_e(()=>{ye.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes?
You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model?
You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},ce=t=>(ns("data-v-03304980"),t=t(),ss(),t),D5={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},L5={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"},I5={key:0,class:"flex gap-3 flex-1 items-center duration-75"},P5=ce(()=>u("i",{"data-feather":"x"},null,-1)),F5=[P5],B5=ce(()=>u("i",{"data-feather":"check"},null,-1)),$5=[B5],j5={key:1,class:"flex gap-3 flex-1 items-center"},z5=ce(()=>u("i",{"data-feather":"save"},null,-1)),U5=[z5],q5=ce(()=>u("i",{"data-feather":"refresh-ccw"},null,-1)),H5=[q5],V5=ce(()=>u("i",{"data-feather":"list"},null,-1)),G5=[V5],K5={class:"flex gap-3 flex-1 items-center justify-end"},W5={class:"flex gap-3 items-center"},Z5={key:0,class:"flex gap-3 items-center"},Y5=ce(()=>u("i",{"data-feather":"check"},null,-1)),Q5=[Y5],J5={key:1,role:"status"},X5=ce(()=>u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),e4=ce(()=>u("span",{class:"sr-only"},"Loading...",-1)),t4={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"},n4={class:"flex flex-row p-3"},s4=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),o4=[s4],r4=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),i4=[r4],a4=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),l4=ce(()=>u("div",{class:"mr-2"},"|",-1)),c4={class:"text-base font-semibold cursor-pointer select-none items-center"},u4={class:"flex gap-2 items-center"},d4={key:0},h4={class:"flex gap-2 items-center"},f4=["title"],p4=os('<path d="M 5.9133057,14.000286 H 70.974329 a 8.9999999,8.9999999 0 0 1 8.999987,8.999998 V 47.889121 H 5.9133057 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1116" data-v-03304980></path><path d="m 5.9133057,28.634282 h -2.244251 v -9.367697 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1118" data-v-03304980></path><path d="M 5.9133057,42.648417 H 3.6690547 V 33.28072 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1120" data-v-03304980></path><path d="m 5.9133057,47.889121 v 4.42369" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1122" data-v-03304980></path><path d="M 5.9133057,14.000286 H 2.3482707" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1124" data-v-03304980></path><path d="M 2.3482707,14.000286 V 10.006515" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1126" data-v-03304980></path><path d="m 74.31472,30.942798 a 11.594069,11.594069 0 0 0 -23.188136,0 11.594069,11.594069 0 0 0 23.188136,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1128" data-v-03304980></path><path d="m 54.568046,22.699178 a 8.1531184,8.1531184 0 0 0 8.154326,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1130" data-v-03304980></path><path d="M 73.935201,28.000658 A 8.1531184,8.1531184 0 0 0 62.721525,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1132" data-v-03304980></path><path d="m 70.873258,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1134" data-v-03304980></path><path d="M 59.657782,42.124981 A 8.1531184,8.1531184 0 0 0 62.719435,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1136" data-v-03304980></path><path d="M 51.50515,33.881361 A 8.1531184,8.1531184 0 0 0 62.720652,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1138" data-v-03304980></path><path d="M 65.783521,19.760615 A 8.1531184,8.1531184 0 0 0 62.721869,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1140" data-v-03304980></path><path d="m 62.720652,22.789678 a 8.1531184,8.1531184 0 0 0 -3.06287,-3.029063" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1142" data-v-03304980></path><path d="m 69.782328,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1144" data-v-03304980></path><path d="m 69.781455,35.019358 a 8.1531184,8.1531184 0 0 0 4.154699,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1146" data-v-03304980></path><path d="m 62.722372,39.09293 a 8.1531184,8.1531184 0 0 0 3.064668,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1148" data-v-03304980></path><path d="m 55.659849,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091803,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1150" data-v-03304980></path><path d="M 55.659849,26.866238 A 8.1531184,8.1531184 0 0 0 51.50515,28.004235" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1152" data-v-03304980></path><path d="m 22.744016,47.889121 h 38.934945 v 4.42369 H 22.744016 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1154" data-v-03304980></path><path d="m 20.54627,47.889121 h -4.395478 v 4.42369 h 4.395478 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1156" data-v-03304980></path><path d="m 40.205007,30.942798 a 11.594071,11.594071 0 0 0 -23.188141,0 11.594071,11.594071 0 0 0 23.188141,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1158" data-v-03304980></path><path d="m 20.458317,22.699178 a 8.1531184,8.1531184 0 0 0 8.154342,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1160" data-v-03304980></path><path d="m 35.672615,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1162" data-v-03304980></path><path d="M 39.825489,28.000658 A 8.1531184,8.1531184 0 0 0 28.611786,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1164" data-v-03304980></path><path d="m 28.612659,39.09293 a 8.1531184,8.1531184 0 0 0 3.064669,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1166" data-v-03304980></path><path d="m 36.763545,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1168" data-v-03304980></path><path d="m 21.550126,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091809,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1170" data-v-03304980></path><path d="M 25.54807,42.124981 A 8.1531184,8.1531184 0 0 0 28.609722,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1172" data-v-03304980></path><path d="m 21.550126,26.866238 a 8.1531184,8.1531184 0 0 0 -4.154684,1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1174" data-v-03304980></path><path d="M 17.395442,33.881361 A 8.1531184,8.1531184 0 0 0 28.610939,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1176" data-v-03304980></path><path d="M 28.610939,22.789678 A 8.1531184,8.1531184 0 0 0 25.54807,19.760615" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1178" data-v-03304980></path><path d="M 31.673809,19.760615 A 8.1531184,8.1531184 0 0 0 28.612156,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1180" data-v-03304980></path><path d="m 35.671742,35.019358 a 8.1531184,8.1531184 0 0 0 4.154673,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1182" data-v-03304980></path>',34),g4=[p4],m4={class:"font-bold font-large text-lg"},_4={key:1},b4={class:"flex gap-2 items-center"},y4=os('<svg aria-hidden="true" class="w-10 h-10 fill-secondary" viewBox="0 -3 82 66" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-03304980><path d="M 5.9133057,14.000286 H 70.974329 a 8.9999999,8.9999999 0 0 1 8.999987,8.999998 V 47.889121 H 5.9133057 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1116" data-v-03304980></path><path d="m 5.9133057,28.634282 h -2.244251 v -9.367697 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1118" data-v-03304980></path><path d="M 5.9133057,42.648417 H 3.6690547 V 33.28072 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1120" data-v-03304980></path><path d="m 5.9133057,47.889121 v 4.42369" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1122" data-v-03304980></path><path d="M 5.9133057,14.000286 H 2.3482707" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1124" data-v-03304980></path><path d="M 2.3482707,14.000286 V 10.006515" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1126" data-v-03304980></path><path d="m 74.31472,30.942798 a 11.594069,11.594069 0 0 0 -23.188136,0 11.594069,11.594069 0 0 0 23.188136,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1128" data-v-03304980></path><path d="m 54.568046,22.699178 a 8.1531184,8.1531184 0 0 0 8.154326,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1130" data-v-03304980></path><path d="M 73.935201,28.000658 A 8.1531184,8.1531184 0 0 0 62.721525,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1132" data-v-03304980></path><path d="m 70.873258,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1134" data-v-03304980></path><path d="M 59.657782,42.124981 A 8.1531184,8.1531184 0 0 0 62.719435,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1136" data-v-03304980></path><path d="M 51.50515,33.881361 A 8.1531184,8.1531184 0 0 0 62.720652,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1138" data-v-03304980></path><path d="M 65.783521,19.760615 A 8.1531184,8.1531184 0 0 0 62.721869,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1140" data-v-03304980></path><path d="m 62.720652,22.789678 a 8.1531184,8.1531184 0 0 0 -3.06287,-3.029063" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1142" data-v-03304980></path><path d="m 69.782328,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1144" data-v-03304980></path><path d="m 69.781455,35.019358 a 8.1531184,8.1531184 0 0 0 4.154699,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1146" data-v-03304980></path><path d="m 62.722372,39.09293 a 8.1531184,8.1531184 0 0 0 3.064668,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1148" data-v-03304980></path><path d="m 55.659849,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091803,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1150" data-v-03304980></path><path d="M 55.659849,26.866238 A 8.1531184,8.1531184 0 0 0 51.50515,28.004235" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1152" data-v-03304980></path><path d="m 22.744016,47.889121 h 38.934945 v 4.42369 H 22.744016 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1154" data-v-03304980></path><path d="m 20.54627,47.889121 h -4.395478 v 4.42369 h 4.395478 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1156" data-v-03304980></path><path d="m 40.205007,30.942798 a 11.594071,11.594071 0 0 0 -23.188141,0 11.594071,11.594071 0 0 0 23.188141,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1158" data-v-03304980></path><path d="m 20.458317,22.699178 a 8.1531184,8.1531184 0 0 0 8.154342,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1160" data-v-03304980></path><path d="m 35.672615,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1162" data-v-03304980></path><path d="M 39.825489,28.000658 A 8.1531184,8.1531184 0 0 0 28.611786,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1164" data-v-03304980></path><path d="m 28.612659,39.09293 a 8.1531184,8.1531184 0 0 0 3.064669,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1166" data-v-03304980></path><path d="m 36.763545,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1168" data-v-03304980></path><path d="m 21.550126,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091809,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1170" data-v-03304980></path><path d="M 25.54807,42.124981 A 8.1531184,8.1531184 0 0 0 28.609722,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1172" data-v-03304980></path><path d="m 21.550126,26.866238 a 8.1531184,8.1531184 0 0 0 -4.154684,1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1174" data-v-03304980></path><path d="M 17.395442,33.881361 A 8.1531184,8.1531184 0 0 0 28.610939,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1176" data-v-03304980></path><path d="M 28.610939,22.789678 A 8.1531184,8.1531184 0 0 0 25.54807,19.760615" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1178" data-v-03304980></path><path d="M 31.673809,19.760615 A 8.1531184,8.1531184 0 0 0 28.612156,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1180" data-v-03304980></path><path d="m 35.671742,35.019358 a 8.1531184,8.1531184 0 0 0 4.154673,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1182" data-v-03304980></path></svg>',1),v4={class:"font-bold font-large text-lg"},w4=ce(()=>u("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),x4={class:"font-bold font-large text-lg"},k4=ce(()=>u("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),E4={class:"font-bold font-large text-lg"},C4={class:"mb-2"},A4=ce(()=>u("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[u("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),xe(" CPU Ram usage: ")],-1)),S4={class:"flex flex-col mx-2"},T4=ce(()=>u("b",null,"Avaliable ram: ",-1)),M4=ce(()=>u("b",null,"Ram usage: ",-1)),O4={class:"p-2"},R4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},N4={class:"mb-2"},D4=ce(()=>u("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[u("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),xe(" Disk usage: ")],-1)),L4={class:"flex flex-col mx-2"},I4=ce(()=>u("b",null,"Avaliable disk space: ",-1)),P4=ce(()=>u("b",null,"Disk usage: ",-1)),F4={class:"p-2"},B4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},$4={class:"mb-2"},j4=os('<label class="flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white" data-v-03304980><svg aria-hidden="true" class="w-10 h-10 -my-5 fill-secondary" viewBox="0 -3 82 66" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-03304980><path d="M 5.9133057,14.000286 H 70.974329 a 8.9999999,8.9999999 0 0 1 8.999987,8.999998 V 47.889121 H 5.9133057 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1116" data-v-03304980></path><path d="m 5.9133057,28.634282 h -2.244251 v -9.367697 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1118" data-v-03304980></path><path d="M 5.9133057,42.648417 H 3.6690547 V 33.28072 h 2.244251 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1120" data-v-03304980></path><path d="m 5.9133057,47.889121 v 4.42369" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1122" data-v-03304980></path><path d="M 5.9133057,14.000286 H 2.3482707" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1124" data-v-03304980></path><path d="M 2.3482707,14.000286 V 10.006515" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1126" data-v-03304980></path><path d="m 74.31472,30.942798 a 11.594069,11.594069 0 0 0 -23.188136,0 11.594069,11.594069 0 0 0 23.188136,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1128" data-v-03304980></path><path d="m 54.568046,22.699178 a 8.1531184,8.1531184 0 0 0 8.154326,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1130" data-v-03304980></path><path d="M 73.935201,28.000658 A 8.1531184,8.1531184 0 0 0 62.721525,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1132" data-v-03304980></path><path d="m 70.873258,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1134" data-v-03304980></path><path d="M 59.657782,42.124981 A 8.1531184,8.1531184 0 0 0 62.719435,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1136" data-v-03304980></path><path d="M 51.50515,33.881361 A 8.1531184,8.1531184 0 0 0 62.720652,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1138" data-v-03304980></path><path d="M 65.783521,19.760615 A 8.1531184,8.1531184 0 0 0 62.721869,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1140" data-v-03304980></path><path d="m 62.720652,22.789678 a 8.1531184,8.1531184 0 0 0 -3.06287,-3.029063" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1142" data-v-03304980></path><path d="m 69.782328,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1144" data-v-03304980></path><path d="m 69.781455,35.019358 a 8.1531184,8.1531184 0 0 0 4.154699,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1146" data-v-03304980></path><path d="m 62.722372,39.09293 a 8.1531184,8.1531184 0 0 0 3.064668,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1148" data-v-03304980></path><path d="m 55.659849,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091803,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1150" data-v-03304980></path><path d="M 55.659849,26.866238 A 8.1531184,8.1531184 0 0 0 51.50515,28.004235" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1152" data-v-03304980></path><path d="m 22.744016,47.889121 h 38.934945 v 4.42369 H 22.744016 Z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1154" data-v-03304980></path><path d="m 20.54627,47.889121 h -4.395478 v 4.42369 h 4.395478 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1156" data-v-03304980></path><path d="m 40.205007,30.942798 a 11.594071,11.594071 0 0 0 -23.188141,0 11.594071,11.594071 0 0 0 23.188141,0 z" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1158" data-v-03304980></path><path d="m 20.458317,22.699178 a 8.1531184,8.1531184 0 0 0 8.154342,8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1160" data-v-03304980></path><path d="m 35.672615,26.864746 a 8.1531184,8.1531184 0 0 0 1.09093,-4.165568" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1162" data-v-03304980></path><path d="M 39.825489,28.000658 A 8.1531184,8.1531184 0 0 0 28.611786,30.944293" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1164" data-v-03304980></path><path d="m 28.612659,39.09293 a 8.1531184,8.1531184 0 0 0 3.064669,3.031085" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1166" data-v-03304980></path><path d="m 36.763545,39.186418 a 8.1531184,8.1531184 0 0 0 -8.152606,-8.24362" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1168" data-v-03304980></path><path d="m 21.550126,35.019358 a 8.1531184,8.1531184 0 0 0 -1.091809,4.16706" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1170" data-v-03304980></path><path d="M 25.54807,42.124981 A 8.1531184,8.1531184 0 0 0 28.609722,30.940687" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1172" data-v-03304980></path><path d="m 21.550126,26.866238 a 8.1531184,8.1531184 0 0 0 -4.154684,1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1174" data-v-03304980></path><path d="M 17.395442,33.881361 A 8.1531184,8.1531184 0 0 0 28.610939,30.942798" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1176" data-v-03304980></path><path d="M 28.610939,22.789678 A 8.1531184,8.1531184 0 0 0 25.54807,19.760615" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1178" data-v-03304980></path><path d="M 31.673809,19.760615 A 8.1531184,8.1531184 0 0 0 28.612156,30.944909" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1180" data-v-03304980></path><path d="m 35.671742,35.019358 a 8.1531184,8.1531184 0 0 0 4.154673,-1.137997" style="fill:none;stroke:currentColor;stroke-width:2.5;stroke-opacity:1;" id="path1182" data-v-03304980></path></svg> GPU usage: </label>',1),z4={class:"flex flex-col mx-2"},U4=ce(()=>u("b",null,"Model: ",-1)),q4=ce(()=>u("b",null,"Avaliable vram: ",-1)),H4=ce(()=>u("b",null,"GPU usage: ",-1)),V4={class:"p-2"},G4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},K4={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"},W4={class:"flex flex-row p-3"},Z4=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),Y4=[Z4],Q4=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),J4=[Q4],X4=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),e3={class:"flex flex-col mb-2 px-3 pb-2"},t3={class:"pb-2"},n3={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"},s3=ce(()=>u("th",null,"Generic",-1)),o3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),r3={style:{width:"100%"}},i3=ce(()=>u("i",{"data-feather":"check"},null,-1)),a3=[i3],l3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),c3=ce(()=>u("i",{"data-feather":"check"},null,-1)),u3=[c3],d3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),h3=ce(()=>u("i",{"data-feather":"check"},null,-1)),f3=[h3],p3={class:"pb-2"},g3={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"},m3=ce(()=>u("th",null,"User",-1)),_3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),b3={style:{width:"100%"}},y3=ce(()=>u("i",{"data-feather":"check"},null,-1)),v3=[y3],w3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),x3={style:{width:"100%"}},k3={for:"avatar-upload"},E3=["src"],C3=ce(()=>u("i",{"data-feather":"check"},null,-1)),A3=[C3],S3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),T3=ce(()=>u("i",{"data-feather":"check"},null,-1)),M3=[T3],O3={class:"pb-2"},R3={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"},N3=ce(()=>u("th",null,"Audio",-1)),D3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),L3=ce(()=>u("i",{"data-feather":"check"},null,-1)),I3=[L3],P3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),F3=["value"],B3=ce(()=>u("i",{"data-feather":"check"},null,-1)),$3=[B3],j3=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),z3=["value"],U3=ce(()=>u("i",{"data-feather":"check"},null,-1)),q3=[U3],H3={class:"w-full"},V3={class:"w-full"},G3={class:"w-full"},K3={key:0},W3=ce(()=>u("i",{"data-feather":"alert-circle"},null,-1)),Z3=[W3],Y3={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"},Q3={class:"flex flex-row p-3"},J3=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),X3=[J3],eC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),tC=[eC],nC=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),sC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},oC=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),rC={key:1,class:"mr-2"},iC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},aC={class:"flex gap-1 items-center"},lC=["src"],cC={class:"font-bold font-large text-lg line-clamp-1"},uC={key:0,class:"mb-2"},dC={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},hC=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),fC=[hC],pC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),gC=[pC],mC={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"},_C={class:"flex flex-row p-3"},bC=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),yC=[bC],vC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),wC=[vC],xC=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),kC={class:"flex flex-row items-center"},EC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},CC=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),AC={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},SC=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),TC={key:2,class:"mr-2"},MC={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},OC={class:"flex gap-1 items-center"},RC=["src"],NC={class:"font-bold font-large text-lg line-clamp-1"},DC={class:"mx-2 mb-4"},LC={class:"relative"},IC={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},PC={key:0},FC=ce(()=>u("div",{role:"status"},[u("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1)),BC=[FC],$C={key:1},jC=ce(()=>u("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),zC=[jC],UC={key:0},qC={key:0,class:"mb-2"},HC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},VC={key:1},GC={key:0,class:"mb-2"},KC={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},WC=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),ZC=[WC],YC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),QC=[YC],JC={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"},XC={class:"flex flex-row p-3"},e8=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),t8=[e8],n8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),s8=[n8],o8=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),r8={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},i8=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),a8={key:1,class:"mr-2"},l8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},c8={class:"flex gap-1 items-center"},u8=["src"],d8={class:"font-bold font-large text-lg line-clamp-1"},h8={class:"mb-2"},f8={class:"p-2"},p8={key:0},g8={class:"mb-3"},m8=ce(()=>u("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),_8={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},b8=ce(()=>u("div",{role:"status",class:"justify-center"},null,-1)),y8={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},v8={class:"w-full p-2"},w8={class:"flex justify-between mb-1"},x8=os('<span class="flex flex-row items-center gap-2 text-base font-medium text-blue-700 dark:text-white" data-v-03304980> Downloading <svg aria-hidden="true" class="w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-secondary" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-03304980><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" data-v-03304980></path><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" data-v-03304980></path></svg><span class="sr-only" data-v-03304980>Loading...</span></span>',1),k8={class:"text-sm font-medium text-blue-700 dark:text-white"},E8=["title"],C8={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},A8={class:"flex justify-between mb-1"},S8={class:"text-base font-medium text-blue-700 dark:text-white"},T8={class:"text-sm font-medium text-blue-700 dark:text-white"},M8={class:"flex flex-grow"},O8={class:"flex flex-row flex-grow gap-3"},R8={class:"p-2 text-center grow"},N8={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"},D8={class:"flex flex-row p-3 items-center"},L8=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),I8=[L8],P8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),F8=[P8],B8=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),$8={key:0,class:"mr-2"},j8={class:"mr-2 font-bold font-large text-lg line-clamp-1"},z8={key:1,class:"mr-2"},U8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},q8={key:0,class:"flex -space-x-4 items-center"},H8={class:"group items-center flex flex-row"},V8=["onClick"],G8=["src","title"],K8=["onClick"],W8=ce(()=>u("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[u("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),Z8=[W8],Y8={class:"mx-2 mb-4"},Q8=ce(()=>u("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),J8={class:"relative"},X8={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},e9={key:0},t9=ce(()=>u("div",{role:"status"},[u("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1)),n9=[t9],s9={key:1},o9=ce(()=>u("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[u("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),r9=[o9],i9={key:0,class:"mx-2 mb-4"},a9={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},l9=["selected"],c9={key:1,class:"mx-2 mb-4"},u9={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},d9=["selected"],h9={key:0,class:"mb-2"},f9={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},p9=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),g9=[p9],m9=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),_9=[m9],b9={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"},y9={class:"flex flex-row"},v9=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),w9=[v9],x9=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),k9=[x9],E9=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),C9={class:"m-2"},A9={class:"flex flex-row gap-2 items-center"},S9=ce(()=>u("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),T9={class:"m-2"},M9=ce(()=>u("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),O9={class:"m-2"},R9={class:"flex flex-col align-bottom"},N9={class:"relative"},D9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),L9={class:"absolute right-0"},I9={class:"m-2"},P9={class:"flex flex-col align-bottom"},F9={class:"relative"},B9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),$9={class:"absolute right-0"},j9={class:"m-2"},z9={class:"flex flex-col align-bottom"},U9={class:"relative"},q9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),H9={class:"absolute right-0"},V9={class:"m-2"},G9={class:"flex flex-col align-bottom"},K9={class:"relative"},W9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),Z9={class:"absolute right-0"},Y9={class:"m-2"},Q9={class:"flex flex-col align-bottom"},J9={class:"relative"},X9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),eA={class:"absolute right-0"},tA={class:"m-2"},nA={class:"flex flex-col align-bottom"},sA={class:"relative"},oA=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),rA={class:"absolute right-0"};function iA(t,e,n,s,o,r){const i=nt("BindingEntry"),a=nt("model-entry"),l=nt("personality-entry"),c=nt("YesNoDialog"),d=nt("AddModelDialog"),h=nt("MessageBox"),f=nt("Toast"),g=nt("UniversalForm"),m=nt("ChoiceDialog");return C(),S(Re,null,[u("div",D5,[u("div",L5,[o.showConfirmation?(C(),S("div",I5,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ae(p=>o.showConfirmation=!1,["stop"]))},F5),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ae(p=>r.save_configuration(),["stop"]))},$5)])):B("",!0),o.showConfirmation?B("",!0):(C(),S("div",j5,[u("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=p=>o.showConfirmation=!0)},U5),u("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=p=>r.reset_configuration())},H5),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=ae(p=>o.all_collapsed=!o.all_collapsed,["stop"]))},G5)])),u("div",K5,[u("div",W5,[o.settingsChanged?(C(),S("div",Z5,[xe(" Apply changes: "),o.isLoading?B("",!0):(C(),S("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=ae(p=>r.applyConfiguration(),["stop"]))},Q5))])):B("",!0),o.isLoading?(C(),S("div",J5,[u("p",null,V(o.loading_text),1),X5,e4])):B("",!0)])])]),u("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[u("div",t4,[u("div",n4,[u("button",{onClick:e[6]||(e[6]=ae(p=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[me(u("div",null,o4,512),[[lt,o.sc_collapsed]]),me(u("div",null,i4,512),[[lt,!o.sc_collapsed]]),a4,l4,u("div",c4,[u("div",u4,[u("div",null,[r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(C(),S("div",d4,[(C(!0),S(Re,null,Ke(r.vramUsage.gpus,p=>(C(),S("div",h4,[(C(),S("svg",{title:p.gpu_model,"aria-hidden":"true",class:"w-10 h-10 fill-secondary",viewBox:"0 -3 82 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g4,8,f4)),u("h3",m4,[u("div",null,V(r.computedFileSize(p.used_vram))+" / "+V(r.computedFileSize(p.total_vram))+" ("+V(p.percentage)+"%) ",1)])]))),256))])):B("",!0),r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(C(),S("div",_4,[u("div",b4,[y4,u("h3",v4,[u("div",null,V(r.vramUsage.gpus.length)+"x ",1)])])])):B("",!0)]),w4,u("h3",x4,[u("div",null,V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+"%)",1)]),k4,u("h3",E4,[u("div",null,V(r.disk_binding_models_usage)+" / "+V(r.disk_total_space)+" ("+V(r.disk_percent_usage)+"%)",1)])])])])]),u("div",{class:Te([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",C4,[A4,u("div",S4,[u("div",null,[T4,xe(V(r.ram_available_space),1)]),u("div",null,[M4,xe(" "+V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+")% ",1)])]),u("div",O4,[u("div",R4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),u("div",N4,[D4,u("div",L4,[u("div",null,[I4,xe(V(r.disk_available_space),1)]),u("div",null,[P4,xe(" "+V(r.disk_binding_models_usage)+" / "+V(r.disk_total_space)+" ("+V(r.disk_percent_usage)+"%)",1)])]),u("div",F4,[u("div",B4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(C(!0),S(Re,null,Ke(r.vramUsage.gpus,p=>(C(),S("div",$4,[j4,u("div",z4,[u("div",null,[U4,xe(V(p.gpu_model),1)]),u("div",null,[q4,xe(V(this.computedFileSize(p.available_space)),1)]),u("div",null,[H4,xe(" "+V(this.computedFileSize(p.used_vram))+" / "+V(this.computedFileSize(p.total_vram))+" ("+V(p.percentage)+"%)",1)])]),u("div",V4,[u("div",G4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),u("div",K4,[u("div",W4,[u("button",{onClick:e[7]||(e[7]=ae(p=>o.minconf_collapsed=!o.minconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[me(u("div",null,Y4,512),[[lt,o.minconf_collapsed]]),me(u("div",null,J4,512),[[lt,!o.minconf_collapsed]]),X4])]),u("div",{class:Te([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",e3,[u("div",t3,[u("table",n3,[s3,u("tr",null,[o3,u("td",r3,[me(u("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[8]||(e[8]=p=>r.db_path=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Pe,r.db_path]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[9]||(e[9]=p=>r.update_setting("db_path",r.db_path))},a3)])]),u("tr",null,[l3,u("td",null,[me(u("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[10]||(e[10]=p=>r.enable_gpu=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.enable_gpu]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[11]||(e[11]=p=>r.update_setting("enable_gpu",r.enable_gpu))},u3)])]),u("tr",null,[d3,u("td",null,[me(u("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[12]||(e[12]=p=>r.auto_update=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.auto_update]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[13]||(e[13]=p=>r.update_setting("auto_update",r.auto_update))},f3)])])])]),u("div",p3,[u("table",g3,[m3,u("tr",null,[_3,u("td",b3,[me(u("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[14]||(e[14]=p=>r.userName=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Pe,r.userName]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[15]||(e[15]=p=>r.update_setting("user_name",r.userName))},v3)])]),u("tr",null,[w3,u("td",x3,[u("label",k3,[u("img",{src:r.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,E3)]),u("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[16]||(e[16]=(...p)=>r.uploadAvatar&&r.uploadAvatar(...p))},null,32)]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[17]||(e[17]=p=>r.update_setting("user_name",r.userName))},A3)])]),u("tr",null,[S3,u("td",null,[me(u("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[18]||(e[18]=p=>r.use_user_name_in_discussions=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.use_user_name_in_discussions]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[19]||(e[19]=p=>r.update_setting("use_user_name_in_discussions",r.use_user_name_in_discussions))},M3)])])])]),u("div",O3,[u("table",R3,[N3,u("tr",null,[D3,u("td",null,[me(u("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[20]||(e[20]=p=>r.auto_speak=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[xt,r.auto_speak]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[21]||(e[21]=p=>r.update_setting("auto_speak",r.auto_speak))},I3)])]),u("tr",null,[P3,u("td",null,[me(u("select",{id:"audio_in_language","onUpdate:modelValue":e[22]||(e[22]=p=>r.audio_in_language=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(C(!0),S(Re,null,Ke(r.audioLanguages,p=>(C(),S("option",{key:p.code,value:p.code},V(p.name),9,F3))),128))],512),[[Za,r.audio_in_language]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[23]||(e[23]=p=>r.update_setting("audio_in_language",r.audio_in_language))},$3)])]),u("tr",null,[j3,u("td",null,[me(u("select",{id:"audio_out_voice","onUpdate:modelValue":e[24]||(e[24]=p=>r.audio_out_voice=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(C(!0),S(Re,null,Ke(o.audioVoices,p=>(C(),S("option",{key:p.name,value:p.name},V(p.name),9,z3))),128))],512),[[Za,r.audio_out_voice]])]),u("td",null,[u("button",{class:"hover:text-secondary bg-blue-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[25]||(e[25]=p=>r.update_setting("audio_out_voice",r.audio_out_voice))},q3)])])])])]),u("div",H3,[u("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[26]||(e[26]=p=>r.api_get_req("clear_uploads").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))}," Clear uploads ")]),u("div",V3,[u("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[27]||(e[27]=p=>r.api_get_req("restart_program").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast(["failed!"],4,!1)}))}," Restart program ")]),u("div",G3,[u("button",{class:"hover:text-secondary w-full bg-red-100 m-2 p-2 duration-75 flex justify-center w-full hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",onClick:e[28]||(e[28]=p=>r.api_get_req("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[xe(" Upgrade program "),o.has_updates?(C(),S("div",K3,Z3)):B("",!0)])])],2)]),u("div",Y3,[u("div",Q3,[u("button",{onClick:e[29]||(e[29]=ae(p=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[me(u("div",null,X3,512),[[lt,o.bzc_collapsed]]),me(u("div",null,tC,512),[[lt,!o.bzc_collapsed]]),nC,r.configFile.binding_name?B("",!0):(C(),S("div",sC,[oC,xe(" No binding selected! ")])),r.configFile.binding_name?(C(),S("div",rC,"|")):B("",!0),r.configFile.binding_name?(C(),S("div",iC,[u("div",aC,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,lC),u("h3",cC,V(r.binding_name),1)])])):B("",!0)])]),u("div",{class:Te([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsArr.length>0?(C(),S("div",uC,[u("label",dC," Bindings: ("+V(r.bindingsArr.length)+") ",1),u("div",{class:Te(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[ve(Ut,{name:"list"},{default:We(()=>[(C(!0),S(Re,null,Ke(r.bindingsArr,(p,b)=>(C(),st(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):B("",!0),o.bzl_collapsed?(C(),S("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[30]||(e[30]=p=>o.bzl_collapsed=!o.bzl_collapsed)},fC)):(C(),S("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[31]||(e[31]=p=>o.bzl_collapsed=!o.bzl_collapsed)},gC))],2)]),u("div",mC,[u("div",_C,[u("button",{onClick:e[32]||(e[32]=ae(p=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[me(u("div",null,yC,512),[[lt,o.mzc_collapsed]]),me(u("div",null,wC,512),[[lt,!o.mzc_collapsed]]),xC,u("div",kC,[r.configFile.binding_name?B("",!0):(C(),S("div",EC,[CC,xe(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(C(),S("div",AC,[SC,xe(" No model selected! ")])):B("",!0),r.configFile.model_name?(C(),S("div",TC,"|")):B("",!0),r.configFile.model_name?(C(),S("div",MC,[u("div",OC,[u("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,RC),u("h3",NC,V(r.model_name),1)])])):B("",!0)])])]),u("div",{class:Te([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",DC,[u("form",null,[u("div",LC,[u("div",IC,[o.searchModelInProgress?(C(),S("div",PC,BC)):B("",!0),o.searchModelInProgress?B("",!0):(C(),S("div",$C,zC))]),me(u("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[33]||(e[33]=p=>o.searchModel=p),onKeyup:e[34]||(e[34]=ae((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Pe,o.searchModel]]),o.searchModel?(C(),S("button",{key:0,onClick:e[35]||(e[35]=ae(p=>o.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):B("",!0)])])]),o.searchModel?(C(),S("div",UC,[o.modelsFiltered.length>0?(C(),S("div",qC,[u("label",HC," Search results: ("+V(o.modelsFiltered.length)+") ",1),u("div",{class:Te(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[ve(Ut,{name:"list"},{default:We(()=>[(C(!0),S(Re,null,Ke(o.modelsFiltered,(p,b)=>(C(),st(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):B("",!0)])):B("",!0),o.searchModel?B("",!0):(C(),S("div",VC,[r.models&&r.models.length>0?(C(),S("div",GC,[u("label",KC," Models: ("+V(r.models.length)+") ",1),u("div",{class:Te(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[ve(Ut,{name:"list"},{default:We(()=>[(C(!0),S(Re,null,Ke(r.models,(p,b)=>(C(),st(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):B("",!0)])),o.mzl_collapsed?(C(),S("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[36]||(e[36]=(...p)=>r.open_mzl&&r.open_mzl(...p))},ZC)):(C(),S("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[37]||(e[37]=(...p)=>r.open_mzl&&r.open_mzl(...p))},QC))],2)]),u("div",JC,[u("div",XC,[u("button",{onClick:e[38]||(e[38]=ae(p=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[me(u("div",null,t8,512),[[lt,o.mzdc_collapsed]]),me(u("div",null,s8,512),[[lt,!o.mzdc_collapsed]]),o8,r.binding_name?B("",!0):(C(),S("div",r8,[i8,xe(" No binding selected! ")])),r.configFile.binding_name?(C(),S("div",a8,"|")):B("",!0),r.configFile.binding_name?(C(),S("div",l8,[u("div",c8,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,u8),u("h3",d8,V(r.binding_name),1)])])):B("",!0)])]),u("div",{class:Te([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",h8,[u("div",f8,[o.modelDownlaodInProgress?B("",!0):(C(),S("div",p8,[u("div",g8,[m8,me(u("input",{type:"text","onUpdate:modelValue":e[39]||(e[39]=p=>o.addModel.url=p),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[Pe,o.addModel.url]])]),u("button",{type:"button",onClick:e[40]||(e[40]=ae(p=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(C(),S("div",_8,[b8,u("div",y8,[u("div",v8,[u("div",w8,[x8,u("span",k8,V(Math.floor(o.addModel.progress))+"%",1)]),u("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},V(o.addModel.url),9,E8),u("div",C8,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt({width:o.addModel.progress+"%"})},null,4)]),u("div",A8,[u("span",S8,"Download speed: "+V(r.speed_computed)+"/s",1),u("span",T8,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),u("div",M8,[u("div",O8,[u("div",R8,[u("button",{onClick:e[41]||(e[41]=ae((...p)=>r.onCancelInstall&&r.onCancelInstall(...p),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):B("",!0)])])],2)]),u("div",N8,[u("div",D8,[u("button",{onClick:e[43]||(e[43]=ae(p=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[me(u("div",null,I8,512),[[lt,o.pzc_collapsed]]),me(u("div",null,F8,512),[[lt,!o.pzc_collapsed]]),B8,r.configFile.personalities?(C(),S("div",$8,"|")):B("",!0),u("div",j8,V(r.active_pesonality),1),r.configFile.personalities?(C(),S("div",z8,"|")):B("",!0),r.configFile.personalities?(C(),S("div",U8,[r.mountedPersArr.length>0?(C(),S("div",q8,[(C(!0),S(Re,null,Ke(r.mountedPersArr,(p,b)=>(C(),S("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:b+"-"+p.name,ref_for:!0,ref:"mountedPersonalities"},[u("div",H8,[u("button",{onClick:ae(_=>r.onPersonalitySelected(p),["stop"])},[u("img",{src:o.bUrl+p.avatar,onError:e[42]||(e[42]=(..._)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(..._)),class:Te(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",r.configFile.active_personality_id==r.configFile.personalities.indexOf(p.full_path)?"border-secondary":"border-transparent z-0"]),title:p.name},null,42,G8)],8,V8),u("button",{onClick:ae(_=>r.onPersonalityMounted(p),["stop"])},Z8,8,K8)])]))),128))])):B("",!0)])):B("",!0)])]),u("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",Y8,[u("form",null,[Q8,u("div",J8,[u("div",X8,[o.searchPersonalityInProgress?(C(),S("div",e9,n9)):B("",!0),o.searchPersonalityInProgress?B("",!0):(C(),S("div",s9,r9))]),me(u("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[44]||(e[44]=p=>o.searchPersonality=p),onKeyup:e[45]||(e[45]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Pe,o.searchPersonality]]),o.searchPersonality?(C(),S("button",{key:0,onClick:e[46]||(e[46]=ae(p=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):B("",!0)])])]),o.searchPersonality?B("",!0):(C(),S("div",i9,[u("label",a9," Personalities Languages: ("+V(o.persLangArr.length)+") ",1),u("select",{id:"persLang",onChange:e[47]||(e[47]=p=>r.update_personality_language(p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(C(!0),S(Re,null,Ke(o.persLangArr,p=>(C(),S("option",{selected:p===this.configFile.personality_language},V(p),9,l9))),256))],32)])),o.searchPersonality?B("",!0):(C(),S("div",c9,[u("label",u9," Personalities Category: ("+V(o.persCatgArr.length)+") ",1),u("select",{id:"persCat",onChange:e[48]||(e[48]=p=>r.update_personality_category(p.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(C(!0),S(Re,null,Ke(o.persCatgArr,(p,b)=>(C(),S("option",{key:b,selected:p==this.configFile.personality_category},V(p),9,d9))),128))],32)])),u("div",null,[o.personalitiesFiltered.length>0?(C(),S("div",h9,[u("label",f9,V(o.searchPersonality?"Search results":"Personalities")+": ("+V(o.personalitiesFiltered.length)+") ",1),u("div",{class:Te(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[ve(Ut,{name:"bounce"},{default:We(()=>[(C(!0),S(Re,null,Ke(o.personalitiesFiltered,(p,b)=>(C(),st(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+p.name,personality:p,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(_=>_===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):B("",!0)]),o.pzl_collapsed?(C(),S("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[49]||(e[49]=p=>o.pzl_collapsed=!o.pzl_collapsed)},g9)):(C(),S("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[50]||(e[50]=p=>o.pzl_collapsed=!o.pzl_collapsed)},_9))],2)]),u("div",b9,[u("div",y9,[u("button",{onClick:e[51]||(e[51]=ae(p=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[me(u("div",null,w9,512),[[lt,o.mc_collapsed]]),me(u("div",null,k9,512),[[lt,!o.mc_collapsed]]),E9])]),u("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[u("div",C9,[u("div",A9,[me(u("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[52]||(e[52]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[53]||(e[53]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[54]||(e[54]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[xt,r.configFile.override_personality_model_parameters]]),S9])]),u("div",{class:Te(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[u("div",T9,[M9,me(u("input",{type:"text",id:"seed","onUpdate:modelValue":e[55]||(e[55]=p=>r.configFile.seed=p),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.seed]])]),u("div",O9,[u("div",R9,[u("div",N9,[D9,u("p",L9,[me(u("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[56]||(e[56]=p=>r.configFile.temperature=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.temperature]])])]),me(u("input",{id:"temperature",onChange:e[57]||(e[57]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[58]||(e[58]=p=>r.configFile.temperature=p),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Pe,r.configFile.temperature]])])]),u("div",I9,[u("div",P9,[u("div",F9,[B9,u("p",$9,[me(u("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[59]||(e[59]=p=>r.configFile.n_predict=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.n_predict]])])]),me(u("input",{id:"predict",onChange:e[60]||(e[60]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[61]||(e[61]=p=>r.configFile.n_predict=p),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Pe,r.configFile.n_predict]])])]),u("div",j9,[u("div",z9,[u("div",U9,[q9,u("p",H9,[me(u("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[62]||(e[62]=p=>r.configFile.top_k=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.top_k]])])]),me(u("input",{id:"top_k",onChange:e[63]||(e[63]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[64]||(e[64]=p=>r.configFile.top_k=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Pe,r.configFile.top_k]])])]),u("div",V9,[u("div",G9,[u("div",K9,[W9,u("p",Z9,[me(u("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[65]||(e[65]=p=>r.configFile.top_p=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.top_p]])])]),me(u("input",{id:"top_p",onChange:e[66]||(e[66]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[67]||(e[67]=p=>r.configFile.top_p=p),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Pe,r.configFile.top_p]])])]),u("div",Y9,[u("div",Q9,[u("div",J9,[X9,u("p",eA,[me(u("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[68]||(e[68]=p=>r.configFile.repeat_penalty=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.repeat_penalty]])])]),me(u("input",{id:"repeat_penalty",onChange:e[69]||(e[69]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[70]||(e[70]=p=>r.configFile.repeat_penalty=p),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Pe,r.configFile.repeat_penalty]])])]),u("div",tA,[u("div",nA,[u("div",sA,[oA,u("p",rA,[me(u("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[71]||(e[71]=p=>r.configFile.repeat_last_n=p),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,r.configFile.repeat_last_n]])])]),me(u("input",{id:"repeat_last_n",onChange:e[72]||(e[72]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[73]||(e[73]=p=>r.configFile.repeat_last_n=p),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Pe,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),ve(c,{ref:"yesNoDialog",class:"z-20"},null,512),ve(d,{ref:"addmodeldialog"},null,512),ve(h,{ref:"messageBox"},null,512),ve(f,{ref:"toast"},null,512),ve(g,{ref:"universalForm",class:"z-20"},null,512),ve(m,{class:"z-20",show:o.variantSelectionDialogVisible,choices:o.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const aA=Ve(N5,[["render",iA],["__scopeId","data-v-03304980"]]);const lA={props:{value:String,inputType:{type:String,default:"text",validator:t=>["text","email","password","file","path","integer","float"].includes(t)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(t){console.log("Changing value to ",t),this.inputValue=t}},mounted(){_e(()=>{ye.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(t){if(this.inputType==="integer"){const e=t.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",t.target.value),this.$emit("input",t.target.value)},async pasteFromClipboard(){try{const t=await navigator.clipboard.readText();this.handleClipboardData(t)}catch(t){console.error("Failed to read from clipboard:",t)}},handlePaste(t){const e=t.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(t){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(t)?t:"";break;case"password":this.inputValue=t;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(t);break;case"float":this.inputValue=this.parseFloat(t);break;default:this.inputValue=t;break}},isValidEmail(t){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)},parseInteger(t){const e=parseInt(t);return isNaN(e)?"":e},parseFloat(t){const e=parseFloat(t);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(t){const e=t.target.files[0];e&&(this.inputValue=e.name)}}},cA={class:"flex items-center space-x-2"},uA=["value","type","placeholder"],dA=u("i",{"data-feather":"clipboard"},null,-1),hA=[dA],fA=u("i",{"data-feather":"upload"},null,-1),pA=[fA],gA=["accept"];function mA(t,e,n,s,o,r){return C(),S("div",cA,[u("input",{value:n.value,type:n.inputType,placeholder:o.placeholderText,onInput:e[0]||(e[0]=(...i)=>r.handleInput&&r.handleInput(...i)),onPaste:e[1]||(e[1]=(...i)=>r.handlePaste&&r.handlePaste(...i)),class:"flex-1 px-4 py-2 text-lg border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,uA),u("button",{onClick:e[2]||(e[2]=(...i)=>r.pasteFromClipboard&&r.pasteFromClipboard(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},hA),n.inputType==="file"?(C(),S("button",{key:0,onClick:e[3]||(e[3]=(...i)=>r.openFileInput&&r.openFileInput(...i)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},pA)):B("",!0),n.inputType==="file"?(C(),S("input",{key:1,ref:"fileInput",type:"file",style:{display:"none"},accept:n.fileAccept,onChange:e[4]||(e[4]=(...i)=>r.handleFileInputChange&&r.handleFileInputChange(...i))},null,40,gA)):B("",!0)])}const _A=Ve(lA,[["render",mA]]),bA={components:{ClipBoardTextInput:_A},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)}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},yA={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"},vA={class:"mb-4"},wA=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),xA={class:"mb-4"},kA=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),EA={class:"mb-4"},CA=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),AA={class:"mb-4"},SA=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),TA={class:"mb-4"},MA=u("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),OA={class:"mb-4"},RA=u("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),NA={class:"mb-4"},DA=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),LA={class:"mb-4"},IA=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),PA=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function FA(t,e,n,s,o,r){const i=nt("ClipBoardTextInput");return C(),S("div",yA,[u("form",{onSubmit:e[0]||(e[0]=ae((...a)=>r.submitForm&&r.submitForm(...a),["prevent"])),class:"max-w-md mx-auto"},[u("div",vA,[wA,ve(i,{id:"model_path",inputType:"text",value:o.model_name},null,8,["value"])]),u("div",xA,[kA,ve(i,{id:"model_path",inputType:"text",value:o.tokenizer_name},null,8,["value"])]),u("div",EA,[CA,ve(i,{id:"model_path",inputType:"file",value:o.dataset_path},null,8,["value"])]),u("div",AA,[SA,ve(i,{id:"model_path",inputType:"integer",value:o.max_length},null,8,["value"])]),u("div",TA,[MA,ve(i,{id:"model_path",inputType:"integer",value:o.batch_size},null,8,["value"])]),u("div",OA,[RA,ve(i,{id:"model_path",inputType:"integer",value:o.lr},null,8,["value"])]),u("div",NA,[DA,ve(i,{id:"model_path",inputType:"integer",value:o.num_epochs},null,8,["value"])]),u("div",LA,[IA,ve(i,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])]),PA],32)])}const BA=Ve(bA,[["render",FA]]),$A={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)}}},jA={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"},zA={class:"mb-4"},UA=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),qA={class:"mb-4"},HA=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),VA={class:"mb-4"},GA=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),KA={class:"mt-2 text-xs"},WA={class:"mb-4"},ZA=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),YA={class:"mb-4"},QA=u("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),JA={class:"mb-4"},XA=u("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),e6={class:"mb-4"},t6=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),n6={class:"mb-4"},s6=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),o6=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function r6(t,e,n,s,o,r){return C(),S("div",jA,[u("form",{onSubmit:e[10]||(e[10]=ae((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[u("div",zA,[UA,me(u("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),[[Pe,o.model_name]])]),u("div",qA,[HA,me(u("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),[[Pe,o.tokenizer_name]])]),u("div",VA,[GA,u("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),u("p",KA,"Selected File: "+V(o.selectedDatasetPath),1)]),u("div",WA,[ZA,me(u("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),[[Pe,o.max_length,void 0,{number:!0}]])]),u("div",YA,[QA,me(u("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),[[Pe,o.batch_size,void 0,{number:!0}]])]),u("div",JA,[XA,me(u("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),[[Pe,o.lr,void 0,{number:!0}]])]),u("div",e6,[t6,me(u("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),[[Pe,o.num_epochs,void 0,{number:!0}]])]),u("div",n6,[s6,me(u("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),[[Pe,o.selectedFolder]]),u("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),u("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")]),o6],32)])}const i6=Ve($A,[["render",r6]]),a6={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,_e(()=>{ye.replace()})},watch:{showConfirmation(){_e(()=>{ye.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&_e(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},l6=["id"],c6={class:"flex flex-row items-center gap-2"},u6={key:0},d6=["title"],h6=["value"],f6={class:"flex items-center flex-1 max-h-6"},p6={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},g6=u("i",{"data-feather":"check"},null,-1),m6=[g6],_6=u("i",{"data-feather":"x"},null,-1),b6=[_6],y6={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},v6=u("i",{"data-feather":"x"},null,-1),w6=[v6],x6=u("i",{"data-feather":"check"},null,-1),k6=[x6],E6={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},C6=u("i",{"data-feather":"edit-2"},null,-1),A6=[C6],S6=u("i",{"data-feather":"trash"},null,-1),T6=[S6];function M6(t,e,n,s,o,r){return C(),S("div",{class:Te([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row flex-wrap flex-shrink: 0 item-center shadow-sm gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ae(i=>r.selectEvent(),["stop"]))},[u("div",c6,[n.isCheckbox?(C(),S("div",u6,[me(u("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[xt,o.checkBoxValue_local]])])):B("",!0),n.selected?(C(),S("div",{key:1,class:Te(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):B("",!0),n.selected?B("",!0):(C(),S("div",{key:2,class:Te(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?B("",!0):(C(),S("p",{key:0,title:n.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},V(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,d6)),o.editTitle?(C(),S("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=Ya(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ya(ae(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ae(()=>{},["stop"]))},null,40,h6)):B("",!0),u("div",f6,[o.showConfirmation&&!o.editTitleMode?(C(),S("div",p6,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=ae(i=>r.deleteEvent(),["stop"]))},m6),u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=ae(i=>o.showConfirmation=!1,["stop"]))},b6)])):B("",!0),o.showConfirmation&&o.editTitleMode?(C(),S("div",y6,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=ae(i=>o.editTitleMode=!1,["stop"]))},w6),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=ae(i=>r.editTitleEvent(),["stop"]))},k6)])):B("",!0),o.showConfirmation?B("",!0):(C(),S("div",E6,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ae(i=>o.editTitleMode=!0,["stop"]))},A6),u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ae(i=>o.showConfirmation=!0,["stop"]))},T6)]))])],10,l6)}const ng=Ve(a6,[["render",M6]]);var ze={};const O6="Á",R6="á",N6="Ă",D6="ă",L6="∾",I6="∿",P6="∾̳",F6="Â",B6="â",$6="´",j6="А",z6="а",U6="Æ",q6="æ",H6="",V6="𝔄",G6="𝔞",K6="À",W6="à",Z6="ℵ",Y6="ℵ",Q6="Α",J6="α",X6="Ā",eS="ā",tS="⨿",nS="&",sS="&",oS="⩕",rS="⩓",iS="∧",aS="⩜",lS="⩘",cS="⩚",uS="∠",dS="⦤",hS="∠",fS="⦨",pS="⦩",gS="⦪",mS="⦫",_S="⦬",bS="⦭",yS="⦮",vS="⦯",wS="∡",xS="∟",kS="⊾",ES="⦝",CS="∢",AS="Å",SS="⍼",TS="Ą",MS="ą",OS="𝔸",RS="𝕒",NS="⩯",DS="≈",LS="⩰",IS="≊",PS="≋",FS="'",BS="",$S="≈",jS="≊",zS="Å",US="å",qS="𝒜",HS="𝒶",VS="≔",GS="*",KS="≈",WS="≍",ZS="Ã",YS="ã",QS="Ä",JS="ä",XS="∳",eT="⨑",tT="≌",nT="϶",sT="",oT="∽",rT="⋍",iT="",aT="⫧",lT="⊽",cT="⌅",uT="⌆",dT="⌅",hT="⎵",fT="⎶",pT="≌",gT="Б",mT="б",_T="„",bT="∵",yT="∵",vT="∵",wT="⦰",xT="϶",kT="",ET="",CT="Β",AT="β",ST="ℶ",TT="≬",MT="𝔅",OT="𝔟",RT="⋂",NT="◯",DT="",LT="⨀",IT="⨁",PT="⨂",FT="⨆",BT="★",$T="▽",jT="△",zT="⨄",UT="",qT="⋀",HT="⤍",VT="⧫",GT="▪",KT="▴",WT="▾",ZT="◂",YT="▸",QT="␣",JT="▒",XT="░",e7="▓",t7="█",n7="=⃥",s7="≡⃥",o7="⫭",r7="⌐",i7="𝔹",a7="𝕓",l7="⊥",c7="⊥",u7="⋈",d7="⧉",h7="┐",f7="╕",p7="╖",g7="╗",m7="┌",_7="╒",b7="╓",y7="╔",v7="─",w7="═",x7="┬",k7="╤",E7="╥",C7="╦",A7="┴",S7="╧",T7="╨",M7="╩",O7="⊟",R7="⊞",N7="⊠",D7="┘",L7="╛",I7="╜",P7="╝",F7="└",B7="╘",$7="╙",j7="╚",z7="│",U7="║",q7="┼",H7="╪",V7="╫",G7="╬",K7="┤",W7="╡",Z7="╢",Y7="╣",Q7="├",J7="╞",X7="╟",eM="╠",tM="",nM="˘",sM="˘",oM="¦",rM="𝒷",iM="",aM="⁏",lM="∽",cM="⋍",uM="⧅",dM="\\",hM="⟈",fM="•",pM="•",gM="≎",mM="⪮",_M="≏",bM="≎",yM="≏",vM="Ć",wM="ć",xM="⩄",kM="⩉",EM="⩋",CM="∩",AM="⋒",SM="⩇",TM="⩀",MM="",OM="∩︀",RM="",NM="ˇ",DM="",LM="⩍",IM="Č",PM="č",FM="Ç",BM="ç",$M="Ĉ",jM="ĉ",zM="∰",UM="⩌",qM="⩐",HM="Ċ",VM="ċ",GM="¸",KM="¸",WM="⦲",ZM="¢",YM="·",QM="·",JM="𝔠",XM="",eO="Ч",tO="ч",nO="✓",sO="✓",oO="Χ",rO="χ",iO="ˆ",aO="≗",lO="↺",cO="↻",uO="⊛",dO="⊚",hO="⊝",fO="⊙",pO="®",gO="Ⓢ",mO="⊖",_O="⊕",bO="⊗",yO="○",vO="⧃",wO="≗",xO="⨐",kO="⫯",EO="⧂",CO="∲",AO="”",SO="",TO="♣",MO="♣",OO=":",RO="∷",NO="⩴",DO="≔",LO="≔",IO=",",PO="@",FO="∁",BO="∘",$O="∁",jO="",zO="≅",UO="⩭",qO="≡",HO="∮",VO="∯",GO="∮",KO="𝕔",WO="",ZO="∐",YO="∐",QO="©",JO="©",XO="℗",eR="∳",tR="↵",nR="✗",sR="",oR="𝒞",rR="𝒸",iR="⫏",aR="⫑",lR="⫐",cR="⫒",uR="⋯",dR="⤸",hR="⤵",fR="⋞",pR="⋟",gR="↶",mR="⤽",_R="⩈",bR="⩆",yR="≍",vR="",wR="⋓",xR="⩊",kR="⊍",ER="⩅",CR="",AR="↷",SR="⤼",TR="⋞",MR="⋟",OR="⋎",RR="⋏",NR="¤",DR="↶",LR="↷",IR="⋎",PR="⋏",FR="∲",BR="∱",$R="⌭",jR="†",zR="‡",UR="ℸ",qR="↓",HR="↡",VR="⇓",GR="",KR="⫤",WR="⊣",ZR="⤏",YR="˝",QR="Ď",JR="ď",XR="Д",eN="д",tN="‡",nN="⇊",sN="",oN="",rN="⤑",iN="⩷",aN="°",lN="∇",cN="Δ",uN="δ",dN="⦱",hN="⥿",fN="𝔇",pN="𝔡",gN="⥥",mN="⇃",_N="⇂",bN="´",yN="˙",vN="˝",wN="`",xN="˜",kN="⋄",EN="⋄",CN="⋄",AN="♦",SN="♦",TN="¨",MN="",ON="ϝ",RN="⋲",NN="÷",DN="÷",LN="⋇",IN="⋇",PN="Ђ",FN="ђ",BN="⌞",$N="⌍",jN="$",zN="𝔻",UN="𝕕",qN="¨",HN="˙",VN="⃜",GN="≐",KN="≑",WN="≐",ZN="∸",YN="∔",QN="⊡",JN="⌆",XN="∯",eD="¨",tD="⇓",nD="⇐",sD="⇔",oD="⫤",rD="⟸",iD="⟺",aD="⟹",lD="⇒",cD="⊨",uD="⇑",dD="⇕",hD="∥",fD="⤓",pD="↓",gD="↓",mD="⇓",_D="⇵",bD="̑",yD="⇊",vD="⇃",wD="⇂",xD="⥐",kD="⥞",ED="⥖",CD="↽",AD="⥟",SD="⥗",TD="⇁",MD="↧",OD="",RD="⤐",ND="⌟",DD="⌌",LD="𝒟",ID="𝒹",PD="Ѕ",FD="ѕ",BD="⧶",$D="Đ",jD="đ",zD="⋱",UD="▿",qD="▾",HD="⇵",VD="⥯",GD="⦦",KD="Џ",WD="џ",ZD="⟿",YD="É",QD="é",JD="⩮",XD="Ě",eL="ě",tL="Ê",nL="ê",sL="≖",oL="≕",rL="Э",iL="э",aL="⩷",lL="Ė",cL="ė",uL="≑",dL="",hL="≒",fL="𝔈",pL="𝔢",gL="⪚",mL="È",_L="è",bL="⪖",yL="⪘",vL="⪙",wL="∈",xL="⏧",kL="",EL="⪕",CL="⪗",AL="Ē",SL="ē",TL="∅",ML="∅",OL="◻",RL="∅",NL="▫",DL="",LL="",IL="",PL="Ŋ",FL="ŋ",BL="",$L="Ę",jL="ę",zL="𝔼",UL="𝕖",qL="⋕",HL="⧣",VL="⩱",GL="ε",KL="Ε",WL="ε",ZL="ϵ",YL="≖",QL="≕",JL="≂",XL="⪖",eI="⪕",tI="⩵",nI="=",sI="≂",oI="≟",rI="⇌",iI="≡",aI="⩸",lI="⧥",cI="⥱",uI="≓",dI="",hI="",fI="≐",pI="⩳",gI="≂",mI="Η",_I="η",bI="Ð",yI="ð",vI="Ë",wI="ë",xI="€",kI="!",EI="∃",CI="∃",AI="",SI="",TI="",MI="≒",OI="Ф",RI="ф",NI="♀",DI="ffi",LI="ff",II="ffl",PI="𝔉",FI="𝔣",BI="fi",$I="◼",jI="▪",zI="fj",UI="♭",qI="fl",HI="▱",VI="ƒ",GI="𝔽",KI="𝕗",WI="∀",ZI="∀",YI="⋔",QI="⫙",JI="",XI="⨍",eP="½",tP="⅓",nP="¼",sP="⅕",oP="⅙",rP="⅛",iP="⅔",aP="⅖",lP="¾",cP="⅗",uP="⅜",dP="⅘",hP="⅚",fP="⅝",pP="⅞",gP="",mP="⌢",_P="𝒻",bP="",yP="ǵ",vP="Γ",wP="γ",xP="Ϝ",kP="ϝ",EP="⪆",CP="Ğ",AP="ğ",SP="Ģ",TP="Ĝ",MP="ĝ",OP="Г",RP="г",NP="Ġ",DP="ġ",LP="≥",IP="≧",PP="⪌",FP="⋛",BP="≥",$P="≧",jP="⩾",zP="⪩",UP="⩾",qP="⪀",HP="⪂",VP="⪄",GP="⋛︀",KP="⪔",WP="𝔊",ZP="𝔤",YP="≫",QP="⋙",JP="⋙",XP="ℷ",eF="Ѓ",tF="ѓ",nF="⪥",sF="≷",oF="⪒",rF="⪤",iF="⪊",aF="⪊",lF="⪈",cF="≩",uF="⪈",dF="≩",hF="⋧",fF="𝔾",pF="𝕘",gF="`",mF="≥",_F="⋛",bF="≧",yF="⪢",vF="≷",wF="⩾",xF="≳",kF="𝒢",EF="",CF="≳",AF="⪎",SF="⪐",TF="⪧",MF="⩺",OF=">",RF=">",NF="≫",DF="⋗",LF="⦕",IF="⩼",PF="⪆",FF="⥸",BF="⋗",$F="⋛",jF="⪌",zF="≷",UF="≳",qF="≩︀",HF="≩︀",VF="ˇ",GF="",KF="½",WF="",ZF="Ъ",YF="ъ",QF="⥈",JF="↔",XF="⇔",eB="↭",tB="^",nB="ℏ",sB="Ĥ",oB="ĥ",rB="♥",iB="♥",aB="…",lB="⊹",cB="𝔥",uB="",dB="",hB="⤥",fB="⤦",pB="⇿",gB="∻",mB="↩",_B="↪",bB="𝕙",yB="",vB="―",wB="─",xB="𝒽",kB="",EB="ℏ",CB="Ħ",AB="ħ",SB="≎",TB="≏",MB="",OB="",RB="Í",NB="í",DB="",LB="Î",IB="î",PB="И",FB="и",BB="İ",$B="Е",jB="е",zB="¡",UB="⇔",qB="𝔦",HB="",VB="Ì",GB="ì",KB="",WB="⨌",ZB="∭",YB="⧜",QB="℩",JB="IJ",XB="ij",e$="Ī",t$="ī",n$="",s$="",o$="",r$="",i$="ı",a$="",l$="⊷",c$="Ƶ",u$="⇒",d$="℅",h$="∞",f$="⧝",p$="ı",g$="⊺",m$="∫",_$="∬",b$="",y$="∫",v$="⊺",w$="⋂",x$="⨗",k$="⨼",E$="",C$="",A$="Ё",S$="ё",T$="Į",M$="į",O$="𝕀",R$="𝕚",N$="Ι",D$="ι",L$="⨼",I$="¿",P$="𝒾",F$="",B$="∈",$$="⋵",j$="⋹",z$="⋴",U$="⋳",q$="∈",H$="",V$="Ĩ",G$="ĩ",K$="І",W$="і",Z$="Ï",Y$="ï",Q$="Ĵ",J$="ĵ",X$="Й",ej="й",tj="𝔍",nj="𝔧",sj="ȷ",oj="𝕁",rj="𝕛",ij="𝒥",aj="𝒿",lj="Ј",cj="ј",uj="Є",dj="є",hj="Κ",fj="κ",pj="ϰ",gj="Ķ",mj="ķ",_j="К",bj="к",yj="𝔎",vj="𝔨",wj="ĸ",xj="Х",kj="х",Ej="Ќ",Cj="ќ",Aj="𝕂",Sj="𝕜",Tj="𝒦",Mj="𝓀",Oj="⇚",Rj="Ĺ",Nj="ĺ",Dj="⦴",Lj="",Ij="Λ",Pj="λ",Fj="⟨",Bj="⟪",$j="⦑",jj="⟨",zj="⪅",Uj="",qj="«",Hj="⇤",Vj="⤟",Gj="←",Kj="↞",Wj="⇐",Zj="⤝",Yj="↩",Qj="↫",Jj="⤹",Xj="⥳",ez="↢",tz="⤙",nz="⤛",sz="⪫",oz="⪭",rz="⪭︀",iz="⤌",az="⤎",lz="",cz="{",uz="[",dz="⦋",hz="⦏",fz="⦍",pz="Ľ",gz="ľ",mz="Ļ",_z="ļ",bz="⌈",yz="{",vz="Л",wz="л",xz="⤶",kz="“",Ez="„",Cz="⥧",Az="⥋",Sz="↲",Tz="≤",Mz="≦",Oz="⟨",Rz="⇤",Nz="←",Dz="←",Lz="⇐",Iz="⇆",Pz="↢",Fz="⌈",Bz="⟦",$z="⥡",jz="⥙",zz="⇃",Uz="⌊",qz="↽",Hz="↼",Vz="⇇",Gz="↔",Kz="↔",Wz="⇔",Zz="⇆",Yz="⇋",Qz="↭",Jz="⥎",Xz="↤",eU="⊣",tU="⥚",nU="⋋",sU="⧏",oU="⊲",rU="⊴",iU="⥑",aU="⥠",lU="⥘",cU="↿",uU="⥒",dU="↼",hU="⪋",fU="⋚",pU="≤",gU="≦",mU="⩽",_U="⪨",bU="⩽",yU="⩿",vU="⪁",wU="⪃",xU="⋚︀",kU="⪓",EU="⪅",CU="⋖",AU="⋚",SU="⪋",TU="⋚",MU="≦",OU="≶",RU="≶",NU="⪡",DU="≲",LU="⩽",IU="≲",PU="⥼",FU="⌊",BU="𝔏",$U="𝔩",jU="≶",zU="⪑",UU="⥢",qU="↽",HU="↼",VU="⥪",GU="▄",KU="Љ",WU="љ",ZU="⇇",YU="≪",QU="⋘",JU="⌞",XU="⇚",eq="⥫",tq="◺",nq="Ŀ",sq="ŀ",oq="⎰",rq="⎰",iq="⪉",aq="⪉",lq="⪇",cq="≨",uq="⪇",dq="≨",hq="⋦",fq="⟬",pq="⇽",gq="⟦",mq="⟵",_q="⟵",bq="⟸",yq="⟷",vq="⟷",wq="⟺",xq="⟼",kq="⟶",Eq="⟶",Cq="⟹",Aq="↫",Sq="↬",Tq="⦅",Mq="𝕃",Oq="𝕝",Rq="⨭",Nq="⨴",Dq="",Lq="_",Iq="↙",Pq="↘",Fq="◊",Bq="◊",$q="⧫",jq="(",zq="⦓",Uq="⇆",qq="⌟",Hq="⇋",Vq="⥭",Gq="",Kq="⊿",Wq="",Zq="𝓁",Yq="",Qq="↰",Jq="↰",Xq="≲",eH="⪍",tH="⪏",nH="[",sH="",oH="",rH="Ł",iH="ł",aH="⪦",lH="⩹",cH="<",uH="<",dH="≪",hH="⋖",fH="⋋",pH="⋉",gH="⥶",mH="⩻",_H="◃",bH="⊴",yH="◂",vH="⦖",wH="⥊",xH="⥦",kH="≨︀",EH="≨︀",CH="¯",AH="♂",SH="✠",TH="✠",MH="↦",OH="↦",RH="↧",NH="↤",DH="↥",LH="▮",IH="⨩",PH="М",FH="м",BH="—",$H="∺",jH="∡",zH="",UH="",qH="𝔐",HH="𝔪",VH="℧",GH="µ",KH="*",WH="⫰",ZH="",YH="·",QH="⊟",JH="",XH="∸",eV="⨪",tV="∓",nV="⫛",sV="…",oV="∓",rV="⊧",iV="𝕄",aV="𝕞",lV="∓",cV="𝓂",uV="",dV="∾",hV="Μ",fV="μ",pV="⊸",gV="⊸",mV="∇",_V="Ń",bV="ń",yV="∠⃒",vV="≉",wV="⩰̸",xV="≋̸",kV="ʼn",EV="≉",CV="♮",AV="",SV="♮",TV=" ",MV="≎̸",OV="≏̸",RV="⩃",NV="Ň",DV="ň",LV="Ņ",IV="ņ",PV="≇",FV="⩭̸",BV="⩂",$V="Н",jV="н",zV="",UV="⤤",qV="↗",HV="⇗",VV="↗",GV="≠",KV="≐̸",WV="",ZV="",YV="",QV="",JV="≢",XV="⤨",eG="≂̸",tG="≫",nG="≪",sG=`
`,oG="∄",rG="∄",iG="𝔑",aG="𝔫",lG="≧̸",cG="≱",uG="≱",dG="≧̸",hG="⩾̸",fG="⩾̸",pG="⋙̸",gG="≵",mG="≫⃒",_G="≯",bG="≯",yG="≫̸",vG="↮",wG="⇎",xG="⫲",kG="∋",EG="⋼",CG="⋺",AG="∋",SG="Њ",TG="њ",MG="↚",OG="⇍",RG="‥",NG="≦̸",DG="≰",LG="↚",IG="⇍",PG="↮",FG="⇎",BG="≰",$G="≦̸",jG="⩽̸",zG="⩽̸",UG="≮",qG="⋘̸",HG="≴",VG="≪⃒",GG="≮",KG="⋪",WG="⋬",ZG="≪̸",YG="∤",QG="",JG=" ",XG="𝕟",eK="",tK="⫬",nK="¬",sK="≢",oK="≭",rK="∦",iK="∉",aK="≠",lK="≂̸",cK="∄",uK="≯",dK="≱",hK="≧̸",fK="≫̸",pK="≹",gK="⩾̸",mK="≵",_K="≎̸",bK="≏̸",yK="∉",vK="⋵̸",wK="⋹̸",xK="∉",kK="⋷",EK="⋶",CK="⧏̸",AK="⋪",SK="⋬",TK="≮",MK="≰",OK="≸",RK="≪̸",NK="⩽̸",DK="≴",LK="⪢̸",IK="⪡̸",PK="∌",FK="∌",BK="⋾",$K="⋽",jK="⊀",zK="⪯̸",UK="⋠",qK="∌",HK="⧐̸",VK="⋫",GK="⋭",KK="⊏̸",WK="⋢",ZK="⊐̸",YK="⋣",QK="⊂⃒",JK="⊈",XK="⊁",eW="⪰̸",tW="⋡",nW="≿̸",sW="⊃⃒",oW="⊉",rW="≁",iW="≄",aW="≇",lW="≉",cW="∤",uW="∦",dW="∦",hW="⫽⃥",fW="∂̸",pW="⨔",gW="⊀",mW="⋠",_W="⊀",bW="⪯̸",yW="⪯̸",vW="⤳̸",wW="↛",xW="⇏",kW="↝̸",EW="↛",CW="⇏",AW="⋫",SW="⋭",TW="⊁",MW="⋡",OW="⪰̸",RW="𝒩",NW="𝓃",DW="∤",LW="∦",IW="≁",PW="≄",FW="≄",BW="∤",$W="∦",jW="⋢",zW="⋣",UW="⊄",qW="⫅̸",HW="⊈",VW="⊂⃒",GW="⊈",KW="⫅̸",WW="⊁",ZW="⪰̸",YW="⊅",QW="⫆̸",JW="⊉",XW="⊃⃒",eZ="⊉",tZ="⫆̸",nZ="≹",sZ="Ñ",oZ="ñ",rZ="≸",iZ="⋪",aZ="⋬",lZ="⋫",cZ="⋭",uZ="Ν",dZ="ν",hZ="#",fZ="№",pZ="",gZ="≍⃒",mZ="⊬",_Z="⊭",bZ="⊮",yZ="⊯",vZ="≥⃒",wZ=">⃒",xZ="⤄",kZ="⧞",EZ="⤂",CZ="≤⃒",AZ="<⃒",SZ="⊴⃒",TZ="⤃",MZ="⊵⃒",OZ="∼⃒",RZ="⤣",NZ="↖",DZ="⇖",LZ="↖",IZ="⤧",PZ="Ó",FZ="ó",BZ="⊛",$Z="Ô",jZ="ô",zZ="⊚",UZ="О",qZ="о",HZ="⊝",VZ="Ő",GZ="ő",KZ="⨸",WZ="⊙",ZZ="⦼",YZ="Œ",QZ="œ",JZ="⦿",XZ="𝔒",eY="𝔬",tY="˛",nY="Ò",sY="ò",oY="⧁",rY="⦵",iY="Ω",aY="∮",lY="↺",cY="⦾",uY="⦻",dY="‾",hY="⧀",fY="Ō",pY="ō",gY="Ω",mY="ω",_Y="Ο",bY="ο",yY="⦶",vY="⊖",wY="𝕆",xY="𝕠",kY="⦷",EY="“",CY="",AY="⦹",SY="⊕",TY="↻",MY="⩔",OY="",RY="⩝",NY="",DY="",LY="ª",IY="º",PY="⊶",FY="⩖",BY="⩗",$Y="⩛",jY="Ⓢ",zY="𝒪",UY="",qY="Ø",HY="ø",VY="⊘",GY="Õ",KY="õ",WY="⨶",ZY="⨷",YY="⊗",QY="Ö",JY="ö",XY="⌽",eQ="‾",tQ="⏞",nQ="⎴",sQ="⏜",oQ="¶",rQ="∥",iQ="∥",aQ="⫳",lQ="⫽",cQ="∂",uQ="∂",dQ="П",hQ="п",fQ="%",pQ=".",gQ="‰",mQ="⊥",_Q="‱",bQ="𝔓",yQ="𝔭",vQ="Φ",wQ="φ",xQ="ϕ",kQ="",EQ="☎",CQ="Π",AQ="π",SQ="⋔",TQ="ϖ",MQ="ℏ",OQ="",RQ="ℏ",NQ="⨣",DQ="⊞",LQ="⨢",IQ="+",PQ="∔",FQ="⨥",BQ="⩲",$Q="±",jQ="±",zQ="⨦",UQ="⨧",qQ="±",HQ="",VQ="⨕",GQ="𝕡",KQ="",WQ="£",ZQ="⪷",YQ="⪻",QQ="≺",JQ="≼",XQ="⪷",eJ="≺",tJ="≼",nJ="≺",sJ="⪯",oJ="≼",rJ="≾",iJ="⪯",aJ="⪹",lJ="⪵",cJ="⋨",uJ="⪯",dJ="⪳",hJ="≾",fJ="",pJ="″",gJ="",mJ="⪹",_J="⪵",bJ="⋨",yJ="∏",vJ="∏",wJ="⌮",xJ="⌒",kJ="⌓",EJ="∝",CJ="∝",AJ="∷",SJ="∝",TJ="≾",MJ="⊰",OJ="𝒫",RJ="𝓅",NJ="Ψ",DJ="ψ",LJ="",IJ="𝔔",PJ="𝔮",FJ="⨌",BJ="𝕢",$J="",jJ="⁗",zJ="𝒬",UJ="𝓆",qJ="",HJ="⨖",VJ="?",GJ="≟",KJ='"',WJ='"',ZJ="⇛",YJ="∽̱",QJ="Ŕ",JJ="ŕ",XJ="√",eX="⦳",tX="⟩",nX="⟫",sX="⦒",oX="⦥",rX="⟩",iX="»",aX="⥵",lX="⇥",cX="⤠",uX="⤳",dX="→",hX="↠",fX="⇒",pX="⤞",gX="↪",mX="↬",_X="⥅",bX="⥴",yX="⤖",vX="↣",wX="↝",xX="⤚",kX="⤜",EX="",CX="",AX="⤍",SX="⤏",TX="⤐",MX="",OX="}",RX="]",NX="⦌",DX="⦎",LX="⦐",IX="Ř",PX="ř",FX="Ŗ",BX="ŗ",$X="⌉",jX="}",zX="Р",UX="р",qX="⤷",HX="⥩",VX="”",GX="”",KX="↳",WX="",ZX="",YX="",QX="",JX="",XX="▭",eee="®",tee="®",nee="∋",see="⇋",oee="⥯",ree="⥽",iee="⌋",aee="𝔯",lee="",cee="⥤",uee="⇁",dee="⇀",hee="⥬",fee="Ρ",pee="ρ",gee="ϱ",mee="⟩",_ee="⇥",bee="→",yee="→",vee="⇒",wee="⇄",xee="↣",kee="⌉",Eee="⟧",Cee="⥝",Aee="⥕",See="⇂",Tee="⌋",Mee="⇁",Oee="⇀",Ree="⇄",Nee="⇌",Dee="⇉",Lee="↝",Iee="↦",Pee="⊢",Fee="⥛",Bee="⋌",$ee="⧐",jee="⊳",zee="⊵",Uee="⥏",qee="⥜",Hee="⥔",Vee="↾",Gee="⥓",Kee="⇀",Wee="˚",Zee="≓",Yee="⇄",Qee="⇌",Jee="",Xee="⎱",ete="⎱",tte="⫮",nte="⟭",ste="⇾",ote="⟧",rte="⦆",ite="𝕣",ate="",lte="⨮",cte="⨵",ute="⥰",dte=")",hte="⦔",fte="⨒",pte="⇉",gte="⇛",mte="",_te="𝓇",bte="",yte="↱",vte="↱",wte="]",xte="",kte="",Ete="⋌",Cte="⋊",Ate="▹",Ste="⊵",Tte="▸",Mte="⧎",Ote="⧴",Rte="⥨",Nte="℞",Dte="Ś",Lte="ś",Ite="",Pte="⪸",Fte="Š",Bte="š",$te="⪼",jte="≻",zte="≽",Ute="⪰",qte="⪴",Hte="Ş",Vte="ş",Gte="Ŝ",Kte="ŝ",Wte="⪺",Zte="⪶",Yte="⋩",Qte="⨓",Jte="≿",Xte="С",ene="с",tne="⊡",nne="⋅",sne="⩦",one="⤥",rne="↘",ine="⇘",ane="↘",lne="§",cne=";",une="⤩",dne="",hne="",fne="✶",pne="𝔖",gne="𝔰",mne="⌢",_ne="♯",bne="Щ",yne="щ",vne="Ш",wne="ш",xne="↓",kne="←",Ene="",Cne="∥",Ane="→",Sne="↑",Tne="­",Mne="Σ",One="σ",Rne="ς",Nne="ς",Dne="",Lne="⩪",Ine="≃",Pne="≃",Fne="⪞",Bne="⪠",$ne="⪝",jne="⪟",zne="≆",Une="⨤",qne="⥲",Hne="←",Vne="∘",Gne="",Kne="⨳",Wne="⧤",Zne="",Yne="⌣",Qne="⪪",Jne="⪬",Xne="⪬︀",ese="Ь",tse="ь",nse="⌿",sse="⧄",ose="/",rse="𝕊",ise="𝕤",ase="♠",lse="♠",cse="∥",use="⊓",dse="⊓︀",hse="⊔",fse="⊔︀",pse="√",gse="⊏",mse="⊑",_se="⊏",bse="⊑",yse="⊐",vse="⊒",wse="⊐",xse="⊒",kse="□",Ese="□",Cse="⊓",Ase="⊏",Sse="⊑",Tse="⊐",Mse="⊒",Ose="⊔",Rse="▪",Nse="□",Dse="▪",Lse="→",Ise="𝒮",Pse="𝓈",Fse="",Bse="⌣",$se="⋆",jse="⋆",zse="☆",Use="★",qse="ϵ",Hse="ϕ",Vse="¯",Gse="⊂",Kse="⋐",Wse="⪽",Zse="⫅",Yse="⊆",Qse="⫃",Jse="⫁",Xse="⫋",eoe="⊊",toe="⪿",noe="⥹",soe="⊂",ooe="⋐",roe="⊆",ioe="⫅",aoe="⊆",loe="⊊",coe="⫋",uoe="⫇",doe="⫕",hoe="⫓",foe="⪸",poe="≻",goe="≽",moe="≻",_oe="⪰",boe="≽",yoe="≿",voe="⪰",woe="⪺",xoe="⪶",koe="⋩",Eoe="≿",Coe="∋",Aoe="∑",Soe="∑",Toe="♪",Moe="¹",Ooe="²",Roe="³",Noe="⊃",Doe="⋑",Loe="⪾",Ioe="⫘",Poe="⫆",Foe="⊇",Boe="⫄",$oe="⊃",joe="⊇",zoe="⟉",Uoe="⫗",qoe="⥻",Hoe="⫂",Voe="⫌",Goe="⊋",Koe="⫀",Woe="⊃",Zoe="⋑",Yoe="⊇",Qoe="⫆",Joe="⊋",Xoe="⫌",ere="⫈",tre="⫔",nre="⫖",sre="⤦",ore="↙",rre="⇙",ire="↙",are="⤪",lre="ß",cre=" ",ure="⌖",dre="Τ",hre="τ",fre="⎴",pre="Ť",gre="ť",mre="Ţ",_re="ţ",bre="Т",yre="т",vre="⃛",wre="⌕",xre="𝔗",kre="𝔱",Ere="∴",Cre="∴",Are="∴",Sre="Θ",Tre="θ",Mre="ϑ",Ore="ϑ",Rre="≈",Nre="",Dre="",Lre="",Ire="",Pre="≈",Fre="",Bre="Þ",$re="þ",jre="˜",zre="",Ure="≃",qre="≅",Hre="≈",Vre="⨱",Gre="⊠",Kre="×",Wre="⨰",Zre="∭",Yre="⤨",Qre="⌶",Jre="⫱",Xre="",eie="𝕋",tie="𝕥",nie="⫚",sie="⤩",oie="‴",rie="™",iie="™",aie="▵",lie="▿",cie="◃",uie="⊴",die="≜",hie="▹",fie="⊵",pie="◬",gie="≜",mie="⨺",_ie="⃛",bie="⨹",yie="⧍",vie="⨻",wie="⏢",xie="𝒯",kie="𝓉",Eie="Ц",Cie="ц",Aie="Ћ",Sie="ћ",Tie="Ŧ",Mie="ŧ",Oie="≬",Rie="↞",Nie="↠",Die="Ú",Lie="ú",Iie="↑",Pie="↟",Fie="⇑",Bie="⥉",$ie="Ў",jie="ў",zie="Ŭ",Uie="ŭ",qie="Û",Hie="û",Vie="У",Gie="у",Kie="⇅",Wie="Ű",Zie="ű",Yie="⥮",Qie="⥾",Jie="𝔘",Xie="𝔲",eae="Ù",tae="ù",nae="⥣",sae="↿",oae="↾",rae="▀",iae="⌜",aae="⌜",lae="⌏",cae="◸",uae="Ū",dae="ū",hae="¨",fae="_",pae="⏟",gae="⎵",mae="⏝",_ae="",bae="⊎",yae="Ų",vae="ų",wae="𝕌",xae="𝕦",kae="⤒",Eae="↑",Cae="↑",Aae="⇑",Sae="⇅",Tae="↕",Mae="↕",Oae="⇕",Rae="⥮",Nae="↿",Dae="↾",Lae="⊎",Iae="↖",Pae="↗",Fae="υ",Bae="ϒ",$ae="ϒ",jae="Υ",zae="υ",Uae="↥",qae="⊥",Hae="⇈",Vae="⌝",Gae="⌝",Kae="⌎",Wae="Ů",Zae="ů",Yae="◹",Qae="𝒰",Jae="𝓊",Xae="⋰",ele="Ũ",tle="ũ",nle="▵",sle="▴",ole="⇈",rle="Ü",ile="ü",ale="⦧",lle="⦜",cle="ϵ",ule="ϰ",dle="∅",hle="ϕ",fle="ϖ",ple="∝",gle="↕",mle="⇕",_le="ϱ",ble="ς",yle="⊊︀",vle="⫋︀",wle="⊋︀",xle="⫌︀",kle="ϑ",Ele="⊲",Cle="⊳",Ale="⫨",Sle="⫫",Tle="⫩",Mle="В",Ole="в",Rle="⊢",Nle="⊨",Dle="⊩",Lle="⊫",Ile="⫦",Ple="⊻",Fle="",Ble="",$le="≚",jle="⋮",zle="|",Ule="‖",qle="|",Hle="‖",Vle="",Gle="|",Kle="❘",Wle="≀",Zle="",Yle="𝔙",Qle="𝔳",Jle="⊲",Xle="⊂⃒",ece="⊃⃒",tce="𝕍",nce="𝕧",sce="∝",oce="⊳",rce="𝒱",ice="𝓋",ace="⫋︀",lce="⊊︀",cce="⫌︀",uce="⊋︀",dce="⊪",hce="⦚",fce="Ŵ",pce="ŵ",gce="⩟",mce="∧",_ce="⋀",bce="≙",yce="℘",vce="𝔚",wce="𝔴",xce="𝕎",kce="𝕨",Ece="℘",Cce="≀",Ace="≀",Sce="𝒲",Tce="𝓌",Mce="⋂",Oce="◯",Rce="",Nce="▽",Dce="𝔛",Lce="𝔵",Ice="⟷",Pce="⟺",Fce="Ξ",Bce="ξ",$ce="⟵",jce="⟸",zce="⟼",Uce="⋻",qce="⨀",Hce="𝕏",Vce="𝕩",Gce="⨁",Kce="⨂",Wce="⟶",Zce="⟹",Yce="𝒳",Qce="𝓍",Jce="⨆",Xce="⨄",eue="△",tue="",nue="⋀",sue="Ý",oue="ý",rue="Я",iue="я",aue="Ŷ",lue="ŷ",cue="Ы",uue="ы",due="¥",hue="𝔜",fue="𝔶",pue="Ї",gue="ї",mue="𝕐",_ue="𝕪",bue="𝒴",yue="𝓎",vue="Ю",wue="ю",xue="ÿ",kue="Ÿ",Eue="Ź",Cue="ź",Aue="Ž",Sue="ž",Tue="З",Mue="з",Oue="Ż",Rue="ż",Nue="",Due="",Lue="Ζ",Iue="ζ",Pue="𝔷",Fue="",Bue="Ж",$ue="ж",jue="⇝",zue="𝕫",Uue="",que="𝒵",Hue="𝓏",Vue="",Gue="",Kue={Aacute:O6,aacute:R6,Abreve:N6,abreve:D6,ac:L6,acd:I6,acE:P6,Acirc:F6,acirc:B6,acute:$6,Acy:j6,acy:z6,AElig:U6,aelig:q6,af:H6,Afr:V6,afr:G6,Agrave:K6,agrave:W6,alefsym:Z6,aleph:Y6,Alpha:Q6,alpha:J6,Amacr:X6,amacr:eS,amalg:tS,amp:nS,AMP:sS,andand:oS,And:rS,and:iS,andd:aS,andslope:lS,andv:cS,ang:uS,ange:dS,angle:hS,angmsdaa:fS,angmsdab:pS,angmsdac:gS,angmsdad:mS,angmsdae:_S,angmsdaf:bS,angmsdag:yS,angmsdah:vS,angmsd:wS,angrt:xS,angrtvb:kS,angrtvbd:ES,angsph:CS,angst:AS,angzarr:SS,Aogon:TS,aogon:MS,Aopf:OS,aopf:RS,apacir:NS,ap:DS,apE:LS,ape:IS,apid:PS,apos:FS,ApplyFunction:BS,approx:$S,approxeq:jS,Aring:zS,aring:US,Ascr:qS,ascr:HS,Assign:VS,ast:GS,asymp:KS,asympeq:WS,Atilde:ZS,atilde:YS,Auml:QS,auml:JS,awconint:XS,awint:eT,backcong:tT,backepsilon:nT,backprime:sT,backsim:oT,backsimeq:rT,Backslash:iT,Barv:aT,barvee:lT,barwed:cT,Barwed:uT,barwedge:dT,bbrk:hT,bbrktbrk:fT,bcong:pT,Bcy:gT,bcy:mT,bdquo:_T,becaus:bT,because:yT,Because:vT,bemptyv:wT,bepsi:xT,bernou:kT,Bernoullis:ET,Beta:CT,beta:AT,beth:ST,between:TT,Bfr:MT,bfr:OT,bigcap:RT,bigcirc:NT,bigcup:DT,bigodot:LT,bigoplus:IT,bigotimes:PT,bigsqcup:FT,bigstar:BT,bigtriangledown:$T,bigtriangleup:jT,biguplus:zT,bigvee:UT,bigwedge:qT,bkarow:HT,blacklozenge:VT,blacksquare:GT,blacktriangle:KT,blacktriangledown:WT,blacktriangleleft:ZT,blacktriangleright:YT,blank:QT,blk12:JT,blk14:XT,blk34:e7,block:t7,bne:n7,bnequiv:s7,bNot:o7,bnot:r7,Bopf:i7,bopf:a7,bot:l7,bottom:c7,bowtie:u7,boxbox:d7,boxdl:h7,boxdL:f7,boxDl:p7,boxDL:g7,boxdr:m7,boxdR:_7,boxDr:b7,boxDR:y7,boxh:v7,boxH:w7,boxhd:x7,boxHd:k7,boxhD:E7,boxHD:C7,boxhu:A7,boxHu:S7,boxhU:T7,boxHU:M7,boxminus:O7,boxplus:R7,boxtimes:N7,boxul:D7,boxuL:L7,boxUl:I7,boxUL:P7,boxur:F7,boxuR:B7,boxUr:$7,boxUR:j7,boxv:z7,boxV:U7,boxvh:q7,boxvH:H7,boxVh:V7,boxVH:G7,boxvl:K7,boxvL:W7,boxVl:Z7,boxVL:Y7,boxvr:Q7,boxvR:J7,boxVr:X7,boxVR:eM,bprime:tM,breve:nM,Breve:sM,brvbar:oM,bscr:rM,Bscr:iM,bsemi:aM,bsim:lM,bsime:cM,bsolb:uM,bsol:dM,bsolhsub:hM,bull:fM,bullet:pM,bump:gM,bumpE:mM,bumpe:_M,Bumpeq:bM,bumpeq:yM,Cacute:vM,cacute:wM,capand:xM,capbrcup:kM,capcap:EM,cap:CM,Cap:AM,capcup:SM,capdot:TM,CapitalDifferentialD:MM,caps:OM,caret:RM,caron:NM,Cayleys:DM,ccaps:LM,Ccaron:IM,ccaron:PM,Ccedil:FM,ccedil:BM,Ccirc:$M,ccirc:jM,Cconint:zM,ccups:UM,ccupssm:qM,Cdot:HM,cdot:VM,cedil:GM,Cedilla:KM,cemptyv:WM,cent:ZM,centerdot:YM,CenterDot:QM,cfr:JM,Cfr:XM,CHcy:eO,chcy:tO,check:nO,checkmark:sO,Chi:oO,chi:rO,circ:iO,circeq:aO,circlearrowleft:lO,circlearrowright:cO,circledast:uO,circledcirc:dO,circleddash:hO,CircleDot:fO,circledR:pO,circledS:gO,CircleMinus:mO,CirclePlus:_O,CircleTimes:bO,cir:yO,cirE:vO,cire:wO,cirfnint:xO,cirmid:kO,cirscir:EO,ClockwiseContourIntegral:CO,CloseCurlyDoubleQuote:AO,CloseCurlyQuote:SO,clubs:TO,clubsuit:MO,colon:OO,Colon:RO,Colone:NO,colone:DO,coloneq:LO,comma:IO,commat:PO,comp:FO,compfn:BO,complement:$O,complexes:jO,cong:zO,congdot:UO,Congruent:qO,conint:HO,Conint:VO,ContourIntegral:GO,copf:KO,Copf:WO,coprod:ZO,Coproduct:YO,copy:QO,COPY:JO,copysr:XO,CounterClockwiseContourIntegral:eR,crarr:tR,cross:nR,Cross:sR,Cscr:oR,cscr:rR,csub:iR,csube:aR,csup:lR,csupe:cR,ctdot:uR,cudarrl:dR,cudarrr:hR,cuepr:fR,cuesc:pR,cularr:gR,cularrp:mR,cupbrcap:_R,cupcap:bR,CupCap:yR,cup:vR,Cup:wR,cupcup:xR,cupdot:kR,cupor:ER,cups:CR,curarr:AR,curarrm:SR,curlyeqprec:TR,curlyeqsucc:MR,curlyvee:OR,curlywedge:RR,curren:NR,curvearrowleft:DR,curvearrowright:LR,cuvee:IR,cuwed:PR,cwconint:FR,cwint:BR,cylcty:$R,dagger:jR,Dagger:zR,daleth:UR,darr:qR,Darr:HR,dArr:VR,dash:GR,Dashv:KR,dashv:WR,dbkarow:ZR,dblac:YR,Dcaron:QR,dcaron:JR,Dcy:XR,dcy:eN,ddagger:tN,ddarr:nN,DD:sN,dd:oN,DDotrahd:rN,ddotseq:iN,deg:aN,Del:lN,Delta:cN,delta:uN,demptyv:dN,dfisht:hN,Dfr:fN,dfr:pN,dHar:gN,dharl:mN,dharr:_N,DiacriticalAcute:bN,DiacriticalDot:yN,DiacriticalDoubleAcute:vN,DiacriticalGrave:wN,DiacriticalTilde:xN,diam:kN,diamond:EN,Diamond:CN,diamondsuit:AN,diams:SN,die:TN,DifferentialD:MN,digamma:ON,disin:RN,div:NN,divide:DN,divideontimes:LN,divonx:IN,DJcy:PN,djcy:FN,dlcorn:BN,dlcrop:$N,dollar:jN,Dopf:zN,dopf:UN,Dot:qN,dot:HN,DotDot:VN,doteq:GN,doteqdot:KN,DotEqual:WN,dotminus:ZN,dotplus:YN,dotsquare:QN,doublebarwedge:JN,DoubleContourIntegral:XN,DoubleDot:eD,DoubleDownArrow:tD,DoubleLeftArrow:nD,DoubleLeftRightArrow:sD,DoubleLeftTee:oD,DoubleLongLeftArrow:rD,DoubleLongLeftRightArrow:iD,DoubleLongRightArrow:aD,DoubleRightArrow:lD,DoubleRightTee:cD,DoubleUpArrow:uD,DoubleUpDownArrow:dD,DoubleVerticalBar:hD,DownArrowBar:fD,downarrow:pD,DownArrow:gD,Downarrow:mD,DownArrowUpArrow:_D,DownBreve:bD,downdownarrows:yD,downharpoonleft:vD,downharpoonright:wD,DownLeftRightVector:xD,DownLeftTeeVector:kD,DownLeftVectorBar:ED,DownLeftVector:CD,DownRightTeeVector:AD,DownRightVectorBar:SD,DownRightVector:TD,DownTeeArrow:MD,DownTee:OD,drbkarow:RD,drcorn:ND,drcrop:DD,Dscr:LD,dscr:ID,DScy:PD,dscy:FD,dsol:BD,Dstrok:$D,dstrok:jD,dtdot:zD,dtri:UD,dtrif:qD,duarr:HD,duhar:VD,dwangle:GD,DZcy:KD,dzcy:WD,dzigrarr:ZD,Eacute:YD,eacute:QD,easter:JD,Ecaron:XD,ecaron:eL,Ecirc:tL,ecirc:nL,ecir:sL,ecolon:oL,Ecy:rL,ecy:iL,eDDot:aL,Edot:lL,edot:cL,eDot:uL,ee:dL,efDot:hL,Efr:fL,efr:pL,eg:gL,Egrave:mL,egrave:_L,egs:bL,egsdot:yL,el:vL,Element:wL,elinters:xL,ell:kL,els:EL,elsdot:CL,Emacr:AL,emacr:SL,empty:TL,emptyset:ML,EmptySmallSquare:OL,emptyv:RL,EmptyVerySmallSquare:NL,emsp13:DL,emsp14:LL,emsp:IL,ENG:PL,eng:FL,ensp:BL,Eogon:$L,eogon:jL,Eopf:zL,eopf:UL,epar:qL,eparsl:HL,eplus:VL,epsi:GL,Epsilon:KL,epsilon:WL,epsiv:ZL,eqcirc:YL,eqcolon:QL,eqsim:JL,eqslantgtr:XL,eqslantless:eI,Equal:tI,equals:nI,EqualTilde:sI,equest:oI,Equilibrium:rI,equiv:iI,equivDD:aI,eqvparsl:lI,erarr:cI,erDot:uI,escr:dI,Escr:hI,esdot:fI,Esim:pI,esim:gI,Eta:mI,eta:_I,ETH:bI,eth:yI,Euml:vI,euml:wI,euro:xI,excl:kI,exist:EI,Exists:CI,expectation:AI,exponentiale:SI,ExponentialE:TI,fallingdotseq:MI,Fcy:OI,fcy:RI,female:NI,ffilig:DI,fflig:LI,ffllig:II,Ffr:PI,ffr:FI,filig:BI,FilledSmallSquare:$I,FilledVerySmallSquare:jI,fjlig:zI,flat:UI,fllig:qI,fltns:HI,fnof:VI,Fopf:GI,fopf:KI,forall:WI,ForAll:ZI,fork:YI,forkv:QI,Fouriertrf:JI,fpartint:XI,frac12:eP,frac13:tP,frac14:nP,frac15:sP,frac16:oP,frac18:rP,frac23:iP,frac25:aP,frac34:lP,frac35:cP,frac38:uP,frac45:dP,frac56:hP,frac58:fP,frac78:pP,frasl:gP,frown:mP,fscr:_P,Fscr:bP,gacute:yP,Gamma:vP,gamma:wP,Gammad:xP,gammad:kP,gap:EP,Gbreve:CP,gbreve:AP,Gcedil:SP,Gcirc:TP,gcirc:MP,Gcy:OP,gcy:RP,Gdot:NP,gdot:DP,ge:LP,gE:IP,gEl:PP,gel:FP,geq:BP,geqq:$P,geqslant:jP,gescc:zP,ges:UP,gesdot:qP,gesdoto:HP,gesdotol:VP,gesl:GP,gesles:KP,Gfr:WP,gfr:ZP,gg:YP,Gg:QP,ggg:JP,gimel:XP,GJcy:eF,gjcy:tF,gla:nF,gl:sF,glE:oF,glj:rF,gnap:iF,gnapprox:aF,gne:lF,gnE:cF,gneq:uF,gneqq:dF,gnsim:hF,Gopf:fF,gopf:pF,grave:gF,GreaterEqual:mF,GreaterEqualLess:_F,GreaterFullEqual:bF,GreaterGreater:yF,GreaterLess:vF,GreaterSlantEqual:wF,GreaterTilde:xF,Gscr:kF,gscr:EF,gsim:CF,gsime:AF,gsiml:SF,gtcc:TF,gtcir:MF,gt:OF,GT:RF,Gt:NF,gtdot:DF,gtlPar:LF,gtquest:IF,gtrapprox:PF,gtrarr:FF,gtrdot:BF,gtreqless:$F,gtreqqless:jF,gtrless:zF,gtrsim:UF,gvertneqq:qF,gvnE:HF,Hacek:VF,hairsp:GF,half:KF,hamilt:WF,HARDcy:ZF,hardcy:YF,harrcir:QF,harr:JF,hArr:XF,harrw:eB,Hat:tB,hbar:nB,Hcirc:sB,hcirc:oB,hearts:rB,heartsuit:iB,hellip:aB,hercon:lB,hfr:cB,Hfr:uB,HilbertSpace:dB,hksearow:hB,hkswarow:fB,hoarr:pB,homtht:gB,hookleftarrow:mB,hookrightarrow:_B,hopf:bB,Hopf:yB,horbar:vB,HorizontalLine:wB,hscr:xB,Hscr:kB,hslash:EB,Hstrok:CB,hstrok:AB,HumpDownHump:SB,HumpEqual:TB,hybull:MB,hyphen:OB,Iacute:RB,iacute:NB,ic:DB,Icirc:LB,icirc:IB,Icy:PB,icy:FB,Idot:BB,IEcy:$B,iecy:jB,iexcl:zB,iff:UB,ifr:qB,Ifr:HB,Igrave:VB,igrave:GB,ii:KB,iiiint:WB,iiint:ZB,iinfin:YB,iiota:QB,IJlig:JB,ijlig:XB,Imacr:e$,imacr:t$,image:n$,ImaginaryI:s$,imagline:o$,imagpart:r$,imath:i$,Im:a$,imof:l$,imped:c$,Implies:u$,incare:d$,in:"∈",infin:h$,infintie:f$,inodot:p$,intcal:g$,int:m$,Int:_$,integers:b$,Integral:y$,intercal:v$,Intersection:w$,intlarhk:x$,intprod:k$,InvisibleComma:E$,InvisibleTimes:C$,IOcy:A$,iocy:S$,Iogon:T$,iogon:M$,Iopf:O$,iopf:R$,Iota:N$,iota:D$,iprod:L$,iquest:I$,iscr:P$,Iscr:F$,isin:B$,isindot:$$,isinE:j$,isins:z$,isinsv:U$,isinv:q$,it:H$,Itilde:V$,itilde:G$,Iukcy:K$,iukcy:W$,Iuml:Z$,iuml:Y$,Jcirc:Q$,jcirc:J$,Jcy:X$,jcy:ej,Jfr:tj,jfr:nj,jmath:sj,Jopf:oj,jopf:rj,Jscr:ij,jscr:aj,Jsercy:lj,jsercy:cj,Jukcy:uj,jukcy:dj,Kappa:hj,kappa:fj,kappav:pj,Kcedil:gj,kcedil:mj,Kcy:_j,kcy:bj,Kfr:yj,kfr:vj,kgreen:wj,KHcy:xj,khcy:kj,KJcy:Ej,kjcy:Cj,Kopf:Aj,kopf:Sj,Kscr:Tj,kscr:Mj,lAarr:Oj,Lacute:Rj,lacute:Nj,laemptyv:Dj,lagran:Lj,Lambda:Ij,lambda:Pj,lang:Fj,Lang:Bj,langd:$j,langle:jj,lap:zj,Laplacetrf:Uj,laquo:qj,larrb:Hj,larrbfs:Vj,larr:Gj,Larr:Kj,lArr:Wj,larrfs:Zj,larrhk:Yj,larrlp:Qj,larrpl:Jj,larrsim:Xj,larrtl:ez,latail:tz,lAtail:nz,lat:sz,late:oz,lates:rz,lbarr:iz,lBarr:az,lbbrk:lz,lbrace:cz,lbrack:uz,lbrke:dz,lbrksld:hz,lbrkslu:fz,Lcaron:pz,lcaron:gz,Lcedil:mz,lcedil:_z,lceil:bz,lcub:yz,Lcy:vz,lcy:wz,ldca:xz,ldquo:kz,ldquor:Ez,ldrdhar:Cz,ldrushar:Az,ldsh:Sz,le:Tz,lE:Mz,LeftAngleBracket:Oz,LeftArrowBar:Rz,leftarrow:Nz,LeftArrow:Dz,Leftarrow:Lz,LeftArrowRightArrow:Iz,leftarrowtail:Pz,LeftCeiling:Fz,LeftDoubleBracket:Bz,LeftDownTeeVector:$z,LeftDownVectorBar:jz,LeftDownVector:zz,LeftFloor:Uz,leftharpoondown:qz,leftharpoonup:Hz,leftleftarrows:Vz,leftrightarrow:Gz,LeftRightArrow:Kz,Leftrightarrow:Wz,leftrightarrows:Zz,leftrightharpoons:Yz,leftrightsquigarrow:Qz,LeftRightVector:Jz,LeftTeeArrow:Xz,LeftTee:eU,LeftTeeVector:tU,leftthreetimes:nU,LeftTriangleBar:sU,LeftTriangle:oU,LeftTriangleEqual:rU,LeftUpDownVector:iU,LeftUpTeeVector:aU,LeftUpVectorBar:lU,LeftUpVector:cU,LeftVectorBar:uU,LeftVector:dU,lEg:hU,leg:fU,leq:pU,leqq:gU,leqslant:mU,lescc:_U,les:bU,lesdot:yU,lesdoto:vU,lesdotor:wU,lesg:xU,lesges:kU,lessapprox:EU,lessdot:CU,lesseqgtr:AU,lesseqqgtr:SU,LessEqualGreater:TU,LessFullEqual:MU,LessGreater:OU,lessgtr:RU,LessLess:NU,lesssim:DU,LessSlantEqual:LU,LessTilde:IU,lfisht:PU,lfloor:FU,Lfr:BU,lfr:$U,lg:jU,lgE:zU,lHar:UU,lhard:qU,lharu:HU,lharul:VU,lhblk:GU,LJcy:KU,ljcy:WU,llarr:ZU,ll:YU,Ll:QU,llcorner:JU,Lleftarrow:XU,llhard:eq,lltri:tq,Lmidot:nq,lmidot:sq,lmoustache:oq,lmoust:rq,lnap:iq,lnapprox:aq,lne:lq,lnE:cq,lneq:uq,lneqq:dq,lnsim:hq,loang:fq,loarr:pq,lobrk:gq,longleftarrow:mq,LongLeftArrow:_q,Longleftarrow:bq,longleftrightarrow:yq,LongLeftRightArrow:vq,Longleftrightarrow:wq,longmapsto:xq,longrightarrow:kq,LongRightArrow:Eq,Longrightarrow:Cq,looparrowleft:Aq,looparrowright:Sq,lopar:Tq,Lopf:Mq,lopf:Oq,loplus:Rq,lotimes:Nq,lowast:Dq,lowbar:Lq,LowerLeftArrow:Iq,LowerRightArrow:Pq,loz:Fq,lozenge:Bq,lozf:$q,lpar:jq,lparlt:zq,lrarr:Uq,lrcorner:qq,lrhar:Hq,lrhard:Vq,lrm:Gq,lrtri:Kq,lsaquo:Wq,lscr:Zq,Lscr:Yq,lsh:Qq,Lsh:Jq,lsim:Xq,lsime:eH,lsimg:tH,lsqb:nH,lsquo:sH,lsquor:oH,Lstrok:rH,lstrok:iH,ltcc:aH,ltcir:lH,lt:cH,LT:uH,Lt:dH,ltdot:hH,lthree:fH,ltimes:pH,ltlarr:gH,ltquest:mH,ltri:_H,ltrie:bH,ltrif:yH,ltrPar:vH,lurdshar:wH,luruhar:xH,lvertneqq:kH,lvnE:EH,macr:CH,male:AH,malt:SH,maltese:TH,Map:"⤅",map:MH,mapsto:OH,mapstodown:RH,mapstoleft:NH,mapstoup:DH,marker:LH,mcomma:IH,Mcy:PH,mcy:FH,mdash:BH,mDDot:$H,measuredangle:jH,MediumSpace:zH,Mellintrf:UH,Mfr:qH,mfr:HH,mho:VH,micro:GH,midast:KH,midcir:WH,mid:ZH,middot:YH,minusb:QH,minus:JH,minusd:XH,minusdu:eV,MinusPlus:tV,mlcp:nV,mldr:sV,mnplus:oV,models:rV,Mopf:iV,mopf:aV,mp:lV,mscr:cV,Mscr:uV,mstpos:dV,Mu:hV,mu:fV,multimap:pV,mumap:gV,nabla:mV,Nacute:_V,nacute:bV,nang:yV,nap:vV,napE:wV,napid:xV,napos:kV,napprox:EV,natural:CV,naturals:AV,natur:SV,nbsp:TV,nbump:MV,nbumpe:OV,ncap:RV,Ncaron:NV,ncaron:DV,Ncedil:LV,ncedil:IV,ncong:PV,ncongdot:FV,ncup:BV,Ncy:$V,ncy:jV,ndash:zV,nearhk:UV,nearr:qV,neArr:HV,nearrow:VV,ne:GV,nedot:KV,NegativeMediumSpace:WV,NegativeThickSpace:ZV,NegativeThinSpace:YV,NegativeVeryThinSpace:QV,nequiv:JV,nesear:XV,nesim:eG,NestedGreaterGreater:tG,NestedLessLess:nG,NewLine:sG,nexist:oG,nexists:rG,Nfr:iG,nfr:aG,ngE:lG,nge:cG,ngeq:uG,ngeqq:dG,ngeqslant:hG,nges:fG,nGg:pG,ngsim:gG,nGt:mG,ngt:_G,ngtr:bG,nGtv:yG,nharr:vG,nhArr:wG,nhpar:xG,ni:kG,nis:EG,nisd:CG,niv:AG,NJcy:SG,njcy:TG,nlarr:MG,nlArr:OG,nldr:RG,nlE:NG,nle:DG,nleftarrow:LG,nLeftarrow:IG,nleftrightarrow:PG,nLeftrightarrow:FG,nleq:BG,nleqq:$G,nleqslant:jG,nles:zG,nless:UG,nLl:qG,nlsim:HG,nLt:VG,nlt:GG,nltri:KG,nltrie:WG,nLtv:ZG,nmid:YG,NoBreak:QG,NonBreakingSpace:JG,nopf:XG,Nopf:eK,Not:tK,not:nK,NotCongruent:sK,NotCupCap:oK,NotDoubleVerticalBar:rK,NotElement:iK,NotEqual:aK,NotEqualTilde:lK,NotExists:cK,NotGreater:uK,NotGreaterEqual:dK,NotGreaterFullEqual:hK,NotGreaterGreater:fK,NotGreaterLess:pK,NotGreaterSlantEqual:gK,NotGreaterTilde:mK,NotHumpDownHump:_K,NotHumpEqual:bK,notin:yK,notindot:vK,notinE:wK,notinva:xK,notinvb:kK,notinvc:EK,NotLeftTriangleBar:CK,NotLeftTriangle:AK,NotLeftTriangleEqual:SK,NotLess:TK,NotLessEqual:MK,NotLessGreater:OK,NotLessLess:RK,NotLessSlantEqual:NK,NotLessTilde:DK,NotNestedGreaterGreater:LK,NotNestedLessLess:IK,notni:PK,notniva:FK,notnivb:BK,notnivc:$K,NotPrecedes:jK,NotPrecedesEqual:zK,NotPrecedesSlantEqual:UK,NotReverseElement:qK,NotRightTriangleBar:HK,NotRightTriangle:VK,NotRightTriangleEqual:GK,NotSquareSubset:KK,NotSquareSubsetEqual:WK,NotSquareSuperset:ZK,NotSquareSupersetEqual:YK,NotSubset:QK,NotSubsetEqual:JK,NotSucceeds:XK,NotSucceedsEqual:eW,NotSucceedsSlantEqual:tW,NotSucceedsTilde:nW,NotSuperset:sW,NotSupersetEqual:oW,NotTilde:rW,NotTildeEqual:iW,NotTildeFullEqual:aW,NotTildeTilde:lW,NotVerticalBar:cW,nparallel:uW,npar:dW,nparsl:hW,npart:fW,npolint:pW,npr:gW,nprcue:mW,nprec:_W,npreceq:bW,npre:yW,nrarrc:vW,nrarr:wW,nrArr:xW,nrarrw:kW,nrightarrow:EW,nRightarrow:CW,nrtri:AW,nrtrie:SW,nsc:TW,nsccue:MW,nsce:OW,Nscr:RW,nscr:NW,nshortmid:DW,nshortparallel:LW,nsim:IW,nsime:PW,nsimeq:FW,nsmid:BW,nspar:$W,nsqsube:jW,nsqsupe:zW,nsub:UW,nsubE:qW,nsube:HW,nsubset:VW,nsubseteq:GW,nsubseteqq:KW,nsucc:WW,nsucceq:ZW,nsup:YW,nsupE:QW,nsupe:JW,nsupset:XW,nsupseteq:eZ,nsupseteqq:tZ,ntgl:nZ,Ntilde:sZ,ntilde:oZ,ntlg:rZ,ntriangleleft:iZ,ntrianglelefteq:aZ,ntriangleright:lZ,ntrianglerighteq:cZ,Nu:uZ,nu:dZ,num:hZ,numero:fZ,numsp:pZ,nvap:gZ,nvdash:mZ,nvDash:_Z,nVdash:bZ,nVDash:yZ,nvge:vZ,nvgt:wZ,nvHarr:xZ,nvinfin:kZ,nvlArr:EZ,nvle:CZ,nvlt:AZ,nvltrie:SZ,nvrArr:TZ,nvrtrie:MZ,nvsim:OZ,nwarhk:RZ,nwarr:NZ,nwArr:DZ,nwarrow:LZ,nwnear:IZ,Oacute:PZ,oacute:FZ,oast:BZ,Ocirc:$Z,ocirc:jZ,ocir:zZ,Ocy:UZ,ocy:qZ,odash:HZ,Odblac:VZ,odblac:GZ,odiv:KZ,odot:WZ,odsold:ZZ,OElig:YZ,oelig:QZ,ofcir:JZ,Ofr:XZ,ofr:eY,ogon:tY,Ograve:nY,ograve:sY,ogt:oY,ohbar:rY,ohm:iY,oint:aY,olarr:lY,olcir:cY,olcross:uY,oline:dY,olt:hY,Omacr:fY,omacr:pY,Omega:gY,omega:mY,Omicron:_Y,omicron:bY,omid:yY,ominus:vY,Oopf:wY,oopf:xY,opar:kY,OpenCurlyDoubleQuote:EY,OpenCurlyQuote:CY,operp:AY,oplus:SY,orarr:TY,Or:MY,or:OY,ord:RY,order:NY,orderof:DY,ordf:LY,ordm:IY,origof:PY,oror:FY,orslope:BY,orv:$Y,oS:jY,Oscr:zY,oscr:UY,Oslash:qY,oslash:HY,osol:VY,Otilde:GY,otilde:KY,otimesas:WY,Otimes:ZY,otimes:YY,Ouml:QY,ouml:JY,ovbar:XY,OverBar:eQ,OverBrace:tQ,OverBracket:nQ,OverParenthesis:sQ,para:oQ,parallel:rQ,par:iQ,parsim:aQ,parsl:lQ,part:cQ,PartialD:uQ,Pcy:dQ,pcy:hQ,percnt:fQ,period:pQ,permil:gQ,perp:mQ,pertenk:_Q,Pfr:bQ,pfr:yQ,Phi:vQ,phi:wQ,phiv:xQ,phmmat:kQ,phone:EQ,Pi:CQ,pi:AQ,pitchfork:SQ,piv:TQ,planck:MQ,planckh:OQ,plankv:RQ,plusacir:NQ,plusb:DQ,pluscir:LQ,plus:IQ,plusdo:PQ,plusdu:FQ,pluse:BQ,PlusMinus:$Q,plusmn:jQ,plussim:zQ,plustwo:UQ,pm:qQ,Poincareplane:HQ,pointint:VQ,popf:GQ,Popf:KQ,pound:WQ,prap:ZQ,Pr:YQ,pr:QQ,prcue:JQ,precapprox:XQ,prec:eJ,preccurlyeq:tJ,Precedes:nJ,PrecedesEqual:sJ,PrecedesSlantEqual:oJ,PrecedesTilde:rJ,preceq:iJ,precnapprox:aJ,precneqq:lJ,precnsim:cJ,pre:uJ,prE:dJ,precsim:hJ,prime:fJ,Prime:pJ,primes:gJ,prnap:mJ,prnE:_J,prnsim:bJ,prod:yJ,Product:vJ,profalar:wJ,profline:xJ,profsurf:kJ,prop:EJ,Proportional:CJ,Proportion:AJ,propto:SJ,prsim:TJ,prurel:MJ,Pscr:OJ,pscr:RJ,Psi:NJ,psi:DJ,puncsp:LJ,Qfr:IJ,qfr:PJ,qint:FJ,qopf:BJ,Qopf:$J,qprime:jJ,Qscr:zJ,qscr:UJ,quaternions:qJ,quatint:HJ,quest:VJ,questeq:GJ,quot:KJ,QUOT:WJ,rAarr:ZJ,race:YJ,Racute:QJ,racute:JJ,radic:XJ,raemptyv:eX,rang:tX,Rang:nX,rangd:sX,range:oX,rangle:rX,raquo:iX,rarrap:aX,rarrb:lX,rarrbfs:cX,rarrc:uX,rarr:dX,Rarr:hX,rArr:fX,rarrfs:pX,rarrhk:gX,rarrlp:mX,rarrpl:_X,rarrsim:bX,Rarrtl:yX,rarrtl:vX,rarrw:wX,ratail:xX,rAtail:kX,ratio:EX,rationals:CX,rbarr:AX,rBarr:SX,RBarr:TX,rbbrk:MX,rbrace:OX,rbrack:RX,rbrke:NX,rbrksld:DX,rbrkslu:LX,Rcaron:IX,rcaron:PX,Rcedil:FX,rcedil:BX,rceil:$X,rcub:jX,Rcy:zX,rcy:UX,rdca:qX,rdldhar:HX,rdquo:VX,rdquor:GX,rdsh:KX,real:WX,realine:ZX,realpart:YX,reals:QX,Re:JX,rect:XX,reg:eee,REG:tee,ReverseElement:nee,ReverseEquilibrium:see,ReverseUpEquilibrium:oee,rfisht:ree,rfloor:iee,rfr:aee,Rfr:lee,rHar:cee,rhard:uee,rharu:dee,rharul:hee,Rho:fee,rho:pee,rhov:gee,RightAngleBracket:mee,RightArrowBar:_ee,rightarrow:bee,RightArrow:yee,Rightarrow:vee,RightArrowLeftArrow:wee,rightarrowtail:xee,RightCeiling:kee,RightDoubleBracket:Eee,RightDownTeeVector:Cee,RightDownVectorBar:Aee,RightDownVector:See,RightFloor:Tee,rightharpoondown:Mee,rightharpoonup:Oee,rightleftarrows:Ree,rightleftharpoons:Nee,rightrightarrows:Dee,rightsquigarrow:Lee,RightTeeArrow:Iee,RightTee:Pee,RightTeeVector:Fee,rightthreetimes:Bee,RightTriangleBar:$ee,RightTriangle:jee,RightTriangleEqual:zee,RightUpDownVector:Uee,RightUpTeeVector:qee,RightUpVectorBar:Hee,RightUpVector:Vee,RightVectorBar:Gee,RightVector:Kee,ring:Wee,risingdotseq:Zee,rlarr:Yee,rlhar:Qee,rlm:Jee,rmoustache:Xee,rmoust:ete,rnmid:tte,roang:nte,roarr:ste,robrk:ote,ropar:rte,ropf:ite,Ropf:ate,roplus:lte,rotimes:cte,RoundImplies:ute,rpar:dte,rpargt:hte,rppolint:fte,rrarr:pte,Rrightarrow:gte,rsaquo:mte,rscr:_te,Rscr:bte,rsh:yte,Rsh:vte,rsqb:wte,rsquo:xte,rsquor:kte,rthree:Ete,rtimes:Cte,rtri:Ate,rtrie:Ste,rtrif:Tte,rtriltri:Mte,RuleDelayed:Ote,ruluhar:Rte,rx:Nte,Sacute:Dte,sacute:Lte,sbquo:Ite,scap:Pte,Scaron:Fte,scaron:Bte,Sc:$te,sc:jte,sccue:zte,sce:Ute,scE:qte,Scedil:Hte,scedil:Vte,Scirc:Gte,scirc:Kte,scnap:Wte,scnE:Zte,scnsim:Yte,scpolint:Qte,scsim:Jte,Scy:Xte,scy:ene,sdotb:tne,sdot:nne,sdote:sne,searhk:one,searr:rne,seArr:ine,searrow:ane,sect:lne,semi:cne,seswar:une,setminus:dne,setmn:hne,sext:fne,Sfr:pne,sfr:gne,sfrown:mne,sharp:_ne,SHCHcy:bne,shchcy:yne,SHcy:vne,shcy:wne,ShortDownArrow:xne,ShortLeftArrow:kne,shortmid:Ene,shortparallel:Cne,ShortRightArrow:Ane,ShortUpArrow:Sne,shy:Tne,Sigma:Mne,sigma:One,sigmaf:Rne,sigmav:Nne,sim:Dne,simdot:Lne,sime:Ine,simeq:Pne,simg:Fne,simgE:Bne,siml:$ne,simlE:jne,simne:zne,simplus:Une,simrarr:qne,slarr:Hne,SmallCircle:Vne,smallsetminus:Gne,smashp:Kne,smeparsl:Wne,smid:Zne,smile:Yne,smt:Qne,smte:Jne,smtes:Xne,SOFTcy:ese,softcy:tse,solbar:nse,solb:sse,sol:ose,Sopf:rse,sopf:ise,spades:ase,spadesuit:lse,spar:cse,sqcap:use,sqcaps:dse,sqcup:hse,sqcups:fse,Sqrt:pse,sqsub:gse,sqsube:mse,sqsubset:_se,sqsubseteq:bse,sqsup:yse,sqsupe:vse,sqsupset:wse,sqsupseteq:xse,square:kse,Square:Ese,SquareIntersection:Cse,SquareSubset:Ase,SquareSubsetEqual:Sse,SquareSuperset:Tse,SquareSupersetEqual:Mse,SquareUnion:Ose,squarf:Rse,squ:Nse,squf:Dse,srarr:Lse,Sscr:Ise,sscr:Pse,ssetmn:Fse,ssmile:Bse,sstarf:$se,Star:jse,star:zse,starf:Use,straightepsilon:qse,straightphi:Hse,strns:Vse,sub:Gse,Sub:Kse,subdot:Wse,subE:Zse,sube:Yse,subedot:Qse,submult:Jse,subnE:Xse,subne:eoe,subplus:toe,subrarr:noe,subset:soe,Subset:ooe,subseteq:roe,subseteqq:ioe,SubsetEqual:aoe,subsetneq:loe,subsetneqq:coe,subsim:uoe,subsub:doe,subsup:hoe,succapprox:foe,succ:poe,succcurlyeq:goe,Succeeds:moe,SucceedsEqual:_oe,SucceedsSlantEqual:boe,SucceedsTilde:yoe,succeq:voe,succnapprox:woe,succneqq:xoe,succnsim:koe,succsim:Eoe,SuchThat:Coe,sum:Aoe,Sum:Soe,sung:Toe,sup1:Moe,sup2:Ooe,sup3:Roe,sup:Noe,Sup:Doe,supdot:Loe,supdsub:Ioe,supE:Poe,supe:Foe,supedot:Boe,Superset:$oe,SupersetEqual:joe,suphsol:zoe,suphsub:Uoe,suplarr:qoe,supmult:Hoe,supnE:Voe,supne:Goe,supplus:Koe,supset:Woe,Supset:Zoe,supseteq:Yoe,supseteqq:Qoe,supsetneq:Joe,supsetneqq:Xoe,supsim:ere,supsub:tre,supsup:nre,swarhk:sre,swarr:ore,swArr:rre,swarrow:ire,swnwar:are,szlig:lre,Tab:cre,target:ure,Tau:dre,tau:hre,tbrk:fre,Tcaron:pre,tcaron:gre,Tcedil:mre,tcedil:_re,Tcy:bre,tcy:yre,tdot:vre,telrec:wre,Tfr:xre,tfr:kre,there4:Ere,therefore:Cre,Therefore:Are,Theta:Sre,theta:Tre,thetasym:Mre,thetav:Ore,thickapprox:Rre,thicksim:Nre,ThickSpace:Dre,ThinSpace:Lre,thinsp:Ire,thkap:Pre,thksim:Fre,THORN:Bre,thorn:$re,tilde:jre,Tilde:zre,TildeEqual:Ure,TildeFullEqual:qre,TildeTilde:Hre,timesbar:Vre,timesb:Gre,times:Kre,timesd:Wre,tint:Zre,toea:Yre,topbot:Qre,topcir:Jre,top:Xre,Topf:eie,topf:tie,topfork:nie,tosa:sie,tprime:oie,trade:rie,TRADE:iie,triangle:aie,triangledown:lie,triangleleft:cie,trianglelefteq:uie,triangleq:die,triangleright:hie,trianglerighteq:fie,tridot:pie,trie:gie,triminus:mie,TripleDot:_ie,triplus:bie,trisb:yie,tritime:vie,trpezium:wie,Tscr:xie,tscr:kie,TScy:Eie,tscy:Cie,TSHcy:Aie,tshcy:Sie,Tstrok:Tie,tstrok:Mie,twixt:Oie,twoheadleftarrow:Rie,twoheadrightarrow:Nie,Uacute:Die,uacute:Lie,uarr:Iie,Uarr:Pie,uArr:Fie,Uarrocir:Bie,Ubrcy:$ie,ubrcy:jie,Ubreve:zie,ubreve:Uie,Ucirc:qie,ucirc:Hie,Ucy:Vie,ucy:Gie,udarr:Kie,Udblac:Wie,udblac:Zie,udhar:Yie,ufisht:Qie,Ufr:Jie,ufr:Xie,Ugrave:eae,ugrave:tae,uHar:nae,uharl:sae,uharr:oae,uhblk:rae,ulcorn:iae,ulcorner:aae,ulcrop:lae,ultri:cae,Umacr:uae,umacr:dae,uml:hae,UnderBar:fae,UnderBrace:pae,UnderBracket:gae,UnderParenthesis:mae,Union:_ae,UnionPlus:bae,Uogon:yae,uogon:vae,Uopf:wae,uopf:xae,UpArrowBar:kae,uparrow:Eae,UpArrow:Cae,Uparrow:Aae,UpArrowDownArrow:Sae,updownarrow:Tae,UpDownArrow:Mae,Updownarrow:Oae,UpEquilibrium:Rae,upharpoonleft:Nae,upharpoonright:Dae,uplus:Lae,UpperLeftArrow:Iae,UpperRightArrow:Pae,upsi:Fae,Upsi:Bae,upsih:$ae,Upsilon:jae,upsilon:zae,UpTeeArrow:Uae,UpTee:qae,upuparrows:Hae,urcorn:Vae,urcorner:Gae,urcrop:Kae,Uring:Wae,uring:Zae,urtri:Yae,Uscr:Qae,uscr:Jae,utdot:Xae,Utilde:ele,utilde:tle,utri:nle,utrif:sle,uuarr:ole,Uuml:rle,uuml:ile,uwangle:ale,vangrt:lle,varepsilon:cle,varkappa:ule,varnothing:dle,varphi:hle,varpi:fle,varpropto:ple,varr:gle,vArr:mle,varrho:_le,varsigma:ble,varsubsetneq:yle,varsubsetneqq:vle,varsupsetneq:wle,varsupsetneqq:xle,vartheta:kle,vartriangleleft:Ele,vartriangleright:Cle,vBar:Ale,Vbar:Sle,vBarv:Tle,Vcy:Mle,vcy:Ole,vdash:Rle,vDash:Nle,Vdash:Dle,VDash:Lle,Vdashl:Ile,veebar:Ple,vee:Fle,Vee:Ble,veeeq:$le,vellip:jle,verbar:zle,Verbar:Ule,vert:qle,Vert:Hle,VerticalBar:Vle,VerticalLine:Gle,VerticalSeparator:Kle,VerticalTilde:Wle,VeryThinSpace:Zle,Vfr:Yle,vfr:Qle,vltri:Jle,vnsub:Xle,vnsup:ece,Vopf:tce,vopf:nce,vprop:sce,vrtri:oce,Vscr:rce,vscr:ice,vsubnE:ace,vsubne:lce,vsupnE:cce,vsupne:uce,Vvdash:dce,vzigzag:hce,Wcirc:fce,wcirc:pce,wedbar:gce,wedge:mce,Wedge:_ce,wedgeq:bce,weierp:yce,Wfr:vce,wfr:wce,Wopf:xce,wopf:kce,wp:Ece,wr:Cce,wreath:Ace,Wscr:Sce,wscr:Tce,xcap:Mce,xcirc:Oce,xcup:Rce,xdtri:Nce,Xfr:Dce,xfr:Lce,xharr:Ice,xhArr:Pce,Xi:Fce,xi:Bce,xlarr:$ce,xlArr:jce,xmap:zce,xnis:Uce,xodot:qce,Xopf:Hce,xopf:Vce,xoplus:Gce,xotime:Kce,xrarr:Wce,xrArr:Zce,Xscr:Yce,xscr:Qce,xsqcup:Jce,xuplus:Xce,xutri:eue,xvee:tue,xwedge:nue,Yacute:sue,yacute:oue,YAcy:rue,yacy:iue,Ycirc:aue,ycirc:lue,Ycy:cue,ycy:uue,yen:due,Yfr:hue,yfr:fue,YIcy:pue,yicy:gue,Yopf:mue,yopf:_ue,Yscr:bue,yscr:yue,YUcy:vue,yucy:wue,yuml:xue,Yuml:kue,Zacute:Eue,zacute:Cue,Zcaron:Aue,zcaron:Sue,Zcy:Tue,zcy:Mue,Zdot:Oue,zdot:Rue,zeetrf:Nue,ZeroWidthSpace:Due,Zeta:Lue,zeta:Iue,zfr:Pue,Zfr:Fue,ZHcy:Bue,zhcy:$ue,zigrarr:jue,zopf:zue,Zopf:Uue,Zscr:que,zscr:Hue,zwj:Vue,zwnj:Gue};var sg=Kue,oc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Vs={},Wu={};function Wue(t){var e,n,s=Wu[t];if(s)return s;for(s=Wu[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<t.length;e++)s[t.charCodeAt(e)]=t[e];return s}function ci(t,e,n){var s,o,r,i,a,l="";for(typeof e!="string"&&(n=e,e=ci.defaultChars),typeof n>"u"&&(n=!0),a=Wue(e),s=0,o=t.length;s<o;s++){if(r=t.charCodeAt(s),n&&r===37&&s+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(s+1,s+3))){l+=t.slice(s,s+3),s+=2;continue}if(r<128){l+=a[r];continue}if(r>=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1<o&&(i=t.charCodeAt(s+1),i>=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}ci.defaultChars=";/?:@&=+$,-_.!~*'()#";ci.componentChars="-_.!~*'()";var Zue=ci,Zu={};function Yue(t){var e,n,s=Zu[t];if(s)return s;for(s=Zu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e<t.length;e++)n=t.charCodeAt(e),s[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return s}function ui(t,e){var n;return typeof e!="string"&&(e=ui.defaultChars),n=Yue(e),t.replace(/(%[a-f0-9]{2})+/gi,function(s){var o,r,i,a,l,c,d,h="";for(o=0,r=s.length;o<r;o+=3){if(i=parseInt(s.slice(o+1,o+3),16),i<128){h+=n[i];continue}if((i&224)===192&&o+3<r&&(a=parseInt(s.slice(o+4,o+6),16),(a&192)===128)){d=i<<6&1984|a&63,d<128?h+="<22><>":h+=String.fromCharCode(d),o+=3;continue}if((i&240)===224&&o+6<r&&(a=parseInt(s.slice(o+4,o+6),16),l=parseInt(s.slice(o+7,o+9),16),(a&192)===128&&(l&192)===128)){d=i<<12&61440|a<<6&4032|l&63,d<2048||d>=55296&&d<=57343?h+="<22><><EFBFBD>":h+=String.fromCharCode(d),o+=6;continue}if((i&248)===240&&o+9<r&&(a=parseInt(s.slice(o+4,o+6),16),l=parseInt(s.slice(o+7,o+9),16),c=parseInt(s.slice(o+10,o+12),16),(a&192)===128&&(l&192)===128&&(c&192)===128)){d=i<<18&1835008|a<<12&258048|l<<6&4032|c&63,d<65536||d>1114111?h+="<22><><EFBFBD><EFBFBD>":(d-=65536,h+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}h+="<22>"}return h})}ui.defaultChars=";/?:@&=+$,#";ui.componentChars="";var Que=ui,Jue=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 Ar(){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 Xue=/^([a-z0-9.+-]+:)/i,ede=/:[0-9]*$/,tde=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,nde=["<",">",'"',"`"," ","\r",`
`," "],sde=["{","}","|","\\","^","`"].concat(nde),ode=["'"].concat(sde),Yu=["%","/","?",";","#"].concat(ode),Qu=["/","?","#"],rde=255,Ju=/^[+a-z0-9A-Z_-]{0,63}$/,ide=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Xu={javascript:!0,"javascript:":!0},ed={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ade(t,e){if(t&&t instanceof Ar)return t;var n=new Ar;return n.parse(t,e),n}Ar.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=tde.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Xue.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&&Xu[c])&&(a=a.substr(2),this.slashes=!0)),!Xu[c]&&(i||c&&!ed[c])){var d=-1;for(n=0;n<Qu.length;n++)r=a.indexOf(Qu[n]),r!==-1&&(d===-1||r<d)&&(d=r);var h,f;for(d===-1?f=a.lastIndexOf("@"):f=a.lastIndexOf("@",d),f!==-1&&(h=a.slice(0,f),a=a.slice(f+1),this.auth=h),d=-1,n=0;n<Yu.length;n++)r=a.indexOf(Yu[n]),r!==-1&&(d===-1||r<d)&&(d=r);d===-1&&(d=a.length),a[d-1]===":"&&d--;var g=a.slice(0,d);a=a.slice(d),this.parseHost(g),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var p=this.hostname.split(/\./);for(n=0,s=p.length;n<s;n++){var b=p[n];if(b&&!b.match(Ju)){for(var _="",y=0,x=b.length;y<x;y++)b.charCodeAt(y)>127?_+="x":_+=b[y];if(!_.match(Ju)){var A=p.slice(0,n),R=p.slice(n+1),O=b.match(ide);O&&(A.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=A.join(".");break}}}}this.hostname.length>rde&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=a.indexOf("#");D!==-1&&(this.hash=a.substr(D),a=a.slice(0,D));var v=a.indexOf("?");return v!==-1&&(this.search=a.substr(v),a=a.slice(0,v)),a&&(this.pathname=a),ed[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ar.prototype.parseHost=function(t){var e=ede.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 lde=ade;Vs.encode=Zue;Vs.decode=Que;Vs.format=Jue;Vs.parse=lde;var Fn={},ji,td;function og(){return td||(td=1,ji=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ji}var zi,nd;function rg(){return nd||(nd=1,zi=/[\0-\x1F\x7F-\x9F]/),zi}var Ui,sd;function cde(){return sd||(sd=1,Ui=/[\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]/),Ui}var qi,od;function ig(){return od||(od=1,qi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),qi}var rd;function ude(){return rd||(rd=1,Fn.Any=og(),Fn.Cc=rg(),Fn.Cf=cde(),Fn.P=oc,Fn.Z=ig()),Fn}(function(t){function e(I){return Object.prototype.toString.call(I)}function n(I){return e(I)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(I,le){return s.call(I,le)}function r(I){var le=Array.prototype.slice.call(arguments,1);return le.forEach(function(Z){if(Z){if(typeof Z!="object")throw new TypeError(Z+"must be object");Object.keys(Z).forEach(function(T){I[T]=Z[T]})}}),I}function i(I,le,Z){return[].concat(I.slice(0,le),Z,I.slice(le+1))}function a(I){return!(I>=55296&&I<=57343||I>=64976&&I<=65007||(I&65535)===65535||(I&65535)===65534||I>=0&&I<=8||I===11||I>=14&&I<=31||I>=127&&I<=159||I>1114111)}function l(I){if(I>65535){I-=65536;var le=55296+(I>>10),Z=56320+(I&1023);return String.fromCharCode(le,Z)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(c.source+"|"+d.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=sg;function m(I,le){var Z=0;return o(g,le)?g[le]:le.charCodeAt(0)===35&&f.test(le)&&(Z=le[1].toLowerCase()==="x"?parseInt(le.slice(2),16):parseInt(le.slice(1),10),a(Z))?l(Z):I}function p(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function b(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(h,function(le,Z,T){return Z||m(le,T)})}var _=/[&<>"]/,y=/[&<>"]/g,x={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function A(I){return x[I]}function R(I){return _.test(I)?I.replace(y,A):I}var O=/[.?*+^$[\]\\(){}|-]/g;function D(I){return I.replace(O,"\\$&")}function v(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var M=oc;function L(I){return M.test(I)}function F(I){switch(I){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Q(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Vs,t.lib.ucmicro=ude(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=p,t.unescapeAll=b,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=R,t.arrayReplaceAt=i,t.isSpace=v,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=L,t.escapeRE=D,t.normalizeReference=Q})(ze);var di={},dde=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,d=e.pos;for(e.pos=n+1,o=1;e.pos<c;){if(i=e.src.charCodeAt(e.pos),i===93&&(o--,o===0)){r=!0;break}if(a=e.pos,e.md.inline.skipToken(e),i===91){if(a===e.pos-1)o++;else if(s)return e.pos=d,-1}}return r&&(l=e.pos),e.pos=d,l},id=ze.unescapeAll,hde=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(n)===60){for(n++;n<s;){if(o=e.charCodeAt(n),o===10||o===60)return l;if(o===62)return l.pos=n+1,l.str=id(e.slice(a+1,n)),l.ok=!0,l;if(o===92&&n+1<s){n+=2;continue}n++}return l}for(r=0;n<s&&(o=e.charCodeAt(n),!(o===32||o<32||o===127));){if(o===92&&n+1<s){if(e.charCodeAt(n+1)===32)break;n+=2;continue}if(o===40&&(r++,r>32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=id(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},fde=ze.unescapeAll,pde=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<s;){if(o=e.charCodeAt(n),o===r)return l.pos=n+1,l.lines=i,l.str=fde(e.slice(a+1,n)),l.ok=!0,l;if(o===40&&r===41)return l;o===10?i++:o===92&&n+1<s&&(n++,e.charCodeAt(n)===10&&i++),n++}return l};di.parseLinkLabel=dde;di.parseLinkDestination=hde;di.parseLinkTitle=pde;var gde=ze.assign,mde=ze.unescapeAll,Xn=ze.escapeHtml,Jt={};Jt.code_inline=function(t,e,n,s,o){var r=t[e];return"<code"+o.renderAttrs(r)+">"+Xn(t[e].content)+"</code>"};Jt.code_block=function(t,e,n,s,o){var r=t[e];return"<pre"+o.renderAttrs(r)+"><code>"+Xn(t[e].content)+`</code></pre>
`};Jt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?mde(r.info).trim():"",a="",l="",c,d,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Xn(r.content):c=Xn(r.content),c.indexOf("<pre")===0?c+`
`:i?(d=r.attrIndex("class"),f=r.attrs?r.attrs.slice():[],d<0?f.push(["class",n.langPrefix+a]):(f[d]=f[d].slice(),f[d][1]+=" "+n.langPrefix+a),g={attrs:f},"<pre><code"+o.renderAttrs(g)+">"+c+`</code></pre>
`):"<pre><code"+o.renderAttrs(r)+">"+c+`</code></pre>
`};Jt.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};Jt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
`:`<br>
`};Jt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};Jt.text=function(t,e){return Xn(t[e].content)};Jt.html_block=function(t,e){return t[e].content};Jt.html_inline=function(t,e){return t[e].content};function Gs(){this.rules=gde({},Jt)}Gs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n<s;n++)o+=" "+Xn(e.attrs[n][0])+'="'+Xn(e.attrs[n][1])+'"';return o};Gs.prototype.renderToken=function(e,n,s){var o,r="",i=!1,a=e[n];return a.hidden?"":(a.block&&a.nesting!==-1&&n&&e[n-1].hidden&&(r+=`
`),r+=(a.nesting===-1?"</":"<")+a.tag,r+=this.renderAttrs(a),a.nesting===0&&s.xhtmlOut&&(r+=" /"),a.block&&(i=!0,a.nesting===1&&n+1<e.length&&(o=e[n+1],(o.type==="inline"||o.hidden||o.nesting===-1&&o.tag===a.tag)&&(i=!1))),r+=i?`>
`:">",r)};Gs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i<a;i++)s=t[i].type,typeof r[s]<"u"?o+=r[s](t,i,e,n,this):o+=this.renderToken(t,i,e);return o};Gs.prototype.renderInlineAsText=function(t,e,n){for(var s="",o=0,r=t.length;o<r;o++)t[o].type==="text"?s+=t[o].content:t[o].type==="image"?s+=this.renderInlineAsText(t[o].children,e,n):t[o].type==="softbreak"&&(s+=`
`);return s};Gs.prototype.render=function(t,e,n){var s,o,r,i="",a=this.rules;for(s=0,o=t.length;s<o;s++)r=t[s].type,r==="inline"?i+=this.renderInline(t[s].children,e,n):typeof a[r]<"u"?i+=a[t[s].type](t,s,e,n,this):i+=this.renderToken(t,s,e,n);return i};var _de=Gs;function Bt(){this.__rules__=[],this.__cache__=null}Bt.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};Bt.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(s){e.indexOf(s)<0&&e.push(s)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(s){s.enabled&&(n&&s.alt.indexOf(n)<0||t.__cache__[n].push(s.fn))})})};Bt.prototype.at=function(t,e,n){var s=this.__find__(t),o=n||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=e,this.__rules__[s].alt=o.alt||[],this.__cache__=null};Bt.prototype.before=function(t,e,n,s){var o=this.__find__(t),r=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null};Bt.prototype.after=function(t,e,n,s){var o=this.__find__(t),r=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null};Bt.prototype.push=function(t,e,n){var s=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:s.alt||[]}),this.__cache__=null};Bt.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!0,n.push(s)},this),this.__cache__=null,n};Bt.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)};Bt.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(e)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!1,n.push(s)},this),this.__cache__=null,n};Bt.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var rc=Bt,bde=/\r\n?|\n/g,yde=/\0/g,vde=function(e){var n;n=e.src.replace(bde,`
`),n=n.replace(yde,"<22>"),e.src=n},wde=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},xde=function(e){var n=e.tokens,s,o,r;for(o=0,r=n.length;o<r;o++)s=n[o],s.type==="inline"&&e.md.inline.parse(s.content,e.md,e.env,s.children)},kde=ze.arrayReplaceAt;function Ede(t){return/^<a[>\s]/i.test(t)}function Cde(t){return/^<\/a\s*>/i.test(t)}var Ade=function(e){var n,s,o,r,i,a,l,c,d,h,f,g,m,p,b,_,y=e.tokens,x;if(e.md.options.linkify){for(s=0,o=y.length;s<o;s++)if(!(y[s].type!=="inline"||!e.md.linkify.pretest(y[s].content)))for(r=y[s].children,m=0,n=r.length-1;n>=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"&&(Ede(a.content)&&m>0&&m--,Cde(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(d=a.content,x=e.md.linkify.match(d),l=[],g=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;c<x.length;c++)p=x[c].url,b=e.md.normalizeLink(p),e.md.validateLink(b)&&(_=x[c].text,x[c].schema?x[c].schema==="mailto:"&&!/^mailto:/i.test(_)?_=e.md.normalizeLinkText("mailto:"+_).replace(/^mailto:/,""):_=e.md.normalizeLinkText(_):_=e.md.normalizeLinkText("http://"+_).replace(/^http:\/\//,""),h=x[c].index,h>f&&(i=new e.Token("text","",0),i.content=d.slice(f,h),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",b]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),f=x[c].lastIndex);f<d.length&&(i=new e.Token("text","",0),i.content=d.slice(f),i.level=g,l.push(i)),y[s].children=r=kde(r,n,l)}}}},ag=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Sde=/\((c|tm|r)\)/i,Tde=/\((c|tm|r)\)/ig,Mde={c:"©",r:"®",tm:"™"};function Ode(t,e){return Mde[e.toLowerCase()]}function Rde(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(Tde,Ode)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Nde(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&ag.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 Dde=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Sde.test(e.tokens[n].content)&&Rde(e.tokens[n].children),ag.test(e.tokens[n].content)&&Nde(e.tokens[n].children))},ad=ze.isWhiteSpace,ld=ze.isPunctChar,cd=ze.isMdAsciiPunct,Lde=/['"]/,ud=/['"]/g,dd="";function Wo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Ide(t,e){var n,s,o,r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,A,R,O;for(A=[],n=0;n<t.length;n++){for(s=t[n],l=t[n].level,y=A.length-1;y>=0&&!(A[y].level<=l);y--);if(A.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i<a&&(ud.lastIndex=i,r=ud.exec(o),!!r);){if(b=_=!0,i=r.index+1,x=r[0]==="'",d=32,r.index-1>=0)d=o.charCodeAt(r.index-1);else for(y=n-1;y>=0&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y--)if(t[y].content){d=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i<a)h=o.charCodeAt(i);else for(y=n+1;y<t.length&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y++)if(t[y].content){h=t[y].content.charCodeAt(0);break}if(f=cd(d)||ld(String.fromCharCode(d)),g=cd(h)||ld(String.fromCharCode(h)),m=ad(d),p=ad(h),p?b=!1:g&&(m||f||(b=!1)),m?_=!1:f&&(p||g||(_=!1)),h===34&&r[0]==='"'&&d>=48&&d<=57&&(_=b=!1),b&&_&&(b=f,_=g),!b&&!_){x&&(s.content=Wo(s.content,r.index,dd));continue}if(_){for(y=A.length-1;y>=0&&(c=A[y],!(A[y].level<l));y--)if(c.single===x&&A[y].level===l){c=A[y],x?(R=e.md.options.quotes[2],O=e.md.options.quotes[3]):(R=e.md.options.quotes[0],O=e.md.options.quotes[1]),s.content=Wo(s.content,r.index,O),t[c.token].content=Wo(t[c.token].content,c.pos,R),i+=O.length-1,c.token===n&&(i+=R.length-1),o=s.content,a=o.length,A.length=y;continue e}}b?A.push({token:n,pos:r.index,single:x,level:l}):_&&x&&(s.content=Wo(s.content,r.index,dd))}}}}var Pde=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!Lde.test(e.tokens[n].content)||Ide(e.tokens[n].children,e)},Fde=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n<s;n++)if(l[n].type==="inline"){for(o=l[n].children,i=o.length,r=0;r<i;r++)o[r].type==="text_special"&&(o[r].type="text");for(r=a=0;r<i;r++)o[r].type==="text"&&r+1<i&&o[r+1].type==="text"?o[r+1].content=o[r].content+o[r+1].content:(r!==a&&(o[a]=o[r]),a++);r!==a&&(o.length=a)}};function Ks(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Ks.prototype.attrIndex=function(e){var n,s,o;if(!this.attrs)return-1;for(n=this.attrs,s=0,o=n.length;s<o;s++)if(n[s][0]===e)return s;return-1};Ks.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};Ks.prototype.attrSet=function(e,n){var s=this.attrIndex(e),o=[e,n];s<0?this.attrPush(o):this.attrs[s]=o};Ks.prototype.attrGet=function(e){var n=this.attrIndex(e),s=null;return n>=0&&(s=this.attrs[n][1]),s};Ks.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var ic=Ks,Bde=ic;function lg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}lg.prototype.Token=Bde;var $de=lg,jde=rc,Hi=[["normalize",vde],["block",wde],["inline",xde],["linkify",Ade],["replacements",Dde],["smartquotes",Pde],["text_join",Fde]];function ac(){this.ruler=new jde;for(var t=0;t<Hi.length;t++)this.ruler.push(Hi[t][0],Hi[t][1])}ac.prototype.process=function(t){var e,n,s;for(s=this.ruler.getRules(""),e=0,n=s.length;e<n;e++)s[e](t)};ac.prototype.State=$de;var zde=ac,Vi=ze.isSpace;function Gi(t,e){var n=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];return t.src.slice(n,s)}function hd(t){var e=[],n=0,s=t.length,o,r=!1,i=0,a="";for(o=t.charCodeAt(n);n<s;)o===124&&(r?(a+=t.substring(i,n-1),i=n):(e.push(a+t.substring(i,n)),a="",i=n+1)),r=o===92,n++,o=t.charCodeAt(n);return e.push(a+t.substring(i)),e}var Ude=function(e,n,s,o){var r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,A,R,O;if(n+2>s||(d=n+1,e.sCount[d]<e.blkIndent)||e.sCount[d]-e.blkIndent>=4||(a=e.bMarks[d]+e.tShift[d],a>=e.eMarks[d])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[d]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Vi(O))||R===45&&Vi(O))return!1;for(;a<e.eMarks[d];){if(r=e.src.charCodeAt(a),r!==124&&r!==45&&r!==58&&!Vi(r))return!1;a++}for(i=Gi(e,n+1),h=i.split("|"),m=[],l=0;l<h.length;l++){if(p=h[l].trim(),!p){if(l===0||l===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(p))return!1;p.charCodeAt(p.length-1)===58?m.push(p.charCodeAt(0)===58?"center":"right"):p.charCodeAt(0)===58?m.push("left"):m.push("")}if(i=Gi(e,n).trim(),i.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(h=hd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==m.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",A=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=b=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l<h.length;l++)g=e.push("th_open","th",1),m[l]&&(g.attrs=[["style","text-align:"+m[l]]]),g=e.push("inline","",0),g.content=h[l].trim(),g.children=[],g=e.push("th_close","th",-1);for(g=e.push("tr_close","tr",-1),g=e.push("thead_close","thead",-1),d=n+2;d<s&&!(e.sCount[d]<e.blkIndent);d++){for(x=!1,l=0,c=A.length;l<c;l++)if(A[l](e,d,s,!0)){x=!0;break}if(x||(i=Gi(e,d).trim(),!i)||e.sCount[d]-e.blkIndent>=4)break;for(h=hd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),d===n+2&&(g=e.push("tbody_open","tbody",1),g.map=_=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[d,d+1],l=0;l<f;l++)g=e.push("td_open","td",1),m[l]&&(g.attrs=[["style","text-align:"+m[l]]]),g=e.push("inline","",0),g.content=h[l]?h[l].trim():"",g.children=[],g=e.push("td_close","td",-1);g=e.push("tr_close","tr",-1)}return _&&(g=e.push("tbody_close","tbody",-1),_[1]=d),g=e.push("table_close","table",-1),b[1]=d,e.parentType=y,e.line=d,!0},qde=function(e,n,s){var o,r,i;if(e.sCount[n]-e.blkIndent<4)return!1;for(r=o=n+1;o<s;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=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},Hde=function(e,n,s,o){var r,i,a,l,c,d,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(h=e.src.slice(c,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g<m&&e.sCount[l]<e.blkIndent));)if(e.src.charCodeAt(g)===r&&!(e.sCount[l]-e.blkIndent>=4)&&(g=e.skipChars(g,r),!(g-c<i)&&(g=e.skipSpaces(g),!(g<m)))){f=!0;break}return i=e.sCount[n],e.line=l+(f?1:0),d=e.push("fence","code",0),d.info=a,d.content=e.getLines(n+1,l,i,!0),d.markup=h,d.map=[n,e.line],!0},fd=ze.isSpace,Vde=function(e,n,s,o){var r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,A,R,O,D,v,k=e.lineMax,M=e.bMarks[n]+e.tShift[n],L=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M<L&&(i=e.src.charCodeAt(M),fd(i));){i===9?g+=4-(g+e.bsCount[n]+(r?1:0))%4:g++;M++}for(p=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(A?1:0),d=M>=L,y=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=n+1;f<s&&(v=e.sCount[f]<e.blkIndent,M=e.bMarks[f]+e.tShift[f],L=e.eMarks[f],!(M>=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,A=!0):e.src.charCodeAt(M)===9?(A=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):A=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M<L&&(i=e.src.charCodeAt(M),fd(i));){i===9?g+=4-(g+e.bsCount[f]+(r?1:0))%4:g++;M++}d=M>=L,p.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(A?1:0),y.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(d)break;for(R=!1,a=0,c=O.length;a<c;a++)if(O[a](e,f,s,!0)){R=!0;break}if(R){e.lineMax=f,e.blkIndent!==0&&(m.push(e.bMarks[f]),p.push(e.bsCount[f]),x.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}m.push(e.bMarks[f]),p.push(e.bsCount[f]),x.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]=-1}for(b=e.blkIndent,e.blkIndent=0,D=e.push("blockquote_open","blockquote",1),D.markup=">",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,h[1]=e.line,a=0;a<x.length;a++)e.bMarks[a+n]=m[a],e.tShift[a+n]=x[a],e.sCount[a+n]=y[a],e.bsCount[a+n]=p[a];return e.blkIndent=b,!0},Gde=ze.isSpace,Kde=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],d=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c<d;){if(a=e.src.charCodeAt(c++),a!==r&&!Gde(a))return!1;a===r&&i++}return i<3?!1:(o||(e.line=n+1,l=e.push("hr","hr",0),l.map=[n,e.line],l.markup=Array(i+1).join(String.fromCharCode(r))),!0)},cg=ze.isSpace;function pd(t,e){var n,s,o,r;return s=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],n=t.src.charCodeAt(s++),n!==42&&n!==45&&n!==43||s<o&&(r=t.src.charCodeAt(s),!cg(r))?-1:s}function gd(t,e){var n,s=t.bMarks[e]+t.tShift[e],o=s,r=t.eMarks[e];if(o+1>=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<r&&(n=t.src.charCodeAt(o),!cg(n))?-1:o}function Wde(t,e){var n,s,o=t.level+2;for(n=e+2,s=t.tokens.length-2;n<s;n++)t.tokens[n].level===o&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var Zde=function(e,n,s,o){var r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,A,R,O,D,v,k,M,L,F,Q,I,le,Z,T=!1,q=!0;if(e.sCount[n]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]<e.blkIndent)return!1;if(o&&e.parentType==="paragraph"&&e.sCount[n]>=e.blkIndent&&(T=!0),(L=gd(e,n))>=0){if(h=!0,Q=e.bMarks[n]+e.tShift[n],_=Number(e.src.slice(Q,L-1)),T&&_!==1)return!1}else if((L=pd(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(b=e.src.charCodeAt(L-1),o)return!0;for(p=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),_!==1&&(Z.attrs=[["start",_]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(b),x=n,F=!1,le=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x<s;){for(M=L,y=e.eMarks[x],d=A=e.sCount[x]+L-(e.bMarks[n]+e.tShift[n]);M<y;){if(r=e.src.charCodeAt(M),r===9)A+=4-(A+e.bsCount[x])%4;else if(r===32)A++;else break;M++}if(i=M,i>=y?c=1:c=A-d,c>4&&(c=1),l=d+c,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(b),Z.map=f=[n,0],h&&(Z.info=e.src.slice(Q,L-1)),k=e.tight,v=e.tShift[n],D=e.sCount[n],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=A,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=k,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(b),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]<e.blkIndent||e.sCount[n]-e.blkIndent>=4)break;for(I=!1,a=0,g=le.length;a<g;a++)if(le[a](e,x,s,!0)){I=!0;break}if(I)break;if(h){if(L=gd(e,x),L<0)break;Q=e.bMarks[x]+e.tShift[x]}else if(L=pd(e,x),L<0)break;if(b!==e.src.charCodeAt(L-1))break}return h?Z=e.push("ordered_list_close","ol",-1):Z=e.push("bullet_list_close","ul",-1),Z.markup=String.fromCharCode(b),m[1]=x,e.line=x,e.parentType=O,q&&Wde(e,p),!0},Yde=ze.normalizeReference,Zo=ze.isSpace,Qde=function(e,n,s,o){var r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,A,R=0,O=e.bMarks[n]+e.tShift[n],D=e.eMarks[n],v=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(O)!==91)return!1;for(;++O<D;)if(e.src.charCodeAt(O)===93&&e.src.charCodeAt(O-1)!==92){if(O+1===D||e.src.charCodeAt(O+1)!==58)return!1;break}for(l=e.lineMax,x=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";v<l&&!e.isEmpty(v);v++)if(!(e.sCount[v]-e.blkIndent>3)&&!(e.sCount[v]<0)){for(y=!1,d=0,h=x.length;d<h;d++)if(x[d](e,v,l,!0)){y=!0;break}if(y)break}for(_=e.getLines(n,v,e.blkIndent,!1).trim(),D=_.length,O=1;O<D;O++){if(r=_.charCodeAt(O),r===91)return!1;if(r===93){g=O;break}else r===10?R++:r===92&&(O++,O<D&&_.charCodeAt(O)===10&&R++)}if(g<0||_.charCodeAt(g+1)!==58)return!1;for(O=g+2;O<D;O++)if(r=_.charCodeAt(O),r===10)R++;else if(!Zo(r))break;if(p=e.md.helpers.parseLinkDestination(_,O,D),!p.ok||(c=e.md.normalizeLink(p.str),!e.md.validateLink(c)))return!1;for(O=p.pos,R+=p.lines,i=O,a=R,b=O;O<D;O++)if(r=_.charCodeAt(O),r===10)R++;else if(!Zo(r))break;for(p=e.md.helpers.parseLinkTitle(_,O,D),O<D&&b!==O&&p.ok?(A=p.str,O=p.pos,R+=p.lines):(A="",O=i,R=a);O<D&&(r=_.charCodeAt(O),!!Zo(r));)O++;if(O<D&&_.charCodeAt(O)!==10&&A)for(A="",O=i,R=a;O<D&&(r=_.charCodeAt(O),!!Zo(r));)O++;return O<D&&_.charCodeAt(O)!==10||(f=Yde(_.slice(1,g)),!f)?!1:(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:A,href:c}),e.parentType=m,e.line=n+R+1),!0)},Jde=["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"],hi={},Xde="[a-zA-Z_:][a-zA-Z0-9:._-]*",ehe="[^\"'=<>`\\x00-\\x20]+",the="'[^']*'",nhe='"[^"]*"',she="(?:"+ehe+"|"+the+"|"+nhe+")",ohe="(?:\\s+"+Xde+"(?:\\s*=\\s*"+she+")?)",ug="<[A-Za-z][A-Za-z0-9\\-]*"+ohe+"*\\s*\\/?>",dg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rhe="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",ihe="<[?][\\s\\S]*?[?]>",ahe="<![A-Z]+\\s+[^>]*>",lhe="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",che=new RegExp("^(?:"+ug+"|"+dg+"|"+rhe+"|"+ihe+"|"+ahe+"|"+lhe+")"),uhe=new RegExp("^(?:"+ug+"|"+dg+")");hi.HTML_TAG_RE=che;hi.HTML_OPEN_CLOSE_TAG_RE=uhe;var dhe=Jde,hhe=hi.HTML_OPEN_CLOSE_TAG_RE,ds=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+dhe.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(hhe.source+"\\s*$"),/^$/,!1]],fhe=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],d=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,d),r=0;r<ds.length&&!ds[r][0].test(l);r++);if(r===ds.length)return!1;if(o)return ds[r][2];if(i=n+1,!ds[r][1].test(l)){for(;i<s&&!(e.sCount[i]<e.blkIndent);i++)if(c=e.bMarks[i]+e.tShift[i],d=e.eMarks[i],l=e.src.slice(c,d),ds[r][1].test(l)){l.length!==0&&i++;break}}return e.line=i,a=e.push("html_block","",0),a.map=[n,i],a.content=e.getLines(n,i,e.blkIndent,!0),!0},md=ze.isSpace,phe=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],d=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(r=e.src.charCodeAt(c),r!==35||c>=d))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c<d&&i<=6;)i++,r=e.src.charCodeAt(++c);return i>6||c<d&&!md(r)?!1:(o||(d=e.skipSpacesBack(d,c),a=e.skipCharsBack(d,35,c),a>c&&md(e.src.charCodeAt(a-1))&&(d=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,d).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},ghe=function(e,n,s){var o,r,i,a,l,c,d,h,f,g=n+1,m,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g<s&&!e.isEmpty(g);g++)if(!(e.sCount[g]-e.blkIndent>3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],d=e.eMarks[g],c<d&&(f=e.src.charCodeAt(c),(f===45||f===61)&&(c=e.skipChars(c,f),c=e.skipSpaces(c),c>=d)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=p.length;i<a;i++)if(p[i](e,g,s,!0)){r=!0;break}if(r)break}}return h?(o=e.getLines(n,g,e.blkIndent,!1).trim(),e.line=g+1,l=e.push("heading_open","h"+String(h),1),l.markup=String.fromCharCode(f),l.map=[n,e.line],l=e.push("inline","",0),l.content=o,l.map=[n,e.line-1],l.children=[],l=e.push("heading_close","h"+String(h),-1),l.markup=String.fromCharCode(f),e.parentType=m,!0):!1},mhe=function(e,n){var s,o,r,i,a,l,c=n+1,d=e.md.block.ruler.getRules("paragraph"),h=e.lineMax;for(l=e.parentType,e.parentType="paragraph";c<h&&!e.isEmpty(c);c++)if(!(e.sCount[c]-e.blkIndent>3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=d.length;r<i;r++)if(d[r](e,c,h,!0)){o=!0;break}if(o)break}return s=e.getLines(n,c,e.blkIndent,!1).trim(),e.line=c,a=e.push("paragraph_open","p",1),a.map=[n,e.line],a=e.push("inline","",0),a.content=s,a.map=[n,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0},hg=ic,fi=ze.isSpace;function Xt(t,e,n,s){var o,r,i,a,l,c,d,h;for(this.src=t,this.md=e,this.env=n,this.tokens=s,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",r=this.src,h=!1,i=a=c=d=0,l=r.length;a<l;a++){if(o=r.charCodeAt(a),!h)if(fi(o)){c++,o===9?d+=4-d%4:d++;continue}else h=!0;(o===10||a===l-1)&&(o!==10&&a++,this.bMarks.push(i),this.eMarks.push(a),this.tShift.push(c),this.sCount.push(d),this.bsCount.push(0),h=!1,c=0,d=0,i=a+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Xt.prototype.push=function(t,e,n){var s=new hg(t,e,n);return s.block=!0,n<0&&this.level--,s.level=this.level,n>0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Xt.prototype.skipSpaces=function(e){for(var n,s=this.src.length;e<s&&(n=this.src.charCodeAt(e),!!fi(n));e++);return e};Xt.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!fi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;e<s&&this.src.charCodeAt(e)===n;e++);return e};Xt.prototype.skipCharsBack=function(e,n,s){if(e<=s)return e;for(;e>s;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,d,h,f=e;if(e>=n)return"";for(d=new Array(n-e),r=0;f<n;f++,r++){for(i=0,h=l=this.bMarks[f],f+1<n||o?c=this.eMarks[f]+1:c=this.eMarks[f];l<c&&i<s;){if(a=this.src.charCodeAt(l),fi(a))a===9?i+=4-(i+this.bsCount[f])%4:i++;else if(l-h<this.tShift[f])i++;else break;l++}i>s?d[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):d[r]=this.src.slice(l,c)}return d.join("")};Xt.prototype.Token=hg;var _he=Xt,bhe=rc,Yo=[["table",Ude,["paragraph","reference"]],["code",qde],["fence",Hde,["paragraph","reference","blockquote","list"]],["blockquote",Vde,["paragraph","reference","blockquote","list"]],["hr",Kde,["paragraph","reference","blockquote","list"]],["list",Zde,["paragraph","reference","blockquote"]],["reference",Qde],["html_block",fhe,["paragraph","reference","blockquote"]],["heading",phe,["paragraph","reference","blockquote"]],["lheading",ghe],["paragraph",mhe]];function pi(){this.ruler=new bhe;for(var t=0;t<Yo.length;t++)this.ruler.push(Yo[t][0],Yo[t][1],{alt:(Yo[t][2]||[]).slice()})}pi.prototype.tokenize=function(t,e,n){for(var s,o,r=this.ruler.getRules(""),i=r.length,a=e,l=!1,c=t.md.options.maxNesting;a<n&&(t.line=a=t.skipEmptyLines(a),!(a>=n||t.sCount[a]<t.blkIndent));){if(t.level>=c){t.line=n;break}for(o=0;o<i&&(s=r[o](t,a,n,!1),!s);o++);t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),a=t.line,a<n&&t.isEmpty(a)&&(l=!0,a++,t.line=a)}};pi.prototype.parse=function(t,e,n,s){var o;t&&(o=new this.State(t,e,n,s),this.tokenize(o,o.line,o.lineMax))};pi.prototype.State=_he;var yhe=pi;function vhe(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var whe=function(e,n){for(var s=e.pos;s<e.posMax&&!vhe(e.src.charCodeAt(s));)s++;return s===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,s)),e.pos=s,!0)},xhe=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,khe=function(e,n){var s,o,r,i,a,l,c,d;return!e.md.options.linkify||e.linkLevel>0||(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(xhe),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-i.length),d=e.push("link_open","a",1),d.attrs=[["href",c]],d.markup="linkify",d.info="auto",d=e.push("text","",0),d.content=e.md.normalizeLinkText(l),d=e.push("link_close","a",-1),d.markup="linkify",d.info="auto"),e.pos+=l.length-i.length,!0)},Ehe=ze.isSpace,Che=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<o&&Ehe(e.src.charCodeAt(i));)i++;return e.pos=i,!0},Ahe=ze.isSpace,lc=[];for(var _d=0;_d<256;_d++)lc.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){lc[t.charCodeAt(0)]=1});var She=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<c&&(s=e.src.charCodeAt(l),!!Ahe(s));)l++;return e.pos=l,!0}return i=e.src[l],s>=55296&&s<=56319&&l+1<c&&(o=e.src.charCodeAt(l+1),o>=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&lc[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},The=function(e,n){var s,o,r,i,a,l,c,d,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h<o&&e.src.charCodeAt(h)===96;)h++;if(r=e.src.slice(s,h),c=r.length,e.backticksScanned&&(e.backticks[c]||0)<=s)return n||(e.pending+=r),e.pos+=c,!0;for(a=l=h;(a=e.src.indexOf("`",l))!==-1;){for(l=a+1;l<o&&e.src.charCodeAt(l)===96;)l++;if(d=l-a,d===c)return n||(i=e.push("code_inline","code",0),i.markup=r,i.content=e.src.slice(h,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[d]=a}return e.backticksScanned=!0,n||(e.pending+=r),e.pos+=c,!0},gi={};gi.tokenize=function(e,n){var s,o,r,i,a,l=e.pos,c=e.src.charCodeAt(l);if(n||c!==126||(o=e.scanDelims(e.pos,!0),i=o.length,a=String.fromCharCode(c),i<2))return!1;for(i%2&&(r=e.push("text","",0),r.content=a,i--),s=0;s<i;s+=2)r=e.push("text","",0),r.content=a+a,e.delimiters.push({marker:c,length:0,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function bd(t,e){var n,s,o,r,i,a=[],l=e.length;for(n=0;n<l;n++)o=e[n],o.marker===126&&o.end!==-1&&(r=e[o.end],i=t.tokens[o.token],i.type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",i=t.tokens[r.token],i.type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="",t.tokens[r.token-1].type==="text"&&t.tokens[r.token-1].content==="~"&&a.push(r.token-1));for(;a.length;){for(n=a.pop(),s=n+1;s<t.tokens.length&&t.tokens[s].type==="s_close";)s++;s--,n!==s&&(i=t.tokens[s],t.tokens[s]=t.tokens[n],t.tokens[n]=i)}}gi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(bd(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&bd(e,s[n].delimiters)};var mi={};mi.tokenize=function(e,n){var s,o,r,i=e.pos,a=e.src.charCodeAt(i);if(n||a!==95&&a!==42)return!1;for(o=e.scanDelims(e.pos,a===42),s=0;s<o.length;s++)r=e.push("text","",0),r.content=String.fromCharCode(a),e.delimiters.push({marker:a,length:o.length,token:e.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return e.pos+=o.length,!0};function yd(t,e){var n,s,o,r,i,a,l=e.length;for(n=l-1;n>=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--))}mi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(yd(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&yd(e,s[n].delimiters)};var Mhe=ze.normalizeReference,Ki=ze.isSpace,Ohe=function(e,n){var s,o,r,i,a,l,c,d,h,f="",g="",m=e.pos,p=e.posMax,b=e.pos,_=!0;if(e.src.charCodeAt(e.pos)!==91||(a=e.pos+1,i=e.md.helpers.parseLinkLabel(e,e.pos,!0),i<0))return!1;if(l=i+1,l<p&&e.src.charCodeAt(l)===40){for(_=!1,l++;l<p&&(o=e.src.charCodeAt(l),!(!Ki(o)&&o!==10));l++);if(l>=p)return!1;if(b=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?l=c.pos:f="",b=l;l<p&&(o=e.src.charCodeAt(l),!(!Ki(o)&&o!==10));l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<p&&b!==l&&c.ok)for(g=c.str,l=c.pos;l<p&&(o=e.src.charCodeAt(l),!(!Ki(o)&&o!==10));l++);}(l>=p||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l<p&&e.src.charCodeAt(l)===91?(b=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?r=e.src.slice(b,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),d=e.env.references[Mhe(r)],!d)return e.pos=m,!1;f=d.href,g=d.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],g&&s.push(["title",g]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=p,!0},Rhe=ze.normalizeReference,Wi=ze.isSpace,Nhe=function(e,n){var s,o,r,i,a,l,c,d,h,f,g,m,p,b="",_=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c<y&&e.src.charCodeAt(c)===40){for(c++;c<y&&(o=e.src.charCodeAt(c),!(!Wi(o)&&o!==10));c++);if(c>=y)return!1;for(p=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?c=h.pos:b=""),p=c;c<y&&(o=e.src.charCodeAt(c),!(!Wi(o)&&o!==10));c++);if(h=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<y&&p!==c&&h.ok)for(f=h.str,c=h.pos;c<y&&(o=e.src.charCodeAt(c),!(!Wi(o)&&o!==10));c++);else f="";if(c>=y||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c<y&&e.src.charCodeAt(c)===91?(p=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?i=e.src.slice(p,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),d=e.env.references[Rhe(i)],!d)return e.pos=_,!1;b=d.href,f=d.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,m=[]),g=e.push("image","img",0),g.attrs=s=[["src",b],["alt",""]],g.children=m,g.content=r,f&&s.push(["title",f])),e.pos=c,e.posMax=y,!0},Dhe=/^([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])?)*)$/,Lhe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Ihe=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),Lhe.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):Dhe.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},Phe=hi.HTML_TAG_RE;function Fhe(t){return/^<a[>\s]/i.test(t)}function Bhe(t){return/^<\/a\s*>/i.test(t)}function $he(t){var e=t|32;return e>=97&&e<=122}var jhe=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&&!$he(s))||(o=e.src.slice(a).match(Phe),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Fhe(i.content)&&e.linkLevel++,Bhe(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},vd=sg,zhe=ze.has,Uhe=ze.isValidEntityCode,wd=ze.fromCodePoint,qhe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Hhe=/^&([a-z][a-z0-9]{1,31});/i,Vhe=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(qhe),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=Uhe(o)?wd(o):wd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Hhe),r&&zhe(vd,r[1]))return n||(i=e.push("text_special","",0),i.content=vd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function xd(t,e){var n,s,o,r,i,a,l,c,d={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;n<h;n++)if(o=e[n],m.push(0),(e[f].marker!==o.marker||g!==o.token-1)&&(f=n),g=o.token,o.length=o.length||0,!!o.close){for(d.hasOwnProperty(o.marker)||(d[o.marker]=[-1,-1,-1,-1,-1,-1]),i=d[o.marker][(o.open?3:0)+o.length%3],s=f-m[f]-1,a=s;s>i;s-=m[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+c,m[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(d[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var Ghe=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(xd(e,e.delimiters),n=0;n<o;n++)s[n]&&s[n].delimiters&&xd(e,s[n].delimiters)},Khe=function(e){var n,s,o=0,r=e.tokens,i=e.tokens.length;for(n=s=0;n<i;n++)r[n].nesting<0&&o--,r[n].level=o,r[n].nesting>0&&o++,r[n].type==="text"&&n+1<i&&r[n+1].type==="text"?r[n+1].content=r[n].content+r[n+1].content:(n!==s&&(r[s]=r[n]),s++);n!==s&&(r.length=s)},cc=ic,kd=ze.isWhiteSpace,Ed=ze.isPunctChar,Cd=ze.isMdAsciiPunct;function Io(t,e,n,s){this.src=t,this.env=n,this.md=e,this.tokens=s,this.tokens_meta=Array(s.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Io.prototype.pushPending=function(){var t=new cc("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};Io.prototype.push=function(t,e,n){this.pending&&this.pushPending();var s=new cc(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),s.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Io.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,d,h,f=!0,g=!0,m=this.posMax,p=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n<m&&this.src.charCodeAt(n)===p;)n++;return r=n-t,o=n<m?this.src.charCodeAt(n):32,c=Cd(s)||Ed(String.fromCharCode(s)),h=Cd(o)||Ed(String.fromCharCode(o)),l=kd(s),d=kd(o),d?f=!1:h&&(l||c||(f=!1)),l?g=!1:c&&(d||h||(g=!1)),e?(i=f,a=g):(i=f&&(!g||c),a=g&&(!f||h)),{can_open:i,can_close:a,length:r}};Io.prototype.Token=cc;var Whe=Io,Ad=rc,Zi=[["text",whe],["linkify",khe],["newline",Che],["escape",She],["backticks",The],["strikethrough",gi.tokenize],["emphasis",mi.tokenize],["link",Ohe],["image",Nhe],["autolink",Ihe],["html_inline",jhe],["entity",Vhe]],Yi=[["balance_pairs",Ghe],["strikethrough",gi.postProcess],["emphasis",mi.postProcess],["fragments_join",Khe]];function Po(){var t;for(this.ruler=new Ad,t=0;t<Zi.length;t++)this.ruler.push(Zi[t][0],Zi[t][1]);for(this.ruler2=new Ad,t=0;t<Yi.length;t++)this.ruler2.push(Yi[t][0],Yi[t][1])}Po.prototype.skipToken=function(t){var e,n,s=t.pos,o=this.ruler.getRules(""),r=o.length,i=t.md.options.maxNesting,a=t.cache;if(typeof a[s]<"u"){t.pos=a[s];return}if(t.level<i)for(n=0;n<r&&(t.level++,e=o[n](t,!0),t.level--,!e);n++);else t.pos=t.posMax;e||t.pos++,a[s]=t.pos};Po.prototype.tokenize=function(t){for(var e,n,s=this.ruler.getRules(""),o=s.length,r=t.posMax,i=t.md.options.maxNesting;t.pos<r;){if(t.level<i)for(n=0;n<o&&(e=s[n](t,!1),!e);n++);if(e){if(t.pos>=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Po.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o<i;o++)r[o](a)};Po.prototype.State=Whe;var Zhe=Po,Qi,Sd;function Yhe(){return Sd||(Sd=1,Qi=function(t){var e={};t=t||{},e.src_Any=og().source,e.src_Cc=rg().source,e.src_Z=ig().source,e.src_P=oc.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",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}),Qi}function dl(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 _i(t){return Object.prototype.toString.call(t)}function Qhe(t){return _i(t)==="[object String]"}function Jhe(t){return _i(t)==="[object Object]"}function Xhe(t){return _i(t)==="[object RegExp]"}function Td(t){return _i(t)==="[object Function]"}function efe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var fg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function tfe(t){return Object.keys(t||{}).reduce(function(e,n){return e||fg.hasOwnProperty(n)},!1)}var nfe={"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}}},sfe="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]",ofe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function rfe(t){t.__index__=-1,t.__text_cache__=""}function ife(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Md(){return function(t,e){e.normalize(t)}}function Sr(t){var e=t.re=Yhe()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(sfe),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,Jhe(l)){Xhe(l.validate)?c.validate=ife(l.validate):Td(l.validate)?c.validate=l.validate:r(a,l),Td(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Md();return}if(Qhe(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:Md()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(efe).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"),rfe(t)}function afe(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 hl(t,e){var n=new afe(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function bt(t,e){if(!(this instanceof bt))return new bt(t,e);e||tfe(t)&&(e=t,t={}),this.__opts__=dl({},fg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=dl({},nfe,t),this.__compiled__={},this.__tlds__=ofe,this.__tlds_replaced__=!1,this.re={},Sr(this)}bt.prototype.add=function(e,n){return this.__schemas__[e]=n,Sr(this),this};bt.prototype.set=function(e){return this.__opts__=dl(this.__opts__,e),this};bt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,d;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(s=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(i=s.index+s[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=s.index+s[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=e.indexOf("@"),d>=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};bt.prototype.pretest=function(e){return this.re.pretest.test(e)};bt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};bt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(hl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(hl(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};bt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,hl(this,0)):null};bt.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),Sr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Sr(this),this)};bt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};bt.prototype.onCompile=function(){};var lfe=bt;const ks=2147483647,Vt=36,uc=1,Ao=26,cfe=38,ufe=700,pg=72,gg=128,mg="-",dfe=/^xn--/,hfe=/[^\0-\x7F]/,ffe=/[\x2E\u3002\uFF0E\uFF61]/g,pfe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ji=Vt-uc,Gt=Math.floor,Xi=String.fromCharCode;function wn(t){throw new RangeError(pfe[t])}function gfe(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function _g(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(ffe,".");const o=t.split("."),r=gfe(o,e).join(".");return s+r}function dc(t){const e=[];let n=0;const s=t.length;for(;n<s;){const o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<s){const r=t.charCodeAt(n++);(r&64512)==56320?e.push(((o&1023)<<10)+(r&1023)+65536):(e.push(o),n--)}else e.push(o)}return e}const bg=t=>String.fromCodePoint(...t),mfe=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Vt},Od=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},yg=function(t,e,n){let s=0;for(t=n?Gt(t/ufe):t>>1,t+=Gt(t/e);t>Ji*Ao>>1;s+=Vt)t=Gt(t/Ji);return Gt(s+(Ji+1)*t/(t+cfe))},hc=function(t){const e=[],n=t.length;let s=0,o=gg,r=pg,i=t.lastIndexOf(mg);i<0&&(i=0);for(let a=0;a<i;++a)t.charCodeAt(a)>=128&&wn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a<n;){const l=s;for(let d=1,h=Vt;;h+=Vt){a>=n&&wn("invalid-input");const f=mfe(t.charCodeAt(a++));f>=Vt&&wn("invalid-input"),f>Gt((ks-s)/d)&&wn("overflow"),s+=f*d;const g=h<=r?uc:h>=r+Ao?Ao:h-r;if(f<g)break;const m=Vt-g;d>Gt(ks/m)&&wn("overflow"),d*=m}const c=e.length+1;r=yg(s-l,c,l==0),Gt(s/c)>ks-o&&wn("overflow"),o+=Gt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},fc=function(t){const e=[];t=dc(t);const n=t.length;let s=gg,o=0,r=pg;for(const l of t)l<128&&e.push(Xi(l));const i=e.length;let a=i;for(i&&e.push(mg);a<n;){let l=ks;for(const d of t)d>=s&&d<l&&(l=d);const c=a+1;l-s>Gt((ks-o)/c)&&wn("overflow"),o+=(l-s)*c,s=l;for(const d of t)if(d<s&&++o>ks&&wn("overflow"),d===s){let h=o;for(let f=Vt;;f+=Vt){const g=f<=r?uc:f>=r+Ao?Ao:f-r;if(h<g)break;const m=h-g,p=Vt-g;e.push(Xi(Od(g+m%p,0))),h=Gt(m/p)}e.push(Xi(Od(h,0))),r=yg(o,c,a===i),o=0,++a}++o,++s}return e.join("")},vg=function(t){return _g(t,function(e){return dfe.test(e)?hc(e.slice(4).toLowerCase()):e})},wg=function(t){return _g(t,function(e){return hfe.test(e)?"xn--"+fc(e):e})},_fe={version:"2.1.0",ucs2:{decode:dc,encode:bg},decode:hc,encode:fc,toASCII:wg,toUnicode:vg},bfe=Object.freeze(Object.defineProperty({__proto__:null,decode:hc,default:_fe,encode:fc,toASCII:wg,toUnicode:vg,ucs2decode:dc,ucs2encode:bg},Symbol.toStringTag,{value:"Module"})),yfe=Gy(bfe);var vfe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},wfe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},xfe={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},ao=ze,kfe=di,Efe=_de,Cfe=zde,Afe=yhe,Sfe=Zhe,Tfe=lfe,Gn=Vs,xg=yfe,Mfe={default:vfe,zero:wfe,commonmark:xfe},Ofe=/^(vbscript|javascript|file|data):/,Rfe=/^data:image\/(gif|png|jpeg|webp);/;function Nfe(t){var e=t.trim().toLowerCase();return Ofe.test(e)?!!Rfe.test(e):!0}var kg=["http:","https:","mailto:"];function Dfe(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||kg.indexOf(e.protocol)>=0))try{e.hostname=xg.toASCII(e.hostname)}catch{}return Gn.encode(Gn.format(e))}function Lfe(t){var e=Gn.parse(t,!0);if(e.hostname&&(!e.protocol||kg.indexOf(e.protocol)>=0))try{e.hostname=xg.toUnicode(e.hostname)}catch{}return Gn.decode(Gn.format(e),Gn.decode.defaultChars+"%")}function Tt(t,e){if(!(this instanceof Tt))return new Tt(t,e);e||ao.isString(t)||(e=t||{},t="default"),this.inline=new Sfe,this.block=new Afe,this.core=new Cfe,this.renderer=new Efe,this.linkify=new Tfe,this.validateLink=Nfe,this.normalizeLink=Dfe,this.normalizeLinkText=Lfe,this.utils=ao,this.helpers=ao.assign({},kfe),this.options={},this.configure(t),e&&this.set(e)}Tt.prototype.set=function(t){return ao.assign(this.options,t),this};Tt.prototype.configure=function(t){var e=this,n;if(ao.isString(t)&&(n=t,t=Mfe[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};Tt.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};Tt.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};Tt.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Tt.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};Tt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Tt.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Tt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Ife=Tt,Pfe=Ife;const Ffe=is(Pfe),Bfe="😀",$fe="😃",jfe="😄",zfe="😁",Ufe="😆",qfe="😆",Hfe="😅",Vfe="🤣",Gfe="😂",Kfe="🙂",Wfe="🙃",Zfe="😉",Yfe="😊",Qfe="😇",Jfe="🥰",Xfe="😍",epe="🤩",tpe="😘",npe="😗",spe="☺️",ope="😚",rpe="😙",ipe="🥲",ape="😋",lpe="😛",cpe="😜",upe="🤪",dpe="😝",hpe="🤑",fpe="🤗",ppe="🤭",gpe="🤫",mpe="🤔",_pe="🤐",bpe="🤨",ype="😐",vpe="😑",wpe="😶",xpe="😏",kpe="😒",Epe="🙄",Cpe="😬",Ape="🤥",Spe="😌",Tpe="😔",Mpe="😪",Ope="🤤",Rpe="😴",Npe="😷",Dpe="🤒",Lpe="🤕",Ipe="🤢",Ppe="🤮",Fpe="🤧",Bpe="🥵",$pe="🥶",jpe="🥴",zpe="😵",Upe="🤯",qpe="🤠",Hpe="🥳",Vpe="🥸",Gpe="😎",Kpe="🤓",Wpe="🧐",Zpe="😕",Ype="😟",Qpe="🙁",Jpe="☹️",Xpe="😮",ege="😯",tge="😲",nge="😳",sge="🥺",oge="😦",rge="😧",ige="😨",age="😰",lge="😥",cge="😢",uge="😭",dge="😱",hge="😖",fge="😣",pge="😞",gge="😓",mge="😩",_ge="😫",bge="🥱",yge="😤",vge="😡",wge="😡",xge="😠",kge="🤬",Ege="😈",Cge="👿",Age="💀",Sge="☠️",Tge="💩",Mge="💩",Oge="💩",Rge="🤡",Nge="👹",Dge="👺",Lge="👻",Ige="👽",Pge="👾",Fge="🤖",Bge="😺",$ge="😸",jge="😹",zge="😻",Uge="😼",qge="😽",Hge="🙀",Vge="😿",Gge="😾",Kge="🙈",Wge="🙉",Zge="🙊",Yge="💋",Qge="💌",Jge="💘",Xge="💝",eme="💖",tme="💗",nme="💓",sme="💞",ome="💕",rme="💟",ime="❣️",ame="💔",lme="❤️",cme="🧡",ume="💛",dme="💚",hme="💙",fme="💜",pme="🤎",gme="🖤",mme="🤍",_me="💢",bme="💥",yme="💥",vme="💫",wme="💦",xme="💨",kme="🕳️",Eme="💣",Cme="💬",Ame="👁️‍🗨️",Sme="🗨️",Tme="🗯️",Mme="💭",Ome="💤",Rme="👋",Nme="🤚",Dme="🖐️",Lme="✋",Ime="✋",Pme="🖖",Fme="👌",Bme="🤌",$me="🤏",jme="✌️",zme="🤞",Ume="🤟",qme="🤘",Hme="🤙",Vme="👈",Gme="👉",Kme="👆",Wme="🖕",Zme="🖕",Yme="👇",Qme="☝️",Jme="👍",Xme="👎",e_e="✊",t_e="✊",n_e="👊",s_e="👊",o_e="👊",r_e="🤛",i_e="🤜",a_e="👏",l_e="🙌",c_e="👐",u_e="🤲",d_e="🤝",h_e="🙏",f_e="✍️",p_e="💅",g_e="🤳",m_e="💪",__e="🦾",b_e="🦿",y_e="🦵",v_e="🦶",w_e="👂",x_e="🦻",k_e="👃",E_e="🧠",C_e="🫀",A_e="🫁",S_e="🦷",T_e="🦴",M_e="👀",O_e="👁️",R_e="👅",N_e="👄",D_e="👶",L_e="🧒",I_e="👦",P_e="👧",F_e="🧑",B_e="👱",$_e="👨",j_e="🧔",z_e="👨‍🦰",U_e="👨‍🦱",q_e="👨‍🦳",H_e="👨‍🦲",V_e="👩",G_e="👩‍🦰",K_e="🧑‍🦰",W_e="👩‍🦱",Z_e="🧑‍🦱",Y_e="👩‍🦳",Q_e="🧑‍🦳",J_e="👩‍🦲",X_e="🧑‍🦲",e1e="👱‍♀️",t1e="👱‍♀️",n1e="👱‍♂️",s1e="🧓",o1e="👴",r1e="👵",i1e="🙍",a1e="🙍‍♂️",l1e="🙍‍♀️",c1e="🙎",u1e="🙎‍♂️",d1e="🙎‍♀️",h1e="🙅",f1e="🙅‍♂️",p1e="🙅‍♂️",g1e="🙅‍♀️",m1e="🙅‍♀️",_1e="🙆",b1e="🙆‍♂️",y1e="🙆‍♀️",v1e="💁",w1e="💁",x1e="💁‍♂️",k1e="💁‍♂️",E1e="💁‍♀️",C1e="💁‍♀️",A1e="🙋",S1e="🙋‍♂️",T1e="🙋‍♀️",M1e="🧏",O1e="🧏‍♂️",R1e="🧏‍♀️",N1e="🙇",D1e="🙇‍♂️",L1e="🙇‍♀️",I1e="🤦",P1e="🤦‍♂️",F1e="🤦‍♀️",B1e="🤷",$1e="🤷‍♂️",j1e="🤷‍♀️",z1e="🧑‍⚕️",U1e="👨‍⚕️",q1e="👩‍⚕️",H1e="🧑‍🎓",V1e="👨‍🎓",G1e="👩‍🎓",K1e="🧑‍🏫",W1e="👨‍🏫",Z1e="👩‍🏫",Y1e="🧑‍⚖️",Q1e="👨‍⚖️",J1e="👩‍⚖️",X1e="🧑‍🌾",e0e="👨‍🌾",t0e="👩‍🌾",n0e="🧑‍🍳",s0e="👨‍🍳",o0e="👩‍🍳",r0e="🧑‍🔧",i0e="👨‍🔧",a0e="👩‍🔧",l0e="🧑‍🏭",c0e="👨‍🏭",u0e="👩‍🏭",d0e="🧑‍💼",h0e="👨‍💼",f0e="👩‍💼",p0e="🧑‍🔬",g0e="👨‍🔬",m0e="👩‍🔬",_0e="🧑‍💻",b0e="👨‍💻",y0e="👩‍💻",v0e="🧑‍🎤",w0e="👨‍🎤",x0e="👩‍🎤",k0e="🧑‍🎨",E0e="👨‍🎨",C0e="👩‍🎨",A0e="🧑‍✈️",S0e="👨‍✈️",T0e="👩‍✈️",M0e="🧑‍🚀",O0e="👨‍🚀",R0e="👩‍🚀",N0e="🧑‍🚒",D0e="👨‍🚒",L0e="👩‍🚒",I0e="👮",P0e="👮",F0e="👮‍♂️",B0e="👮‍♀️",$0e="🕵️",j0e="🕵️‍♂️",z0e="🕵️‍♀️",U0e="💂",q0e="💂‍♂️",H0e="💂‍♀️",V0e="🥷",G0e="👷",K0e="👷‍♂️",W0e="👷‍♀️",Z0e="🤴",Y0e="👸",Q0e="👳",J0e="👳‍♂️",X0e="👳‍♀️",ebe="👲",tbe="🧕",nbe="🤵",sbe="🤵‍♂️",obe="🤵‍♀️",rbe="👰",ibe="👰‍♂️",abe="👰‍♀️",lbe="👰‍♀️",cbe="🤰",ube="🤱",dbe="👩‍🍼",hbe="👨‍🍼",fbe="🧑‍🍼",pbe="👼",gbe="🎅",mbe="🤶",_be="🧑‍🎄",bbe="🦸",ybe="🦸‍♂️",vbe="🦸‍♀️",wbe="🦹",xbe="🦹‍♂️",kbe="🦹‍♀️",Ebe="🧙",Cbe="🧙‍♂️",Abe="🧙‍♀️",Sbe="🧚",Tbe="🧚‍♂️",Mbe="🧚‍♀️",Obe="🧛",Rbe="🧛‍♂️",Nbe="🧛‍♀️",Dbe="🧜",Lbe="🧜‍♂️",Ibe="🧜‍♀️",Pbe="🧝",Fbe="🧝‍♂️",Bbe="🧝‍♀️",$be="🧞",jbe="🧞‍♂️",zbe="🧞‍♀️",Ube="🧟",qbe="🧟‍♂️",Hbe="🧟‍♀️",Vbe="💆",Gbe="💆‍♂️",Kbe="💆‍♀️",Wbe="💇",Zbe="💇‍♂️",Ybe="💇‍♀️",Qbe="🚶",Jbe="🚶‍♂️",Xbe="🚶‍♀️",eye="🧍",tye="🧍‍♂️",nye="🧍‍♀️",sye="🧎",oye="🧎‍♂️",rye="🧎‍♀️",iye="🧑‍🦯",aye="👨‍🦯",lye="👩‍🦯",cye="🧑‍🦼",uye="👨‍🦼",dye="👩‍🦼",hye="🧑‍🦽",fye="👨‍🦽",pye="👩‍🦽",gye="🏃",mye="🏃",_ye="🏃‍♂️",bye="🏃‍♀️",yye="💃",vye="💃",wye="🕺",xye="🕴️",kye="👯",Eye="👯‍♂️",Cye="👯‍♀️",Aye="🧖",Sye="🧖‍♂️",Tye="🧖‍♀️",Mye="🧗",Oye="🧗‍♂️",Rye="🧗‍♀️",Nye="🤺",Dye="🏇",Lye="⛷️",Iye="🏂",Pye="🏌️",Fye="🏌️‍♂️",Bye="🏌️‍♀️",$ye="🏄",jye="🏄‍♂️",zye="🏄‍♀️",Uye="🚣",qye="🚣‍♂️",Hye="🚣‍♀️",Vye="🏊",Gye="🏊‍♂️",Kye="🏊‍♀️",Wye="⛹️",Zye="⛹️‍♂️",Yye="⛹️‍♂️",Qye="⛹️‍♀️",Jye="⛹️‍♀️",Xye="🏋️",e2e="🏋️‍♂️",t2e="🏋️‍♀️",n2e="🚴",s2e="🚴‍♂️",o2e="🚴‍♀️",r2e="🚵",i2e="🚵‍♂️",a2e="🚵‍♀️",l2e="🤸",c2e="🤸‍♂️",u2e="🤸‍♀️",d2e="🤼",h2e="🤼‍♂️",f2e="🤼‍♀️",p2e="🤽",g2e="🤽‍♂️",m2e="🤽‍♀️",_2e="🤾",b2e="🤾‍♂️",y2e="🤾‍♀️",v2e="🤹",w2e="🤹‍♂️",x2e="🤹‍♀️",k2e="🧘",E2e="🧘‍♂️",C2e="🧘‍♀️",A2e="🛀",S2e="🛌",T2e="🧑‍🤝‍🧑",M2e="👭",O2e="👫",R2e="👬",N2e="💏",D2e="👩‍❤️‍💋‍👨",L2e="👨‍❤️‍💋‍👨",I2e="👩‍❤️‍💋‍👩",P2e="💑",F2e="👩‍❤️‍👨",B2e="👨‍❤️‍👨",$2e="👩‍❤️‍👩",j2e="👪",z2e="👨‍👩‍👦",U2e="👨‍👩‍👧",q2e="👨‍👩‍👧‍👦",H2e="👨‍👩‍👦‍👦",V2e="👨‍👩‍👧‍👧",G2e="👨‍👨‍👦",K2e="👨‍👨‍👧",W2e="👨‍👨‍👧‍👦",Z2e="👨‍👨‍👦‍👦",Y2e="👨‍👨‍👧‍👧",Q2e="👩‍👩‍👦",J2e="👩‍👩‍👧",X2e="👩‍👩‍👧‍👦",eve="👩‍👩‍👦‍👦",tve="👩‍👩‍👧‍👧",nve="👨‍👦",sve="👨‍👦‍👦",ove="👨‍👧",rve="👨‍👧‍👦",ive="👨‍👧‍👧",ave="👩‍👦",lve="👩‍👦‍👦",cve="👩‍👧",uve="👩‍👧‍👦",dve="👩‍👧‍👧",hve="🗣️",fve="👤",pve="👥",gve="🫂",mve="👣",_ve="🐵",bve="🐒",yve="🦍",vve="🦧",wve="🐶",xve="🐕",kve="🦮",Eve="🐕‍🦺",Cve="🐩",Ave="🐺",Sve="🦊",Tve="🦝",Mve="🐱",Ove="🐈",Rve="🐈‍⬛",Nve="🦁",Dve="🐯",Lve="🐅",Ive="🐆",Pve="🐴",Fve="🐎",Bve="🦄",$ve="🦓",jve="🦌",zve="🦬",Uve="🐮",qve="🐂",Hve="🐃",Vve="🐄",Gve="🐷",Kve="🐖",Wve="🐗",Zve="🐽",Yve="🐏",Qve="🐑",Jve="🐐",Xve="🐪",ewe="🐫",twe="🦙",nwe="🦒",swe="🐘",owe="🦣",rwe="🦏",iwe="🦛",awe="🐭",lwe="🐁",cwe="🐀",uwe="🐹",dwe="🐰",hwe="🐇",fwe="🐿️",pwe="🦫",gwe="🦔",mwe="🦇",_we="🐻",bwe="🐻‍❄️",ywe="🐨",vwe="🐼",wwe="🦥",xwe="🦦",kwe="🦨",Ewe="🦘",Cwe="🦡",Awe="🐾",Swe="🐾",Twe="🦃",Mwe="🐔",Owe="🐓",Rwe="🐣",Nwe="🐤",Dwe="🐥",Lwe="🐦",Iwe="🐧",Pwe="🕊️",Fwe="🦅",Bwe="🦆",$we="🦢",jwe="🦉",zwe="🦤",Uwe="🪶",qwe="🦩",Hwe="🦚",Vwe="🦜",Gwe="🐸",Kwe="🐊",Wwe="🐢",Zwe="🦎",Ywe="🐍",Qwe="🐲",Jwe="🐉",Xwe="🦕",exe="🐳",txe="🐋",nxe="🐬",sxe="🐬",oxe="🦭",rxe="🐟",ixe="🐠",axe="🐡",lxe="🦈",cxe="🐙",uxe="🐚",dxe="🐌",hxe="🦋",fxe="🐛",pxe="🐜",gxe="🐝",mxe="🐝",_xe="🪲",bxe="🐞",yxe="🦗",vxe="🪳",wxe="🕷️",xxe="🕸️",kxe="🦂",Exe="🦟",Cxe="🪰",Axe="🪱",Sxe="🦠",Txe="💐",Mxe="🌸",Oxe="💮",Rxe="🏵️",Nxe="🌹",Dxe="🥀",Lxe="🌺",Ixe="🌻",Pxe="🌼",Fxe="🌷",Bxe="🌱",$xe="🪴",jxe="🌲",zxe="🌳",Uxe="🌴",qxe="🌵",Hxe="🌾",Vxe="🌿",Gxe="☘️",Kxe="🍀",Wxe="🍁",Zxe="🍂",Yxe="🍃",Qxe="🍇",Jxe="🍈",Xxe="🍉",eke="🍊",tke="🍊",nke="🍊",ske="🍋",oke="🍌",rke="🍍",ike="🥭",ake="🍎",lke="🍏",cke="🍐",uke="🍑",dke="🍒",hke="🍓",fke="🫐",pke="🥝",gke="🍅",mke="🫒",_ke="🥥",bke="🥑",yke="🍆",vke="🥔",wke="🥕",xke="🌽",kke="🌶️",Eke="🫑",Cke="🥒",Ake="🥬",Ske="🥦",Tke="🧄",Mke="🧅",Oke="🍄",Rke="🥜",Nke="🌰",Dke="🍞",Lke="🥐",Ike="🥖",Pke="🫓",Fke="🥨",Bke="🥯",$ke="🥞",jke="🧇",zke="🧀",Uke="🍖",qke="🍗",Hke="🥩",Vke="🥓",Gke="🍔",Kke="🍟",Wke="🍕",Zke="🌭",Yke="🥪",Qke="🌮",Jke="🌯",Xke="🫔",eEe="🥙",tEe="🧆",nEe="🥚",sEe="🍳",oEe="🥘",rEe="🍲",iEe="🫕",aEe="🥣",lEe="🥗",cEe="🍿",uEe="🧈",dEe="🧂",hEe="🥫",fEe="🍱",pEe="🍘",gEe="🍙",mEe="🍚",_Ee="🍛",bEe="🍜",yEe="🍝",vEe="🍠",wEe="🍢",xEe="🍣",kEe="🍤",EEe="🍥",CEe="🥮",AEe="🍡",SEe="🥟",TEe="🥠",MEe="🥡",OEe="🦀",REe="🦞",NEe="🦐",DEe="🦑",LEe="🦪",IEe="🍦",PEe="🍧",FEe="🍨",BEe="🍩",$Ee="🍪",jEe="🎂",zEe="🍰",UEe="🧁",qEe="🥧",HEe="🍫",VEe="🍬",GEe="🍭",KEe="🍮",WEe="🍯",ZEe="🍼",YEe="🥛",QEe="☕",JEe="🫖",XEe="🍵",e5e="🍶",t5e="🍾",n5e="🍷",s5e="🍸",o5e="🍹",r5e="🍺",i5e="🍻",a5e="🥂",l5e="🥃",c5e="🥤",u5e="🧋",d5e="🧃",h5e="🧉",f5e="🧊",p5e="🥢",g5e="🍽️",m5e="🍴",_5e="🥄",b5e="🔪",y5e="🔪",v5e="🏺",w5e="🌍",x5e="🌎",k5e="🌏",E5e="🌐",C5e="🗺️",A5e="🗾",S5e="🧭",T5e="🏔️",M5e="⛰️",O5e="🌋",R5e="🗻",N5e="🏕️",D5e="🏖️",L5e="🏜️",I5e="🏝️",P5e="🏞️",F5e="🏟️",B5e="🏛️",$5e="🏗️",j5e="🧱",z5e="🪨",U5e="🪵",q5e="🛖",H5e="🏘️",V5e="🏚️",G5e="🏠",K5e="🏡",W5e="🏢",Z5e="🏣",Y5e="🏤",Q5e="🏥",J5e="🏦",X5e="🏨",e4e="🏩",t4e="🏪",n4e="🏫",s4e="🏬",o4e="🏭",r4e="🏯",i4e="🏰",a4e="💒",l4e="🗼",c4e="🗽",u4e="⛪",d4e="🕌",h4e="🛕",f4e="🕍",p4e="⛩️",g4e="🕋",m4e="⛲",_4e="⛺",b4e="🌁",y4e="🌃",v4e="🏙️",w4e="🌄",x4e="🌅",k4e="🌆",E4e="🌇",C4e="🌉",A4e="♨️",S4e="🎠",T4e="🎡",M4e="🎢",O4e="💈",R4e="🎪",N4e="🚂",D4e="🚃",L4e="🚄",I4e="🚅",P4e="🚆",F4e="🚇",B4e="🚈",$4e="🚉",j4e="🚊",z4e="🚝",U4e="🚞",q4e="🚋",H4e="🚌",V4e="🚍",G4e="🚎",K4e="🚐",W4e="🚑",Z4e="🚒",Y4e="🚓",Q4e="🚔",J4e="🚕",X4e="🚖",e3e="🚗",t3e="🚗",n3e="🚘",s3e="🚙",o3e="🛻",r3e="🚚",i3e="🚛",a3e="🚜",l3e="🏎️",c3e="🏍️",u3e="🛵",d3e="🦽",h3e="🦼",f3e="🛺",p3e="🚲",g3e="🛴",m3e="🛹",_3e="🛼",b3e="🚏",y3e="🛣️",v3e="🛤️",w3e="🛢️",x3e="⛽",k3e="🚨",E3e="🚥",C3e="🚦",A3e="🛑",S3e="🚧",T3e="⚓",M3e="⛵",O3e="⛵",R3e="🛶",N3e="🚤",D3e="🛳️",L3e="⛴️",I3e="🛥️",P3e="🚢",F3e="✈️",B3e="🛩️",$3e="🛫",j3e="🛬",z3e="🪂",U3e="💺",q3e="🚁",H3e="🚟",V3e="🚠",G3e="🚡",K3e="🛰️",W3e="🚀",Z3e="🛸",Y3e="🛎️",Q3e="🧳",J3e="⌛",X3e="⏳",eCe="⌚",tCe="⏰",nCe="⏱️",sCe="⏲️",oCe="🕰️",rCe="🕛",iCe="🕧",aCe="🕐",lCe="🕜",cCe="🕑",uCe="🕝",dCe="🕒",hCe="🕞",fCe="🕓",pCe="🕟",gCe="🕔",mCe="🕠",_Ce="🕕",bCe="🕡",yCe="🕖",vCe="🕢",wCe="🕗",xCe="🕣",kCe="🕘",ECe="🕤",CCe="🕙",ACe="🕥",SCe="🕚",TCe="🕦",MCe="🌑",OCe="🌒",RCe="🌓",NCe="🌔",DCe="🌔",LCe="🌕",ICe="🌖",PCe="🌗",FCe="🌘",BCe="🌙",$Ce="🌚",jCe="🌛",zCe="🌜",UCe="🌡️",qCe="☀️",HCe="🌝",VCe="🌞",GCe="🪐",KCe="⭐",WCe="🌟",ZCe="🌠",YCe="🌌",QCe="☁️",JCe="⛅",XCe="⛈️",e8e="🌤️",t8e="🌥️",n8e="🌦️",s8e="🌧️",o8e="🌨️",r8e="🌩️",i8e="🌪️",a8e="🌫️",l8e="🌬️",c8e="🌀",u8e="🌈",d8e="🌂",h8e="☂️",f8e="☔",p8e="⛱️",g8e="⚡",m8e="❄️",_8e="☃️",b8e="⛄",y8e="☄️",v8e="🔥",w8e="💧",x8e="🌊",k8e="🎃",E8e="🎄",C8e="🎆",A8e="🎇",S8e="🧨",T8e="✨",M8e="🎈",O8e="🎉",R8e="🎊",N8e="🎋",D8e="🎍",L8e="🎎",I8e="🎏",P8e="🎐",F8e="🎑",B8e="🧧",$8e="🎀",j8e="🎁",z8e="🎗️",U8e="🎟️",q8e="🎫",H8e="🎖️",V8e="🏆",G8e="🏅",K8e="⚽",W8e="⚾",Z8e="🥎",Y8e="🏀",Q8e="🏐",J8e="🏈",X8e="🏉",e9e="🎾",t9e="🥏",n9e="🎳",s9e="🏏",o9e="🏑",r9e="🏒",i9e="🥍",a9e="🏓",l9e="🏸",c9e="🥊",u9e="🥋",d9e="🥅",h9e="⛳",f9e="⛸️",p9e="🎣",g9e="🤿",m9e="🎽",_9e="🎿",b9e="🛷",y9e="🥌",v9e="🎯",w9e="🪀",x9e="🪁",k9e="🔮",E9e="🪄",C9e="🧿",A9e="🎮",S9e="🕹️",T9e="🎰",M9e="🎲",O9e="🧩",R9e="🧸",N9e="🪅",D9e="🪆",L9e="♠️",I9e="♥️",P9e="♦️",F9e="♣️",B9e="♟️",$9e="🃏",j9e="🀄",z9e="🎴",U9e="🎭",q9e="🖼️",H9e="🎨",V9e="🧵",G9e="🪡",K9e="🧶",W9e="🪢",Z9e="👓",Y9e="🕶️",Q9e="🥽",J9e="🥼",X9e="🦺",eAe="👔",tAe="👕",nAe="👕",sAe="👖",oAe="🧣",rAe="🧤",iAe="🧥",aAe="🧦",lAe="👗",cAe="👘",uAe="🥻",dAe="🩱",hAe="🩲",fAe="🩳",pAe="👙",gAe="👚",mAe="👛",_Ae="👜",bAe="👝",yAe="🛍️",vAe="🎒",wAe="🩴",xAe="👞",kAe="👞",EAe="👟",CAe="🥾",AAe="🥿",SAe="👠",TAe="👡",MAe="🩰",OAe="👢",RAe="👑",NAe="👒",DAe="🎩",LAe="🎓",IAe="🧢",PAe="🪖",FAe="⛑️",BAe="📿",$Ae="💄",jAe="💍",zAe="💎",UAe="🔇",qAe="🔈",HAe="🔉",VAe="🔊",GAe="📢",KAe="📣",WAe="📯",ZAe="🔔",YAe="🔕",QAe="🎼",JAe="🎵",XAe="🎶",e6e="🎙️",t6e="🎚️",n6e="🎛️",s6e="🎤",o6e="🎧",r6e="📻",i6e="🎷",a6e="🪗",l6e="🎸",c6e="🎹",u6e="🎺",d6e="🎻",h6e="🪕",f6e="🥁",p6e="🪘",g6e="📱",m6e="📲",_6e="☎️",b6e="☎️",y6e="📞",v6e="📟",w6e="📠",x6e="🔋",k6e="🔌",E6e="💻",C6e="🖥️",A6e="🖨️",S6e="⌨️",T6e="🖱️",M6e="🖲️",O6e="💽",R6e="💾",N6e="💿",D6e="📀",L6e="🧮",I6e="🎥",P6e="🎞️",F6e="📽️",B6e="🎬",$6e="📺",j6e="📷",z6e="📸",U6e="📹",q6e="📼",H6e="🔍",V6e="🔎",G6e="🕯️",K6e="💡",W6e="🔦",Z6e="🏮",Y6e="🏮",Q6e="🪔",J6e="📔",X6e="📕",eSe="📖",tSe="📖",nSe="📗",sSe="📘",oSe="📙",rSe="📚",iSe="📓",aSe="📒",lSe="📃",cSe="📜",uSe="📄",dSe="📰",hSe="🗞️",fSe="📑",pSe="🔖",gSe="🏷️",mSe="💰",_Se="🪙",bSe="💴",ySe="💵",vSe="💶",wSe="💷",xSe="💸",kSe="💳",ESe="🧾",CSe="💹",ASe="✉️",SSe="📧",TSe="📨",MSe="📩",OSe="📤",RSe="📥",NSe="📫",DSe="📪",LSe="📬",ISe="📭",PSe="📮",FSe="🗳️",BSe="✏️",$Se="✒️",jSe="🖋️",zSe="🖊️",USe="🖌️",qSe="🖍️",HSe="📝",VSe="📝",GSe="💼",KSe="📁",WSe="📂",ZSe="🗂️",YSe="📅",QSe="📆",JSe="🗒️",XSe="🗓️",eTe="📇",tTe="📈",nTe="📉",sTe="📊",oTe="📋",rTe="📌",iTe="📍",aTe="📎",lTe="🖇️",cTe="📏",uTe="📐",dTe="✂️",hTe="🗃️",fTe="🗄️",pTe="🗑️",gTe="🔒",mTe="🔓",_Te="🔏",bTe="🔐",yTe="🔑",vTe="🗝️",wTe="🔨",xTe="🪓",kTe="⛏️",ETe="⚒️",CTe="🛠️",ATe="🗡️",STe="⚔️",TTe="🔫",MTe="🪃",OTe="🏹",RTe="🛡️",NTe="🪚",DTe="🔧",LTe="🪛",ITe="🔩",PTe="⚙️",FTe="🗜️",BTe="⚖️",$Te="🦯",jTe="🔗",zTe="⛓️",UTe="🪝",qTe="🧰",HTe="🧲",VTe="🪜",GTe="⚗️",KTe="🧪",WTe="🧫",ZTe="🧬",YTe="🔬",QTe="🔭",JTe="📡",XTe="💉",e7e="🩸",t7e="💊",n7e="🩹",s7e="🩺",o7e="🚪",r7e="🛗",i7e="🪞",a7e="🪟",l7e="🛏️",c7e="🛋️",u7e="🪑",d7e="🚽",h7e="🪠",f7e="🚿",p7e="🛁",g7e="🪤",m7e="🪒",_7e="🧴",b7e="🧷",y7e="🧹",v7e="🧺",w7e="🧻",x7e="🪣",k7e="🧼",E7e="🪥",C7e="🧽",A7e="🧯",S7e="🛒",T7e="🚬",M7e="⚰️",O7e="🪦",R7e="⚱️",N7e="🗿",D7e="🪧",L7e="🏧",I7e="🚮",P7e="🚰",F7e="♿",B7e="🚹",$7e="🚺",j7e="🚻",z7e="🚼",U7e="🚾",q7e="🛂",H7e="🛃",V7e="🛄",G7e="🛅",K7e="⚠️",W7e="🚸",Z7e="⛔",Y7e="🚫",Q7e="🚳",J7e="🚭",X7e="🚯",eMe="🚷",tMe="📵",nMe="🔞",sMe="☢️",oMe="☣️",rMe="⬆️",iMe="↗️",aMe="➡️",lMe="↘️",cMe="⬇️",uMe="↙️",dMe="⬅️",hMe="↖️",fMe="↕️",pMe="↔️",gMe="↩️",mMe="↪️",_Me="⤴️",bMe="⤵️",yMe="🔃",vMe="🔄",wMe="🔙",xMe="🔚",kMe="🔛",EMe="🔜",CMe="🔝",AMe="🛐",SMe="⚛️",TMe="🕉️",MMe="✡️",OMe="☸️",RMe="☯️",NMe="✝️",DMe="☦️",LMe="☪️",IMe="☮️",PMe="🕎",FMe="🔯",BMe="♈",$Me="♉",jMe="♊",zMe="♋",UMe="♌",qMe="♍",HMe="♎",VMe="♏",GMe="♐",KMe="♑",WMe="♒",ZMe="♓",YMe="⛎",QMe="🔀",JMe="🔁",XMe="🔂",eOe="▶️",tOe="⏩",nOe="⏭️",sOe="⏯️",oOe="◀️",rOe="⏪",iOe="⏮️",aOe="🔼",lOe="⏫",cOe="🔽",uOe="⏬",dOe="⏸️",hOe="⏹️",fOe="⏺️",pOe="⏏️",gOe="🎦",mOe="🔅",_Oe="🔆",bOe="📶",yOe="📳",vOe="📴",wOe="♀️",xOe="♂️",kOe="⚧️",EOe="✖️",COe="",AOe="",SOe="➗",TOe="♾️",MOe="‼️",OOe="⁉️",ROe="❓",NOe="❔",DOe="❕",LOe="❗",IOe="❗",POe="〰️",FOe="💱",BOe="💲",$Oe="⚕️",jOe="♻️",zOe="⚜️",UOe="🔱",qOe="📛",HOe="🔰",VOe="⭕",GOe="✅",KOe="☑️",WOe="✔️",ZOe="❌",YOe="❎",QOe="➰",JOe="➿",XOe="〽️",eRe="✳️",tRe="✴️",nRe="❇️",sRe="©️",oRe="®️",rRe="™️",iRe="#️⃣",aRe="*️⃣",lRe="0⃣",cRe="1⃣",uRe="2⃣",dRe="3⃣",hRe="4⃣",fRe="5⃣",pRe="6⃣",gRe="7⃣",mRe="8⃣",_Re="9⃣",bRe="🔟",yRe="🔠",vRe="🔡",wRe="🔣",xRe="🔤",kRe="🅰️",ERe="🆎",CRe="🅱️",ARe="🆑",SRe="🆒",TRe="🆓",MRe="",ORe="🆔",RRe="Ⓜ️",NRe="🆖",DRe="🅾️",LRe="🆗",IRe="🅿️",PRe="🆘",FRe="🆙",BRe="🆚",$Re="🈁",jRe="🈂️",zRe="🉐",URe="🉑",qRe="㊗️",HRe="㊙️",VRe="🈵",GRe="🔴",KRe="🟠",WRe="🟡",ZRe="🟢",YRe="🔵",QRe="🟣",JRe="🟤",XRe="⚫",eNe="⚪",tNe="🟥",nNe="🟧",sNe="🟨",oNe="🟩",rNe="🟦",iNe="🟪",aNe="🟫",lNe="⬛",cNe="⬜",uNe="◼️",dNe="◻️",hNe="◾",fNe="◽",pNe="▪️",gNe="▫️",mNe="🔶",_Ne="🔷",bNe="🔸",yNe="🔹",vNe="🔺",wNe="🔻",xNe="💠",kNe="🔘",ENe="🔳",CNe="🔲",ANe="🏁",SNe="🚩",TNe="🎌",MNe="🏴",ONe="🏳️",RNe="🏳️‍🌈",NNe="🏳️‍⚧️",DNe="🏴‍☠️",LNe="🇦🇨",INe="🇦🇩",PNe="🇦🇪",FNe="🇦🇫",BNe="🇦🇬",$Ne="🇦🇮",jNe="🇦🇱",zNe="🇦🇲",UNe="🇦🇴",qNe="🇦🇶",HNe="🇦🇷",VNe="🇦🇸",GNe="🇦🇹",KNe="🇦🇺",WNe="🇦🇼",ZNe="🇦🇽",YNe="🇦🇿",QNe="🇧🇦",JNe="🇧🇧",XNe="🇧🇩",eDe="🇧🇪",tDe="🇧🇫",nDe="🇧🇬",sDe="🇧🇭",oDe="🇧🇮",rDe="🇧🇯",iDe="🇧🇱",aDe="🇧🇲",lDe="🇧🇳",cDe="🇧🇴",uDe="🇧🇶",dDe="🇧🇷",hDe="🇧🇸",fDe="🇧🇹",pDe="🇧🇻",gDe="🇧🇼",mDe="🇧🇾",_De="🇧🇿",bDe="🇨🇦",yDe="🇨🇨",vDe="🇨🇩",wDe="🇨🇫",xDe="🇨🇬",kDe="🇨🇭",EDe="🇨🇮",CDe="🇨🇰",ADe="🇨🇱",SDe="🇨🇲",TDe="🇨🇳",MDe="🇨🇴",ODe="🇨🇵",RDe="🇨🇷",NDe="🇨🇺",DDe="🇨🇻",LDe="🇨🇼",IDe="🇨🇽",PDe="🇨🇾",FDe="🇨🇿",BDe="🇩🇪",$De="🇩🇬",jDe="🇩🇯",zDe="🇩🇰",UDe="🇩🇲",qDe="🇩🇴",HDe="🇩🇿",VDe="🇪🇦",GDe="🇪🇨",KDe="🇪🇪",WDe="🇪🇬",ZDe="🇪🇭",YDe="🇪🇷",QDe="🇪🇸",JDe="🇪🇹",XDe="🇪🇺",eLe="🇪🇺",tLe="🇫🇮",nLe="🇫🇯",sLe="🇫🇰",oLe="🇫🇲",rLe="🇫🇴",iLe="🇫🇷",aLe="🇬🇦",lLe="🇬🇧",cLe="🇬🇧",uLe="🇬🇩",dLe="🇬🇪",hLe="🇬🇫",fLe="🇬🇬",pLe="🇬🇭",gLe="🇬🇮",mLe="🇬🇱",_Le="🇬🇲",bLe="🇬🇳",yLe="🇬🇵",vLe="🇬🇶",wLe="🇬🇷",xLe="🇬🇸",kLe="🇬🇹",ELe="🇬🇺",CLe="🇬🇼",ALe="🇬🇾",SLe="🇭🇰",TLe="🇭🇲",MLe="🇭🇳",OLe="🇭🇷",RLe="🇭🇹",NLe="🇭🇺",DLe="🇮🇨",LLe="🇮🇩",ILe="🇮🇪",PLe="🇮🇱",FLe="🇮🇲",BLe="🇮🇳",$Le="🇮🇴",jLe="🇮🇶",zLe="🇮🇷",ULe="🇮🇸",qLe="🇮🇹",HLe="🇯🇪",VLe="🇯🇲",GLe="🇯🇴",KLe="🇯🇵",WLe="🇰🇪",ZLe="🇰🇬",YLe="🇰🇭",QLe="🇰🇮",JLe="🇰🇲",XLe="🇰🇳",eIe="🇰🇵",tIe="🇰🇷",nIe="🇰🇼",sIe="🇰🇾",oIe="🇰🇿",rIe="🇱🇦",iIe="🇱🇧",aIe="🇱🇨",lIe="🇱🇮",cIe="🇱🇰",uIe="🇱🇷",dIe="🇱🇸",hIe="🇱🇹",fIe="🇱🇺",pIe="🇱🇻",gIe="🇱🇾",mIe="🇲🇦",_Ie="🇲🇨",bIe="🇲🇩",yIe="🇲🇪",vIe="🇲🇫",wIe="🇲🇬",xIe="🇲🇭",kIe="🇲🇰",EIe="🇲🇱",CIe="🇲🇲",AIe="🇲🇳",SIe="🇲🇴",TIe="🇲🇵",MIe="🇲🇶",OIe="🇲🇷",RIe="🇲🇸",NIe="🇲🇹",DIe="🇲🇺",LIe="🇲🇻",IIe="🇲🇼",PIe="🇲🇽",FIe="🇲🇾",BIe="🇲🇿",$Ie="🇳🇦",jIe="🇳🇨",zIe="🇳🇪",UIe="🇳🇫",qIe="🇳🇬",HIe="🇳🇮",VIe="🇳🇱",GIe="🇳🇴",KIe="🇳🇵",WIe="🇳🇷",ZIe="🇳🇺",YIe="🇳🇿",QIe="🇴🇲",JIe="🇵🇦",XIe="🇵🇪",ePe="🇵🇫",tPe="🇵🇬",nPe="🇵🇭",sPe="🇵🇰",oPe="🇵🇱",rPe="🇵🇲",iPe="🇵🇳",aPe="🇵🇷",lPe="🇵🇸",cPe="🇵🇹",uPe="🇵🇼",dPe="🇵🇾",hPe="🇶🇦",fPe="🇷🇪",pPe="🇷🇴",gPe="🇷🇸",mPe="🇷🇺",_Pe="🇷🇼",bPe="🇸🇦",yPe="🇸🇧",vPe="🇸🇨",wPe="🇸🇩",xPe="🇸🇪",kPe="🇸🇬",EPe="🇸🇭",CPe="🇸🇮",APe="🇸🇯",SPe="🇸🇰",TPe="🇸🇱",MPe="🇸🇲",OPe="🇸🇳",RPe="🇸🇴",NPe="🇸🇷",DPe="🇸🇸",LPe="🇸🇹",IPe="🇸🇻",PPe="🇸🇽",FPe="🇸🇾",BPe="🇸🇿",$Pe="🇹🇦",jPe="🇹🇨",zPe="🇹🇩",UPe="🇹🇫",qPe="🇹🇬",HPe="🇹🇭",VPe="🇹🇯",GPe="🇹🇰",KPe="🇹🇱",WPe="🇹🇲",ZPe="🇹🇳",YPe="🇹🇴",QPe="🇹🇷",JPe="🇹🇹",XPe="🇹🇻",eFe="🇹🇼",tFe="🇹🇿",nFe="🇺🇦",sFe="🇺🇬",oFe="🇺🇲",rFe="🇺🇳",iFe="🇺🇸",aFe="🇺🇾",lFe="🇺🇿",cFe="🇻🇦",uFe="🇻🇨",dFe="🇻🇪",hFe="🇻🇬",fFe="🇻🇮",pFe="🇻🇳",gFe="🇻🇺",mFe="🇼🇫",_Fe="🇼🇸",bFe="🇽🇰",yFe="🇾🇪",vFe="🇾🇹",wFe="🇿🇦",xFe="🇿🇲",kFe="🇿🇼",EFe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",CFe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",AFe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",SFe={100:"💯",1234:"🔢",grinning:Bfe,smiley:$fe,smile:jfe,grin:zfe,laughing:Ufe,satisfied:qfe,sweat_smile:Hfe,rofl:Vfe,joy:Gfe,slightly_smiling_face:Kfe,upside_down_face:Wfe,wink:Zfe,blush:Yfe,innocent:Qfe,smiling_face_with_three_hearts:Jfe,heart_eyes:Xfe,star_struck:epe,kissing_heart:tpe,kissing:npe,relaxed:spe,kissing_closed_eyes:ope,kissing_smiling_eyes:rpe,smiling_face_with_tear:ipe,yum:ape,stuck_out_tongue:lpe,stuck_out_tongue_winking_eye:cpe,zany_face:upe,stuck_out_tongue_closed_eyes:dpe,money_mouth_face:hpe,hugs:fpe,hand_over_mouth:ppe,shushing_face:gpe,thinking:mpe,zipper_mouth_face:_pe,raised_eyebrow:bpe,neutral_face:ype,expressionless:vpe,no_mouth:wpe,smirk:xpe,unamused:kpe,roll_eyes:Epe,grimacing:Cpe,lying_face:Ape,relieved:Spe,pensive:Tpe,sleepy:Mpe,drooling_face:Ope,sleeping:Rpe,mask:Npe,face_with_thermometer:Dpe,face_with_head_bandage:Lpe,nauseated_face:Ipe,vomiting_face:Ppe,sneezing_face:Fpe,hot_face:Bpe,cold_face:$pe,woozy_face:jpe,dizzy_face:zpe,exploding_head:Upe,cowboy_hat_face:qpe,partying_face:Hpe,disguised_face:Vpe,sunglasses:Gpe,nerd_face:Kpe,monocle_face:Wpe,confused:Zpe,worried:Ype,slightly_frowning_face:Qpe,frowning_face:Jpe,open_mouth:Xpe,hushed:ege,astonished:tge,flushed:nge,pleading_face:sge,frowning:oge,anguished:rge,fearful:ige,cold_sweat:age,disappointed_relieved:lge,cry:cge,sob:uge,scream:dge,confounded:hge,persevere:fge,disappointed:pge,sweat:gge,weary:mge,tired_face:_ge,yawning_face:bge,triumph:yge,rage:vge,pout:wge,angry:xge,cursing_face:kge,smiling_imp:Ege,imp:Cge,skull:Age,skull_and_crossbones:Sge,hankey:Tge,poop:Mge,shit:Oge,clown_face:Rge,japanese_ogre:Nge,japanese_goblin:Dge,ghost:Lge,alien:Ige,space_invader:Pge,robot:Fge,smiley_cat:Bge,smile_cat:$ge,joy_cat:jge,heart_eyes_cat:zge,smirk_cat:Uge,kissing_cat:qge,scream_cat:Hge,crying_cat_face:Vge,pouting_cat:Gge,see_no_evil:Kge,hear_no_evil:Wge,speak_no_evil:Zge,kiss:Yge,love_letter:Qge,cupid:Jge,gift_heart:Xge,sparkling_heart:eme,heartpulse:tme,heartbeat:nme,revolving_hearts:sme,two_hearts:ome,heart_decoration:rme,heavy_heart_exclamation:ime,broken_heart:ame,heart:lme,orange_heart:cme,yellow_heart:ume,green_heart:dme,blue_heart:hme,purple_heart:fme,brown_heart:pme,black_heart:gme,white_heart:mme,anger:_me,boom:bme,collision:yme,dizzy:vme,sweat_drops:wme,dash:xme,hole:kme,bomb:Eme,speech_balloon:Cme,eye_speech_bubble:Ame,left_speech_bubble:Sme,right_anger_bubble:Tme,thought_balloon:Mme,zzz:Ome,wave:Rme,raised_back_of_hand:Nme,raised_hand_with_fingers_splayed:Dme,hand:Lme,raised_hand:Ime,vulcan_salute:Pme,ok_hand:Fme,pinched_fingers:Bme,pinching_hand:$me,v:jme,crossed_fingers:zme,love_you_gesture:Ume,metal:qme,call_me_hand:Hme,point_left:Vme,point_right:Gme,point_up_2:Kme,middle_finger:Wme,fu:Zme,point_down:Yme,point_up:Qme,"+1":"👍",thumbsup:Jme,"-1":"👎",thumbsdown:Xme,fist_raised:e_e,fist:t_e,fist_oncoming:n_e,facepunch:s_e,punch:o_e,fist_left:r_e,fist_right:i_e,clap:a_e,raised_hands:l_e,open_hands:c_e,palms_up_together:u_e,handshake:d_e,pray:h_e,writing_hand:f_e,nail_care:p_e,selfie:g_e,muscle:m_e,mechanical_arm:__e,mechanical_leg:b_e,leg:y_e,foot:v_e,ear:w_e,ear_with_hearing_aid:x_e,nose:k_e,brain:E_e,anatomical_heart:C_e,lungs:A_e,tooth:S_e,bone:T_e,eyes:M_e,eye:O_e,tongue:R_e,lips:N_e,baby:D_e,child:L_e,boy:I_e,girl:P_e,adult:F_e,blond_haired_person:B_e,man:$_e,bearded_person:j_e,red_haired_man:z_e,curly_haired_man:U_e,white_haired_man:q_e,bald_man:H_e,woman:V_e,red_haired_woman:G_e,person_red_hair:K_e,curly_haired_woman:W_e,person_curly_hair:Z_e,white_haired_woman:Y_e,person_white_hair:Q_e,bald_woman:J_e,person_bald:X_e,blond_haired_woman:e1e,blonde_woman:t1e,blond_haired_man:n1e,older_adult:s1e,older_man:o1e,older_woman:r1e,frowning_person:i1e,frowning_man:a1e,frowning_woman:l1e,pouting_face:c1e,pouting_man:u1e,pouting_woman:d1e,no_good:h1e,no_good_man:f1e,ng_man:p1e,no_good_woman:g1e,ng_woman:m1e,ok_person:_1e,ok_man:b1e,ok_woman:y1e,tipping_hand_person:v1e,information_desk_person:w1e,tipping_hand_man:x1e,sassy_man:k1e,tipping_hand_woman:E1e,sassy_woman:C1e,raising_hand:A1e,raising_hand_man:S1e,raising_hand_woman:T1e,deaf_person:M1e,deaf_man:O1e,deaf_woman:R1e,bow:N1e,bowing_man:D1e,bowing_woman:L1e,facepalm:I1e,man_facepalming:P1e,woman_facepalming:F1e,shrug:B1e,man_shrugging:$1e,woman_shrugging:j1e,health_worker:z1e,man_health_worker:U1e,woman_health_worker:q1e,student:H1e,man_student:V1e,woman_student:G1e,teacher:K1e,man_teacher:W1e,woman_teacher:Z1e,judge:Y1e,man_judge:Q1e,woman_judge:J1e,farmer:X1e,man_farmer:e0e,woman_farmer:t0e,cook:n0e,man_cook:s0e,woman_cook:o0e,mechanic:r0e,man_mechanic:i0e,woman_mechanic:a0e,factory_worker:l0e,man_factory_worker:c0e,woman_factory_worker:u0e,office_worker:d0e,man_office_worker:h0e,woman_office_worker:f0e,scientist:p0e,man_scientist:g0e,woman_scientist:m0e,technologist:_0e,man_technologist:b0e,woman_technologist:y0e,singer:v0e,man_singer:w0e,woman_singer:x0e,artist:k0e,man_artist:E0e,woman_artist:C0e,pilot:A0e,man_pilot:S0e,woman_pilot:T0e,astronaut:M0e,man_astronaut:O0e,woman_astronaut:R0e,firefighter:N0e,man_firefighter:D0e,woman_firefighter:L0e,police_officer:I0e,cop:P0e,policeman:F0e,policewoman:B0e,detective:$0e,male_detective:j0e,female_detective:z0e,guard:U0e,guardsman:q0e,guardswoman:H0e,ninja:V0e,construction_worker:G0e,construction_worker_man:K0e,construction_worker_woman:W0e,prince:Z0e,princess:Y0e,person_with_turban:Q0e,man_with_turban:J0e,woman_with_turban:X0e,man_with_gua_pi_mao:ebe,woman_with_headscarf:tbe,person_in_tuxedo:nbe,man_in_tuxedo:sbe,woman_in_tuxedo:obe,person_with_veil:rbe,man_with_veil:ibe,woman_with_veil:abe,bride_with_veil:lbe,pregnant_woman:cbe,breast_feeding:ube,woman_feeding_baby:dbe,man_feeding_baby:hbe,person_feeding_baby:fbe,angel:pbe,santa:gbe,mrs_claus:mbe,mx_claus:_be,superhero:bbe,superhero_man:ybe,superhero_woman:vbe,supervillain:wbe,supervillain_man:xbe,supervillain_woman:kbe,mage:Ebe,mage_man:Cbe,mage_woman:Abe,fairy:Sbe,fairy_man:Tbe,fairy_woman:Mbe,vampire:Obe,vampire_man:Rbe,vampire_woman:Nbe,merperson:Dbe,merman:Lbe,mermaid:Ibe,elf:Pbe,elf_man:Fbe,elf_woman:Bbe,genie:$be,genie_man:jbe,genie_woman:zbe,zombie:Ube,zombie_man:qbe,zombie_woman:Hbe,massage:Vbe,massage_man:Gbe,massage_woman:Kbe,haircut:Wbe,haircut_man:Zbe,haircut_woman:Ybe,walking:Qbe,walking_man:Jbe,walking_woman:Xbe,standing_person:eye,standing_man:tye,standing_woman:nye,kneeling_person:sye,kneeling_man:oye,kneeling_woman:rye,person_with_probing_cane:iye,man_with_probing_cane:aye,woman_with_probing_cane:lye,person_in_motorized_wheelchair:cye,man_in_motorized_wheelchair:uye,woman_in_motorized_wheelchair:dye,person_in_manual_wheelchair:hye,man_in_manual_wheelchair:fye,woman_in_manual_wheelchair:pye,runner:gye,running:mye,running_man:_ye,running_woman:bye,woman_dancing:yye,dancer:vye,man_dancing:wye,business_suit_levitating:xye,dancers:kye,dancing_men:Eye,dancing_women:Cye,sauna_person:Aye,sauna_man:Sye,sauna_woman:Tye,climbing:Mye,climbing_man:Oye,climbing_woman:Rye,person_fencing:Nye,horse_racing:Dye,skier:Lye,snowboarder:Iye,golfing:Pye,golfing_man:Fye,golfing_woman:Bye,surfer:$ye,surfing_man:jye,surfing_woman:zye,rowboat:Uye,rowing_man:qye,rowing_woman:Hye,swimmer:Vye,swimming_man:Gye,swimming_woman:Kye,bouncing_ball_person:Wye,bouncing_ball_man:Zye,basketball_man:Yye,bouncing_ball_woman:Qye,basketball_woman:Jye,weight_lifting:Xye,weight_lifting_man:e2e,weight_lifting_woman:t2e,bicyclist:n2e,biking_man:s2e,biking_woman:o2e,mountain_bicyclist:r2e,mountain_biking_man:i2e,mountain_biking_woman:a2e,cartwheeling:l2e,man_cartwheeling:c2e,woman_cartwheeling:u2e,wrestling:d2e,men_wrestling:h2e,women_wrestling:f2e,water_polo:p2e,man_playing_water_polo:g2e,woman_playing_water_polo:m2e,handball_person:_2e,man_playing_handball:b2e,woman_playing_handball:y2e,juggling_person:v2e,man_juggling:w2e,woman_juggling:x2e,lotus_position:k2e,lotus_position_man:E2e,lotus_position_woman:C2e,bath:A2e,sleeping_bed:S2e,people_holding_hands:T2e,two_women_holding_hands:M2e,couple:O2e,two_men_holding_hands:R2e,couplekiss:N2e,couplekiss_man_woman:D2e,couplekiss_man_man:L2e,couplekiss_woman_woman:I2e,couple_with_heart:P2e,couple_with_heart_woman_man:F2e,couple_with_heart_man_man:B2e,couple_with_heart_woman_woman:$2e,family:j2e,family_man_woman_boy:z2e,family_man_woman_girl:U2e,family_man_woman_girl_boy:q2e,family_man_woman_boy_boy:H2e,family_man_woman_girl_girl:V2e,family_man_man_boy:G2e,family_man_man_girl:K2e,family_man_man_girl_boy:W2e,family_man_man_boy_boy:Z2e,family_man_man_girl_girl:Y2e,family_woman_woman_boy:Q2e,family_woman_woman_girl:J2e,family_woman_woman_girl_boy:X2e,family_woman_woman_boy_boy:eve,family_woman_woman_girl_girl:tve,family_man_boy:nve,family_man_boy_boy:sve,family_man_girl:ove,family_man_girl_boy:rve,family_man_girl_girl:ive,family_woman_boy:ave,family_woman_boy_boy:lve,family_woman_girl:cve,family_woman_girl_boy:uve,family_woman_girl_girl:dve,speaking_head:hve,bust_in_silhouette:fve,busts_in_silhouette:pve,people_hugging:gve,footprints:mve,monkey_face:_ve,monkey:bve,gorilla:yve,orangutan:vve,dog:wve,dog2:xve,guide_dog:kve,service_dog:Eve,poodle:Cve,wolf:Ave,fox_face:Sve,raccoon:Tve,cat:Mve,cat2:Ove,black_cat:Rve,lion:Nve,tiger:Dve,tiger2:Lve,leopard:Ive,horse:Pve,racehorse:Fve,unicorn:Bve,zebra:$ve,deer:jve,bison:zve,cow:Uve,ox:qve,water_buffalo:Hve,cow2:Vve,pig:Gve,pig2:Kve,boar:Wve,pig_nose:Zve,ram:Yve,sheep:Qve,goat:Jve,dromedary_camel:Xve,camel:ewe,llama:twe,giraffe:nwe,elephant:swe,mammoth:owe,rhinoceros:rwe,hippopotamus:iwe,mouse:awe,mouse2:lwe,rat:cwe,hamster:uwe,rabbit:dwe,rabbit2:hwe,chipmunk:fwe,beaver:pwe,hedgehog:gwe,bat:mwe,bear:_we,polar_bear:bwe,koala:ywe,panda_face:vwe,sloth:wwe,otter:xwe,skunk:kwe,kangaroo:Ewe,badger:Cwe,feet:Awe,paw_prints:Swe,turkey:Twe,chicken:Mwe,rooster:Owe,hatching_chick:Rwe,baby_chick:Nwe,hatched_chick:Dwe,bird:Lwe,penguin:Iwe,dove:Pwe,eagle:Fwe,duck:Bwe,swan:$we,owl:jwe,dodo:zwe,feather:Uwe,flamingo:qwe,peacock:Hwe,parrot:Vwe,frog:Gwe,crocodile:Kwe,turtle:Wwe,lizard:Zwe,snake:Ywe,dragon_face:Qwe,dragon:Jwe,sauropod:Xwe,"t-rex":"🦖",whale:exe,whale2:txe,dolphin:nxe,flipper:sxe,seal:oxe,fish:rxe,tropical_fish:ixe,blowfish:axe,shark:lxe,octopus:cxe,shell:uxe,snail:dxe,butterfly:hxe,bug:fxe,ant:pxe,bee:gxe,honeybee:mxe,beetle:_xe,lady_beetle:bxe,cricket:yxe,cockroach:vxe,spider:wxe,spider_web:xxe,scorpion:kxe,mosquito:Exe,fly:Cxe,worm:Axe,microbe:Sxe,bouquet:Txe,cherry_blossom:Mxe,white_flower:Oxe,rosette:Rxe,rose:Nxe,wilted_flower:Dxe,hibiscus:Lxe,sunflower:Ixe,blossom:Pxe,tulip:Fxe,seedling:Bxe,potted_plant:$xe,evergreen_tree:jxe,deciduous_tree:zxe,palm_tree:Uxe,cactus:qxe,ear_of_rice:Hxe,herb:Vxe,shamrock:Gxe,four_leaf_clover:Kxe,maple_leaf:Wxe,fallen_leaf:Zxe,leaves:Yxe,grapes:Qxe,melon:Jxe,watermelon:Xxe,tangerine:eke,orange:tke,mandarin:nke,lemon:ske,banana:oke,pineapple:rke,mango:ike,apple:ake,green_apple:lke,pear:cke,peach:uke,cherries:dke,strawberry:hke,blueberries:fke,kiwi_fruit:pke,tomato:gke,olive:mke,coconut:_ke,avocado:bke,eggplant:yke,potato:vke,carrot:wke,corn:xke,hot_pepper:kke,bell_pepper:Eke,cucumber:Cke,leafy_green:Ake,broccoli:Ske,garlic:Tke,onion:Mke,mushroom:Oke,peanuts:Rke,chestnut:Nke,bread:Dke,croissant:Lke,baguette_bread:Ike,flatbread:Pke,pretzel:Fke,bagel:Bke,pancakes:$ke,waffle:jke,cheese:zke,meat_on_bone:Uke,poultry_leg:qke,cut_of_meat:Hke,bacon:Vke,hamburger:Gke,fries:Kke,pizza:Wke,hotdog:Zke,sandwich:Yke,taco:Qke,burrito:Jke,tamale:Xke,stuffed_flatbread:eEe,falafel:tEe,egg:nEe,fried_egg:sEe,shallow_pan_of_food:oEe,stew:rEe,fondue:iEe,bowl_with_spoon:aEe,green_salad:lEe,popcorn:cEe,butter:uEe,salt:dEe,canned_food:hEe,bento:fEe,rice_cracker:pEe,rice_ball:gEe,rice:mEe,curry:_Ee,ramen:bEe,spaghetti:yEe,sweet_potato:vEe,oden:wEe,sushi:xEe,fried_shrimp:kEe,fish_cake:EEe,moon_cake:CEe,dango:AEe,dumpling:SEe,fortune_cookie:TEe,takeout_box:MEe,crab:OEe,lobster:REe,shrimp:NEe,squid:DEe,oyster:LEe,icecream:IEe,shaved_ice:PEe,ice_cream:FEe,doughnut:BEe,cookie:$Ee,birthday:jEe,cake:zEe,cupcake:UEe,pie:qEe,chocolate_bar:HEe,candy:VEe,lollipop:GEe,custard:KEe,honey_pot:WEe,baby_bottle:ZEe,milk_glass:YEe,coffee:QEe,teapot:JEe,tea:XEe,sake:e5e,champagne:t5e,wine_glass:n5e,cocktail:s5e,tropical_drink:o5e,beer:r5e,beers:i5e,clinking_glasses:a5e,tumbler_glass:l5e,cup_with_straw:c5e,bubble_tea:u5e,beverage_box:d5e,mate:h5e,ice_cube:f5e,chopsticks:p5e,plate_with_cutlery:g5e,fork_and_knife:m5e,spoon:_5e,hocho:b5e,knife:y5e,amphora:v5e,earth_africa:w5e,earth_americas:x5e,earth_asia:k5e,globe_with_meridians:E5e,world_map:C5e,japan:A5e,compass:S5e,mountain_snow:T5e,mountain:M5e,volcano:O5e,mount_fuji:R5e,camping:N5e,beach_umbrella:D5e,desert:L5e,desert_island:I5e,national_park:P5e,stadium:F5e,classical_building:B5e,building_construction:$5e,bricks:j5e,rock:z5e,wood:U5e,hut:q5e,houses:H5e,derelict_house:V5e,house:G5e,house_with_garden:K5e,office:W5e,post_office:Z5e,european_post_office:Y5e,hospital:Q5e,bank:J5e,hotel:X5e,love_hotel:e4e,convenience_store:t4e,school:n4e,department_store:s4e,factory:o4e,japanese_castle:r4e,european_castle:i4e,wedding:a4e,tokyo_tower:l4e,statue_of_liberty:c4e,church:u4e,mosque:d4e,hindu_temple:h4e,synagogue:f4e,shinto_shrine:p4e,kaaba:g4e,fountain:m4e,tent:_4e,foggy:b4e,night_with_stars:y4e,cityscape:v4e,sunrise_over_mountains:w4e,sunrise:x4e,city_sunset:k4e,city_sunrise:E4e,bridge_at_night:C4e,hotsprings:A4e,carousel_horse:S4e,ferris_wheel:T4e,roller_coaster:M4e,barber:O4e,circus_tent:R4e,steam_locomotive:N4e,railway_car:D4e,bullettrain_side:L4e,bullettrain_front:I4e,train2:P4e,metro:F4e,light_rail:B4e,station:$4e,tram:j4e,monorail:z4e,mountain_railway:U4e,train:q4e,bus:H4e,oncoming_bus:V4e,trolleybus:G4e,minibus:K4e,ambulance:W4e,fire_engine:Z4e,police_car:Y4e,oncoming_police_car:Q4e,taxi:J4e,oncoming_taxi:X4e,car:e3e,red_car:t3e,oncoming_automobile:n3e,blue_car:s3e,pickup_truck:o3e,truck:r3e,articulated_lorry:i3e,tractor:a3e,racing_car:l3e,motorcycle:c3e,motor_scooter:u3e,manual_wheelchair:d3e,motorized_wheelchair:h3e,auto_rickshaw:f3e,bike:p3e,kick_scooter:g3e,skateboard:m3e,roller_skate:_3e,busstop:b3e,motorway:y3e,railway_track:v3e,oil_drum:w3e,fuelpump:x3e,rotating_light:k3e,traffic_light:E3e,vertical_traffic_light:C3e,stop_sign:A3e,construction:S3e,anchor:T3e,boat:M3e,sailboat:O3e,canoe:R3e,speedboat:N3e,passenger_ship:D3e,ferry:L3e,motor_boat:I3e,ship:P3e,airplane:F3e,small_airplane:B3e,flight_departure:$3e,flight_arrival:j3e,parachute:z3e,seat:U3e,helicopter:q3e,suspension_railway:H3e,mountain_cableway:V3e,aerial_tramway:G3e,artificial_satellite:K3e,rocket:W3e,flying_saucer:Z3e,bellhop_bell:Y3e,luggage:Q3e,hourglass:J3e,hourglass_flowing_sand:X3e,watch:eCe,alarm_clock:tCe,stopwatch:nCe,timer_clock:sCe,mantelpiece_clock:oCe,clock12:rCe,clock1230:iCe,clock1:aCe,clock130:lCe,clock2:cCe,clock230:uCe,clock3:dCe,clock330:hCe,clock4:fCe,clock430:pCe,clock5:gCe,clock530:mCe,clock6:_Ce,clock630:bCe,clock7:yCe,clock730:vCe,clock8:wCe,clock830:xCe,clock9:kCe,clock930:ECe,clock10:CCe,clock1030:ACe,clock11:SCe,clock1130:TCe,new_moon:MCe,waxing_crescent_moon:OCe,first_quarter_moon:RCe,moon:NCe,waxing_gibbous_moon:DCe,full_moon:LCe,waning_gibbous_moon:ICe,last_quarter_moon:PCe,waning_crescent_moon:FCe,crescent_moon:BCe,new_moon_with_face:$Ce,first_quarter_moon_with_face:jCe,last_quarter_moon_with_face:zCe,thermometer:UCe,sunny:qCe,full_moon_with_face:HCe,sun_with_face:VCe,ringed_planet:GCe,star:KCe,star2:WCe,stars:ZCe,milky_way:YCe,cloud:QCe,partly_sunny:JCe,cloud_with_lightning_and_rain:XCe,sun_behind_small_cloud:e8e,sun_behind_large_cloud:t8e,sun_behind_rain_cloud:n8e,cloud_with_rain:s8e,cloud_with_snow:o8e,cloud_with_lightning:r8e,tornado:i8e,fog:a8e,wind_face:l8e,cyclone:c8e,rainbow:u8e,closed_umbrella:d8e,open_umbrella:h8e,umbrella:f8e,parasol_on_ground:p8e,zap:g8e,snowflake:m8e,snowman_with_snow:_8e,snowman:b8e,comet:y8e,fire:v8e,droplet:w8e,ocean:x8e,jack_o_lantern:k8e,christmas_tree:E8e,fireworks:C8e,sparkler:A8e,firecracker:S8e,sparkles:T8e,balloon:M8e,tada:O8e,confetti_ball:R8e,tanabata_tree:N8e,bamboo:D8e,dolls:L8e,flags:I8e,wind_chime:P8e,rice_scene:F8e,red_envelope:B8e,ribbon:$8e,gift:j8e,reminder_ribbon:z8e,tickets:U8e,ticket:q8e,medal_military:H8e,trophy:V8e,medal_sports:G8e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:K8e,baseball:W8e,softball:Z8e,basketball:Y8e,volleyball:Q8e,football:J8e,rugby_football:X8e,tennis:e9e,flying_disc:t9e,bowling:n9e,cricket_game:s9e,field_hockey:o9e,ice_hockey:r9e,lacrosse:i9e,ping_pong:a9e,badminton:l9e,boxing_glove:c9e,martial_arts_uniform:u9e,goal_net:d9e,golf:h9e,ice_skate:f9e,fishing_pole_and_fish:p9e,diving_mask:g9e,running_shirt_with_sash:m9e,ski:_9e,sled:b9e,curling_stone:y9e,dart:v9e,yo_yo:w9e,kite:x9e,"8ball":"🎱",crystal_ball:k9e,magic_wand:E9e,nazar_amulet:C9e,video_game:A9e,joystick:S9e,slot_machine:T9e,game_die:M9e,jigsaw:O9e,teddy_bear:R9e,pinata:N9e,nesting_dolls:D9e,spades:L9e,hearts:I9e,diamonds:P9e,clubs:F9e,chess_pawn:B9e,black_joker:$9e,mahjong:j9e,flower_playing_cards:z9e,performing_arts:U9e,framed_picture:q9e,art:H9e,thread:V9e,sewing_needle:G9e,yarn:K9e,knot:W9e,eyeglasses:Z9e,dark_sunglasses:Y9e,goggles:Q9e,lab_coat:J9e,safety_vest:X9e,necktie:eAe,shirt:tAe,tshirt:nAe,jeans:sAe,scarf:oAe,gloves:rAe,coat:iAe,socks:aAe,dress:lAe,kimono:cAe,sari:uAe,one_piece_swimsuit:dAe,swim_brief:hAe,shorts:fAe,bikini:pAe,womans_clothes:gAe,purse:mAe,handbag:_Ae,pouch:bAe,shopping:yAe,school_satchel:vAe,thong_sandal:wAe,mans_shoe:xAe,shoe:kAe,athletic_shoe:EAe,hiking_boot:CAe,flat_shoe:AAe,high_heel:SAe,sandal:TAe,ballet_shoes:MAe,boot:OAe,crown:RAe,womans_hat:NAe,tophat:DAe,mortar_board:LAe,billed_cap:IAe,military_helmet:PAe,rescue_worker_helmet:FAe,prayer_beads:BAe,lipstick:$Ae,ring:jAe,gem:zAe,mute:UAe,speaker:qAe,sound:HAe,loud_sound:VAe,loudspeaker:GAe,mega:KAe,postal_horn:WAe,bell:ZAe,no_bell:YAe,musical_score:QAe,musical_note:JAe,notes:XAe,studio_microphone:e6e,level_slider:t6e,control_knobs:n6e,microphone:s6e,headphones:o6e,radio:r6e,saxophone:i6e,accordion:a6e,guitar:l6e,musical_keyboard:c6e,trumpet:u6e,violin:d6e,banjo:h6e,drum:f6e,long_drum:p6e,iphone:g6e,calling:m6e,phone:_6e,telephone:b6e,telephone_receiver:y6e,pager:v6e,fax:w6e,battery:x6e,electric_plug:k6e,computer:E6e,desktop_computer:C6e,printer:A6e,keyboard:S6e,computer_mouse:T6e,trackball:M6e,minidisc:O6e,floppy_disk:R6e,cd:N6e,dvd:D6e,abacus:L6e,movie_camera:I6e,film_strip:P6e,film_projector:F6e,clapper:B6e,tv:$6e,camera:j6e,camera_flash:z6e,video_camera:U6e,vhs:q6e,mag:H6e,mag_right:V6e,candle:G6e,bulb:K6e,flashlight:W6e,izakaya_lantern:Z6e,lantern:Y6e,diya_lamp:Q6e,notebook_with_decorative_cover:J6e,closed_book:X6e,book:eSe,open_book:tSe,green_book:nSe,blue_book:sSe,orange_book:oSe,books:rSe,notebook:iSe,ledger:aSe,page_with_curl:lSe,scroll:cSe,page_facing_up:uSe,newspaper:dSe,newspaper_roll:hSe,bookmark_tabs:fSe,bookmark:pSe,label:gSe,moneybag:mSe,coin:_Se,yen:bSe,dollar:ySe,euro:vSe,pound:wSe,money_with_wings:xSe,credit_card:kSe,receipt:ESe,chart:CSe,envelope:ASe,email:SSe,"e-mail":"📧",incoming_envelope:TSe,envelope_with_arrow:MSe,outbox_tray:OSe,inbox_tray:RSe,package:"📦",mailbox:NSe,mailbox_closed:DSe,mailbox_with_mail:LSe,mailbox_with_no_mail:ISe,postbox:PSe,ballot_box:FSe,pencil2:BSe,black_nib:$Se,fountain_pen:jSe,pen:zSe,paintbrush:USe,crayon:qSe,memo:HSe,pencil:VSe,briefcase:GSe,file_folder:KSe,open_file_folder:WSe,card_index_dividers:ZSe,date:YSe,calendar:QSe,spiral_notepad:JSe,spiral_calendar:XSe,card_index:eTe,chart_with_upwards_trend:tTe,chart_with_downwards_trend:nTe,bar_chart:sTe,clipboard:oTe,pushpin:rTe,round_pushpin:iTe,paperclip:aTe,paperclips:lTe,straight_ruler:cTe,triangular_ruler:uTe,scissors:dTe,card_file_box:hTe,file_cabinet:fTe,wastebasket:pTe,lock:gTe,unlock:mTe,lock_with_ink_pen:_Te,closed_lock_with_key:bTe,key:yTe,old_key:vTe,hammer:wTe,axe:xTe,pick:kTe,hammer_and_pick:ETe,hammer_and_wrench:CTe,dagger:ATe,crossed_swords:STe,gun:TTe,boomerang:MTe,bow_and_arrow:OTe,shield:RTe,carpentry_saw:NTe,wrench:DTe,screwdriver:LTe,nut_and_bolt:ITe,gear:PTe,clamp:FTe,balance_scale:BTe,probing_cane:$Te,link:jTe,chains:zTe,hook:UTe,toolbox:qTe,magnet:HTe,ladder:VTe,alembic:GTe,test_tube:KTe,petri_dish:WTe,dna:ZTe,microscope:YTe,telescope:QTe,satellite:JTe,syringe:XTe,drop_of_blood:e7e,pill:t7e,adhesive_bandage:n7e,stethoscope:s7e,door:o7e,elevator:r7e,mirror:i7e,window:a7e,bed:l7e,couch_and_lamp:c7e,chair:u7e,toilet:d7e,plunger:h7e,shower:f7e,bathtub:p7e,mouse_trap:g7e,razor:m7e,lotion_bottle:_7e,safety_pin:b7e,broom:y7e,basket:v7e,roll_of_paper:w7e,bucket:x7e,soap:k7e,toothbrush:E7e,sponge:C7e,fire_extinguisher:A7e,shopping_cart:S7e,smoking:T7e,coffin:M7e,headstone:O7e,funeral_urn:R7e,moyai:N7e,placard:D7e,atm:L7e,put_litter_in_its_place:I7e,potable_water:P7e,wheelchair:F7e,mens:B7e,womens:$7e,restroom:j7e,baby_symbol:z7e,wc:U7e,passport_control:q7e,customs:H7e,baggage_claim:V7e,left_luggage:G7e,warning:K7e,children_crossing:W7e,no_entry:Z7e,no_entry_sign:Y7e,no_bicycles:Q7e,no_smoking:J7e,do_not_litter:X7e,"non-potable_water":"🚱",no_pedestrians:eMe,no_mobile_phones:tMe,underage:nMe,radioactive:sMe,biohazard:oMe,arrow_up:rMe,arrow_upper_right:iMe,arrow_right:aMe,arrow_lower_right:lMe,arrow_down:cMe,arrow_lower_left:uMe,arrow_left:dMe,arrow_upper_left:hMe,arrow_up_down:fMe,left_right_arrow:pMe,leftwards_arrow_with_hook:gMe,arrow_right_hook:mMe,arrow_heading_up:_Me,arrow_heading_down:bMe,arrows_clockwise:yMe,arrows_counterclockwise:vMe,back:wMe,end:xMe,on:kMe,soon:EMe,top:CMe,place_of_worship:AMe,atom_symbol:SMe,om:TMe,star_of_david:MMe,wheel_of_dharma:OMe,yin_yang:RMe,latin_cross:NMe,orthodox_cross:DMe,star_and_crescent:LMe,peace_symbol:IMe,menorah:PMe,six_pointed_star:FMe,aries:BMe,taurus:$Me,gemini:jMe,cancer:zMe,leo:UMe,virgo:qMe,libra:HMe,scorpius:VMe,sagittarius:GMe,capricorn:KMe,aquarius:WMe,pisces:ZMe,ophiuchus:YMe,twisted_rightwards_arrows:QMe,repeat:JMe,repeat_one:XMe,arrow_forward:eOe,fast_forward:tOe,next_track_button:nOe,play_or_pause_button:sOe,arrow_backward:oOe,rewind:rOe,previous_track_button:iOe,arrow_up_small:aOe,arrow_double_up:lOe,arrow_down_small:cOe,arrow_double_down:uOe,pause_button:dOe,stop_button:hOe,record_button:fOe,eject_button:pOe,cinema:gOe,low_brightness:mOe,high_brightness:_Oe,signal_strength:bOe,vibration_mode:yOe,mobile_phone_off:vOe,female_sign:wOe,male_sign:xOe,transgender_symbol:kOe,heavy_multiplication_x:EOe,heavy_plus_sign:COe,heavy_minus_sign:AOe,heavy_division_sign:SOe,infinity:TOe,bangbang:MOe,interrobang:OOe,question:ROe,grey_question:NOe,grey_exclamation:DOe,exclamation:LOe,heavy_exclamation_mark:IOe,wavy_dash:POe,currency_exchange:FOe,heavy_dollar_sign:BOe,medical_symbol:$Oe,recycle:jOe,fleur_de_lis:zOe,trident:UOe,name_badge:qOe,beginner:HOe,o:VOe,white_check_mark:GOe,ballot_box_with_check:KOe,heavy_check_mark:WOe,x:ZOe,negative_squared_cross_mark:YOe,curly_loop:QOe,loop:JOe,part_alternation_mark:XOe,eight_spoked_asterisk:eRe,eight_pointed_black_star:tRe,sparkle:nRe,copyright:sRe,registered:oRe,tm:rRe,hash:iRe,asterisk:aRe,zero:lRe,one:cRe,two:uRe,three:dRe,four:hRe,five:fRe,six:pRe,seven:gRe,eight:mRe,nine:_Re,keycap_ten:bRe,capital_abcd:yRe,abcd:vRe,symbols:wRe,abc:xRe,a:kRe,ab:ERe,b:CRe,cl:ARe,cool:SRe,free:TRe,information_source:MRe,id:ORe,m:RRe,new:"🆕",ng:NRe,o2:DRe,ok:LRe,parking:IRe,sos:PRe,up:FRe,vs:BRe,koko:$Re,sa:jRe,ideograph_advantage:zRe,accept:URe,congratulations:qRe,secret:HRe,u6e80:VRe,red_circle:GRe,orange_circle:KRe,yellow_circle:WRe,green_circle:ZRe,large_blue_circle:YRe,purple_circle:QRe,brown_circle:JRe,black_circle:XRe,white_circle:eNe,red_square:tNe,orange_square:nNe,yellow_square:sNe,green_square:oNe,blue_square:rNe,purple_square:iNe,brown_square:aNe,black_large_square:lNe,white_large_square:cNe,black_medium_square:uNe,white_medium_square:dNe,black_medium_small_square:hNe,white_medium_small_square:fNe,black_small_square:pNe,white_small_square:gNe,large_orange_diamond:mNe,large_blue_diamond:_Ne,small_orange_diamond:bNe,small_blue_diamond:yNe,small_red_triangle:vNe,small_red_triangle_down:wNe,diamond_shape_with_a_dot_inside:xNe,radio_button:kNe,white_square_button:ENe,black_square_button:CNe,checkered_flag:ANe,triangular_flag_on_post:SNe,crossed_flags:TNe,black_flag:MNe,white_flag:ONe,rainbow_flag:RNe,transgender_flag:NNe,pirate_flag:DNe,ascension_island:LNe,andorra:INe,united_arab_emirates:PNe,afghanistan:FNe,antigua_barbuda:BNe,anguilla:$Ne,albania:jNe,armenia:zNe,angola:UNe,antarctica:qNe,argentina:HNe,american_samoa:VNe,austria:GNe,australia:KNe,aruba:WNe,aland_islands:ZNe,azerbaijan:YNe,bosnia_herzegovina:QNe,barbados:JNe,bangladesh:XNe,belgium:eDe,burkina_faso:tDe,bulgaria:nDe,bahrain:sDe,burundi:oDe,benin:rDe,st_barthelemy:iDe,bermuda:aDe,brunei:lDe,bolivia:cDe,caribbean_netherlands:uDe,brazil:dDe,bahamas:hDe,bhutan:fDe,bouvet_island:pDe,botswana:gDe,belarus:mDe,belize:_De,canada:bDe,cocos_islands:yDe,congo_kinshasa:vDe,central_african_republic:wDe,congo_brazzaville:xDe,switzerland:kDe,cote_divoire:EDe,cook_islands:CDe,chile:ADe,cameroon:SDe,cn:TDe,colombia:MDe,clipperton_island:ODe,costa_rica:RDe,cuba:NDe,cape_verde:DDe,curacao:LDe,christmas_island:IDe,cyprus:PDe,czech_republic:FDe,de:BDe,diego_garcia:$De,djibouti:jDe,denmark:zDe,dominica:UDe,dominican_republic:qDe,algeria:HDe,ceuta_melilla:VDe,ecuador:GDe,estonia:KDe,egypt:WDe,western_sahara:ZDe,eritrea:YDe,es:QDe,ethiopia:JDe,eu:XDe,european_union:eLe,finland:tLe,fiji:nLe,falkland_islands:sLe,micronesia:oLe,faroe_islands:rLe,fr:iLe,gabon:aLe,gb:lLe,uk:cLe,grenada:uLe,georgia:dLe,french_guiana:hLe,guernsey:fLe,ghana:pLe,gibraltar:gLe,greenland:mLe,gambia:_Le,guinea:bLe,guadeloupe:yLe,equatorial_guinea:vLe,greece:wLe,south_georgia_south_sandwich_islands:xLe,guatemala:kLe,guam:ELe,guinea_bissau:CLe,guyana:ALe,hong_kong:SLe,heard_mcdonald_islands:TLe,honduras:MLe,croatia:OLe,haiti:RLe,hungary:NLe,canary_islands:DLe,indonesia:LLe,ireland:ILe,israel:PLe,isle_of_man:FLe,india:BLe,british_indian_ocean_territory:$Le,iraq:jLe,iran:zLe,iceland:ULe,it:qLe,jersey:HLe,jamaica:VLe,jordan:GLe,jp:KLe,kenya:WLe,kyrgyzstan:ZLe,cambodia:YLe,kiribati:QLe,comoros:JLe,st_kitts_nevis:XLe,north_korea:eIe,kr:tIe,kuwait:nIe,cayman_islands:sIe,kazakhstan:oIe,laos:rIe,lebanon:iIe,st_lucia:aIe,liechtenstein:lIe,sri_lanka:cIe,liberia:uIe,lesotho:dIe,lithuania:hIe,luxembourg:fIe,latvia:pIe,libya:gIe,morocco:mIe,monaco:_Ie,moldova:bIe,montenegro:yIe,st_martin:vIe,madagascar:wIe,marshall_islands:xIe,macedonia:kIe,mali:EIe,myanmar:CIe,mongolia:AIe,macau:SIe,northern_mariana_islands:TIe,martinique:MIe,mauritania:OIe,montserrat:RIe,malta:NIe,mauritius:DIe,maldives:LIe,malawi:IIe,mexico:PIe,malaysia:FIe,mozambique:BIe,namibia:$Ie,new_caledonia:jIe,niger:zIe,norfolk_island:UIe,nigeria:qIe,nicaragua:HIe,netherlands:VIe,norway:GIe,nepal:KIe,nauru:WIe,niue:ZIe,new_zealand:YIe,oman:QIe,panama:JIe,peru:XIe,french_polynesia:ePe,papua_new_guinea:tPe,philippines:nPe,pakistan:sPe,poland:oPe,st_pierre_miquelon:rPe,pitcairn_islands:iPe,puerto_rico:aPe,palestinian_territories:lPe,portugal:cPe,palau:uPe,paraguay:dPe,qatar:hPe,reunion:fPe,romania:pPe,serbia:gPe,ru:mPe,rwanda:_Pe,saudi_arabia:bPe,solomon_islands:yPe,seychelles:vPe,sudan:wPe,sweden:xPe,singapore:kPe,st_helena:EPe,slovenia:CPe,svalbard_jan_mayen:APe,slovakia:SPe,sierra_leone:TPe,san_marino:MPe,senegal:OPe,somalia:RPe,suriname:NPe,south_sudan:DPe,sao_tome_principe:LPe,el_salvador:IPe,sint_maarten:PPe,syria:FPe,swaziland:BPe,tristan_da_cunha:$Pe,turks_caicos_islands:jPe,chad:zPe,french_southern_territories:UPe,togo:qPe,thailand:HPe,tajikistan:VPe,tokelau:GPe,timor_leste:KPe,turkmenistan:WPe,tunisia:ZPe,tonga:YPe,tr:QPe,trinidad_tobago:JPe,tuvalu:XPe,taiwan:eFe,tanzania:tFe,ukraine:nFe,uganda:sFe,us_outlying_islands:oFe,united_nations:rFe,us:iFe,uruguay:aFe,uzbekistan:lFe,vatican_city:cFe,st_vincent_grenadines:uFe,venezuela:dFe,british_virgin_islands:hFe,us_virgin_islands:fFe,vietnam:pFe,vanuatu:gFe,wallis_futuna:mFe,samoa:_Fe,kosovo:bFe,yemen:yFe,mayotte:vFe,south_africa:wFe,zambia:xFe,zimbabwe:kFe,england:EFe,scotland:CFe,wales:AFe};var TFe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]},MFe=function(e,n){return e[n].content},OFe=function(e,n,s,o,r){var i=e.utils.arrayReplaceAt,a=e.utils.lib.ucmicro,l=new RegExp([a.Z.source,a.P.source,a.Cc.source].join("|"));function c(d,h,f){var g,m=0,p=[];return d.replace(r,function(b,_,y){var x;if(s.hasOwnProperty(b)){if(x=s[b],_>0&&!l.test(y[_-1])||_+b.length<y.length&&!l.test(y[_+b.length]))return}else x=b.slice(1,-1);_>m&&(g=new f("text","",0),g.content=d.slice(m,_),p.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],p.push(g),m=_+b.length}),m<d.length&&(g=new f("text","",0),g.content=d.slice(m),p.push(g)),p}return function(h){var f,g,m,p,b,_=h.tokens,y=0;for(g=0,m=_.length;g<m;g++)if(_[g].type==="inline")for(p=_[g].children,f=p.length-1;f>=0;f--)b=p[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&o.test(b.content)&&(_[g].children=p=i(p,f,c(b.content,b.level,h.Token)))}};function RFe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var NFe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,c){return e.enabled.indexOf(c)>=0&&(l[c]=n[c]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,c){return n[c]?Array.isArray(e.shortcuts[c])?(e.shortcuts[c].forEach(function(d){l[d]=c}),l):(l[e.shortcuts[c]]=c,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return RFe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},DFe=MFe,LFe=OFe,IFe=NFe,PFe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=IFe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=DFe,e.core.ruler.after("linkify","emoji",LFe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},FFe=SFe,BFe=TFe,$Fe=PFe,jFe=function(e,n){var s={defs:FFe,shortcuts:BFe,enabled:[]},o=e.utils.assign({},s,n||{});$Fe(e,o)};const zFe=is(jFe);var Rd=!1,Rs={false:"push",true:"unshift",after:"push",before:"unshift"},Tr={isPermalinkSymbol:!0};function fl(t,e,n,s){var o;if(!Rd){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),Rd=!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:Tr}),new n.Token("link_close","a",-1)];e.permalinkSpace&&n.tokens[s+1].children[Rs[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Rs[e.permalinkBefore]].apply(o,i)}function Eg(t){return"#"+t}function Cg(t){return{}}var UFe={class:"header-anchor",symbol:"#",renderHref:Eg,renderAttrs:Cg};function Fo(t){function e(n){return n=Object.assign({},e.defaults,n),function(s,o,r,i){return t(s,n,o,r,i)}}return e.defaults=Object.assign({},UFe),e.renderPermalinkImpl=t,e}var bi=Fo(function(t,e,n,s,o){var r,i=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(t,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Tr}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[o+1].children[Rs[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Rs[e.placement]].apply(r,i)});Object.assign(bi.defaults,{space:!0,placement:"after",ariaHidden:!1});var $n=Fo(bi.renderPermalinkImpl);$n.defaults=Object.assign({},bi.defaults,{ariaHidden:!0});var Ag=Fo(function(t,e,n,s,o){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(t,s)]],Object.entries(e.renderAttrs(t,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[o+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[o+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(Ag.defaults,{safariReaderFix:!1});var Nd=Fo(function(t,e,n,s,o){var r;if(!["visually-hidden","aria-label","aria-describedby","aria-labelledby"].includes(e.style))throw new Error("`permalink.linkAfterHeader` called with unknown style option `"+e.style+"`");if(!["aria-describedby","aria-labelledby"].includes(e.style)&&!e.assistiveText)throw new Error("`permalink.linkAfterHeader` called without the `assistiveText` option in `"+e.style+"` style");if(e.style==="visually-hidden"&&!e.visuallyHiddenClass)throw new Error("`permalink.linkAfterHeader` called without the `visuallyHiddenClass` option in `visually-hidden` style");var i=s.tokens[o+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],l=[];if(e.class&&l.push(["class",e.class]),l.push(["href",e.renderHref(t,s)]),l.push.apply(l,Object.entries(e.renderAttrs(t,s))),e.style==="visually-hidden"){if(a.push(Object.assign(new s.Token("span_open","span",1),{attrs:[["class",e.visuallyHiddenClass]]}),Object.assign(new s.Token("text","",0),{content:e.assistiveText(i)}),new s.Token("span_close","span",-1)),e.space){var c=typeof e.space=="string"?e.space:" ";a[Rs[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Rs[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:Tr}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:Tr}));e.style==="aria-label"?l.push(["aria-label",e.assistiveText(i)]):["aria-describedby","aria-labelledby"].includes(e.style)&&l.push([e.style,t]);var d=[Object.assign(new s.Token("link_open","a",1),{attrs:l})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[o+3,0].concat(d)),e.wrapper&&(s.tokens.splice(o,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+`
`})),s.tokens.splice(o+3+d.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+`
`})))});function Dd(t,e,n,s){var o=t,r=s;if(n&&Object.prototype.hasOwnProperty.call(e,o))throw new Error("User defined `id` attribute `"+t+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,o);)o=t+"-"+r,r+=1;return e[o]=!0,o}function gs(t,e){e=Object.assign({},gs.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;a<r.length;a++){var l=r[a];if(l.type==="heading_open"&&i(Number(l.tag.substr(1)))){var c=e.getTokensText(r[a+1].children),d=l.attrGet("id");d=d==null?Dd(e.slugify(c),o,!1,e.uniqueSlugStartIndex):Dd(d,o,!0,e.uniqueSlugStartIndex),l.attrSet("id",d),e.tabIndex!==!1&&l.attrSet("tabindex",""+e.tabIndex),typeof e.permalink=="function"?e.permalink(d,e,n,a):(e.permalink||e.renderPermalink&&e.renderPermalink!==fl)&&e.renderPermalink(d,e,n,a),a=r.indexOf(l),e.callback&&e.callback(l,{slug:d,title:c})}}})}Object.assign(Nd.defaults,{style:"visually-hidden",space:!0,placement:"after",wrapper:null}),gs.permalink={__proto__:null,legacy:fl,renderHref:Eg,renderAttrs:Cg,makePermalink:Fo,linkInsideHeader:bi,ariaHidden:$n,headerLink:Ag,linkAfterHeader:Nd},gs.defaults={level:1,slugify:function(t){return encodeURIComponent(String(t).trim().toLowerCase().replace(/\s+/g,"-"))},uniqueSlugStartIndex:1,tabIndex:"-1",getTokensText:function(t){return t.filter(function(e){return["text","code_inline"].includes(e.type)}).map(function(e){return e.content}).join("")},permalink:!1,renderPermalink:fl,permalinkClass:$n.defaults.class,permalinkSpace:$n.defaults.space,permalinkSymbol:"¶",permalinkBefore:$n.defaults.placement==="before",permalinkHref:$n.defaults.renderHref,permalinkAttrs:$n.defaults.renderAttrs},gs.default=gs;var qFe=function(e,n){n=n||{};function s(o){for(var r=1,i=1,a=o.tokens.length;i<a-1;++i){var l=o.tokens[i];if(l.type==="inline"&&!(!l.children||l.children.length!==1&&l.children.length!==3)&&!(l.children.length===1&&l.children[0].type!=="image")&&!(l.children.length===3&&(l.children[0].type!=="link_open"||l.children[1].type!=="image"||l.children[2].type!=="link_close"))&&!(i!==0&&o.tokens[i-1].type!=="paragraph_open")&&!(i!==a-1&&o.tokens[i+1].type!=="paragraph_close")){var c=o.tokens[i-1];c.type="figure_open",c.tag="figure",o.tokens[i+1].type="figure_close",o.tokens[i+1].tag="figure",n.dataType==!0&&o.tokens[i-1].attrPush(["data-type","image"]);var d;if(n.link==!0&&l.children.length===1&&(d=l.children[0],l.children.unshift(new o.Token("link_open","a",1)),l.children[0].attrPush(["href",d.attrGet("src")]),l.children.push(new o.Token("link_close","a",-1))),d=l.children.length===1?l.children[0]:l.children[1],n.figcaption==!0&&d.children&&d.children.length&&(l.children.push(new o.Token("figcaption_open","figcaption",1)),l.children.splice(l.children.length,0,...d.children),l.children.push(new o.Token("figcaption_close","figcaption",-1)),d.children.length=0),n.copyAttrs&&d.attrs){const h=n.copyAttrs===!0?"":n.copyAttrs;c.attrs=d.attrs.filter(([f,g])=>f.match(h))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&d.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const HFe=is(qFe);function Sg(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)&&Sg(n)}),t}class Ld{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Tg(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Sn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const VFe="</span>",Id=t=>!!t.scope,GFe=(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 KFe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Tg(e)}openNode(e){if(!Id(e))return;const n=GFe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Id(e)&&(this.buffer+=VFe)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Pd=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class pc{constructor(){this.rootNode=Pd(),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=Pd({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=>{pc._collapse(n)}))}}class WFe extends pc{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 KFe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function So(t){return t?typeof t=="string"?t:t.source:null}function Mg(t){return as("(?=",t,")")}function ZFe(t){return as("(?:",t,")*")}function YFe(t){return as("(?:",t,")?")}function as(...t){return t.map(n=>So(n)).join("")}function QFe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function gc(...t){return"("+(QFe(t).capture?"":"?:")+t.map(s=>So(s)).join("|")+")"}function Og(t){return new RegExp(t.toString()+"|").exec("").length-1}function JFe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const XFe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function mc(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=So(s),i="";for(;r.length>0;){const a=XFe.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 eBe=/\b\B/,Rg="[a-zA-Z]\\w*",_c="[a-zA-Z_]\\w*",Ng="\\b\\d+(\\.\\d+)?",Dg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Lg="\\b(0b[01]+)",tBe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",nBe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=as(e,/.*\b/,t.binary,/\b.*/)),Sn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},To={begin:"\\\\[\\s\\S]",relevance:0},sBe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[To]},oBe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[To]},rBe={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/},yi=function(t,e,n={}){const s=Sn({scope:"comment",begin:t,end:e,contains:[]},n);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=gc("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:as(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},iBe=yi("//","$"),aBe=yi("/\\*","\\*/"),lBe=yi("#","$"),cBe={scope:"number",begin:Ng,relevance:0},uBe={scope:"number",begin:Dg,relevance:0},dBe={scope:"number",begin:Lg,relevance:0},hBe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[To,{begin:/\[/,end:/\]/,relevance:0,contains:[To]}]}]},fBe={scope:"title",begin:Rg,relevance:0},pBe={scope:"title",begin:_c,relevance:0},gBe={begin:"\\.\\s*"+_c,relevance:0},mBe=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Qo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:eBe,IDENT_RE:Rg,UNDERSCORE_IDENT_RE:_c,NUMBER_RE:Ng,C_NUMBER_RE:Dg,BINARY_NUMBER_RE:Lg,RE_STARTERS_RE:tBe,SHEBANG:nBe,BACKSLASH_ESCAPE:To,APOS_STRING_MODE:sBe,QUOTE_STRING_MODE:oBe,PHRASAL_WORDS_MODE:rBe,COMMENT:yi,C_LINE_COMMENT_MODE:iBe,C_BLOCK_COMMENT_MODE:aBe,HASH_COMMENT_MODE:lBe,NUMBER_MODE:cBe,C_NUMBER_MODE:uBe,BINARY_NUMBER_MODE:dBe,REGEXP_MODE:hBe,TITLE_MODE:fBe,UNDERSCORE_TITLE_MODE:pBe,METHOD_GUARD:gBe,END_SAME_AS_BEGIN:mBe});function _Be(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function bBe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function yBe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=_Be,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function vBe(t,e){Array.isArray(t.illegal)&&(t.illegal=gc(...t.illegal))}function wBe(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 xBe(t,e){t.relevance===void 0&&(t.relevance=1)}const kBe=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=as(n.beforeMatch,Mg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},EBe=["of","and","for","in","not","or","if","then","parent","list","value"],CBe="keyword";function Ig(t,e,n=CBe){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,Ig(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,ABe(l[0],l[1])]})}}function ABe(t,e){return e?Number(e):SBe(t)?0:1}function SBe(t){return EBe.includes(t.toLowerCase())}const Fd={},Yn=t=>{console.error(t)},Bd=(t,...e)=>{console.log(`WARN: ${t}`,...e)},hs=(t,e)=>{Fd[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Fd[`${t}/${e}`]=!0)},Mr=new Error;function Pg(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+=Og(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function TBe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Mr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yn("beginScope must be object"),Mr;Pg(t,t.begin,{key:"beginScope"}),t.begin=mc(t.begin,{joinWith:""})}}function MBe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Mr;if(typeof t.endScope!="object"||t.endScope===null)throw Yn("endScope must be object"),Mr;Pg(t,t.end,{key:"endScope"}),t.end=mc(t.end,{joinWith:""})}}function OBe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function RBe(t){OBe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),TBe(t),MBe(t)}function NBe(t){function e(i,a){return new RegExp(So(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=Og(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(mc(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((h,f)=>f>0&&h!==void 0),d=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,d)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,d])=>l.addRule(c,d)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,c=d.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[bBe,wBe,RBe,kBe].forEach(d=>d(i,a)),t.compilerExtensions.forEach(d=>d(i,a)),i.__beforeBegin=null,[yBe,vBe,xBe].forEach(d=>d(i,a)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=Ig(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=So(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(d){return DBe(d==="self"?i:d)})),i.contains.forEach(function(d){r(d,l)}),i.starts&&r(i.starts,a),l.matcher=o(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Sn(t.classNameAliases||{}),r(t)}function Fg(t){return t?t.endsWithParent||Fg(t.starts):!1}function DBe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Sn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Fg(t)?Sn(t,{starts:t.starts?Sn(t.starts):null}):Object.isFrozen(t)?Sn(t):t}var LBe="11.8.0";class IBe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const ea=Tg,$d=Sn,jd=Symbol("nomatch"),PBe=7,Bg=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:WFe};function l(T){return a.noHighlightRe.test(T)}function c(T){let q=T.className+" ";q+=T.parentNode?T.parentNode.className:"";const G=a.languageDetectRe.exec(q);if(G){const be=k(G[1]);return be||(Bd(r.replace("{}",G[1])),Bd("Falling back to no-highlight mode for this block.",T)),be?G[1]:"no-highlight"}return q.split(/\s+/).find(be=>l(be)||k(be))}function d(T,q,G){let be="",ge="";typeof q=="object"?(be=T,G=q.ignoreIllegals,ge=q.language):(hs("10.7.0","highlight(lang, code, ...args) has been deprecated."),hs("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),ge=T,be=q),G===void 0&&(G=!0);const ee={code:be,language:ge};le("before:highlight",ee);const we=ee.result?ee.result:h(ee.language,ee.code,G);return we.code=ee.code,le("after:highlight",we),we}function h(T,q,G,be){const ge=Object.create(null);function ee(W,oe){return W.keywords[oe]}function we(){if(!z.keywords){U.addText(Y);return}let W=0;z.keywordPatternRe.lastIndex=0;let oe=z.keywordPatternRe.exec(Y),pe="";for(;oe;){pe+=Y.substring(W,oe.index);const Ae=j.case_insensitive?oe[0].toLowerCase():oe[0],Ie=ee(z,Ae);if(Ie){const[qe,De]=Ie;if(U.addText(pe),pe="",ge[Ae]=(ge[Ae]||0)+1,ge[Ae]<=PBe&&(ie+=De),qe.startsWith("_"))pe+=oe[0];else{const Je=j.classNameAliases[qe]||qe;J(oe[0],Je)}}else pe+=oe[0];W=z.keywordPatternRe.lastIndex,oe=z.keywordPatternRe.exec(Y)}pe+=Y.substring(W),U.addText(pe)}function Ce(){if(Y==="")return;let W=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){U.addText(Y);return}W=h(z.subLanguage,Y,!0,se[z.subLanguage]),se[z.subLanguage]=W._top}else W=g(Y,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(ie+=W.relevance),U.__addSublanguage(W._emitter,W.language)}function N(){z.subLanguage!=null?Ce():we(),Y=""}function J(W,oe){W!==""&&(U.startScope(oe),U.addText(W),U.endScope())}function H(W,oe){let pe=1;const Ae=oe.length-1;for(;pe<=Ae;){if(!W._emit[pe]){pe++;continue}const Ie=j.classNameAliases[W[pe]]||W[pe],qe=oe[pe];Ie?J(qe,Ie):(Y=qe,we(),Y=""),pe++}}function te(W,oe){return W.scope&&typeof W.scope=="string"&&U.openNode(j.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(J(Y,j.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),Y=""):W.beginScope._multi&&(H(W.beginScope,oe),Y="")),z=Object.create(W,{parent:{value:z}}),z}function X(W,oe,pe){let Ae=JFe(W.endRe,pe);if(Ae){if(W["on:end"]){const Ie=new Ld(W);W["on:end"](oe,Ie),Ie.isMatchIgnored&&(Ae=!1)}if(Ae){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return X(W.parent,oe,pe)}function fe(W){return z.matcher.regexIndex===0?(Y+=W[0],1):(ke=!0,0)}function ue(W){const oe=W[0],pe=W.rule,Ae=new Ld(pe),Ie=[pe.__beforeBegin,pe["on:begin"]];for(const qe of Ie)if(qe&&(qe(W,Ae),Ae.isMatchIgnored))return fe(oe);return pe.skip?Y+=oe:(pe.excludeBegin&&(Y+=oe),N(),!pe.returnBegin&&!pe.excludeBegin&&(Y=oe)),te(pe,W),pe.returnBegin?0:oe.length}function w(W){const oe=W[0],pe=q.substring(W.index),Ae=X(z,W,pe);if(!Ae)return jd;const Ie=z;z.endScope&&z.endScope._wrap?(N(),J(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),H(z.endScope,W)):Ie.skip?Y+=oe:(Ie.returnEnd||Ie.excludeEnd||(Y+=oe),N(),Ie.excludeEnd&&(Y=oe));do z.scope&&U.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==Ae.parent);return Ae.starts&&te(Ae.starts,W),Ie.returnEnd?0:oe.length}function E(){const W=[];for(let oe=z;oe!==j;oe=oe.parent)oe.scope&&W.unshift(oe.scope);W.forEach(oe=>U.openNode(oe))}let P={};function $(W,oe){const pe=oe&&oe[0];if(Y+=W,pe==null)return N(),0;if(P.type==="begin"&&oe.type==="end"&&P.index===oe.index&&pe===""){if(Y+=q.slice(oe.index,oe.index+1),!o){const Ae=new Error(`0 width match regex (${T})`);throw Ae.languageName=T,Ae.badRule=P.rule,Ae}return 1}if(P=oe,oe.type==="begin")return ue(oe);if(oe.type==="illegal"&&!G){const Ae=new Error('Illegal lexeme "'+pe+'" for mode "'+(z.scope||"<unnamed>")+'"');throw Ae.mode=z,Ae}else if(oe.type==="end"){const Ae=w(oe);if(Ae!==jd)return Ae}if(oe.type==="illegal"&&pe==="")return 1;if(de>1e5&&de>oe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=pe,pe.length}const j=k(T);if(!j)throw Yn(r.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ne=NBe(j);let re="",z=be||ne;const se={},U=new a.__emitter(a);E();let Y="",ie=0,he=0,de=0,ke=!1;try{if(j.__emitTokens)j.__emitTokens(q,U);else{for(z.matcher.considerAll();;){de++,ke?ke=!1:z.matcher.considerAll(),z.matcher.lastIndex=he;const W=z.matcher.exec(q);if(!W)break;const oe=q.substring(he,W.index),pe=$(oe,W);he=W.index+pe}$(q.substring(he))}return U.finalize(),re=U.toHTML(),{language:T,value:re,relevance:ie,illegal:!1,_emitter:U,_top:z}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:T,value:ea(q),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:he,context:q.slice(he-100,he+100),mode:W.mode,resultSoFar:re},_emitter:U};if(o)return{language:T,value:ea(q),illegal:!1,relevance:0,errorRaised:W,_emitter:U,_top:z};throw W}}function f(T){const q={value:ea(T),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return q._emitter.addText(T),q}function g(T,q){q=q||a.languages||Object.keys(e);const G=f(T),be=q.filter(k).filter(L).map(N=>h(N,T,!1));be.unshift(G);const ge=be.sort((N,J)=>{if(N.relevance!==J.relevance)return J.relevance-N.relevance;if(N.language&&J.language){if(k(N.language).supersetOf===J.language)return 1;if(k(J.language).supersetOf===N.language)return-1}return 0}),[ee,we]=ge,Ce=ee;return Ce.secondBest=we,Ce}function m(T,q,G){const be=q&&n[q]||G;T.classList.add("hljs"),T.classList.add(`language-${be}`)}function p(T){let q=null;const G=c(T);if(l(G))return;if(le("before:highlightElement",{el:T,language:G}),T.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(T)),a.throwUnescapedHTML))throw new IBe("One of your code blocks includes unescaped HTML.",T.innerHTML);q=T;const be=q.textContent,ge=G?d(be,{language:G,ignoreIllegals:!0}):g(be);T.innerHTML=ge.value,m(T,G,ge.language),T.result={language:ge.language,re:ge.relevance,relevance:ge.relevance},ge.secondBest&&(T.secondBest={language:ge.secondBest.language,relevance:ge.secondBest.relevance}),le("after:highlightElement",{el:T,result:ge,text:be})}function b(T){a=$d(a,T)}const _=()=>{A(),hs("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){A(),hs("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function A(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(p)}function R(){x&&A()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function O(T,q){let G=null;try{G=q(t)}catch(be){if(Yn("Language definition for '{}' could not be registered.".replace("{}",T)),o)Yn(be);else throw be;G=i}G.name||(G.name=T),e[T]=G,G.rawDefinition=q.bind(null,t),G.aliases&&M(G.aliases,{languageName:T})}function D(T){delete e[T];for(const q of Object.keys(n))n[q]===T&&delete n[q]}function v(){return Object.keys(e)}function k(T){return T=(T||"").toLowerCase(),e[T]||e[n[T]]}function M(T,{languageName:q}){typeof T=="string"&&(T=[T]),T.forEach(G=>{n[G.toLowerCase()]=q})}function L(T){const q=k(T);return q&&!q.disableAutodetect}function F(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=q=>{T["before:highlightBlock"](Object.assign({block:q.el},q))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=q=>{T["after:highlightBlock"](Object.assign({block:q.el},q))})}function Q(T){F(T),s.push(T)}function I(T){const q=s.indexOf(T);q!==-1&&s.splice(q,1)}function le(T,q){const G=T;s.forEach(function(be){be[G]&&be[G](q)})}function Z(T){return hs("10.7.0","highlightBlock will be removed entirely in v12.0"),hs("10.7.0","Please use highlightElement now."),p(T)}Object.assign(t,{highlight:d,highlightAuto:g,highlightAll:A,highlightElement:p,highlightBlock:Z,configure:b,initHighlighting:_,initHighlightingOnLoad:y,registerLanguage:O,unregisterLanguage:D,listLanguages:v,getLanguage:k,registerAliases:M,autoDetection:L,inherit:$d,addPlugin:Q,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=LBe,t.regex={concat:as,lookahead:Mg,either:gc,optional:YFe,anyNumberOfTimes:ZFe};for(const T in Qo)typeof Qo[T]=="object"&&Sg(Qo[T]);return Object.assign(t,Qo),t},Ns=Bg({});Ns.newInstance=()=>Bg({});var FBe=Ns;Ns.HighlightJS=Ns;Ns.default=Ns;var ta,zd;function BBe(){if(zd)return ta;zd=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),d={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:o,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,a,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(/</,n.lookahead(n.concat(s,n.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:d}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return ta=t,ta}var na,Ud;function $Be(){if(Ud)return na;Ud=1;function t(e){const n=e.regex,s={},o={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},o]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]};r.contains.push(a);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},h=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${h.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],p=["true","false"],b={match:/(\/[a-z._-]+)+/},_=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],y=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],x=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],A=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:p,built_in:[..._,...y,"set","shopt",...x,...A]},contains:[f,e.SHEBANG(),g,d,e.HASH_COMMENT_MODE,i,b,a,l,c,s]}}return na=t,na}var sa,qd;function jBe(){if(qd)return sa;qd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",_={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},y=[f,l,s,e.C_BLOCK_COMMENT_MODE,h,d],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:_,contains:y.concat([{begin:/\(/,end:/\)/,keywords:_,contains:y.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,d,h,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,d,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"</",contains:[].concat(x,A,y,[f,{begin:e.IDENT_RE+"::",keywords:_},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:d,keywords:_}}}return sa=t,sa}var oa,Hd;function zBe(){if(Hd)return oa;Hd=1;function t(e){const n=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<[^<>]+>",a="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",p=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],y=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],R={type:b,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},O={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,d],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,d,h,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,d,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(v,k,O,D,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",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 oa=t,oa}var ra,Vd;function UBe(){if(Vd)return ra;Vd=1;function t(e){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],s=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],o=["default","false","null","true"],r=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],i=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:r.concat(i),built_in:n,literal:o},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(d,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},g=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},p={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},b=e.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});f.contains=[p,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.C_BLOCK_COMMENT_MODE],g.contains=[b,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,c,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const _={variants:[p,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},x=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",A={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+x+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:s.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[_,c,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A]}}return ra=t,ra}var ia,Gd;function qBe(){if(Gd)return ia;Gd=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=a.regex,c=t(a),d={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,g="[a-zA-Z-][a-zA-Z0-9_-]*",m=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[c.BLOCK_COMMENT,d,c.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+g,relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+o.join("|")+")"}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[c.BLOCK_COMMENT,c.HEXCOLOR,c.IMPORTANT,c.CSS_NUMBER_MODE,...m,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...m,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},c.FUNCTION_DISPATCH]},{begin:l.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:f},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...m,c.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return ia=i,ia}var aa,Kd;function HBe(){if(Kd)return aa;Kd=1;function t(e){const n=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},o={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:n.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},d={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(d,{contains:[]}),g=e.inherit(h,{contains:[]});d.contains.push(g),h.contains.push(f);let m=[s,c];return[d,h,f,g].forEach(_=>{_.contains=_.contains.concat(m)}),m=m.concat(d,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},s,i,d,h,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},r,o,c,a]}}return aa=t,aa}var la,Wd;function VBe(){if(Wd)return la;Wd=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 la=t,la}var ca,Zd;function GBe(){if(Zd)return ca;Zd=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},d=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},b={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,d),relevance:0}].concat(c,d);h.contains=D,b.contains=D;const v="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+v+"|"+k+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return d.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(d).concat(D)}}return ca=t,ca}var ua,Yd;function KBe(){if(Yd)return ua;Yd=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:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,illegal:/["']/}]}]}}return ua=t,ua}var da,Qd;function WBe(){if(Qd)return da;Qd=1;function t(e){const n=e.regex,s=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:n.concat(s,n.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}return da=t,da}var ha,Jd;function ZBe(){if(Jd)return ha;Jd=1;function t(e){const n=e.regex,s={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},o=e.COMMENT();o.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[o,i,r,a,s,"self"],relevance:0},c=/[A-Za-z0-9_-]+/,d=/"(\\"|[^"])*"/,h=/'[^']*'/,f=n.either(c,d,h),g=n.concat(f,"(\\s*\\.\\s*",f,")*",n.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[o,{className:"section",begin:/\[+/,end:/\]+/},{begin:g,className:"attr",starts:{end:/$/,contains:[o,l,i,r,a,s]}}]}}return ha=t,ha}var fa,Xd;function YBe(){if(Xd)return fa;Xd=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(i,a,l){return l===-1?"":i.replace(a,c=>o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},p={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[b,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[p,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,p]}}return fa=r,fa}var pa,eh;function QBe(){if(eh)return pa;eh=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(c){const d=c.regex,h=(H,{after:te})=>{const X="</"+H[0].slice(1);return H.input.indexOf(X,te)!==-1},f=t,g={begin:"<>",end:"</>"},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(H,te)=>{const X=H[0].length+H.index,fe=H.input[X];if(fe==="<"||fe===","){te.ignoreMatch();return}fe===">"&&(h(H,{after:X})||te.ignoreMatch());let ue;const w=H.input.substring(X);if(ue=w.match(/^\s*=/)){te.ignoreMatch();return}if((ue=w.match(/^\s+extends\s+/))&&ue.index===0){te.ignoreMatch();return}}},b={$pattern:t,keyword:e,literal:n,built_in:a,"variable.language":i},_="[0-9](_?[0-9])*",y=`\\.(${_})`,x="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${x})((${y})|\\.)?|(${y}))[eE][+-]?(${_})\\b`},{begin:`\\b(${x})\\b((${y})\\b|\\.)?|(${y})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},R={className:"subst",begin:"\\$\\{",end:"\\}",keywords:b,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},D={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"css"}},v={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[c.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[c.BACKSLASH_ESCAPE,R]},L={className:"comment",variants:[c.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),c.C_BLOCK_COMMENT_MODE,c.C_LINE_COMMENT_MODE]},F=[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,O,D,v,k,{match:/\$\d+/},A];R.contains=F.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(F)});const Q=[].concat(L,R.contains),I=Q.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(Q)}]),le={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:I},Z={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,d.concat(f,"(",d.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:d.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[le],illegal:/%/},be={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ge(H){return d.concat("(?!",H.join("|"),")")}const ee={match:d.concat(/\b/,ge([...r,"super","import"]),f,d.lookahead(/\(/)),className:"title.function",relevance:0},we={begin:d.concat(/\./,d.lookahead(d.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ce={match:[/get|set/,/\s+/,f,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},le]},N="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+c.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,d.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[le]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[c.SHEBANG({label:"shebang",binary:"node",relevance:5}),q,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,O,D,v,k,L,{match:/\$\d+/},A,T,{className:"attr",begin:f+d.lookahead(":"),relevance:0},J,{begin:"("+c.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[L,c.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:c.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:g.begin,end:g.end},{match:m},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},G,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+c.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[le,c.inherit(c.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},we,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[le]},ee,be,Z,Ce,{match:/\$[(.]/}]}}return pa=l,pa}var ga,th;function JBe(){if(th)return ga;th=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 ga=t,ga}var ma,nh;function XBe(){if(nh)return ma;nh=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,c]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,d,c]}]};c.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},m=s,p=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=b;return _.variants[1].contains=[b],b.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,p,a,l,f,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,r.C_LINE_COMMENT_MODE,p],relevance:0},r.C_LINE_COMMENT_MODE,p,f,g,h,r.C_NUMBER_MODE]},p]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
`},m]}}return ma=o,ma}var _a,sh;function e$e(){if(sh)return _a;sh=1;const t=l=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:l.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:l.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),i=s.concat(o);function a(l){const c=t(l),d=i,h="and or not only",f="[\\w-]+",g="("+f+"|@\\{"+f+"\\})",m=[],p=[],b=function(L){return{className:"string",begin:"~?"+L+".*?"+L}},_=function(L,F,Q){return{className:L,begin:F,relevance:Q}},y={$pattern:/[a-z-]+/,keyword:h,attribute:n.join(" ")},x={begin:"\\(",end:"\\)",contains:p,keywords:y,relevance:0};p.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,b("'"),b('"'),c.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},c.HEXCOLOR,x,_("variable","@@?"+f,10),_("variable","@\\{"+f+"\\}"),_("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},c.IMPORTANT,{beginKeywords:"and not"},c.FUNCTION_DISPATCH);const A=p.concat({begin:/\{/,end:/\}/,contains:m}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(p)},O={begin:g+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:p}}]},D={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:p,relevance:0}},v={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:A}},k={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:g,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,R,_("keyword","all\\b"),_("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},c.CSS_NUMBER_MODE,_("selector-tag",g,0),_("selector-id","#"+g),_("selector-class","\\."+g,0),_("selector-tag","&",0),c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+o.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:A},{begin:"!important"},c.FUNCTION_DISPATCH]},M={begin:f+`:(:)?(${d.join("|")})`,returnBegin:!0,contains:[k]};return m.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,D,v,M,O,k,R,c.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:m}}return _a=a,_a}var ba,oh;function t$e(){if(oh)return ba;oh=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 ba=t,ba}var ya,rh;function n$e(){if(rh)return ya;rh=1;function t(e){const n={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n]},o={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[n]},r={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},i={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[n]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,n,s,o,r,i,a]}}return ya=t,ya}var va,ih;function s$e(){if(ih)return va;ih=1;function t(e){const n=e.regex,s=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:s.join(" ")},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},l={variants:[{begin:/\$\d/},{begin:n.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},c=[e.BACKSLASH_ESCAPE,i,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(m,p,b="\\1")=>{const _=b==="\\1"?b:n.concat(b,p);return n.concat(n.concat("(?:",m,")"),p,/(?:\\.|[^\\\/])*?/,_,/(?:\\.|[^\\\/])*?/,b,o)},f=(m,p,b)=>n.concat(n.concat("(?:",m,")"),p,/(?:\\.|[^\\\/])*?/,b,o),g=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:c,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",n.either(...d,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",n.either(...d,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=g,a.contains=g,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:g}}return va=t,va}var wa,ah;function o$e(){if(ah)return wa;ah=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:"</",contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,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 wa=t,wa}var xa,lh;function r$e(){if(lh)return xa;lh=1;function t(e){const n=e.regex,s=/(?![A-Za-z0-9])(?![$])/,o=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),i={scope:"variable",match:"\\$+"+o},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(I,le)=>{le.data._beginMatch=I[1]||I[2]},"on:end":(I,le)=>{le.data._beginMatch!==I[1]&&le.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),g=`[
]`,m={scope:"string",variants:[d,c,h,f]},p={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},b=["false","null","true"],_=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],y=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],A={keyword:_,literal:(I=>{const le=[];return I.forEach(Z=>{le.push(Z),Z.toLowerCase()===Z?le.push(Z.toUpperCase()):le.push(Z.toLowerCase())}),le})(b),built_in:y},R=I=>I.map(le=>le.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,n.concat(g,"+"),n.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},D=n.concat(o,"\\b(?!\\()"),v={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,n.concat(/::/,n.lookahead(/(?!class\b)/)),D],scope:{1:"title.class",3:"variable.constant"}},{match:[r,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:n.concat(o,n.lookahead(":"),n.lookahead(/(?!::)/))},M={relevance:0,begin:/\(/,end:/\)/,keywords:A,contains:[k,i,v,e.C_BLOCK_COMMENT_MODE,m,p,O]},L={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",R(_).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),o,n.concat(g,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[M]};M.contains.push(L);const F=[k,v,e.C_BLOCK_COMMENT_MODE,m,p,O],Q={begin:n.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:b,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:b,keyword:["new","array"]},contains:["self",...F]},...F,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:A,contains:[Q,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},i,L,v,{match:[/const/,/\s/,o],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",i,v,e.C_BLOCK_COMMENT_MODE,m,p]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,p]}}return xa=t,xa}var ka,ch;function i$e(){if(ch)return ka;ch=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 ka=t,ka}var Ea,uh;function a$e(){if(uh)return Ea;uh=1;function t(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Ea=t,Ea}var Ca,dh;function l$e(){if(dh)return Ca;dh=1;function t(e){const n=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,o=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],l={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:o,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},d={className:"subst",begin:/\{/,end:/\}/,keywords:l,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,c,h,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,c,h,d]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,d]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,p=`\\b|${o.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${p})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${p})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${p})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`},{begin:`\\b(${g})[jJ](?=${p})`}]},_={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:l,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},y={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,contains:["self",c,b,f,e.HASH_COMMENT_MODE]}]};return d.contains=[f,b,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:l,illegal:/(<\/|\?)|=>/,contains:[c,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,_,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,y,f]}]}}return Ca=t,Ca}var Aa,hh;function c$e(){if(hh)return Aa;hh=1;function t(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Aa=t,Aa}var Sa,fh;function u$e(){if(fh)return Sa;fh=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 Sa=t,Sa}var Ta,ph;function d$e(){if(ph)return Ta;ph=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:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:a,type:l}},{className:"punctuation",begin:"->"},s]}}return Ta=t,Ta}var Ma,gh;function h$e(){if(gh)return Ma;gh=1;const t=a=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:a.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:a.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],s=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],o=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],r=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function i(a){const l=t(a),c=o,d=s,h="@[a-z-]+",f="and or not only",m={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,l.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c.join("|")+")"},m,{begin:/\(/,end:/\)/,contains:[l.CSS_NUMBER_MODE]},l.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[l.BLOCK_COMMENT,m,l.HEXCOLOR,l.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.IMPORTANT,l.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},m,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,l.HEXCOLOR,l.CSS_NUMBER_MODE]},l.FUNCTION_DISPATCH]}}return Ma=i,Ma}var Oa,mh;function f$e(){if(mh)return Oa;mh=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 Oa=t,Oa}var Ra,_h;function p$e(){if(_h)return Ra;_h=1;function t(e){const n=e.regex,s=e.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},i=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],l=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],d=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],g=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],m=h,p=[...d,...c].filter(A=>!h.includes(A)),b={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},_={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:n.concat(/\b/,n.either(...m),/\s*\(/),relevance:0,keywords:{built_in:m}};function x(A,{exceptions:R,when:O}={}){const D=O;return R=R||[],A.map(v=>v.match(/\|\d+$/)||R.includes(v)?v:D(v)?`${v}|0`:v)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:x(p,{when:A=>A.length<3}),literal:i,type:l,built_in:f},contains:[{begin:n.either(...g),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:p.concat(g),literal:i,type:l}},{className:"type",begin:n.either(...a)},y,b,o,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,_]}}return Ra=t,Ra}var Na,bh;function g$e(){if(bh)return Na;bh=1;function t(v){return v?typeof v=="string"?v:v.source:null}function e(v){return n("(?=",v,")")}function n(...v){return v.map(M=>t(M)).join("")}function s(v){const k=v[v.length-1];return typeof k=="object"&&k.constructor===Object?(v.splice(v.length-1,1),k):{}}function o(...v){return"("+(s(v).capture?"":"?:")+v.map(L=>t(L)).join("|")+")"}const r=v=>n(/\b/,v,/\w$/.test(v)?/\b/:/\B/),i=["Protocol","Type"].map(r),a=["init","self"].map(r),l=["Any","Self"],c=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],d=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],g=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=o(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),p=o(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=n(m,p,"*"),_=o(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),y=o(_,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),x=n(_,y,"*"),A=n(/[A-Z]/,y,"*"),R=["autoclosure",n(/convention\(/,o("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,x,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function D(v){const k={match:/\s+/,relevance:0},M=v.COMMENT("/\\*","\\*/",{contains:["self"]}),L=[v.C_LINE_COMMENT_MODE,M],F={match:[/\./,o(...i,...a)],className:{2:"keyword"}},Q={match:n(/\./,o(...c)),relevance:0},I=c.filter(De=>typeof De=="string").concat(["_|0"]),le=c.filter(De=>typeof De!="string").concat(l).map(r),Z={variants:[{className:"keyword",match:o(...le,...a)}]},T={$pattern:o(/\b\w+/,/#\w+/),keyword:I.concat(f),literal:d},q=[F,Q,Z],G={match:n(/\./,o(...g)),relevance:0},be={className:"built_in",match:n(/\b/,o(...g),/(?=\()/)},ge=[G,be],ee={match:/->/,relevance:0},we={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${p})+`}]},Ce=[ee,we],N="([0-9]_*)+",J="([0-9a-fA-F]_*)+",H={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${J})(\\.(${J}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},te=(De="")=>({className:"subst",variants:[{match:n(/\\/,De,/[0\\tnr"']/)},{match:n(/\\/,De,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(De="")=>({className:"subst",match:n(/\\/,De,/[\t ]*(?:[\r\n]|\r\n)/)}),fe=(De="")=>({className:"subst",label:"interpol",begin:n(/\\/,De,/\(/),end:/\)/}),ue=(De="")=>({begin:n(De,/"""/),end:n(/"""/,De),contains:[te(De),X(De),fe(De)]}),w=(De="")=>({begin:n(De,/"/),end:n(/"/,De),contains:[te(De),fe(De)]}),E={className:"string",variants:[ue(),ue("#"),ue("##"),ue("###"),w(),w("#"),w("##"),w("###")]},P={match:n(/`/,x,/`/)},$={className:"variable",match:/\$\d+/},j={className:"variable",match:`\\$${y}+`},ne=[P,$,j],re={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:O,contains:[...Ce,H,E]}]}},z={className:"keyword",match:n(/@/,o(...R))},se={className:"meta",match:n(/@/,x)},U=[re,z,se],Y={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,y,"+")},{className:"type",match:A,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,e(A)),relevance:0}]},ie={begin:/</,end:/>/,keywords:T,contains:[...L,...q,...U,ee,Y]};Y.contains.push(ie);const he={match:n(x,/\s*:/),keywords:"_|0",relevance:0},de={begin:/\(/,end:/\)/,relevance:0,keywords:T,contains:["self",he,...L,...q,...ge,...Ce,H,E,...ne,...U,Y]},ke={begin:/</,end:/>/,contains:[...L,Y]},W={begin:o(e(n(x,/\s*:/)),e(n(x,/\s+/,x,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:x}]},oe={begin:/\(/,end:/\)/,keywords:T,contains:[W,...L,...q,...Ce,H,E,...U,Y,de],endsParent:!0,illegal:/["']/},pe={match:[/func/,/\s+/,o(P.match,x,b)],className:{1:"keyword",3:"title.function"},contains:[ke,oe,k],illegal:[/\[/,/%/]},Ae={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ke,oe,k],illegal:/\[|%/},Ie={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},qe={begin:[/precedencegroup/,/\s+/,A],className:{1:"keyword",3:"title"},contains:[Y],keywords:[...h,...d],end:/}/};for(const De of E.variants){const Je=De.contains.find(at=>at.label==="interpol");Je.keywords=T;const et=[...q,...ge,...Ce,H,E,...ne];Je.contains=[...et,{begin:/\(/,end:/\)/,contains:["self",...et]}]}return{name:"Swift",keywords:T,contains:[...L,pe,Ae,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:T,contains:[v.inherit(v.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...q]},Ie,qe,{beginKeywords:"import",end:/$/,contains:[...L],relevance:0},...q,...ge,...Ce,H,E,...ne,...U,Y,de]}}return Na=D,Na}var Da,yh;function m$e(){if(yh)return Da;yh=1;function t(e){const n="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",o={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(i,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",c="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",d="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+c+d+h+"\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},m={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},p={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},b=[o,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},m,p,i],_=[...b];return _.pop(),_.push(a),g.contains=_,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}return Da=t,Da}var La,vh;function _$e(){if(vh)return La;vh=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],s=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],o=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,o);function l(d){const h=d.regex,f=(te,{after:X})=>{const fe="</"+te[0].slice(1);return te.input.indexOf(fe,X)!==-1},g=t,m={begin:"<>",end:"</>"},p=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(te,X)=>{const fe=te[0].length+te.index,ue=te.input[fe];if(ue==="<"||ue===","){X.ignoreMatch();return}ue===">"&&(f(te,{after:fe})||X.ignoreMatch());let w;const 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},y="[0-9](_?[0-9])*",x=`\\.(${y})`,A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${A})((${x})|\\.)?|(${x}))[eE][+-]?(${y})\\b`},{begin:`\\b(${A})\\b((${x})\\b|\\.)?|(${x})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},O={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},D={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,O],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,O],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,O],subLanguage:"graphql"}},M={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,O]},F={className:"comment",variants:[d.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},Q=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,D,v,k,M,{match:/\$\d+/},R];O.contains=Q.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(Q)});const I=[].concat(F,O.contains),le=I.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(I)}]),Z={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:le},T={variants:[{match:[/class/,/\s+/,g,/\s+/,/extends/,/\s+/,h.concat(g,"(",h.concat(/\./,g),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,g],scope:{1:"keyword",3:"title.class"}}]},q={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...o]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},be={variants:[{match:[/function/,/\s+/,g,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[Z],illegal:/%/},ge={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(te){return h.concat("(?!",te.join("|"),")")}const we={match:h.concat(/\b/,ee([...r,"super","import"]),g,h.lookahead(/\(/)),className:"title.function",relevance:0},Ce={begin:h.concat(/\./,h.lookahead(h.concat(g,/(?![0-9A-Za-z$_(])/))),end:g,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,g,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},Z]},J="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",H={match:[/const|var|let/,/\s+/,g,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(J)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[Z]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:le,CLASS_REFERENCE:q},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,D,v,k,M,F,{match:/\$\d+/},R,q,{className:"attr",begin:g+h.lookahead(":"),relevance:0},H,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,d.REGEXP_MODE,{className:"function",begin:J,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:le}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:p},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},be,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[Z,d.inherit(d.TITLE_MODE,{begin:g,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ce,{match:"\\$"+g,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[Z]},we,ge,T,N,{match:/\$[(.]/}]}}function c(d){const h=l(d),f=t,g=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],m={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},p={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:g},contains:[h.exports.CLASS_REFERENCE]},b={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:t,keyword:e.concat(_),literal:n,built_in:a.concat(g),"variable.language":i},x={className:"meta",begin:"@"+f},A=(O,D,v)=>{const k=O.contains.findIndex(M=>M.label===D);if(k===-1)throw new Error("can not find mode to replace");O.contains.splice(k,1,v)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(x),h.contains=h.contains.concat([x,m,p]),A(h,"shebang",d.SHEBANG()),A(h,"use_strict",b);const R=h.contains.find(O=>O.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return La=c,La}var Ia,wh;function b$e(){if(wh)return Ia;wh=1;function t(e){const n=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,l=/\d{1,2}(:\d{1,2}){1,2}/,c={className:"literal",variants:[{begin:n.concat(/# */,n.either(i,r),/ *#/)},{begin:n.concat(/# */,l,/ *#/)},{begin:n.concat(/# */,a,/ *#/)},{begin:n.concat(/# */,n.either(i,r),/ +/,n.either(a,l),/ *#/)}]},d={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),g=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,o,c,d,h,f,g,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[g]}]}}return Ia=t,Ia}var Pa,xh;function y$e(){if(xh)return Pa;xh=1;function t(e){e.regex;const n=e.COMMENT(/\(;/,/;\)/);n.contains.push("self");const s=e.COMMENT(/;;/,/$/),o=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},i={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},l={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},c={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},d={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:o},contains:[s,n,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},i,a,r,e.QUOTE_STRING_MODE,c,d,l]}}return Pa=t,Pa}var Oe=FBe;Oe.registerLanguage("xml",BBe());Oe.registerLanguage("bash",$Be());Oe.registerLanguage("c",jBe());Oe.registerLanguage("cpp",zBe());Oe.registerLanguage("csharp",UBe());Oe.registerLanguage("css",qBe());Oe.registerLanguage("markdown",HBe());Oe.registerLanguage("diff",VBe());Oe.registerLanguage("ruby",GBe());Oe.registerLanguage("go",KBe());Oe.registerLanguage("graphql",WBe());Oe.registerLanguage("ini",ZBe());Oe.registerLanguage("java",YBe());Oe.registerLanguage("javascript",QBe());Oe.registerLanguage("json",JBe());Oe.registerLanguage("kotlin",XBe());Oe.registerLanguage("less",e$e());Oe.registerLanguage("lua",t$e());Oe.registerLanguage("makefile",n$e());Oe.registerLanguage("perl",s$e());Oe.registerLanguage("objectivec",o$e());Oe.registerLanguage("php",r$e());Oe.registerLanguage("php-template",i$e());Oe.registerLanguage("plaintext",a$e());Oe.registerLanguage("python",l$e());Oe.registerLanguage("python-repl",c$e());Oe.registerLanguage("r",u$e());Oe.registerLanguage("rust",d$e());Oe.registerLanguage("scss",h$e());Oe.registerLanguage("shell",f$e());Oe.registerLanguage("sql",p$e());Oe.registerLanguage("swift",g$e());Oe.registerLanguage("yaml",m$e());Oe.registerLanguage("typescript",_$e());Oe.registerLanguage("vbnet",b$e());Oe.registerLanguage("wasm",y$e());Oe.HighlightJS=Oe;Oe.default=Oe;var v$e=Oe;const lo=is(v$e);var Nn={};Nn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",d="",h=!0,f=!1;for(let g=e+n.leftDelimiter.length;g<t.length;g++){if(t.slice(g,g+n.rightDelimiter.length)===n.rightDelimiter){c!==""&&l.push([c,d]);break}const m=t.charAt(g);if(m===r&&h){h=!1;continue}if(m===i&&c===""){t.charAt(g+1)===i?(c="css-module",g+=1):c="class",h=!1;continue}if(m===a&&c===""){c="id",h=!1;continue}if(m==='"'&&d===""&&!f){f=!0;continue}if(m==='"'&&f){f=!1;continue}if(m===o&&!f){if(c==="")continue;l.push([c,d]),c="",d="",h=!0;continue}if(!(h&&m.search(s)===-1)){if(h){c+=m;continue}d+=m}}if(n.allowedAttributes&&n.allowedAttributes.length){const g=n.allowedAttributes;return l.filter(function(m){const p=m[0];function b(_){return p===_||_ instanceof RegExp&&_.test(p)}return g.some(b)})}return l};Nn.addAttrs=function(t,e){for(let n=0,s=t.length;n<s;++n){const o=t[n][0];o==="class"?e.attrJoin("class",t[n][1]):o==="css-module"?e.attrJoin("css-module",t[n][1]):e.attrPush(t[n])}return e};Nn.hasDelimiters=function(t,e){if(!t)throw new Error('Parameter `where` not passed. Should be "start", "end" or "only".');return function(n){const s=e.leftDelimiter.length+1+e.rightDelimiter.length;if(!n||typeof n!="string"||n.length<s)return!1;function o(d){const h=d.charAt(e.leftDelimiter.length)===".",f=d.charAt(e.leftDelimiter.length)==="#";return h||f?d.length>=s+1:d.length>=s}let r,i,a,l;const c=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,c),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+c),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};Nn.removeDelimiter=function(t,e){const n=pl(e.leftDelimiter),s=pl(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function pl(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Nn.escapeRegExp=pl;Nn.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const w$e=/[&<>"]/,x$e=/[&<>"]/g,k$e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function E$e(t){return k$e[t]}Nn.escapeHtml=function(t){return w$e.test(t)?t.replace(x$e,E$e):t};const Ne=Nn;var C$e=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ne.escapeRegExp(t.leftDelimiter)+"[^"+Ne.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ne.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Ne.getAttrs(o.info,r,t);Ne.addAttrs(i,o),o.info=Ne.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Ne.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Ne.getAttrs(r.content,0,t);Ne.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Ne.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Ne.getMatchingOpeningToken(n,s),i=Ne.getAttrs(o.content,0,t);Ne.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Ne.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,0,t),l=Ne.getMatchingOpeningToken(n[s].children,o-1);Ne.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Ne.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Ne.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Ne.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Ne.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Ne.getAttrs(r,0,t),a=Ne.getMatchingOpeningToken(n,s);Ne.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Ne.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Ne.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=kh(l)!==" "?l:l.slice(0,-1)}},{name:`
{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Ne.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Ne.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Ne.getMatchingOpeningToken(n,a);Ne.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Ne.getAttrs(r,i,t);Ne.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ne.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Ne.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Ne.getMatchingOpeningToken(n,l);Ne.addAttrs(a,c);const d=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=kh(d)!==" "?d:d.slice(0,-1)}}]};function kh(t){return t.slice(-1)[0]}const A$e=C$e,S$e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var T$e=function(e,n){let s=Object.assign({},S$e);s=Object.assign(s,n);const o=A$e(s);function r(i){const a=i.tokens;for(let l=0;l<a.length;l++)for(let c=0;c<o.length;c++){const d=o[c];let h=null;d.tests.every(g=>{const m=gl(a,l,g);return m.j!==null&&(h=m.j),m.match})&&(d.transform(a,l,h),(d.name==="inline attributes"||d.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function gl(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=R$e(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&M$e(n.children)){if(r.children.length===0)return s;let a;const l=n.children,c=r.children;if(l.every(d=>d.position!==void 0)){if(a=l.every(d=>gl(c,d.position,d).match),a){const d=N$e(l).position;s.j=d>=0?d:c.length+d}}else for(let d=0;d<c.length;d++)if(a=l.every(h=>gl(c,d,h).match),a){s.j=d;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(O$e(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function M$e(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function O$e(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function R$e(t,e){return e>=0?t[e]:t[t.length+e]}function N$e(t){return t.slice(-1)[0]||{}}const D$e=is(T$e);function L$e(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Mo=new Ffe("commonmark",{html:!0,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=L$e();if(e&&lo.getLanguage(e))try{const o=lo.highlight(e,t).value;return'<div class="bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm">'+e+'<button class="px-2 py-1 ml-10 mb-2 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 text-white text-xs transition-colors duration-200"><span class="mr-1" id="copy-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copy</span><span class="hidden text-xs text-green-500" id="copyed-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copied!</span></button><pre class="hljs p-1 rounded-md break-all grid grid-cols-1"><code id="code_'+n+'" class="overflow-x-auto break-all 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">'+o+"</code></pre></div>"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'<div class="bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm">'+e+'<button class="px-2 py-1 ml-10 mb-2 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 text-white text-xs transition-colors duration-200"><span class="mr-1" id="copy-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copy</span><span class="hidden text-xs text-green-500" id="copyed-btn_'+n+'" onclick="copyContentToClipboard('+n+')">Copied!</span></button><pre class="hljs p-1 rounded-md break-all grid grid-cols-1"><code id="code_'+n+'" class="overflow-x-auto break-all 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">'+lo.highlightAuto(t).value+"</code></pre></div>"},bulletListMarker:"•"}).use(D$e).use(gs).use(HFe).use(zFe);lo.configure({languages:[]});lo.configure({languages:["javascript"]});Mo.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const $g=(t,e,n,s,o)=>{const i=t[e].attrGet("type")||"ul";return i==="ul"?'<ul class="list-disc ml-4">'+o.renderToken(t,e,n)+"</ul>":i==="ol"?'<ol class="list-decimal ml-4">'+o.renderToken(t,e,n)+"</ol>":o.renderToken(t,e,n)};Mo.renderer.rules.bullet_list_open=$g;Mo.renderer.rules.ordered_list_open=$g;const I$e={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=`
// Your inline script code here
function copyContentToClipboard(id) {
console.log("copied");
const codeElement = document.getElementById('code_' + id);
const copybtnElement = document.getElementById('copy-btn_' + id);
const copyedbtnElement = document.getElementById('copyed-btn_' + id);
copybtnElement.classList.add('hidden');
copyedbtnElement.classList.remove('hidden');
const range = document.createRange();
range.selectNode(codeElement);
window.getSelection().removeAllRanges();
window.getSelection().addRange(range);
document.execCommand('copy');
window.getSelection().removeAllRanges();
}
`,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Mo.render(this.markdownText),_e(()=>{ye.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Mo.render(t),_e(()=>{ye.replace()})}}},P$e={class:"break-all"},F$e=["innerHTML"];function B$e(t,e,n,s,o,r){return C(),S("div",P$e,[u("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,F$e)])}const $$e=Ve(I$e,[["render",B$e]]),j$e={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0}}},z$e={class:"step flex items-center mb-4"},U$e={class:"flex items-center justify-center w-6 h-6 mr-2"},q$e={key:0},H$e=u("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),V$e=[H$e],G$e={key:1},K$e=u("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),W$e=[K$e],Z$e={key:0,role:"status"},Y$e=u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),Q$e=[Y$e];function J$e(t,e,n,s,o,r){return C(),S("div",z$e,[u("div",U$e,[n.done?B("",!0):(C(),S("div",q$e,V$e)),n.done?(C(),S("div",G$e,W$e)):B("",!0)]),n.done?B("",!0):(C(),S("div",Z$e,Q$e)),u("div",{class:Te(["content flex-1 px-2",{"text-green-500":n.done,"text-yellow-500":!n.done}])},V(n.message),3)])}const X$e=Ve(j$e,[["render",J$e]]);const eje="/",tje={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:$$e,Step:X$e},props:{message:Object,avatar:""},data(){return{msg:null,isVoiceActive:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){"speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0&&this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged)):console.error("Speech synthesis is not supported in this browser."),_e(()=>{ye.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isVoiceActive=!1;return}let t=0;console.log("voice on"),this.isVoiceActive=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.voices.length>0&&(this.msg.voice=this.voices.filter(o=>o.name===this.$store.state.config.audio_out_voice)[0]);const n=o=>{let r=this.message.content.substring(o,o+e);const i=[".","!","?"];let a=-1;return i.forEach(l=>{const c=r.lastIndexOf(l);c>a&&(a=c)}),a+o},s=()=>{const o=n(t),r=this.message.content.substring(t,o);this.msg.text=r,t=o+1,this.msg.onend=i=>{t<this.message.content.length-2?setTimeout(()=>{s()},1):(this.isVoiceActive=!1,console.log("voice off :",this.message.content.length," ",o))},this.speechSynthesis.speak(this.msg)};s()},toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.message.content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.message.content)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?eje+this.avatar:Jn},defaultImg(t){t.target.src=Jn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{"message.content":function(t){this.$store.state.config.auto_speak&&(this.isVoiceActive||this.checkForFullSentence())},showConfirmation(){_e(()=>{ye.replace()})},editMsgMode(t){_e(()=>{ye.replace()})},deleteMsgMode(){_e(()=>{ye.replace()})}},computed:{isTalking:{get(){return this.isVoiceActive}},created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},nje={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"},sje={class:"flex flex-row gap-2"},oje={class:"flex-shrink-0"},rje={class:"group/avatar"},ije=["src","data-popover-target"],aje={class:"flex flex-col w-full flex-grow-0"},lje={class:"flex flex-row flex-grow items-start"},cje={class:"flex flex-col mb-2"},uje={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},dje=["title"],hje=u("div",{class:"flex-grow"},null,-1),fje={class:"flex-row justify-end mx-2"},pje={class:"invisible group-hover:visible flex flex-row"},gje={key:0,class:"flex items-center duration-75"},mje=u("i",{"data-feather":"x"},null,-1),_je=[mje],bje=u("i",{"data-feather":"check"},null,-1),yje=[bje],vje=u("i",{"data-feather":"edit"},null,-1),wje=[vje],xje=u("i",{"data-feather":"copy"},null,-1),kje=[xje],Eje=u("i",{"data-feather":"refresh-cw"},null,-1),Cje=[Eje],Aje=u("i",{"data-feather":"fast-forward"},null,-1),Sje=[Aje],Tje={key:4,class:"flex items-center duration-75"},Mje=u("i",{"data-feather":"x"},null,-1),Oje=[Mje],Rje=u("i",{"data-feather":"check"},null,-1),Nje=[Rje],Dje=u("i",{"data-feather":"trash"},null,-1),Lje=[Dje],Ije=u("i",{"data-feather":"thumbs-up"},null,-1),Pje=[Ije],Fje={class:"flex flex-row items-center"},Bje=u("i",{"data-feather":"thumbs-down"},null,-1),$je=[Bje],jje={class:"flex flex-row items-center"},zje=u("i",{"data-feather":"volume-2"},null,-1),Uje=[zje],qje={class:"overflow-x-auto w-full"},Hje={class:"flex flex-col items-start w-full"},Vje={class:"text-sm text-gray-400 mt-2"},Gje={class:"flex flex-row items-center gap-2"},Kje={key:0},Wje={class:"font-thin"},Zje={key:1},Yje={class:"font-thin"},Qje={key:2},Jje={class:"font-thin"},Xje={key:3},eze=["title"];function tze(t,e,n,s,o,r){const i=nt("Step"),a=nt("MarkdownRenderer");return C(),S("div",nje,[u("div",sje,[u("div",oje,[u("div",rje,[u("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=l=>r.defaultImg(l)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,ije)])]),u("div",aje,[u("div",lje,[u("div",cje,[u("div",uje,V(n.message.sender)+" ",1),n.message.created_at?(C(),S("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},V(r.created_at),9,dje)):B("",!0)]),hje,u("div",fje,[u("div",pje,[o.editMsgMode?(C(),S("div",gje,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=ae(l=>o.editMsgMode=!1,["stop"]))},_je),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=ae((...l)=>r.updateMessage&&r.updateMessage(...l),["stop"]))},yje)])):B("",!0),o.editMsgMode?B("",!0):(C(),S("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=ae(l=>o.editMsgMode=!0,["stop"]))},wje)),u("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=ae(l=>r.copyContentToClipboard(),["stop"]))},kje),n.message.sender!=this.$store.state.mountedPers.name?(C(),S("div",{key:2,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=ae(l=>r.resendMessage(),["stop"]))},Cje)):B("",!0),n.message.sender==this.$store.state.mountedPers.name?(C(),S("div",{key:3,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[6]||(e[6]=ae(l=>r.continueMessage(),["stop"]))},Sje)):B("",!0),o.deleteMsgMode?(C(),S("div",Tje,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[7]||(e[7]=ae(l=>o.deleteMsgMode=!1,["stop"]))},Oje),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[8]||(e[8]=ae(l=>r.deleteMsg(),["stop"]))},Nje)])):B("",!0),o.deleteMsgMode?B("",!0):(C(),S("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[9]||(e[9]=l=>o.deleteMsgMode=!0)},Lje)),u("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[10]||(e[10]=ae(l=>r.rankUp(),["stop"]))},Pje),u("div",Fje,[u("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[11]||(e[11]=ae(l=>r.rankDown(),["stop"]))},$je),n.message.rank!=0?(C(),S("div",{key:0,class:Te(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},V(n.message.rank),3)):B("",!0)]),u("div",jje,[u("div",{class:Te(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[12]||(e[12]=ae(l=>r.speak(),["stop"]))},Uje,2)])])])]),u("div",qje,[u("div",Hje,[(C(!0),S(Re,null,Ke(n.message.steps,(l,c)=>(C(),S("div",{key:"step-"+n.message.id+"-"+c,class:"step font-bold",style:zt({backgroundColor:l.done?"transparent":"inherit"})},[ve(i,{done:l.done,message:l.message},null,8,["done","message"])],4))),128))]),o.editMsgMode?B("",!0):(C(),st(a,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?me((C(),S("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",style:zt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[13]||(e[13]=l=>this.message.content=l)},null,4)),[[Pe,this.message.content]]):B("",!0)]),u("div",Vje,[u("div",Gje,[n.message.binding?(C(),S("p",Kje,[xe("Binding: "),u("span",Wje,V(n.message.binding),1)])):B("",!0),n.message.model?(C(),S("p",Zje,[xe("Model: "),u("span",Yje,V(n.message.model),1)])):B("",!0),n.message.seed?(C(),S("p",Qje,[xe("Seed: "),u("span",Jje,V(n.message.seed),1)])):B("",!0),r.time_spent?(C(),S("p",Xje,[xe("Time spent: "),u("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},V(r.time_spent),9,eze)])):B("",!0)])])])])])}const jg=Ve(tje,[["render",tze]]),nze="/";Se.defaults.baseURL="/";const sze={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},data(){return{bUrl:nze,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){for(_e(()=>{ye.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn}}},oze={class:"w-fit select-none"},rze={key:0,class:"flex -space-x-4"},ize=["src","title"],aze={key:1,class:"flex -space-x-4"},lze=["src","title"],cze={key:2,title:"Loading personalities"},uze=u("div",{role:"status"},[u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1),dze=[uze];function hze(t,e,n,s,o,r){return C(),S("div",oze,[r.mountedPersArr.length>1?(C(),S("div",rze,[u("img",{src:o.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+r.mountedPers.name},null,40,ize),u("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[1]||(e[1]=ae((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+V(r.mountedPersArr.length-1),1)])):B("",!0),r.mountedPersArr.length==1?(C(),S("div",aze,[u("img",{src:o.bUrl+this.$store.state.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+this.$store.state.mountedPers.name,onClick:e[3]||(e[3]=ae((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,lze)])):B("",!0),r.mountedPersArr.length==0?(C(),S("div",cze,dze)):B("",!0)])}const fze=Ve(sze,[["render",hze]]);const pze="/";Se.defaults.baseURL="/";const gze={props:{onTalk:Function,onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Bp,Toast:ai,UniversalForm:tg},name:"MountedPersonalitiesList",data(){return{bUrl:pze,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){this.onMountUnmount(this)},async constructor(){},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=Jn},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,Se.post("/reinstall_personality",{name:t.personality.full_path}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$refs.toast.showToast("Personality reinstalled successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall personality
`+e.message,4,!1),{status:!1}))},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async handleOnTalk(t){if(ye.replace(),console.log("ppa",t),t){if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality:
`+t.name,4,!0))}else this.onPersonalityMounted(t);this.onTalk(t)}},async onPersonalitySelected(t){if(ye.replace(),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality:
`+t.name,4,!0))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Se.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{Se.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 Se.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 Se.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 Se.post("/select_personality",n);if(s)return this.toggleMountUnmount(),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),s.data}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality:
`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality
Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality:
`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality
Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;e<this.configFile.personalities.length;e++){const n=this.configFile.personalities[e],s=this.personalities.findIndex(r=>r.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;e<this.discussionPersonalities.length;e++){const n=this.discussionPersonalities[e];console.log("discussionPersonalities - per",n);const s=this.mountedPersArr.findIndex(o=>o.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)}}},bc=t=>(ns("data-v-e36401c9"),t=t(),ss(),t),mze={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"},_ze={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},bze=bc(()=>u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),yze=bc(()=>u("span",{class:"sr-only"},"Loading...",-1)),vze=[bze,yze],wze=bc(()=>u("i",{"data-feather":"chevron-down"},null,-1)),xze=[wze],kze={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},Eze={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function Cze(t,e,n,s,o,r){const i=nt("personality-entry"),a=nt("Toast"),l=nt("UniversalForm");return C(),S("div",mze,[o.isLoading?(C(),S("div",_ze,vze)):B("",!0),u("div",null,[r.mountedPersArr.length>0?(C(),S("div",{key:0,class:Te(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[u("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=ae((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},xze),u("label",kze," Mounted Personalities: ("+V(r.mountedPersArr.length)+") ",1),u("div",Eze,[ve(Ut,{name:"bounce"},{default:We(()=>[(C(!0),S(Re,null,Ke(this.$store.state.mountedPersArr,(c,d)=>(C(),st(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+d+"-"+c.name,personality:c,full_path:c.full_path,selected:r.configFile.personalities[r.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings","on-reinstall","on-talk"]))),128))]),_:1})])],2)):B("",!0)]),ve(a,{ref:"toast"},null,512),ve(l,{ref:"universalForm",class:"z-20"},null,512)])}const Aze=Ve(gze,[["render",Cze],["__scopeId","data-v-e36401c9"]]);const Sze={props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){nextTick(()=>{ye.replace()})},methods:{selectFile(t){const e=document.createElement("input");e.type="file",e.accept="application/pdf",e.onchange=n=>{this.selectedFile=n.target.files[0],console.log("File selected"),t()},e.click()},uploadFile(){const t=new FormData;t.append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0,Se.post("/send_file",t).then(e=>{this.loading=!1,console.log(e.data),this.onShowToastMessage("File uploaded successfully")}).catch(e=>{console.error(e)})},async constructor(){nextTick(()=>{ye.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},mounted(){this.commands=this.commandsList,document.addEventListener("click",this.handleClickOutside)},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},zg=t=>(ns("data-v-cc26f52a"),t=t(),ss(),t),Tze={class:"menu relative"},Mze={class:"commands-menu-items-wrapper"},Oze=zg(()=>u("i",{"data-feather":"command",class:"w-5 h-5"},null,-1)),Rze=[Oze],Nze={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},Dze=zg(()=>u("div",{role:"status"},[u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1)),Lze=[Dze],Ize={key:1,id:"commands-menu-items",class:"absolute left-0 mt-4 bg-white border border-gray-300 z-10 w-48 overflow-y-auto custom-scrollbar",style:{top:"-200px",maxHeight:"200px"}},Pze=["onClick","title","onMouseover"],Fze={class:"flex items-center"},Bze=["src"],$ze={class:"flex-grow"};function jze(t,e,n,s,o,r){return C(),S("div",Tze,[u("div",Mze,[u("button",{id:"commands-menu",onClick:e[0]||(e[0]=ae((...i)=>r.toggleMenu&&r.toggleMenu(...i),["prevent"])),class:"menu-button bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded-full flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer"},Rze),o.loading?(C(),S("div",Nze,Lze)):B("",!0),o.showMenu?(C(),S("div",Ize,[(C(!0),S(Re,null,Ke(o.commands,i=>(C(),S("button",{key:i.value,onClick:ae(a=>r.execute_cmd(i),["prevent"]),class:Te(["menu-button py-2 px-4 w-full text-left cursor-pointer bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 hover:bg-blue-400",{"bg-blue-400 text-white":t.hoveredCommand===i.value}]),title:i.help,onMouseover:a=>t.hoveredCommand=i.value,onMouseout:e[1]||(e[1]=a=>t.hoveredCommand=null)},[u("div",Fze,[i.icon?(C(),S("img",{key:0,src:i.icon,alt:"Command Icon",class:"w-4 h-4 mr-2",style:{width:"25px",height:"25px"}},null,8,Bze)):B("",!0),u("div",$ze,V(i.name),1)])],42,Pze))),128))])):B("",!0)])])}const zze=Ve(Sze,[["render",jze],["__scopeId","data-v-cc26f52a"]]);const Uze={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{onTalk:Function,discussionList:Array,loading:!1,onShowToastMessage:Function},components:{MountedPersonalities:fze,MountedPersonalitiesList:Aze,PersonalitiesCommands:zze},setup(){},data(){return{message:"",isVoiceActive:!1,fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1,personalities_ready:!1}},computed:{config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e<this.discussionList.length;e++)!t.includes(this.discussionList[e].personality)&&!this.discussionList[e].personality==""&&t.push(this.discussionList[e].personality);return console.log("conputer pers",t),console.log("dis conputer pers",this.discussionList),t}}},methods:{startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isVoiceActive=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n<t.results.length;n++)e+=t.results[n][0].transcript;this.message=e,clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isVoiceActive=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isVoiceActive=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(t){this.showPersonalities=!this.showPersonalities},handleOnTalk(t){this.showPersonalities=!1,this.onTalk(t)},onMountUnmountFun(t){console.log("Mounting/unmounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(t){return _e(()=>{ye.replace()}),Ht(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){_e(()=>{ye.replace()})},loading(t,e){_e(()=>{ye.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s<t.length;s++)n=n+parseInt(t[s].size);this.totalSize=Ht(n,!0)},deep:!0},discussionList(t){console.log("discussion arr",t)}},mounted(){console.log("mnted all chat",this.allDiscussionPersonalities),_e(()=>{ye.replace()})},activated(){_e(()=>{ye.replace()})}},_t=t=>(ns("data-v-82038241"),t=t(),ss(),t),qze={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},Hze={key:0,class:"flex items-center justify-center w-full"},Vze={class:"flex flex-row p-2 rounded-t-lg"},Gze=_t(()=>u("label",{for:"chat",class:"sr-only"},"Send message",-1)),Kze={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},Wze={class:"flex flex-col gap-2"},Zze={class:"flex"},Yze=["title"],Qze=_t(()=>u("i",{"data-feather":"list"},null,-1)),Jze=[Qze],Xze=["title"],eUe=_t(()=>u("i",{"data-feather":"send"},null,-1)),tUe=[eUe],nUe={key:0},sUe={key:0,class:"flex flex-col max-h-64"},oUe=["title"],rUe={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"},iUe=_t(()=>u("div",null,[u("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),aUe={class:"line-clamp-1 w-3/5"},lUe=_t(()=>u("div",{class:"grow"},null,-1)),cUe={class:"flex flex-row items-center"},uUe={class:"whitespace-nowrap"},dUe=["onClick"],hUe=_t(()=>u("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),fUe=[hUe],pUe={key:1,class:"flex items-center mx-1"},gUe={class:"whitespace-nowrap flex flex-row gap-2"},mUe=_t(()=>u("p",{class:"font-bold"}," Total size: ",-1)),_Ue=_t(()=>u("div",{class:"grow"},null,-1)),bUe=_t(()=>u("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),yUe=[bUe],vUe={key:2,class:"mx-1"},wUe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},xUe={class:"w-fit"},kUe={class:"w-fit"},EUe={class:"relative grow"},CUe=_t(()=>u("i",{"data-feather":"file-plus"},null,-1)),AUe=[CUe],SUe={class:"inline-flex justify-center rounded-full"},TUe=_t(()=>u("i",{"data-feather":"mic"},null,-1)),MUe=[TUe],OUe=_t(()=>u("i",{"data-feather":"send"},null,-1)),RUe=_t(()=>u("span",{class:"sr-only"},"Send message",-1)),NUe=[OUe,RUe],DUe={key:1,title:"Waiting for reply"},LUe=_t(()=>u("div",{role:"status"},[u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1)),IUe=[LUe];function PUe(t,e,n,s,o,r){const i=nt("MountedPersonalitiesList"),a=nt("MountedPersonalities"),l=nt("PersonalitiesCommands");return C(),S("div",qze,[n.loading?(C(),S("div",Hze,[u("div",Vze,[u("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=ae((...c)=>r.stopGenerating&&r.stopGenerating(...c),["stop"]))}," Stop generating ")])])):B("",!0),u("form",null,[Gze,u("div",Kze,[u("div",Wze,[u("div",Zze,[o.fileList.length>0?(C(),S("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=ae(c=>o.showFileList=!o.showFileList,["stop"]))},Jze,8,Yze)):B("",!0),o.fileList.length>0?(C(),S("button",{key:1,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[2]||(e[2]=ae((...c)=>t.send_files&&t.send_files(...c),["stop"]))},tUe,8,Xze)):B("",!0)]),o.fileList.length>0&&o.showFileList==!0?(C(),S("div",nUe,[o.fileList.length>0?(C(),S("div",sUe,[ve(Ut,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:We(()=>[(C(!0),S(Re,null,Ke(o.fileList,(c,d)=>(C(),S("div",{key:d+"-"+c.name},[u("div",{class:"m-1",title:c.name},[u("div",rUe,[iUe,u("div",aUe,V(c.name),1),lUe,u("div",cUe,[u("p",uUe,V(r.computedFileSize(c.size)),1),u("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:h=>r.removeItem(c)},fUe,8,dUe)])])],8,oUe)]))),128))]),_:1})])):B("",!0)])):B("",!0),o.fileList.length>0?(C(),S("div",pUe,[u("div",gUe,[mUe,xe(" "+V(o.totalSize)+" ("+V(o.fileList.length)+") ",1)]),_Ue,u("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[3]||(e[3]=c=>o.fileList=[])},yUe)])):B("",!0),o.showPersonalities?(C(),S("div",vUe,[ve(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","on-talk","discussionPersonalities"])])):B("",!0),u("div",wUe,[u("div",xUe,[ve(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])]),u("div",kUe,[o.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(C(),st(l,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendMessageEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):B("",!0)]),u("div",EUe,[me(u("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[4]||(e[4]=c=>o.message=c),title:"Hold SHIFT + ENTER to add new line",class:"inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:e[5]||(e[5]=Ya(ae(c=>r.submitOnEnter(c),["exact"]),["enter"]))},`\r
\r
\r
`,544),[[Pe,o.message]]),u("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[6]||(e[6]=(...c)=>r.addFiles&&r.addFiles(...c)),multiple:""},null,544),u("button",{type:"button",onClick:e[7]||(e[7]=ae(c=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},AUe)]),u("div",SUe,[u("button",{type:"button",onClick:e[8]||(e[8]=(...c)=>r.startSpeechRecognition&&r.startSpeechRecognition(...c)),class:Te([{"text-red-500":o.isVoiceActive},"w-6 hover:text-secondary duration-75 active:scale-90 cursor-pointer"])},MUe,2),n.loading?B("",!0):(C(),S("button",{key:0,type:"button",onClick:e[9]||(e[9]=(...c)=>r.submit&&r.submit(...c)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},NUe)),n.loading?(C(),S("div",DUe,IUe)):B("",!0)])])])])])])}const Ug=Ve(Uze,[["render",PUe],["__scopeId","data-v-82038241"]]),FUe={name:"WelcomeComponent",setup(){return{}}},BUe={class:"flex flex-col text-center"},$Ue=os('<div class="flex flex-col text-center items-center"><div class="flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"><img class="w-24 animate-bounce" title="LoLLMS WebUI" src="'+tc+'" alt="Logo"><div class="flex flex-col items-start"><p class="text-2xl">Lord of Large Language Models</p><p class="text-gray-400 text-base">One tool to rule them all</p></div></div><hr class="mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"><p class="text-2xl">Welcome</p><p class="text-lg">Please create a new discussion or select existing one to start</p></div>',1),jUe=[$Ue];function zUe(t,e,n,s,o,r){return C(),S("div",BUe,jUe)}const qg=Ve(FUe,[["render",zUe]]);const UUe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){_e(()=>{ye.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),_e(()=>{ye.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,_e(()=>{ye.replace()})}}},qUe={class:"text-4xl text-center"};function HUe(t,e,n,s,o,r){return C(),st(Ut,{name:"list",tag:"div"},{default:We(()=>[o.show?(C(),S("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=ae(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=ae(i=>r.panelDrop(i),["stop","prevent"]))},[u("div",{class:Te(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[u("div",qUe,[kf(t.$slots,"default",{},()=>[xe(" Drop your files here ")])])],2)],32)):B("",!0)]),_:3})}const ml=Ve(UUe,[["render",HUe]]);var VUe=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}(),Or=globalThis&&globalThis.__assign||function(){return Or=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Or.apply(this,arguments)},Rr={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},Hg=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=Rr),this._items=e,this._options=Or(Or({},Rr),n),this._init()}return t.prototype._init=function(){var e=this;this._items.length&&this._items.map(function(n){n.active&&e.open(n.id),n.triggerEl.addEventListener("click",function(){e.toggle(n.id)})})},t.prototype.getItem=function(e){return this._items.filter(function(n){return n.id===e})[0]},t.prototype.open=function(e){var n,s,o=this,r=this.getItem(e);this._options.alwaysOpen||this._items.map(function(i){var a,l;i!==r&&((a=i.triggerEl.classList).remove.apply(a,o._options.activeClasses.split(" ")),(l=i.triggerEl.classList).add.apply(l,o._options.inactiveClasses.split(" ")),i.targetEl.classList.add("hidden"),i.triggerEl.setAttribute("aria-expanded","false"),i.active=!1,i.iconEl&&i.iconEl.classList.remove("rotate-180"))}),(n=r.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(s=r.triggerEl.classList).remove.apply(s,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-expanded","true"),r.targetEl.classList.remove("hidden"),r.active=!0,r.iconEl&&r.iconEl.classList.add("rotate-180"),this._options.onOpen(this,r)},t.prototype.toggle=function(e){var n=this.getItem(e);n.active?this.close(e):this.open(e),this._options.onToggle(this,n)},t.prototype.close=function(e){var n,s,o=this.getItem(e);(n=o.triggerEl.classList).remove.apply(n,this._options.activeClasses.split(" ")),(s=o.triggerEl.classList).add.apply(s,this._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"),this._options.onClose(this,o)},t}();typeof window<"u"&&(window.Accordion=Hg);function Vg(){document.querySelectorAll("[data-accordion]").forEach(function(t){var e=t.getAttribute("data-accordion"),n=t.getAttribute("data-active-classes"),s=t.getAttribute("data-inactive-classes"),o=[];t.querySelectorAll("[data-accordion-target]").forEach(function(r){var i={id:r.getAttribute("data-accordion-target"),triggerEl:r,targetEl:document.querySelector(r.getAttribute("data-accordion-target")),iconEl:r.querySelector("[data-accordion-icon]"),active:r.getAttribute("aria-expanded")==="true"};o.push(i)}),new Hg(o,{alwaysOpen:e==="open",activeClasses:n||Rr.activeClasses,inactiveClasses:s||Rr.inactiveClasses})})}var Nr=globalThis&&globalThis.__assign||function(){return Nr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Nr.apply(this,arguments)},Eh={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},Gg=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Eh),this._targetEl=e,this._triggerEl=n,this._options=Nr(Nr({},Eh),s),this._visible=!1,this._init()}return t.prototype._init=function(){var e=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){e.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();typeof window<"u"&&(window.Collapse=Gg);function Kg(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var e=t.getAttribute("data-collapse-toggle"),n=document.getElementById(e);n?new Gg(n,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var Un=globalThis&&globalThis.__assign||function(){return Un=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Un.apply(this,arguments)},gr={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},Wg=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=gr),this._items=e,this._options=Un(Un(Un({},gr),n),{indicators:Un(Un({},gr.indicators),n.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var e=this;this._items.map(function(n){n.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(n,s){n.el.addEventListener("click",function(){e.slideTo(s)})})},t.prototype.getItem=function(e){return this._items[e]},t.prototype.slideTo=function(e){var n=this._items[e],s={left:n.position===0?this._items[this._items.length-1]:this._items[n.position-1],middle:n,right:n.position===this._items.length-1?this._items[0]:this._items[n.position+1]};this._rotate(s),this._setActiveItem(n),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var e=this._getActiveItem(),n=null;e.position===this._items.length-1?n=this._items[0]:n=this._items[e.position+1],this.slideTo(n.position),this._options.onNext(this)},t.prototype.prev=function(){var e=this._getActiveItem(),n=null;e.position===0?n=this._items[this._items.length-1]:n=this._items[e.position-1],this.slideTo(n.position),this._options.onPrev(this)},t.prototype._rotate=function(e){this._items.map(function(n){n.el.classList.add("hidden")}),e.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.left.el.classList.add("-translate-x-full","z-10"),e.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),e.middle.el.classList.add("translate-x-0","z-20"),e.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),e.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var e=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){e.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(e){var n,s,o=this;this._activeItem=e;var r=e.position;this._indicators.length&&(this._indicators.map(function(i){var a,l;i.el.setAttribute("aria-current","false"),(a=i.el.classList).remove.apply(a,o._options.indicators.activeClasses.split(" ")),(l=i.el.classList).add.apply(l,o._options.indicators.inactiveClasses.split(" "))}),(n=this._indicators[r].el.classList).add.apply(n,this._options.indicators.activeClasses.split(" ")),(s=this._indicators[r].el.classList).remove.apply(s,this._options.indicators.inactiveClasses.split(" ")),this._indicators[r].el.setAttribute("aria-current","true"))},t}();typeof window<"u"&&(window.Carousel=Wg);function Zg(){document.querySelectorAll("[data-carousel]").forEach(function(t){var e=t.getAttribute("data-carousel-interval"),n=t.getAttribute("data-carousel")==="slide",s=[],o=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(c,d){s.push({position:d,el:c}),c.getAttribute("data-carousel-item")==="active"&&(o=d)});var r=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(c){r.push({position:parseInt(c.getAttribute("data-carousel-slide-to")),el:c})});var i=new Wg(s,{defaultPosition:o,indicators:{items:r},interval:e||gr.interval});n&&i.cycle();var a=t.querySelector("[data-carousel-next]"),l=t.querySelector("[data-carousel-prev]");a&&a.addEventListener("click",function(){i.next()}),l&&l.addEventListener("click",function(){i.prev()})})}var Dr=globalThis&&globalThis.__assign||function(){return Dr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Dr.apply(this,arguments)},Ch={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Yg=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Ch),this._targetEl=e,this._triggerEl=n,this._options=Dr(Dr({},Ch),s),this._init()}return t.prototype._init=function(){var e=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){e.hide()})},t.prototype.hide=function(){var e=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){e._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();typeof window<"u"&&(window.Dismiss=Yg);function Qg(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var e=t.getAttribute("data-dismiss-target"),n=document.querySelector(e);n?new Yg(n,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))})}var ft="top",Mt="bottom",Ot="right",pt="left",yc="auto",Bo=[ft,Mt,Ot,pt],Ds="start",Oo="end",GUe="clippingParents",Jg="viewport",Xs="popper",KUe="reference",Ah=Bo.reduce(function(t,e){return t.concat([e+"-"+Ds,e+"-"+Oo])},[]),Xg=[].concat(Bo,[yc]).reduce(function(t,e){return t.concat([e,e+"-"+Ds,e+"-"+Oo])},[]),WUe="beforeRead",ZUe="read",YUe="afterRead",QUe="beforeMain",JUe="main",XUe="afterMain",eqe="beforeWrite",tqe="write",nqe="afterWrite",sqe=[WUe,ZUe,YUe,QUe,JUe,XUe,eqe,tqe,nqe];function Qt(t){return t?(t.nodeName||"").toLowerCase():null}function yt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function es(t){var e=yt(t).Element;return t instanceof e||t instanceof Element}function St(t){var e=yt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function vc(t){if(typeof ShadowRoot>"u")return!1;var e=yt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function oqe(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];!St(r)||!Qt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function rqe(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},{});!St(o)||!Qt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const iqe={name:"applyStyles",enabled:!0,phase:"write",fn:oqe,effect:rqe,requires:["computeStyles"]};function Wt(t){return t.split("-")[0]}var Qn=Math.max,Lr=Math.min,Ls=Math.round;function _l(){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 em(){return!/^((?!chrome|android).)*safari/i.test(_l())}function Is(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&St(t)&&(o=t.offsetWidth>0&&Ls(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Ls(s.height)/t.offsetHeight||1);var i=es(t)?yt(t):window,a=i.visualViewport,l=!em()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,d=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:d,right:c+h,bottom:d+f,left:c,x:c,y:d}}function wc(t){var e=Is(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 tm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&vc(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function cn(t){return yt(t).getComputedStyle(t)}function aqe(t){return["table","td","th"].indexOf(Qt(t))>=0}function Dn(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function vi(t){return Qt(t)==="html"?t:t.assignedSlot||t.parentNode||(vc(t)?t.host:null)||Dn(t)}function Sh(t){return!St(t)||cn(t).position==="fixed"?null:t.offsetParent}function lqe(t){var e=/firefox/i.test(_l()),n=/Trident/i.test(_l());if(n&&St(t)){var s=cn(t);if(s.position==="fixed")return null}var o=vi(t);for(vc(o)&&(o=o.host);St(o)&&["html","body"].indexOf(Qt(o))<0;){var r=cn(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function $o(t){for(var e=yt(t),n=Sh(t);n&&aqe(n)&&cn(n).position==="static";)n=Sh(n);return n&&(Qt(n)==="html"||Qt(n)==="body"&&cn(n).position==="static")?e:n||lqe(t)||e}function xc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function co(t,e,n){return Qn(t,Lr(e,n))}function cqe(t,e,n){var s=co(t,e,n);return s>n?n:s}function nm(){return{top:0,right:0,bottom:0,left:0}}function sm(t){return Object.assign({},nm(),t)}function om(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var uqe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,sm(typeof e!="number"?e:om(e,Bo))};function dqe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Wt(n.placement),l=xc(a),c=[pt,Ot].indexOf(a)>=0,d=c?"height":"width";if(!(!r||!i)){var h=uqe(o.padding,n),f=wc(r),g=l==="y"?ft:pt,m=l==="y"?Mt:Ot,p=n.rects.reference[d]+n.rects.reference[l]-i[l]-n.rects.popper[d],b=i[l]-n.rects.reference[l],_=$o(r),y=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,x=p/2-b/2,A=h[g],R=y-f[d]-h[m],O=y/2-f[d]/2+x,D=co(A,O,R),v=l;n.modifiersData[s]=(e={},e[v]=D,e.centerOffset=D-O,e)}}function hqe(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)||tm(e.elements.popper,o)&&(e.elements.arrow=o))}const fqe={name:"arrow",enabled:!0,phase:"main",fn:dqe,effect:hqe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ps(t){return t.split("-")[1]}var pqe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gqe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Ls(n*o)/o||0,y:Ls(s*o)/o||0}}function Th(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,d=t.roundOffsets,h=t.isFixed,f=i.x,g=f===void 0?0:f,m=i.y,p=m===void 0?0:m,b=typeof d=="function"?d({x:g,y:p}):{x:g,y:p};g=b.x,p=b.y;var _=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=pt,A=ft,R=window;if(c){var O=$o(n),D="clientHeight",v="clientWidth";if(O===yt(n)&&(O=Dn(n),cn(O).position!=="static"&&a==="absolute"&&(D="scrollHeight",v="scrollWidth")),O=O,o===ft||(o===pt||o===Ot)&&r===Oo){A=Mt;var k=h&&O===R&&R.visualViewport?R.visualViewport.height:O[D];p-=k-s.height,p*=l?1:-1}if(o===pt||(o===ft||o===Mt)&&r===Oo){x=Ot;var M=h&&O===R&&R.visualViewport?R.visualViewport.width:O[v];g-=M-s.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&pqe),F=d===!0?gqe({x:g,y:p},yt(n)):{x:g,y:p};if(g=F.x,p=F.y,l){var Q;return Object.assign({},L,(Q={},Q[A]=y?"0":"",Q[x]=_?"0":"",Q.transform=(R.devicePixelRatio||1)<=1?"translate("+g+"px, "+p+"px)":"translate3d("+g+"px, "+p+"px, 0)",Q))}return Object.assign({},L,(e={},e[A]=y?p+"px":"",e[x]=_?g+"px":"",e.transform="",e))}function mqe(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Wt(e.placement),variation:Ps(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,Th(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,Th(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 _qe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mqe,data:{}};var Jo={passive:!0};function bqe(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=yt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(d){d.addEventListener("scroll",n.update,Jo)}),a&&l.addEventListener("resize",n.update,Jo),function(){r&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Jo)}),a&&l.removeEventListener("resize",n.update,Jo)}}const yqe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bqe,data:{}};var vqe={left:"right",right:"left",bottom:"top",top:"bottom"};function mr(t){return t.replace(/left|right|bottom|top/g,function(e){return vqe[e]})}var wqe={start:"end",end:"start"};function Mh(t){return t.replace(/start|end/g,function(e){return wqe[e]})}function kc(t){var e=yt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Ec(t){return Is(Dn(t)).left+kc(t).scrollLeft}function xqe(t,e){var n=yt(t),s=Dn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=em();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Ec(t),y:l}}function kqe(t){var e,n=Dn(t),s=kc(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Qn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Qn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Ec(t),l=-s.scrollTop;return cn(o||n).direction==="rtl"&&(a+=Qn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Cc(t){var e=cn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function rm(t){return["html","body","#document"].indexOf(Qt(t))>=0?t.ownerDocument.body:St(t)&&Cc(t)?t:rm(vi(t))}function uo(t,e){var n;e===void 0&&(e=[]);var s=rm(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=yt(s),i=o?[r].concat(r.visualViewport||[],Cc(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(uo(vi(i)))}function bl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Eqe(t,e){var n=Is(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 Oh(t,e,n){return e===Jg?bl(xqe(t,n)):es(e)?Eqe(e,n):bl(kqe(Dn(t)))}function Cqe(t){var e=uo(vi(t)),n=["absolute","fixed"].indexOf(cn(t).position)>=0,s=n&&St(t)?$o(t):t;return es(s)?e.filter(function(o){return es(o)&&tm(o,s)&&Qt(o)!=="body"}):[]}function Aqe(t,e,n,s){var o=e==="clippingParents"?Cqe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var d=Oh(t,c,s);return l.top=Qn(d.top,l.top),l.right=Lr(d.right,l.right),l.bottom=Lr(d.bottom,l.bottom),l.left=Qn(d.left,l.left),l},Oh(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 im(t){var e=t.reference,n=t.element,s=t.placement,o=s?Wt(s):null,r=s?Ps(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case ft:l={x:i,y:e.y-n.height};break;case Mt:l={x:i,y:e.y+e.height};break;case Ot:l={x:e.x+e.width,y:a};break;case pt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?xc(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(r){case Ds:l[c]=l[c]-(e[d]/2-n[d]/2);break;case Oo:l[c]=l[c]+(e[d]/2-n[d]/2);break}}return l}function Ro(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?GUe:a,c=n.rootBoundary,d=c===void 0?Jg:c,h=n.elementContext,f=h===void 0?Xs:h,g=n.altBoundary,m=g===void 0?!1:g,p=n.padding,b=p===void 0?0:p,_=sm(typeof b!="number"?b:om(b,Bo)),y=f===Xs?KUe:Xs,x=t.rects.popper,A=t.elements[m?y:f],R=Aqe(es(A)?A:A.contextElement||Dn(t.elements.popper),l,d,i),O=Is(t.elements.reference),D=im({reference:O,element:x,strategy:"absolute",placement:o}),v=bl(Object.assign({},x,D)),k=f===Xs?v:O,M={top:R.top-k.top+_.top,bottom:k.bottom-R.bottom+_.bottom,left:R.left-k.left+_.left,right:k.right-R.right+_.right},L=t.modifiersData.offset;if(f===Xs&&L){var F=L[o];Object.keys(M).forEach(function(Q){var I=[Ot,Mt].indexOf(Q)>=0?1:-1,le=[ft,Mt].indexOf(Q)>=0?"y":"x";M[Q]+=F[le]*I})}return M}function Sqe(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?Xg:l,d=Ps(s),h=d?a?Ah:Ah.filter(function(m){return Ps(m)===d}):Bo,f=h.filter(function(m){return c.indexOf(m)>=0});f.length===0&&(f=h);var g=f.reduce(function(m,p){return m[p]=Ro(t,{placement:p,boundary:o,rootBoundary:r,padding:i})[Wt(p)],m},{});return Object.keys(g).sort(function(m,p){return g[m]-g[p]})}function Tqe(t){if(Wt(t)===yc)return[];var e=mr(t);return[Mh(t),e,Mh(e)]}function Mqe(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,d=n.boundary,h=n.rootBoundary,f=n.altBoundary,g=n.flipVariations,m=g===void 0?!0:g,p=n.allowedAutoPlacements,b=e.options.placement,_=Wt(b),y=_===b,x=l||(y||!m?[mr(b)]:Tqe(b)),A=[b].concat(x).reduce(function(Ce,N){return Ce.concat(Wt(N)===yc?Sqe(e,{placement:N,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:p}):N)},[]),R=e.rects.reference,O=e.rects.popper,D=new Map,v=!0,k=A[0],M=0;M<A.length;M++){var L=A[M],F=Wt(L),Q=Ps(L)===Ds,I=[ft,Mt].indexOf(F)>=0,le=I?"width":"height",Z=Ro(e,{placement:L,boundary:d,rootBoundary:h,altBoundary:f,padding:c}),T=I?Q?Ot:pt:Q?Mt:ft;R[le]>O[le]&&(T=mr(T));var q=mr(T),G=[];if(r&&G.push(Z[F]<=0),a&&G.push(Z[T]<=0,Z[q]<=0),G.every(function(Ce){return Ce})){k=L,v=!1;break}D.set(L,G)}if(v)for(var be=m?3:1,ge=function(N){var J=A.find(function(H){var te=D.get(H);if(te)return te.slice(0,N).every(function(X){return X})});if(J)return k=J,"break"},ee=be;ee>0;ee--){var we=ge(ee);if(we==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const Oqe={name:"flip",enabled:!0,phase:"main",fn:Mqe,requiresIfExists:["offset"],data:{_skip:!1}};function Rh(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 Nh(t){return[ft,Ot,Mt,pt].some(function(e){return t[e]>=0})}function Rqe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),a=Ro(e,{altBoundary:!0}),l=Rh(i,s),c=Rh(a,o,r),d=Nh(l),h=Nh(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const Nqe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rqe};function Dqe(t,e,n){var s=Wt(t),o=[pt,ft].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[pt,Ot].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function Lqe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=Xg.reduce(function(d,h){return d[h]=Dqe(h,e.rects,r),d},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const Iqe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Lqe};function Pqe(t){var e=t.state,n=t.name;e.modifiersData[n]=im({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Fqe={name:"popperOffsets",enabled:!0,phase:"read",fn:Pqe,data:{}};function Bqe(t){return t==="x"?"y":"x"}function $qe(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,h=n.padding,f=n.tether,g=f===void 0?!0:f,m=n.tetherOffset,p=m===void 0?0:m,b=Ro(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),_=Wt(e.placement),y=Ps(e.placement),x=!y,A=xc(_),R=Bqe(A),O=e.modifiersData.popperOffsets,D=e.rects.reference,v=e.rects.popper,k=typeof p=="function"?p(Object.assign({},e.rects,{placement:e.placement})):p,M=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(O){if(r){var Q,I=A==="y"?ft:pt,le=A==="y"?Mt:Ot,Z=A==="y"?"height":"width",T=O[A],q=T+b[I],G=T-b[le],be=g?-v[Z]/2:0,ge=y===Ds?D[Z]:v[Z],ee=y===Ds?-v[Z]:-D[Z],we=e.elements.arrow,Ce=g&&we?wc(we):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:nm(),J=N[I],H=N[le],te=co(0,D[Z],Ce[Z]),X=x?D[Z]/2-be-te-J-M.mainAxis:ge-te-J-M.mainAxis,fe=x?-D[Z]/2+be+te+H+M.mainAxis:ee+te+H+M.mainAxis,ue=e.elements.arrow&&$o(e.elements.arrow),w=ue?A==="y"?ue.clientTop||0:ue.clientLeft||0:0,E=(Q=L==null?void 0:L[A])!=null?Q:0,P=T+X-E-w,$=T+fe-E,j=co(g?Lr(q,P):q,T,g?Qn(G,$):G);O[A]=j,F[A]=j-T}if(a){var ne,re=A==="x"?ft:pt,z=A==="x"?Mt:Ot,se=O[R],U=R==="y"?"height":"width",Y=se+b[re],ie=se-b[z],he=[ft,pt].indexOf(_)!==-1,de=(ne=L==null?void 0:L[R])!=null?ne:0,ke=he?Y:se-D[U]-v[U]-de+M.altAxis,W=he?se+D[U]+v[U]-de-M.altAxis:ie,oe=g&&he?cqe(ke,se,W):co(g?ke:Y,se,g?W:ie);O[R]=oe,F[R]=oe-se}e.modifiersData[s]=F}}const jqe={name:"preventOverflow",enabled:!0,phase:"main",fn:$qe,requiresIfExists:["offset"]};function zqe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Uqe(t){return t===yt(t)||!St(t)?kc(t):zqe(t)}function qqe(t){var e=t.getBoundingClientRect(),n=Ls(e.width)/t.offsetWidth||1,s=Ls(e.height)/t.offsetHeight||1;return n!==1||s!==1}function Hqe(t,e,n){n===void 0&&(n=!1);var s=St(e),o=St(e)&&qqe(e),r=Dn(e),i=Is(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Qt(e)!=="body"||Cc(r))&&(a=Uqe(e)),St(e)?(l=Is(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Ec(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Vqe(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 Gqe(t){var e=Vqe(t);return sqe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function Kqe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Wqe(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 Dh={placement:"bottom",modifiers:[],strategy:"absolute"};function Lh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function Zqe(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,s=n===void 0?[]:n,o=e.defaultOptions,r=o===void 0?Dh:o;return function(a,l,c){c===void 0&&(c=r);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Dh,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},h=[],f=!1,g={state:d,setOptions:function(_){var y=typeof _=="function"?_(d.options):_;p(),d.options=Object.assign({},r,d.options,y),d.scrollParents={reference:es(a)?uo(a):a.contextElement?uo(a.contextElement):[],popper:uo(l)};var x=Gqe(Wqe([].concat(s,d.options.modifiers)));return d.orderedModifiers=x.filter(function(A){return A.enabled}),m(),g.update()},forceUpdate:function(){if(!f){var _=d.elements,y=_.reference,x=_.popper;if(Lh(y,x)){d.rects={reference:Hqe(y,$o(x),d.options.strategy==="fixed"),popper:wc(x)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(M){return d.modifiersData[M.name]=Object.assign({},M.data)});for(var A=0;A<d.orderedModifiers.length;A++){if(d.reset===!0){d.reset=!1,A=-1;continue}var R=d.orderedModifiers[A],O=R.fn,D=R.options,v=D===void 0?{}:D,k=R.name;typeof O=="function"&&(d=O({state:d,options:v,name:k,instance:g})||d)}}}},update:Kqe(function(){return new Promise(function(b){g.forceUpdate(),b(d)})}),destroy:function(){p(),f=!0}};if(!Lh(a,l))return g;g.setOptions(c).then(function(b){!f&&c.onFirstUpdate&&c.onFirstUpdate(b)});function m(){d.orderedModifiers.forEach(function(b){var _=b.name,y=b.options,x=y===void 0?{}:y,A=b.effect;if(typeof A=="function"){var R=A({state:d,name:_,instance:g,options:x}),O=function(){};h.push(R||O)}})}function p(){h.forEach(function(b){return b()}),h=[]}return g}}var Yqe=[yqe,Fqe,_qe,iqe,Iqe,Oqe,jqe,fqe,Nqe],Ac=Zqe({defaultModifiers:Yqe}),xn=globalThis&&globalThis.__assign||function(){return xn=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},xn.apply(this,arguments)},Xo=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var s=0,o=e.length,r;s<o;s++)(r||!(s in e))&&(r||(r=Array.prototype.slice.call(e,0,s)),r[s]=e[s]);return t.concat(r||Array.prototype.slice.call(e))},qn={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},am=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=qn),this._targetEl=e,this._triggerEl=n,this._options=xn(xn({},qn),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var e=this,n=this._getTriggerEvents();this._options.triggerType==="click"&&n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.toggle()})}),this._options.triggerType==="hover"&&(n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){s==="click"?e.toggle():setTimeout(function(){e.show()},e._options.delay)}),e._targetEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},e._options.delay)}),e._targetEl.addEventListener(s,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},e._options.delay)})}))},t.prototype._createPopperInstance=function(){return Ac(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(n){e._handleClickOutside(n,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(e,n){var s=e.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(e){return xn(xn({},e),{modifiers:Xo(Xo([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(e){return xn(xn({},e),{modifiers:Xo(Xo([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();typeof window<"u"&&(window.Dropdown=am);function lm(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var e=t.getAttribute("data-dropdown-toggle"),n=document.getElementById(e);if(n){var s=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),i=t.getAttribute("data-dropdown-trigger"),a=t.getAttribute("data-dropdown-delay");new am(n,t,{placement:s||qn.placement,triggerType:i||qn.triggerType,offsetSkidding:o?parseInt(o):qn.offsetSkidding,offsetDistance:r?parseInt(r):qn.offsetDistance,delay:a?parseInt(a):qn.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var Ir=globalThis&&globalThis.__assign||function(){return Ir=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Ir.apply(this,arguments)},ms={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},yl=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=ms),this._targetEl=e,this._options=Ir(Ir({},ms),n),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var e=this;this._targetEl&&this._getPlacementClasses().map(function(n){e._targetEl.classList.add(n)})},t.prototype._createBackdrop=function(){var e;if(this._isHidden){var n=document.createElement("div");n.setAttribute("modal-backdrop",""),(e=n.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),this._backdropEl=n}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var e=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(n){e._handleOutsideClick(n.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(n){n.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(e){(e===this._targetEl||e===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}();typeof window<"u"&&(window.Modal=yl);var er=function(t,e){return e.some(function(n){return n.id===t})?e.find(function(n){return n.id===t}):null};function cm(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(e){var n=e.getAttribute("data-modal-target"),s=document.getElementById(n);if(s){var o=s.getAttribute("data-modal-placement"),r=s.getAttribute("data-modal-backdrop");er(n,t)||t.push({id:n,object:new yl(s,{placement:o||ms.placement,backdrop:r||ms.backdrop})})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(e){var n=e.getAttribute("data-modal-toggle"),s=document.getElementById(n);if(s){var o=s.getAttribute("data-modal-placement"),r=s.getAttribute("data-modal-backdrop"),i=er(n,t);i||(i={id:n,object:new yl(s,{placement:o||ms.placement,backdrop:r||ms.backdrop})},t.push(i)),e.addEventListener("click",function(){i.object.toggle()})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(e){var n=e.getAttribute("data-modal-show"),s=document.getElementById(n);if(s){var o=er(n,t);o?e.addEventListener("click",function(){o.object.isHidden&&o.object.show()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(e){var n=e.getAttribute("data-modal-hide"),s=document.getElementById(n);if(s){var o=er(n,t);o?e.addEventListener("click",function(){o.object.isVisible&&o.object.hide()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}var Pr=globalThis&&globalThis.__assign||function(){return Pr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Pr.apply(this,arguments)},Hn={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},um=function(){function t(e,n){e===void 0&&(e=null),n===void 0&&(n=Hn),this._targetEl=e,this._options=Pr(Pr({},Hn),n),this._visible=!1,this._init()}return t.prototype._init=function(){var e=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(n){e._targetEl.classList.add(n)}),document.addEventListener("keydown",function(n){n.key==="Escape"&&e.isVisible()&&e.hide()})},t.prototype.hide=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){e._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){e._targetEl.classList.add(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){e._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){e._targetEl.classList.add(n)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var e=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){e._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){e._targetEl.classList.remove(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){e._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){e._targetEl.classList.remove(n)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var e,n=this;if(!this._visible){var s=document.createElement("div");s.setAttribute("drawer-backdrop",""),(e=s.classList).add.apply(e,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),s.addEventListener("click",function(){n.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(e){switch(e){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}();typeof window<"u"&&(window.Drawer=um);var tr=function(t,e){if(e.some(function(n){return n.id===t}))return e.find(function(n){return n.id===t})};function dm(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(e){var n=e.getAttribute("data-drawer-target"),s=document.getElementById(n);if(s){var o=e.getAttribute("data-drawer-placement"),r=e.getAttribute("data-drawer-body-scrolling"),i=e.getAttribute("data-drawer-backdrop"),a=e.getAttribute("data-drawer-edge"),l=e.getAttribute("data-drawer-edge-offset");tr(n,t)||t.push({id:n,object:new um(s,{placement:o||Hn.placement,bodyScrolling:r?r==="true":Hn.bodyScrolling,backdrop:i?i==="true":Hn.backdrop,edge:a?a==="true":Hn.edge,edgeOffset:l||Hn.edgeOffset})})}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(e){var n=e.getAttribute("data-drawer-toggle"),s=document.getElementById(n);if(s){var o=tr(n,t);o?e.addEventListener("click",function(){o.object.toggle()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(e){var n=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide"),s=document.getElementById(n);if(s){var o=tr(n,t);o?e.addEventListener("click",function(){o.object.hide()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(e){var n=e.getAttribute("data-drawer-show"),s=document.getElementById(n);if(s){var o=tr(n,t);o?e.addEventListener("click",function(){o.object.show()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}var Fr=globalThis&&globalThis.__assign||function(){return Fr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},Fr.apply(this,arguments)},Ih={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},hm=function(){function t(e,n){e===void 0&&(e=[]),n===void 0&&(n=Ih),this._items=e,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=Fr(Fr({},Ih),n),this._init()}return t.prototype._init=function(){var e=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(n){n.triggerEl.addEventListener("click",function(){e.show(n.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(e){this._activeTab=e},t.prototype.getTab=function(e){return this._items.filter(function(n){return n.id===e})[0]},t.prototype.show=function(e,n){var s,o,r=this;n===void 0&&(n=!1);var i=this.getTab(e);i===this._activeTab&&!n||(this._items.map(function(a){var l,c;a!==i&&((l=a.triggerEl.classList).remove.apply(l,r._options.activeClasses.split(" ")),(c=a.triggerEl.classList).add.apply(c,r._options.inactiveClasses.split(" ")),a.targetEl.classList.add("hidden"),a.triggerEl.setAttribute("aria-selected","false"))}),(s=i.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(o=i.triggerEl.classList).remove.apply(o,this._options.inactiveClasses.split(" ")),i.triggerEl.setAttribute("aria-selected","true"),i.targetEl.classList.remove("hidden"),this._setActiveTab(i),this._options.onShow(this,i))},t}();typeof window<"u"&&(window.Tabs=hm);function fm(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var e=[],n=null;t.querySelectorAll('[role="tab"]').forEach(function(s){var o=s.getAttribute("aria-selected")==="true",r={id:s.getAttribute("data-tabs-target"),triggerEl:s,targetEl:document.querySelector(s.getAttribute("data-tabs-target"))};e.push(r),o&&(n=r.id)}),new hm(e,{defaultTabId:n})})}var kn=globalThis&&globalThis.__assign||function(){return kn=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},kn.apply(this,arguments)},nr=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var s=0,o=e.length,r;s<o;s++)(r||!(s in e))&&(r||(r=Array.prototype.slice.call(e,0,s)),r[s]=e[s]);return t.concat(r||Array.prototype.slice.call(e))},Br={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},pm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=Br),this._targetEl=e,this._triggerEl=n,this._options=kn(kn({},Br),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var e=this,n=this._getTriggerEvents();n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.hide()})})},t.prototype._createPopperInstance=function(){return Ac(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(n){n.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(n){e._handleClickOutside(n,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(e,n){var s=e.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return kn(kn({},e),{modifiers:nr(nr([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return kn(kn({},e),{modifiers:nr(nr([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();typeof window<"u"&&(window.Tooltip=pm);function gm(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var e=t.getAttribute("data-tooltip-target"),n=document.getElementById(e);if(n){var s=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new pm(n,t,{placement:o||Br.placement,triggerType:s||Br.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))})}var En=globalThis&&globalThis.__assign||function(){return En=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},En.apply(this,arguments)},sr=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var s=0,o=e.length,r;s<o;s++)(r||!(s in e))&&(r||(r=Array.prototype.slice.call(e,0,s)),r[s]=e[s]);return t.concat(r||Array.prototype.slice.call(e))},ho={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},mm=function(){function t(e,n,s){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=ho),this._targetEl=e,this._triggerEl=n,this._options=En(En({},ho),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var e=this,n=this._getTriggerEvents();n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.show()}),e._targetEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){setTimeout(function(){e._targetEl.matches(":hover")||e.hide()},100)}),e._targetEl.addEventListener(s,function(){setTimeout(function(){e._triggerEl.matches(":hover")||e.hide()},100)})})},t.prototype._createPopperInstance=function(){return Ac(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var e=this;this._keydownEventListener=function(n){n.key==="Escape"&&e.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var e=this;this._clickOutsideEventListener=function(n){e._handleClickOutside(n,e._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(e,n){var s=e.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(e){return En(En({},e),{modifiers:sr(sr([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(e){return En(En({},e),{modifiers:sr(sr([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();typeof window<"u"&&(window.Popover=mm);function _m(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var e=t.getAttribute("data-popover-target"),n=document.getElementById(e);if(n){var s=t.getAttribute("data-popover-trigger"),o=t.getAttribute("data-popover-placement"),r=t.getAttribute("data-popover-offset");new mm(n,t,{placement:o||ho.placement,offset:r?parseInt(r):ho.offset,triggerType:s||ho.triggerType})}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'))})}var $r=globalThis&&globalThis.__assign||function(){return $r=Object.assign||function(t){for(var e,n=1,s=arguments.length;n<s;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},$r.apply(this,arguments)},vl={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},bm=function(){function t(e,n,s,o){e===void 0&&(e=null),n===void 0&&(n=null),s===void 0&&(s=null),o===void 0&&(o=vl),this._parentEl=e,this._triggerEl=n,this._targetEl=s,this._options=$r($r({},vl),o),this._visible=!1,this._init()}return t.prototype._init=function(){var e=this;if(this._triggerEl){var n=this._getTriggerEventTypes(this._options.triggerType);n.showEvents.forEach(function(s){e._triggerEl.addEventListener(s,function(){e.show()}),e._targetEl.addEventListener(s,function(){e.show()})}),n.hideEvents.forEach(function(s){e._parentEl.addEventListener(s,function(){e._parentEl.matches(":hover")||e.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(e){switch(e){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();typeof window<"u"&&(window.Dial=bm);function ym(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var e=t.querySelector("[data-dial-toggle]");if(e){var n=e.getAttribute("data-dial-toggle"),s=document.getElementById(n);if(s){var o=e.getAttribute("data-dial-trigger");new bm(t,e,s,{triggerType:o||vl.triggerType})}else console.error("Dial with id ".concat(n," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}function Qqe(){Vg(),Kg(),Zg(),Qg(),lm(),cm(),dm(),fm(),gm(),_m(),ym()}var Jqe=new VUe("load",[Vg,Kg,Zg,Qg,lm,cm,dm,fm,gm,_m,ym]);Jqe.init();const Ze=t=>(ns("data-v-60dd5f34"),t=t(),ss(),t),Xqe={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center"},eHe=Ze(()=>u("div",{class:"flex flex-col text-center"},[u("div",{class:"flex flex-col text-center items-center"},[u("div",{class:"flex items-center gap-3 text-5xl drop-shadow-md align-middle pt-24"},[u("img",{class:"w-24 animate-bounce",title:"LoLLMS WebUI",src:tc,alt:"Logo"}),u("div",{class:"flex flex-col items-start"},[u("p",{class:"text-2xl"},"Lord of Large Language Models"),u("p",{class:"text-gray-400 text-base"},"One tool to rule them all")])]),u("hr",{class:"mt-1 w-96 h-1 mx-auto my-2 md:my-2 dark:bg-bg-dark-tone-panel bg-bg-light-tone-panel border-0 rounded"}),u("p",{class:"text-2xl"},"Welcome"),u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"text-2xl font-bold ml-4"},"Loading ...")])],-1)),tHe=[eHe],nHe=Ze(()=>u("i",{"data-feather":"chevron-right"},null,-1)),sHe=[nHe],oHe=Ze(()=>u("i",{"data-feather":"chevron-left"},null,-1)),rHe=[oHe],iHe={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},aHe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},lHe={class:"flex-row p-4 flex items-center gap-3 flex-0"},cHe=Ze(()=>u("i",{"data-feather":"plus"},null,-1)),uHe=[cHe],dHe=Ze(()=>u("i",{"data-feather":"check-square"},null,-1)),hHe=[dHe],fHe=Ze(()=>u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[u("i",{"data-feather":"refresh-ccw"})],-1)),pHe=Ze(()=>u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[u("i",{"data-feather":"database"})],-1)),gHe=Ze(()=>u("i",{"data-feather":"log-in"},null,-1)),mHe=[gHe],_He={key:0,class:"dropdown"},bHe=Ze(()=>u("i",{"data-feather":"search"},null,-1)),yHe=[bHe],vHe=Ze(()=>u("i",{"data-feather":"save"},null,-1)),wHe=[vHe],xHe={key:2,class:"flex gap-3 flex-1 items-center duration-75"},kHe=Ze(()=>u("i",{"data-feather":"x"},null,-1)),EHe=[kHe],CHe=Ze(()=>u("i",{"data-feather":"check"},null,-1)),AHe=[CHe],SHe={key:3,title:"Loading..",class:"flex flex-row flex-grow justify-end"},THe=Ze(()=>u("div",{role:"status"},[u("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[u("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),u("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),u("span",{class:"sr-only"},"Loading...")],-1)),MHe=[THe],OHe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},RHe={class:"p-4 pt-2"},NHe={class:"relative"},DHe=Ze(()=>u("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[u("div",{class:"scale-75"},[u("i",{"data-feather":"search"})])],-1)),LHe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},IHe=Ze(()=>u("i",{"data-feather":"x"},null,-1)),PHe=[IHe],FHe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},BHe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},$He={class:"flex flex-row flex-grow"},jHe={key:0},zHe={class:"flex flex-row"},UHe={key:0,class:"flex gap-3"},qHe=Ze(()=>u("i",{"data-feather":"trash"},null,-1)),HHe=[qHe],VHe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},GHe=Ze(()=>u("i",{"data-feather":"check"},null,-1)),KHe=[GHe],WHe=Ze(()=>u("i",{"data-feather":"x"},null,-1)),ZHe=[WHe],YHe={class:"flex gap-3"},QHe=Ze(()=>u("i",{"data-feather":"log-out"},null,-1)),JHe=[QHe],XHe=Ze(()=>u("i",{"data-feather":"list"},null,-1)),eVe=[XHe],tVe={class:"z-20"},nVe={class:"relative flex flex-row flex-grow mb-10"},sVe={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"},oVe=Ze(()=>u("p",{class:"px-3"},"No discussions are found",-1)),rVe=[oVe],iVe=Ze(()=>u("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),aVe={class:"z-20 h-max"},lVe={class:"container pt-4 pb-10 mb-28"},cVe=Ze(()=>u("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),uVe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},dVe={setup(){},data(){return{msgTypes:{MSG_TYPE_CHUNK:0,MSG_TYPE_FULL:1,MSG_TYPE_FULL_INVISIBLE_TO_AI:2,MSG_TYPE_FULL_INVISIBLE_TO_USER:3,MSG_TYPE_EXCEPTION:4,MSG_TYPE_WARNING:5,MSG_TYPE_INFO:6,MSG_TYPE_STEP:7,MSG_TYPE_STEP_START:8,MSG_TYPE_STEP_PROGRESS:9,MSG_TYPE_STEP_END:10,MSG_TYPE_JSON_INFOS:11,MSG_TYPE_REF:12,MSG_TYPE_CODE:13,MSG_TYPE_UI:14},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1,panelCollapsed:!1,isOpen:!1}},methods:{save_configuration(){this.showConfirmation=!1,Se.post("/save_settings",{}).then(t=>{if(t)return t.status?this.$refs.toast.showToast("Settings saved!",4,!0):this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},showToastMessage(t){console.log("sending",t),this.$refs.toast.showToast(t,4,!0)},togglePanel(){this.panelCollapsed=!this.panelCollapsed},toggleDropdown(){this.isOpen=!this.isOpen},importChatGPT(){},async api_get_req(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Se.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){console.log("Loading discussion",t),this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Se.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==this.msgTypes.MSG_TYPE_FULL||n.type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI),console.log("this.discussionArr"),console.log(this.discussionArr))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Se.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 Se.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 Se.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 Se.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(je.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Se.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 Se.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 Se.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 Se.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 Se.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(console.log("this.currentDiscussion",this.currentDiscussion),this.currentDiscussion===void 0?(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)):this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),_e(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){try{const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})}catch{}},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at,steps:[]};this.discussionArr.push(e),_e(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,type:t.type,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user,steps:[]};e!==-1&&(this.discussionArr[e]=n)},socketIOConnected(){return console.log("socketIOConnected"),this.$store.dispatch("setIsConnected",!0),!0},socketIODisonnected(){return console.log("socketIOConnected"),this.$store.dispatch("setIsConnected",!1),!0},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",created_at:t.created_at,binding:t.binding,model:t.model,id:t.ai_message_id,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type,steps:[]};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},talk(t){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Se.get("/get_generation_status",{}).then(e=>{e&&(e.data.status?console.log("Already generating"):(console.log("Generating message from ",e.data.status),je.emit("generate_msg_from",{id:-1}),this.discussionArr.length>0&&Number(this.discussionArr[this.discussionArr.length-1].id)+1))}).catch(e=>{console.log("Error: Could not get generation status",e)})},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Se.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{je.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:this.$store.state.config.user_name,created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];if(o&&t.message_type==this.msgTypes.MSG_TYPE_FULL||o&&t.message_type==this.msgTypes.MSG_TYPE_FULL_INVISIBLE_TO_AI)o.content=t.data,o.finished_generating_at=t.finished_generating_at;else if(o&&t.message_type==this.msgTypes.MSG_TYPE_CHUNK)o.content+=t.data;else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_START)o.steps.push({message:t.data,done:!1});else if(t.message_type==this.msgTypes.MSG_TYPE_STEP_END){const r=o.steps.find(i=>i.message===t.data);r&&(r.done=!0)}else t.message_type==this.msgTypes.MSG_TYPE_EXCEPTION&&this.$refs.toast.showToast(t.data,5,!1)}this.$nextTick(()=>{ye.replace()})},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),_e(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){console.log("Loading last discussion");const t=localStorage.getItem("selected_discussion");if(console.log("Last discussion id: ",t),t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;e<t.length;e++){const n=t[e];await this.delete_discussion(n.id),this.currentDiscussion.id==n.id&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(s=>s.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<this.tempList.length;t++)this.tempList[t].checkBoxValue=!this.isSelectAll;this.tempList=this.list,this.isSelectAll=!this.isSelectAll},createDiscussionList(t){if(console.log("Creating discussions list",t),t){const e=t.map(n=>({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e,console.log("List created")}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){_e(()=>{ye.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Se.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):je.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},continueMessage(t,e){_e(()=>{ye.replace()}),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Se.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):je.emit("continue_generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,steps:t.steps,sender:t.bot,type:t.type};this.discussionArr[s]=o}_e(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=`
Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=`
Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=`
Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s}
${o}
${l}`;navigator.clipboard.writeText(c),_e(()=>{ye.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 d=await this.export_multiple_discussions(t);d?(this.saveJSONtoFile(d,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){if(t.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return console.log("Avatar",n.avatar),n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox
`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){for(this.$nextTick(()=>{ye.replace()}),console.log("Waiting to be ready");this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));console.log("Setting title"),this.setPageTitle(),console.log("listing discussions"),await this.list_discussions(),console.log("loading last discussion"),this.loadLastUsedDiscussion(),console.log("Discussions view is ready"),je.on("infos",this.createBotMsg),je.on("message",this.streamMessageContent),je.on("final",this.finalMsgEvent),je.on("connected",this.socketIOConnected),je.on("disconnected",this.socketIODisconnected),console.log("Added events"),this.isCreated=!0},mounted(){this.$nextTick(()=>{ye.replace()})},async activated(){await this.getPersonalityAvatars(),this.isCreated&&_e(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:ng,Message:jg,ChatBox:Ug,WelcomeComponent:qg,Toast:ai,DragDrop:ml},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){_e(()=>{ye.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){_e(()=>{ye.replace()})},isSearch(){_e(()=>{ye.replace()})}},computed:{isReady(){return console.log("verify ready",this.isCreated),this.isCreated},showPanel(){return this.$store.state.ready&&!this.panelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return _e(()=>{ye.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},hVe=Object.assign(dVe,{__name:"DiscussionsView",setup(t){return Zr(()=>{Qqe()}),Se.defaults.baseURL="/",(e,n)=>(C(),S(Re,null,[ve(xo,{name:"fade-and-fly"},{default:We(()=>[e.isReady?B("",!0):(C(),S("div",Xqe,tHe))]),_:1}),e.isReady?(C(),S("button",{key:0,onClick:n[0]||(n[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-0 left-0 z-50 p-2 m-2 bg-white rounded-full shadow-md bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-primary-light dark:hover:bg-primary"},[me(u("div",null,sHe,512),[[lt,e.panelCollapsed]]),me(u("div",null,rHe,512),[[lt,!e.panelCollapsed]])])):B("",!0),ve(xo,{name:"slide-right"},{default:We(()=>[e.showPanel?(C(),S("div",iHe,[u("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[19]||(n[19]=ae(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[u("div",aHe,[u("div",lHe,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[1]||(n[1]=s=>e.createNewDiscussion())},uHe),u("button",{class:Te(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[2]||(n[2]=s=>e.isCheckbox=!e.isCheckbox)},hHe,2),fHe,pHe,u("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[3]||(n[3]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[4]||(n[4]=ae(s=>e.$refs.fileDialog.click(),["stop"]))},mHe),e.isOpen?(C(),S("div",_He,[u("button",{onClick:n[5]||(n[5]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),u("button",{onClick:n[6]||(n[6]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):B("",!0),u("button",{class:Te(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[7]||(n[7]=s=>e.isSearch=!e.isSearch)},yHe,2),e.showConfirmation?B("",!0):(C(),S("button",{key:1,title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:n[8]||(n[8]=s=>e.showConfirmation=!0)},wHe)),e.showConfirmation?(C(),S("div",xHe,[u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:n[9]||(n[9]=ae(s=>e.showConfirmation=!1,["stop"]))},EHe),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:n[10]||(n[10]=ae(s=>e.save_configuration(),["stop"]))},AHe)])):B("",!0),e.loading?(C(),S("div",SHe,MHe)):B("",!0)]),e.isSearch?(C(),S("div",OHe,[u("div",RHe,[u("div",NHe,[DHe,u("div",LHe,[u("div",{class:Te(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[11]||(n[11]=s=>e.filterTitle="")},PHe,2)]),me(u("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[12]||(n[12]=s=>e.filterTitle=s),onInput:n[13]||(n[13]=s=>e.filterDiscussions())},null,544),[[Pe,e.filterTitle]])])])])):B("",!0),e.isCheckbox?(C(),S("hr",FHe)):B("",!0),e.isCheckbox?(C(),S("div",BHe,[u("div",$He,[e.selectedDiscussions.length>0?(C(),S("p",jHe,"Selected: "+V(e.selectedDiscussions.length),1)):B("",!0)]),u("div",zHe,[e.selectedDiscussions.length>0?(C(),S("div",UHe,[e.showConfirmation?B("",!0):(C(),S("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[14]||(n[14]=ae(s=>e.showConfirmation=!0,["stop"]))},HHe)),e.showConfirmation?(C(),S("div",VHe,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[15]||(n[15]=ae((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},KHe),u("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[16]||(n[16]=ae(s=>e.showConfirmation=!1,["stop"]))},ZHe)])):B("",!0)])):B("",!0),u("div",YHe,[u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[17]||(n[17]=ae((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},JHe),u("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[18]||(n[18]=ae((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},eVe)])])])):B("",!0)]),u("div",tVe,[ve(ml,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:We(()=>[xe("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),u("div",nVe,[u("div",{class:Te(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[u("div",{id:"dis-list",class:Te([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(C(),st(Ut,{key:0,name:"list"},{default:We(()=>[(C(!0),S(Re,null,Ke(e.list,(s,o)=>(C(),st(ng,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):B("",!0),e.list.length<1?(C(),S("div",sVe,rVe)):B("",!0),iVe],2)],2)])],32)])):B("",!0)]),_:1}),e.isReady?(C(),S("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[u("div",aVe,[ve(ml,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),u("div",{id:"messages-list",class:Te(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[u("div",lVe,[e.discussionArr.length>0?(C(),st(Ut,{key:0,name:"list"},{default:We(()=>[(C(!0),S(Re,null,Ke(e.discussionArr,(s,o)=>(C(),st(jg,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,onContinueMessage:e.continueMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128))]),_:1})):B("",!0),e.currentDiscussion.id?B("",!0):(C(),st(qg,{key:1}))]),cVe,e.currentDiscussion.id?(C(),S("div",uVe,[ve(Ug,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating","on-show-toast-message","on-talk"])])):B("",!0)],2)],32)):B("",!0),ve(ai,{ref:"toast"},null,512),ve(Fp,{ref:"messageBox"},null,512)],64))}}),fVe=Ve(hVe,[["__scopeId","data-v-60dd5f34"]]),pVe=Uy({history:iy("/"),routes:[{path:"/extensions/",name:"extensions",component:T2},{path:"/help/",name:"help",component:G2},{path:"/settings/",name:"settings",component:aA},{path:"/training/",name:"training",component:BA},{path:"/quantizing/",name:"quantizing",component:i6},{path:"/",name:"discussions",component:fVe}]});const wi=Q1(b2);console.log("Loaded main.js");const gVe=k0({state(){return{ready:!1,settingsChanged:!1,isConnected:!1,config:null,mountedPers:null,mountedPersArr:null,bindingsArr:null,modelsArr:null,models_zoo:null,personalities:null,diskUsage:null,ramUsage:null,vramUsage:null,extensionsZoo:null}},mutations:{setIsConnected(t,e){t.isConnected=e},setConfig(t,e){t.config=e},setPersonalities(t,e){t.personalities=e},setMountedPers(t,e){t.mountedPers=e},setMountedPersArr(t,e){t.mountedPersArr=e},setBindingsArr(t,e){t.bindingsArr=e},setModelsArr(t,e){t.modelsArr=e},setDiskUsage(t,e){t.diskUsage=e},setRamUsage(t,e){t.ramUsage=e},setVramUsage(t,e){t.vramUsage=e},setExtensionsZoo(t,e){t.extensionsZoo=e},setModelsZoo(t,e){t.models_zoo=e}},getters:{getIsConnected(t){return t.isConnected},getConfig(t){return t.config},getPersonalities(t){return t.personalities},getMountedPersArr(t){return t.mountedPersArr},getMountedPers(t){return t.mountedPers},getbindingsArr(t){return t.bindingsArr},getModelsArr(t){return t.modelsArr},getDiskUsage(t){return t.diskUsage},getRamUsage(t){return t.ramUsage},getVramUsage(t){return t.vramUsage},getModelsZoo(t){return t.models_zoo},getExtensionsZoo(t){return t.extensionsZoo}},actions:{async refreshConfig({commit:t}){console.log("Fetching configuration");try{const e=await mn("get_config");let n=e.personalities[e.active_personality_id].split("/");e.personality_language=n[0],e.personality_category=n[1],e.personality_folder=n[2],t("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshPersonalitiesArr({commit:t}){let e=[];const n=await mn("get_all_personalities"),s=Object.keys(n);for(let o=0;o<s.length;o++){const r=s[o],i=n[r],a=Object.keys(i);for(let l=0;l<a.length;l++){const c=a[l],h=i[c].map(f=>{const g=this.state.config.personalities.includes(r+"/"+c+"/"+f.folder);let m={};return m=f,m.category=c,m.language=r,m.full_path=r+"/"+c+"/"+f.folder,m.isMounted=g,m});e.length==0?e=h:e=e.concat(h)}}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;n<this.state.config.personalities.length;n++){const s=this.state.config.personalities[n],o=this.state.personalities.findIndex(i=>i.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="english/generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await mn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await mn("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await mn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await mn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await mn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await mn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o<e.nb_gpus;o++){const r=e[`gpu_${o}_total_vram`],i=e[`gpu_${o}_used_vram`],a=e[`gpu_${o}_model`],l=i/r*100,c=r-i;n.push({total_vram:r,used_vram:i,gpu_index:o,gpu_model:a,percentage:l.toFixed(2),available_space:c})}const s={nb_gpus:e.nb_gpus,gpus:n};console.log("gpu usage: ",s),this.state.vramUsage=s}else{const s={nb_gpus:0,gpus:[]};console.log("gpu usage: ",s),this.state.vramUsage=s}},async refreshModelsZoo({commit:t}){console.log("Refreshing models zoo"),Se.get("/get_available_models").then(e=>{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;s<this.state.modelsArr.length;s++){const o=this.state.modelsArr[s];if(n.findIndex(i=>i.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){Se.get("/list_models").then(e=>{}).catch(e=>{console.log(e.message,"fetchCustomModels")})}}});async function mn(t){try{const e=await Se.get("/"+t);if(e)return e.data}catch(e){throw console.log(e.message,"api_get_req"),e}}let Ph=!1;wi.mixin({created(){Ph||(Ph=!0,console.log("Calling"),this.$store.dispatch("refreshConfig").then(()=>{console.log("recovered config"),this.$store.dispatch("refreshPersonalitiesArr").then(()=>{this.$store.dispatch("refreshMountedPersonalities"),this.$store.dispatch("refreshBindings"),this.$store.dispatch("refreshModels"),this.$store.dispatch("refreshDiskUsage"),this.$store.dispatch("refreshRamUsage"),this.$store.dispatch("refreshVramUsage"),this.$store.dispatch("refreshModelsZoo"),this.$store.dispatch("refreshExtensionsZoo"),this.$store.state.ready=!0,console.log("done loading data")})}))},beforeMount(){}});wi.use(pVe);wi.use(gVe);wi.mount("#app");