diff --git a/configs/config.yaml b/configs/config.yaml index da71c8f5..c7131447 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Models Configuration file =========================== -version: 14 +version: 15 binding_name: null model_name: null @@ -44,4 +44,5 @@ auto_update: false # Audio audio_in_language: 'en-US' audio_out_voice: null +auto_speak: false silenceTimer: 5000 \ No newline at end of file diff --git a/web/dist/assets/index-c38120e7.js b/web/dist/assets/index-27ecf876.js similarity index 95% rename from web/dist/assets/index-c38120e7.js rename to web/dist/assets/index-27ecf876.js index 15dbe872..29b8d309 100644 --- a/web/dist/assets/index-c38120e7.js +++ b/web/dist/assets/index-27ecf876.js @@ -26,7 +26,7 @@ License: MIT `:"\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=I)return qe(!0)}else for(de=T,T++;;){if((de=G.indexOf(k,de+1))===-1)return me||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:T}),Ce();if(de===ee-1)return Ce(G.substring(T,de).replace(he,k));if(k!==Z||G[de+1]!==Z){if(k===Z||de===0||G[de-1]!==Z){Y!==-1&&Y=I)return 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 Ce();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 Ce(Je){return me||(Je===void 0&&(Je=G.substring(T)),X.push(Je),T=ee,oe(X),J&&Le()),qe()}function Pe(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 Le(){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:C,resume:C};if(D(M.userStep)){for(var Q=0;Qt.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,"
")}}},Pp=t=>(ns("data-v-3cb88319"),t=t(),ss(),t),N2={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},D2={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},L2=Pp(()=>u("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),I2={class:"list-disc pl-4"},P2={class:"text-xl font-bold mb-1"},F2=["innerHTML"],B2=Pp(()=>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 us."),u("p",null,[we("Discord link: "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),$2={class:"mt-8"},j2=zs('

Credits

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

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

',3),z2=["href"];function U2(t,e,n,s,o,r){return A(),S("div",N2,[u("div",D2,[L2,u("ul",I2,[(A(!0),S(Ne,null,Ke(o.faqs,(i,a)=>(A(),S("li",{key:a},[u("h3",P2,V(i.question),1),u("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,F2)]))),128))])]),B2,u("div",$2,[j2,u("p",null,[we("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,z2),we(".")])])])}const q2=Ve(R2,[["render",U2],["__scopeId","data-v-3cb88319"]]);function Ht(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):B("",!0)}const Fp=Ve(H2,[["render",Z2]]),Y2={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})}}},Q2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},J2={class:"relative w-full max-w-md max-h-full"},X2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},ev=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),tv=u("span",{class:"sr-only"},"Close modal",-1),nv=[ev,tv],sv={class:"p-4 text-center"},ov=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),rv={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function iv(t,e,n,s,o,r){return o.show?(A(),S("div",Q2,[u("div",J2,[u("div",X2,[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"},nv),u("div",sv,[ov,u("h3",rv,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 av=Ve(Y2,[["render",iv]]);const lv={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),cv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},uv={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"},dv={class:"flex flex-row flex-grow items-center"},hv={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"},fv=Rn(()=>u("i",{"data-feather":"check"},null,-1)),pv=Rn(()=>u("span",{class:"sr-only"},"Check icon",-1)),gv=[fv,pv],mv={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"},_v=Rn(()=>u("i",{"data-feather":"x"},null,-1)),bv=Rn(()=>u("span",{class:"sr-only"},"Cross icon",-1)),yv=[_v,bv],vv=["title"],wv={class:"flex"},xv=["onClick"],kv=Rn(()=>u("span",{class:"sr-only"},"Copy message",-1)),Ev=Rn(()=>u("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),Cv=[kv,Ev],Av=["onClick"],Sv=Rn(()=>u("span",{class:"sr-only"},"Close",-1)),Tv=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)),Mv=[Sv,Tv];function Ov(t,e,n,s,o,r){return A(),S("div",cv,[Ae(Ut,{name:"toastItem",tag:"div"},{default:We(()=>[(A(!0),S(Ne,null,Ke(o.toastArr,i=>(A(),S("div",{key:i.id,class:"relative"},[u("div",uv,[u("div",dv,[xf(t.$slots,"default",{},()=>[i.success?(A(),S("div",hv,gv)):B("",!0),i.success?B("",!0):(A(),S("div",mv,yv)),u("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},V(i.message),9,vv)],!0)]),u("div",wv,[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"},Cv,8,xv),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"},Mv,8,Av)])])]))),128))]),_:3})])}const ii=Ve(lv,[["render",Ov],["__scopeId","data-v-3ffdabf3"]]),Cr="/assets/default_model-9e24e852.png",Rv={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()})}}},Nv=["title"],Dv={key:0,class:"flex flex-row"},Lv={class:"flex gap-3 items-center grow"},Iv=["src"],Pv={class:"font-bold font-large text-lg truncate"},Fv={key:1,class:"flex items-center flex-row gap-2 my-1"},Bv={class:"flex grow items-center"},$v=u("i",{"data-feather":"box",class:"w-5"},null,-1),jv=u("span",{class:"sr-only"},"Custom model / local model",-1),zv=[$v,jv],Uv=u("span",{class:"sr-only"},"Remove",-1),qv={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"},Hv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Vv=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),Gv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Kv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Wv={class:"flex justify-between mb-1"},Zv=u("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Yv={class:"text-sm font-medium text-blue-700 dark:text-white"},Qv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Jv={class:"flex justify-between mb-1"},Xv={class:"text-base font-medium text-blue-700 dark:text-white"},ew={class:"text-sm font-medium text-blue-700 dark:text-white"},tw={class:"flex flex-grow"},nw={class:"flex flex-row flex-grow gap-3"},sw={class:"p-2 text-center grow"},ow={key:3},rw={class:"flex flex-row items-center gap-3"},iw=["src"],aw={class:"font-bold font-large text-lg truncate"},lw=u("div",{class:"grow"},null,-1),cw=u("div",{class:"flex-none gap-1"},null,-1),uw={class:"flex items-center flex-row-reverse gap-2 my-1"},dw=u("span",{class:"sr-only"},"Copy info",-1),hw={class:"flex flex-row items-center"},fw={key:0,class:"text-base text-red-600 flex items-center mt-1"},pw=u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),gw=u("span",{class:"sr-only"},"Click to install",-1),mw=u("span",{class:"sr-only"},"Remove",-1),_w=["title"],bw={class:""},yw={class:"flex flex-row items-center"},vw=u("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),ww=u("b",null,"Manual download: ",-1),xw=["href","title"],kw=u("div",{class:"grow"},null,-1),Ew=u("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Cw=[Ew],Aw={class:"flex items-center"},Sw=u("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Tw=u("b",null,"File size: ",-1),Mw={class:"flex items-center"},Ow=u("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Rw=u("b",null,"License: ",-1),Nw={class:"flex items-center"},Dw=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Lw=u("b",null,"Owner: ",-1),Iw=["href"],Pw=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Fw=["title"];function Bw(t,e,n,s,o,r){return A(),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?(A(),S("div",Dv,[u("div",Lv,[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,Iv),u("h3",Pv,V(n.title),1)])])):B("",!0),n.model.isCustomModel?(A(),S("div",Fv,[u("div",Bv,[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"]))},zv),we(" Custom model ")]),u("div",null,[n.model.isInstalled?(A(),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"},[we(" Uninstall "),Uv])):B("",!0)])])):B("",!0),o.installing?(A(),S("div",qv,[u("div",Hv,[Vv,u("div",Gv,[u("div",Kv,[u("div",Wv,[Zv,u("span",Yv,V(Math.floor(o.progress))+"%",1)]),u("div",Qv,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt({width:o.progress+"%"})},null,4)]),u("div",Jv,[u("span",Xv,"Download speed: "+V(r.speed_computed)+"/s",1),u("span",ew,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),u("div",tw,[u("div",nw,[u("div",sw,[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):(A(),S("div",ow,[u("div",rw,[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,iw),u("h3",aw,V(n.title),1),lw,cw]),u("div",uw,[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"},[we(" Copy info "),dw]),u("div",hw,[o.linkNotValid?(A(),S("div",fw,[pw,we(" Link is not valid ")])):B("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(A(),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"},[we(" Install "),gw])):B("",!0),n.model.isInstalled?(A(),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"},[we(" Uninstall "),mw])):B("",!0)]),u("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[u("div",bw,[u("div",yw,[vw,ww,u("a",{href:n.path,onClick:e[8]||(e[8]=ae(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," Click here to download ",8,xw),kw,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"]))},Cw)]),u("div",Aw,[u("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Sw,Tw,we(" "+V(r.fileSize),1)],2)]),u("div",Mw,[Ow,Rw,we(" "+V(n.license),1)]),u("div",Nw,[Dw,Lw,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,Iw)])]),Pw,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},V(n.description.replace(/<\/?[^>]+>/ig," ")),9,Fw)],8,_w)]))],10,Nv)}const $w=Ve(Rv,[["render",Bw]]),jw={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}}},zw={class:"p-4"},Uw={class:"flex items-center mb-4"},qw=["src"],Hw={class:"text-lg font-semibold"},Vw=u("strong",null,"Author:",-1),Gw=u("strong",null,"Description:",-1),Kw=u("strong",null,"Language:",-1),Ww=u("strong",null,"Category:",-1),Zw={key:0},Yw=u("strong",null,"Disclaimer:",-1),Qw=u("strong",null,"Conditioning Text:",-1),Jw=u("strong",null,"AI Prefix:",-1),Xw=u("strong",null,"User Prefix:",-1),ex=u("strong",null,"Antiprompts:",-1);function tx(t,e,n,s,o,r){return A(),S("div",zw,[u("div",Uw,[u("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,qw),u("h2",Hw,V(o.personalityName),1)]),u("p",null,[Vw,we(" "+V(o.personalityAuthor),1)]),u("p",null,[Gw,we(" "+V(o.personalityDescription),1)]),u("p",null,[Kw,we(" "+V(o.personalityLanguage),1)]),u("p",null,[Ww,we(" "+V(o.personalityCategory),1)]),o.disclaimer?(A(),S("p",Zw,[Yw,we(" "+V(o.disclaimer),1)])):B("",!0),u("p",null,[Qw,we(" "+V(o.conditioningText),1)]),u("p",null,[Jw,we(" "+V(o.aiPrefix),1)]),u("p",null,[Xw,we(" "+V(o.userPrefix),1)]),u("div",null,[ex,u("ul",null,[(A(!0),S(Ne,null,Ke(o.antipromptsList,i=>(A(),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?(A(),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 nx=Ve(jw,[["render",tx]]),Jn="/assets/logo-9d653710.svg",sx="/",ox={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 sx+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()})}}},rx=["title"],ix={class:"flex flex-row items-center flex-shrink-0 gap-3"},ax=["src"],lx={class:"font-bold font-large text-lg line-clamp-3"},cx=u("i",{"data-feather":"send",class:"w-5"},null,-1),ux=u("span",{class:"sr-only"},"Talk",-1),dx=[cx,ux],hx={class:"flex items-center flex-row-reverse gap-2 my-1"},fx=u("span",{class:"sr-only"},"Settings",-1),px=u("span",{class:"sr-only"},"Reinstall personality",-1),gx=u("span",{class:"sr-only"},"Click to install",-1),mx=u("span",{class:"sr-only"},"Remove",-1),_x={class:""},bx={class:""},yx={class:"flex items-center"},vx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),wx=u("b",null,"Author: ",-1),xx={class:"flex items-center"},kx=u("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Ex=u("b",null,"Language: ",-1),Cx={class:"flex items-center"},Ax=u("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Sx=u("b",null,"Category: ",-1),Tx=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Mx=["title"];function Ox(t,e,n,s,o,r){return A(),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",ix,[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,ax),u("h3",lx,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"},dx)]),u("div",hx,[r.selected_computed?(A(),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"},[we(" Settings "),fx])):B("",!0),r.selected_computed?(A(),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"},[we(" Reinstall personality "),px])):B("",!0),o.isMounted?B("",!0):(A(),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"},[we(" Mount "),gx])),o.isMounted?(A(),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"},[we(" Unmount "),mx])):B("",!0)]),u("div",_x,[u("div",bx,[u("div",yx,[vx,wx,we(" "+V(n.personality.author),1)]),u("div",xx,[kx,Ex,we(" "+V(n.personality.language),1)]),u("div",Cx,[Ax,Sx,we(" "+V(n.personality.category),1)])]),Tx,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},V(n.personality.description),9,Mx)])],2)],10,rx)}const Bp=Ve(ox,[["render",Ox]]),Rx="/",Nx={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 Rx+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()})}}},Dx=["title"],Lx={class:"flex flex-row items-center gap-3"},Ix=["src"],Px={class:"font-bold font-large text-lg truncate"},Fx=u("div",{class:"grow"},null,-1),Bx={class:"flex-none gap-1"},$x=u("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),jx=u("span",{class:"sr-only"},"Help",-1),zx=[$x,jx],Ux={class:"flex items-center flex-row-reverse gap-2 my-1"},qx=u("span",{class:"sr-only"},"Click to install",-1),Hx=u("span",{class:"sr-only"},"Reinstall binding",-1),Vx=u("span",{class:"sr-only"},"Settings",-1),Gx={class:""},Kx={class:""},Wx={class:"flex items-center"},Zx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Yx=u("b",null,"Author: ",-1),Qx={class:"flex items-center"},Jx=u("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Xx=u("b",null,"Folder: ",-1),ek={class:"flex items-center"},tk=u("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),nk=u("b",null,"Version: ",-1),sk={class:"flex items-center"},ok=u("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),rk=u("b",null,"Link: ",-1),ik=["href"],ak=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),lk=["title"];function ck(t,e,n,s,o,r){return A(),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",Lx,[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,Ix),u("h3",Px,V(n.binding.name),1),Fx,u("div",Bx,[n.selected?(A(),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"},zx)):B("",!0)])]),u("div",Ux,[n.binding.installed?B("",!0):(A(),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"},[we(" Install "),qx])),n.binding.installed?(A(),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"},[we(" Reinstall binding "),Hx])):B("",!0),n.selected?(A(),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"},[we(" Settings "),Vx])):B("",!0)]),u("div",Gx,[u("div",Kx,[u("div",Wx,[Zx,Yx,we(" "+V(n.binding.author),1)]),u("div",Qx,[Jx,Xx,we(" "+V(n.binding.folder),1)]),u("div",ek,[tk,nk,we(" "+V(n.binding.version),1)]),u("div",sk,[ok,rk,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,ik)])]),ak,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},V(n.binding.description),9,lk)])])],10,Dx)}const uk=Ve(Nx,[["render",ck]]),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 dk={type:"error",data:"parser error"},hk=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",fk=typeof ArrayBuffer=="function",pk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,$p=({type:t,data:e},n,s)=>hk&&e instanceof Blob?n?s(e):$u(e,s):fk&&(e instanceof ArrayBuffer||pk(e))?n?s(e):$u(new Blob([e]),s):s(Yt[t]+(e||"")),$u=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},ju="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",no=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),d=new Uint8Array(c);for(s=0;s>4,d[o++]=(i&15)<<4|a>>2,d[o++]=(a&3)<<6|l&63;return c},mk=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:_k(t.substring(1),e)}:hr[n]?t.length>1?{type:hr[n],data:t.substring(1)}:{type:hr[n]}:dk},_k=(t,e)=>{if(mk){const n=gk(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),bk=(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))})})},yk=(t,e)=>{const n=t.split(Up),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Hp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const wk=xt.setTimeout,xk=xt.clearTimeout;function ai(t,e){e.useNativeTimers?(t.setTimeoutFn=wk.bind(xt),t.clearTimeoutFn=xk.bind(xt)):(t.setTimeoutFn=xt.setTimeout.bind(xt),t.clearTimeoutFn=xt.clearTimeout.bind(xt))}const kk=1.33;function Ek(t){return typeof t=="string"?Ck(t):Math.ceil((t.byteLength||t.size)*kk)}function Ck(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class Ak 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,ai(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new Ak(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(""),rl=64,Sk={};let zu=0,Go=0,Uu;function qu(t){let e="";do e=Gp[t%rl]+e,t=Math.floor(t/rl);while(t>0);return e}function Kp(){const t=qu(+new Date);return t!==Uu?(zu=0,Uu=t):t+"."+qu(zu++)}for(;Go{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};yk(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,bk(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(),ai(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=Ok,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",Hu);else if(typeof addEventListener=="function"){const t="onpagehide"in xt?"pagehide":"unload";addEventListener(t,Hu,!1)}}function Hu(){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=xt.WebSocket||xt.MozWebSocket,Vu=!0,Dk="arraybuffer",Gu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Lk 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=Gu?{}: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=Vu&&!Gu?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||Dk,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{Vu&&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 Ik={websocket:Lk,polling:Nk},Pk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Fk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function il(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=Pk.exec(t||""),r={},i=14;for(;i--;)r[Fk[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=Bk(r,r.path),r.queryKey=$k(r,r.query),r}function Bk(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 $k(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Jp=class fs extends Xe{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=il(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=il(n.host).host),ai(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=Tk(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 Ik[e](s)}open(){let e;if(this.opts.rememberUpgrade&&fs.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;fs.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;fs.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",fs.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){fs.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Xp=Object.prototype.toString,qk=typeof Blob=="function"||typeof Blob<"u"&&Xp.call(Blob)==="[object BlobConstructor]",Hk=typeof File=="function"||typeof File<"u"&&Xp.call(File)==="[object FileConstructor]";function tc(t){return zk&&(t instanceof ArrayBuffer||Uk(t))||qk&&t instanceof Blob||Hk&&t instanceof File}function fr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Ie.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 Ie.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 Ie.EVENT:case Ie.BINARY_EVENT:this.onevent(e);break;case Ie.ACK:case Ie.BINARY_ACK:this.onack(e);break;case Ie.DISCONNECT:this.ondisconnect();break;case Ie.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:Ie.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:Ie.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}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 cl 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,ai(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||Yk;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=Rt(n,"open",function(){s.onopen(),e&&e()}),r=Rt(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(Rt(e,"ping",this.onping.bind(this)),Rt(e,"data",this.ondata.bind(this)),Rt(e,"error",this.onerror.bind(this)),Rt(e,"close",this.onclose.bind(this)),Rt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Qp(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new eg(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Js={};function pr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=jk(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 cl(s,e):(Js[o]||(Js[o]=new cl(s,e)),l=Js[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(pr,{Manager:cl,Socket:eg,io:pr,connect:pr});const Jk=void 0,je=new pr(Jk);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 Xk={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})}}},eE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},tE={class:"relative w-full max-w-md max-h-full"},nE={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},sE=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),oE=u("span",{class:"sr-only"},"Close modal",-1),rE=[sE,oE],iE={class:"p-4 text-center"},aE=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),lE={class:"p-4 text-center mx-auto mb-4"},cE=u("label",{class:"mr-2"},"Model path",-1);function uE(t,e,n,s,o,r){return o.show?(A(),S("div",eE,[u("div",tE,[u("div",nE,[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"},rE),u("div",iE,[aE,u("div",lE,[cE,ge(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),[[Re,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 dE=Ve(Xk,[["render",uE]]),hE={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{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()})}}},fE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},pE={class:"relative w-full max-w-md"},gE={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},mE={class:"flex flex-row flex-grow items-center m-2 p-1"},_E={class:"grow flex items-center"},bE=u("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),yE={class:"text-lg font-semibold select-none mr-2"},vE={class:"items-end"},wE=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),xE=u("span",{class:"sr-only"},"Close form modal",-1),kE=[wE,xE],EE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},CE={class:"px-2"},AE={key:0},SE={key:0},TE={class:"text-base font-semibold"},ME={key:0,class:"relative inline-flex"},OE=["onUpdate:modelValue"],RE=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),NE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},DE=["onUpdate:modelValue"],LE={key:1},IE={class:"text-base font-semibold"},PE={key:0,class:"relative inline-flex"},FE=["onUpdate:modelValue"],BE=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),$E={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},jE=["onUpdate:modelValue"],zE=["value","selected"],UE={key:1},qE={class:"text-base font-semibold"},HE={key:0,class:"relative inline-flex"},VE=["onUpdate:modelValue"],GE=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),KE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},WE=["onUpdate:modelValue"],ZE=["onUpdate:modelValue","min","max"],YE={key:2},QE={class:"mb-2 relative flex items-center gap-2"},JE={for:"default-checkbox",class:"text-base font-semibold"},XE=["onUpdate:modelValue"],e5={key:0,class:"relative inline-flex"},t5=["onUpdate:modelValue"],n5=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),s5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},o5={key:3},r5={class:"text-base font-semibold"},i5={key:0,class:"relative inline-flex"},a5=["onUpdate:modelValue"],l5=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),c5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},u5=["onUpdate:modelValue"],d5=u("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),h5={class:"flex flex-row flex-grow gap-3"},f5={class:"p-2 text-center grow"};function p5(t,e,n,s,o,r){return o.show?(A(),S("div",fE,[u("div",pE,[u("div",gE,[u("div",mE,[u("div",_E,[bE,u("h3",yE,V(o.title),1)]),u("div",vE,[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"},kE)])]),u("div",EE,[(A(!0),S(Ne,null,Ke(o.controls_array,(i,a)=>(A(),S("div",CE,[i.type=="str"?(A(),S("div",AE,[i.options?B("",!0):(A(),S("div",SE,[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",TE,V(i.name)+": ",1),i.help?(A(),S("label",ME,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,OE),[[Nt,i.isHelp]]),RE])):B("",!0)],2),i.isHelp?(A(),S("p",NE,V(i.help),1)):B("",!0),ge(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,DE),[[Re,i.value]])])),i.options?(A(),S("div",LE,[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",IE,V(i.name)+": ",1),i.help?(A(),S("label",PE,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,FE),[[Nt,i.isHelp]]),BE])):B("",!0)],2),i.isHelp?(A(),S("p",$E,V(i.help),1)):B("",!0),ge(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"},[(A(!0),S(Ne,null,Ke(i.options,l=>(A(),S("option",{value:l,selected:i.value===l},V(l),9,zE))),256))],8,jE),[[Wa,i.value]])])):B("",!0)])):B("",!0),i.type=="int"||i.type=="float"?(A(),S("div",UE,[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",qE,V(i.name)+": ",1),i.help?(A(),S("label",HE,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,VE),[[Nt,i.isHelp]]),GE])):B("",!0)],2),i.isHelp?(A(),S("p",KE,V(i.help),1)):B("",!0),ge(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,WE),[[Re,i.value]]),i.min!=null&&i.max!=null?ge((A(),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,ZE)),[[Re,i.value]]):B("",!0)])):B("",!0),i.type=="bool"?(A(),S("div",YE,[u("div",QE,[u("label",JE,V(i.name)+": ",1),ge(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,XE),[[Nt,i.value]]),i.help?(A(),S("label",e5,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,t5),[[Nt,i.isHelp]]),n5])):B("",!0)]),i.isHelp?(A(),S("p",s5,V(i.help),1)):B("",!0)])):B("",!0),i.type=="list"?(A(),S("div",o5,[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",r5,V(i.name)+": ",1),i.help?(A(),S("label",i5,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,a5),[[Nt,i.isHelp]]),l5])):B("",!0)],2),i.isHelp?(A(),S("p",c5,V(i.help),1)):B("",!0),ge(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,u5),[[Re,i.value]])])):B("",!0),d5]))),256)),u("div",h5,[u("div",f5,[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(hE,[["render",p5]]);const g5={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"}}},m5={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},_5={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},b5={class:"text-xl font-semibold mb-4"},y5={class:"h-48 overflow-y-auto"},v5=["onClick"],w5={class:"font-bold"},x5=u("br",null,null,-1),k5={class:"text-xs text-gray-500"},E5={class:"flex justify-end mt-4"},C5=["disabled"];function A5(t,e,n,s,o,r){return A(),nt(xo,{name:"fade"},{default:We(()=>[n.show?(A(),S("div",m5,[u("div",_5,[u("h2",b5,V(n.title),1),u("div",y5,[u("ul",null,[(A(!0),S(Ne,null,Ke(n.choices,(i,a)=>(A(),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",w5,V(i.name),1),x5,u("span",k5,V(this.formatSize(i.size)),1)],10,v5))),128))])]),u("div",E5,[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,C5)])])])):B("",!0)]),_:1})}const S5=Ve(g5,[["render",A5]]);const T5="/";Se.defaults.baseURL="/";const M5={components:{AddModelDialog:dE,MessageBox:Fp,YesNoDialog:av,ModelEntry:$w,PersonalityViewer:nx,Toast:ii,PersonalityEntry:Bp,BindingEntry:uk,UniversalForm:tg,ChoiceDialog:S5},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:T5,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&&(console.log("here"),this.audioVoices=speechSynthesis.getVoices(),console.log(this.audioVoices),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let t=this.currenModelToInstall;if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),je.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: +`);var T=0,q=!1;this.parse=function(G,be,me){if(typeof G!="string")throw new Error("Input must be a string");var ee=G.length,ve=M.length,Ee=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=I)return qe(!0)}else for(de=T,T++;;){if((de=G.indexOf(k,de+1))===-1)return me||te.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:H.length,index:T}),Ce();if(de===ee-1)return Ce(G.substring(T,de).replace(he,k));if(k!==Z||G[de+1]!==Z){if(k===Z||de===0||G[de-1]!==Z){Y!==-1&&Y=I)return 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 Ce();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 Ce(Je){return me||(Je===void 0&&(Je=G.substring(T)),X.push(Je),T=ee,oe(X),J&&Le()),qe()}function Pe(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 Le(){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:C,resume:C};if(D(M.userStep)){for(var Q=0;Qt.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,"
")}}},Pp=t=>(ns("data-v-3cb88319"),t=t(),ss(),t),N2={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},D2={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},L2=Pp(()=>u("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),I2={class:"list-disc pl-4"},P2={class:"text-xl font-bold mb-1"},F2=["innerHTML"],B2=Pp(()=>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 us."),u("p",null,[we("Discord link: "),u("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),$2={class:"mt-8"},j2=zs('

Credits

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

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

',3),z2=["href"];function U2(t,e,n,s,o,r){return A(),S("div",N2,[u("div",D2,[L2,u("ul",I2,[(A(!0),S(Ne,null,Ke(o.faqs,(i,a)=>(A(),S("li",{key:a},[u("h3",P2,V(i.question),1),u("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,F2)]))),128))])]),B2,u("div",$2,[j2,u("p",null,[we("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,z2),we(".")])])])}const q2=Ve(R2,[["render",U2],["__scopeId","data-v-3cb88319"]]);function Ht(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&rr.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):B("",!0)}const Fp=Ve(H2,[["render",Z2]]),Y2={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})}}},Q2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},J2={class:"relative w-full max-w-md max-h-full"},X2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},ev=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),tv=u("span",{class:"sr-only"},"Close modal",-1),nv=[ev,tv],sv={class:"p-4 text-center"},ov=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),rv={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function iv(t,e,n,s,o,r){return o.show?(A(),S("div",Q2,[u("div",J2,[u("div",X2,[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"},nv),u("div",sv,[ov,u("h3",rv,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 av=Ve(Y2,[["render",iv]]);const lv={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),cv={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},uv={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"},dv={class:"flex flex-row flex-grow items-center"},hv={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"},fv=Rn(()=>u("i",{"data-feather":"check"},null,-1)),pv=Rn(()=>u("span",{class:"sr-only"},"Check icon",-1)),gv=[fv,pv],mv={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"},_v=Rn(()=>u("i",{"data-feather":"x"},null,-1)),bv=Rn(()=>u("span",{class:"sr-only"},"Cross icon",-1)),yv=[_v,bv],vv=["title"],wv={class:"flex"},xv=["onClick"],kv=Rn(()=>u("span",{class:"sr-only"},"Copy message",-1)),Ev=Rn(()=>u("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),Cv=[kv,Ev],Av=["onClick"],Sv=Rn(()=>u("span",{class:"sr-only"},"Close",-1)),Tv=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)),Mv=[Sv,Tv];function Ov(t,e,n,s,o,r){return A(),S("div",cv,[Ae(Ut,{name:"toastItem",tag:"div"},{default:We(()=>[(A(!0),S(Ne,null,Ke(o.toastArr,i=>(A(),S("div",{key:i.id,class:"relative"},[u("div",uv,[u("div",dv,[xf(t.$slots,"default",{},()=>[i.success?(A(),S("div",hv,gv)):B("",!0),i.success?B("",!0):(A(),S("div",mv,yv)),u("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},V(i.message),9,vv)],!0)]),u("div",wv,[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"},Cv,8,xv),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"},Mv,8,Av)])])]))),128))]),_:3})])}const ii=Ve(lv,[["render",Ov],["__scopeId","data-v-3ffdabf3"]]),Cr="/assets/default_model-9e24e852.png",Rv={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()})}}},Nv=["title"],Dv={key:0,class:"flex flex-row"},Lv={class:"flex gap-3 items-center grow"},Iv=["src"],Pv={class:"font-bold font-large text-lg truncate"},Fv={key:1,class:"flex items-center flex-row gap-2 my-1"},Bv={class:"flex grow items-center"},$v=u("i",{"data-feather":"box",class:"w-5"},null,-1),jv=u("span",{class:"sr-only"},"Custom model / local model",-1),zv=[$v,jv],Uv=u("span",{class:"sr-only"},"Remove",-1),qv={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"},Hv={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Vv=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),Gv={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Kv={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Wv={class:"flex justify-between mb-1"},Zv=u("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),Yv={class:"text-sm font-medium text-blue-700 dark:text-white"},Qv={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Jv={class:"flex justify-between mb-1"},Xv={class:"text-base font-medium text-blue-700 dark:text-white"},ew={class:"text-sm font-medium text-blue-700 dark:text-white"},tw={class:"flex flex-grow"},nw={class:"flex flex-row flex-grow gap-3"},sw={class:"p-2 text-center grow"},ow={key:3},rw={class:"flex flex-row items-center gap-3"},iw=["src"],aw={class:"font-bold font-large text-lg truncate"},lw=u("div",{class:"grow"},null,-1),cw=u("div",{class:"flex-none gap-1"},null,-1),uw={class:"flex items-center flex-row-reverse gap-2 my-1"},dw=u("span",{class:"sr-only"},"Copy info",-1),hw={class:"flex flex-row items-center"},fw={key:0,class:"text-base text-red-600 flex items-center mt-1"},pw=u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),gw=u("span",{class:"sr-only"},"Click to install",-1),mw=u("span",{class:"sr-only"},"Remove",-1),_w=["title"],bw={class:""},yw={class:"flex flex-row items-center"},vw=u("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),ww=u("b",null,"Manual download: ",-1),xw=["href","title"],kw=u("div",{class:"grow"},null,-1),Ew=u("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Cw=[Ew],Aw={class:"flex items-center"},Sw=u("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Tw=u("b",null,"File size: ",-1),Mw={class:"flex items-center"},Ow=u("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Rw=u("b",null,"License: ",-1),Nw={class:"flex items-center"},Dw=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Lw=u("b",null,"Owner: ",-1),Iw=["href"],Pw=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Fw=["title"];function Bw(t,e,n,s,o,r){return A(),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?(A(),S("div",Dv,[u("div",Lv,[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,Iv),u("h3",Pv,V(n.title),1)])])):B("",!0),n.model.isCustomModel?(A(),S("div",Fv,[u("div",Bv,[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"]))},zv),we(" Custom model ")]),u("div",null,[n.model.isInstalled?(A(),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"},[we(" Uninstall "),Uv])):B("",!0)])])):B("",!0),o.installing?(A(),S("div",qv,[u("div",Hv,[Vv,u("div",Gv,[u("div",Kv,[u("div",Wv,[Zv,u("span",Yv,V(Math.floor(o.progress))+"%",1)]),u("div",Qv,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt({width:o.progress+"%"})},null,4)]),u("div",Jv,[u("span",Xv,"Download speed: "+V(r.speed_computed)+"/s",1),u("span",ew,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),u("div",tw,[u("div",nw,[u("div",sw,[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):(A(),S("div",ow,[u("div",rw,[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,iw),u("h3",aw,V(n.title),1),lw,cw]),u("div",uw,[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"},[we(" Copy info "),dw]),u("div",hw,[o.linkNotValid?(A(),S("div",fw,[pw,we(" Link is not valid ")])):B("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(A(),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"},[we(" Install "),gw])):B("",!0),n.model.isInstalled?(A(),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"},[we(" Uninstall "),mw])):B("",!0)]),u("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[u("div",bw,[u("div",yw,[vw,ww,u("a",{href:n.path,onClick:e[8]||(e[8]=ae(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," Click here to download ",8,xw),kw,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"]))},Cw)]),u("div",Aw,[u("div",{class:Te(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Sw,Tw,we(" "+V(r.fileSize),1)],2)]),u("div",Mw,[Ow,Rw,we(" "+V(n.license),1)]),u("div",Nw,[Dw,Lw,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,Iw)])]),Pw,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},V(n.description.replace(/<\/?[^>]+>/ig," ")),9,Fw)],8,_w)]))],10,Nv)}const $w=Ve(Rv,[["render",Bw]]),jw={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}}},zw={class:"p-4"},Uw={class:"flex items-center mb-4"},qw=["src"],Hw={class:"text-lg font-semibold"},Vw=u("strong",null,"Author:",-1),Gw=u("strong",null,"Description:",-1),Kw=u("strong",null,"Language:",-1),Ww=u("strong",null,"Category:",-1),Zw={key:0},Yw=u("strong",null,"Disclaimer:",-1),Qw=u("strong",null,"Conditioning Text:",-1),Jw=u("strong",null,"AI Prefix:",-1),Xw=u("strong",null,"User Prefix:",-1),ex=u("strong",null,"Antiprompts:",-1);function tx(t,e,n,s,o,r){return A(),S("div",zw,[u("div",Uw,[u("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,qw),u("h2",Hw,V(o.personalityName),1)]),u("p",null,[Vw,we(" "+V(o.personalityAuthor),1)]),u("p",null,[Gw,we(" "+V(o.personalityDescription),1)]),u("p",null,[Kw,we(" "+V(o.personalityLanguage),1)]),u("p",null,[Ww,we(" "+V(o.personalityCategory),1)]),o.disclaimer?(A(),S("p",Zw,[Yw,we(" "+V(o.disclaimer),1)])):B("",!0),u("p",null,[Qw,we(" "+V(o.conditioningText),1)]),u("p",null,[Jw,we(" "+V(o.aiPrefix),1)]),u("p",null,[Xw,we(" "+V(o.userPrefix),1)]),u("div",null,[ex,u("ul",null,[(A(!0),S(Ne,null,Ke(o.antipromptsList,i=>(A(),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?(A(),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 nx=Ve(jw,[["render",tx]]),Jn="/assets/logo-9d653710.svg",sx="/",ox={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 sx+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()})}}},rx=["title"],ix={class:"flex flex-row items-center flex-shrink-0 gap-3"},ax=["src"],lx={class:"font-bold font-large text-lg line-clamp-3"},cx=u("i",{"data-feather":"send",class:"w-5"},null,-1),ux=u("span",{class:"sr-only"},"Talk",-1),dx=[cx,ux],hx={class:"flex items-center flex-row-reverse gap-2 my-1"},fx=u("span",{class:"sr-only"},"Settings",-1),px=u("span",{class:"sr-only"},"Reinstall personality",-1),gx=u("span",{class:"sr-only"},"Click to install",-1),mx=u("span",{class:"sr-only"},"Remove",-1),_x={class:""},bx={class:""},yx={class:"flex items-center"},vx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),wx=u("b",null,"Author: ",-1),xx={class:"flex items-center"},kx=u("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Ex=u("b",null,"Language: ",-1),Cx={class:"flex items-center"},Ax=u("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Sx=u("b",null,"Category: ",-1),Tx=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),Mx=["title"];function Ox(t,e,n,s,o,r){return A(),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",ix,[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,ax),u("h3",lx,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"},dx)]),u("div",hx,[r.selected_computed?(A(),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"},[we(" Settings "),fx])):B("",!0),r.selected_computed?(A(),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"},[we(" Reinstall personality "),px])):B("",!0),o.isMounted?B("",!0):(A(),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"},[we(" Mount "),gx])),o.isMounted?(A(),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"},[we(" Unmount "),mx])):B("",!0)]),u("div",_x,[u("div",bx,[u("div",yx,[vx,wx,we(" "+V(n.personality.author),1)]),u("div",xx,[kx,Ex,we(" "+V(n.personality.language),1)]),u("div",Cx,[Ax,Sx,we(" "+V(n.personality.category),1)])]),Tx,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},V(n.personality.description),9,Mx)])],2)],10,rx)}const Bp=Ve(ox,[["render",Ox]]),Rx="/",Nx={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 Rx+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()})}}},Dx=["title"],Lx={class:"flex flex-row items-center gap-3"},Ix=["src"],Px={class:"font-bold font-large text-lg truncate"},Fx=u("div",{class:"grow"},null,-1),Bx={class:"flex-none gap-1"},$x=u("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),jx=u("span",{class:"sr-only"},"Help",-1),zx=[$x,jx],Ux={class:"flex items-center flex-row-reverse gap-2 my-1"},qx=u("span",{class:"sr-only"},"Click to install",-1),Hx=u("span",{class:"sr-only"},"Reinstall binding",-1),Vx=u("span",{class:"sr-only"},"Settings",-1),Gx={class:""},Kx={class:""},Wx={class:"flex items-center"},Zx=u("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Yx=u("b",null,"Author: ",-1),Qx={class:"flex items-center"},Jx=u("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Xx=u("b",null,"Folder: ",-1),ek={class:"flex items-center"},tk=u("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),nk=u("b",null,"Version: ",-1),sk={class:"flex items-center"},ok=u("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),rk=u("b",null,"Link: ",-1),ik=["href"],ak=u("div",{class:"flex items-center"},[u("i",{"data-feather":"info",class:"w-5 m-1"}),u("b",null,"Description: "),u("br")],-1),lk=["title"];function ck(t,e,n,s,o,r){return A(),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",Lx,[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,Ix),u("h3",Px,V(n.binding.name),1),Fx,u("div",Bx,[n.selected?(A(),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"},zx)):B("",!0)])]),u("div",Ux,[n.binding.installed?B("",!0):(A(),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"},[we(" Install "),qx])),n.binding.installed?(A(),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"},[we(" Reinstall binding "),Hx])):B("",!0),n.selected?(A(),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"},[we(" Settings "),Vx])):B("",!0)]),u("div",Gx,[u("div",Kx,[u("div",Wx,[Zx,Yx,we(" "+V(n.binding.author),1)]),u("div",Qx,[Jx,Xx,we(" "+V(n.binding.folder),1)]),u("div",ek,[tk,nk,we(" "+V(n.binding.version),1)]),u("div",sk,[ok,rk,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,ik)])]),ak,u("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},V(n.binding.description),9,lk)])])],10,Dx)}const uk=Ve(Nx,[["render",ck]]),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 dk={type:"error",data:"parser error"},hk=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",fk=typeof ArrayBuffer=="function",pk=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,$p=({type:t,data:e},n,s)=>hk&&e instanceof Blob?n?s(e):$u(e,s):fk&&(e instanceof ArrayBuffer||pk(e))?n?s(e):$u(new Blob([e]),s):s(Yt[t]+(e||"")),$u=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},ju="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",no=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),d=new Uint8Array(c);for(s=0;s>4,d[o++]=(i&15)<<4|a>>2,d[o++]=(a&3)<<6|l&63;return c},mk=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:_k(t.substring(1),e)}:hr[n]?t.length>1?{type:hr[n],data:t.substring(1)}:{type:hr[n]}:dk},_k=(t,e)=>{if(mk){const n=gk(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),bk=(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))})})},yk=(t,e)=>{const n=t.split(Up),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Hp(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const wk=xt.setTimeout,xk=xt.clearTimeout;function ai(t,e){e.useNativeTimers?(t.setTimeoutFn=wk.bind(xt),t.clearTimeoutFn=xk.bind(xt)):(t.setTimeoutFn=xt.setTimeout.bind(xt),t.clearTimeoutFn=xt.clearTimeout.bind(xt))}const kk=1.33;function Ek(t){return typeof t=="string"?Ck(t):Math.ceil((t.byteLength||t.size)*kk)}function Ck(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class Ak 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,ai(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new Ak(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(""),rl=64,Sk={};let zu=0,Go=0,Uu;function qu(t){let e="";do e=Gp[t%rl]+e,t=Math.floor(t/rl);while(t>0);return e}function Kp(){const t=qu(+new Date);return t!==Uu?(zu=0,Uu=t):t+"."+qu(zu++)}for(;Go{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};yk(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,bk(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(),ai(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=Ok,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",Hu);else if(typeof addEventListener=="function"){const t="onpagehide"in xt?"pagehide":"unload";addEventListener(t,Hu,!1)}}function Hu(){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=xt.WebSocket||xt.MozWebSocket,Vu=!0,Dk="arraybuffer",Gu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Lk 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=Gu?{}: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=Vu&&!Gu?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||Dk,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{Vu&&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 Ik={websocket:Lk,polling:Nk},Pk=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Fk=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function il(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=Pk.exec(t||""),r={},i=14;for(;i--;)r[Fk[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=Bk(r,r.path),r.queryKey=$k(r,r.query),r}function Bk(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 $k(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Jp=class fs extends Xe{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=il(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=il(n.host).host),ai(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=Tk(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 Ik[e](s)}open(){let e;if(this.opts.rememberUpgrade&&fs.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;fs.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;fs.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",fs.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():e()}):this.upgrading?s():e()),this}onError(e){fs.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Xp=Object.prototype.toString,qk=typeof Blob=="function"||typeof Blob<"u"&&Xp.call(Blob)==="[object BlobConstructor]",Hk=typeof File=="function"||typeof File<"u"&&Xp.call(File)==="[object FileConstructor]";function tc(t){return zk&&(t instanceof ArrayBuffer||Uk(t))||qk&&t instanceof Blob||Hk&&t instanceof File}function fr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Ie.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 Ie.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 Ie.EVENT:case Ie.BINARY_EVENT:this.onevent(e);break;case Ie.ACK:case Ie.BINARY_ACK:this.onack(e);break;case Ie.DISCONNECT:this.ondisconnect();break;case Ie.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:Ie.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:Ie.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}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 cl 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,ai(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||Yk;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=Rt(n,"open",function(){s.onopen(),e&&e()}),r=Rt(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(Rt(e,"ping",this.onping.bind(this)),Rt(e,"data",this.ondata.bind(this)),Rt(e,"error",this.onerror.bind(this)),Rt(e,"close",this.onclose.bind(this)),Rt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Qp(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new eg(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Js={};function pr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=jk(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 cl(s,e):(Js[o]||(Js[o]=new cl(s,e)),l=Js[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(pr,{Manager:cl,Socket:eg,io:pr,connect:pr});const Jk=void 0,je=new pr(Jk);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 Xk={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})}}},eE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},tE={class:"relative w-full max-w-md max-h-full"},nE={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},sE=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),oE=u("span",{class:"sr-only"},"Close modal",-1),rE=[sE,oE],iE={class:"p-4 text-center"},aE=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),lE={class:"p-4 text-center mx-auto mb-4"},cE=u("label",{class:"mr-2"},"Model path",-1);function uE(t,e,n,s,o,r){return o.show?(A(),S("div",eE,[u("div",tE,[u("div",nE,[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"},rE),u("div",iE,[aE,u("div",lE,[cE,ge(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),[[Re,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 dE=Ve(Xk,[["render",uE]]),hE={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{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()})}}},fE={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},pE={class:"relative w-full max-w-md"},gE={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},mE={class:"flex flex-row flex-grow items-center m-2 p-1"},_E={class:"grow flex items-center"},bE=u("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),yE={class:"text-lg font-semibold select-none mr-2"},vE={class:"items-end"},wE=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),xE=u("span",{class:"sr-only"},"Close form modal",-1),kE=[wE,xE],EE={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},CE={class:"px-2"},AE={key:0},SE={key:0},TE={class:"text-base font-semibold"},ME={key:0,class:"relative inline-flex"},OE=["onUpdate:modelValue"],RE=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),NE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},DE=["onUpdate:modelValue"],LE={key:1},IE={class:"text-base font-semibold"},PE={key:0,class:"relative inline-flex"},FE=["onUpdate:modelValue"],BE=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),$E={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},jE=["onUpdate:modelValue"],zE=["value","selected"],UE={key:1},qE={class:"text-base font-semibold"},HE={key:0,class:"relative inline-flex"},VE=["onUpdate:modelValue"],GE=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),KE={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},WE=["onUpdate:modelValue"],ZE=["onUpdate:modelValue","min","max"],YE={key:2},QE={class:"mb-2 relative flex items-center gap-2"},JE={for:"default-checkbox",class:"text-base font-semibold"},XE=["onUpdate:modelValue"],e5={key:0,class:"relative inline-flex"},t5=["onUpdate:modelValue"],n5=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),s5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},o5={key:3},r5={class:"text-base font-semibold"},i5={key:0,class:"relative inline-flex"},a5=["onUpdate:modelValue"],l5=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),c5={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},u5=["onUpdate:modelValue"],d5=u("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),h5={class:"flex flex-row flex-grow gap-3"},f5={class:"p-2 text-center grow"};function p5(t,e,n,s,o,r){return o.show?(A(),S("div",fE,[u("div",pE,[u("div",gE,[u("div",mE,[u("div",_E,[bE,u("h3",yE,V(o.title),1)]),u("div",vE,[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"},kE)])]),u("div",EE,[(A(!0),S(Ne,null,Ke(o.controls_array,(i,a)=>(A(),S("div",CE,[i.type=="str"?(A(),S("div",AE,[i.options?B("",!0):(A(),S("div",SE,[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",TE,V(i.name)+": ",1),i.help?(A(),S("label",ME,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,OE),[[Nt,i.isHelp]]),RE])):B("",!0)],2),i.isHelp?(A(),S("p",NE,V(i.help),1)):B("",!0),ge(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,DE),[[Re,i.value]])])),i.options?(A(),S("div",LE,[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",IE,V(i.name)+": ",1),i.help?(A(),S("label",PE,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,FE),[[Nt,i.isHelp]]),BE])):B("",!0)],2),i.isHelp?(A(),S("p",$E,V(i.help),1)):B("",!0),ge(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"},[(A(!0),S(Ne,null,Ke(i.options,l=>(A(),S("option",{value:l,selected:i.value===l},V(l),9,zE))),256))],8,jE),[[Wa,i.value]])])):B("",!0)])):B("",!0),i.type=="int"||i.type=="float"?(A(),S("div",UE,[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",qE,V(i.name)+": ",1),i.help?(A(),S("label",HE,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,VE),[[Nt,i.isHelp]]),GE])):B("",!0)],2),i.isHelp?(A(),S("p",KE,V(i.help),1)):B("",!0),ge(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,WE),[[Re,i.value]]),i.min!=null&&i.max!=null?ge((A(),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,ZE)),[[Re,i.value]]):B("",!0)])):B("",!0),i.type=="bool"?(A(),S("div",YE,[u("div",QE,[u("label",JE,V(i.name)+": ",1),ge(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,XE),[[Nt,i.value]]),i.help?(A(),S("label",e5,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,t5),[[Nt,i.isHelp]]),n5])):B("",!0)]),i.isHelp?(A(),S("p",s5,V(i.help),1)):B("",!0)])):B("",!0),i.type=="list"?(A(),S("div",o5,[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",r5,V(i.name)+": ",1),i.help?(A(),S("label",i5,[ge(u("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,a5),[[Nt,i.isHelp]]),l5])):B("",!0)],2),i.isHelp?(A(),S("p",c5,V(i.help),1)):B("",!0),ge(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,u5),[[Re,i.value]])])):B("",!0),d5]))),256)),u("div",h5,[u("div",f5,[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(hE,[["render",p5]]);const g5={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"}}},m5={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50"},_5={class:"bg-white dark:bg-gray-800 rounded-lg p-6 w-96"},b5={class:"text-xl font-semibold mb-4"},y5={class:"h-48 overflow-y-auto"},v5=["onClick"],w5={class:"font-bold"},x5=u("br",null,null,-1),k5={class:"text-xs text-gray-500"},E5={class:"flex justify-end mt-4"},C5=["disabled"];function A5(t,e,n,s,o,r){return A(),nt(xo,{name:"fade"},{default:We(()=>[n.show?(A(),S("div",m5,[u("div",_5,[u("h2",b5,V(n.title),1),u("div",y5,[u("ul",null,[(A(!0),S(Ne,null,Ke(n.choices,(i,a)=>(A(),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",w5,V(i.name),1),x5,u("span",k5,V(this.formatSize(i.size)),1)],10,v5))),128))])]),u("div",E5,[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,C5)])])])):B("",!0)]),_:1})}const S5=Ve(g5,[["render",A5]]);const T5="/";Se.defaults.baseURL="/";const M5={components:{AddModelDialog:dE,MessageBox:Fp,YesNoDialog:av,ModelEntry:$w,PersonalityViewer:nx,Toast:ii,PersonalityEntry:Bp,BindingEntry:uk,UniversalForm:tg,ChoiceDialog:S5},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:T5,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+` @@ -80,8 +80,8 @@ Response: 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}},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-22719428"),t=t(),ss(),t),O5={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},R5={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"},N5={key:0,class:"flex gap-3 flex-1 items-center duration-75"},D5=ce(()=>u("i",{"data-feather":"x"},null,-1)),L5=[D5],I5=ce(()=>u("i",{"data-feather":"check"},null,-1)),P5=[I5],F5={key:1,class:"flex gap-3 flex-1 items-center"},B5=ce(()=>u("i",{"data-feather":"save"},null,-1)),$5=[B5],j5=ce(()=>u("i",{"data-feather":"refresh-ccw"},null,-1)),z5=[j5],U5=ce(()=>u("i",{"data-feather":"list"},null,-1)),q5=[U5],H5={class:"flex gap-3 flex-1 items-center justify-end"},V5={class:"flex gap-3 items-center"},G5={key:0,class:"flex gap-3 items-center"},K5=ce(()=>u("i",{"data-feather":"check"},null,-1)),W5=[K5],Z5={key:1,role:"status"},Y5=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)),Q5=ce(()=>u("span",{class:"sr-only"},"Loading...",-1)),J5={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"},X5={class:"flex flex-row p-3"},e4=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),t4=[e4],n4=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),s4=[n4],o4=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),r4=ce(()=>u("div",{class:"mr-2"},"|",-1)),i4={class:"text-base font-semibold cursor-pointer select-none items-center"},a4={class:"flex gap-2 items-center"},l4={key:0},c4={class:"flex gap-2 items-center"},u4=["title"],d4=zs('',34),h4=[d4],f4={class:"font-bold font-large text-lg"},p4={key:1},g4={class:"flex gap-2 items-center"},m4=zs('',1),_4={class:"font-bold font-large text-lg"},b4=ce(()=>u("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),y4={class:"font-bold font-large text-lg"},v4=ce(()=>u("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),w4={class:"font-bold font-large text-lg"},x4={class:"mb-2"},k4=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"})]),we(" CPU Ram usage: ")],-1)),E4={class:"flex flex-col mx-2"},C4=ce(()=>u("b",null,"Avaliable ram: ",-1)),A4=ce(()=>u("b",null,"Ram usage: ",-1)),S4={class:"p-2"},T4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},M4={class:"mb-2"},O4=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"}),we(" Disk usage: ")],-1)),R4={class:"flex flex-col mx-2"},N4=ce(()=>u("b",null,"Avaliable disk space: ",-1)),D4=ce(()=>u("b",null,"Disk usage: ",-1)),L4={class:"p-2"},I4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},P4={class:"mb-2"},F4=zs('',1),B4={class:"flex flex-col mx-2"},$4=ce(()=>u("b",null,"Model: ",-1)),j4=ce(()=>u("b",null,"Avaliable vram: ",-1)),z4=ce(()=>u("b",null,"GPU usage: ",-1)),U4={class:"p-2"},q4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},H4={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"},V4={class:"flex flex-row p-3"},G4=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),K4=[G4],W4=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),Z4=[W4],Y4=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),Q4={style:{width:"100%"}},J4=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),X4=ce(()=>u("i",{"data-feather":"check"},null,-1)),eC=[X4],tC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),nC=ce(()=>u("i",{"data-feather":"check"},null,-1)),sC=[nC],oC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),rC={style:{width:"100%"}},iC=ce(()=>u("i",{"data-feather":"check"},null,-1)),aC=[iC],lC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),cC={style:{width:"100%"}},uC=ce(()=>u("i",{"data-feather":"check"},null,-1)),dC=[uC],hC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),fC={style:{width:"100%"}},pC={for:"avatar-upload"},gC=["src"],mC=ce(()=>u("i",{"data-feather":"check"},null,-1)),_C=[mC],bC=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)),yC=ce(()=>u("i",{"data-feather":"check"},null,-1)),vC=[yC],wC=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)),xC=["value"],kC=ce(()=>u("i",{"data-feather":"check"},null,-1)),EC=[kC],CC=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)),AC=["value"],SC=ce(()=>u("i",{"data-feather":"check"},null,-1)),TC=[SC],MC={class:"w-full"},OC={class:"w-full"},RC={key:0,class:"w-full"},NC=ce(()=>u("i",{"data-feather":"alert-circle"},null,-1)),DC={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"},LC={class:"flex flex-row p-3"},IC=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),PC=[IC],FC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),BC=[FC],$C=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),jC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},zC=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),UC={key:1,class:"mr-2"},qC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},HC={class:"flex gap-1 items-center"},VC=["src"],GC={class:"font-bold font-large text-lg line-clamp-1"},KC={key:0,class:"mb-2"},WC={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},ZC=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),YC=[ZC],QC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),JC=[QC],XC={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"},e8={class:"flex flex-row p-3"},t8=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),n8=[t8],s8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),o8=[s8],r8=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),i8={class:"flex flex-row items-center"},a8={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},l8=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),c8={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},u8=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),d8={key:2,class:"mr-2"},h8={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},f8={class:"flex gap-1 items-center"},p8=["src"],g8={class:"font-bold font-large text-lg line-clamp-1"},m8={class:"mx-2 mb-4"},_8={class:"relative"},b8={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},y8={key:0},v8=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)),w8=[v8],x8={key:1},k8=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)),E8=[k8],C8={key:0},A8={key:0,class:"mb-2"},S8={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},T8={key:1},M8={key:0,class:"mb-2"},O8={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},R8=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),N8=[R8],D8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),L8=[D8],I8={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"},P8={class:"flex flex-row p-3"},F8=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),B8=[F8],$8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),j8=[$8],z8=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),U8={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},q8=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),H8={key:1,class:"mr-2"},V8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},G8={class:"flex gap-1 items-center"},K8=["src"],W8={class:"font-bold font-large text-lg line-clamp-1"},Z8={class:"mb-2"},Y8={class:"p-2"},Q8={key:0},J8={class:"mb-3"},X8=ce(()=>u("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),e3={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},t3=ce(()=>u("div",{role:"status",class:"justify-center"},null,-1)),n3={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},s3={class:"w-full p-2"},o3={class:"flex justify-between mb-1"},r3=zs(' Downloading Loading...',1),i3={class:"text-sm font-medium text-blue-700 dark:text-white"},a3=["title"],l3={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},c3={class:"flex justify-between mb-1"},u3={class:"text-base font-medium text-blue-700 dark:text-white"},d3={class:"text-sm font-medium text-blue-700 dark:text-white"},h3={class:"flex flex-grow"},f3={class:"flex flex-row flex-grow gap-3"},p3={class:"p-2 text-center grow"},g3={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"},m3={class:"flex flex-row p-3 items-center"},_3=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),b3=[_3],y3=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),v3=[y3],w3=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),x3={key:0,class:"mr-2"},k3={class:"mr-2 font-bold font-large text-lg line-clamp-1"},E3={key:1,class:"mr-2"},C3={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},A3={key:0,class:"flex -space-x-4 items-center"},S3={class:"group items-center flex flex-row"},T3=["onClick"],M3=["src","title"],O3=["onClick"],R3=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)),N3=[R3],D3={class:"mx-2 mb-4"},L3=ce(()=>u("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),I3={class:"relative"},P3={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},F3={key:0},B3=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)),$3=[B3],j3={key:1},z3=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)),U3=[z3],q3={key:0,class:"mx-2 mb-4"},H3={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},V3=["selected"],G3={key:1,class:"mx-2 mb-4"},K3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},W3=["selected"],Z3={key:0,class:"mb-2"},Y3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Q3=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),J3=[Q3],X3=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),e9=[X3],t9={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"},n9={class:"flex flex-row"},s9=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),o9=[s9],r9=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),i9=[r9],a9=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),l9={class:"m-2"},c9={class:"flex flex-row gap-2 items-center"},u9=ce(()=>u("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),d9={class:"m-2"},h9=ce(()=>u("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),f9={class:"m-2"},p9={class:"flex flex-col align-bottom"},g9={class:"relative"},m9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),_9={class:"absolute right-0"},b9={class:"m-2"},y9={class:"flex flex-col align-bottom"},v9={class:"relative"},w9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),x9={class:"absolute right-0"},k9={class:"m-2"},E9={class:"flex flex-col align-bottom"},C9={class:"relative"},A9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),S9={class:"absolute right-0"},T9={class:"m-2"},M9={class:"flex flex-col align-bottom"},O9={class:"relative"},R9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),N9={class:"absolute right-0"},D9={class:"m-2"},L9={class:"flex flex-col align-bottom"},I9={class:"relative"},P9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),F9={class:"absolute right-0"},B9={class:"m-2"},$9={class:"flex flex-col align-bottom"},j9={class:"relative"},z9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),U9={class:"absolute right-0"};function q9(t,e,n,s,o,r){const i=rt("BindingEntry"),a=rt("model-entry"),l=rt("personality-entry"),c=rt("YesNoDialog"),d=rt("AddModelDialog"),h=rt("MessageBox"),f=rt("Toast"),g=rt("UniversalForm"),m=rt("ChoiceDialog");return A(),S(Ne,null,[u("div",O5,[u("div",R5,[o.showConfirmation?(A(),S("div",N5,[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"]))},L5),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"]))},P5)])):B("",!0),o.showConfirmation?B("",!0):(A(),S("div",F5,[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)},$5),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())},z5),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"]))},q5)])),u("div",H5,[u("div",V5,[o.settingsChanged?(A(),S("div",G5,[we(" Apply changes: "),o.isLoading?B("",!0):(A(),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"]))},W5))])):B("",!0),o.isLoading?(A(),S("div",Z5,[u("p",null,V(o.loading_text),1),Y5,Q5])):B("",!0)])])]),u("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[u("div",J5,[u("div",X5,[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"},[ge(u("div",null,t4,512),[[lt,o.sc_collapsed]]),ge(u("div",null,s4,512),[[lt,!o.sc_collapsed]]),o4,r4,u("div",i4,[u("div",a4,[u("div",null,[r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(A(),S("div",l4,[(A(!0),S(Ne,null,Ke(r.vramUsage.gpus,p=>(A(),S("div",c4,[(A(),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"},h4,8,u4)),u("h3",f4,[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?(A(),S("div",p4,[u("div",g4,[m4,u("h3",_4,[u("div",null,V(r.vramUsage.gpus.length)+"x ",1)])])])):B("",!0)]),b4,u("h3",y4,[u("div",null,V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+"%)",1)]),v4,u("h3",w4,[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",x4,[k4,u("div",E4,[u("div",null,[C4,we(V(r.ram_available_space),1)]),u("div",null,[A4,we(" "+V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+")% ",1)])]),u("div",S4,[u("div",T4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),u("div",M4,[O4,u("div",R4,[u("div",null,[N4,we(V(r.disk_available_space),1)]),u("div",null,[D4,we(" "+V(r.disk_binding_models_usage)+" / "+V(r.disk_total_space)+" ("+V(r.disk_percent_usage)+"%)",1)])]),u("div",L4,[u("div",I4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(A(!0),S(Ne,null,Ke(r.vramUsage.gpus,p=>(A(),S("div",P4,[F4,u("div",B4,[u("div",null,[$4,we(V(p.gpu_model),1)]),u("div",null,[j4,we(V(this.computedFileSize(p.available_space)),1)]),u("div",null,[z4,we(" "+V(this.computedFileSize(p.used_vram))+" / "+V(this.computedFileSize(p.total_vram))+" ("+V(p.percentage)+"%)",1)])]),u("div",U4,[u("div",q4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),u("div",H4,[u("div",V4,[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"},[ge(u("div",null,K4,512),[[lt,o.minconf_collapsed]]),ge(u("div",null,Z4,512),[[lt,!o.minconf_collapsed]]),Y4])]),u("div",{class:Te([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("table",Q4,[u("tr",null,[J4,u("td",null,[ge(u("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[8]||(e[8]=p=>r.enable_gpu=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Nt,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[9]||(e[9]=p=>r.update_setting("enable_gpu",r.enable_gpu))},eC)])]),u("tr",null,[tC,u("td",null,[ge(u("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[10]||(e[10]=p=>r.auto_update=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Nt,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[11]||(e[11]=p=>r.update_setting("auto_update",r.auto_update))},sC)])]),u("tr",null,[oC,u("td",rC,[ge(u("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[12]||(e[12]=p=>r.db_path=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Re,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[13]||(e[13]=p=>r.update_setting("db_path",r.db_path))},aC)])]),u("tr",null,[lC,u("td",cC,[ge(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),[[Re,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))},dC)])]),u("tr",null,[hC,u("td",fC,[u("label",pC,[u("img",{src:r.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,gC)]),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))},_C)])]),u("tr",null,[bC,u("td",null,[ge(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),[[Nt,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))},vC)])]),u("tr",null,[wC,u("td",null,[ge(u("select",{id:"audio_in_language","onUpdate:modelValue":e[20]||(e[20]=p=>r.audio_in_language=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(A(!0),S(Ne,null,Ke(r.audioLanguages,p=>(A(),S("option",{key:p.code,value:p.code},V(p.name),9,xC))),128))],512),[[Wa,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[21]||(e[21]=p=>r.update_setting("audio_in_language",r.audio_in_language))},EC)])]),u("tr",null,[CC,u("td",null,[ge(u("select",{id:"audio_out_voice","onUpdate:modelValue":e[22]||(e[22]=p=>r.audio_out_voice=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(A(!0),S(Ne,null,Ke(o.audioVoices,p=>(A(),S("option",{key:p.name,value:p.name},V(p.name),9,AC))),128))],512),[[Wa,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[23]||(e[23]=p=>r.update_setting("audio_out_voice",r.audio_out_voice))},TC)])])]),u("div",MC,[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[24]||(e[24]=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",OC,[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[25]||(e[25]=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 ")]),o.has_updates?(A(),S("div",RC,[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("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[we(" Upgrade program "),NC])])):B("",!0)],2)]),u("div",DC,[u("div",LC,[u("button",{onClick:e[27]||(e[27]=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"},[ge(u("div",null,PC,512),[[lt,o.bzc_collapsed]]),ge(u("div",null,BC,512),[[lt,!o.bzc_collapsed]]),$C,r.configFile.binding_name?B("",!0):(A(),S("div",jC,[zC,we(" No binding selected! ")])),r.configFile.binding_name?(A(),S("div",UC,"|")):B("",!0),r.configFile.binding_name?(A(),S("div",qC,[u("div",HC,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,VC),u("h3",GC,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?(A(),S("div",KC,[u("label",WC," 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"])},[Ae(Ut,{name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(r.bindingsArr,(p,b)=>(A(),nt(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):B("",!0),o.bzl_collapsed?(A(),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[28]||(e[28]=p=>o.bzl_collapsed=!o.bzl_collapsed)},YC)):(A(),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[29]||(e[29]=p=>o.bzl_collapsed=!o.bzl_collapsed)},JC))],2)]),u("div",XC,[u("div",e8,[u("button",{onClick:e[30]||(e[30]=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"},[ge(u("div",null,n8,512),[[lt,o.mzc_collapsed]]),ge(u("div",null,o8,512),[[lt,!o.mzc_collapsed]]),r8,u("div",i8,[r.configFile.binding_name?B("",!0):(A(),S("div",a8,[l8,we(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(A(),S("div",c8,[u8,we(" No model selected! ")])):B("",!0),r.configFile.model_name?(A(),S("div",d8,"|")):B("",!0),r.configFile.model_name?(A(),S("div",h8,[u("div",f8,[u("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,p8),u("h3",g8,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",m8,[u("form",null,[u("div",_8,[u("div",b8,[o.searchModelInProgress?(A(),S("div",y8,w8)):B("",!0),o.searchModelInProgress?B("",!0):(A(),S("div",x8,E8))]),ge(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[31]||(e[31]=p=>o.searchModel=p),onKeyup:e[32]||(e[32]=ae((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Re,o.searchModel]]),o.searchModel?(A(),S("button",{key:0,onClick:e[33]||(e[33]=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?(A(),S("div",C8,[o.modelsFiltered.length>0?(A(),S("div",A8,[u("label",S8," 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"])},[Ae(Ut,{name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(o.modelsFiltered,(p,b)=>(A(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):B("",!0)])):B("",!0),o.searchModel?B("",!0):(A(),S("div",T8,[r.models&&r.models.length>0?(A(),S("div",M8,[u("label",O8," 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"])},[Ae(Ut,{name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(r.models,(p,b)=>(A(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):B("",!0)])),o.mzl_collapsed?(A(),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[34]||(e[34]=(...p)=>r.open_mzl&&r.open_mzl(...p))},N8)):(A(),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[35]||(e[35]=(...p)=>r.open_mzl&&r.open_mzl(...p))},L8))],2)]),u("div",I8,[u("div",P8,[u("button",{onClick:e[36]||(e[36]=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"},[ge(u("div",null,B8,512),[[lt,o.mzdc_collapsed]]),ge(u("div",null,j8,512),[[lt,!o.mzdc_collapsed]]),z8,r.binding_name?B("",!0):(A(),S("div",U8,[q8,we(" No binding selected! ")])),r.configFile.binding_name?(A(),S("div",H8,"|")):B("",!0),r.configFile.binding_name?(A(),S("div",V8,[u("div",G8,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,K8),u("h3",W8,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",Z8,[u("div",Y8,[o.modelDownlaodInProgress?B("",!0):(A(),S("div",Q8,[u("div",J8,[X8,ge(u("input",{type:"text","onUpdate:modelValue":e[37]||(e[37]=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),[[Re,o.addModel.url]])]),u("button",{type:"button",onClick:e[38]||(e[38]=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?(A(),S("div",e3,[t3,u("div",n3,[u("div",s3,[u("div",o3,[r3,u("span",i3,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,a3),u("div",l3,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt({width:o.addModel.progress+"%"})},null,4)]),u("div",c3,[u("span",u3,"Download speed: "+V(r.speed_computed)+"/s",1),u("span",d3,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),u("div",h3,[u("div",f3,[u("div",p3,[u("button",{onClick:e[39]||(e[39]=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",g3,[u("div",m3,[u("button",{onClick:e[41]||(e[41]=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"},[ge(u("div",null,b3,512),[[lt,o.pzc_collapsed]]),ge(u("div",null,v3,512),[[lt,!o.pzc_collapsed]]),w3,r.configFile.personalities?(A(),S("div",x3,"|")):B("",!0),u("div",k3,V(r.active_pesonality),1),r.configFile.personalities?(A(),S("div",E3,"|")):B("",!0),r.configFile.personalities?(A(),S("div",C3,[r.mountedPersArr.length>0?(A(),S("div",A3,[(A(!0),S(Ne,null,Ke(r.mountedPersArr,(p,b)=>(A(),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",S3,[u("button",{onClick:ae(_=>r.onPersonalitySelected(p),["stop"])},[u("img",{src:o.bUrl+p.avatar,onError:e[40]||(e[40]=(..._)=>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,M3)],8,T3),u("button",{onClick:ae(_=>r.onPersonalityMounted(p),["stop"])},N3,8,O3)])]))),128))])):B("",!0)])):B("",!0)])]),u("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",D3,[u("form",null,[L3,u("div",I3,[u("div",P3,[o.searchPersonalityInProgress?(A(),S("div",F3,$3)):B("",!0),o.searchPersonalityInProgress?B("",!0):(A(),S("div",j3,U3))]),ge(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[42]||(e[42]=p=>o.searchPersonality=p),onKeyup:e[43]||(e[43]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(A(),S("button",{key:0,onClick:e[44]||(e[44]=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):(A(),S("div",q3,[u("label",H3," Personalities Languages: ("+V(o.persLangArr.length)+") ",1),u("select",{id:"persLang",onChange:e[45]||(e[45]=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"},[(A(!0),S(Ne,null,Ke(o.persLangArr,p=>(A(),S("option",{selected:p===this.configFile.personality_language},V(p),9,V3))),256))],32)])),o.searchPersonality?B("",!0):(A(),S("div",G3,[u("label",K3," Personalities Category: ("+V(o.persCatgArr.length)+") ",1),u("select",{id:"persCat",onChange:e[46]||(e[46]=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"},[(A(!0),S(Ne,null,Ke(o.persCatgArr,(p,b)=>(A(),S("option",{key:b,selected:p==this.configFile.personality_category},V(p),9,W3))),128))],32)])),u("div",null,[o.personalitiesFiltered.length>0?(A(),S("div",Z3,[u("label",Y3,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"])},[Ae(Ut,{name:"bounce"},{default:We(()=>[(A(!0),S(Ne,null,Ke(o.personalitiesFiltered,(p,b)=>(A(),nt(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+p.name,personality:p,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(_=>_===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):B("",!0)]),o.pzl_collapsed?(A(),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[47]||(e[47]=p=>o.pzl_collapsed=!o.pzl_collapsed)},J3)):(A(),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[48]||(e[48]=p=>o.pzl_collapsed=!o.pzl_collapsed)},e9))],2)]),u("div",t9,[u("div",n9,[u("button",{onClick:e[49]||(e[49]=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"},[ge(u("div",null,o9,512),[[lt,o.mc_collapsed]]),ge(u("div",null,i9,512),[[lt,!o.mc_collapsed]]),a9])]),u("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[u("div",l9,[u("div",c9,[ge(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[50]||(e[50]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[51]||(e[51]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[52]||(e[52]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[Nt,r.configFile.override_personality_model_parameters]]),u9])]),u("div",{class:Te(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[u("div",d9,[h9,ge(u("input",{type:"text",id:"seed","onUpdate:modelValue":e[53]||(e[53]=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),[[Re,r.configFile.seed]])]),u("div",f9,[u("div",p9,[u("div",g9,[m9,u("p",_9,[ge(u("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[54]||(e[54]=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),[[Re,r.configFile.temperature]])])]),ge(u("input",{id:"temperature",onChange:e[55]||(e[55]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[56]||(e[56]=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),[[Re,r.configFile.temperature]])])]),u("div",b9,[u("div",y9,[u("div",v9,[w9,u("p",x9,[ge(u("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[57]||(e[57]=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),[[Re,r.configFile.n_predict]])])]),ge(u("input",{id:"predict",onChange:e[58]||(e[58]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[59]||(e[59]=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),[[Re,r.configFile.n_predict]])])]),u("div",k9,[u("div",E9,[u("div",C9,[A9,u("p",S9,[ge(u("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[60]||(e[60]=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),[[Re,r.configFile.top_k]])])]),ge(u("input",{id:"top_k",onChange:e[61]||(e[61]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[62]||(e[62]=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),[[Re,r.configFile.top_k]])])]),u("div",T9,[u("div",M9,[u("div",O9,[R9,u("p",N9,[ge(u("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[63]||(e[63]=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),[[Re,r.configFile.top_p]])])]),ge(u("input",{id:"top_p",onChange:e[64]||(e[64]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[65]||(e[65]=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),[[Re,r.configFile.top_p]])])]),u("div",D9,[u("div",L9,[u("div",I9,[P9,u("p",F9,[ge(u("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[66]||(e[66]=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),[[Re,r.configFile.repeat_penalty]])])]),ge(u("input",{id:"repeat_penalty",onChange:e[67]||(e[67]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[68]||(e[68]=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),[[Re,r.configFile.repeat_penalty]])])]),u("div",B9,[u("div",$9,[u("div",j9,[z9,u("p",U9,[ge(u("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[69]||(e[69]=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),[[Re,r.configFile.repeat_last_n]])])]),ge(u("input",{id:"repeat_last_n",onChange:e[70]||(e[70]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[71]||(e[71]=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),[[Re,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ae(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ae(d,{ref:"addmodeldialog"},null,512),Ae(h,{ref:"messageBox"},null,512),Ae(f,{ref:"toast"},null,512),Ae(g,{ref:"universalForm",class:"z-20"},null,512),Ae(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 H9=Ve(M5,[["render",q9],["__scopeId","data-v-22719428"]]),V9={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)}}},G9={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"},K9={class:"mb-4"},W9=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Z9={class:"mb-4"},Y9=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),Q9={class:"mb-4"},J9=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),X9={class:"mt-2 text-xs"},eA={class:"mb-4"},tA=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),nA={class:"mb-4"},sA=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),iA={class:"mb-4"},aA=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),lA={class:"mb-4"},cA=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),uA=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function dA(t,e,n,s,o,r){return A(),S("div",G9,[u("form",{onSubmit:e[10]||(e[10]=ae((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[u("div",K9,[W9,ge(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),[[Re,o.model_name]])]),u("div",Z9,[Y9,ge(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),[[Re,o.tokenizer_name]])]),u("div",Q9,[J9,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",X9,"Selected File: "+V(o.selectedDatasetPath),1)]),u("div",eA,[tA,ge(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),[[Re,o.max_length,void 0,{number:!0}]])]),u("div",nA,[sA,ge(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),[[Re,o.batch_size,void 0,{number:!0}]])]),u("div",oA,[rA,ge(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),[[Re,o.lr,void 0,{number:!0}]])]),u("div",iA,[aA,ge(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),[[Re,o.num_epochs,void 0,{number:!0}]])]),u("div",lA,[cA,ge(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),[[Re,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")]),uA],32)])}const hA=Ve(V9,[["render",dA]]),fA={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)}}},pA={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"},gA={class:"mb-4"},mA=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),_A={class:"mb-4"},bA=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),yA={class:"mb-4"},vA=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),wA={class:"mt-2 text-xs"},xA={class:"mb-4"},kA=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),EA={class:"mb-4"},CA=u("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),AA={class:"mb-4"},SA=u("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),TA={class:"mb-4"},MA=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),OA={class:"mb-4"},RA=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),NA=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function DA(t,e,n,s,o,r){return A(),S("div",pA,[u("form",{onSubmit:e[10]||(e[10]=ae((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[u("div",gA,[mA,ge(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),[[Re,o.model_name]])]),u("div",_A,[bA,ge(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),[[Re,o.tokenizer_name]])]),u("div",yA,[vA,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",wA,"Selected File: "+V(o.selectedDatasetPath),1)]),u("div",xA,[kA,ge(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),[[Re,o.max_length,void 0,{number:!0}]])]),u("div",EA,[CA,ge(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),[[Re,o.batch_size,void 0,{number:!0}]])]),u("div",AA,[SA,ge(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),[[Re,o.lr,void 0,{number:!0}]])]),u("div",TA,[MA,ge(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),[[Re,o.num_epochs,void 0,{number:!0}]])]),u("div",OA,[RA,ge(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),[[Re,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")]),NA],32)])}const LA=Ve(fA,[["render",DA]]),IA={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}}},PA=["id"],FA={class:"flex flex-row items-center gap-2"},BA={key:0},$A=["title"],jA=["value"],zA={class:"flex items-center flex-1 max-h-6"},UA={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},qA=u("i",{"data-feather":"check"},null,-1),HA=[qA],VA=u("i",{"data-feather":"x"},null,-1),GA=[VA],KA={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},WA=u("i",{"data-feather":"x"},null,-1),ZA=[WA],YA=u("i",{"data-feather":"check"},null,-1),QA=[YA],JA={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},XA=u("i",{"data-feather":"edit-2"},null,-1),e6=[XA],t6=u("i",{"data-feather":"trash"},null,-1),n6=[t6];function s6(t,e,n,s,o,r){return A(),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",FA,[n.isCheckbox?(A(),S("div",BA,[ge(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),[[Nt,o.checkBoxValue_local]])])):B("",!0),n.selected?(A(),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):(A(),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):(A(),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,$A)),o.editTitle?(A(),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]=Za(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Za(ae(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=ae(()=>{},["stop"]))},null,40,jA)):B("",!0),u("div",zA,[o.showConfirmation&&!o.editTitleMode?(A(),S("div",UA,[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"]))},HA),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"]))},GA)])):B("",!0),o.showConfirmation&&o.editTitleMode?(A(),S("div",KA,[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"]))},ZA),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"]))},QA)])):B("",!0),o.showConfirmation?B("",!0):(A(),S("div",JA,[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"]))},e6),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"]))},n6)]))])],10,PA)}const ng=Ve(IA,[["render",s6]]);var ze={};const o6="Á",r6="á",i6="Ă",a6="ă",l6="∾",c6="∿",u6="∾̳",d6="Â",h6="â",f6="´",p6="А",g6="а",m6="Æ",_6="æ",b6="⁡",y6="𝔄",v6="𝔞",w6="À",x6="à",k6="ℵ",E6="ℵ",C6="Α",A6="α",S6="Ā",T6="ā",M6="⨿",O6="&",R6="&",N6="⩕",D6="⩓",L6="∧",I6="⩜",P6="⩘",F6="⩚",B6="∠",$6="⦤",j6="∠",z6="⦨",U6="⦩",q6="⦪",H6="⦫",V6="⦬",G6="⦭",K6="⦮",W6="⦯",Z6="∡",Y6="∟",Q6="⊾",J6="⦝",X6="∢",eS="Å",tS="⍼",nS="Ą",sS="ą",oS="𝔸",rS="𝕒",iS="⩯",aS="≈",lS="⩰",cS="≊",uS="≋",dS="'",hS="⁡",fS="≈",pS="≊",gS="Å",mS="å",_S="𝒜",bS="𝒶",yS="≔",vS="*",wS="≈",xS="≍",kS="Ã",ES="ã",CS="Ä",AS="ä",SS="∳",TS="⨑",MS="≌",OS="϶",RS="‵",NS="∽",DS="⋍",LS="∖",IS="⫧",PS="⊽",FS="⌅",BS="⌆",$S="⌅",jS="⎵",zS="⎶",US="≌",qS="Б",HS="б",VS="„",GS="∵",KS="∵",WS="∵",ZS="⦰",YS="϶",QS="ℬ",JS="ℬ",XS="Β",eT="β",tT="ℶ",nT="≬",sT="𝔅",oT="𝔟",rT="⋂",iT="◯",aT="⋃",lT="⨀",cT="⨁",uT="⨂",dT="⨆",hT="★",fT="▽",pT="△",gT="⨄",mT="⋁",_T="⋀",bT="⤍",yT="⧫",vT="▪",wT="▴",xT="▾",kT="◂",ET="▸",CT="␣",AT="▒",ST="░",TT="▓",MT="█",OT="=⃥",RT="≡⃥",NT="⫭",DT="⌐",LT="𝔹",IT="𝕓",PT="⊥",FT="⊥",BT="⋈",$T="⧉",jT="┐",zT="╕",UT="╖",qT="╗",HT="┌",VT="╒",GT="╓",KT="╔",WT="─",ZT="═",YT="┬",QT="╤",JT="╥",XT="╦",e7="┴",t7="╧",n7="╨",s7="╩",o7="⊟",r7="⊞",i7="⊠",a7="┘",l7="╛",c7="╜",u7="╝",d7="└",h7="╘",f7="╙",p7="╚",g7="│",m7="║",_7="┼",b7="╪",y7="╫",v7="╬",w7="┤",x7="╡",k7="╢",E7="╣",C7="├",A7="╞",S7="╟",T7="╠",M7="‵",O7="˘",R7="˘",N7="¦",D7="𝒷",L7="ℬ",I7="⁏",P7="∽",F7="⋍",B7="⧅",$7="\\",j7="⟈",z7="•",U7="•",q7="≎",H7="⪮",V7="≏",G7="≎",K7="≏",W7="Ć",Z7="ć",Y7="⩄",Q7="⩉",J7="⩋",X7="∩",eM="⋒",tM="⩇",nM="⩀",sM="ⅅ",oM="∩︀",rM="⁁",iM="ˇ",aM="ℭ",lM="⩍",cM="Č",uM="č",dM="Ç",hM="ç",fM="Ĉ",pM="ĉ",gM="∰",mM="⩌",_M="⩐",bM="Ċ",yM="ċ",vM="¸",wM="¸",xM="⦲",kM="¢",EM="·",CM="·",AM="𝔠",SM="ℭ",TM="Ч",MM="ч",OM="✓",RM="✓",NM="Χ",DM="χ",LM="ˆ",IM="≗",PM="↺",FM="↻",BM="⊛",$M="⊚",jM="⊝",zM="⊙",UM="®",qM="Ⓢ",HM="⊖",VM="⊕",GM="⊗",KM="○",WM="⧃",ZM="≗",YM="⨐",QM="⫯",JM="⧂",XM="∲",eO="”",tO="’",nO="♣",sO="♣",oO=":",rO="∷",iO="⩴",aO="≔",lO="≔",cO=",",uO="@",dO="∁",hO="∘",fO="∁",pO="ℂ",gO="≅",mO="⩭",_O="≡",bO="∮",yO="∯",vO="∮",wO="𝕔",xO="ℂ",kO="∐",EO="∐",CO="©",AO="©",SO="℗",TO="∳",MO="↵",OO="✗",RO="⨯",NO="𝒞",DO="𝒸",LO="⫏",IO="⫑",PO="⫐",FO="⫒",BO="⋯",$O="⤸",jO="⤵",zO="⋞",UO="⋟",qO="↶",HO="⤽",VO="⩈",GO="⩆",KO="≍",WO="∪",ZO="⋓",YO="⩊",QO="⊍",JO="⩅",XO="∪︀",eR="↷",tR="⤼",nR="⋞",sR="⋟",oR="⋎",rR="⋏",iR="¤",aR="↶",lR="↷",cR="⋎",uR="⋏",dR="∲",hR="∱",fR="⌭",pR="†",gR="‡",mR="ℸ",_R="↓",bR="↡",yR="⇓",vR="‐",wR="⫤",xR="⊣",kR="⤏",ER="˝",CR="Ď",AR="ď",SR="Д",TR="д",MR="‡",OR="⇊",RR="ⅅ",NR="ⅆ",DR="⤑",LR="⩷",IR="°",PR="∇",FR="Δ",BR="δ",$R="⦱",jR="⥿",zR="𝔇",UR="𝔡",qR="⥥",HR="⇃",VR="⇂",GR="´",KR="˙",WR="˝",ZR="`",YR="˜",QR="⋄",JR="⋄",XR="⋄",eN="♦",tN="♦",nN="¨",sN="ⅆ",oN="ϝ",rN="⋲",iN="÷",aN="÷",lN="⋇",cN="⋇",uN="Ђ",dN="ђ",hN="⌞",fN="⌍",pN="$",gN="𝔻",mN="𝕕",_N="¨",bN="˙",yN="⃜",vN="≐",wN="≑",xN="≐",kN="∸",EN="∔",CN="⊡",AN="⌆",SN="∯",TN="¨",MN="⇓",ON="⇐",RN="⇔",NN="⫤",DN="⟸",LN="⟺",IN="⟹",PN="⇒",FN="⊨",BN="⇑",$N="⇕",jN="∥",zN="⤓",UN="↓",qN="↓",HN="⇓",VN="⇵",GN="̑",KN="⇊",WN="⇃",ZN="⇂",YN="⥐",QN="⥞",JN="⥖",XN="↽",eD="⥟",tD="⥗",nD="⇁",sD="↧",oD="⊤",rD="⤐",iD="⌟",aD="⌌",lD="𝒟",cD="𝒹",uD="Ѕ",dD="ѕ",hD="⧶",fD="Đ",pD="đ",gD="⋱",mD="▿",_D="▾",bD="⇵",yD="⥯",vD="⦦",wD="Џ",xD="џ",kD="⟿",ED="É",CD="é",AD="⩮",SD="Ě",TD="ě",MD="Ê",OD="ê",RD="≖",ND="≕",DD="Э",LD="э",ID="⩷",PD="Ė",FD="ė",BD="≑",$D="ⅇ",jD="≒",zD="𝔈",UD="𝔢",qD="⪚",HD="È",VD="è",GD="⪖",KD="⪘",WD="⪙",ZD="∈",YD="⏧",QD="ℓ",JD="⪕",XD="⪗",eL="Ē",tL="ē",nL="∅",sL="∅",oL="◻",rL="∅",iL="▫",aL=" ",lL=" ",cL=" ",uL="Ŋ",dL="ŋ",hL=" ",fL="Ę",pL="ę",gL="𝔼",mL="𝕖",_L="⋕",bL="⧣",yL="⩱",vL="ε",wL="Ε",xL="ε",kL="ϵ",EL="≖",CL="≕",AL="≂",SL="⪖",TL="⪕",ML="⩵",OL="=",RL="≂",NL="≟",DL="⇌",LL="≡",IL="⩸",PL="⧥",FL="⥱",BL="≓",$L="ℯ",jL="ℰ",zL="≐",UL="⩳",qL="≂",HL="Η",VL="η",GL="Ð",KL="ð",WL="Ë",ZL="ë",YL="€",QL="!",JL="∃",XL="∃",eI="ℰ",tI="ⅇ",nI="ⅇ",sI="≒",oI="Ф",rI="ф",iI="♀",aI="ffi",lI="ff",cI="ffl",uI="𝔉",dI="𝔣",hI="fi",fI="◼",pI="▪",gI="fj",mI="♭",_I="fl",bI="▱",yI="ƒ",vI="𝔽",wI="𝕗",xI="∀",kI="∀",EI="⋔",CI="⫙",AI="ℱ",SI="⨍",TI="½",MI="⅓",OI="¼",RI="⅕",NI="⅙",DI="⅛",LI="⅔",II="⅖",PI="¾",FI="⅗",BI="⅜",$I="⅘",jI="⅚",zI="⅝",UI="⅞",qI="⁄",HI="⌢",VI="𝒻",GI="ℱ",KI="ǵ",WI="Γ",ZI="γ",YI="Ϝ",QI="ϝ",JI="⪆",XI="Ğ",eP="ğ",tP="Ģ",nP="Ĝ",sP="ĝ",oP="Г",rP="г",iP="Ġ",aP="ġ",lP="≥",cP="≧",uP="⪌",dP="⋛",hP="≥",fP="≧",pP="⩾",gP="⪩",mP="⩾",_P="⪀",bP="⪂",yP="⪄",vP="⋛︀",wP="⪔",xP="𝔊",kP="𝔤",EP="≫",CP="⋙",AP="⋙",SP="ℷ",TP="Ѓ",MP="ѓ",OP="⪥",RP="≷",NP="⪒",DP="⪤",LP="⪊",IP="⪊",PP="⪈",FP="≩",BP="⪈",$P="≩",jP="⋧",zP="𝔾",UP="𝕘",qP="`",HP="≥",VP="⋛",GP="≧",KP="⪢",WP="≷",ZP="⩾",YP="≳",QP="𝒢",JP="ℊ",XP="≳",eF="⪎",tF="⪐",nF="⪧",sF="⩺",oF=">",rF=">",iF="≫",aF="⋗",lF="⦕",cF="⩼",uF="⪆",dF="⥸",hF="⋗",fF="⋛",pF="⪌",gF="≷",mF="≳",_F="≩︀",bF="≩︀",yF="ˇ",vF=" ",wF="½",xF="ℋ",kF="Ъ",EF="ъ",CF="⥈",AF="↔",SF="⇔",TF="↭",MF="^",OF="ℏ",RF="Ĥ",NF="ĥ",DF="♥",LF="♥",IF="…",PF="⊹",FF="𝔥",BF="ℌ",$F="ℋ",jF="⤥",zF="⤦",UF="⇿",qF="∻",HF="↩",VF="↪",GF="𝕙",KF="ℍ",WF="―",ZF="─",YF="𝒽",QF="ℋ",JF="ℏ",XF="Ħ",eB="ħ",tB="≎",nB="≏",sB="⁃",oB="‐",rB="Í",iB="í",aB="⁣",lB="Î",cB="î",uB="И",dB="и",hB="İ",fB="Е",pB="е",gB="¡",mB="⇔",_B="𝔦",bB="ℑ",yB="Ì",vB="ì",wB="ⅈ",xB="⨌",kB="∭",EB="⧜",CB="℩",AB="IJ",SB="ij",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="⁣",XB="⁢",e$="Ё",t$="ё",n$="Į",s$="į",o$="𝕀",r$="𝕚",i$="Ι",a$="ι",l$="⨼",c$="¿",u$="𝒾",d$="ℐ",h$="∈",f$="⋵",p$="⋹",g$="⋴",m$="⋳",_$="∈",b$="⁢",y$="Ĩ",v$="ĩ",w$="І",x$="і",k$="Ï",E$="ï",C$="Ĵ",A$="ĵ",S$="Й",T$="й",M$="𝔍",O$="𝔧",R$="ȷ",N$="𝕁",D$="𝕛",L$="𝒥",I$="𝒿",P$="Ј",F$="ј",B$="Є",$$="є",j$="Κ",z$="κ",U$="ϰ",q$="Ķ",H$="ķ",V$="К",G$="к",K$="𝔎",W$="𝔨",Z$="ĸ",Y$="Х",Q$="х",J$="Ќ",X$="ќ",ej="𝕂",tj="𝕜",nj="𝒦",sj="𝓀",oj="⇚",rj="Ĺ",ij="ĺ",aj="⦴",lj="ℒ",cj="Λ",uj="λ",dj="⟨",hj="⟪",fj="⦑",pj="⟨",gj="⪅",mj="ℒ",_j="«",bj="⇤",yj="⤟",vj="←",wj="↞",xj="⇐",kj="⤝",Ej="↩",Cj="↫",Aj="⤹",Sj="⥳",Tj="↢",Mj="⤙",Oj="⤛",Rj="⪫",Nj="⪭",Dj="⪭︀",Lj="⤌",Ij="⤎",Pj="❲",Fj="{",Bj="[",$j="⦋",jj="⦏",zj="⦍",Uj="Ľ",qj="ľ",Hj="Ļ",Vj="ļ",Gj="⌈",Kj="{",Wj="Л",Zj="л",Yj="⤶",Qj="“",Jj="„",Xj="⥧",ez="⥋",tz="↲",nz="≤",sz="≦",oz="⟨",rz="⇤",iz="←",az="←",lz="⇐",cz="⇆",uz="↢",dz="⌈",hz="⟦",fz="⥡",pz="⥙",gz="⇃",mz="⌊",_z="↽",bz="↼",yz="⇇",vz="↔",wz="↔",xz="⇔",kz="⇆",Ez="⇋",Cz="↭",Az="⥎",Sz="↤",Tz="⊣",Mz="⥚",Oz="⋋",Rz="⧏",Nz="⊲",Dz="⊴",Lz="⥑",Iz="⥠",Pz="⥘",Fz="↿",Bz="⥒",$z="↼",jz="⪋",zz="⋚",Uz="≤",qz="≦",Hz="⩽",Vz="⪨",Gz="⩽",Kz="⩿",Wz="⪁",Zz="⪃",Yz="⋚︀",Qz="⪓",Jz="⪅",Xz="⋖",eU="⋚",tU="⪋",nU="⋚",sU="≦",oU="≶",rU="≶",iU="⪡",aU="≲",lU="⩽",cU="≲",uU="⥼",dU="⌊",hU="𝔏",fU="𝔩",pU="≶",gU="⪑",mU="⥢",_U="↽",bU="↼",yU="⥪",vU="▄",wU="Љ",xU="љ",kU="⇇",EU="≪",CU="⋘",AU="⌞",SU="⇚",TU="⥫",MU="◺",OU="Ŀ",RU="ŀ",NU="⎰",DU="⎰",LU="⪉",IU="⪉",PU="⪇",FU="≨",BU="⪇",$U="≨",jU="⋦",zU="⟬",UU="⇽",qU="⟦",HU="⟵",VU="⟵",GU="⟸",KU="⟷",WU="⟷",ZU="⟺",YU="⟼",QU="⟶",JU="⟶",XU="⟹",eq="↫",tq="↬",nq="⦅",sq="𝕃",oq="𝕝",rq="⨭",iq="⨴",aq="∗",lq="_",cq="↙",uq="↘",dq="◊",hq="◊",fq="⧫",pq="(",gq="⦓",mq="⇆",_q="⌟",bq="⇋",yq="⥭",vq="‎",wq="⊿",xq="‹",kq="𝓁",Eq="ℒ",Cq="↰",Aq="↰",Sq="≲",Tq="⪍",Mq="⪏",Oq="[",Rq="‘",Nq="‚",Dq="Ł",Lq="ł",Iq="⪦",Pq="⩹",Fq="<",Bq="<",$q="≪",jq="⋖",zq="⋋",Uq="⋉",qq="⥶",Hq="⩻",Vq="◃",Gq="⊴",Kq="◂",Wq="⦖",Zq="⥊",Yq="⥦",Qq="≨︀",Jq="≨︀",Xq="¯",eH="♂",tH="✠",nH="✠",sH="↦",oH="↦",rH="↧",iH="↤",aH="↥",lH="▮",cH="⨩",uH="М",dH="м",hH="—",fH="∺",pH="∡",gH=" ",mH="ℳ",_H="𝔐",bH="𝔪",yH="℧",vH="µ",wH="*",xH="⫰",kH="∣",EH="·",CH="⊟",AH="−",SH="∸",TH="⨪",MH="∓",OH="⫛",RH="…",NH="∓",DH="⊧",LH="𝕄",IH="𝕞",PH="∓",FH="𝓂",BH="ℳ",$H="∾",jH="Μ",zH="μ",UH="⊸",qH="⊸",HH="∇",VH="Ń",GH="ń",KH="∠⃒",WH="≉",ZH="⩰̸",YH="≋̸",QH="ʼn",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="​",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={Aacute:o6,aacute:r6,Abreve:i6,abreve:a6,ac:l6,acd:c6,acE:u6,Acirc:d6,acirc:h6,acute:f6,Acy:p6,acy:g6,AElig:m6,aelig:_6,af:b6,Afr:y6,afr:v6,Agrave:w6,agrave:x6,alefsym:k6,aleph:E6,Alpha:C6,alpha:A6,Amacr:S6,amacr:T6,amalg:M6,amp:O6,AMP:R6,andand:N6,And:D6,and:L6,andd:I6,andslope:P6,andv:F6,ang:B6,ange:$6,angle:j6,angmsdaa:z6,angmsdab:U6,angmsdac:q6,angmsdad:H6,angmsdae:V6,angmsdaf:G6,angmsdag:K6,angmsdah:W6,angmsd:Z6,angrt:Y6,angrtvb:Q6,angrtvbd:J6,angsph:X6,angst:eS,angzarr:tS,Aogon:nS,aogon:sS,Aopf:oS,aopf:rS,apacir:iS,ap:aS,apE:lS,ape:cS,apid:uS,apos:dS,ApplyFunction:hS,approx:fS,approxeq:pS,Aring:gS,aring:mS,Ascr:_S,ascr:bS,Assign:yS,ast:vS,asymp:wS,asympeq:xS,Atilde:kS,atilde:ES,Auml:CS,auml:AS,awconint:SS,awint:TS,backcong:MS,backepsilon:OS,backprime:RS,backsim:NS,backsimeq:DS,Backslash:LS,Barv:IS,barvee:PS,barwed:FS,Barwed:BS,barwedge:$S,bbrk:jS,bbrktbrk:zS,bcong:US,Bcy:qS,bcy:HS,bdquo:VS,becaus:GS,because:KS,Because:WS,bemptyv:ZS,bepsi:YS,bernou:QS,Bernoullis:JS,Beta:XS,beta:eT,beth:tT,between:nT,Bfr:sT,bfr:oT,bigcap:rT,bigcirc:iT,bigcup:aT,bigodot:lT,bigoplus:cT,bigotimes:uT,bigsqcup:dT,bigstar:hT,bigtriangledown:fT,bigtriangleup:pT,biguplus:gT,bigvee:mT,bigwedge:_T,bkarow:bT,blacklozenge:yT,blacksquare:vT,blacktriangle:wT,blacktriangledown:xT,blacktriangleleft:kT,blacktriangleright:ET,blank:CT,blk12:AT,blk14:ST,blk34:TT,block:MT,bne:OT,bnequiv:RT,bNot:NT,bnot:DT,Bopf:LT,bopf:IT,bot:PT,bottom:FT,bowtie:BT,boxbox:$T,boxdl:jT,boxdL:zT,boxDl:UT,boxDL:qT,boxdr:HT,boxdR:VT,boxDr:GT,boxDR:KT,boxh:WT,boxH:ZT,boxhd:YT,boxHd:QT,boxhD:JT,boxHD:XT,boxhu:e7,boxHu:t7,boxhU:n7,boxHU:s7,boxminus:o7,boxplus:r7,boxtimes:i7,boxul:a7,boxuL:l7,boxUl:c7,boxUL:u7,boxur:d7,boxuR:h7,boxUr:f7,boxUR:p7,boxv:g7,boxV:m7,boxvh:_7,boxvH:b7,boxVh:y7,boxVH:v7,boxvl:w7,boxvL:x7,boxVl:k7,boxVL:E7,boxvr:C7,boxvR:A7,boxVr:S7,boxVR:T7,bprime:M7,breve:O7,Breve:R7,brvbar:N7,bscr:D7,Bscr:L7,bsemi:I7,bsim:P7,bsime:F7,bsolb:B7,bsol:$7,bsolhsub:j7,bull:z7,bullet:U7,bump:q7,bumpE:H7,bumpe:V7,Bumpeq:G7,bumpeq:K7,Cacute:W7,cacute:Z7,capand:Y7,capbrcup:Q7,capcap:J7,cap:X7,Cap:eM,capcup:tM,capdot:nM,CapitalDifferentialD:sM,caps:oM,caret:rM,caron:iM,Cayleys:aM,ccaps:lM,Ccaron:cM,ccaron:uM,Ccedil:dM,ccedil:hM,Ccirc:fM,ccirc:pM,Cconint:gM,ccups:mM,ccupssm:_M,Cdot:bM,cdot:yM,cedil:vM,Cedilla:wM,cemptyv:xM,cent:kM,centerdot:EM,CenterDot:CM,cfr:AM,Cfr:SM,CHcy:TM,chcy:MM,check:OM,checkmark:RM,Chi:NM,chi:DM,circ:LM,circeq:IM,circlearrowleft:PM,circlearrowright:FM,circledast:BM,circledcirc:$M,circleddash:jM,CircleDot:zM,circledR:UM,circledS:qM,CircleMinus:HM,CirclePlus:VM,CircleTimes:GM,cir:KM,cirE:WM,cire:ZM,cirfnint:YM,cirmid:QM,cirscir:JM,ClockwiseContourIntegral:XM,CloseCurlyDoubleQuote:eO,CloseCurlyQuote:tO,clubs:nO,clubsuit:sO,colon:oO,Colon:rO,Colone:iO,colone:aO,coloneq:lO,comma:cO,commat:uO,comp:dO,compfn:hO,complement:fO,complexes:pO,cong:gO,congdot:mO,Congruent:_O,conint:bO,Conint:yO,ContourIntegral:vO,copf:wO,Copf:xO,coprod:kO,Coproduct:EO,copy:CO,COPY:AO,copysr:SO,CounterClockwiseContourIntegral:TO,crarr:MO,cross:OO,Cross:RO,Cscr:NO,cscr:DO,csub:LO,csube:IO,csup:PO,csupe:FO,ctdot:BO,cudarrl:$O,cudarrr:jO,cuepr:zO,cuesc:UO,cularr:qO,cularrp:HO,cupbrcap:VO,cupcap:GO,CupCap:KO,cup:WO,Cup:ZO,cupcup:YO,cupdot:QO,cupor:JO,cups:XO,curarr:eR,curarrm:tR,curlyeqprec:nR,curlyeqsucc:sR,curlyvee:oR,curlywedge:rR,curren:iR,curvearrowleft:aR,curvearrowright:lR,cuvee:cR,cuwed:uR,cwconint:dR,cwint:hR,cylcty:fR,dagger:pR,Dagger:gR,daleth:mR,darr:_R,Darr:bR,dArr:yR,dash:vR,Dashv:wR,dashv:xR,dbkarow:kR,dblac:ER,Dcaron:CR,dcaron:AR,Dcy:SR,dcy:TR,ddagger:MR,ddarr:OR,DD:RR,dd:NR,DDotrahd:DR,ddotseq:LR,deg:IR,Del:PR,Delta:FR,delta:BR,demptyv:$R,dfisht:jR,Dfr:zR,dfr:UR,dHar:qR,dharl:HR,dharr:VR,DiacriticalAcute:GR,DiacriticalDot:KR,DiacriticalDoubleAcute:WR,DiacriticalGrave:ZR,DiacriticalTilde:YR,diam:QR,diamond:JR,Diamond:XR,diamondsuit:eN,diams:tN,die:nN,DifferentialD:sN,digamma:oN,disin:rN,div:iN,divide:aN,divideontimes:lN,divonx:cN,DJcy:uN,djcy:dN,dlcorn:hN,dlcrop:fN,dollar:pN,Dopf:gN,dopf:mN,Dot:_N,dot:bN,DotDot:yN,doteq:vN,doteqdot:wN,DotEqual:xN,dotminus:kN,dotplus:EN,dotsquare:CN,doublebarwedge:AN,DoubleContourIntegral:SN,DoubleDot:TN,DoubleDownArrow:MN,DoubleLeftArrow:ON,DoubleLeftRightArrow:RN,DoubleLeftTee:NN,DoubleLongLeftArrow:DN,DoubleLongLeftRightArrow:LN,DoubleLongRightArrow:IN,DoubleRightArrow:PN,DoubleRightTee:FN,DoubleUpArrow:BN,DoubleUpDownArrow:$N,DoubleVerticalBar:jN,DownArrowBar:zN,downarrow:UN,DownArrow:qN,Downarrow:HN,DownArrowUpArrow:VN,DownBreve:GN,downdownarrows:KN,downharpoonleft:WN,downharpoonright:ZN,DownLeftRightVector:YN,DownLeftTeeVector:QN,DownLeftVectorBar:JN,DownLeftVector:XN,DownRightTeeVector:eD,DownRightVectorBar:tD,DownRightVector:nD,DownTeeArrow:sD,DownTee:oD,drbkarow:rD,drcorn:iD,drcrop:aD,Dscr:lD,dscr:cD,DScy:uD,dscy:dD,dsol:hD,Dstrok:fD,dstrok:pD,dtdot:gD,dtri:mD,dtrif:_D,duarr:bD,duhar:yD,dwangle:vD,DZcy:wD,dzcy:xD,dzigrarr:kD,Eacute:ED,eacute:CD,easter:AD,Ecaron:SD,ecaron:TD,Ecirc:MD,ecirc:OD,ecir:RD,ecolon:ND,Ecy:DD,ecy:LD,eDDot:ID,Edot:PD,edot:FD,eDot:BD,ee:$D,efDot:jD,Efr:zD,efr:UD,eg:qD,Egrave:HD,egrave:VD,egs:GD,egsdot:KD,el:WD,Element:ZD,elinters:YD,ell:QD,els:JD,elsdot:XD,Emacr:eL,emacr:tL,empty:nL,emptyset:sL,EmptySmallSquare:oL,emptyv:rL,EmptyVerySmallSquare:iL,emsp13:aL,emsp14:lL,emsp:cL,ENG:uL,eng:dL,ensp:hL,Eogon:fL,eogon:pL,Eopf:gL,eopf:mL,epar:_L,eparsl:bL,eplus:yL,epsi:vL,Epsilon:wL,epsilon:xL,epsiv:kL,eqcirc:EL,eqcolon:CL,eqsim:AL,eqslantgtr:SL,eqslantless:TL,Equal:ML,equals:OL,EqualTilde:RL,equest:NL,Equilibrium:DL,equiv:LL,equivDD:IL,eqvparsl:PL,erarr:FL,erDot:BL,escr:$L,Escr:jL,esdot:zL,Esim:UL,esim:qL,Eta:HL,eta:VL,ETH:GL,eth:KL,Euml:WL,euml:ZL,euro:YL,excl:QL,exist:JL,Exists:XL,expectation:eI,exponentiale:tI,ExponentialE:nI,fallingdotseq:sI,Fcy:oI,fcy:rI,female:iI,ffilig:aI,fflig:lI,ffllig:cI,Ffr:uI,ffr:dI,filig:hI,FilledSmallSquare:fI,FilledVerySmallSquare:pI,fjlig:gI,flat:mI,fllig:_I,fltns:bI,fnof:yI,Fopf:vI,fopf:wI,forall:xI,ForAll:kI,fork:EI,forkv:CI,Fouriertrf:AI,fpartint:SI,frac12:TI,frac13:MI,frac14:OI,frac15:RI,frac16:NI,frac18:DI,frac23:LI,frac25:II,frac34:PI,frac35:FI,frac38:BI,frac45:$I,frac56:jI,frac58:zI,frac78:UI,frasl:qI,frown:HI,fscr:VI,Fscr:GI,gacute:KI,Gamma:WI,gamma:ZI,Gammad:YI,gammad:QI,gap:JI,Gbreve:XI,gbreve:eP,Gcedil:tP,Gcirc:nP,gcirc:sP,Gcy:oP,gcy:rP,Gdot:iP,gdot:aP,ge:lP,gE:cP,gEl:uP,gel:dP,geq:hP,geqq:fP,geqslant:pP,gescc:gP,ges:mP,gesdot:_P,gesdoto:bP,gesdotol:yP,gesl:vP,gesles:wP,Gfr:xP,gfr:kP,gg:EP,Gg:CP,ggg:AP,gimel:SP,GJcy:TP,gjcy:MP,gla:OP,gl:RP,glE:NP,glj:DP,gnap:LP,gnapprox:IP,gne:PP,gnE:FP,gneq:BP,gneqq:$P,gnsim:jP,Gopf:zP,gopf:UP,grave:qP,GreaterEqual:HP,GreaterEqualLess:VP,GreaterFullEqual:GP,GreaterGreater:KP,GreaterLess:WP,GreaterSlantEqual:ZP,GreaterTilde:YP,Gscr:QP,gscr:JP,gsim:XP,gsime:eF,gsiml:tF,gtcc:nF,gtcir:sF,gt:oF,GT:rF,Gt:iF,gtdot:aF,gtlPar:lF,gtquest:cF,gtrapprox:uF,gtrarr:dF,gtrdot:hF,gtreqless:fF,gtreqqless:pF,gtrless:gF,gtrsim:mF,gvertneqq:_F,gvnE:bF,Hacek:yF,hairsp:vF,half:wF,hamilt:xF,HARDcy:kF,hardcy:EF,harrcir:CF,harr:AF,hArr:SF,harrw:TF,Hat:MF,hbar:OF,Hcirc:RF,hcirc:NF,hearts:DF,heartsuit:LF,hellip:IF,hercon:PF,hfr:FF,Hfr:BF,HilbertSpace:$F,hksearow:jF,hkswarow:zF,hoarr:UF,homtht:qF,hookleftarrow:HF,hookrightarrow:VF,hopf:GF,Hopf:KF,horbar:WF,HorizontalLine:ZF,hscr:YF,Hscr:QF,hslash:JF,Hstrok:XF,hstrok:eB,HumpDownHump:tB,HumpEqual:nB,hybull:sB,hyphen:oB,Iacute:rB,iacute:iB,ic:aB,Icirc:lB,icirc:cB,Icy:uB,icy:dB,Idot:hB,IEcy:fB,iecy:pB,iexcl:gB,iff:mB,ifr:_B,Ifr:bB,Igrave:yB,igrave:vB,ii:wB,iiiint:xB,iiint:kB,iinfin:EB,iiota:CB,IJlig:AB,ijlig:SB,Imacr:TB,imacr:MB,image:OB,ImaginaryI:RB,imagline:NB,imagpart:DB,imath:LB,Im:IB,imof:PB,imped:FB,Implies:BB,incare:$B,in:"∈",infin:jB,infintie:zB,inodot:UB,intcal:qB,int:HB,Int:VB,integers:GB,Integral:KB,intercal:WB,Intersection:ZB,intlarhk:YB,intprod:QB,InvisibleComma:JB,InvisibleTimes:XB,IOcy:e$,iocy:t$,Iogon:n$,iogon:s$,Iopf:o$,iopf:r$,Iota:i$,iota:a$,iprod:l$,iquest:c$,iscr:u$,Iscr:d$,isin:h$,isindot:f$,isinE:p$,isins:g$,isinsv:m$,isinv:_$,it:b$,Itilde:y$,itilde:v$,Iukcy:w$,iukcy:x$,Iuml:k$,iuml:E$,Jcirc:C$,jcirc:A$,Jcy:S$,jcy:T$,Jfr:M$,jfr:O$,jmath:R$,Jopf:N$,jopf:D$,Jscr:L$,jscr:I$,Jsercy:P$,jsercy:F$,Jukcy:B$,jukcy:$$,Kappa:j$,kappa:z$,kappav:U$,Kcedil:q$,kcedil:H$,Kcy:V$,kcy:G$,Kfr:K$,kfr:W$,kgreen:Z$,KHcy:Y$,khcy:Q$,KJcy:J$,kjcy:X$,Kopf:ej,kopf:tj,Kscr:nj,kscr:sj,lAarr:oj,Lacute:rj,lacute:ij,laemptyv:aj,lagran:lj,Lambda:cj,lambda:uj,lang:dj,Lang:hj,langd:fj,langle:pj,lap:gj,Laplacetrf:mj,laquo:_j,larrb:bj,larrbfs:yj,larr:vj,Larr:wj,lArr:xj,larrfs:kj,larrhk:Ej,larrlp:Cj,larrpl:Aj,larrsim:Sj,larrtl:Tj,latail:Mj,lAtail:Oj,lat:Rj,late:Nj,lates:Dj,lbarr:Lj,lBarr:Ij,lbbrk:Pj,lbrace:Fj,lbrack:Bj,lbrke:$j,lbrksld:jj,lbrkslu:zj,Lcaron:Uj,lcaron:qj,Lcedil:Hj,lcedil:Vj,lceil:Gj,lcub:Kj,Lcy:Wj,lcy:Zj,ldca:Yj,ldquo:Qj,ldquor:Jj,ldrdhar:Xj,ldrushar:ez,ldsh:tz,le:nz,lE:sz,LeftAngleBracket:oz,LeftArrowBar:rz,leftarrow:iz,LeftArrow:az,Leftarrow:lz,LeftArrowRightArrow:cz,leftarrowtail:uz,LeftCeiling:dz,LeftDoubleBracket:hz,LeftDownTeeVector:fz,LeftDownVectorBar:pz,LeftDownVector:gz,LeftFloor:mz,leftharpoondown:_z,leftharpoonup:bz,leftleftarrows:yz,leftrightarrow:vz,LeftRightArrow:wz,Leftrightarrow:xz,leftrightarrows:kz,leftrightharpoons:Ez,leftrightsquigarrow:Cz,LeftRightVector:Az,LeftTeeArrow:Sz,LeftTee:Tz,LeftTeeVector:Mz,leftthreetimes:Oz,LeftTriangleBar:Rz,LeftTriangle:Nz,LeftTriangleEqual:Dz,LeftUpDownVector:Lz,LeftUpTeeVector:Iz,LeftUpVectorBar:Pz,LeftUpVector:Fz,LeftVectorBar:Bz,LeftVector:$z,lEg:jz,leg:zz,leq:Uz,leqq:qz,leqslant:Hz,lescc:Vz,les:Gz,lesdot:Kz,lesdoto:Wz,lesdotor:Zz,lesg:Yz,lesges:Qz,lessapprox:Jz,lessdot:Xz,lesseqgtr:eU,lesseqqgtr:tU,LessEqualGreater:nU,LessFullEqual:sU,LessGreater:oU,lessgtr:rU,LessLess:iU,lesssim:aU,LessSlantEqual:lU,LessTilde:cU,lfisht:uU,lfloor:dU,Lfr:hU,lfr:fU,lg:pU,lgE:gU,lHar:mU,lhard:_U,lharu:bU,lharul:yU,lhblk:vU,LJcy:wU,ljcy:xU,llarr:kU,ll:EU,Ll:CU,llcorner:AU,Lleftarrow:SU,llhard:TU,lltri:MU,Lmidot:OU,lmidot:RU,lmoustache:NU,lmoust:DU,lnap:LU,lnapprox:IU,lne:PU,lnE:FU,lneq:BU,lneqq:$U,lnsim:jU,loang:zU,loarr:UU,lobrk:qU,longleftarrow:HU,LongLeftArrow:VU,Longleftarrow:GU,longleftrightarrow:KU,LongLeftRightArrow:WU,Longleftrightarrow:ZU,longmapsto:YU,longrightarrow:QU,LongRightArrow:JU,Longrightarrow:XU,looparrowleft:eq,looparrowright:tq,lopar:nq,Lopf:sq,lopf:oq,loplus:rq,lotimes:iq,lowast:aq,lowbar:lq,LowerLeftArrow:cq,LowerRightArrow:uq,loz:dq,lozenge:hq,lozf:fq,lpar:pq,lparlt:gq,lrarr:mq,lrcorner:_q,lrhar:bq,lrhard:yq,lrm:vq,lrtri:wq,lsaquo:xq,lscr:kq,Lscr:Eq,lsh:Cq,Lsh:Aq,lsim:Sq,lsime:Tq,lsimg:Mq,lsqb:Oq,lsquo:Rq,lsquor:Nq,Lstrok:Dq,lstrok:Lq,ltcc:Iq,ltcir:Pq,lt:Fq,LT:Bq,Lt:$q,ltdot:jq,lthree:zq,ltimes:Uq,ltlarr:qq,ltquest:Hq,ltri:Vq,ltrie:Gq,ltrif:Kq,ltrPar:Wq,lurdshar:Zq,luruhar:Yq,lvertneqq:Qq,lvnE:Jq,macr:Xq,male:eH,malt:tH,maltese:nH,Map:"⤅",map:sH,mapsto:oH,mapstodown:rH,mapstoleft:iH,mapstoup:aH,marker:lH,mcomma:cH,Mcy:uH,mcy:dH,mdash:hH,mDDot:fH,measuredangle:pH,MediumSpace:gH,Mellintrf:mH,Mfr:_H,mfr:bH,mho:yH,micro:vH,midast:wH,midcir:xH,mid:kH,middot:EH,minusb:CH,minus:AH,minusd:SH,minusdu:TH,MinusPlus:MH,mlcp:OH,mldr:RH,mnplus:NH,models:DH,Mopf:LH,mopf:IH,mp:PH,mscr:FH,Mscr:BH,mstpos:$H,Mu:jH,mu:zH,multimap:UH,mumap:qH,nabla:HH,Nacute:VH,nacute:GH,nang:KH,nap:WH,napE:ZH,napid:YH,napos:QH,napprox:JH,natural:XH,naturals:eV,natur:tV,nbsp:nV,nbump:sV,nbumpe:oV,ncap:rV,Ncaron:iV,ncaron:aV,Ncedil:lV,ncedil:cV,ncong:uV,ncongdot:dV,ncup:hV,Ncy:fV,ncy:pV,ndash:gV,nearhk:mV,nearr:_V,neArr:bV,nearrow:yV,ne:vV,nedot:wV,NegativeMediumSpace:xV,NegativeThickSpace:kV,NegativeThinSpace:EV,NegativeVeryThinSpace:CV,nequiv:AV,nesear:SV,nesim:TV,NestedGreaterGreater:MV,NestedLessLess:OV,NewLine:RV,nexist:NV,nexists:DV,Nfr:LV,nfr:IV,ngE:PV,nge:FV,ngeq:BV,ngeqq:$V,ngeqslant:jV,nges:zV,nGg:UV,ngsim:qV,nGt:HV,ngt:VV,ngtr:GV,nGtv:KV,nharr:WV,nhArr:ZV,nhpar:YV,ni:QV,nis:JV,nisd:XV,niv:eG,NJcy:tG,njcy:nG,nlarr:sG,nlArr:oG,nldr:rG,nlE:iG,nle:aG,nleftarrow:lG,nLeftarrow:cG,nleftrightarrow:uG,nLeftrightarrow:dG,nleq:hG,nleqq:fG,nleqslant:pG,nles:gG,nless:mG,nLl:_G,nlsim:bG,nLt:yG,nlt:vG,nltri:wG,nltrie:xG,nLtv:kG,nmid:EG,NoBreak:CG,NonBreakingSpace:AG,nopf:SG,Nopf:TG,Not:MG,not:OG,NotCongruent:RG,NotCupCap:NG,NotDoubleVerticalBar:DG,NotElement:LG,NotEqual:IG,NotEqualTilde:PG,NotExists:FG,NotGreater:BG,NotGreaterEqual:$G,NotGreaterFullEqual:jG,NotGreaterGreater:zG,NotGreaterLess:UG,NotGreaterSlantEqual:qG,NotGreaterTilde:HG,NotHumpDownHump:VG,NotHumpEqual:GG,notin:KG,notindot:WG,notinE:ZG,notinva:YG,notinvb:QG,notinvc:JG,NotLeftTriangleBar:XG,NotLeftTriangle:eK,NotLeftTriangleEqual:tK,NotLess:nK,NotLessEqual:sK,NotLessGreater:oK,NotLessLess:rK,NotLessSlantEqual:iK,NotLessTilde:aK,NotNestedGreaterGreater:lK,NotNestedLessLess:cK,notni:uK,notniva:dK,notnivb:hK,notnivc:fK,NotPrecedes:pK,NotPrecedesEqual:gK,NotPrecedesSlantEqual:mK,NotReverseElement:_K,NotRightTriangleBar:bK,NotRightTriangle:yK,NotRightTriangleEqual:vK,NotSquareSubset:wK,NotSquareSubsetEqual:xK,NotSquareSuperset:kK,NotSquareSupersetEqual:EK,NotSubset:CK,NotSubsetEqual:AK,NotSucceeds:SK,NotSucceedsEqual:TK,NotSucceedsSlantEqual:MK,NotSucceedsTilde:OK,NotSuperset:RK,NotSupersetEqual:NK,NotTilde:DK,NotTildeEqual:LK,NotTildeFullEqual:IK,NotTildeTilde:PK,NotVerticalBar:FK,nparallel:BK,npar:$K,nparsl:jK,npart:zK,npolint:UK,npr:qK,nprcue:HK,nprec:VK,npreceq:GK,npre:KK,nrarrc:WK,nrarr:ZK,nrArr:YK,nrarrw:QK,nrightarrow:JK,nRightarrow:XK,nrtri:eW,nrtrie:tW,nsc:nW,nsccue:sW,nsce:oW,Nscr:rW,nscr:iW,nshortmid:aW,nshortparallel:lW,nsim:cW,nsime:uW,nsimeq:dW,nsmid:hW,nspar:fW,nsqsube:pW,nsqsupe:gW,nsub:mW,nsubE:_W,nsube:bW,nsubset:yW,nsubseteq:vW,nsubseteqq:wW,nsucc:xW,nsucceq:kW,nsup:EW,nsupE:CW,nsupe:AW,nsupset:SW,nsupseteq:TW,nsupseteqq:MW,ntgl:OW,Ntilde:RW,ntilde:NW,ntlg:DW,ntriangleleft:LW,ntrianglelefteq:IW,ntriangleright:PW,ntrianglerighteq:FW,Nu:BW,nu:$W,num:jW,numero:zW,numsp:UW,nvap:qW,nvdash:HW,nvDash:VW,nVdash:GW,nVDash:KW,nvge:WW,nvgt:ZW,nvHarr:YW,nvinfin:QW,nvlArr:JW,nvle:XW,nvlt:eZ,nvltrie:tZ,nvrArr:nZ,nvrtrie:sZ,nvsim:oZ,nwarhk:rZ,nwarr:iZ,nwArr:aZ,nwarrow:lZ,nwnear:cZ,Oacute:uZ,oacute:dZ,oast:hZ,Ocirc:fZ,ocirc:pZ,ocir:gZ,Ocy:mZ,ocy:_Z,odash:bZ,Odblac:yZ,odblac:vZ,odiv:wZ,odot:xZ,odsold:kZ,OElig:EZ,oelig:CZ,ofcir:AZ,Ofr:SZ,ofr:TZ,ogon:MZ,Ograve:OZ,ograve:RZ,ogt:NZ,ohbar:DZ,ohm:LZ,oint:IZ,olarr:PZ,olcir:FZ,olcross:BZ,oline:$Z,olt:jZ,Omacr:zZ,omacr:UZ,Omega:qZ,omega:HZ,Omicron:VZ,omicron:GZ,omid:KZ,ominus:WZ,Oopf:ZZ,oopf:YZ,opar:QZ,OpenCurlyDoubleQuote:JZ,OpenCurlyQuote:XZ,operp:eY,oplus:tY,orarr:nY,Or:sY,or:oY,ord:rY,order:iY,orderof:aY,ordf:lY,ordm:cY,origof:uY,oror:dY,orslope:hY,orv:fY,oS:pY,Oscr:gY,oscr:mY,Oslash:_Y,oslash:bY,osol:yY,Otilde:vY,otilde:wY,otimesas:xY,Otimes:kY,otimes:EY,Ouml:CY,ouml:AY,ovbar:SY,OverBar:TY,OverBrace:MY,OverBracket:OY,OverParenthesis:RY,para:NY,parallel:DY,par:LY,parsim:IY,parsl:PY,part:FY,PartialD:BY,Pcy:$Y,pcy:jY,percnt:zY,period:UY,permil:qY,perp:HY,pertenk:VY,Pfr:GY,pfr:KY,Phi:WY,phi:ZY,phiv:YY,phmmat:QY,phone:JY,Pi:XY,pi:eQ,pitchfork:tQ,piv:nQ,planck:sQ,planckh:oQ,plankv:rQ,plusacir:iQ,plusb:aQ,pluscir:lQ,plus:cQ,plusdo:uQ,plusdu:dQ,pluse:hQ,PlusMinus:fQ,plusmn:pQ,plussim:gQ,plustwo:mQ,pm:_Q,Poincareplane:bQ,pointint:yQ,popf:vQ,Popf:wQ,pound:xQ,prap:kQ,Pr:EQ,pr:CQ,prcue:AQ,precapprox:SQ,prec:TQ,preccurlyeq:MQ,Precedes:OQ,PrecedesEqual:RQ,PrecedesSlantEqual:NQ,PrecedesTilde:DQ,preceq:LQ,precnapprox:IQ,precneqq:PQ,precnsim:FQ,pre:BQ,prE:$Q,precsim:jQ,prime:zQ,Prime:UQ,primes:qQ,prnap:HQ,prnE:VQ,prnsim:GQ,prod:KQ,Product:WQ,profalar:ZQ,profline:YQ,profsurf:QQ,prop:JQ,Proportional:XQ,Proportion:eJ,propto:tJ,prsim:nJ,prurel:sJ,Pscr:oJ,pscr:rJ,Psi:iJ,psi:aJ,puncsp:lJ,Qfr:cJ,qfr:uJ,qint:dJ,qopf:hJ,Qopf:fJ,qprime:pJ,Qscr:gJ,qscr:mJ,quaternions:_J,quatint:bJ,quest:yJ,questeq:vJ,quot:wJ,QUOT:xJ,rAarr:kJ,race:EJ,Racute:CJ,racute:AJ,radic:SJ,raemptyv:TJ,rang:MJ,Rang:OJ,rangd:RJ,range:NJ,rangle:DJ,raquo:LJ,rarrap:IJ,rarrb:PJ,rarrbfs:FJ,rarrc:BJ,rarr:$J,Rarr:jJ,rArr:zJ,rarrfs:UJ,rarrhk:qJ,rarrlp:HJ,rarrpl:VJ,rarrsim:GJ,Rarrtl:KJ,rarrtl:WJ,rarrw:ZJ,ratail:YJ,rAtail:QJ,ratio:JJ,rationals:XJ,rbarr:eX,rBarr:tX,RBarr:nX,rbbrk:sX,rbrace:oX,rbrack:rX,rbrke:iX,rbrksld:aX,rbrkslu:lX,Rcaron:cX,rcaron:uX,Rcedil:dX,rcedil:hX,rceil:fX,rcub:pX,Rcy:gX,rcy:mX,rdca:_X,rdldhar:bX,rdquo:yX,rdquor:vX,rdsh:wX,real:xX,realine:kX,realpart:EX,reals:CX,Re:AX,rect:SX,reg:TX,REG:MX,ReverseElement:OX,ReverseEquilibrium:RX,ReverseUpEquilibrium:NX,rfisht:DX,rfloor:LX,rfr:IX,Rfr:PX,rHar:FX,rhard:BX,rharu:$X,rharul:jX,Rho:zX,rho:UX,rhov:qX,RightAngleBracket:HX,RightArrowBar:VX,rightarrow:GX,RightArrow:KX,Rightarrow:WX,RightArrowLeftArrow:ZX,rightarrowtail:YX,RightCeiling:QX,RightDoubleBracket:JX,RightDownTeeVector:XX,RightDownVectorBar:eee,RightDownVector:tee,RightFloor:nee,rightharpoondown:see,rightharpoonup:oee,rightleftarrows:ree,rightleftharpoons:iee,rightrightarrows:aee,rightsquigarrow:lee,RightTeeArrow:cee,RightTee:uee,RightTeeVector:dee,rightthreetimes:hee,RightTriangleBar:fee,RightTriangle:pee,RightTriangleEqual:gee,RightUpDownVector:mee,RightUpTeeVector:_ee,RightUpVectorBar:bee,RightUpVector:yee,RightVectorBar:vee,RightVector:wee,ring:xee,risingdotseq:kee,rlarr:Eee,rlhar:Cee,rlm:Aee,rmoustache:See,rmoust:Tee,rnmid:Mee,roang:Oee,roarr:Ree,robrk:Nee,ropar:Dee,ropf:Lee,Ropf:Iee,roplus:Pee,rotimes:Fee,RoundImplies:Bee,rpar:$ee,rpargt:jee,rppolint:zee,rrarr:Uee,Rrightarrow:qee,rsaquo:Hee,rscr:Vee,Rscr:Gee,rsh:Kee,Rsh:Wee,rsqb:Zee,rsquo:Yee,rsquor:Qee,rthree:Jee,rtimes:Xee,rtri:ete,rtrie:tte,rtrif:nte,rtriltri:ste,RuleDelayed:ote,ruluhar:rte,rx:ite,Sacute:ate,sacute:lte,sbquo:cte,scap:ute,Scaron:dte,scaron:hte,Sc:fte,sc:pte,sccue:gte,sce:mte,scE:_te,Scedil:bte,scedil:yte,Scirc:vte,scirc:wte,scnap:xte,scnE:kte,scnsim:Ete,scpolint:Cte,scsim:Ate,Scy:Ste,scy:Tte,sdotb:Mte,sdot:Ote,sdote:Rte,searhk:Nte,searr:Dte,seArr:Lte,searrow:Ite,sect:Pte,semi:Fte,seswar:Bte,setminus:$te,setmn:jte,sext:zte,Sfr:Ute,sfr:qte,sfrown:Hte,sharp:Vte,SHCHcy:Gte,shchcy:Kte,SHcy:Wte,shcy:Zte,ShortDownArrow:Yte,ShortLeftArrow:Qte,shortmid:Jte,shortparallel:Xte,ShortRightArrow:ene,ShortUpArrow:tne,shy:nne,Sigma:sne,sigma:one,sigmaf:rne,sigmav:ine,sim:ane,simdot:lne,sime:cne,simeq:une,simg:dne,simgE:hne,siml:fne,simlE:pne,simne:gne,simplus:mne,simrarr:_ne,slarr:bne,SmallCircle:yne,smallsetminus:vne,smashp:wne,smeparsl:xne,smid:kne,smile:Ene,smt:Cne,smte:Ane,smtes:Sne,SOFTcy:Tne,softcy:Mne,solbar:One,solb:Rne,sol:Nne,Sopf:Dne,sopf:Lne,spades:Ine,spadesuit:Pne,spar:Fne,sqcap:Bne,sqcaps:$ne,sqcup:jne,sqcups:zne,Sqrt:Une,sqsub:qne,sqsube:Hne,sqsubset:Vne,sqsubseteq:Gne,sqsup:Kne,sqsupe:Wne,sqsupset:Zne,sqsupseteq:Yne,square:Qne,Square:Jne,SquareIntersection:Xne,SquareSubset:ese,SquareSubsetEqual:tse,SquareSuperset:nse,SquareSupersetEqual:sse,SquareUnion:ose,squarf:rse,squ:ise,squf:ase,srarr:lse,Sscr:cse,sscr:use,ssetmn:dse,ssmile:hse,sstarf:fse,Star:pse,star:gse,starf:mse,straightepsilon:_se,straightphi:bse,strns:yse,sub:vse,Sub:wse,subdot:xse,subE:kse,sube:Ese,subedot:Cse,submult:Ase,subnE:Sse,subne:Tse,subplus:Mse,subrarr:Ose,subset:Rse,Subset:Nse,subseteq:Dse,subseteqq:Lse,SubsetEqual:Ise,subsetneq:Pse,subsetneqq:Fse,subsim:Bse,subsub:$se,subsup:jse,succapprox:zse,succ:Use,succcurlyeq:qse,Succeeds:Hse,SucceedsEqual:Vse,SucceedsSlantEqual:Gse,SucceedsTilde:Kse,succeq:Wse,succnapprox:Zse,succneqq:Yse,succnsim:Qse,succsim:Jse,SuchThat:Xse,sum:eoe,Sum:toe,sung:noe,sup1:soe,sup2:ooe,sup3:roe,sup:ioe,Sup:aoe,supdot:loe,supdsub:coe,supE:uoe,supe:doe,supedot:hoe,Superset:foe,SupersetEqual:poe,suphsol:goe,suphsub:moe,suplarr:_oe,supmult:boe,supnE:yoe,supne:voe,supplus:woe,supset:xoe,Supset:koe,supseteq:Eoe,supseteqq:Coe,supsetneq:Aoe,supsetneqq:Soe,supsim:Toe,supsub:Moe,supsup:Ooe,swarhk:Roe,swarr:Noe,swArr:Doe,swarrow:Loe,swnwar:Ioe,szlig:Poe,Tab:Foe,target:Boe,Tau:$oe,tau:joe,tbrk:zoe,Tcaron:Uoe,tcaron:qoe,Tcedil:Hoe,tcedil:Voe,Tcy:Goe,tcy:Koe,tdot:Woe,telrec:Zoe,Tfr:Yoe,tfr:Qoe,there4:Joe,therefore:Xoe,Therefore:ere,Theta:tre,theta:nre,thetasym:sre,thetav:ore,thickapprox:rre,thicksim:ire,ThickSpace:are,ThinSpace:lre,thinsp:cre,thkap:ure,thksim:dre,THORN:hre,thorn:fre,tilde:pre,Tilde:gre,TildeEqual:mre,TildeFullEqual:_re,TildeTilde:bre,timesbar:yre,timesb:vre,times:wre,timesd:xre,tint:kre,toea:Ere,topbot:Cre,topcir:Are,top:Sre,Topf:Tre,topf:Mre,topfork:Ore,tosa:Rre,tprime:Nre,trade:Dre,TRADE:Lre,triangle:Ire,triangledown:Pre,triangleleft:Fre,trianglelefteq:Bre,triangleq:$re,triangleright:jre,trianglerighteq:zre,tridot:Ure,trie:qre,triminus:Hre,TripleDot:Vre,triplus:Gre,trisb:Kre,tritime:Wre,trpezium:Zre,Tscr:Yre,tscr:Qre,TScy:Jre,tscy:Xre,TSHcy:eie,tshcy:tie,Tstrok:nie,tstrok:sie,twixt:oie,twoheadleftarrow:rie,twoheadrightarrow:iie,Uacute:aie,uacute:lie,uarr:cie,Uarr:uie,uArr:die,Uarrocir:hie,Ubrcy:fie,ubrcy:pie,Ubreve:gie,ubreve:mie,Ucirc:_ie,ucirc:bie,Ucy:yie,ucy:vie,udarr:wie,Udblac:xie,udblac:kie,udhar:Eie,ufisht:Cie,Ufr:Aie,ufr:Sie,Ugrave:Tie,ugrave:Mie,uHar:Oie,uharl:Rie,uharr:Nie,uhblk:Die,ulcorn:Lie,ulcorner:Iie,ulcrop:Pie,ultri:Fie,Umacr:Bie,umacr:$ie,uml:jie,UnderBar:zie,UnderBrace:Uie,UnderBracket:qie,UnderParenthesis:Hie,Union:Vie,UnionPlus:Gie,Uogon:Kie,uogon:Wie,Uopf:Zie,uopf:Yie,UpArrowBar:Qie,uparrow:Jie,UpArrow:Xie,Uparrow:eae,UpArrowDownArrow:tae,updownarrow:nae,UpDownArrow:sae,Updownarrow:oae,UpEquilibrium:rae,upharpoonleft:iae,upharpoonright:aae,uplus:lae,UpperLeftArrow:cae,UpperRightArrow:uae,upsi:dae,Upsi:hae,upsih:fae,Upsilon:pae,upsilon:gae,UpTeeArrow:mae,UpTee:_ae,upuparrows:bae,urcorn:yae,urcorner:vae,urcrop:wae,Uring:xae,uring:kae,urtri:Eae,Uscr:Cae,uscr:Aae,utdot:Sae,Utilde:Tae,utilde:Mae,utri:Oae,utrif:Rae,uuarr:Nae,Uuml:Dae,uuml:Lae,uwangle:Iae,vangrt:Pae,varepsilon:Fae,varkappa:Bae,varnothing:$ae,varphi:jae,varpi:zae,varpropto:Uae,varr:qae,vArr:Hae,varrho:Vae,varsigma:Gae,varsubsetneq:Kae,varsubsetneqq:Wae,varsupsetneq:Zae,varsupsetneqq:Yae,vartheta:Qae,vartriangleleft:Jae,vartriangleright:Xae,vBar:ele,Vbar:tle,vBarv:nle,Vcy:sle,vcy:ole,vdash:rle,vDash:ile,Vdash:ale,VDash:lle,Vdashl:cle,veebar:ule,vee:dle,Vee:hle,veeeq:fle,vellip:ple,verbar:gle,Verbar:mle,vert:_le,Vert:ble,VerticalBar:yle,VerticalLine:vle,VerticalSeparator:wle,VerticalTilde:xle,VeryThinSpace:kle,Vfr:Ele,vfr:Cle,vltri:Ale,vnsub:Sle,vnsup:Tle,Vopf:Mle,vopf:Ole,vprop:Rle,vrtri:Nle,Vscr:Dle,vscr:Lle,vsubnE:Ile,vsubne:Ple,vsupnE:Fle,vsupne:Ble,Vvdash:$le,vzigzag:jle,Wcirc:zle,wcirc:Ule,wedbar:qle,wedge:Hle,Wedge:Vle,wedgeq:Gle,weierp:Kle,Wfr:Wle,wfr:Zle,Wopf:Yle,wopf:Qle,wp:Jle,wr:Xle,wreath:ece,Wscr:tce,wscr:nce,xcap:sce,xcirc:oce,xcup:rce,xdtri:ice,Xfr:ace,xfr:lce,xharr:cce,xhArr:uce,Xi:dce,xi:hce,xlarr:fce,xlArr:pce,xmap:gce,xnis:mce,xodot:_ce,Xopf:bce,xopf:yce,xoplus:vce,xotime:wce,xrarr:xce,xrArr:kce,Xscr:Ece,xscr:Cce,xsqcup:Ace,xuplus:Sce,xutri:Tce,xvee:Mce,xwedge:Oce,Yacute:Rce,yacute:Nce,YAcy:Dce,yacy:Lce,Ycirc:Ice,ycirc:Pce,Ycy:Fce,ycy:Bce,yen:$ce,Yfr:jce,yfr:zce,YIcy:Uce,yicy:qce,Yopf:Hce,yopf:Vce,Yscr:Gce,yscr:Kce,YUcy:Wce,yucy:Zce,yuml:Yce,Yuml:Qce,Zacute:Jce,zacute:Xce,Zcaron:eue,zcaron:tue,Zcy:nue,zcy:sue,Zdot:oue,zdot:rue,zeetrf:iue,ZeroWidthSpace:aue,Zeta:lue,zeta:cue,zfr:uue,Zfr:due,ZHcy:hue,zhcy:fue,zigrarr:pue,zopf:gue,Zopf:mue,Zscr:_ue,zscr:bue,zwj:yue,zwnj:vue};var sg=wue,sc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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={},Ku={};function xue(t){var e,n,s=Ku[t];if(s)return s;for(s=Ku[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=xue(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}li.defaultChars=";/?:@&=+$,-_.!~*'()#";li.componentChars="-_.!~*'()";var kue=li,Wu={};function Eue(t){var e,n,s=Wu[t];if(s)return s;for(s=Wu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&d<=57343?h+="���":h+=String.fromCharCode(d),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(d-=65536,h+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}h+="�"}return h})}ci.defaultChars=";/?:@&=+$,#";ci.componentChars="";var Cue=ci,Aue=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 Sue=/^([a-z0-9.+-]+:)/i,Tue=/:[0-9]*$/,Mue=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Oue=["<",">",'"',"`"," ","\r",` +You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},ce=t=>(ns("data-v-67b64cb1"),t=t(),ss(),t),O5={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},R5={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"},N5={key:0,class:"flex gap-3 flex-1 items-center duration-75"},D5=ce(()=>u("i",{"data-feather":"x"},null,-1)),L5=[D5],I5=ce(()=>u("i",{"data-feather":"check"},null,-1)),P5=[I5],F5={key:1,class:"flex gap-3 flex-1 items-center"},B5=ce(()=>u("i",{"data-feather":"save"},null,-1)),$5=[B5],j5=ce(()=>u("i",{"data-feather":"refresh-ccw"},null,-1)),z5=[j5],U5=ce(()=>u("i",{"data-feather":"list"},null,-1)),q5=[U5],H5={class:"flex gap-3 flex-1 items-center justify-end"},V5={class:"flex gap-3 items-center"},G5={key:0,class:"flex gap-3 items-center"},K5=ce(()=>u("i",{"data-feather":"check"},null,-1)),W5=[K5],Z5={key:1,role:"status"},Y5=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)),Q5=ce(()=>u("span",{class:"sr-only"},"Loading...",-1)),J5={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"},X5={class:"flex flex-row p-3"},e4=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),t4=[e4],n4=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),s4=[n4],o4=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),r4=ce(()=>u("div",{class:"mr-2"},"|",-1)),i4={class:"text-base font-semibold cursor-pointer select-none items-center"},a4={class:"flex gap-2 items-center"},l4={key:0},c4={class:"flex gap-2 items-center"},u4=["title"],d4=zs('',34),h4=[d4],f4={class:"font-bold font-large text-lg"},p4={key:1},g4={class:"flex gap-2 items-center"},m4=zs('',1),_4={class:"font-bold font-large text-lg"},b4=ce(()=>u("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),y4={class:"font-bold font-large text-lg"},v4=ce(()=>u("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),w4={class:"font-bold font-large text-lg"},x4={class:"mb-2"},k4=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"})]),we(" CPU Ram usage: ")],-1)),E4={class:"flex flex-col mx-2"},C4=ce(()=>u("b",null,"Avaliable ram: ",-1)),A4=ce(()=>u("b",null,"Ram usage: ",-1)),S4={class:"p-2"},T4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},M4={class:"mb-2"},O4=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"}),we(" Disk usage: ")],-1)),R4={class:"flex flex-col mx-2"},N4=ce(()=>u("b",null,"Avaliable disk space: ",-1)),D4=ce(()=>u("b",null,"Disk usage: ",-1)),L4={class:"p-2"},I4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},P4={class:"mb-2"},F4=zs('',1),B4={class:"flex flex-col mx-2"},$4=ce(()=>u("b",null,"Model: ",-1)),j4=ce(()=>u("b",null,"Avaliable vram: ",-1)),z4=ce(()=>u("b",null,"GPU usage: ",-1)),U4={class:"p-2"},q4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},H4={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"},V4={class:"flex flex-row p-3"},G4=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),K4=[G4],W4=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),Z4=[W4],Y4=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),Q4={style:{width:"100%"}},J4=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"enable_gpu",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable GPU:")],-1)),X4=ce(()=>u("i",{"data-feather":"check"},null,-1)),eC=[X4],tC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),nC=ce(()=>u("i",{"data-feather":"check"},null,-1)),sC=[nC],oC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"db_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),rC={style:{width:"100%"}},iC=ce(()=>u("i",{"data-feather":"check"},null,-1)),aC=[iC],lC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),cC={style:{width:"100%"}},uC=ce(()=>u("i",{"data-feather":"check"},null,-1)),dC=[uC],hC=ce(()=>u("td",{style:{"min-width":"200px"}},[u("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),fC={style:{width:"100%"}},pC={for:"avatar-upload"},gC=["src"],mC=ce(()=>u("i",{"data-feather":"check"},null,-1)),_C=[mC],bC=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)),yC=ce(()=>u("i",{"data-feather":"check"},null,-1)),vC=[yC],wC=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)),xC=["value"],kC=ce(()=>u("i",{"data-feather":"check"},null,-1)),EC=[kC],CC=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)),AC=["value"],SC=ce(()=>u("i",{"data-feather":"check"},null,-1)),TC=[SC],MC={class:"w-full"},OC={class:"w-full"},RC={key:0,class:"w-full"},NC=ce(()=>u("i",{"data-feather":"alert-circle"},null,-1)),DC={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"},LC={class:"flex flex-row p-3"},IC=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),PC=[IC],FC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),BC=[FC],$C=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),jC={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},zC=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),UC={key:1,class:"mr-2"},qC={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},HC={class:"flex gap-1 items-center"},VC=["src"],GC={class:"font-bold font-large text-lg line-clamp-1"},KC={key:0,class:"mb-2"},WC={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},ZC=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),YC=[ZC],QC=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),JC=[QC],XC={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"},e3={class:"flex flex-row p-3"},t3=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),n3=[t3],s3=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),o3=[s3],r3=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),i3={class:"flex flex-row items-center"},a3={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},l3=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),c3={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},u3=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),d3={key:2,class:"mr-2"},h3={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},f3={class:"flex gap-1 items-center"},p3=["src"],g3={class:"font-bold font-large text-lg line-clamp-1"},m3={class:"mx-2 mb-4"},_3={class:"relative"},b3={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},y3={key:0},v3=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)),w3=[v3],x3={key:1},k3=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)),E3=[k3],C3={key:0},A3={key:0,class:"mb-2"},S3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},T3={key:1},M3={key:0,class:"mb-2"},O3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},R3=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),N3=[R3],D3=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),L3=[D3],I3={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"},P3={class:"flex flex-row p-3"},F3=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),B3=[F3],$3=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),j3=[$3],z3=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),U3={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},q3=ce(()=>u("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),H3={key:1,class:"mr-2"},V3={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},G3={class:"flex gap-1 items-center"},K3=["src"],W3={class:"font-bold font-large text-lg line-clamp-1"},Z3={class:"mb-2"},Y3={class:"p-2"},Q3={key:0},J3={class:"mb-3"},X3=ce(()=>u("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),e8={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},t8=ce(()=>u("div",{role:"status",class:"justify-center"},null,-1)),n8={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},s8={class:"w-full p-2"},o8={class:"flex justify-between mb-1"},r8=zs(' Downloading Loading...',1),i8={class:"text-sm font-medium text-blue-700 dark:text-white"},a8=["title"],l8={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},c8={class:"flex justify-between mb-1"},u8={class:"text-base font-medium text-blue-700 dark:text-white"},d8={class:"text-sm font-medium text-blue-700 dark:text-white"},h8={class:"flex flex-grow"},f8={class:"flex flex-row flex-grow gap-3"},p8={class:"p-2 text-center grow"},g8={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"},m8={class:"flex flex-row p-3 items-center"},_8=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),b8=[_8],y8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),v8=[y8],w8=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),x8={key:0,class:"mr-2"},k8={class:"mr-2 font-bold font-large text-lg line-clamp-1"},E8={key:1,class:"mr-2"},C8={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},A8={key:0,class:"flex -space-x-4 items-center"},S8={class:"group items-center flex flex-row"},T8=["onClick"],M8=["src","title"],O8=["onClick"],R8=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)),N8=[R8],D8={class:"mx-2 mb-4"},L8=ce(()=>u("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),I8={class:"relative"},P8={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},F8={key:0},B8=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)),$8=[B8],j8={key:1},z8=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)),U8=[z8],q8={key:0,class:"mx-2 mb-4"},H8={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},V8=["selected"],G8={key:1,class:"mx-2 mb-4"},K8={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},W8=["selected"],Z8={key:0,class:"mb-2"},Y8={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Q8=ce(()=>u("i",{"data-feather":"chevron-up"},null,-1)),J8=[Q8],X8=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),e9=[X8],t9={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"},n9={class:"flex flex-row"},s9=ce(()=>u("i",{"data-feather":"chevron-right"},null,-1)),o9=[s9],r9=ce(()=>u("i",{"data-feather":"chevron-down"},null,-1)),i9=[r9],a9=ce(()=>u("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),l9={class:"m-2"},c9={class:"flex flex-row gap-2 items-center"},u9=ce(()=>u("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),d9={class:"m-2"},h9=ce(()=>u("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),f9={class:"m-2"},p9={class:"flex flex-col align-bottom"},g9={class:"relative"},m9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),_9={class:"absolute right-0"},b9={class:"m-2"},y9={class:"flex flex-col align-bottom"},v9={class:"relative"},w9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),x9={class:"absolute right-0"},k9={class:"m-2"},E9={class:"flex flex-col align-bottom"},C9={class:"relative"},A9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),S9={class:"absolute right-0"},T9={class:"m-2"},M9={class:"flex flex-col align-bottom"},O9={class:"relative"},R9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),N9={class:"absolute right-0"},D9={class:"m-2"},L9={class:"flex flex-col align-bottom"},I9={class:"relative"},P9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),F9={class:"absolute right-0"},B9={class:"m-2"},$9={class:"flex flex-col align-bottom"},j9={class:"relative"},z9=ce(()=>u("p",{class:"absolute left-0 mt-6"},[u("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),U9={class:"absolute right-0"};function q9(t,e,n,s,o,r){const i=rt("BindingEntry"),a=rt("model-entry"),l=rt("personality-entry"),c=rt("YesNoDialog"),d=rt("AddModelDialog"),h=rt("MessageBox"),f=rt("Toast"),g=rt("UniversalForm"),m=rt("ChoiceDialog");return A(),S(Ne,null,[u("div",O5,[u("div",R5,[o.showConfirmation?(A(),S("div",N5,[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"]))},L5),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"]))},P5)])):B("",!0),o.showConfirmation?B("",!0):(A(),S("div",F5,[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)},$5),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())},z5),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"]))},q5)])),u("div",H5,[u("div",V5,[o.settingsChanged?(A(),S("div",G5,[we(" Apply changes: "),o.isLoading?B("",!0):(A(),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"]))},W5))])):B("",!0),o.isLoading?(A(),S("div",Z5,[u("p",null,V(o.loading_text),1),Y5,Q5])):B("",!0)])])]),u("div",{class:Te(o.isLoading?"pointer-events-none opacity-30":"")},[u("div",J5,[u("div",X5,[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"},[ge(u("div",null,t4,512),[[lt,o.sc_collapsed]]),ge(u("div",null,s4,512),[[lt,!o.sc_collapsed]]),o4,r4,u("div",i4,[u("div",a4,[u("div",null,[r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(A(),S("div",l4,[(A(!0),S(Ne,null,Ke(r.vramUsage.gpus,p=>(A(),S("div",c4,[(A(),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"},h4,8,u4)),u("h3",f4,[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?(A(),S("div",p4,[u("div",g4,[m4,u("h3",_4,[u("div",null,V(r.vramUsage.gpus.length)+"x ",1)])])])):B("",!0)]),b4,u("h3",y4,[u("div",null,V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+"%)",1)]),v4,u("h3",w4,[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",x4,[k4,u("div",E4,[u("div",null,[C4,we(V(r.ram_available_space),1)]),u("div",null,[A4,we(" "+V(r.ram_usage)+" / "+V(r.ram_total_space)+" ("+V(r.ram_percent_usage)+")% ",1)])]),u("div",S4,[u("div",T4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),u("div",M4,[O4,u("div",R4,[u("div",null,[N4,we(V(r.disk_available_space),1)]),u("div",null,[D4,we(" "+V(r.disk_binding_models_usage)+" / "+V(r.disk_total_space)+" ("+V(r.disk_percent_usage)+"%)",1)])]),u("div",L4,[u("div",I4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(A(!0),S(Ne,null,Ke(r.vramUsage.gpus,p=>(A(),S("div",P4,[F4,u("div",B4,[u("div",null,[$4,we(V(p.gpu_model),1)]),u("div",null,[j4,we(V(this.computedFileSize(p.available_space)),1)]),u("div",null,[z4,we(" "+V(this.computedFileSize(p.used_vram))+" / "+V(this.computedFileSize(p.total_vram))+" ("+V(p.percentage)+"%)",1)])]),u("div",U4,[u("div",q4,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt("width: "+p.percentage+"%;")},null,4)])])]))),256))],2)]),u("div",H4,[u("div",V4,[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"},[ge(u("div",null,K4,512),[[lt,o.minconf_collapsed]]),ge(u("div",null,Z4,512),[[lt,!o.minconf_collapsed]]),Y4])]),u("div",{class:Te([{hidden:o.minconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("table",Q4,[u("tr",null,[J4,u("td",null,[ge(u("input",{type:"checkbox",id:"enable_gpu",required:"","onUpdate:modelValue":e[8]||(e[8]=p=>r.enable_gpu=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Nt,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[9]||(e[9]=p=>r.update_setting("enable_gpu",r.enable_gpu))},eC)])]),u("tr",null,[tC,u("td",null,[ge(u("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[10]||(e[10]=p=>r.auto_update=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Nt,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[11]||(e[11]=p=>r.update_setting("auto_update",r.auto_update))},sC)])]),u("tr",null,[oC,u("td",rC,[ge(u("input",{type:"text",id:"db_path",required:"","onUpdate:modelValue":e[12]||(e[12]=p=>r.db_path=p),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Re,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[13]||(e[13]=p=>r.update_setting("db_path",r.db_path))},aC)])]),u("tr",null,[lC,u("td",cC,[ge(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),[[Re,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))},dC)])]),u("tr",null,[hC,u("td",fC,[u("label",pC,[u("img",{src:r.user_avatar,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,gC)]),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))},_C)])]),u("tr",null,[bC,u("td",null,[ge(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),[[Nt,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))},vC)])]),u("tr",null,[wC,u("td",null,[ge(u("select",{id:"audio_in_language","onUpdate:modelValue":e[20]||(e[20]=p=>r.audio_in_language=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(A(!0),S(Ne,null,Ke(r.audioLanguages,p=>(A(),S("option",{key:p.code,value:p.code},V(p.name),9,xC))),128))],512),[[Wa,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[21]||(e[21]=p=>r.update_setting("audio_in_language",r.audio_in_language))},EC)])]),u("tr",null,[CC,u("td",null,[ge(u("select",{id:"audio_out_voice","onUpdate:modelValue":e[22]||(e[22]=p=>r.audio_out_voice=p),class:"mt-1 px-2 py-1 border border-gray-300 rounded"},[(A(!0),S(Ne,null,Ke(o.audioVoices,p=>(A(),S("option",{key:p.name,value:p.name},V(p.name),9,AC))),128))],512),[[Wa,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[23]||(e[23]=p=>r.update_setting("audio_out_voice",r.audio_out_voice))},TC)])])]),u("div",MC,[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[24]||(e[24]=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",OC,[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[25]||(e[25]=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 ")]),o.has_updates?(A(),S("div",RC,[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("update_software").then(b=>{b.status?this.$refs.toast.showToast("Success!",4,!0):this.$refs.toast.showToast("Success!",4,!0)}))},[we(" Upgrade program "),NC])])):B("",!0)],2)]),u("div",DC,[u("div",LC,[u("button",{onClick:e[27]||(e[27]=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"},[ge(u("div",null,PC,512),[[lt,o.bzc_collapsed]]),ge(u("div",null,BC,512),[[lt,!o.bzc_collapsed]]),$C,r.configFile.binding_name?B("",!0):(A(),S("div",jC,[zC,we(" No binding selected! ")])),r.configFile.binding_name?(A(),S("div",UC,"|")):B("",!0),r.configFile.binding_name?(A(),S("div",qC,[u("div",HC,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,VC),u("h3",GC,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?(A(),S("div",KC,[u("label",WC," 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"])},[Ae(Ut,{name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(r.bindingsArr,(p,b)=>(A(),nt(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+b+"-"+p.folder,binding:p,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:p.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):B("",!0),o.bzl_collapsed?(A(),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[28]||(e[28]=p=>o.bzl_collapsed=!o.bzl_collapsed)},YC)):(A(),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[29]||(e[29]=p=>o.bzl_collapsed=!o.bzl_collapsed)},JC))],2)]),u("div",XC,[u("div",e3,[u("button",{onClick:e[30]||(e[30]=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"},[ge(u("div",null,n3,512),[[lt,o.mzc_collapsed]]),ge(u("div",null,o3,512),[[lt,!o.mzc_collapsed]]),r3,u("div",i3,[r.configFile.binding_name?B("",!0):(A(),S("div",a3,[l3,we(" Select binding first! ")])),!o.isModelSelected&&r.configFile.binding_name?(A(),S("div",c3,[u3,we(" No model selected! ")])):B("",!0),r.configFile.model_name?(A(),S("div",d3,"|")):B("",!0),r.configFile.model_name?(A(),S("div",h3,[u("div",f3,[u("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,p3),u("h3",g3,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",m3,[u("form",null,[u("div",_3,[u("div",b3,[o.searchModelInProgress?(A(),S("div",y3,w3)):B("",!0),o.searchModelInProgress?B("",!0):(A(),S("div",x3,E3))]),ge(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[31]||(e[31]=p=>o.searchModel=p),onKeyup:e[32]||(e[32]=ae((...p)=>r.searchModel_func&&r.searchModel_func(...p),["stop"]))},null,544),[[Re,o.searchModel]]),o.searchModel?(A(),S("button",{key:0,onClick:e[33]||(e[33]=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?(A(),S("div",C3,[o.modelsFiltered.length>0?(A(),S("div",A3,[u("label",S3," 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"])},[Ae(Ut,{name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(o.modelsFiltered,(p,b)=>(A(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):B("",!0)])):B("",!0),o.searchModel?B("",!0):(A(),S("div",T3,[r.models&&r.models.length>0?(A(),S("div",M3,[u("label",O3," 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"])},[Ae(Ut,{name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(r.models,(p,b)=>(A(),nt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+b+"-"+p.title,title:p.title,icon:p.icon,path:p.path,owner:p.owner,owner_link:p.owner_link,license:p.license,description:p.description,"is-installed":p.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:p.title===r.configFile.model_name,model:p,model_type:p.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):B("",!0)])),o.mzl_collapsed?(A(),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[34]||(e[34]=(...p)=>r.open_mzl&&r.open_mzl(...p))},N3)):(A(),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[35]||(e[35]=(...p)=>r.open_mzl&&r.open_mzl(...p))},L3))],2)]),u("div",I3,[u("div",P3,[u("button",{onClick:e[36]||(e[36]=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"},[ge(u("div",null,B3,512),[[lt,o.mzdc_collapsed]]),ge(u("div",null,j3,512),[[lt,!o.mzdc_collapsed]]),z3,r.binding_name?B("",!0):(A(),S("div",U3,[q3,we(" No binding selected! ")])),r.configFile.binding_name?(A(),S("div",H3,"|")):B("",!0),r.configFile.binding_name?(A(),S("div",V3,[u("div",G3,[u("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,K3),u("h3",W3,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",Z3,[u("div",Y3,[o.modelDownlaodInProgress?B("",!0):(A(),S("div",Q3,[u("div",J3,[X3,ge(u("input",{type:"text","onUpdate:modelValue":e[37]||(e[37]=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),[[Re,o.addModel.url]])]),u("button",{type:"button",onClick:e[38]||(e[38]=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?(A(),S("div",e8,[t8,u("div",n8,[u("div",s8,[u("div",o8,[r8,u("span",i8,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,a8),u("div",l8,[u("div",{class:"bg-blue-600 h-2.5 rounded-full",style:zt({width:o.addModel.progress+"%"})},null,4)]),u("div",c8,[u("span",u8,"Download speed: "+V(r.speed_computed)+"/s",1),u("span",d8,V(r.downloaded_size_computed)+"/"+V(r.total_size_computed),1)])])]),u("div",h8,[u("div",f8,[u("div",p8,[u("button",{onClick:e[39]||(e[39]=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",g8,[u("div",m8,[u("button",{onClick:e[41]||(e[41]=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"},[ge(u("div",null,b8,512),[[lt,o.pzc_collapsed]]),ge(u("div",null,v8,512),[[lt,!o.pzc_collapsed]]),w8,r.configFile.personalities?(A(),S("div",x8,"|")):B("",!0),u("div",k8,V(r.active_pesonality),1),r.configFile.personalities?(A(),S("div",E8,"|")):B("",!0),r.configFile.personalities?(A(),S("div",C8,[r.mountedPersArr.length>0?(A(),S("div",A8,[(A(!0),S(Ne,null,Ke(r.mountedPersArr,(p,b)=>(A(),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",S8,[u("button",{onClick:ae(_=>r.onPersonalitySelected(p),["stop"])},[u("img",{src:o.bUrl+p.avatar,onError:e[40]||(e[40]=(..._)=>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,M8)],8,T8),u("button",{onClick:ae(_=>r.onPersonalityMounted(p),["stop"])},N8,8,O8)])]))),128))])):B("",!0)])):B("",!0)])]),u("div",{class:Te([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[u("div",D8,[u("form",null,[L8,u("div",I8,[u("div",P8,[o.searchPersonalityInProgress?(A(),S("div",F8,$8)):B("",!0),o.searchPersonalityInProgress?B("",!0):(A(),S("div",j8,U8))]),ge(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[42]||(e[42]=p=>o.searchPersonality=p),onKeyup:e[43]||(e[43]=ae((...p)=>r.searchPersonality_func&&r.searchPersonality_func(...p),["stop"]))},null,544),[[Re,o.searchPersonality]]),o.searchPersonality?(A(),S("button",{key:0,onClick:e[44]||(e[44]=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):(A(),S("div",q8,[u("label",H8," Personalities Languages: ("+V(o.persLangArr.length)+") ",1),u("select",{id:"persLang",onChange:e[45]||(e[45]=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"},[(A(!0),S(Ne,null,Ke(o.persLangArr,p=>(A(),S("option",{selected:p===this.configFile.personality_language},V(p),9,V8))),256))],32)])),o.searchPersonality?B("",!0):(A(),S("div",G8,[u("label",K8," Personalities Category: ("+V(o.persCatgArr.length)+") ",1),u("select",{id:"persCat",onChange:e[46]||(e[46]=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"},[(A(!0),S(Ne,null,Ke(o.persCatgArr,(p,b)=>(A(),S("option",{key:b,selected:p==this.configFile.personality_category},V(p),9,W8))),128))],32)])),u("div",null,[o.personalitiesFiltered.length>0?(A(),S("div",Z8,[u("label",Y8,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"])},[Ae(Ut,{name:"bounce"},{default:We(()=>[(A(!0),S(Ne,null,Ke(o.personalitiesFiltered,(p,b)=>(A(),nt(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+b+"-"+p.name,personality:p,full_path:p.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(_=>_===p.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-reinstall","on-settings"]))),128))]),_:1})],2)])):B("",!0)]),o.pzl_collapsed?(A(),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[47]||(e[47]=p=>o.pzl_collapsed=!o.pzl_collapsed)},J8)):(A(),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[48]||(e[48]=p=>o.pzl_collapsed=!o.pzl_collapsed)},e9))],2)]),u("div",t9,[u("div",n9,[u("button",{onClick:e[49]||(e[49]=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"},[ge(u("div",null,o9,512),[[lt,o.mc_collapsed]]),ge(u("div",null,i9,512),[[lt,!o.mc_collapsed]]),a9])]),u("div",{class:Te([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[u("div",l9,[u("div",c9,[ge(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[50]||(e[50]=ae(()=>{},["stop"])),"onUpdate:modelValue":e[51]||(e[51]=p=>r.configFile.override_personality_model_parameters=p),onChange:e[52]||(e[52]=p=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[Nt,r.configFile.override_personality_model_parameters]]),u9])]),u("div",{class:Te(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[u("div",d9,[h9,ge(u("input",{type:"text",id:"seed","onUpdate:modelValue":e[53]||(e[53]=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),[[Re,r.configFile.seed]])]),u("div",f9,[u("div",p9,[u("div",g9,[m9,u("p",_9,[ge(u("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[54]||(e[54]=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),[[Re,r.configFile.temperature]])])]),ge(u("input",{id:"temperature",onChange:e[55]||(e[55]=p=>r.update_setting("temperature",p.target.value)),type:"range","onUpdate:modelValue":e[56]||(e[56]=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),[[Re,r.configFile.temperature]])])]),u("div",b9,[u("div",y9,[u("div",v9,[w9,u("p",x9,[ge(u("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[57]||(e[57]=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),[[Re,r.configFile.n_predict]])])]),ge(u("input",{id:"predict",onChange:e[58]||(e[58]=p=>r.update_setting("n_predict",p.target.value)),type:"range","onUpdate:modelValue":e[59]||(e[59]=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),[[Re,r.configFile.n_predict]])])]),u("div",k9,[u("div",E9,[u("div",C9,[A9,u("p",S9,[ge(u("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[60]||(e[60]=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),[[Re,r.configFile.top_k]])])]),ge(u("input",{id:"top_k",onChange:e[61]||(e[61]=p=>r.update_setting("top_k",p.target.value)),type:"range","onUpdate:modelValue":e[62]||(e[62]=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),[[Re,r.configFile.top_k]])])]),u("div",T9,[u("div",M9,[u("div",O9,[R9,u("p",N9,[ge(u("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[63]||(e[63]=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),[[Re,r.configFile.top_p]])])]),ge(u("input",{id:"top_p",onChange:e[64]||(e[64]=p=>r.update_setting("top_p",p.target.value)),type:"range","onUpdate:modelValue":e[65]||(e[65]=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),[[Re,r.configFile.top_p]])])]),u("div",D9,[u("div",L9,[u("div",I9,[P9,u("p",F9,[ge(u("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[66]||(e[66]=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),[[Re,r.configFile.repeat_penalty]])])]),ge(u("input",{id:"repeat_penalty",onChange:e[67]||(e[67]=p=>r.update_setting("repeat_penalty",p.target.value)),type:"range","onUpdate:modelValue":e[68]||(e[68]=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),[[Re,r.configFile.repeat_penalty]])])]),u("div",B9,[u("div",$9,[u("div",j9,[z9,u("p",U9,[ge(u("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[69]||(e[69]=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),[[Re,r.configFile.repeat_last_n]])])]),ge(u("input",{id:"repeat_last_n",onChange:e[70]||(e[70]=p=>r.update_setting("repeat_last_n",p.target.value)),type:"range","onUpdate:modelValue":e[71]||(e[71]=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),[[Re,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ae(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ae(d,{ref:"addmodeldialog"},null,512),Ae(h,{ref:"messageBox"},null,512),Ae(f,{ref:"toast"},null,512),Ae(g,{ref:"universalForm",class:"z-20"},null,512),Ae(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 H9=Ve(M5,[["render",q9],["__scopeId","data-v-67b64cb1"]]),V9={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)}}},G9={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"},K9={class:"mb-4"},W9=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),Z9={class:"mb-4"},Y9=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),Q9={class:"mb-4"},J9=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),X9={class:"mt-2 text-xs"},e6={class:"mb-4"},t6=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),n6={class:"mb-4"},s6=u("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),o6={class:"mb-4"},r6=u("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),i6={class:"mb-4"},a6=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),l6={class:"mb-4"},c6=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),u6=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function d6(t,e,n,s,o,r){return A(),S("div",G9,[u("form",{onSubmit:e[10]||(e[10]=ae((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[u("div",K9,[W9,ge(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),[[Re,o.model_name]])]),u("div",Z9,[Y9,ge(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),[[Re,o.tokenizer_name]])]),u("div",Q9,[J9,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",X9,"Selected File: "+V(o.selectedDatasetPath),1)]),u("div",e6,[t6,ge(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),[[Re,o.max_length,void 0,{number:!0}]])]),u("div",n6,[s6,ge(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),[[Re,o.batch_size,void 0,{number:!0}]])]),u("div",o6,[r6,ge(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),[[Re,o.lr,void 0,{number:!0}]])]),u("div",i6,[a6,ge(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),[[Re,o.num_epochs,void 0,{number:!0}]])]),u("div",l6,[c6,ge(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),[[Re,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")]),u6],32)])}const h6=Ve(V9,[["render",d6]]),f6={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)}}},p6={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"},g6={class:"mb-4"},m6=u("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),_6={class:"mb-4"},b6=u("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),y6={class:"mb-4"},v6=u("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),w6={class:"mt-2 text-xs"},x6={class:"mb-4"},k6=u("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),E6={class:"mb-4"},C6=u("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),A6={class:"mb-4"},S6=u("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),T6={class:"mb-4"},M6=u("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),O6={class:"mb-4"},R6=u("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),N6=u("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function D6(t,e,n,s,o,r){return A(),S("div",p6,[u("form",{onSubmit:e[10]||(e[10]=ae((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[u("div",g6,[m6,ge(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),[[Re,o.model_name]])]),u("div",_6,[b6,ge(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),[[Re,o.tokenizer_name]])]),u("div",y6,[v6,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",w6,"Selected File: "+V(o.selectedDatasetPath),1)]),u("div",x6,[k6,ge(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),[[Re,o.max_length,void 0,{number:!0}]])]),u("div",E6,[C6,ge(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),[[Re,o.batch_size,void 0,{number:!0}]])]),u("div",A6,[S6,ge(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),[[Re,o.lr,void 0,{number:!0}]])]),u("div",T6,[M6,ge(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),[[Re,o.num_epochs,void 0,{number:!0}]])]),u("div",O6,[R6,ge(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),[[Re,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")]),N6],32)])}const L6=Ve(f6,[["render",D6]]),I6={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}}},P6=["id"],F6={class:"flex flex-row items-center gap-2"},B6={key:0},$6=["title"],j6=["value"],z6={class:"flex items-center flex-1 max-h-6"},U6={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},q6=u("i",{"data-feather":"check"},null,-1),H6=[q6],V6=u("i",{"data-feather":"x"},null,-1),G6=[V6],K6={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},W6=u("i",{"data-feather":"x"},null,-1),Z6=[W6],Y6=u("i",{"data-feather":"check"},null,-1),Q6=[Y6],J6={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},X6=u("i",{"data-feather":"edit-2"},null,-1),eA=[X6],tA=u("i",{"data-feather":"trash"},null,-1),nA=[tA];function sA(t,e,n,s,o,r){return A(),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",F6,[n.isCheckbox?(A(),S("div",B6,[ge(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),[[Nt,o.checkBoxValue_local]])])):B("",!0),n.selected?(A(),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):(A(),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):(A(),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,$6)),o.editTitle?(A(),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]=Za(ae(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Za(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,j6)):B("",!0),u("div",z6,[o.showConfirmation&&!o.editTitleMode?(A(),S("div",U6,[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"]))},H6),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"]))},G6)])):B("",!0),o.showConfirmation&&o.editTitleMode?(A(),S("div",K6,[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"]))},Z6),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"]))},Q6)])):B("",!0),o.showConfirmation?B("",!0):(A(),S("div",J6,[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"]))},eA),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"]))},nA)]))])],10,P6)}const ng=Ve(I6,[["render",sA]]);var ze={};const oA="Á",rA="á",iA="Ă",aA="ă",lA="∾",cA="∿",uA="∾̳",dA="Â",hA="â",fA="´",pA="А",gA="а",mA="Æ",_A="æ",bA="⁡",yA="𝔄",vA="𝔞",wA="À",xA="à",kA="ℵ",EA="ℵ",CA="Α",AA="α",SA="Ā",TA="ā",MA="⨿",OA="&",RA="&",NA="⩕",DA="⩓",LA="∧",IA="⩜",PA="⩘",FA="⩚",BA="∠",$A="⦤",jA="∠",zA="⦨",UA="⦩",qA="⦪",HA="⦫",VA="⦬",GA="⦭",KA="⦮",WA="⦯",ZA="∡",YA="∟",QA="⊾",JA="⦝",XA="∢",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="ffi",lI="ff",cI="ffl",uI="𝔉",dI="𝔣",hI="fi",fI="◼",pI="▪",gI="fj",mI="♭",_I="fl",bI="▱",yI="ƒ",vI="𝔽",wI="𝕗",xI="∀",kI="∀",EI="⋔",CI="⫙",AI="ℱ",SI="⨍",TI="½",MI="⅓",OI="¼",RI="⅕",NI="⅙",DI="⅛",LI="⅔",II="⅖",PI="¾",FI="⅗",BI="⅜",$I="⅘",jI="⅚",zI="⅝",UI="⅞",qI="⁄",HI="⌢",VI="𝒻",GI="ℱ",KI="ǵ",WI="Γ",ZI="γ",YI="Ϝ",QI="ϝ",JI="⪆",XI="Ğ",eP="ğ",tP="Ģ",nP="Ĝ",sP="ĝ",oP="Г",rP="г",iP="Ġ",aP="ġ",lP="≥",cP="≧",uP="⪌",dP="⋛",hP="≥",fP="≧",pP="⩾",gP="⪩",mP="⩾",_P="⪀",bP="⪂",yP="⪄",vP="⋛︀",wP="⪔",xP="𝔊",kP="𝔤",EP="≫",CP="⋙",AP="⋙",SP="ℷ",TP="Ѓ",MP="ѓ",OP="⪥",RP="≷",NP="⪒",DP="⪤",LP="⪊",IP="⪊",PP="⪈",FP="≩",BP="⪈",$P="≩",jP="⋧",zP="𝔾",UP="𝕘",qP="`",HP="≥",VP="⋛",GP="≧",KP="⪢",WP="≷",ZP="⩾",YP="≳",QP="𝒢",JP="ℊ",XP="≳",eF="⪎",tF="⪐",nF="⪧",sF="⩺",oF=">",rF=">",iF="≫",aF="⋗",lF="⦕",cF="⩼",uF="⪆",dF="⥸",hF="⋗",fF="⋛",pF="⪌",gF="≷",mF="≳",_F="≩︀",bF="≩︀",yF="ˇ",vF=" ",wF="½",xF="ℋ",kF="Ъ",EF="ъ",CF="⥈",AF="↔",SF="⇔",TF="↭",MF="^",OF="ℏ",RF="Ĥ",NF="ĥ",DF="♥",LF="♥",IF="…",PF="⊹",FF="𝔥",BF="ℌ",$F="ℋ",jF="⤥",zF="⤦",UF="⇿",qF="∻",HF="↩",VF="↪",GF="𝕙",KF="ℍ",WF="―",ZF="─",YF="𝒽",QF="ℋ",JF="ℏ",XF="Ħ",eB="ħ",tB="≎",nB="≏",sB="⁃",oB="‐",rB="Í",iB="í",aB="⁣",lB="Î",cB="î",uB="И",dB="и",hB="İ",fB="Е",pB="е",gB="¡",mB="⇔",_B="𝔦",bB="ℑ",yB="Ì",vB="ì",wB="ⅈ",xB="⨌",kB="∭",EB="⧜",CB="℩",AB="IJ",SB="ij",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="⁣",XB="⁢",e$="Ё",t$="ё",n$="Į",s$="į",o$="𝕀",r$="𝕚",i$="Ι",a$="ι",l$="⨼",c$="¿",u$="𝒾",d$="ℐ",h$="∈",f$="⋵",p$="⋹",g$="⋴",m$="⋳",_$="∈",b$="⁢",y$="Ĩ",v$="ĩ",w$="І",x$="і",k$="Ï",E$="ï",C$="Ĵ",A$="ĵ",S$="Й",T$="й",M$="𝔍",O$="𝔧",R$="ȷ",N$="𝕁",D$="𝕛",L$="𝒥",I$="𝒿",P$="Ј",F$="ј",B$="Є",$$="є",j$="Κ",z$="κ",U$="ϰ",q$="Ķ",H$="ķ",V$="К",G$="к",K$="𝔎",W$="𝔨",Z$="ĸ",Y$="Х",Q$="х",J$="Ќ",X$="ќ",ej="𝕂",tj="𝕜",nj="𝒦",sj="𝓀",oj="⇚",rj="Ĺ",ij="ĺ",aj="⦴",lj="ℒ",cj="Λ",uj="λ",dj="⟨",hj="⟪",fj="⦑",pj="⟨",gj="⪅",mj="ℒ",_j="«",bj="⇤",yj="⤟",vj="←",wj="↞",xj="⇐",kj="⤝",Ej="↩",Cj="↫",Aj="⤹",Sj="⥳",Tj="↢",Mj="⤙",Oj="⤛",Rj="⪫",Nj="⪭",Dj="⪭︀",Lj="⤌",Ij="⤎",Pj="❲",Fj="{",Bj="[",$j="⦋",jj="⦏",zj="⦍",Uj="Ľ",qj="ľ",Hj="Ļ",Vj="ļ",Gj="⌈",Kj="{",Wj="Л",Zj="л",Yj="⤶",Qj="“",Jj="„",Xj="⥧",ez="⥋",tz="↲",nz="≤",sz="≦",oz="⟨",rz="⇤",iz="←",az="←",lz="⇐",cz="⇆",uz="↢",dz="⌈",hz="⟦",fz="⥡",pz="⥙",gz="⇃",mz="⌊",_z="↽",bz="↼",yz="⇇",vz="↔",wz="↔",xz="⇔",kz="⇆",Ez="⇋",Cz="↭",Az="⥎",Sz="↤",Tz="⊣",Mz="⥚",Oz="⋋",Rz="⧏",Nz="⊲",Dz="⊴",Lz="⥑",Iz="⥠",Pz="⥘",Fz="↿",Bz="⥒",$z="↼",jz="⪋",zz="⋚",Uz="≤",qz="≦",Hz="⩽",Vz="⪨",Gz="⩽",Kz="⩿",Wz="⪁",Zz="⪃",Yz="⋚︀",Qz="⪓",Jz="⪅",Xz="⋖",eU="⋚",tU="⪋",nU="⋚",sU="≦",oU="≶",rU="≶",iU="⪡",aU="≲",lU="⩽",cU="≲",uU="⥼",dU="⌊",hU="𝔏",fU="𝔩",pU="≶",gU="⪑",mU="⥢",_U="↽",bU="↼",yU="⥪",vU="▄",wU="Љ",xU="љ",kU="⇇",EU="≪",CU="⋘",AU="⌞",SU="⇚",TU="⥫",MU="◺",OU="Ŀ",RU="ŀ",NU="⎰",DU="⎰",LU="⪉",IU="⪉",PU="⪇",FU="≨",BU="⪇",$U="≨",jU="⋦",zU="⟬",UU="⇽",qU="⟦",HU="⟵",VU="⟵",GU="⟸",KU="⟷",WU="⟷",ZU="⟺",YU="⟼",QU="⟶",JU="⟶",XU="⟹",eq="↫",tq="↬",nq="⦅",sq="𝕃",oq="𝕝",rq="⨭",iq="⨴",aq="∗",lq="_",cq="↙",uq="↘",dq="◊",hq="◊",fq="⧫",pq="(",gq="⦓",mq="⇆",_q="⌟",bq="⇋",yq="⥭",vq="‎",wq="⊿",xq="‹",kq="𝓁",Eq="ℒ",Cq="↰",Aq="↰",Sq="≲",Tq="⪍",Mq="⪏",Oq="[",Rq="‘",Nq="‚",Dq="Ł",Lq="ł",Iq="⪦",Pq="⩹",Fq="<",Bq="<",$q="≪",jq="⋖",zq="⋋",Uq="⋉",qq="⥶",Hq="⩻",Vq="◃",Gq="⊴",Kq="◂",Wq="⦖",Zq="⥊",Yq="⥦",Qq="≨︀",Jq="≨︀",Xq="¯",eH="♂",tH="✠",nH="✠",sH="↦",oH="↦",rH="↧",iH="↤",aH="↥",lH="▮",cH="⨩",uH="М",dH="м",hH="—",fH="∺",pH="∡",gH=" ",mH="ℳ",_H="𝔐",bH="𝔪",yH="℧",vH="µ",wH="*",xH="⫰",kH="∣",EH="·",CH="⊟",AH="−",SH="∸",TH="⨪",MH="∓",OH="⫛",RH="…",NH="∓",DH="⊧",LH="𝕄",IH="𝕞",PH="∓",FH="𝓂",BH="ℳ",$H="∾",jH="Μ",zH="μ",UH="⊸",qH="⊸",HH="∇",VH="Ń",GH="ń",KH="∠⃒",WH="≉",ZH="⩰̸",YH="≋̸",QH="ʼn",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="​",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={Aacute:oA,aacute:rA,Abreve:iA,abreve:aA,ac:lA,acd:cA,acE:uA,Acirc:dA,acirc:hA,acute:fA,Acy:pA,acy:gA,AElig:mA,aelig:_A,af:bA,Afr:yA,afr:vA,Agrave:wA,agrave:xA,alefsym:kA,aleph:EA,Alpha:CA,alpha:AA,Amacr:SA,amacr:TA,amalg:MA,amp:OA,AMP:RA,andand:NA,And:DA,and:LA,andd:IA,andslope:PA,andv:FA,ang:BA,ange:$A,angle:jA,angmsdaa:zA,angmsdab:UA,angmsdac:qA,angmsdad:HA,angmsdae:VA,angmsdaf:GA,angmsdag:KA,angmsdah:WA,angmsd:ZA,angrt:YA,angrtvb:QA,angrtvbd:JA,angsph:XA,angst:eS,angzarr:tS,Aogon:nS,aogon:sS,Aopf:oS,aopf:rS,apacir:iS,ap:aS,apE:lS,ape:cS,apid:uS,apos:dS,ApplyFunction:hS,approx:fS,approxeq:pS,Aring:gS,aring:mS,Ascr:_S,ascr:bS,Assign:yS,ast:vS,asymp:wS,asympeq:xS,Atilde:kS,atilde:ES,Auml:CS,auml:AS,awconint:SS,awint:TS,backcong:MS,backepsilon:OS,backprime:RS,backsim:NS,backsimeq:DS,Backslash:LS,Barv:IS,barvee:PS,barwed:FS,Barwed:BS,barwedge:$S,bbrk:jS,bbrktbrk:zS,bcong:US,Bcy:qS,bcy:HS,bdquo:VS,becaus:GS,because:KS,Because:WS,bemptyv:ZS,bepsi:YS,bernou:QS,Bernoullis:JS,Beta:XS,beta:eT,beth:tT,between:nT,Bfr:sT,bfr:oT,bigcap:rT,bigcirc:iT,bigcup:aT,bigodot:lT,bigoplus:cT,bigotimes:uT,bigsqcup:dT,bigstar:hT,bigtriangledown:fT,bigtriangleup:pT,biguplus:gT,bigvee:mT,bigwedge:_T,bkarow:bT,blacklozenge:yT,blacksquare:vT,blacktriangle:wT,blacktriangledown:xT,blacktriangleleft:kT,blacktriangleright:ET,blank:CT,blk12:AT,blk14:ST,blk34:TT,block:MT,bne:OT,bnequiv:RT,bNot:NT,bnot:DT,Bopf:LT,bopf:IT,bot:PT,bottom:FT,bowtie:BT,boxbox:$T,boxdl:jT,boxdL:zT,boxDl:UT,boxDL:qT,boxdr:HT,boxdR:VT,boxDr:GT,boxDR:KT,boxh:WT,boxH:ZT,boxhd:YT,boxHd:QT,boxhD:JT,boxHD:XT,boxhu:e7,boxHu:t7,boxhU:n7,boxHU:s7,boxminus:o7,boxplus:r7,boxtimes:i7,boxul:a7,boxuL:l7,boxUl:c7,boxUL:u7,boxur:d7,boxuR:h7,boxUr:f7,boxUR:p7,boxv:g7,boxV:m7,boxvh:_7,boxvH:b7,boxVh:y7,boxVH:v7,boxvl:w7,boxvL:x7,boxVl:k7,boxVL:E7,boxvr:C7,boxvR:A7,boxVr:S7,boxVR:T7,bprime:M7,breve:O7,Breve:R7,brvbar:N7,bscr:D7,Bscr:L7,bsemi:I7,bsim:P7,bsime:F7,bsolb:B7,bsol:$7,bsolhsub:j7,bull:z7,bullet:U7,bump:q7,bumpE:H7,bumpe:V7,Bumpeq:G7,bumpeq:K7,Cacute:W7,cacute:Z7,capand:Y7,capbrcup:Q7,capcap:J7,cap:X7,Cap:eM,capcup:tM,capdot:nM,CapitalDifferentialD:sM,caps:oM,caret:rM,caron:iM,Cayleys:aM,ccaps:lM,Ccaron:cM,ccaron:uM,Ccedil:dM,ccedil:hM,Ccirc:fM,ccirc:pM,Cconint:gM,ccups:mM,ccupssm:_M,Cdot:bM,cdot:yM,cedil:vM,Cedilla:wM,cemptyv:xM,cent:kM,centerdot:EM,CenterDot:CM,cfr:AM,Cfr:SM,CHcy:TM,chcy:MM,check:OM,checkmark:RM,Chi:NM,chi:DM,circ:LM,circeq:IM,circlearrowleft:PM,circlearrowright:FM,circledast:BM,circledcirc:$M,circleddash:jM,CircleDot:zM,circledR:UM,circledS:qM,CircleMinus:HM,CirclePlus:VM,CircleTimes:GM,cir:KM,cirE:WM,cire:ZM,cirfnint:YM,cirmid:QM,cirscir:JM,ClockwiseContourIntegral:XM,CloseCurlyDoubleQuote:eO,CloseCurlyQuote:tO,clubs:nO,clubsuit:sO,colon:oO,Colon:rO,Colone:iO,colone:aO,coloneq:lO,comma:cO,commat:uO,comp:dO,compfn:hO,complement:fO,complexes:pO,cong:gO,congdot:mO,Congruent:_O,conint:bO,Conint:yO,ContourIntegral:vO,copf:wO,Copf:xO,coprod:kO,Coproduct:EO,copy:CO,COPY:AO,copysr:SO,CounterClockwiseContourIntegral:TO,crarr:MO,cross:OO,Cross:RO,Cscr:NO,cscr:DO,csub:LO,csube:IO,csup:PO,csupe:FO,ctdot:BO,cudarrl:$O,cudarrr:jO,cuepr:zO,cuesc:UO,cularr:qO,cularrp:HO,cupbrcap:VO,cupcap:GO,CupCap:KO,cup:WO,Cup:ZO,cupcup:YO,cupdot:QO,cupor:JO,cups:XO,curarr:eR,curarrm:tR,curlyeqprec:nR,curlyeqsucc:sR,curlyvee:oR,curlywedge:rR,curren:iR,curvearrowleft:aR,curvearrowright:lR,cuvee:cR,cuwed:uR,cwconint:dR,cwint:hR,cylcty:fR,dagger:pR,Dagger:gR,daleth:mR,darr:_R,Darr:bR,dArr:yR,dash:vR,Dashv:wR,dashv:xR,dbkarow:kR,dblac:ER,Dcaron:CR,dcaron:AR,Dcy:SR,dcy:TR,ddagger:MR,ddarr:OR,DD:RR,dd:NR,DDotrahd:DR,ddotseq:LR,deg:IR,Del:PR,Delta:FR,delta:BR,demptyv:$R,dfisht:jR,Dfr:zR,dfr:UR,dHar:qR,dharl:HR,dharr:VR,DiacriticalAcute:GR,DiacriticalDot:KR,DiacriticalDoubleAcute:WR,DiacriticalGrave:ZR,DiacriticalTilde:YR,diam:QR,diamond:JR,Diamond:XR,diamondsuit:eN,diams:tN,die:nN,DifferentialD:sN,digamma:oN,disin:rN,div:iN,divide:aN,divideontimes:lN,divonx:cN,DJcy:uN,djcy:dN,dlcorn:hN,dlcrop:fN,dollar:pN,Dopf:gN,dopf:mN,Dot:_N,dot:bN,DotDot:yN,doteq:vN,doteqdot:wN,DotEqual:xN,dotminus:kN,dotplus:EN,dotsquare:CN,doublebarwedge:AN,DoubleContourIntegral:SN,DoubleDot:TN,DoubleDownArrow:MN,DoubleLeftArrow:ON,DoubleLeftRightArrow:RN,DoubleLeftTee:NN,DoubleLongLeftArrow:DN,DoubleLongLeftRightArrow:LN,DoubleLongRightArrow:IN,DoubleRightArrow:PN,DoubleRightTee:FN,DoubleUpArrow:BN,DoubleUpDownArrow:$N,DoubleVerticalBar:jN,DownArrowBar:zN,downarrow:UN,DownArrow:qN,Downarrow:HN,DownArrowUpArrow:VN,DownBreve:GN,downdownarrows:KN,downharpoonleft:WN,downharpoonright:ZN,DownLeftRightVector:YN,DownLeftTeeVector:QN,DownLeftVectorBar:JN,DownLeftVector:XN,DownRightTeeVector:eD,DownRightVectorBar:tD,DownRightVector:nD,DownTeeArrow:sD,DownTee:oD,drbkarow:rD,drcorn:iD,drcrop:aD,Dscr:lD,dscr:cD,DScy:uD,dscy:dD,dsol:hD,Dstrok:fD,dstrok:pD,dtdot:gD,dtri:mD,dtrif:_D,duarr:bD,duhar:yD,dwangle:vD,DZcy:wD,dzcy:xD,dzigrarr:kD,Eacute:ED,eacute:CD,easter:AD,Ecaron:SD,ecaron:TD,Ecirc:MD,ecirc:OD,ecir:RD,ecolon:ND,Ecy:DD,ecy:LD,eDDot:ID,Edot:PD,edot:FD,eDot:BD,ee:$D,efDot:jD,Efr:zD,efr:UD,eg:qD,Egrave:HD,egrave:VD,egs:GD,egsdot:KD,el:WD,Element:ZD,elinters:YD,ell:QD,els:JD,elsdot:XD,Emacr:eL,emacr:tL,empty:nL,emptyset:sL,EmptySmallSquare:oL,emptyv:rL,EmptyVerySmallSquare:iL,emsp13:aL,emsp14:lL,emsp:cL,ENG:uL,eng:dL,ensp:hL,Eogon:fL,eogon:pL,Eopf:gL,eopf:mL,epar:_L,eparsl:bL,eplus:yL,epsi:vL,Epsilon:wL,epsilon:xL,epsiv:kL,eqcirc:EL,eqcolon:CL,eqsim:AL,eqslantgtr:SL,eqslantless:TL,Equal:ML,equals:OL,EqualTilde:RL,equest:NL,Equilibrium:DL,equiv:LL,equivDD:IL,eqvparsl:PL,erarr:FL,erDot:BL,escr:$L,Escr:jL,esdot:zL,Esim:UL,esim:qL,Eta:HL,eta:VL,ETH:GL,eth:KL,Euml:WL,euml:ZL,euro:YL,excl:QL,exist:JL,Exists:XL,expectation:eI,exponentiale:tI,ExponentialE:nI,fallingdotseq:sI,Fcy:oI,fcy:rI,female:iI,ffilig:aI,fflig:lI,ffllig:cI,Ffr:uI,ffr:dI,filig:hI,FilledSmallSquare:fI,FilledVerySmallSquare:pI,fjlig:gI,flat:mI,fllig:_I,fltns:bI,fnof:yI,Fopf:vI,fopf:wI,forall:xI,ForAll:kI,fork:EI,forkv:CI,Fouriertrf:AI,fpartint:SI,frac12:TI,frac13:MI,frac14:OI,frac15:RI,frac16:NI,frac18:DI,frac23:LI,frac25:II,frac34:PI,frac35:FI,frac38:BI,frac45:$I,frac56:jI,frac58:zI,frac78:UI,frasl:qI,frown:HI,fscr:VI,Fscr:GI,gacute:KI,Gamma:WI,gamma:ZI,Gammad:YI,gammad:QI,gap:JI,Gbreve:XI,gbreve:eP,Gcedil:tP,Gcirc:nP,gcirc:sP,Gcy:oP,gcy:rP,Gdot:iP,gdot:aP,ge:lP,gE:cP,gEl:uP,gel:dP,geq:hP,geqq:fP,geqslant:pP,gescc:gP,ges:mP,gesdot:_P,gesdoto:bP,gesdotol:yP,gesl:vP,gesles:wP,Gfr:xP,gfr:kP,gg:EP,Gg:CP,ggg:AP,gimel:SP,GJcy:TP,gjcy:MP,gla:OP,gl:RP,glE:NP,glj:DP,gnap:LP,gnapprox:IP,gne:PP,gnE:FP,gneq:BP,gneqq:$P,gnsim:jP,Gopf:zP,gopf:UP,grave:qP,GreaterEqual:HP,GreaterEqualLess:VP,GreaterFullEqual:GP,GreaterGreater:KP,GreaterLess:WP,GreaterSlantEqual:ZP,GreaterTilde:YP,Gscr:QP,gscr:JP,gsim:XP,gsime:eF,gsiml:tF,gtcc:nF,gtcir:sF,gt:oF,GT:rF,Gt:iF,gtdot:aF,gtlPar:lF,gtquest:cF,gtrapprox:uF,gtrarr:dF,gtrdot:hF,gtreqless:fF,gtreqqless:pF,gtrless:gF,gtrsim:mF,gvertneqq:_F,gvnE:bF,Hacek:yF,hairsp:vF,half:wF,hamilt:xF,HARDcy:kF,hardcy:EF,harrcir:CF,harr:AF,hArr:SF,harrw:TF,Hat:MF,hbar:OF,Hcirc:RF,hcirc:NF,hearts:DF,heartsuit:LF,hellip:IF,hercon:PF,hfr:FF,Hfr:BF,HilbertSpace:$F,hksearow:jF,hkswarow:zF,hoarr:UF,homtht:qF,hookleftarrow:HF,hookrightarrow:VF,hopf:GF,Hopf:KF,horbar:WF,HorizontalLine:ZF,hscr:YF,Hscr:QF,hslash:JF,Hstrok:XF,hstrok:eB,HumpDownHump:tB,HumpEqual:nB,hybull:sB,hyphen:oB,Iacute:rB,iacute:iB,ic:aB,Icirc:lB,icirc:cB,Icy:uB,icy:dB,Idot:hB,IEcy:fB,iecy:pB,iexcl:gB,iff:mB,ifr:_B,Ifr:bB,Igrave:yB,igrave:vB,ii:wB,iiiint:xB,iiint:kB,iinfin:EB,iiota:CB,IJlig:AB,ijlig:SB,Imacr:TB,imacr:MB,image:OB,ImaginaryI:RB,imagline:NB,imagpart:DB,imath:LB,Im:IB,imof:PB,imped:FB,Implies:BB,incare:$B,in:"∈",infin:jB,infintie:zB,inodot:UB,intcal:qB,int:HB,Int:VB,integers:GB,Integral:KB,intercal:WB,Intersection:ZB,intlarhk:YB,intprod:QB,InvisibleComma:JB,InvisibleTimes:XB,IOcy:e$,iocy:t$,Iogon:n$,iogon:s$,Iopf:o$,iopf:r$,Iota:i$,iota:a$,iprod:l$,iquest:c$,iscr:u$,Iscr:d$,isin:h$,isindot:f$,isinE:p$,isins:g$,isinsv:m$,isinv:_$,it:b$,Itilde:y$,itilde:v$,Iukcy:w$,iukcy:x$,Iuml:k$,iuml:E$,Jcirc:C$,jcirc:A$,Jcy:S$,jcy:T$,Jfr:M$,jfr:O$,jmath:R$,Jopf:N$,jopf:D$,Jscr:L$,jscr:I$,Jsercy:P$,jsercy:F$,Jukcy:B$,jukcy:$$,Kappa:j$,kappa:z$,kappav:U$,Kcedil:q$,kcedil:H$,Kcy:V$,kcy:G$,Kfr:K$,kfr:W$,kgreen:Z$,KHcy:Y$,khcy:Q$,KJcy:J$,kjcy:X$,Kopf:ej,kopf:tj,Kscr:nj,kscr:sj,lAarr:oj,Lacute:rj,lacute:ij,laemptyv:aj,lagran:lj,Lambda:cj,lambda:uj,lang:dj,Lang:hj,langd:fj,langle:pj,lap:gj,Laplacetrf:mj,laquo:_j,larrb:bj,larrbfs:yj,larr:vj,Larr:wj,lArr:xj,larrfs:kj,larrhk:Ej,larrlp:Cj,larrpl:Aj,larrsim:Sj,larrtl:Tj,latail:Mj,lAtail:Oj,lat:Rj,late:Nj,lates:Dj,lbarr:Lj,lBarr:Ij,lbbrk:Pj,lbrace:Fj,lbrack:Bj,lbrke:$j,lbrksld:jj,lbrkslu:zj,Lcaron:Uj,lcaron:qj,Lcedil:Hj,lcedil:Vj,lceil:Gj,lcub:Kj,Lcy:Wj,lcy:Zj,ldca:Yj,ldquo:Qj,ldquor:Jj,ldrdhar:Xj,ldrushar:ez,ldsh:tz,le:nz,lE:sz,LeftAngleBracket:oz,LeftArrowBar:rz,leftarrow:iz,LeftArrow:az,Leftarrow:lz,LeftArrowRightArrow:cz,leftarrowtail:uz,LeftCeiling:dz,LeftDoubleBracket:hz,LeftDownTeeVector:fz,LeftDownVectorBar:pz,LeftDownVector:gz,LeftFloor:mz,leftharpoondown:_z,leftharpoonup:bz,leftleftarrows:yz,leftrightarrow:vz,LeftRightArrow:wz,Leftrightarrow:xz,leftrightarrows:kz,leftrightharpoons:Ez,leftrightsquigarrow:Cz,LeftRightVector:Az,LeftTeeArrow:Sz,LeftTee:Tz,LeftTeeVector:Mz,leftthreetimes:Oz,LeftTriangleBar:Rz,LeftTriangle:Nz,LeftTriangleEqual:Dz,LeftUpDownVector:Lz,LeftUpTeeVector:Iz,LeftUpVectorBar:Pz,LeftUpVector:Fz,LeftVectorBar:Bz,LeftVector:$z,lEg:jz,leg:zz,leq:Uz,leqq:qz,leqslant:Hz,lescc:Vz,les:Gz,lesdot:Kz,lesdoto:Wz,lesdotor:Zz,lesg:Yz,lesges:Qz,lessapprox:Jz,lessdot:Xz,lesseqgtr:eU,lesseqqgtr:tU,LessEqualGreater:nU,LessFullEqual:sU,LessGreater:oU,lessgtr:rU,LessLess:iU,lesssim:aU,LessSlantEqual:lU,LessTilde:cU,lfisht:uU,lfloor:dU,Lfr:hU,lfr:fU,lg:pU,lgE:gU,lHar:mU,lhard:_U,lharu:bU,lharul:yU,lhblk:vU,LJcy:wU,ljcy:xU,llarr:kU,ll:EU,Ll:CU,llcorner:AU,Lleftarrow:SU,llhard:TU,lltri:MU,Lmidot:OU,lmidot:RU,lmoustache:NU,lmoust:DU,lnap:LU,lnapprox:IU,lne:PU,lnE:FU,lneq:BU,lneqq:$U,lnsim:jU,loang:zU,loarr:UU,lobrk:qU,longleftarrow:HU,LongLeftArrow:VU,Longleftarrow:GU,longleftrightarrow:KU,LongLeftRightArrow:WU,Longleftrightarrow:ZU,longmapsto:YU,longrightarrow:QU,LongRightArrow:JU,Longrightarrow:XU,looparrowleft:eq,looparrowright:tq,lopar:nq,Lopf:sq,lopf:oq,loplus:rq,lotimes:iq,lowast:aq,lowbar:lq,LowerLeftArrow:cq,LowerRightArrow:uq,loz:dq,lozenge:hq,lozf:fq,lpar:pq,lparlt:gq,lrarr:mq,lrcorner:_q,lrhar:bq,lrhard:yq,lrm:vq,lrtri:wq,lsaquo:xq,lscr:kq,Lscr:Eq,lsh:Cq,Lsh:Aq,lsim:Sq,lsime:Tq,lsimg:Mq,lsqb:Oq,lsquo:Rq,lsquor:Nq,Lstrok:Dq,lstrok:Lq,ltcc:Iq,ltcir:Pq,lt:Fq,LT:Bq,Lt:$q,ltdot:jq,lthree:zq,ltimes:Uq,ltlarr:qq,ltquest:Hq,ltri:Vq,ltrie:Gq,ltrif:Kq,ltrPar:Wq,lurdshar:Zq,luruhar:Yq,lvertneqq:Qq,lvnE:Jq,macr:Xq,male:eH,malt:tH,maltese:nH,Map:"⤅",map:sH,mapsto:oH,mapstodown:rH,mapstoleft:iH,mapstoup:aH,marker:lH,mcomma:cH,Mcy:uH,mcy:dH,mdash:hH,mDDot:fH,measuredangle:pH,MediumSpace:gH,Mellintrf:mH,Mfr:_H,mfr:bH,mho:yH,micro:vH,midast:wH,midcir:xH,mid:kH,middot:EH,minusb:CH,minus:AH,minusd:SH,minusdu:TH,MinusPlus:MH,mlcp:OH,mldr:RH,mnplus:NH,models:DH,Mopf:LH,mopf:IH,mp:PH,mscr:FH,Mscr:BH,mstpos:$H,Mu:jH,mu:zH,multimap:UH,mumap:qH,nabla:HH,Nacute:VH,nacute:GH,nang:KH,nap:WH,napE:ZH,napid:YH,napos:QH,napprox:JH,natural:XH,naturals:eV,natur:tV,nbsp:nV,nbump:sV,nbumpe:oV,ncap:rV,Ncaron:iV,ncaron:aV,Ncedil:lV,ncedil:cV,ncong:uV,ncongdot:dV,ncup:hV,Ncy:fV,ncy:pV,ndash:gV,nearhk:mV,nearr:_V,neArr:bV,nearrow:yV,ne:vV,nedot:wV,NegativeMediumSpace:xV,NegativeThickSpace:kV,NegativeThinSpace:EV,NegativeVeryThinSpace:CV,nequiv:AV,nesear:SV,nesim:TV,NestedGreaterGreater:MV,NestedLessLess:OV,NewLine:RV,nexist:NV,nexists:DV,Nfr:LV,nfr:IV,ngE:PV,nge:FV,ngeq:BV,ngeqq:$V,ngeqslant:jV,nges:zV,nGg:UV,ngsim:qV,nGt:HV,ngt:VV,ngtr:GV,nGtv:KV,nharr:WV,nhArr:ZV,nhpar:YV,ni:QV,nis:JV,nisd:XV,niv:eG,NJcy:tG,njcy:nG,nlarr:sG,nlArr:oG,nldr:rG,nlE:iG,nle:aG,nleftarrow:lG,nLeftarrow:cG,nleftrightarrow:uG,nLeftrightarrow:dG,nleq:hG,nleqq:fG,nleqslant:pG,nles:gG,nless:mG,nLl:_G,nlsim:bG,nLt:yG,nlt:vG,nltri:wG,nltrie:xG,nLtv:kG,nmid:EG,NoBreak:CG,NonBreakingSpace:AG,nopf:SG,Nopf:TG,Not:MG,not:OG,NotCongruent:RG,NotCupCap:NG,NotDoubleVerticalBar:DG,NotElement:LG,NotEqual:IG,NotEqualTilde:PG,NotExists:FG,NotGreater:BG,NotGreaterEqual:$G,NotGreaterFullEqual:jG,NotGreaterGreater:zG,NotGreaterLess:UG,NotGreaterSlantEqual:qG,NotGreaterTilde:HG,NotHumpDownHump:VG,NotHumpEqual:GG,notin:KG,notindot:WG,notinE:ZG,notinva:YG,notinvb:QG,notinvc:JG,NotLeftTriangleBar:XG,NotLeftTriangle:eK,NotLeftTriangleEqual:tK,NotLess:nK,NotLessEqual:sK,NotLessGreater:oK,NotLessLess:rK,NotLessSlantEqual:iK,NotLessTilde:aK,NotNestedGreaterGreater:lK,NotNestedLessLess:cK,notni:uK,notniva:dK,notnivb:hK,notnivc:fK,NotPrecedes:pK,NotPrecedesEqual:gK,NotPrecedesSlantEqual:mK,NotReverseElement:_K,NotRightTriangleBar:bK,NotRightTriangle:yK,NotRightTriangleEqual:vK,NotSquareSubset:wK,NotSquareSubsetEqual:xK,NotSquareSuperset:kK,NotSquareSupersetEqual:EK,NotSubset:CK,NotSubsetEqual:AK,NotSucceeds:SK,NotSucceedsEqual:TK,NotSucceedsSlantEqual:MK,NotSucceedsTilde:OK,NotSuperset:RK,NotSupersetEqual:NK,NotTilde:DK,NotTildeEqual:LK,NotTildeFullEqual:IK,NotTildeTilde:PK,NotVerticalBar:FK,nparallel:BK,npar:$K,nparsl:jK,npart:zK,npolint:UK,npr:qK,nprcue:HK,nprec:VK,npreceq:GK,npre:KK,nrarrc:WK,nrarr:ZK,nrArr:YK,nrarrw:QK,nrightarrow:JK,nRightarrow:XK,nrtri:eW,nrtrie:tW,nsc:nW,nsccue:sW,nsce:oW,Nscr:rW,nscr:iW,nshortmid:aW,nshortparallel:lW,nsim:cW,nsime:uW,nsimeq:dW,nsmid:hW,nspar:fW,nsqsube:pW,nsqsupe:gW,nsub:mW,nsubE:_W,nsube:bW,nsubset:yW,nsubseteq:vW,nsubseteqq:wW,nsucc:xW,nsucceq:kW,nsup:EW,nsupE:CW,nsupe:AW,nsupset:SW,nsupseteq:TW,nsupseteqq:MW,ntgl:OW,Ntilde:RW,ntilde:NW,ntlg:DW,ntriangleleft:LW,ntrianglelefteq:IW,ntriangleright:PW,ntrianglerighteq:FW,Nu:BW,nu:$W,num:jW,numero:zW,numsp:UW,nvap:qW,nvdash:HW,nvDash:VW,nVdash:GW,nVDash:KW,nvge:WW,nvgt:ZW,nvHarr:YW,nvinfin:QW,nvlArr:JW,nvle:XW,nvlt:eZ,nvltrie:tZ,nvrArr:nZ,nvrtrie:sZ,nvsim:oZ,nwarhk:rZ,nwarr:iZ,nwArr:aZ,nwarrow:lZ,nwnear:cZ,Oacute:uZ,oacute:dZ,oast:hZ,Ocirc:fZ,ocirc:pZ,ocir:gZ,Ocy:mZ,ocy:_Z,odash:bZ,Odblac:yZ,odblac:vZ,odiv:wZ,odot:xZ,odsold:kZ,OElig:EZ,oelig:CZ,ofcir:AZ,Ofr:SZ,ofr:TZ,ogon:MZ,Ograve:OZ,ograve:RZ,ogt:NZ,ohbar:DZ,ohm:LZ,oint:IZ,olarr:PZ,olcir:FZ,olcross:BZ,oline:$Z,olt:jZ,Omacr:zZ,omacr:UZ,Omega:qZ,omega:HZ,Omicron:VZ,omicron:GZ,omid:KZ,ominus:WZ,Oopf:ZZ,oopf:YZ,opar:QZ,OpenCurlyDoubleQuote:JZ,OpenCurlyQuote:XZ,operp:eY,oplus:tY,orarr:nY,Or:sY,or:oY,ord:rY,order:iY,orderof:aY,ordf:lY,ordm:cY,origof:uY,oror:dY,orslope:hY,orv:fY,oS:pY,Oscr:gY,oscr:mY,Oslash:_Y,oslash:bY,osol:yY,Otilde:vY,otilde:wY,otimesas:xY,Otimes:kY,otimes:EY,Ouml:CY,ouml:AY,ovbar:SY,OverBar:TY,OverBrace:MY,OverBracket:OY,OverParenthesis:RY,para:NY,parallel:DY,par:LY,parsim:IY,parsl:PY,part:FY,PartialD:BY,Pcy:$Y,pcy:jY,percnt:zY,period:UY,permil:qY,perp:HY,pertenk:VY,Pfr:GY,pfr:KY,Phi:WY,phi:ZY,phiv:YY,phmmat:QY,phone:JY,Pi:XY,pi:eQ,pitchfork:tQ,piv:nQ,planck:sQ,planckh:oQ,plankv:rQ,plusacir:iQ,plusb:aQ,pluscir:lQ,plus:cQ,plusdo:uQ,plusdu:dQ,pluse:hQ,PlusMinus:fQ,plusmn:pQ,plussim:gQ,plustwo:mQ,pm:_Q,Poincareplane:bQ,pointint:yQ,popf:vQ,Popf:wQ,pound:xQ,prap:kQ,Pr:EQ,pr:CQ,prcue:AQ,precapprox:SQ,prec:TQ,preccurlyeq:MQ,Precedes:OQ,PrecedesEqual:RQ,PrecedesSlantEqual:NQ,PrecedesTilde:DQ,preceq:LQ,precnapprox:IQ,precneqq:PQ,precnsim:FQ,pre:BQ,prE:$Q,precsim:jQ,prime:zQ,Prime:UQ,primes:qQ,prnap:HQ,prnE:VQ,prnsim:GQ,prod:KQ,Product:WQ,profalar:ZQ,profline:YQ,profsurf:QQ,prop:JQ,Proportional:XQ,Proportion:eJ,propto:tJ,prsim:nJ,prurel:sJ,Pscr:oJ,pscr:rJ,Psi:iJ,psi:aJ,puncsp:lJ,Qfr:cJ,qfr:uJ,qint:dJ,qopf:hJ,Qopf:fJ,qprime:pJ,Qscr:gJ,qscr:mJ,quaternions:_J,quatint:bJ,quest:yJ,questeq:vJ,quot:wJ,QUOT:xJ,rAarr:kJ,race:EJ,Racute:CJ,racute:AJ,radic:SJ,raemptyv:TJ,rang:MJ,Rang:OJ,rangd:RJ,range:NJ,rangle:DJ,raquo:LJ,rarrap:IJ,rarrb:PJ,rarrbfs:FJ,rarrc:BJ,rarr:$J,Rarr:jJ,rArr:zJ,rarrfs:UJ,rarrhk:qJ,rarrlp:HJ,rarrpl:VJ,rarrsim:GJ,Rarrtl:KJ,rarrtl:WJ,rarrw:ZJ,ratail:YJ,rAtail:QJ,ratio:JJ,rationals:XJ,rbarr:eX,rBarr:tX,RBarr:nX,rbbrk:sX,rbrace:oX,rbrack:rX,rbrke:iX,rbrksld:aX,rbrkslu:lX,Rcaron:cX,rcaron:uX,Rcedil:dX,rcedil:hX,rceil:fX,rcub:pX,Rcy:gX,rcy:mX,rdca:_X,rdldhar:bX,rdquo:yX,rdquor:vX,rdsh:wX,real:xX,realine:kX,realpart:EX,reals:CX,Re:AX,rect:SX,reg:TX,REG:MX,ReverseElement:OX,ReverseEquilibrium:RX,ReverseUpEquilibrium:NX,rfisht:DX,rfloor:LX,rfr:IX,Rfr:PX,rHar:FX,rhard:BX,rharu:$X,rharul:jX,Rho:zX,rho:UX,rhov:qX,RightAngleBracket:HX,RightArrowBar:VX,rightarrow:GX,RightArrow:KX,Rightarrow:WX,RightArrowLeftArrow:ZX,rightarrowtail:YX,RightCeiling:QX,RightDoubleBracket:JX,RightDownTeeVector:XX,RightDownVectorBar:eee,RightDownVector:tee,RightFloor:nee,rightharpoondown:see,rightharpoonup:oee,rightleftarrows:ree,rightleftharpoons:iee,rightrightarrows:aee,rightsquigarrow:lee,RightTeeArrow:cee,RightTee:uee,RightTeeVector:dee,rightthreetimes:hee,RightTriangleBar:fee,RightTriangle:pee,RightTriangleEqual:gee,RightUpDownVector:mee,RightUpTeeVector:_ee,RightUpVectorBar:bee,RightUpVector:yee,RightVectorBar:vee,RightVector:wee,ring:xee,risingdotseq:kee,rlarr:Eee,rlhar:Cee,rlm:Aee,rmoustache:See,rmoust:Tee,rnmid:Mee,roang:Oee,roarr:Ree,robrk:Nee,ropar:Dee,ropf:Lee,Ropf:Iee,roplus:Pee,rotimes:Fee,RoundImplies:Bee,rpar:$ee,rpargt:jee,rppolint:zee,rrarr:Uee,Rrightarrow:qee,rsaquo:Hee,rscr:Vee,Rscr:Gee,rsh:Kee,Rsh:Wee,rsqb:Zee,rsquo:Yee,rsquor:Qee,rthree:Jee,rtimes:Xee,rtri:ete,rtrie:tte,rtrif:nte,rtriltri:ste,RuleDelayed:ote,ruluhar:rte,rx:ite,Sacute:ate,sacute:lte,sbquo:cte,scap:ute,Scaron:dte,scaron:hte,Sc:fte,sc:pte,sccue:gte,sce:mte,scE:_te,Scedil:bte,scedil:yte,Scirc:vte,scirc:wte,scnap:xte,scnE:kte,scnsim:Ete,scpolint:Cte,scsim:Ate,Scy:Ste,scy:Tte,sdotb:Mte,sdot:Ote,sdote:Rte,searhk:Nte,searr:Dte,seArr:Lte,searrow:Ite,sect:Pte,semi:Fte,seswar:Bte,setminus:$te,setmn:jte,sext:zte,Sfr:Ute,sfr:qte,sfrown:Hte,sharp:Vte,SHCHcy:Gte,shchcy:Kte,SHcy:Wte,shcy:Zte,ShortDownArrow:Yte,ShortLeftArrow:Qte,shortmid:Jte,shortparallel:Xte,ShortRightArrow:ene,ShortUpArrow:tne,shy:nne,Sigma:sne,sigma:one,sigmaf:rne,sigmav:ine,sim:ane,simdot:lne,sime:cne,simeq:une,simg:dne,simgE:hne,siml:fne,simlE:pne,simne:gne,simplus:mne,simrarr:_ne,slarr:bne,SmallCircle:yne,smallsetminus:vne,smashp:wne,smeparsl:xne,smid:kne,smile:Ene,smt:Cne,smte:Ane,smtes:Sne,SOFTcy:Tne,softcy:Mne,solbar:One,solb:Rne,sol:Nne,Sopf:Dne,sopf:Lne,spades:Ine,spadesuit:Pne,spar:Fne,sqcap:Bne,sqcaps:$ne,sqcup:jne,sqcups:zne,Sqrt:Une,sqsub:qne,sqsube:Hne,sqsubset:Vne,sqsubseteq:Gne,sqsup:Kne,sqsupe:Wne,sqsupset:Zne,sqsupseteq:Yne,square:Qne,Square:Jne,SquareIntersection:Xne,SquareSubset:ese,SquareSubsetEqual:tse,SquareSuperset:nse,SquareSupersetEqual:sse,SquareUnion:ose,squarf:rse,squ:ise,squf:ase,srarr:lse,Sscr:cse,sscr:use,ssetmn:dse,ssmile:hse,sstarf:fse,Star:pse,star:gse,starf:mse,straightepsilon:_se,straightphi:bse,strns:yse,sub:vse,Sub:wse,subdot:xse,subE:kse,sube:Ese,subedot:Cse,submult:Ase,subnE:Sse,subne:Tse,subplus:Mse,subrarr:Ose,subset:Rse,Subset:Nse,subseteq:Dse,subseteqq:Lse,SubsetEqual:Ise,subsetneq:Pse,subsetneqq:Fse,subsim:Bse,subsub:$se,subsup:jse,succapprox:zse,succ:Use,succcurlyeq:qse,Succeeds:Hse,SucceedsEqual:Vse,SucceedsSlantEqual:Gse,SucceedsTilde:Kse,succeq:Wse,succnapprox:Zse,succneqq:Yse,succnsim:Qse,succsim:Jse,SuchThat:Xse,sum:eoe,Sum:toe,sung:noe,sup1:soe,sup2:ooe,sup3:roe,sup:ioe,Sup:aoe,supdot:loe,supdsub:coe,supE:uoe,supe:doe,supedot:hoe,Superset:foe,SupersetEqual:poe,suphsol:goe,suphsub:moe,suplarr:_oe,supmult:boe,supnE:yoe,supne:voe,supplus:woe,supset:xoe,Supset:koe,supseteq:Eoe,supseteqq:Coe,supsetneq:Aoe,supsetneqq:Soe,supsim:Toe,supsub:Moe,supsup:Ooe,swarhk:Roe,swarr:Noe,swArr:Doe,swarrow:Loe,swnwar:Ioe,szlig:Poe,Tab:Foe,target:Boe,Tau:$oe,tau:joe,tbrk:zoe,Tcaron:Uoe,tcaron:qoe,Tcedil:Hoe,tcedil:Voe,Tcy:Goe,tcy:Koe,tdot:Woe,telrec:Zoe,Tfr:Yoe,tfr:Qoe,there4:Joe,therefore:Xoe,Therefore:ere,Theta:tre,theta:nre,thetasym:sre,thetav:ore,thickapprox:rre,thicksim:ire,ThickSpace:are,ThinSpace:lre,thinsp:cre,thkap:ure,thksim:dre,THORN:hre,thorn:fre,tilde:pre,Tilde:gre,TildeEqual:mre,TildeFullEqual:_re,TildeTilde:bre,timesbar:yre,timesb:vre,times:wre,timesd:xre,tint:kre,toea:Ere,topbot:Cre,topcir:Are,top:Sre,Topf:Tre,topf:Mre,topfork:Ore,tosa:Rre,tprime:Nre,trade:Dre,TRADE:Lre,triangle:Ire,triangledown:Pre,triangleleft:Fre,trianglelefteq:Bre,triangleq:$re,triangleright:jre,trianglerighteq:zre,tridot:Ure,trie:qre,triminus:Hre,TripleDot:Vre,triplus:Gre,trisb:Kre,tritime:Wre,trpezium:Zre,Tscr:Yre,tscr:Qre,TScy:Jre,tscy:Xre,TSHcy:eie,tshcy:tie,Tstrok:nie,tstrok:sie,twixt:oie,twoheadleftarrow:rie,twoheadrightarrow:iie,Uacute:aie,uacute:lie,uarr:cie,Uarr:uie,uArr:die,Uarrocir:hie,Ubrcy:fie,ubrcy:pie,Ubreve:gie,ubreve:mie,Ucirc:_ie,ucirc:bie,Ucy:yie,ucy:vie,udarr:wie,Udblac:xie,udblac:kie,udhar:Eie,ufisht:Cie,Ufr:Aie,ufr:Sie,Ugrave:Tie,ugrave:Mie,uHar:Oie,uharl:Rie,uharr:Nie,uhblk:Die,ulcorn:Lie,ulcorner:Iie,ulcrop:Pie,ultri:Fie,Umacr:Bie,umacr:$ie,uml:jie,UnderBar:zie,UnderBrace:Uie,UnderBracket:qie,UnderParenthesis:Hie,Union:Vie,UnionPlus:Gie,Uogon:Kie,uogon:Wie,Uopf:Zie,uopf:Yie,UpArrowBar:Qie,uparrow:Jie,UpArrow:Xie,Uparrow:eae,UpArrowDownArrow:tae,updownarrow:nae,UpDownArrow:sae,Updownarrow:oae,UpEquilibrium:rae,upharpoonleft:iae,upharpoonright:aae,uplus:lae,UpperLeftArrow:cae,UpperRightArrow:uae,upsi:dae,Upsi:hae,upsih:fae,Upsilon:pae,upsilon:gae,UpTeeArrow:mae,UpTee:_ae,upuparrows:bae,urcorn:yae,urcorner:vae,urcrop:wae,Uring:xae,uring:kae,urtri:Eae,Uscr:Cae,uscr:Aae,utdot:Sae,Utilde:Tae,utilde:Mae,utri:Oae,utrif:Rae,uuarr:Nae,Uuml:Dae,uuml:Lae,uwangle:Iae,vangrt:Pae,varepsilon:Fae,varkappa:Bae,varnothing:$ae,varphi:jae,varpi:zae,varpropto:Uae,varr:qae,vArr:Hae,varrho:Vae,varsigma:Gae,varsubsetneq:Kae,varsubsetneqq:Wae,varsupsetneq:Zae,varsupsetneqq:Yae,vartheta:Qae,vartriangleleft:Jae,vartriangleright:Xae,vBar:ele,Vbar:tle,vBarv:nle,Vcy:sle,vcy:ole,vdash:rle,vDash:ile,Vdash:ale,VDash:lle,Vdashl:cle,veebar:ule,vee:dle,Vee:hle,veeeq:fle,vellip:ple,verbar:gle,Verbar:mle,vert:_le,Vert:ble,VerticalBar:yle,VerticalLine:vle,VerticalSeparator:wle,VerticalTilde:xle,VeryThinSpace:kle,Vfr:Ele,vfr:Cle,vltri:Ale,vnsub:Sle,vnsup:Tle,Vopf:Mle,vopf:Ole,vprop:Rle,vrtri:Nle,Vscr:Dle,vscr:Lle,vsubnE:Ile,vsubne:Ple,vsupnE:Fle,vsupne:Ble,Vvdash:$le,vzigzag:jle,Wcirc:zle,wcirc:Ule,wedbar:qle,wedge:Hle,Wedge:Vle,wedgeq:Gle,weierp:Kle,Wfr:Wle,wfr:Zle,Wopf:Yle,wopf:Qle,wp:Jle,wr:Xle,wreath:ece,Wscr:tce,wscr:nce,xcap:sce,xcirc:oce,xcup:rce,xdtri:ice,Xfr:ace,xfr:lce,xharr:cce,xhArr:uce,Xi:dce,xi:hce,xlarr:fce,xlArr:pce,xmap:gce,xnis:mce,xodot:_ce,Xopf:bce,xopf:yce,xoplus:vce,xotime:wce,xrarr:xce,xrArr:kce,Xscr:Ece,xscr:Cce,xsqcup:Ace,xuplus:Sce,xutri:Tce,xvee:Mce,xwedge:Oce,Yacute:Rce,yacute:Nce,YAcy:Dce,yacy:Lce,Ycirc:Ice,ycirc:Pce,Ycy:Fce,ycy:Bce,yen:$ce,Yfr:jce,yfr:zce,YIcy:Uce,yicy:qce,Yopf:Hce,yopf:Vce,Yscr:Gce,yscr:Kce,YUcy:Wce,yucy:Zce,yuml:Yce,Yuml:Qce,Zacute:Jce,zacute:Xce,Zcaron:eue,zcaron:tue,Zcy:nue,zcy:sue,Zdot:oue,zdot:rue,zeetrf:iue,ZeroWidthSpace:aue,Zeta:lue,zeta:cue,zfr:uue,Zfr:due,ZHcy:hue,zhcy:fue,zigrarr:pue,zopf:gue,Zopf:mue,Zscr:_ue,zscr:bue,zwj:yue,zwnj:vue};var sg=wue,sc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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={},Ku={};function xue(t){var e,n,s=Ku[t];if(s)return s;for(s=Ku[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=xue(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}li.defaultChars=";/?:@&=+$,-_.!~*'()#";li.componentChars="-_.!~*'()";var kue=li,Wu={};function Eue(t){var e,n,s=Wu[t];if(s)return s;for(s=Wu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&d<=57343?h+="���":h+=String.fromCharCode(d),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(d-=65536,h+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}h+="�"}return h})}ci.defaultChars=";/?:@&=+$,#";ci.componentChars="";var Cue=ci,Aue=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 Sue=/^([a-z0-9.+-]+:)/i,Tue=/:[0-9]*$/,Mue=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Oue=["<",">",'"',"`"," ","\r",` `," "],Rue=["{","}","|","\\","^","`"].concat(Oue),Nue=["'"].concat(Rue),Zu=["%","/","?",";","#"].concat(Nue),Yu=["/","?","#"],Due=255,Qu=/^[+a-z0-9A-Z_-]{0,63}$/,Lue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ju={javascript:!0,"javascript:":!0},Xu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Iue(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=Mue.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Sue.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&&Ju[c])&&(a=a.substr(2),this.slashes=!0)),!Ju[c]&&(i||c&&!Xu[c])){var d=-1;for(n=0;n127?_+="x":_+=b[y];if(!_.match(Qu)){var C=p.slice(0,n),R=p.slice(n+1),O=b.match(Lue);O&&(C.push(O[1]),R.unshift(O[2])),R.length&&(a=R.join(".")+a),this.hostname=C.join(".");break}}}}this.hostname.length>Due&&(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),Xu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ar.prototype.parseHost=function(t){var e=Tue.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 Pue=Iue;Vs.encode=kue;Vs.decode=Cue;Vs.format=Aue;Vs.parse=Pue;var Fn={},$i,ed;function og(){return ed||(ed=1,$i=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),$i}var ji,td;function rg(){return td||(td=1,ji=/[\0-\x1F\x7F-\x9F]/),ji}var zi,nd;function Fue(){return nd||(nd=1,zi=/[\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]/),zi}var Ui,sd;function ig(){return sd||(sd=1,Ui=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ui}var od;function Bue(){return od||(od=1,Fn.Any=og(),Fn.Cc=rg(),Fn.Cf=Fue(),Fn.P=sc,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={"&":"&","<":"<",">":">",'"':"""};function C(I){return x[I]}function R(I){return _.test(I)?I.replace(y,C):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=sc;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=Bue(),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 ui={},$ue=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,d=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=rd(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},zue=ze.unescapeAll,Uue=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+Xn(t[e].content)+""};Jt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` `};Jt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Hue(r.info).trim():"",a="",l="",c,d,h,f,g;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Xn(r.content):c=Xn(r.content),c.indexOf(""+c+` @@ -96,7 +96,7 @@ You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},ce=t=>( `:">",r)};Gs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function Xue(t){return/^<\/a\s*>/i.test(t)}var ede=function(e){var n,s,o,r,i,a,l,c,d,h,f,g,m,p,b,_,y=e.tokens,x;if(e.md.options.linkify){for(s=0,o=y.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(Jue(a.content)&&m>0&&m--,Xue(a.content)&&m++),!(m>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(d=a.content,x=e.md.linkify.match(d),l=[],g=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;cf&&(i=new e.Token("text","",0),i.content=d.slice(f,h),i.level=g,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",b]],i.level=g++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=_,i.level=g,l.push(i),i=new e.Token("link_close","a",-1),i.level=--g,i.markup="linkify",i.info="auto",l.push(i),f=x[c].lastIndex);f=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(nde,ode)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function ide(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 ade=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(tde.test(e.tokens[n].content)&&rde(e.tokens[n].children),ag.test(e.tokens[n].content)&&ide(e.tokens[n].children))},id=ze.isWhiteSpace,ad=ze.isPunctChar,ld=ze.isMdAsciiPunct,lde=/['"]/,cd=/['"]/g,ud="’";function Wo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function cde(t,e){var n,s,o,r,i,a,l,c,d,h,f,g,m,p,b,_,y,x,C,R,O;for(C=[],n=0;n=0&&!(C[y].level<=l);y--);if(C.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)d=o.charCodeAt(r.index-1);else for(y=n-1;y>=0&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y--)if(t[y].content){d=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i=48&&d<=57&&(_=b=!1),b&&_&&(b=f,_=g),!b&&!_){x&&(s.content=Wo(s.content,r.index,ud));continue}if(_){for(y=C.length-1;y>=0&&(c=C[y],!(C[y].level=0;n--)e.tokens[n].type!=="inline"||!lde.test(e.tokens[n].content)||cde(e.tokens[n].children,e)},dde=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Ks.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var rc=Ks,hde=rc;function lg(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}lg.prototype.Token=hde;var fde=lg,pde=oc,qi=[["normalize",Wue],["block",Zue],["inline",Yue],["linkify",ede],["replacements",ade],["smartquotes",ude],["text_join",dde]];function ic(){this.ruler=new pde;for(var t=0;ts||(d=n+1,e.sCount[d]=4||(a=e.bMarks[d]+e.tShift[d],a>=e.eMarks[d])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[d]||(O=e.src.charCodeAt(a++),O!==124&&O!==45&&O!==58&&!Hi(O))||R===45&&Hi(O))return!1;for(;a=4||(h=dd(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",C=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=b=[n,0],g=e.push("thead_open","thead",1),g.map=[n,n+1],g=e.push("tr_open","tr",1),g.map=[n,n+1],l=0;l=4)break;for(h=dd(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),d===n+2&&(g=e.push("tbody_open","tbody",1),g.map=_=[n+2,0]),g=e.push("tr_open","tr",1),g.map=[d,d+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` -`,i.map=[n,e.line],!0},bde=function(e,n,s,o){var r,i,a,l,c,d,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(h=e.src.slice(c,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,C=!0):e.src.charCodeAt(M)===9?(C=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):C=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=L,y=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=n+1;f=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,C=!0):e.src.charCodeAt(M)===9?(C=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):C=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=L,p.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(C?1:0),y.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(d)break;for(R=!1,a=0,c=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(T=!0),(L=pd(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=fd(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(b=e.src.charCodeAt(L-1),o)return!0;for(p=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),_!==1&&(Z.attrs=[["start",_]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(b),x=n,F=!1,le=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=y?c=1:c=C-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]=C,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=k,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(b),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=le.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<0)){for(y=!1,d=0,h=x.length;d"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:C,href:c}),e.parentType=m,e.line=n+R+1),!0)},Ade=["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"],di={},Sde="[a-zA-Z_:][a-zA-Z0-9:._-]*",Tde="[^\"'=<>`\\x00-\\x20]+",Mde="'[^']*'",Ode='"[^"]*"',Rde="(?:"+Tde+"|"+Mde+"|"+Ode+")",Nde="(?:\\s+"+Sde+"(?:\\s*=\\s*"+Rde+")?)",ug="<[A-Za-z][A-Za-z0-9\\-]*"+Nde+"*\\s*\\/?>",dg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Dde="|",Lde="<[?][\\s\\S]*?[?]>",Ide="]*>",Pde="",Fde=new RegExp("^(?:"+ug+"|"+dg+"|"+Dde+"|"+Lde+"|"+Ide+"|"+Pde+")"),Bde=new RegExp("^(?:"+ug+"|"+dg+")");di.HTML_TAG_RE=Fde;di.HTML_OPEN_CLOSE_TAG_RE=Bde;var $de=Ade,jde=di.HTML_OPEN_CLOSE_TAG_RE,us=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(jde.source+"\\s*$"),/^$/,!1]],zde=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],d=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,d),r=0;r=4||(r=e.src.charCodeAt(c),r!==35||c>=d))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c6||cc&&gd(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)},qde=function(e,n,s){var o,r,i,a,l,c,d,h,f,g=n+1,m,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],d=e.eMarks[g],c=d)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=p.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=d.length;r0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!hi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,d,h,f=e;if(e>=n)return"";for(d=new Array(n-e),r=0;fs?d[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):d[r]=this.src.slice(l,c)}return d.join("")};Xt.prototype.Token=hg;var Vde=Xt,Gde=oc,Yo=[["table",mde,["paragraph","reference"]],["code",_de],["fence",bde,["paragraph","reference","blockquote","list"]],["blockquote",yde,["paragraph","reference","blockquote","list"]],["hr",wde,["paragraph","reference","blockquote","list"]],["list",kde,["paragraph","reference","blockquote"]],["reference",Cde],["html_block",zde,["paragraph","reference","blockquote"]],["heading",Ude,["paragraph","reference","blockquote"]],["lheading",qde],["paragraph",Hde]];function fi(){this.ruler=new Gde;for(var t=0;t=n||t.sCount[a]=c){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Yde),!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)},Jde=ze.isSpace,Xde=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){ac[t.charCodeAt(0)]=1});var the=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&ac[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},nhe=function(e,n){var s,o,r,i,a,l,c,d,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}gi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(bd(e,e.delimiters),n=0;n=p)return!1;if(b=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?l=c.pos:f="",b=l;l=p||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(b,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),d=e.env.references[she(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,Ki=ze.isSpace,ihe=function(e,n){var s,o,r,i,a,l,c,d,h,f,g,m,p,b="",_=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c=y)return!1;for(p=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?c=h.pos:b=""),p=c;c=y||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?i=e.src.slice(p,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),d=e.env.references[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},ahe=/^([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]*)$/,che=function(e,n){var s,o,r,i,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(i=e.src.charCodeAt(c),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,c),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):ahe.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},uhe=di.HTML_TAG_RE;function dhe(t){return/^\s]/i.test(t)}function hhe(t){return/^<\/a\s*>/i.test(t)}function fhe(t){var e=t|32;return e>=97&&e<=122}var phe=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&&!fhe(s))||(o=e.src.slice(a).match(uhe),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),dhe(i.content)&&e.linkLevel++,hhe(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},yd=sg,ghe=ze.has,mhe=ze.isValidEntityCode,vd=ze.fromCodePoint,_he=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bhe=/^&([a-z][a-z0-9]{1,31});/i,yhe=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(_he),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=mhe(o)?vd(o):vd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(bhe),r&&ghe(yd,r[1]))return n||(i=e.push("text_special","",0),i.content=yd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function wd(t,e){var n,s,o,r,i,a,l,c,d={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+c,m[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(d[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var vhe=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(wd(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Io.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,d,h,f=!0,g=!0,m=this.posMax,p=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Po.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Yi}function ul(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 mi(t){return Object.prototype.toString.call(t)}function Che(t){return mi(t)==="[object String]"}function Ahe(t){return mi(t)==="[object Object]"}function She(t){return mi(t)==="[object RegExp]"}function Sd(t){return mi(t)==="[object Function]"}function The(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var fg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Mhe(t){return Object.keys(t||{}).reduce(function(e,n){return e||fg.hasOwnProperty(n)},!1)}var Ohe={"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}}},Rhe="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]",Nhe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Dhe(t){t.__index__=-1,t.__text_cache__=""}function Lhe(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Td(){return function(t,e){e.normalize(t)}}function Sr(t){var e=t.re=Ehe()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Rhe),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,Ahe(l)){She(l.validate)?c.validate=Lhe(l.validate):Sd(l.validate)?c.validate=l.validate:r(a,l),Sd(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Td();return}if(Che(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:Td()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(The).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"),Dhe(t)}function Ihe(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 dl(t,e){var n=new Ihe(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||Mhe(t)&&(e=t,t={}),this.__opts__=ul({},fg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ul({},Ohe,t),this.__compiled__={},this.__tlds__=Nhe,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__=ul(this.__opts__,e),this};bt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,d;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};bt.prototype.pretest=function(e){return this.re.pretest.test(e)};bt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};bt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(dl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(dl(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,dl(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 Phe=bt;const xs=2147483647,Vt=36,cc=1,Ao=26,Fhe=38,Bhe=700,pg=72,gg=128,mg="-",$he=/^xn--/,jhe=/[^\0-\x7F]/,zhe=/[\x2E\u3002\uFF0E\uFF61]/g,Uhe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qi=Vt-cc,Gt=Math.floor,Ji=String.fromCharCode;function wn(t){throw new RangeError(Uhe[t])}function qhe(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(zhe,".");const o=t.split("."),r=qhe(o,e).join(".");return s+r}function uc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Hhe=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Vt},Md=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/Bhe):t>>1,t+=Gt(t/e);t>Qi*Ao>>1;s+=Vt)t=Gt(t/Qi);return Gt(s+(Qi+1)*t/(t+Fhe))},dc=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=128&&wn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&wn("invalid-input");const f=Hhe(t.charCodeAt(a++));f>=Vt&&wn("invalid-input"),f>Gt((xs-s)/d)&&wn("overflow"),s+=f*d;const g=h<=r?cc:h>=r+Ao?Ao:h-r;if(fGt(xs/m)&&wn("overflow"),d*=m}const c=e.length+1;r=yg(s-l,c,l==0),Gt(s/c)>xs-o&&wn("overflow"),o+=Gt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},hc=function(t){const e=[];t=uc(t);const n=t.length;let s=gg,o=0,r=pg;for(const l of t)l<128&&e.push(Ji(l));const i=e.length;let a=i;for(i&&e.push(mg);a=s&&dGt((xs-o)/c)&&wn("overflow"),o+=(l-s)*c,s=l;for(const d of t)if(dxs&&wn("overflow"),d===s){let h=o;for(let f=Vt;;f+=Vt){const g=f<=r?cc:f>=r+Ao?Ao:f-r;if(h=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 St(t,e){if(!(this instanceof St))return new St(t,e);e||ao.isString(t)||(e=t||{},t="default"),this.inline=new tfe,this.block=new efe,this.core=new Xhe,this.renderer=new Jhe,this.linkify=new nfe,this.validateLink=ife,this.normalizeLink=afe,this.normalizeLinkText=lfe,this.utils=ao,this.helpers=ao.assign({},Qhe),this.options={},this.configure(t),e&&this.set(e)}St.prototype.set=function(t){return ao.assign(this.options,t),this};St.prototype.configure=function(t){var e=this,n;if(ao.isString(t)&&(n=t,t=sfe[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};St.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};St.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};St.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};St.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};St.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};St.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};St.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var cfe=St,ufe=cfe;const dfe=rs(ufe),hfe="😀",ffe="😃",pfe="😄",gfe="😁",mfe="😆",_fe="😆",bfe="😅",yfe="🤣",vfe="😂",wfe="🙂",xfe="🙃",kfe="😉",Efe="😊",Cfe="😇",Afe="🥰",Sfe="😍",Tfe="🤩",Mfe="😘",Ofe="😗",Rfe="☺️",Nfe="😚",Dfe="😙",Lfe="🥲",Ife="😋",Pfe="😛",Ffe="😜",Bfe="🤪",$fe="😝",jfe="🤑",zfe="🤗",Ufe="🤭",qfe="🤫",Hfe="🤔",Vfe="🤐",Gfe="🤨",Kfe="😐",Wfe="😑",Zfe="😶",Yfe="😏",Qfe="😒",Jfe="🙄",Xfe="😬",epe="🤥",tpe="😌",npe="😔",spe="😪",ope="🤤",rpe="😴",ipe="😷",ape="🤒",lpe="🤕",cpe="🤢",upe="🤮",dpe="🤧",hpe="🥵",fpe="🥶",ppe="🥴",gpe="😵",mpe="🤯",_pe="🤠",bpe="🥳",ype="🥸",vpe="😎",wpe="🤓",xpe="🧐",kpe="😕",Epe="😟",Cpe="🙁",Ape="☹️",Spe="😮",Tpe="😯",Mpe="😲",Ope="😳",Rpe="🥺",Npe="😦",Dpe="😧",Lpe="😨",Ipe="😰",Ppe="😥",Fpe="😢",Bpe="😭",$pe="😱",jpe="😖",zpe="😣",Upe="😞",qpe="😓",Hpe="😩",Vpe="😫",Gpe="🥱",Kpe="😤",Wpe="😡",Zpe="😡",Ype="😠",Qpe="🤬",Jpe="😈",Xpe="👿",ege="💀",tge="☠️",nge="💩",sge="💩",oge="💩",rge="🤡",ige="👹",age="👺",lge="👻",cge="👽",uge="👾",dge="🤖",hge="😺",fge="😸",pge="😹",gge="😻",mge="😼",_ge="😽",bge="🙀",yge="😿",vge="😾",wge="🙈",xge="🙉",kge="🙊",Ege="💋",Cge="💌",Age="💘",Sge="💝",Tge="💖",Mge="💗",Oge="💓",Rge="💞",Nge="💕",Dge="💟",Lge="❣️",Ige="💔",Pge="❤️",Fge="🧡",Bge="💛",$ge="💚",jge="💙",zge="💜",Uge="🤎",qge="🖤",Hge="🤍",Vge="💢",Gge="💥",Kge="💥",Wge="💫",Zge="💦",Yge="💨",Qge="🕳️",Jge="💣",Xge="💬",eme="👁️‍🗨️",tme="🗨️",nme="🗯️",sme="💭",ome="💤",rme="👋",ime="🤚",ame="🖐️",lme="✋",cme="✋",ume="🖖",dme="👌",hme="🤌",fme="🤏",pme="✌️",gme="🤞",mme="🤟",_me="🤘",bme="🤙",yme="👈",vme="👉",wme="👆",xme="🖕",kme="🖕",Eme="👇",Cme="☝️",Ame="👍",Sme="👎",Tme="✊",Mme="✊",Ome="👊",Rme="👊",Nme="👊",Dme="🤛",Lme="🤜",Ime="👏",Pme="🙌",Fme="👐",Bme="🤲",$me="🤝",jme="🙏",zme="✍️",Ume="💅",qme="🤳",Hme="💪",Vme="🦾",Gme="🦿",Kme="🦵",Wme="🦶",Zme="👂",Yme="🦻",Qme="👃",Jme="🧠",Xme="🫀",e_e="🫁",t_e="🦷",n_e="🦴",s_e="👀",o_e="👁️",r_e="👅",i_e="👄",a_e="👶",l_e="🧒",c_e="👦",u_e="👧",d_e="🧑",h_e="👱",f_e="👨",p_e="🧔",g_e="👨‍🦰",m_e="👨‍🦱",__e="👨‍🦳",b_e="👨‍🦲",y_e="👩",v_e="👩‍🦰",w_e="🧑‍🦰",x_e="👩‍🦱",k_e="🧑‍🦱",E_e="👩‍🦳",C_e="🧑‍🦳",A_e="👩‍🦲",S_e="🧑‍🦲",T_e="👱‍♀️",M_e="👱‍♀️",O_e="👱‍♂️",R_e="🧓",N_e="👴",D_e="👵",L_e="🙍",I_e="🙍‍♂️",P_e="🙍‍♀️",F_e="🙎",B_e="🙎‍♂️",$_e="🙎‍♀️",j_e="🙅",z_e="🙅‍♂️",U_e="🙅‍♂️",q_e="🙅‍♀️",H_e="🙅‍♀️",V_e="🙆",G_e="🙆‍♂️",K_e="🙆‍♀️",W_e="💁",Z_e="💁",Y_e="💁‍♂️",Q_e="💁‍♂️",J_e="💁‍♀️",X_e="💁‍♀️",e1e="🙋",t1e="🙋‍♂️",n1e="🙋‍♀️",s1e="🧏",o1e="🧏‍♂️",r1e="🧏‍♀️",i1e="🙇",a1e="🙇‍♂️",l1e="🙇‍♀️",c1e="🤦",u1e="🤦‍♂️",d1e="🤦‍♀️",h1e="🤷",f1e="🤷‍♂️",p1e="🤷‍♀️",g1e="🧑‍⚕️",m1e="👨‍⚕️",_1e="👩‍⚕️",b1e="🧑‍🎓",y1e="👨‍🎓",v1e="👩‍🎓",w1e="🧑‍🏫",x1e="👨‍🏫",k1e="👩‍🏫",E1e="🧑‍⚖️",C1e="👨‍⚖️",A1e="👩‍⚖️",S1e="🧑‍🌾",T1e="👨‍🌾",M1e="👩‍🌾",O1e="🧑‍🍳",R1e="👨‍🍳",N1e="👩‍🍳",D1e="🧑‍🔧",L1e="👨‍🔧",I1e="👩‍🔧",P1e="🧑‍🏭",F1e="👨‍🏭",B1e="👩‍🏭",$1e="🧑‍💼",j1e="👨‍💼",z1e="👩‍💼",U1e="🧑‍🔬",q1e="👨‍🔬",H1e="👩‍🔬",V1e="🧑‍💻",G1e="👨‍💻",K1e="👩‍💻",W1e="🧑‍🎤",Z1e="👨‍🎤",Y1e="👩‍🎤",Q1e="🧑‍🎨",J1e="👨‍🎨",X1e="👩‍🎨",e0e="🧑‍✈️",t0e="👨‍✈️",n0e="👩‍✈️",s0e="🧑‍🚀",o0e="👨‍🚀",r0e="👩‍🚀",i0e="🧑‍🚒",a0e="👨‍🚒",l0e="👩‍🚒",c0e="👮",u0e="👮",d0e="👮‍♂️",h0e="👮‍♀️",f0e="🕵️",p0e="🕵️‍♂️",g0e="🕵️‍♀️",m0e="💂",_0e="💂‍♂️",b0e="💂‍♀️",y0e="🥷",v0e="👷",w0e="👷‍♂️",x0e="👷‍♀️",k0e="🤴",E0e="👸",C0e="👳",A0e="👳‍♂️",S0e="👳‍♀️",T0e="👲",M0e="🧕",O0e="🤵",R0e="🤵‍♂️",N0e="🤵‍♀️",D0e="👰",L0e="👰‍♂️",I0e="👰‍♀️",P0e="👰‍♀️",F0e="🤰",B0e="🤱",$0e="👩‍🍼",j0e="👨‍🍼",z0e="🧑‍🍼",U0e="👼",q0e="🎅",H0e="🤶",V0e="🧑‍🎄",G0e="🦸",K0e="🦸‍♂️",W0e="🦸‍♀️",Z0e="🦹",Y0e="🦹‍♂️",Q0e="🦹‍♀️",J0e="🧙",X0e="🧙‍♂️",ebe="🧙‍♀️",tbe="🧚",nbe="🧚‍♂️",sbe="🧚‍♀️",obe="🧛",rbe="🧛‍♂️",ibe="🧛‍♀️",abe="🧜",lbe="🧜‍♂️",cbe="🧜‍♀️",ube="🧝",dbe="🧝‍♂️",hbe="🧝‍♀️",fbe="🧞",pbe="🧞‍♂️",gbe="🧞‍♀️",mbe="🧟",_be="🧟‍♂️",bbe="🧟‍♀️",ybe="💆",vbe="💆‍♂️",wbe="💆‍♀️",xbe="💇",kbe="💇‍♂️",Ebe="💇‍♀️",Cbe="🚶",Abe="🚶‍♂️",Sbe="🚶‍♀️",Tbe="🧍",Mbe="🧍‍♂️",Obe="🧍‍♀️",Rbe="🧎",Nbe="🧎‍♂️",Dbe="🧎‍♀️",Lbe="🧑‍🦯",Ibe="👨‍🦯",Pbe="👩‍🦯",Fbe="🧑‍🦼",Bbe="👨‍🦼",$be="👩‍🦼",jbe="🧑‍🦽",zbe="👨‍🦽",Ube="👩‍🦽",qbe="🏃",Hbe="🏃",Vbe="🏃‍♂️",Gbe="🏃‍♀️",Kbe="💃",Wbe="💃",Zbe="🕺",Ybe="🕴️",Qbe="👯",Jbe="👯‍♂️",Xbe="👯‍♀️",eye="🧖",tye="🧖‍♂️",nye="🧖‍♀️",sye="🧗",oye="🧗‍♂️",rye="🧗‍♀️",iye="🤺",aye="🏇",lye="⛷️",cye="🏂",uye="🏌️",dye="🏌️‍♂️",hye="🏌️‍♀️",fye="🏄",pye="🏄‍♂️",gye="🏄‍♀️",mye="🚣",_ye="🚣‍♂️",bye="🚣‍♀️",yye="🏊",vye="🏊‍♂️",wye="🏊‍♀️",xye="⛹️",kye="⛹️‍♂️",Eye="⛹️‍♂️",Cye="⛹️‍♀️",Aye="⛹️‍♀️",Sye="🏋️",Tye="🏋️‍♂️",Mye="🏋️‍♀️",Oye="🚴",Rye="🚴‍♂️",Nye="🚴‍♀️",Dye="🚵",Lye="🚵‍♂️",Iye="🚵‍♀️",Pye="🤸",Fye="🤸‍♂️",Bye="🤸‍♀️",$ye="🤼",jye="🤼‍♂️",zye="🤼‍♀️",Uye="🤽",qye="🤽‍♂️",Hye="🤽‍♀️",Vye="🤾",Gye="🤾‍♂️",Kye="🤾‍♀️",Wye="🤹",Zye="🤹‍♂️",Yye="🤹‍♀️",Qye="🧘",Jye="🧘‍♂️",Xye="🧘‍♀️",e2e="🛀",t2e="🛌",n2e="🧑‍🤝‍🧑",s2e="👭",o2e="👫",r2e="👬",i2e="💏",a2e="👩‍❤️‍💋‍👨",l2e="👨‍❤️‍💋‍👨",c2e="👩‍❤️‍💋‍👩",u2e="💑",d2e="👩‍❤️‍👨",h2e="👨‍❤️‍👨",f2e="👩‍❤️‍👩",p2e="👪",g2e="👨‍👩‍👦",m2e="👨‍👩‍👧",_2e="👨‍👩‍👧‍👦",b2e="👨‍👩‍👦‍👦",y2e="👨‍👩‍👧‍👧",v2e="👨‍👨‍👦",w2e="👨‍👨‍👧",x2e="👨‍👨‍👧‍👦",k2e="👨‍👨‍👦‍👦",E2e="👨‍👨‍👧‍👧",C2e="👩‍👩‍👦",A2e="👩‍👩‍👧",S2e="👩‍👩‍👧‍👦",T2e="👩‍👩‍👦‍👦",M2e="👩‍👩‍👧‍👧",O2e="👨‍👦",R2e="👨‍👦‍👦",N2e="👨‍👧",D2e="👨‍👧‍👦",L2e="👨‍👧‍👧",I2e="👩‍👦",P2e="👩‍👦‍👦",F2e="👩‍👧",B2e="👩‍👧‍👦",$2e="👩‍👧‍👧",j2e="🗣️",z2e="👤",U2e="👥",q2e="🫂",H2e="👣",V2e="🐵",G2e="🐒",K2e="🦍",W2e="🦧",Z2e="🐶",Y2e="🐕",Q2e="🦮",J2e="🐕‍🦺",X2e="🐩",eve="🐺",tve="🦊",nve="🦝",sve="🐱",ove="🐈",rve="🐈‍⬛",ive="🦁",ave="🐯",lve="🐅",cve="🐆",uve="🐴",dve="🐎",hve="🦄",fve="🦓",pve="🦌",gve="🦬",mve="🐮",_ve="🐂",bve="🐃",yve="🐄",vve="🐷",wve="🐖",xve="🐗",kve="🐽",Eve="🐏",Cve="🐑",Ave="🐐",Sve="🐪",Tve="🐫",Mve="🦙",Ove="🦒",Rve="🐘",Nve="🦣",Dve="🦏",Lve="🦛",Ive="🐭",Pve="🐁",Fve="🐀",Bve="🐹",$ve="🐰",jve="🐇",zve="🐿️",Uve="🦫",qve="🦔",Hve="🦇",Vve="🐻",Gve="🐻‍❄️",Kve="🐨",Wve="🐼",Zve="🦥",Yve="🦦",Qve="🦨",Jve="🦘",Xve="🦡",ewe="🐾",twe="🐾",nwe="🦃",swe="🐔",owe="🐓",rwe="🐣",iwe="🐤",awe="🐥",lwe="🐦",cwe="🐧",uwe="🕊️",dwe="🦅",hwe="🦆",fwe="🦢",pwe="🦉",gwe="🦤",mwe="🪶",_we="🦩",bwe="🦚",ywe="🦜",vwe="🐸",wwe="🐊",xwe="🐢",kwe="🦎",Ewe="🐍",Cwe="🐲",Awe="🐉",Swe="🦕",Twe="🐳",Mwe="🐋",Owe="🐬",Rwe="🐬",Nwe="🦭",Dwe="🐟",Lwe="🐠",Iwe="🐡",Pwe="🦈",Fwe="🐙",Bwe="🐚",$we="🐌",jwe="🦋",zwe="🐛",Uwe="🐜",qwe="🐝",Hwe="🐝",Vwe="🪲",Gwe="🐞",Kwe="🦗",Wwe="🪳",Zwe="🕷️",Ywe="🕸️",Qwe="🦂",Jwe="🦟",Xwe="🪰",exe="🪱",txe="🦠",nxe="💐",sxe="🌸",oxe="💮",rxe="🏵️",ixe="🌹",axe="🥀",lxe="🌺",cxe="🌻",uxe="🌼",dxe="🌷",hxe="🌱",fxe="🪴",pxe="🌲",gxe="🌳",mxe="🌴",_xe="🌵",bxe="🌾",yxe="🌿",vxe="☘️",wxe="🍀",xxe="🍁",kxe="🍂",Exe="🍃",Cxe="🍇",Axe="🍈",Sxe="🍉",Txe="🍊",Mxe="🍊",Oxe="🍊",Rxe="🍋",Nxe="🍌",Dxe="🍍",Lxe="🥭",Ixe="🍎",Pxe="🍏",Fxe="🍐",Bxe="🍑",$xe="🍒",jxe="🍓",zxe="🫐",Uxe="🥝",qxe="🍅",Hxe="🫒",Vxe="🥥",Gxe="🥑",Kxe="🍆",Wxe="🥔",Zxe="🥕",Yxe="🌽",Qxe="🌶️",Jxe="🫑",Xxe="🥒",eke="🥬",tke="🥦",nke="🧄",ske="🧅",oke="🍄",rke="🥜",ike="🌰",ake="🍞",lke="🥐",cke="🥖",uke="🫓",dke="🥨",hke="🥯",fke="🥞",pke="🧇",gke="🧀",mke="🍖",_ke="🍗",bke="🥩",yke="🥓",vke="🍔",wke="🍟",xke="🍕",kke="🌭",Eke="🥪",Cke="🌮",Ake="🌯",Ske="🫔",Tke="🥙",Mke="🧆",Oke="🥚",Rke="🍳",Nke="🥘",Dke="🍲",Lke="🫕",Ike="🥣",Pke="🥗",Fke="🍿",Bke="🧈",$ke="🧂",jke="🥫",zke="🍱",Uke="🍘",qke="🍙",Hke="🍚",Vke="🍛",Gke="🍜",Kke="🍝",Wke="🍠",Zke="🍢",Yke="🍣",Qke="🍤",Jke="🍥",Xke="🥮",eEe="🍡",tEe="🥟",nEe="🥠",sEe="🥡",oEe="🦀",rEe="🦞",iEe="🦐",aEe="🦑",lEe="🦪",cEe="🍦",uEe="🍧",dEe="🍨",hEe="🍩",fEe="🍪",pEe="🎂",gEe="🍰",mEe="🧁",_Ee="🥧",bEe="🍫",yEe="🍬",vEe="🍭",wEe="🍮",xEe="🍯",kEe="🍼",EEe="🥛",CEe="☕",AEe="🫖",SEe="🍵",TEe="🍶",MEe="🍾",OEe="🍷",REe="🍸",NEe="🍹",DEe="🍺",LEe="🍻",IEe="🥂",PEe="🥃",FEe="🥤",BEe="🧋",$Ee="🧃",jEe="🧉",zEe="🧊",UEe="🥢",qEe="🍽️",HEe="🍴",VEe="🥄",GEe="🔪",KEe="🔪",WEe="🏺",ZEe="🌍",YEe="🌎",QEe="🌏",JEe="🌐",XEe="🗺️",e5e="🗾",t5e="🧭",n5e="🏔️",s5e="⛰️",o5e="🌋",r5e="🗻",i5e="🏕️",a5e="🏖️",l5e="🏜️",c5e="🏝️",u5e="🏞️",d5e="🏟️",h5e="🏛️",f5e="🏗️",p5e="🧱",g5e="🪨",m5e="🪵",_5e="🛖",b5e="🏘️",y5e="🏚️",v5e="🏠",w5e="🏡",x5e="🏢",k5e="🏣",E5e="🏤",C5e="🏥",A5e="🏦",S5e="🏨",T5e="🏩",M5e="🏪",O5e="🏫",R5e="🏬",N5e="🏭",D5e="🏯",L5e="🏰",I5e="💒",P5e="🗼",F5e="🗽",B5e="⛪",$5e="🕌",j5e="🛕",z5e="🕍",U5e="⛩️",q5e="🕋",H5e="⛲",V5e="⛺",G5e="🌁",K5e="🌃",W5e="🏙️",Z5e="🌄",Y5e="🌅",Q5e="🌆",J5e="🌇",X5e="🌉",e4e="♨️",t4e="🎠",n4e="🎡",s4e="🎢",o4e="💈",r4e="🎪",i4e="🚂",a4e="🚃",l4e="🚄",c4e="🚅",u4e="🚆",d4e="🚇",h4e="🚈",f4e="🚉",p4e="🚊",g4e="🚝",m4e="🚞",_4e="🚋",b4e="🚌",y4e="🚍",v4e="🚎",w4e="🚐",x4e="🚑",k4e="🚒",E4e="🚓",C4e="🚔",A4e="🚕",S4e="🚖",T4e="🚗",M4e="🚗",O4e="🚘",R4e="🚙",N4e="🛻",D4e="🚚",L4e="🚛",I4e="🚜",P4e="🏎️",F4e="🏍️",B4e="🛵",$4e="🦽",j4e="🦼",z4e="🛺",U4e="🚲",q4e="🛴",H4e="🛹",V4e="🛼",G4e="🚏",K4e="🛣️",W4e="🛤️",Z4e="🛢️",Y4e="⛽",Q4e="🚨",J4e="🚥",X4e="🚦",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="🎆",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="🧿",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="0️⃣",FOe="1️⃣",BOe="2️⃣",$Oe="3️⃣",jOe="4️⃣",zOe="5️⃣",UOe="6️⃣",qOe="7️⃣",HOe="8️⃣",VOe="9️⃣",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="🔲",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={100:"💯",1234:"🔢",grinning:hfe,smiley:ffe,smile:pfe,grin:gfe,laughing:mfe,satisfied:_fe,sweat_smile:bfe,rofl:yfe,joy:vfe,slightly_smiling_face:wfe,upside_down_face:xfe,wink:kfe,blush:Efe,innocent:Cfe,smiling_face_with_three_hearts:Afe,heart_eyes:Sfe,star_struck:Tfe,kissing_heart:Mfe,kissing:Ofe,relaxed:Rfe,kissing_closed_eyes:Nfe,kissing_smiling_eyes:Dfe,smiling_face_with_tear:Lfe,yum:Ife,stuck_out_tongue:Pfe,stuck_out_tongue_winking_eye:Ffe,zany_face:Bfe,stuck_out_tongue_closed_eyes:$fe,money_mouth_face:jfe,hugs:zfe,hand_over_mouth:Ufe,shushing_face:qfe,thinking:Hfe,zipper_mouth_face:Vfe,raised_eyebrow:Gfe,neutral_face:Kfe,expressionless:Wfe,no_mouth:Zfe,smirk:Yfe,unamused:Qfe,roll_eyes:Jfe,grimacing:Xfe,lying_face:epe,relieved:tpe,pensive:npe,sleepy:spe,drooling_face:ope,sleeping:rpe,mask:ipe,face_with_thermometer:ape,face_with_head_bandage:lpe,nauseated_face:cpe,vomiting_face:upe,sneezing_face:dpe,hot_face:hpe,cold_face:fpe,woozy_face:ppe,dizzy_face:gpe,exploding_head:mpe,cowboy_hat_face:_pe,partying_face:bpe,disguised_face:ype,sunglasses:vpe,nerd_face:wpe,monocle_face:xpe,confused:kpe,worried:Epe,slightly_frowning_face:Cpe,frowning_face:Ape,open_mouth:Spe,hushed:Tpe,astonished:Mpe,flushed:Ope,pleading_face:Rpe,frowning:Npe,anguished:Dpe,fearful:Lpe,cold_sweat:Ipe,disappointed_relieved:Ppe,cry:Fpe,sob:Bpe,scream:$pe,confounded:jpe,persevere:zpe,disappointed:Upe,sweat:qpe,weary:Hpe,tired_face:Vpe,yawning_face:Gpe,triumph:Kpe,rage:Wpe,pout:Zpe,angry:Ype,cursing_face:Qpe,smiling_imp:Jpe,imp:Xpe,skull:ege,skull_and_crossbones:tge,hankey:nge,poop:sge,shit:oge,clown_face:rge,japanese_ogre:ige,japanese_goblin:age,ghost:lge,alien:cge,space_invader:uge,robot:dge,smiley_cat:hge,smile_cat:fge,joy_cat:pge,heart_eyes_cat:gge,smirk_cat:mge,kissing_cat:_ge,scream_cat:bge,crying_cat_face:yge,pouting_cat:vge,see_no_evil:wge,hear_no_evil:xge,speak_no_evil:kge,kiss:Ege,love_letter:Cge,cupid:Age,gift_heart:Sge,sparkling_heart:Tge,heartpulse:Mge,heartbeat:Oge,revolving_hearts:Rge,two_hearts:Nge,heart_decoration:Dge,heavy_heart_exclamation:Lge,broken_heart:Ige,heart:Pge,orange_heart:Fge,yellow_heart:Bge,green_heart:$ge,blue_heart:jge,purple_heart:zge,brown_heart:Uge,black_heart:qge,white_heart:Hge,anger:Vge,boom:Gge,collision:Kge,dizzy:Wge,sweat_drops:Zge,dash:Yge,hole:Qge,bomb:Jge,speech_balloon:Xge,eye_speech_bubble:eme,left_speech_bubble:tme,right_anger_bubble:nme,thought_balloon:sme,zzz:ome,wave:rme,raised_back_of_hand:ime,raised_hand_with_fingers_splayed:ame,hand:lme,raised_hand:cme,vulcan_salute:ume,ok_hand:dme,pinched_fingers:hme,pinching_hand:fme,v:pme,crossed_fingers:gme,love_you_gesture:mme,metal:_me,call_me_hand:bme,point_left:yme,point_right:vme,point_up_2:wme,middle_finger:xme,fu:kme,point_down:Eme,point_up:Cme,"+1":"👍",thumbsup:Ame,"-1":"👎",thumbsdown:Sme,fist_raised:Tme,fist:Mme,fist_oncoming:Ome,facepunch:Rme,punch:Nme,fist_left:Dme,fist_right:Lme,clap:Ime,raised_hands:Pme,open_hands:Fme,palms_up_together:Bme,handshake:$me,pray:jme,writing_hand:zme,nail_care:Ume,selfie:qme,muscle:Hme,mechanical_arm:Vme,mechanical_leg:Gme,leg:Kme,foot:Wme,ear:Zme,ear_with_hearing_aid:Yme,nose:Qme,brain:Jme,anatomical_heart:Xme,lungs:e_e,tooth:t_e,bone:n_e,eyes:s_e,eye:o_e,tongue:r_e,lips:i_e,baby:a_e,child:l_e,boy:c_e,girl:u_e,adult:d_e,blond_haired_person:h_e,man:f_e,bearded_person:p_e,red_haired_man:g_e,curly_haired_man:m_e,white_haired_man:__e,bald_man:b_e,woman:y_e,red_haired_woman:v_e,person_red_hair:w_e,curly_haired_woman:x_e,person_curly_hair:k_e,white_haired_woman:E_e,person_white_hair:C_e,bald_woman:A_e,person_bald:S_e,blond_haired_woman:T_e,blonde_woman:M_e,blond_haired_man:O_e,older_adult:R_e,older_man:N_e,older_woman:D_e,frowning_person:L_e,frowning_man:I_e,frowning_woman:P_e,pouting_face:F_e,pouting_man:B_e,pouting_woman:$_e,no_good:j_e,no_good_man:z_e,ng_man:U_e,no_good_woman:q_e,ng_woman:H_e,ok_person:V_e,ok_man:G_e,ok_woman:K_e,tipping_hand_person:W_e,information_desk_person:Z_e,tipping_hand_man:Y_e,sassy_man:Q_e,tipping_hand_woman:J_e,sassy_woman:X_e,raising_hand:e1e,raising_hand_man:t1e,raising_hand_woman:n1e,deaf_person:s1e,deaf_man:o1e,deaf_woman:r1e,bow:i1e,bowing_man:a1e,bowing_woman:l1e,facepalm:c1e,man_facepalming:u1e,woman_facepalming:d1e,shrug:h1e,man_shrugging:f1e,woman_shrugging:p1e,health_worker:g1e,man_health_worker:m1e,woman_health_worker:_1e,student:b1e,man_student:y1e,woman_student:v1e,teacher:w1e,man_teacher:x1e,woman_teacher:k1e,judge:E1e,man_judge:C1e,woman_judge:A1e,farmer:S1e,man_farmer:T1e,woman_farmer:M1e,cook:O1e,man_cook:R1e,woman_cook:N1e,mechanic:D1e,man_mechanic:L1e,woman_mechanic:I1e,factory_worker:P1e,man_factory_worker:F1e,woman_factory_worker:B1e,office_worker:$1e,man_office_worker:j1e,woman_office_worker:z1e,scientist:U1e,man_scientist:q1e,woman_scientist:H1e,technologist:V1e,man_technologist:G1e,woman_technologist:K1e,singer:W1e,man_singer:Z1e,woman_singer:Y1e,artist:Q1e,man_artist:J1e,woman_artist:X1e,pilot:e0e,man_pilot:t0e,woman_pilot:n0e,astronaut:s0e,man_astronaut:o0e,woman_astronaut:r0e,firefighter:i0e,man_firefighter:a0e,woman_firefighter:l0e,police_officer:c0e,cop:u0e,policeman:d0e,policewoman:h0e,detective:f0e,male_detective:p0e,female_detective:g0e,guard:m0e,guardsman:_0e,guardswoman:b0e,ninja:y0e,construction_worker:v0e,construction_worker_man:w0e,construction_worker_woman:x0e,prince:k0e,princess:E0e,person_with_turban:C0e,man_with_turban:A0e,woman_with_turban:S0e,man_with_gua_pi_mao:T0e,woman_with_headscarf:M0e,person_in_tuxedo:O0e,man_in_tuxedo:R0e,woman_in_tuxedo:N0e,person_with_veil:D0e,man_with_veil:L0e,woman_with_veil:I0e,bride_with_veil:P0e,pregnant_woman:F0e,breast_feeding:B0e,woman_feeding_baby:$0e,man_feeding_baby:j0e,person_feeding_baby:z0e,angel:U0e,santa:q0e,mrs_claus:H0e,mx_claus:V0e,superhero:G0e,superhero_man:K0e,superhero_woman:W0e,supervillain:Z0e,supervillain_man:Y0e,supervillain_woman:Q0e,mage:J0e,mage_man:X0e,mage_woman:ebe,fairy:tbe,fairy_man:nbe,fairy_woman:sbe,vampire:obe,vampire_man:rbe,vampire_woman:ibe,merperson:abe,merman:lbe,mermaid:cbe,elf:ube,elf_man:dbe,elf_woman:hbe,genie:fbe,genie_man:pbe,genie_woman:gbe,zombie:mbe,zombie_man:_be,zombie_woman:bbe,massage:ybe,massage_man:vbe,massage_woman:wbe,haircut:xbe,haircut_man:kbe,haircut_woman:Ebe,walking:Cbe,walking_man:Abe,walking_woman:Sbe,standing_person:Tbe,standing_man:Mbe,standing_woman:Obe,kneeling_person:Rbe,kneeling_man:Nbe,kneeling_woman:Dbe,person_with_probing_cane:Lbe,man_with_probing_cane:Ibe,woman_with_probing_cane:Pbe,person_in_motorized_wheelchair:Fbe,man_in_motorized_wheelchair:Bbe,woman_in_motorized_wheelchair:$be,person_in_manual_wheelchair:jbe,man_in_manual_wheelchair:zbe,woman_in_manual_wheelchair:Ube,runner:qbe,running:Hbe,running_man:Vbe,running_woman:Gbe,woman_dancing:Kbe,dancer:Wbe,man_dancing:Zbe,business_suit_levitating:Ybe,dancers:Qbe,dancing_men:Jbe,dancing_women:Xbe,sauna_person:eye,sauna_man:tye,sauna_woman:nye,climbing:sye,climbing_man:oye,climbing_woman:rye,person_fencing:iye,horse_racing:aye,skier:lye,snowboarder:cye,golfing:uye,golfing_man:dye,golfing_woman:hye,surfer:fye,surfing_man:pye,surfing_woman:gye,rowboat:mye,rowing_man:_ye,rowing_woman:bye,swimmer:yye,swimming_man:vye,swimming_woman:wye,bouncing_ball_person:xye,bouncing_ball_man:kye,basketball_man:Eye,bouncing_ball_woman:Cye,basketball_woman:Aye,weight_lifting:Sye,weight_lifting_man:Tye,weight_lifting_woman:Mye,bicyclist:Oye,biking_man:Rye,biking_woman:Nye,mountain_bicyclist:Dye,mountain_biking_man:Lye,mountain_biking_woman:Iye,cartwheeling:Pye,man_cartwheeling:Fye,woman_cartwheeling:Bye,wrestling:$ye,men_wrestling:jye,women_wrestling:zye,water_polo:Uye,man_playing_water_polo:qye,woman_playing_water_polo:Hye,handball_person:Vye,man_playing_handball:Gye,woman_playing_handball:Kye,juggling_person:Wye,man_juggling:Zye,woman_juggling:Yye,lotus_position:Qye,lotus_position_man:Jye,lotus_position_woman:Xye,bath:e2e,sleeping_bed:t2e,people_holding_hands:n2e,two_women_holding_hands:s2e,couple:o2e,two_men_holding_hands:r2e,couplekiss:i2e,couplekiss_man_woman:a2e,couplekiss_man_man:l2e,couplekiss_woman_woman:c2e,couple_with_heart:u2e,couple_with_heart_woman_man:d2e,couple_with_heart_man_man:h2e,couple_with_heart_woman_woman:f2e,family:p2e,family_man_woman_boy:g2e,family_man_woman_girl:m2e,family_man_woman_girl_boy:_2e,family_man_woman_boy_boy:b2e,family_man_woman_girl_girl:y2e,family_man_man_boy:v2e,family_man_man_girl:w2e,family_man_man_girl_boy:x2e,family_man_man_boy_boy:k2e,family_man_man_girl_girl:E2e,family_woman_woman_boy:C2e,family_woman_woman_girl:A2e,family_woman_woman_girl_boy:S2e,family_woman_woman_boy_boy:T2e,family_woman_woman_girl_girl:M2e,family_man_boy:O2e,family_man_boy_boy:R2e,family_man_girl:N2e,family_man_girl_boy:D2e,family_man_girl_girl:L2e,family_woman_boy:I2e,family_woman_boy_boy:P2e,family_woman_girl:F2e,family_woman_girl_boy:B2e,family_woman_girl_girl:$2e,speaking_head:j2e,bust_in_silhouette:z2e,busts_in_silhouette:U2e,people_hugging:q2e,footprints:H2e,monkey_face:V2e,monkey:G2e,gorilla:K2e,orangutan:W2e,dog:Z2e,dog2:Y2e,guide_dog:Q2e,service_dog:J2e,poodle:X2e,wolf:eve,fox_face:tve,raccoon:nve,cat:sve,cat2:ove,black_cat:rve,lion:ive,tiger:ave,tiger2:lve,leopard:cve,horse:uve,racehorse:dve,unicorn:hve,zebra:fve,deer:pve,bison:gve,cow:mve,ox:_ve,water_buffalo:bve,cow2:yve,pig:vve,pig2:wve,boar:xve,pig_nose:kve,ram:Eve,sheep:Cve,goat:Ave,dromedary_camel:Sve,camel:Tve,llama:Mve,giraffe:Ove,elephant:Rve,mammoth:Nve,rhinoceros:Dve,hippopotamus:Lve,mouse:Ive,mouse2:Pve,rat:Fve,hamster:Bve,rabbit:$ve,rabbit2:jve,chipmunk:zve,beaver:Uve,hedgehog:qve,bat:Hve,bear:Vve,polar_bear:Gve,koala:Kve,panda_face:Wve,sloth:Zve,otter:Yve,skunk:Qve,kangaroo:Jve,badger:Xve,feet:ewe,paw_prints:twe,turkey:nwe,chicken:swe,rooster:owe,hatching_chick:rwe,baby_chick:iwe,hatched_chick:awe,bird:lwe,penguin:cwe,dove:uwe,eagle:dwe,duck:hwe,swan:fwe,owl:pwe,dodo:gwe,feather:mwe,flamingo:_we,peacock:bwe,parrot:ywe,frog:vwe,crocodile:wwe,turtle:xwe,lizard:kwe,snake:Ewe,dragon_face:Cwe,dragon:Awe,sauropod:Swe,"t-rex":"🦖",whale:Twe,whale2:Mwe,dolphin:Owe,flipper:Rwe,seal:Nwe,fish:Dwe,tropical_fish:Lwe,blowfish:Iwe,shark:Pwe,octopus:Fwe,shell:Bwe,snail:$we,butterfly:jwe,bug:zwe,ant:Uwe,bee:qwe,honeybee:Hwe,beetle:Vwe,lady_beetle:Gwe,cricket:Kwe,cockroach:Wwe,spider:Zwe,spider_web:Ywe,scorpion:Qwe,mosquito:Jwe,fly:Xwe,worm:exe,microbe:txe,bouquet:nxe,cherry_blossom:sxe,white_flower:oxe,rosette:rxe,rose:ixe,wilted_flower:axe,hibiscus:lxe,sunflower:cxe,blossom:uxe,tulip:dxe,seedling:hxe,potted_plant:fxe,evergreen_tree:pxe,deciduous_tree:gxe,palm_tree:mxe,cactus:_xe,ear_of_rice:bxe,herb:yxe,shamrock:vxe,four_leaf_clover:wxe,maple_leaf:xxe,fallen_leaf:kxe,leaves:Exe,grapes:Cxe,melon:Axe,watermelon:Sxe,tangerine:Txe,orange:Mxe,mandarin:Oxe,lemon:Rxe,banana:Nxe,pineapple:Dxe,mango:Lxe,apple:Ixe,green_apple:Pxe,pear:Fxe,peach:Bxe,cherries:$xe,strawberry:jxe,blueberries:zxe,kiwi_fruit:Uxe,tomato:qxe,olive:Hxe,coconut:Vxe,avocado:Gxe,eggplant:Kxe,potato:Wxe,carrot:Zxe,corn:Yxe,hot_pepper:Qxe,bell_pepper:Jxe,cucumber:Xxe,leafy_green:eke,broccoli:tke,garlic:nke,onion:ske,mushroom:oke,peanuts:rke,chestnut:ike,bread:ake,croissant:lke,baguette_bread:cke,flatbread:uke,pretzel:dke,bagel:hke,pancakes:fke,waffle:pke,cheese:gke,meat_on_bone:mke,poultry_leg:_ke,cut_of_meat:bke,bacon:yke,hamburger:vke,fries:wke,pizza:xke,hotdog:kke,sandwich:Eke,taco:Cke,burrito:Ake,tamale:Ske,stuffed_flatbread:Tke,falafel:Mke,egg:Oke,fried_egg:Rke,shallow_pan_of_food:Nke,stew:Dke,fondue:Lke,bowl_with_spoon:Ike,green_salad:Pke,popcorn:Fke,butter:Bke,salt:$ke,canned_food:jke,bento:zke,rice_cracker:Uke,rice_ball:qke,rice:Hke,curry:Vke,ramen:Gke,spaghetti:Kke,sweet_potato:Wke,oden:Zke,sushi:Yke,fried_shrimp:Qke,fish_cake:Jke,moon_cake:Xke,dango:eEe,dumpling:tEe,fortune_cookie:nEe,takeout_box:sEe,crab:oEe,lobster:rEe,shrimp:iEe,squid:aEe,oyster:lEe,icecream:cEe,shaved_ice:uEe,ice_cream:dEe,doughnut:hEe,cookie:fEe,birthday:pEe,cake:gEe,cupcake:mEe,pie:_Ee,chocolate_bar:bEe,candy:yEe,lollipop:vEe,custard:wEe,honey_pot:xEe,baby_bottle:kEe,milk_glass:EEe,coffee:CEe,teapot:AEe,tea:SEe,sake:TEe,champagne:MEe,wine_glass:OEe,cocktail:REe,tropical_drink:NEe,beer:DEe,beers:LEe,clinking_glasses:IEe,tumbler_glass:PEe,cup_with_straw:FEe,bubble_tea:BEe,beverage_box:$Ee,mate:jEe,ice_cube:zEe,chopsticks:UEe,plate_with_cutlery:qEe,fork_and_knife:HEe,spoon:VEe,hocho:GEe,knife:KEe,amphora:WEe,earth_africa:ZEe,earth_americas:YEe,earth_asia:QEe,globe_with_meridians:JEe,world_map:XEe,japan:e5e,compass:t5e,mountain_snow:n5e,mountain:s5e,volcano:o5e,mount_fuji:r5e,camping:i5e,beach_umbrella:a5e,desert:l5e,desert_island:c5e,national_park:u5e,stadium:d5e,classical_building:h5e,building_construction:f5e,bricks:p5e,rock:g5e,wood:m5e,hut:_5e,houses:b5e,derelict_house:y5e,house:v5e,house_with_garden:w5e,office:x5e,post_office:k5e,european_post_office:E5e,hospital:C5e,bank:A5e,hotel:S5e,love_hotel:T5e,convenience_store:M5e,school:O5e,department_store:R5e,factory:N5e,japanese_castle:D5e,european_castle:L5e,wedding:I5e,tokyo_tower:P5e,statue_of_liberty:F5e,church:B5e,mosque:$5e,hindu_temple:j5e,synagogue:z5e,shinto_shrine:U5e,kaaba:q5e,fountain:H5e,tent:V5e,foggy:G5e,night_with_stars:K5e,cityscape:W5e,sunrise_over_mountains:Z5e,sunrise:Y5e,city_sunset:Q5e,city_sunrise:J5e,bridge_at_night:X5e,hotsprings:e4e,carousel_horse:t4e,ferris_wheel:n4e,roller_coaster:s4e,barber:o4e,circus_tent:r4e,steam_locomotive:i4e,railway_car:a4e,bullettrain_side:l4e,bullettrain_front:c4e,train2:u4e,metro:d4e,light_rail:h4e,station:f4e,tram:p4e,monorail:g4e,mountain_railway:m4e,train:_4e,bus:b4e,oncoming_bus:y4e,trolleybus:v4e,minibus:w4e,ambulance:x4e,fire_engine:k4e,police_car:E4e,oncoming_police_car:C4e,taxi:A4e,oncoming_taxi:S4e,car:T4e,red_car:M4e,oncoming_automobile:O4e,blue_car:R4e,pickup_truck:N4e,truck:D4e,articulated_lorry:L4e,tractor:I4e,racing_car:P4e,motorcycle:F4e,motor_scooter:B4e,manual_wheelchair:$4e,motorized_wheelchair:j4e,auto_rickshaw:z4e,bike:U4e,kick_scooter:q4e,skateboard:H4e,roller_skate:V4e,busstop:G4e,motorway:K4e,railway_track:W4e,oil_drum:Z4e,fuelpump:Y4e,rotating_light:Q4e,traffic_light:J4e,vertical_traffic_light:X4e,stop_sign:eCe,construction:tCe,anchor:nCe,boat:sCe,sailboat:oCe,canoe:rCe,speedboat:iCe,passenger_ship:aCe,ferry:lCe,motor_boat:cCe,ship:uCe,airplane:dCe,small_airplane:hCe,flight_departure:fCe,flight_arrival:pCe,parachute:gCe,seat:mCe,helicopter:_Ce,suspension_railway:bCe,mountain_cableway:yCe,aerial_tramway:vCe,artificial_satellite:wCe,rocket:xCe,flying_saucer:kCe,bellhop_bell:ECe,luggage:CCe,hourglass:ACe,hourglass_flowing_sand:SCe,watch:TCe,alarm_clock:MCe,stopwatch:OCe,timer_clock:RCe,mantelpiece_clock:NCe,clock12:DCe,clock1230:LCe,clock1:ICe,clock130:PCe,clock2:FCe,clock230:BCe,clock3:$Ce,clock330:jCe,clock4:zCe,clock430:UCe,clock5:qCe,clock530:HCe,clock6:VCe,clock630:GCe,clock7:KCe,clock730:WCe,clock8:ZCe,clock830:YCe,clock9:QCe,clock930:JCe,clock10:XCe,clock1030:e8e,clock11:t8e,clock1130:n8e,new_moon:s8e,waxing_crescent_moon:o8e,first_quarter_moon:r8e,moon:i8e,waxing_gibbous_moon:a8e,full_moon:l8e,waning_gibbous_moon:c8e,last_quarter_moon:u8e,waning_crescent_moon:d8e,crescent_moon:h8e,new_moon_with_face:f8e,first_quarter_moon_with_face:p8e,last_quarter_moon_with_face:g8e,thermometer:m8e,sunny:_8e,full_moon_with_face:b8e,sun_with_face:y8e,ringed_planet:v8e,star:w8e,star2:x8e,stars:k8e,milky_way:E8e,cloud:C8e,partly_sunny:A8e,cloud_with_lightning_and_rain:S8e,sun_behind_small_cloud:T8e,sun_behind_large_cloud:M8e,sun_behind_rain_cloud:O8e,cloud_with_rain:R8e,cloud_with_snow:N8e,cloud_with_lightning:D8e,tornado:L8e,fog:I8e,wind_face:P8e,cyclone:F8e,rainbow:B8e,closed_umbrella:$8e,open_umbrella:j8e,umbrella:z8e,parasol_on_ground:U8e,zap:q8e,snowflake:H8e,snowman_with_snow:V8e,snowman:G8e,comet:K8e,fire:W8e,droplet:Z8e,ocean:Y8e,jack_o_lantern:Q8e,christmas_tree:J8e,fireworks:X8e,sparkler:e3e,firecracker:t3e,sparkles:n3e,balloon:s3e,tada:o3e,confetti_ball:r3e,tanabata_tree:i3e,bamboo:a3e,dolls:l3e,flags:c3e,wind_chime:u3e,rice_scene:d3e,red_envelope:h3e,ribbon:f3e,gift:p3e,reminder_ribbon:g3e,tickets:m3e,ticket:_3e,medal_military:b3e,trophy:y3e,medal_sports:v3e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:w3e,baseball:x3e,softball:k3e,basketball:E3e,volleyball:C3e,football:A3e,rugby_football:S3e,tennis:T3e,flying_disc:M3e,bowling:O3e,cricket_game:R3e,field_hockey:N3e,ice_hockey:D3e,lacrosse:L3e,ping_pong:I3e,badminton:P3e,boxing_glove:F3e,martial_arts_uniform:B3e,goal_net:$3e,golf:j3e,ice_skate:z3e,fishing_pole_and_fish:U3e,diving_mask:q3e,running_shirt_with_sash:H3e,ski:V3e,sled:G3e,curling_stone:K3e,dart:W3e,yo_yo:Z3e,kite:Y3e,"8ball":"🎱",crystal_ball:Q3e,magic_wand:J3e,nazar_amulet:X3e,video_game:e9e,joystick:t9e,slot_machine:n9e,game_die:s9e,jigsaw:o9e,teddy_bear:r9e,pinata:i9e,nesting_dolls:a9e,spades:l9e,hearts:c9e,diamonds:u9e,clubs:d9e,chess_pawn:h9e,black_joker:f9e,mahjong:p9e,flower_playing_cards:g9e,performing_arts:m9e,framed_picture:_9e,art:b9e,thread:y9e,sewing_needle:v9e,yarn:w9e,knot:x9e,eyeglasses:k9e,dark_sunglasses:E9e,goggles:C9e,lab_coat:A9e,safety_vest:S9e,necktie:T9e,shirt:M9e,tshirt:O9e,jeans:R9e,scarf:N9e,gloves:D9e,coat:L9e,socks:I9e,dress:P9e,kimono:F9e,sari:B9e,one_piece_swimsuit:$9e,swim_brief:j9e,shorts:z9e,bikini:U9e,womans_clothes:q9e,purse:H9e,handbag:V9e,pouch:G9e,shopping:K9e,school_satchel:W9e,thong_sandal:Z9e,mans_shoe:Y9e,shoe:Q9e,athletic_shoe:J9e,hiking_boot:X9e,flat_shoe:eAe,high_heel:tAe,sandal:nAe,ballet_shoes:sAe,boot:oAe,crown:rAe,womans_hat:iAe,tophat:aAe,mortar_board:lAe,billed_cap:cAe,military_helmet:uAe,rescue_worker_helmet:dAe,prayer_beads:hAe,lipstick:fAe,ring:pAe,gem:gAe,mute:mAe,speaker:_Ae,sound:bAe,loud_sound:yAe,loudspeaker:vAe,mega:wAe,postal_horn:xAe,bell:kAe,no_bell:EAe,musical_score:CAe,musical_note:AAe,notes:SAe,studio_microphone:TAe,level_slider:MAe,control_knobs:OAe,microphone:RAe,headphones:NAe,radio:DAe,saxophone:LAe,accordion:IAe,guitar:PAe,musical_keyboard:FAe,trumpet:BAe,violin:$Ae,banjo:jAe,drum:zAe,long_drum:UAe,iphone:qAe,calling:HAe,phone:VAe,telephone:GAe,telephone_receiver:KAe,pager:WAe,fax:ZAe,battery:YAe,electric_plug:QAe,computer:JAe,desktop_computer:XAe,printer:e6e,keyboard:t6e,computer_mouse:n6e,trackball:s6e,minidisc:o6e,floppy_disk:r6e,cd:i6e,dvd:a6e,abacus:l6e,movie_camera:c6e,film_strip:u6e,film_projector:d6e,clapper:h6e,tv:f6e,camera:p6e,camera_flash:g6e,video_camera:m6e,vhs:_6e,mag:b6e,mag_right:y6e,candle:v6e,bulb:w6e,flashlight:x6e,izakaya_lantern:k6e,lantern:E6e,diya_lamp:C6e,notebook_with_decorative_cover:A6e,closed_book:S6e,book:T6e,open_book:M6e,green_book:O6e,blue_book:R6e,orange_book:N6e,books:D6e,notebook:L6e,ledger:I6e,page_with_curl:P6e,scroll:F6e,page_facing_up:B6e,newspaper:$6e,newspaper_roll:j6e,bookmark_tabs:z6e,bookmark:U6e,label:q6e,moneybag:H6e,coin:V6e,yen:G6e,dollar:K6e,euro:W6e,pound:Z6e,money_with_wings:Y6e,credit_card:Q6e,receipt:J6e,chart:X6e,envelope:eSe,email:tSe,"e-mail":"📧",incoming_envelope:nSe,envelope_with_arrow:sSe,outbox_tray:oSe,inbox_tray:rSe,package:"📦",mailbox:iSe,mailbox_closed:aSe,mailbox_with_mail:lSe,mailbox_with_no_mail:cSe,postbox:uSe,ballot_box:dSe,pencil2:hSe,black_nib:fSe,fountain_pen:pSe,pen:gSe,paintbrush:mSe,crayon:_Se,memo:bSe,pencil:ySe,briefcase:vSe,file_folder:wSe,open_file_folder:xSe,card_index_dividers:kSe,date:ESe,calendar:CSe,spiral_notepad:ASe,spiral_calendar:SSe,card_index:TSe,chart_with_upwards_trend:MSe,chart_with_downwards_trend:OSe,bar_chart:RSe,clipboard:NSe,pushpin:DSe,round_pushpin:LSe,paperclip:ISe,paperclips:PSe,straight_ruler:FSe,triangular_ruler:BSe,scissors:$Se,card_file_box:jSe,file_cabinet:zSe,wastebasket:USe,lock:qSe,unlock:HSe,lock_with_ink_pen:VSe,closed_lock_with_key:GSe,key:KSe,old_key:WSe,hammer:ZSe,axe:YSe,pick:QSe,hammer_and_pick:JSe,hammer_and_wrench:XSe,dagger:eTe,crossed_swords:tTe,gun:nTe,boomerang:sTe,bow_and_arrow:oTe,shield:rTe,carpentry_saw:iTe,wrench:aTe,screwdriver:lTe,nut_and_bolt:cTe,gear:uTe,clamp:dTe,balance_scale:hTe,probing_cane:fTe,link:pTe,chains:gTe,hook:mTe,toolbox:_Te,magnet:bTe,ladder:yTe,alembic:vTe,test_tube:wTe,petri_dish:xTe,dna:kTe,microscope:ETe,telescope:CTe,satellite:ATe,syringe:STe,drop_of_blood:TTe,pill:MTe,adhesive_bandage:OTe,stethoscope:RTe,door:NTe,elevator:DTe,mirror:LTe,window:ITe,bed:PTe,couch_and_lamp:FTe,chair:BTe,toilet:$Te,plunger:jTe,shower:zTe,bathtub:UTe,mouse_trap:qTe,razor:HTe,lotion_bottle:VTe,safety_pin:GTe,broom:KTe,basket:WTe,roll_of_paper:ZTe,bucket:YTe,soap:QTe,toothbrush:JTe,sponge:XTe,fire_extinguisher:e7e,shopping_cart:t7e,smoking:n7e,coffin:s7e,headstone:o7e,funeral_urn:r7e,moyai:i7e,placard:a7e,atm:l7e,put_litter_in_its_place:c7e,potable_water:u7e,wheelchair:d7e,mens:h7e,womens:f7e,restroom:p7e,baby_symbol:g7e,wc:m7e,passport_control:_7e,customs:b7e,baggage_claim:y7e,left_luggage:v7e,warning:w7e,children_crossing:x7e,no_entry:k7e,no_entry_sign:E7e,no_bicycles:C7e,no_smoking:A7e,do_not_litter:S7e,"non-potable_water":"🚱",no_pedestrians:T7e,no_mobile_phones:M7e,underage:O7e,radioactive:R7e,biohazard:N7e,arrow_up:D7e,arrow_upper_right:L7e,arrow_right:I7e,arrow_lower_right:P7e,arrow_down:F7e,arrow_lower_left:B7e,arrow_left:$7e,arrow_upper_left:j7e,arrow_up_down:z7e,left_right_arrow:U7e,leftwards_arrow_with_hook:q7e,arrow_right_hook:H7e,arrow_heading_up:V7e,arrow_heading_down:G7e,arrows_clockwise:K7e,arrows_counterclockwise:W7e,back:Z7e,end:Y7e,on:Q7e,soon:J7e,top:X7e,place_of_worship:eMe,atom_symbol:tMe,om:nMe,star_of_david:sMe,wheel_of_dharma:oMe,yin_yang:rMe,latin_cross:iMe,orthodox_cross:aMe,star_and_crescent:lMe,peace_symbol:cMe,menorah:uMe,six_pointed_star:dMe,aries:hMe,taurus:fMe,gemini:pMe,cancer:gMe,leo:mMe,virgo:_Me,libra:bMe,scorpius:yMe,sagittarius:vMe,capricorn:wMe,aquarius:xMe,pisces:kMe,ophiuchus:EMe,twisted_rightwards_arrows:CMe,repeat:AMe,repeat_one:SMe,arrow_forward:TMe,fast_forward:MMe,next_track_button:OMe,play_or_pause_button:RMe,arrow_backward:NMe,rewind:DMe,previous_track_button:LMe,arrow_up_small:IMe,arrow_double_up:PMe,arrow_down_small:FMe,arrow_double_down:BMe,pause_button:$Me,stop_button:jMe,record_button:zMe,eject_button:UMe,cinema:qMe,low_brightness:HMe,high_brightness:VMe,signal_strength:GMe,vibration_mode:KMe,mobile_phone_off:WMe,female_sign:ZMe,male_sign:YMe,transgender_symbol:QMe,heavy_multiplication_x:JMe,heavy_plus_sign:XMe,heavy_minus_sign:eOe,heavy_division_sign:tOe,infinity:nOe,bangbang:sOe,interrobang:oOe,question:rOe,grey_question:iOe,grey_exclamation:aOe,exclamation:lOe,heavy_exclamation_mark:cOe,wavy_dash:uOe,currency_exchange:dOe,heavy_dollar_sign:hOe,medical_symbol:fOe,recycle:pOe,fleur_de_lis:gOe,trident:mOe,name_badge:_Oe,beginner:bOe,o:yOe,white_check_mark:vOe,ballot_box_with_check:wOe,heavy_check_mark:xOe,x:kOe,negative_squared_cross_mark:EOe,curly_loop:COe,loop:AOe,part_alternation_mark:SOe,eight_spoked_asterisk:TOe,eight_pointed_black_star:MOe,sparkle:OOe,copyright:ROe,registered:NOe,tm:DOe,hash:LOe,asterisk:IOe,zero:POe,one:FOe,two:BOe,three:$Oe,four:jOe,five:zOe,six:UOe,seven:qOe,eight:HOe,nine:VOe,keycap_ten:GOe,capital_abcd:KOe,abcd:WOe,symbols:ZOe,abc:YOe,a:QOe,ab:JOe,b:XOe,cl:eRe,cool:tRe,free:nRe,information_source:sRe,id:oRe,m:rRe,new:"🆕",ng:iRe,o2:aRe,ok:lRe,parking:cRe,sos:uRe,up:dRe,vs:hRe,koko:fRe,sa:pRe,ideograph_advantage:gRe,accept:mRe,congratulations:_Re,secret:bRe,u6e80:yRe,red_circle:vRe,orange_circle:wRe,yellow_circle:xRe,green_circle:kRe,large_blue_circle:ERe,purple_circle:CRe,brown_circle:ARe,black_circle:SRe,white_circle:TRe,red_square:MRe,orange_square:ORe,yellow_square:RRe,green_square:NRe,blue_square:DRe,purple_square:LRe,brown_square:IRe,black_large_square:PRe,white_large_square:FRe,black_medium_square:BRe,white_medium_square:$Re,black_medium_small_square:jRe,white_medium_small_square:zRe,black_small_square:URe,white_small_square:qRe,large_orange_diamond:HRe,large_blue_diamond:VRe,small_orange_diamond:GRe,small_blue_diamond:KRe,small_red_triangle:WRe,small_red_triangle_down:ZRe,diamond_shape_with_a_dot_inside:YRe,radio_button:QRe,white_square_button:JRe,black_square_button:XRe,checkered_flag:eNe,triangular_flag_on_post:tNe,crossed_flags:nNe,black_flag:sNe,white_flag:oNe,rainbow_flag:rNe,transgender_flag:iNe,pirate_flag:aNe,ascension_island:lNe,andorra:cNe,united_arab_emirates:uNe,afghanistan:dNe,antigua_barbuda:hNe,anguilla:fNe,albania:pNe,armenia:gNe,angola:mNe,antarctica:_Ne,argentina:bNe,american_samoa:yNe,austria:vNe,australia:wNe,aruba:xNe,aland_islands:kNe,azerbaijan:ENe,bosnia_herzegovina:CNe,barbados:ANe,bangladesh:SNe,belgium:TNe,burkina_faso:MNe,bulgaria:ONe,bahrain:RNe,burundi:NNe,benin:DNe,st_barthelemy:LNe,bermuda:INe,brunei:PNe,bolivia:FNe,caribbean_netherlands:BNe,brazil:$Ne,bahamas:jNe,bhutan:zNe,bouvet_island:UNe,botswana:qNe,belarus:HNe,belize:VNe,canada:GNe,cocos_islands:KNe,congo_kinshasa:WNe,central_african_republic:ZNe,congo_brazzaville:YNe,switzerland:QNe,cote_divoire:JNe,cook_islands:XNe,chile:eDe,cameroon:tDe,cn:nDe,colombia:sDe,clipperton_island:oDe,costa_rica:rDe,cuba:iDe,cape_verde:aDe,curacao:lDe,christmas_island:cDe,cyprus:uDe,czech_republic:dDe,de:hDe,diego_garcia:fDe,djibouti:pDe,denmark:gDe,dominica:mDe,dominican_republic:_De,algeria:bDe,ceuta_melilla:yDe,ecuador:vDe,estonia:wDe,egypt:xDe,western_sahara:kDe,eritrea:EDe,es:CDe,ethiopia:ADe,eu:SDe,european_union:TDe,finland:MDe,fiji:ODe,falkland_islands:RDe,micronesia:NDe,faroe_islands:DDe,fr:LDe,gabon:IDe,gb:PDe,uk:FDe,grenada:BDe,georgia:$De,french_guiana:jDe,guernsey:zDe,ghana:UDe,gibraltar:qDe,greenland:HDe,gambia:VDe,guinea:GDe,guadeloupe:KDe,equatorial_guinea:WDe,greece:ZDe,south_georgia_south_sandwich_islands:YDe,guatemala:QDe,guam:JDe,guinea_bissau:XDe,guyana:eLe,hong_kong:tLe,heard_mcdonald_islands:nLe,honduras:sLe,croatia:oLe,haiti:rLe,hungary:iLe,canary_islands:aLe,indonesia:lLe,ireland:cLe,israel:uLe,isle_of_man:dLe,india:hLe,british_indian_ocean_territory:fLe,iraq:pLe,iran:gLe,iceland:mLe,it:_Le,jersey:bLe,jamaica:yLe,jordan:vLe,jp:wLe,kenya:xLe,kyrgyzstan:kLe,cambodia:ELe,kiribati:CLe,comoros:ALe,st_kitts_nevis:SLe,north_korea:TLe,kr:MLe,kuwait:OLe,cayman_islands:RLe,kazakhstan:NLe,laos:DLe,lebanon:LLe,st_lucia:ILe,liechtenstein:PLe,sri_lanka:FLe,liberia:BLe,lesotho:$Le,lithuania:jLe,luxembourg:zLe,latvia:ULe,libya:qLe,morocco:HLe,monaco:VLe,moldova:GLe,montenegro:KLe,st_martin:WLe,madagascar:ZLe,marshall_islands:YLe,macedonia:QLe,mali:JLe,myanmar:XLe,mongolia:eIe,macau:tIe,northern_mariana_islands:nIe,martinique:sIe,mauritania:oIe,montserrat:rIe,malta:iIe,mauritius:aIe,maldives:lIe,malawi:cIe,mexico:uIe,malaysia:dIe,mozambique:hIe,namibia:fIe,new_caledonia:pIe,niger:gIe,norfolk_island:mIe,nigeria:_Ie,nicaragua:bIe,netherlands:yIe,norway:vIe,nepal:wIe,nauru:xIe,niue:kIe,new_zealand:EIe,oman:CIe,panama:AIe,peru:SIe,french_polynesia:TIe,papua_new_guinea:MIe,philippines:OIe,pakistan:RIe,poland:NIe,st_pierre_miquelon:DIe,pitcairn_islands:LIe,puerto_rico:IIe,palestinian_territories:PIe,portugal:FIe,palau:BIe,paraguay:$Ie,qatar:jIe,reunion:zIe,romania:UIe,serbia:qIe,ru:HIe,rwanda:VIe,saudi_arabia:GIe,solomon_islands:KIe,seychelles:WIe,sudan:ZIe,sweden:YIe,singapore:QIe,st_helena:JIe,slovenia:XIe,svalbard_jan_mayen:ePe,slovakia:tPe,sierra_leone:nPe,san_marino:sPe,senegal:oPe,somalia:rPe,suriname:iPe,south_sudan:aPe,sao_tome_principe:lPe,el_salvador:cPe,sint_maarten:uPe,syria:dPe,swaziland:hPe,tristan_da_cunha:fPe,turks_caicos_islands:pPe,chad:gPe,french_southern_territories:mPe,togo:_Pe,thailand:bPe,tajikistan:yPe,tokelau:vPe,timor_leste:wPe,turkmenistan:xPe,tunisia:kPe,tonga:EPe,tr:CPe,trinidad_tobago:APe,tuvalu:SPe,taiwan:TPe,tanzania:MPe,ukraine:OPe,uganda:RPe,us_outlying_islands:NPe,united_nations:DPe,us:LPe,uruguay:IPe,uzbekistan:PPe,vatican_city:FPe,st_vincent_grenadines:BPe,venezuela:$Pe,british_virgin_islands:jPe,us_virgin_islands:zPe,vietnam:UPe,vanuatu:qPe,wallis_futuna:HPe,samoa:VPe,kosovo:GPe,yemen:KPe,mayotte:WPe,south_africa:ZPe,zambia:YPe,zimbabwe:QPe,england:JPe,scotland:XPe,wales:eFe};var nFe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[_-1])||_+b.lengthm&&(g=new f("text","",0),g.content=d.slice(m,_),p.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],p.push(g),m=_+b.length}),m=0;f--)b=p[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&o.test(b.content)&&(_[g].children=p=i(p,f,c(b.content,b.level,h.Token)))}};function rFe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var iFe=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}},aFe=sFe,lFe=oFe,cFe=iFe,uFe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=cFe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=aFe,e.core.ruler.after("linkify","emoji",lFe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},dFe=tFe,hFe=nFe,fFe=uFe,pFe=function(e,n){var s={defs:dFe,shortcuts:hFe,enabled:[]},o=e.utils.assign({},s,n||{});fFe(e,o)};const gFe=rs(pFe);var Od=!1,Os={false:"push",true:"unshift",after:"push",before:"unshift"},Tr={isPermalinkSymbol:!0};function hl(t,e,n,s){var o;if(!Od){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),Od=!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[Os[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Os[e.permalinkBefore]].apply(o,i)}function Eg(t){return"#"+t}function Cg(t){return{}}var mFe={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({},mFe),e.renderPermalinkImpl=t,e}var _i=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[Os[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Os[e.placement]].apply(r,i)});Object.assign(_i.defaults,{space:!0,placement:"after",ariaHidden:!1});var $n=Fo(_i.renderPermalinkImpl);$n.defaults=Object.assign({},_i.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 Rd=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[Os[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Os[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]+` +`,i.map=[n,e.line],!0},bde=function(e,n,s,o){var r,i,a,l,c,d,h,f=!1,g=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||g+3>m||(r=e.src.charCodeAt(g),r!==126&&r!==96)||(c=g,g=e.skipChars(g,r),i=g-c,i<3)||(h=e.src.slice(c,g),a=e.src.slice(g,m),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(g=c=e.bMarks[l]+e.tShift[l],m=e.eMarks[l],g=4)&&(g=e.skipChars(g,r),!(g-c=4||e.src.charCodeAt(M++)!==62)return!1;if(o)return!0;for(l=g=e.sCount[n]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,C=!0):e.src.charCodeAt(M)===9?(C=!0,(e.bsCount[n]+g)%4===3?(M++,l++,g++,r=!1):r=!0):C=!1,m=[e.bMarks[n]],e.bMarks[n]=M;M=L,y=[e.sCount[n]],e.sCount[n]=g-l,x=[e.tShift[n]],e.tShift[n]=M-e.bMarks[n],O=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=n+1;f=L));f++){if(e.src.charCodeAt(M++)===62&&!v){for(l=g=e.sCount[f]+1,e.src.charCodeAt(M)===32?(M++,l++,g++,r=!1,C=!0):e.src.charCodeAt(M)===9?(C=!0,(e.bsCount[f]+g)%4===3?(M++,l++,g++,r=!1):r=!0):C=!1,m.push(e.bMarks[f]),e.bMarks[f]=M;M=L,p.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(C?1:0),y.push(e.sCount[f]),e.sCount[f]=g-l,x.push(e.tShift[f]),e.tShift[f]=M-e.bMarks[f];continue}if(d)break;for(R=!1,a=0,c=O.length;a",D.map=h=[n,0],e.md.block.tokenize(e,n,f),D=e.push("blockquote_close","blockquote",-1),D.markup=">",e.lineMax=k,e.parentType=_,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(T=!0),(L=pd(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=fd(e,n))>=0)h=!1;else return!1;if(T&&e.skipSpaces(L)>=e.eMarks[n])return!1;if(b=e.src.charCodeAt(L-1),o)return!0;for(p=e.tokens.length,h?(Z=e.push("ordered_list_open","ol",1),_!==1&&(Z.attrs=[["start",_]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[n,0],Z.markup=String.fromCharCode(b),x=n,F=!1,le=e.md.block.ruler.getRules("list"),O=e.parentType,e.parentType="list";x=y?c=1:c=C-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]=C,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(q=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[n]=v,e.sCount[n]=D,e.tight=k,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(b),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,g=le.length;a=4||e.src.charCodeAt(O)!==91)return!1;for(;++O3)&&!(e.sCount[v]<0)){for(y=!1,d=0,h=x.length;d"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:C,href:c}),e.parentType=m,e.line=n+R+1),!0)},Ade=["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"],di={},Sde="[a-zA-Z_:][a-zA-Z0-9:._-]*",Tde="[^\"'=<>`\\x00-\\x20]+",Mde="'[^']*'",Ode='"[^"]*"',Rde="(?:"+Tde+"|"+Mde+"|"+Ode+")",Nde="(?:\\s+"+Sde+"(?:\\s*=\\s*"+Rde+")?)",ug="<[A-Za-z][A-Za-z0-9\\-]*"+Nde+"*\\s*\\/?>",dg="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Dde="|",Lde="<[?][\\s\\S]*?[?]>",Ide="]*>",Pde="",Fde=new RegExp("^(?:"+ug+"|"+dg+"|"+Dde+"|"+Lde+"|"+Ide+"|"+Pde+")"),Bde=new RegExp("^(?:"+ug+"|"+dg+")");di.HTML_TAG_RE=Fde;di.HTML_OPEN_CLOSE_TAG_RE=Bde;var $de=Ade,jde=di.HTML_OPEN_CLOSE_TAG_RE,us=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(jde.source+"\\s*$"),/^$/,!1]],zde=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],d=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,d),r=0;r=4||(r=e.src.charCodeAt(c),r!==35||c>=d))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c6||cc&&gd(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)},qde=function(e,n,s){var o,r,i,a,l,c,d,h,f,g=n+1,m,p=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";g3)){if(e.sCount[g]>=e.blkIndent&&(c=e.bMarks[g]+e.tShift[g],d=e.eMarks[g],c=d)))){h=f===61?1:2;break}if(!(e.sCount[g]<0)){for(r=!1,i=0,a=p.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=d.length;r0&&this.level++,this.tokens.push(s),s};Xt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Xt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!hi(this.src.charCodeAt(--e)))return e+1;return e};Xt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Xt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,d,h,f=e;if(e>=n)return"";for(d=new Array(n-e),r=0;fs?d[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):d[r]=this.src.slice(l,c)}return d.join("")};Xt.prototype.Token=hg;var Vde=Xt,Gde=oc,Yo=[["table",mde,["paragraph","reference"]],["code",_de],["fence",bde,["paragraph","reference","blockquote","list"]],["blockquote",yde,["paragraph","reference","blockquote","list"]],["hr",wde,["paragraph","reference","blockquote","list"]],["list",kde,["paragraph","reference","blockquote"]],["reference",Cde],["html_block",zde,["paragraph","reference","blockquote"]],["heading",Ude,["paragraph","reference","blockquote"]],["lheading",qde],["paragraph",Hde]];function fi(){this.ruler=new Gde;for(var t=0;t=n||t.sCount[a]=c){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Yde),!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)},Jde=ze.isSpace,Xde=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){ac[t.charCodeAt(0)]=1});var the=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&ac[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},nhe=function(e,n){var s,o,r,i,a,l,c,d,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}gi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(bd(e,e.delimiters),n=0;n=p)return!1;if(b=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?l=c.pos:f="",b=l;l=p||e.src.charCodeAt(l)!==41)&&(_=!0),l++}if(_){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(b,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),d=e.env.references[she(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,Ki=ze.isSpace,ihe=function(e,n){var s,o,r,i,a,l,c,d,h,f,g,m,p,b="",_=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c=y)return!1;for(p=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?c=h.pos:b=""),p=c;c=y||e.src.charCodeAt(c)!==41)return e.pos=_,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?i=e.src.slice(p,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),d=e.env.references[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},ahe=/^([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]*)$/,che=function(e,n){var s,o,r,i,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(i=e.src.charCodeAt(c),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,c),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):ahe.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},uhe=di.HTML_TAG_RE;function dhe(t){return/^\s]/i.test(t)}function hhe(t){return/^<\/a\s*>/i.test(t)}function fhe(t){var e=t|32;return e>=97&&e<=122}var phe=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&&!fhe(s))||(o=e.src.slice(a).match(uhe),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),dhe(i.content)&&e.linkLevel++,hhe(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},yd=sg,ghe=ze.has,mhe=ze.isValidEntityCode,vd=ze.fromCodePoint,_he=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,bhe=/^&([a-z][a-z0-9]{1,31});/i,yhe=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(_he),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=mhe(o)?vd(o):vd(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(bhe),r&&ghe(yd,r[1]))return n||(i=e.push("text_special","",0),i.content=yd[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function wd(t,e){var n,s,o,r,i,a,l,c,d={},h=e.length;if(h){var f=0,g=-2,m=[];for(n=0;ni;s-=m[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?m[s-1]+1:0,m[n]=n-s+c,m[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,g=-2;break}a!==-1&&(d[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var vhe=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(wd(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Io.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,d,h,f=!0,g=!0,m=this.posMax,p=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Po.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Yi}function ul(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 mi(t){return Object.prototype.toString.call(t)}function Che(t){return mi(t)==="[object String]"}function Ahe(t){return mi(t)==="[object Object]"}function She(t){return mi(t)==="[object RegExp]"}function Sd(t){return mi(t)==="[object Function]"}function The(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var fg={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Mhe(t){return Object.keys(t||{}).reduce(function(e,n){return e||fg.hasOwnProperty(n)},!1)}var Ohe={"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}}},Rhe="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]",Nhe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Dhe(t){t.__index__=-1,t.__text_cache__=""}function Lhe(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Td(){return function(t,e){e.normalize(t)}}function Sr(t){var e=t.re=Ehe()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Rhe),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,Ahe(l)){She(l.validate)?c.validate=Lhe(l.validate):Sd(l.validate)?c.validate=l.validate:r(a,l),Sd(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Td();return}if(Che(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:Td()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(The).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"),Dhe(t)}function Ihe(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 dl(t,e){var n=new Ihe(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||Mhe(t)&&(e=t,t={}),this.__opts__=ul({},fg,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=ul({},Ohe,t),this.__compiled__={},this.__tlds__=Nhe,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__=ul(this.__opts__,e),this};bt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,d;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};bt.prototype.pretest=function(e){return this.re.pretest.test(e)};bt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};bt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(dl(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(dl(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,dl(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 Phe=bt;const xs=2147483647,Vt=36,cc=1,Ao=26,Fhe=38,Bhe=700,pg=72,gg=128,mg="-",$he=/^xn--/,jhe=/[^\0-\x7F]/,zhe=/[\x2E\u3002\uFF0E\uFF61]/g,Uhe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qi=Vt-cc,Gt=Math.floor,Ji=String.fromCharCode;function wn(t){throw new RangeError(Uhe[t])}function qhe(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(zhe,".");const o=t.split("."),r=qhe(o,e).join(".");return s+r}function uc(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Hhe=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Vt},Md=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/Bhe):t>>1,t+=Gt(t/e);t>Qi*Ao>>1;s+=Vt)t=Gt(t/Qi);return Gt(s+(Qi+1)*t/(t+Fhe))},dc=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=128&&wn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&wn("invalid-input");const f=Hhe(t.charCodeAt(a++));f>=Vt&&wn("invalid-input"),f>Gt((xs-s)/d)&&wn("overflow"),s+=f*d;const g=h<=r?cc:h>=r+Ao?Ao:h-r;if(fGt(xs/m)&&wn("overflow"),d*=m}const c=e.length+1;r=yg(s-l,c,l==0),Gt(s/c)>xs-o&&wn("overflow"),o+=Gt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},hc=function(t){const e=[];t=uc(t);const n=t.length;let s=gg,o=0,r=pg;for(const l of t)l<128&&e.push(Ji(l));const i=e.length;let a=i;for(i&&e.push(mg);a=s&&dGt((xs-o)/c)&&wn("overflow"),o+=(l-s)*c,s=l;for(const d of t)if(dxs&&wn("overflow"),d===s){let h=o;for(let f=Vt;;f+=Vt){const g=f<=r?cc:f>=r+Ao?Ao:f-r;if(h=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 St(t,e){if(!(this instanceof St))return new St(t,e);e||ao.isString(t)||(e=t||{},t="default"),this.inline=new tfe,this.block=new efe,this.core=new Xhe,this.renderer=new Jhe,this.linkify=new nfe,this.validateLink=ife,this.normalizeLink=afe,this.normalizeLinkText=lfe,this.utils=ao,this.helpers=ao.assign({},Qhe),this.options={},this.configure(t),e&&this.set(e)}St.prototype.set=function(t){return ao.assign(this.options,t),this};St.prototype.configure=function(t){var e=this,n;if(ao.isString(t)&&(n=t,t=sfe[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};St.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};St.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};St.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};St.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};St.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};St.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};St.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var cfe=St,ufe=cfe;const dfe=rs(ufe),hfe="😀",ffe="😃",pfe="😄",gfe="😁",mfe="😆",_fe="😆",bfe="😅",yfe="🤣",vfe="😂",wfe="🙂",xfe="🙃",kfe="😉",Efe="😊",Cfe="😇",Afe="🥰",Sfe="😍",Tfe="🤩",Mfe="😘",Ofe="😗",Rfe="☺️",Nfe="😚",Dfe="😙",Lfe="🥲",Ife="😋",Pfe="😛",Ffe="😜",Bfe="🤪",$fe="😝",jfe="🤑",zfe="🤗",Ufe="🤭",qfe="🤫",Hfe="🤔",Vfe="🤐",Gfe="🤨",Kfe="😐",Wfe="😑",Zfe="😶",Yfe="😏",Qfe="😒",Jfe="🙄",Xfe="😬",epe="🤥",tpe="😌",npe="😔",spe="😪",ope="🤤",rpe="😴",ipe="😷",ape="🤒",lpe="🤕",cpe="🤢",upe="🤮",dpe="🤧",hpe="🥵",fpe="🥶",ppe="🥴",gpe="😵",mpe="🤯",_pe="🤠",bpe="🥳",ype="🥸",vpe="😎",wpe="🤓",xpe="🧐",kpe="😕",Epe="😟",Cpe="🙁",Ape="☹️",Spe="😮",Tpe="😯",Mpe="😲",Ope="😳",Rpe="🥺",Npe="😦",Dpe="😧",Lpe="😨",Ipe="😰",Ppe="😥",Fpe="😢",Bpe="😭",$pe="😱",jpe="😖",zpe="😣",Upe="😞",qpe="😓",Hpe="😩",Vpe="😫",Gpe="🥱",Kpe="😤",Wpe="😡",Zpe="😡",Ype="😠",Qpe="🤬",Jpe="😈",Xpe="👿",ege="💀",tge="☠️",nge="💩",sge="💩",oge="💩",rge="🤡",ige="👹",age="👺",lge="👻",cge="👽",uge="👾",dge="🤖",hge="😺",fge="😸",pge="😹",gge="😻",mge="😼",_ge="😽",bge="🙀",yge="😿",vge="😾",wge="🙈",xge="🙉",kge="🙊",Ege="💋",Cge="💌",Age="💘",Sge="💝",Tge="💖",Mge="💗",Oge="💓",Rge="💞",Nge="💕",Dge="💟",Lge="❣️",Ige="💔",Pge="❤️",Fge="🧡",Bge="💛",$ge="💚",jge="💙",zge="💜",Uge="🤎",qge="🖤",Hge="🤍",Vge="💢",Gge="💥",Kge="💥",Wge="💫",Zge="💦",Yge="💨",Qge="🕳️",Jge="💣",Xge="💬",eme="👁️‍🗨️",tme="🗨️",nme="🗯️",sme="💭",ome="💤",rme="👋",ime="🤚",ame="🖐️",lme="✋",cme="✋",ume="🖖",dme="👌",hme="🤌",fme="🤏",pme="✌️",gme="🤞",mme="🤟",_me="🤘",bme="🤙",yme="👈",vme="👉",wme="👆",xme="🖕",kme="🖕",Eme="👇",Cme="☝️",Ame="👍",Sme="👎",Tme="✊",Mme="✊",Ome="👊",Rme="👊",Nme="👊",Dme="🤛",Lme="🤜",Ime="👏",Pme="🙌",Fme="👐",Bme="🤲",$me="🤝",jme="🙏",zme="✍️",Ume="💅",qme="🤳",Hme="💪",Vme="🦾",Gme="🦿",Kme="🦵",Wme="🦶",Zme="👂",Yme="🦻",Qme="👃",Jme="🧠",Xme="🫀",e_e="🫁",t_e="🦷",n_e="🦴",s_e="👀",o_e="👁️",r_e="👅",i_e="👄",a_e="👶",l_e="🧒",c_e="👦",u_e="👧",d_e="🧑",h_e="👱",f_e="👨",p_e="🧔",g_e="👨‍🦰",m_e="👨‍🦱",__e="👨‍🦳",b_e="👨‍🦲",y_e="👩",v_e="👩‍🦰",w_e="🧑‍🦰",x_e="👩‍🦱",k_e="🧑‍🦱",E_e="👩‍🦳",C_e="🧑‍🦳",A_e="👩‍🦲",S_e="🧑‍🦲",T_e="👱‍♀️",M_e="👱‍♀️",O_e="👱‍♂️",R_e="🧓",N_e="👴",D_e="👵",L_e="🙍",I_e="🙍‍♂️",P_e="🙍‍♀️",F_e="🙎",B_e="🙎‍♂️",$_e="🙎‍♀️",j_e="🙅",z_e="🙅‍♂️",U_e="🙅‍♂️",q_e="🙅‍♀️",H_e="🙅‍♀️",V_e="🙆",G_e="🙆‍♂️",K_e="🙆‍♀️",W_e="💁",Z_e="💁",Y_e="💁‍♂️",Q_e="💁‍♂️",J_e="💁‍♀️",X_e="💁‍♀️",e1e="🙋",t1e="🙋‍♂️",n1e="🙋‍♀️",s1e="🧏",o1e="🧏‍♂️",r1e="🧏‍♀️",i1e="🙇",a1e="🙇‍♂️",l1e="🙇‍♀️",c1e="🤦",u1e="🤦‍♂️",d1e="🤦‍♀️",h1e="🤷",f1e="🤷‍♂️",p1e="🤷‍♀️",g1e="🧑‍⚕️",m1e="👨‍⚕️",_1e="👩‍⚕️",b1e="🧑‍🎓",y1e="👨‍🎓",v1e="👩‍🎓",w1e="🧑‍🏫",x1e="👨‍🏫",k1e="👩‍🏫",E1e="🧑‍⚖️",C1e="👨‍⚖️",A1e="👩‍⚖️",S1e="🧑‍🌾",T1e="👨‍🌾",M1e="👩‍🌾",O1e="🧑‍🍳",R1e="👨‍🍳",N1e="👩‍🍳",D1e="🧑‍🔧",L1e="👨‍🔧",I1e="👩‍🔧",P1e="🧑‍🏭",F1e="👨‍🏭",B1e="👩‍🏭",$1e="🧑‍💼",j1e="👨‍💼",z1e="👩‍💼",U1e="🧑‍🔬",q1e="👨‍🔬",H1e="👩‍🔬",V1e="🧑‍💻",G1e="👨‍💻",K1e="👩‍💻",W1e="🧑‍🎤",Z1e="👨‍🎤",Y1e="👩‍🎤",Q1e="🧑‍🎨",J1e="👨‍🎨",X1e="👩‍🎨",e0e="🧑‍✈️",t0e="👨‍✈️",n0e="👩‍✈️",s0e="🧑‍🚀",o0e="👨‍🚀",r0e="👩‍🚀",i0e="🧑‍🚒",a0e="👨‍🚒",l0e="👩‍🚒",c0e="👮",u0e="👮",d0e="👮‍♂️",h0e="👮‍♀️",f0e="🕵️",p0e="🕵️‍♂️",g0e="🕵️‍♀️",m0e="💂",_0e="💂‍♂️",b0e="💂‍♀️",y0e="🥷",v0e="👷",w0e="👷‍♂️",x0e="👷‍♀️",k0e="🤴",E0e="👸",C0e="👳",A0e="👳‍♂️",S0e="👳‍♀️",T0e="👲",M0e="🧕",O0e="🤵",R0e="🤵‍♂️",N0e="🤵‍♀️",D0e="👰",L0e="👰‍♂️",I0e="👰‍♀️",P0e="👰‍♀️",F0e="🤰",B0e="🤱",$0e="👩‍🍼",j0e="👨‍🍼",z0e="🧑‍🍼",U0e="👼",q0e="🎅",H0e="🤶",V0e="🧑‍🎄",G0e="🦸",K0e="🦸‍♂️",W0e="🦸‍♀️",Z0e="🦹",Y0e="🦹‍♂️",Q0e="🦹‍♀️",J0e="🧙",X0e="🧙‍♂️",ebe="🧙‍♀️",tbe="🧚",nbe="🧚‍♂️",sbe="🧚‍♀️",obe="🧛",rbe="🧛‍♂️",ibe="🧛‍♀️",abe="🧜",lbe="🧜‍♂️",cbe="🧜‍♀️",ube="🧝",dbe="🧝‍♂️",hbe="🧝‍♀️",fbe="🧞",pbe="🧞‍♂️",gbe="🧞‍♀️",mbe="🧟",_be="🧟‍♂️",bbe="🧟‍♀️",ybe="💆",vbe="💆‍♂️",wbe="💆‍♀️",xbe="💇",kbe="💇‍♂️",Ebe="💇‍♀️",Cbe="🚶",Abe="🚶‍♂️",Sbe="🚶‍♀️",Tbe="🧍",Mbe="🧍‍♂️",Obe="🧍‍♀️",Rbe="🧎",Nbe="🧎‍♂️",Dbe="🧎‍♀️",Lbe="🧑‍🦯",Ibe="👨‍🦯",Pbe="👩‍🦯",Fbe="🧑‍🦼",Bbe="👨‍🦼",$be="👩‍🦼",jbe="🧑‍🦽",zbe="👨‍🦽",Ube="👩‍🦽",qbe="🏃",Hbe="🏃",Vbe="🏃‍♂️",Gbe="🏃‍♀️",Kbe="💃",Wbe="💃",Zbe="🕺",Ybe="🕴️",Qbe="👯",Jbe="👯‍♂️",Xbe="👯‍♀️",eye="🧖",tye="🧖‍♂️",nye="🧖‍♀️",sye="🧗",oye="🧗‍♂️",rye="🧗‍♀️",iye="🤺",aye="🏇",lye="⛷️",cye="🏂",uye="🏌️",dye="🏌️‍♂️",hye="🏌️‍♀️",fye="🏄",pye="🏄‍♂️",gye="🏄‍♀️",mye="🚣",_ye="🚣‍♂️",bye="🚣‍♀️",yye="🏊",vye="🏊‍♂️",wye="🏊‍♀️",xye="⛹️",kye="⛹️‍♂️",Eye="⛹️‍♂️",Cye="⛹️‍♀️",Aye="⛹️‍♀️",Sye="🏋️",Tye="🏋️‍♂️",Mye="🏋️‍♀️",Oye="🚴",Rye="🚴‍♂️",Nye="🚴‍♀️",Dye="🚵",Lye="🚵‍♂️",Iye="🚵‍♀️",Pye="🤸",Fye="🤸‍♂️",Bye="🤸‍♀️",$ye="🤼",jye="🤼‍♂️",zye="🤼‍♀️",Uye="🤽",qye="🤽‍♂️",Hye="🤽‍♀️",Vye="🤾",Gye="🤾‍♂️",Kye="🤾‍♀️",Wye="🤹",Zye="🤹‍♂️",Yye="🤹‍♀️",Qye="🧘",Jye="🧘‍♂️",Xye="🧘‍♀️",e2e="🛀",t2e="🛌",n2e="🧑‍🤝‍🧑",s2e="👭",o2e="👫",r2e="👬",i2e="💏",a2e="👩‍❤️‍💋‍👨",l2e="👨‍❤️‍💋‍👨",c2e="👩‍❤️‍💋‍👩",u2e="💑",d2e="👩‍❤️‍👨",h2e="👨‍❤️‍👨",f2e="👩‍❤️‍👩",p2e="👪",g2e="👨‍👩‍👦",m2e="👨‍👩‍👧",_2e="👨‍👩‍👧‍👦",b2e="👨‍👩‍👦‍👦",y2e="👨‍👩‍👧‍👧",v2e="👨‍👨‍👦",w2e="👨‍👨‍👧",x2e="👨‍👨‍👧‍👦",k2e="👨‍👨‍👦‍👦",E2e="👨‍👨‍👧‍👧",C2e="👩‍👩‍👦",A2e="👩‍👩‍👧",S2e="👩‍👩‍👧‍👦",T2e="👩‍👩‍👦‍👦",M2e="👩‍👩‍👧‍👧",O2e="👨‍👦",R2e="👨‍👦‍👦",N2e="👨‍👧",D2e="👨‍👧‍👦",L2e="👨‍👧‍👧",I2e="👩‍👦",P2e="👩‍👦‍👦",F2e="👩‍👧",B2e="👩‍👧‍👦",$2e="👩‍👧‍👧",j2e="🗣️",z2e="👤",U2e="👥",q2e="🫂",H2e="👣",V2e="🐵",G2e="🐒",K2e="🦍",W2e="🦧",Z2e="🐶",Y2e="🐕",Q2e="🦮",J2e="🐕‍🦺",X2e="🐩",eve="🐺",tve="🦊",nve="🦝",sve="🐱",ove="🐈",rve="🐈‍⬛",ive="🦁",ave="🐯",lve="🐅",cve="🐆",uve="🐴",dve="🐎",hve="🦄",fve="🦓",pve="🦌",gve="🦬",mve="🐮",_ve="🐂",bve="🐃",yve="🐄",vve="🐷",wve="🐖",xve="🐗",kve="🐽",Eve="🐏",Cve="🐑",Ave="🐐",Sve="🐪",Tve="🐫",Mve="🦙",Ove="🦒",Rve="🐘",Nve="🦣",Dve="🦏",Lve="🦛",Ive="🐭",Pve="🐁",Fve="🐀",Bve="🐹",$ve="🐰",jve="🐇",zve="🐿️",Uve="🦫",qve="🦔",Hve="🦇",Vve="🐻",Gve="🐻‍❄️",Kve="🐨",Wve="🐼",Zve="🦥",Yve="🦦",Qve="🦨",Jve="🦘",Xve="🦡",ewe="🐾",twe="🐾",nwe="🦃",swe="🐔",owe="🐓",rwe="🐣",iwe="🐤",awe="🐥",lwe="🐦",cwe="🐧",uwe="🕊️",dwe="🦅",hwe="🦆",fwe="🦢",pwe="🦉",gwe="🦤",mwe="🪶",_we="🦩",bwe="🦚",ywe="🦜",vwe="🐸",wwe="🐊",xwe="🐢",kwe="🦎",Ewe="🐍",Cwe="🐲",Awe="🐉",Swe="🦕",Twe="🐳",Mwe="🐋",Owe="🐬",Rwe="🐬",Nwe="🦭",Dwe="🐟",Lwe="🐠",Iwe="🐡",Pwe="🦈",Fwe="🐙",Bwe="🐚",$we="🐌",jwe="🦋",zwe="🐛",Uwe="🐜",qwe="🐝",Hwe="🐝",Vwe="🪲",Gwe="🐞",Kwe="🦗",Wwe="🪳",Zwe="🕷️",Ywe="🕸️",Qwe="🦂",Jwe="🦟",Xwe="🪰",exe="🪱",txe="🦠",nxe="💐",sxe="🌸",oxe="💮",rxe="🏵️",ixe="🌹",axe="🥀",lxe="🌺",cxe="🌻",uxe="🌼",dxe="🌷",hxe="🌱",fxe="🪴",pxe="🌲",gxe="🌳",mxe="🌴",_xe="🌵",bxe="🌾",yxe="🌿",vxe="☘️",wxe="🍀",xxe="🍁",kxe="🍂",Exe="🍃",Cxe="🍇",Axe="🍈",Sxe="🍉",Txe="🍊",Mxe="🍊",Oxe="🍊",Rxe="🍋",Nxe="🍌",Dxe="🍍",Lxe="🥭",Ixe="🍎",Pxe="🍏",Fxe="🍐",Bxe="🍑",$xe="🍒",jxe="🍓",zxe="🫐",Uxe="🥝",qxe="🍅",Hxe="🫒",Vxe="🥥",Gxe="🥑",Kxe="🍆",Wxe="🥔",Zxe="🥕",Yxe="🌽",Qxe="🌶️",Jxe="🫑",Xxe="🥒",eke="🥬",tke="🥦",nke="🧄",ske="🧅",oke="🍄",rke="🥜",ike="🌰",ake="🍞",lke="🥐",cke="🥖",uke="🫓",dke="🥨",hke="🥯",fke="🥞",pke="🧇",gke="🧀",mke="🍖",_ke="🍗",bke="🥩",yke="🥓",vke="🍔",wke="🍟",xke="🍕",kke="🌭",Eke="🥪",Cke="🌮",Ake="🌯",Ske="🫔",Tke="🥙",Mke="🧆",Oke="🥚",Rke="🍳",Nke="🥘",Dke="🍲",Lke="🫕",Ike="🥣",Pke="🥗",Fke="🍿",Bke="🧈",$ke="🧂",jke="🥫",zke="🍱",Uke="🍘",qke="🍙",Hke="🍚",Vke="🍛",Gke="🍜",Kke="🍝",Wke="🍠",Zke="🍢",Yke="🍣",Qke="🍤",Jke="🍥",Xke="🥮",eEe="🍡",tEe="🥟",nEe="🥠",sEe="🥡",oEe="🦀",rEe="🦞",iEe="🦐",aEe="🦑",lEe="🦪",cEe="🍦",uEe="🍧",dEe="🍨",hEe="🍩",fEe="🍪",pEe="🎂",gEe="🍰",mEe="🧁",_Ee="🥧",bEe="🍫",yEe="🍬",vEe="🍭",wEe="🍮",xEe="🍯",kEe="🍼",EEe="🥛",CEe="☕",AEe="🫖",SEe="🍵",TEe="🍶",MEe="🍾",OEe="🍷",REe="🍸",NEe="🍹",DEe="🍺",LEe="🍻",IEe="🥂",PEe="🥃",FEe="🥤",BEe="🧋",$Ee="🧃",jEe="🧉",zEe="🧊",UEe="🥢",qEe="🍽️",HEe="🍴",VEe="🥄",GEe="🔪",KEe="🔪",WEe="🏺",ZEe="🌍",YEe="🌎",QEe="🌏",JEe="🌐",XEe="🗺️",e5e="🗾",t5e="🧭",n5e="🏔️",s5e="⛰️",o5e="🌋",r5e="🗻",i5e="🏕️",a5e="🏖️",l5e="🏜️",c5e="🏝️",u5e="🏞️",d5e="🏟️",h5e="🏛️",f5e="🏗️",p5e="🧱",g5e="🪨",m5e="🪵",_5e="🛖",b5e="🏘️",y5e="🏚️",v5e="🏠",w5e="🏡",x5e="🏢",k5e="🏣",E5e="🏤",C5e="🏥",A5e="🏦",S5e="🏨",T5e="🏩",M5e="🏪",O5e="🏫",R5e="🏬",N5e="🏭",D5e="🏯",L5e="🏰",I5e="💒",P5e="🗼",F5e="🗽",B5e="⛪",$5e="🕌",j5e="🛕",z5e="🕍",U5e="⛩️",q5e="🕋",H5e="⛲",V5e="⛺",G5e="🌁",K5e="🌃",W5e="🏙️",Z5e="🌄",Y5e="🌅",Q5e="🌆",J5e="🌇",X5e="🌉",e4e="♨️",t4e="🎠",n4e="🎡",s4e="🎢",o4e="💈",r4e="🎪",i4e="🚂",a4e="🚃",l4e="🚄",c4e="🚅",u4e="🚆",d4e="🚇",h4e="🚈",f4e="🚉",p4e="🚊",g4e="🚝",m4e="🚞",_4e="🚋",b4e="🚌",y4e="🚍",v4e="🚎",w4e="🚐",x4e="🚑",k4e="🚒",E4e="🚓",C4e="🚔",A4e="🚕",S4e="🚖",T4e="🚗",M4e="🚗",O4e="🚘",R4e="🚙",N4e="🛻",D4e="🚚",L4e="🚛",I4e="🚜",P4e="🏎️",F4e="🏍️",B4e="🛵",$4e="🦽",j4e="🦼",z4e="🛺",U4e="🚲",q4e="🛴",H4e="🛹",V4e="🛼",G4e="🚏",K4e="🛣️",W4e="🛤️",Z4e="🛢️",Y4e="⛽",Q4e="🚨",J4e="🚥",X4e="🚦",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="🕙",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="🎆",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="🥾",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="🖥️",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="💹",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="0️⃣",FOe="1️⃣",BOe="2️⃣",$Oe="3️⃣",jOe="4️⃣",zOe="5️⃣",UOe="6️⃣",qOe="7️⃣",HOe="8️⃣",VOe="9️⃣",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="🔲",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={100:"💯",1234:"🔢",grinning:hfe,smiley:ffe,smile:pfe,grin:gfe,laughing:mfe,satisfied:_fe,sweat_smile:bfe,rofl:yfe,joy:vfe,slightly_smiling_face:wfe,upside_down_face:xfe,wink:kfe,blush:Efe,innocent:Cfe,smiling_face_with_three_hearts:Afe,heart_eyes:Sfe,star_struck:Tfe,kissing_heart:Mfe,kissing:Ofe,relaxed:Rfe,kissing_closed_eyes:Nfe,kissing_smiling_eyes:Dfe,smiling_face_with_tear:Lfe,yum:Ife,stuck_out_tongue:Pfe,stuck_out_tongue_winking_eye:Ffe,zany_face:Bfe,stuck_out_tongue_closed_eyes:$fe,money_mouth_face:jfe,hugs:zfe,hand_over_mouth:Ufe,shushing_face:qfe,thinking:Hfe,zipper_mouth_face:Vfe,raised_eyebrow:Gfe,neutral_face:Kfe,expressionless:Wfe,no_mouth:Zfe,smirk:Yfe,unamused:Qfe,roll_eyes:Jfe,grimacing:Xfe,lying_face:epe,relieved:tpe,pensive:npe,sleepy:spe,drooling_face:ope,sleeping:rpe,mask:ipe,face_with_thermometer:ape,face_with_head_bandage:lpe,nauseated_face:cpe,vomiting_face:upe,sneezing_face:dpe,hot_face:hpe,cold_face:fpe,woozy_face:ppe,dizzy_face:gpe,exploding_head:mpe,cowboy_hat_face:_pe,partying_face:bpe,disguised_face:ype,sunglasses:vpe,nerd_face:wpe,monocle_face:xpe,confused:kpe,worried:Epe,slightly_frowning_face:Cpe,frowning_face:Ape,open_mouth:Spe,hushed:Tpe,astonished:Mpe,flushed:Ope,pleading_face:Rpe,frowning:Npe,anguished:Dpe,fearful:Lpe,cold_sweat:Ipe,disappointed_relieved:Ppe,cry:Fpe,sob:Bpe,scream:$pe,confounded:jpe,persevere:zpe,disappointed:Upe,sweat:qpe,weary:Hpe,tired_face:Vpe,yawning_face:Gpe,triumph:Kpe,rage:Wpe,pout:Zpe,angry:Ype,cursing_face:Qpe,smiling_imp:Jpe,imp:Xpe,skull:ege,skull_and_crossbones:tge,hankey:nge,poop:sge,shit:oge,clown_face:rge,japanese_ogre:ige,japanese_goblin:age,ghost:lge,alien:cge,space_invader:uge,robot:dge,smiley_cat:hge,smile_cat:fge,joy_cat:pge,heart_eyes_cat:gge,smirk_cat:mge,kissing_cat:_ge,scream_cat:bge,crying_cat_face:yge,pouting_cat:vge,see_no_evil:wge,hear_no_evil:xge,speak_no_evil:kge,kiss:Ege,love_letter:Cge,cupid:Age,gift_heart:Sge,sparkling_heart:Tge,heartpulse:Mge,heartbeat:Oge,revolving_hearts:Rge,two_hearts:Nge,heart_decoration:Dge,heavy_heart_exclamation:Lge,broken_heart:Ige,heart:Pge,orange_heart:Fge,yellow_heart:Bge,green_heart:$ge,blue_heart:jge,purple_heart:zge,brown_heart:Uge,black_heart:qge,white_heart:Hge,anger:Vge,boom:Gge,collision:Kge,dizzy:Wge,sweat_drops:Zge,dash:Yge,hole:Qge,bomb:Jge,speech_balloon:Xge,eye_speech_bubble:eme,left_speech_bubble:tme,right_anger_bubble:nme,thought_balloon:sme,zzz:ome,wave:rme,raised_back_of_hand:ime,raised_hand_with_fingers_splayed:ame,hand:lme,raised_hand:cme,vulcan_salute:ume,ok_hand:dme,pinched_fingers:hme,pinching_hand:fme,v:pme,crossed_fingers:gme,love_you_gesture:mme,metal:_me,call_me_hand:bme,point_left:yme,point_right:vme,point_up_2:wme,middle_finger:xme,fu:kme,point_down:Eme,point_up:Cme,"+1":"👍",thumbsup:Ame,"-1":"👎",thumbsdown:Sme,fist_raised:Tme,fist:Mme,fist_oncoming:Ome,facepunch:Rme,punch:Nme,fist_left:Dme,fist_right:Lme,clap:Ime,raised_hands:Pme,open_hands:Fme,palms_up_together:Bme,handshake:$me,pray:jme,writing_hand:zme,nail_care:Ume,selfie:qme,muscle:Hme,mechanical_arm:Vme,mechanical_leg:Gme,leg:Kme,foot:Wme,ear:Zme,ear_with_hearing_aid:Yme,nose:Qme,brain:Jme,anatomical_heart:Xme,lungs:e_e,tooth:t_e,bone:n_e,eyes:s_e,eye:o_e,tongue:r_e,lips:i_e,baby:a_e,child:l_e,boy:c_e,girl:u_e,adult:d_e,blond_haired_person:h_e,man:f_e,bearded_person:p_e,red_haired_man:g_e,curly_haired_man:m_e,white_haired_man:__e,bald_man:b_e,woman:y_e,red_haired_woman:v_e,person_red_hair:w_e,curly_haired_woman:x_e,person_curly_hair:k_e,white_haired_woman:E_e,person_white_hair:C_e,bald_woman:A_e,person_bald:S_e,blond_haired_woman:T_e,blonde_woman:M_e,blond_haired_man:O_e,older_adult:R_e,older_man:N_e,older_woman:D_e,frowning_person:L_e,frowning_man:I_e,frowning_woman:P_e,pouting_face:F_e,pouting_man:B_e,pouting_woman:$_e,no_good:j_e,no_good_man:z_e,ng_man:U_e,no_good_woman:q_e,ng_woman:H_e,ok_person:V_e,ok_man:G_e,ok_woman:K_e,tipping_hand_person:W_e,information_desk_person:Z_e,tipping_hand_man:Y_e,sassy_man:Q_e,tipping_hand_woman:J_e,sassy_woman:X_e,raising_hand:e1e,raising_hand_man:t1e,raising_hand_woman:n1e,deaf_person:s1e,deaf_man:o1e,deaf_woman:r1e,bow:i1e,bowing_man:a1e,bowing_woman:l1e,facepalm:c1e,man_facepalming:u1e,woman_facepalming:d1e,shrug:h1e,man_shrugging:f1e,woman_shrugging:p1e,health_worker:g1e,man_health_worker:m1e,woman_health_worker:_1e,student:b1e,man_student:y1e,woman_student:v1e,teacher:w1e,man_teacher:x1e,woman_teacher:k1e,judge:E1e,man_judge:C1e,woman_judge:A1e,farmer:S1e,man_farmer:T1e,woman_farmer:M1e,cook:O1e,man_cook:R1e,woman_cook:N1e,mechanic:D1e,man_mechanic:L1e,woman_mechanic:I1e,factory_worker:P1e,man_factory_worker:F1e,woman_factory_worker:B1e,office_worker:$1e,man_office_worker:j1e,woman_office_worker:z1e,scientist:U1e,man_scientist:q1e,woman_scientist:H1e,technologist:V1e,man_technologist:G1e,woman_technologist:K1e,singer:W1e,man_singer:Z1e,woman_singer:Y1e,artist:Q1e,man_artist:J1e,woman_artist:X1e,pilot:e0e,man_pilot:t0e,woman_pilot:n0e,astronaut:s0e,man_astronaut:o0e,woman_astronaut:r0e,firefighter:i0e,man_firefighter:a0e,woman_firefighter:l0e,police_officer:c0e,cop:u0e,policeman:d0e,policewoman:h0e,detective:f0e,male_detective:p0e,female_detective:g0e,guard:m0e,guardsman:_0e,guardswoman:b0e,ninja:y0e,construction_worker:v0e,construction_worker_man:w0e,construction_worker_woman:x0e,prince:k0e,princess:E0e,person_with_turban:C0e,man_with_turban:A0e,woman_with_turban:S0e,man_with_gua_pi_mao:T0e,woman_with_headscarf:M0e,person_in_tuxedo:O0e,man_in_tuxedo:R0e,woman_in_tuxedo:N0e,person_with_veil:D0e,man_with_veil:L0e,woman_with_veil:I0e,bride_with_veil:P0e,pregnant_woman:F0e,breast_feeding:B0e,woman_feeding_baby:$0e,man_feeding_baby:j0e,person_feeding_baby:z0e,angel:U0e,santa:q0e,mrs_claus:H0e,mx_claus:V0e,superhero:G0e,superhero_man:K0e,superhero_woman:W0e,supervillain:Z0e,supervillain_man:Y0e,supervillain_woman:Q0e,mage:J0e,mage_man:X0e,mage_woman:ebe,fairy:tbe,fairy_man:nbe,fairy_woman:sbe,vampire:obe,vampire_man:rbe,vampire_woman:ibe,merperson:abe,merman:lbe,mermaid:cbe,elf:ube,elf_man:dbe,elf_woman:hbe,genie:fbe,genie_man:pbe,genie_woman:gbe,zombie:mbe,zombie_man:_be,zombie_woman:bbe,massage:ybe,massage_man:vbe,massage_woman:wbe,haircut:xbe,haircut_man:kbe,haircut_woman:Ebe,walking:Cbe,walking_man:Abe,walking_woman:Sbe,standing_person:Tbe,standing_man:Mbe,standing_woman:Obe,kneeling_person:Rbe,kneeling_man:Nbe,kneeling_woman:Dbe,person_with_probing_cane:Lbe,man_with_probing_cane:Ibe,woman_with_probing_cane:Pbe,person_in_motorized_wheelchair:Fbe,man_in_motorized_wheelchair:Bbe,woman_in_motorized_wheelchair:$be,person_in_manual_wheelchair:jbe,man_in_manual_wheelchair:zbe,woman_in_manual_wheelchair:Ube,runner:qbe,running:Hbe,running_man:Vbe,running_woman:Gbe,woman_dancing:Kbe,dancer:Wbe,man_dancing:Zbe,business_suit_levitating:Ybe,dancers:Qbe,dancing_men:Jbe,dancing_women:Xbe,sauna_person:eye,sauna_man:tye,sauna_woman:nye,climbing:sye,climbing_man:oye,climbing_woman:rye,person_fencing:iye,horse_racing:aye,skier:lye,snowboarder:cye,golfing:uye,golfing_man:dye,golfing_woman:hye,surfer:fye,surfing_man:pye,surfing_woman:gye,rowboat:mye,rowing_man:_ye,rowing_woman:bye,swimmer:yye,swimming_man:vye,swimming_woman:wye,bouncing_ball_person:xye,bouncing_ball_man:kye,basketball_man:Eye,bouncing_ball_woman:Cye,basketball_woman:Aye,weight_lifting:Sye,weight_lifting_man:Tye,weight_lifting_woman:Mye,bicyclist:Oye,biking_man:Rye,biking_woman:Nye,mountain_bicyclist:Dye,mountain_biking_man:Lye,mountain_biking_woman:Iye,cartwheeling:Pye,man_cartwheeling:Fye,woman_cartwheeling:Bye,wrestling:$ye,men_wrestling:jye,women_wrestling:zye,water_polo:Uye,man_playing_water_polo:qye,woman_playing_water_polo:Hye,handball_person:Vye,man_playing_handball:Gye,woman_playing_handball:Kye,juggling_person:Wye,man_juggling:Zye,woman_juggling:Yye,lotus_position:Qye,lotus_position_man:Jye,lotus_position_woman:Xye,bath:e2e,sleeping_bed:t2e,people_holding_hands:n2e,two_women_holding_hands:s2e,couple:o2e,two_men_holding_hands:r2e,couplekiss:i2e,couplekiss_man_woman:a2e,couplekiss_man_man:l2e,couplekiss_woman_woman:c2e,couple_with_heart:u2e,couple_with_heart_woman_man:d2e,couple_with_heart_man_man:h2e,couple_with_heart_woman_woman:f2e,family:p2e,family_man_woman_boy:g2e,family_man_woman_girl:m2e,family_man_woman_girl_boy:_2e,family_man_woman_boy_boy:b2e,family_man_woman_girl_girl:y2e,family_man_man_boy:v2e,family_man_man_girl:w2e,family_man_man_girl_boy:x2e,family_man_man_boy_boy:k2e,family_man_man_girl_girl:E2e,family_woman_woman_boy:C2e,family_woman_woman_girl:A2e,family_woman_woman_girl_boy:S2e,family_woman_woman_boy_boy:T2e,family_woman_woman_girl_girl:M2e,family_man_boy:O2e,family_man_boy_boy:R2e,family_man_girl:N2e,family_man_girl_boy:D2e,family_man_girl_girl:L2e,family_woman_boy:I2e,family_woman_boy_boy:P2e,family_woman_girl:F2e,family_woman_girl_boy:B2e,family_woman_girl_girl:$2e,speaking_head:j2e,bust_in_silhouette:z2e,busts_in_silhouette:U2e,people_hugging:q2e,footprints:H2e,monkey_face:V2e,monkey:G2e,gorilla:K2e,orangutan:W2e,dog:Z2e,dog2:Y2e,guide_dog:Q2e,service_dog:J2e,poodle:X2e,wolf:eve,fox_face:tve,raccoon:nve,cat:sve,cat2:ove,black_cat:rve,lion:ive,tiger:ave,tiger2:lve,leopard:cve,horse:uve,racehorse:dve,unicorn:hve,zebra:fve,deer:pve,bison:gve,cow:mve,ox:_ve,water_buffalo:bve,cow2:yve,pig:vve,pig2:wve,boar:xve,pig_nose:kve,ram:Eve,sheep:Cve,goat:Ave,dromedary_camel:Sve,camel:Tve,llama:Mve,giraffe:Ove,elephant:Rve,mammoth:Nve,rhinoceros:Dve,hippopotamus:Lve,mouse:Ive,mouse2:Pve,rat:Fve,hamster:Bve,rabbit:$ve,rabbit2:jve,chipmunk:zve,beaver:Uve,hedgehog:qve,bat:Hve,bear:Vve,polar_bear:Gve,koala:Kve,panda_face:Wve,sloth:Zve,otter:Yve,skunk:Qve,kangaroo:Jve,badger:Xve,feet:ewe,paw_prints:twe,turkey:nwe,chicken:swe,rooster:owe,hatching_chick:rwe,baby_chick:iwe,hatched_chick:awe,bird:lwe,penguin:cwe,dove:uwe,eagle:dwe,duck:hwe,swan:fwe,owl:pwe,dodo:gwe,feather:mwe,flamingo:_we,peacock:bwe,parrot:ywe,frog:vwe,crocodile:wwe,turtle:xwe,lizard:kwe,snake:Ewe,dragon_face:Cwe,dragon:Awe,sauropod:Swe,"t-rex":"🦖",whale:Twe,whale2:Mwe,dolphin:Owe,flipper:Rwe,seal:Nwe,fish:Dwe,tropical_fish:Lwe,blowfish:Iwe,shark:Pwe,octopus:Fwe,shell:Bwe,snail:$we,butterfly:jwe,bug:zwe,ant:Uwe,bee:qwe,honeybee:Hwe,beetle:Vwe,lady_beetle:Gwe,cricket:Kwe,cockroach:Wwe,spider:Zwe,spider_web:Ywe,scorpion:Qwe,mosquito:Jwe,fly:Xwe,worm:exe,microbe:txe,bouquet:nxe,cherry_blossom:sxe,white_flower:oxe,rosette:rxe,rose:ixe,wilted_flower:axe,hibiscus:lxe,sunflower:cxe,blossom:uxe,tulip:dxe,seedling:hxe,potted_plant:fxe,evergreen_tree:pxe,deciduous_tree:gxe,palm_tree:mxe,cactus:_xe,ear_of_rice:bxe,herb:yxe,shamrock:vxe,four_leaf_clover:wxe,maple_leaf:xxe,fallen_leaf:kxe,leaves:Exe,grapes:Cxe,melon:Axe,watermelon:Sxe,tangerine:Txe,orange:Mxe,mandarin:Oxe,lemon:Rxe,banana:Nxe,pineapple:Dxe,mango:Lxe,apple:Ixe,green_apple:Pxe,pear:Fxe,peach:Bxe,cherries:$xe,strawberry:jxe,blueberries:zxe,kiwi_fruit:Uxe,tomato:qxe,olive:Hxe,coconut:Vxe,avocado:Gxe,eggplant:Kxe,potato:Wxe,carrot:Zxe,corn:Yxe,hot_pepper:Qxe,bell_pepper:Jxe,cucumber:Xxe,leafy_green:eke,broccoli:tke,garlic:nke,onion:ske,mushroom:oke,peanuts:rke,chestnut:ike,bread:ake,croissant:lke,baguette_bread:cke,flatbread:uke,pretzel:dke,bagel:hke,pancakes:fke,waffle:pke,cheese:gke,meat_on_bone:mke,poultry_leg:_ke,cut_of_meat:bke,bacon:yke,hamburger:vke,fries:wke,pizza:xke,hotdog:kke,sandwich:Eke,taco:Cke,burrito:Ake,tamale:Ske,stuffed_flatbread:Tke,falafel:Mke,egg:Oke,fried_egg:Rke,shallow_pan_of_food:Nke,stew:Dke,fondue:Lke,bowl_with_spoon:Ike,green_salad:Pke,popcorn:Fke,butter:Bke,salt:$ke,canned_food:jke,bento:zke,rice_cracker:Uke,rice_ball:qke,rice:Hke,curry:Vke,ramen:Gke,spaghetti:Kke,sweet_potato:Wke,oden:Zke,sushi:Yke,fried_shrimp:Qke,fish_cake:Jke,moon_cake:Xke,dango:eEe,dumpling:tEe,fortune_cookie:nEe,takeout_box:sEe,crab:oEe,lobster:rEe,shrimp:iEe,squid:aEe,oyster:lEe,icecream:cEe,shaved_ice:uEe,ice_cream:dEe,doughnut:hEe,cookie:fEe,birthday:pEe,cake:gEe,cupcake:mEe,pie:_Ee,chocolate_bar:bEe,candy:yEe,lollipop:vEe,custard:wEe,honey_pot:xEe,baby_bottle:kEe,milk_glass:EEe,coffee:CEe,teapot:AEe,tea:SEe,sake:TEe,champagne:MEe,wine_glass:OEe,cocktail:REe,tropical_drink:NEe,beer:DEe,beers:LEe,clinking_glasses:IEe,tumbler_glass:PEe,cup_with_straw:FEe,bubble_tea:BEe,beverage_box:$Ee,mate:jEe,ice_cube:zEe,chopsticks:UEe,plate_with_cutlery:qEe,fork_and_knife:HEe,spoon:VEe,hocho:GEe,knife:KEe,amphora:WEe,earth_africa:ZEe,earth_americas:YEe,earth_asia:QEe,globe_with_meridians:JEe,world_map:XEe,japan:e5e,compass:t5e,mountain_snow:n5e,mountain:s5e,volcano:o5e,mount_fuji:r5e,camping:i5e,beach_umbrella:a5e,desert:l5e,desert_island:c5e,national_park:u5e,stadium:d5e,classical_building:h5e,building_construction:f5e,bricks:p5e,rock:g5e,wood:m5e,hut:_5e,houses:b5e,derelict_house:y5e,house:v5e,house_with_garden:w5e,office:x5e,post_office:k5e,european_post_office:E5e,hospital:C5e,bank:A5e,hotel:S5e,love_hotel:T5e,convenience_store:M5e,school:O5e,department_store:R5e,factory:N5e,japanese_castle:D5e,european_castle:L5e,wedding:I5e,tokyo_tower:P5e,statue_of_liberty:F5e,church:B5e,mosque:$5e,hindu_temple:j5e,synagogue:z5e,shinto_shrine:U5e,kaaba:q5e,fountain:H5e,tent:V5e,foggy:G5e,night_with_stars:K5e,cityscape:W5e,sunrise_over_mountains:Z5e,sunrise:Y5e,city_sunset:Q5e,city_sunrise:J5e,bridge_at_night:X5e,hotsprings:e4e,carousel_horse:t4e,ferris_wheel:n4e,roller_coaster:s4e,barber:o4e,circus_tent:r4e,steam_locomotive:i4e,railway_car:a4e,bullettrain_side:l4e,bullettrain_front:c4e,train2:u4e,metro:d4e,light_rail:h4e,station:f4e,tram:p4e,monorail:g4e,mountain_railway:m4e,train:_4e,bus:b4e,oncoming_bus:y4e,trolleybus:v4e,minibus:w4e,ambulance:x4e,fire_engine:k4e,police_car:E4e,oncoming_police_car:C4e,taxi:A4e,oncoming_taxi:S4e,car:T4e,red_car:M4e,oncoming_automobile:O4e,blue_car:R4e,pickup_truck:N4e,truck:D4e,articulated_lorry:L4e,tractor:I4e,racing_car:P4e,motorcycle:F4e,motor_scooter:B4e,manual_wheelchair:$4e,motorized_wheelchair:j4e,auto_rickshaw:z4e,bike:U4e,kick_scooter:q4e,skateboard:H4e,roller_skate:V4e,busstop:G4e,motorway:K4e,railway_track:W4e,oil_drum:Z4e,fuelpump:Y4e,rotating_light:Q4e,traffic_light:J4e,vertical_traffic_light:X4e,stop_sign:eCe,construction:tCe,anchor:nCe,boat:sCe,sailboat:oCe,canoe:rCe,speedboat:iCe,passenger_ship:aCe,ferry:lCe,motor_boat:cCe,ship:uCe,airplane:dCe,small_airplane:hCe,flight_departure:fCe,flight_arrival:pCe,parachute:gCe,seat:mCe,helicopter:_Ce,suspension_railway:bCe,mountain_cableway:yCe,aerial_tramway:vCe,artificial_satellite:wCe,rocket:xCe,flying_saucer:kCe,bellhop_bell:ECe,luggage:CCe,hourglass:ACe,hourglass_flowing_sand:SCe,watch:TCe,alarm_clock:MCe,stopwatch:OCe,timer_clock:RCe,mantelpiece_clock:NCe,clock12:DCe,clock1230:LCe,clock1:ICe,clock130:PCe,clock2:FCe,clock230:BCe,clock3:$Ce,clock330:jCe,clock4:zCe,clock430:UCe,clock5:qCe,clock530:HCe,clock6:VCe,clock630:GCe,clock7:KCe,clock730:WCe,clock8:ZCe,clock830:YCe,clock9:QCe,clock930:JCe,clock10:XCe,clock1030:e3e,clock11:t3e,clock1130:n3e,new_moon:s3e,waxing_crescent_moon:o3e,first_quarter_moon:r3e,moon:i3e,waxing_gibbous_moon:a3e,full_moon:l3e,waning_gibbous_moon:c3e,last_quarter_moon:u3e,waning_crescent_moon:d3e,crescent_moon:h3e,new_moon_with_face:f3e,first_quarter_moon_with_face:p3e,last_quarter_moon_with_face:g3e,thermometer:m3e,sunny:_3e,full_moon_with_face:b3e,sun_with_face:y3e,ringed_planet:v3e,star:w3e,star2:x3e,stars:k3e,milky_way:E3e,cloud:C3e,partly_sunny:A3e,cloud_with_lightning_and_rain:S3e,sun_behind_small_cloud:T3e,sun_behind_large_cloud:M3e,sun_behind_rain_cloud:O3e,cloud_with_rain:R3e,cloud_with_snow:N3e,cloud_with_lightning:D3e,tornado:L3e,fog:I3e,wind_face:P3e,cyclone:F3e,rainbow:B3e,closed_umbrella:$3e,open_umbrella:j3e,umbrella:z3e,parasol_on_ground:U3e,zap:q3e,snowflake:H3e,snowman_with_snow:V3e,snowman:G3e,comet:K3e,fire:W3e,droplet:Z3e,ocean:Y3e,jack_o_lantern:Q3e,christmas_tree:J3e,fireworks:X3e,sparkler:e8e,firecracker:t8e,sparkles:n8e,balloon:s8e,tada:o8e,confetti_ball:r8e,tanabata_tree:i8e,bamboo:a8e,dolls:l8e,flags:c8e,wind_chime:u8e,rice_scene:d8e,red_envelope:h8e,ribbon:f8e,gift:p8e,reminder_ribbon:g8e,tickets:m8e,ticket:_8e,medal_military:b8e,trophy:y8e,medal_sports:v8e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:w8e,baseball:x8e,softball:k8e,basketball:E8e,volleyball:C8e,football:A8e,rugby_football:S8e,tennis:T8e,flying_disc:M8e,bowling:O8e,cricket_game:R8e,field_hockey:N8e,ice_hockey:D8e,lacrosse:L8e,ping_pong:I8e,badminton:P8e,boxing_glove:F8e,martial_arts_uniform:B8e,goal_net:$8e,golf:j8e,ice_skate:z8e,fishing_pole_and_fish:U8e,diving_mask:q8e,running_shirt_with_sash:H8e,ski:V8e,sled:G8e,curling_stone:K8e,dart:W8e,yo_yo:Z8e,kite:Y8e,"8ball":"🎱",crystal_ball:Q8e,magic_wand:J8e,nazar_amulet:X8e,video_game:e9e,joystick:t9e,slot_machine:n9e,game_die:s9e,jigsaw:o9e,teddy_bear:r9e,pinata:i9e,nesting_dolls:a9e,spades:l9e,hearts:c9e,diamonds:u9e,clubs:d9e,chess_pawn:h9e,black_joker:f9e,mahjong:p9e,flower_playing_cards:g9e,performing_arts:m9e,framed_picture:_9e,art:b9e,thread:y9e,sewing_needle:v9e,yarn:w9e,knot:x9e,eyeglasses:k9e,dark_sunglasses:E9e,goggles:C9e,lab_coat:A9e,safety_vest:S9e,necktie:T9e,shirt:M9e,tshirt:O9e,jeans:R9e,scarf:N9e,gloves:D9e,coat:L9e,socks:I9e,dress:P9e,kimono:F9e,sari:B9e,one_piece_swimsuit:$9e,swim_brief:j9e,shorts:z9e,bikini:U9e,womans_clothes:q9e,purse:H9e,handbag:V9e,pouch:G9e,shopping:K9e,school_satchel:W9e,thong_sandal:Z9e,mans_shoe:Y9e,shoe:Q9e,athletic_shoe:J9e,hiking_boot:X9e,flat_shoe:e6e,high_heel:t6e,sandal:n6e,ballet_shoes:s6e,boot:o6e,crown:r6e,womans_hat:i6e,tophat:a6e,mortar_board:l6e,billed_cap:c6e,military_helmet:u6e,rescue_worker_helmet:d6e,prayer_beads:h6e,lipstick:f6e,ring:p6e,gem:g6e,mute:m6e,speaker:_6e,sound:b6e,loud_sound:y6e,loudspeaker:v6e,mega:w6e,postal_horn:x6e,bell:k6e,no_bell:E6e,musical_score:C6e,musical_note:A6e,notes:S6e,studio_microphone:T6e,level_slider:M6e,control_knobs:O6e,microphone:R6e,headphones:N6e,radio:D6e,saxophone:L6e,accordion:I6e,guitar:P6e,musical_keyboard:F6e,trumpet:B6e,violin:$6e,banjo:j6e,drum:z6e,long_drum:U6e,iphone:q6e,calling:H6e,phone:V6e,telephone:G6e,telephone_receiver:K6e,pager:W6e,fax:Z6e,battery:Y6e,electric_plug:Q6e,computer:J6e,desktop_computer:X6e,printer:eAe,keyboard:tAe,computer_mouse:nAe,trackball:sAe,minidisc:oAe,floppy_disk:rAe,cd:iAe,dvd:aAe,abacus:lAe,movie_camera:cAe,film_strip:uAe,film_projector:dAe,clapper:hAe,tv:fAe,camera:pAe,camera_flash:gAe,video_camera:mAe,vhs:_Ae,mag:bAe,mag_right:yAe,candle:vAe,bulb:wAe,flashlight:xAe,izakaya_lantern:kAe,lantern:EAe,diya_lamp:CAe,notebook_with_decorative_cover:AAe,closed_book:SAe,book:TAe,open_book:MAe,green_book:OAe,blue_book:RAe,orange_book:NAe,books:DAe,notebook:LAe,ledger:IAe,page_with_curl:PAe,scroll:FAe,page_facing_up:BAe,newspaper:$Ae,newspaper_roll:jAe,bookmark_tabs:zAe,bookmark:UAe,label:qAe,moneybag:HAe,coin:VAe,yen:GAe,dollar:KAe,euro:WAe,pound:ZAe,money_with_wings:YAe,credit_card:QAe,receipt:JAe,chart:XAe,envelope:eSe,email:tSe,"e-mail":"📧",incoming_envelope:nSe,envelope_with_arrow:sSe,outbox_tray:oSe,inbox_tray:rSe,package:"📦",mailbox:iSe,mailbox_closed:aSe,mailbox_with_mail:lSe,mailbox_with_no_mail:cSe,postbox:uSe,ballot_box:dSe,pencil2:hSe,black_nib:fSe,fountain_pen:pSe,pen:gSe,paintbrush:mSe,crayon:_Se,memo:bSe,pencil:ySe,briefcase:vSe,file_folder:wSe,open_file_folder:xSe,card_index_dividers:kSe,date:ESe,calendar:CSe,spiral_notepad:ASe,spiral_calendar:SSe,card_index:TSe,chart_with_upwards_trend:MSe,chart_with_downwards_trend:OSe,bar_chart:RSe,clipboard:NSe,pushpin:DSe,round_pushpin:LSe,paperclip:ISe,paperclips:PSe,straight_ruler:FSe,triangular_ruler:BSe,scissors:$Se,card_file_box:jSe,file_cabinet:zSe,wastebasket:USe,lock:qSe,unlock:HSe,lock_with_ink_pen:VSe,closed_lock_with_key:GSe,key:KSe,old_key:WSe,hammer:ZSe,axe:YSe,pick:QSe,hammer_and_pick:JSe,hammer_and_wrench:XSe,dagger:eTe,crossed_swords:tTe,gun:nTe,boomerang:sTe,bow_and_arrow:oTe,shield:rTe,carpentry_saw:iTe,wrench:aTe,screwdriver:lTe,nut_and_bolt:cTe,gear:uTe,clamp:dTe,balance_scale:hTe,probing_cane:fTe,link:pTe,chains:gTe,hook:mTe,toolbox:_Te,magnet:bTe,ladder:yTe,alembic:vTe,test_tube:wTe,petri_dish:xTe,dna:kTe,microscope:ETe,telescope:CTe,satellite:ATe,syringe:STe,drop_of_blood:TTe,pill:MTe,adhesive_bandage:OTe,stethoscope:RTe,door:NTe,elevator:DTe,mirror:LTe,window:ITe,bed:PTe,couch_and_lamp:FTe,chair:BTe,toilet:$Te,plunger:jTe,shower:zTe,bathtub:UTe,mouse_trap:qTe,razor:HTe,lotion_bottle:VTe,safety_pin:GTe,broom:KTe,basket:WTe,roll_of_paper:ZTe,bucket:YTe,soap:QTe,toothbrush:JTe,sponge:XTe,fire_extinguisher:e7e,shopping_cart:t7e,smoking:n7e,coffin:s7e,headstone:o7e,funeral_urn:r7e,moyai:i7e,placard:a7e,atm:l7e,put_litter_in_its_place:c7e,potable_water:u7e,wheelchair:d7e,mens:h7e,womens:f7e,restroom:p7e,baby_symbol:g7e,wc:m7e,passport_control:_7e,customs:b7e,baggage_claim:y7e,left_luggage:v7e,warning:w7e,children_crossing:x7e,no_entry:k7e,no_entry_sign:E7e,no_bicycles:C7e,no_smoking:A7e,do_not_litter:S7e,"non-potable_water":"🚱",no_pedestrians:T7e,no_mobile_phones:M7e,underage:O7e,radioactive:R7e,biohazard:N7e,arrow_up:D7e,arrow_upper_right:L7e,arrow_right:I7e,arrow_lower_right:P7e,arrow_down:F7e,arrow_lower_left:B7e,arrow_left:$7e,arrow_upper_left:j7e,arrow_up_down:z7e,left_right_arrow:U7e,leftwards_arrow_with_hook:q7e,arrow_right_hook:H7e,arrow_heading_up:V7e,arrow_heading_down:G7e,arrows_clockwise:K7e,arrows_counterclockwise:W7e,back:Z7e,end:Y7e,on:Q7e,soon:J7e,top:X7e,place_of_worship:eMe,atom_symbol:tMe,om:nMe,star_of_david:sMe,wheel_of_dharma:oMe,yin_yang:rMe,latin_cross:iMe,orthodox_cross:aMe,star_and_crescent:lMe,peace_symbol:cMe,menorah:uMe,six_pointed_star:dMe,aries:hMe,taurus:fMe,gemini:pMe,cancer:gMe,leo:mMe,virgo:_Me,libra:bMe,scorpius:yMe,sagittarius:vMe,capricorn:wMe,aquarius:xMe,pisces:kMe,ophiuchus:EMe,twisted_rightwards_arrows:CMe,repeat:AMe,repeat_one:SMe,arrow_forward:TMe,fast_forward:MMe,next_track_button:OMe,play_or_pause_button:RMe,arrow_backward:NMe,rewind:DMe,previous_track_button:LMe,arrow_up_small:IMe,arrow_double_up:PMe,arrow_down_small:FMe,arrow_double_down:BMe,pause_button:$Me,stop_button:jMe,record_button:zMe,eject_button:UMe,cinema:qMe,low_brightness:HMe,high_brightness:VMe,signal_strength:GMe,vibration_mode:KMe,mobile_phone_off:WMe,female_sign:ZMe,male_sign:YMe,transgender_symbol:QMe,heavy_multiplication_x:JMe,heavy_plus_sign:XMe,heavy_minus_sign:eOe,heavy_division_sign:tOe,infinity:nOe,bangbang:sOe,interrobang:oOe,question:rOe,grey_question:iOe,grey_exclamation:aOe,exclamation:lOe,heavy_exclamation_mark:cOe,wavy_dash:uOe,currency_exchange:dOe,heavy_dollar_sign:hOe,medical_symbol:fOe,recycle:pOe,fleur_de_lis:gOe,trident:mOe,name_badge:_Oe,beginner:bOe,o:yOe,white_check_mark:vOe,ballot_box_with_check:wOe,heavy_check_mark:xOe,x:kOe,negative_squared_cross_mark:EOe,curly_loop:COe,loop:AOe,part_alternation_mark:SOe,eight_spoked_asterisk:TOe,eight_pointed_black_star:MOe,sparkle:OOe,copyright:ROe,registered:NOe,tm:DOe,hash:LOe,asterisk:IOe,zero:POe,one:FOe,two:BOe,three:$Oe,four:jOe,five:zOe,six:UOe,seven:qOe,eight:HOe,nine:VOe,keycap_ten:GOe,capital_abcd:KOe,abcd:WOe,symbols:ZOe,abc:YOe,a:QOe,ab:JOe,b:XOe,cl:eRe,cool:tRe,free:nRe,information_source:sRe,id:oRe,m:rRe,new:"🆕",ng:iRe,o2:aRe,ok:lRe,parking:cRe,sos:uRe,up:dRe,vs:hRe,koko:fRe,sa:pRe,ideograph_advantage:gRe,accept:mRe,congratulations:_Re,secret:bRe,u6e80:yRe,red_circle:vRe,orange_circle:wRe,yellow_circle:xRe,green_circle:kRe,large_blue_circle:ERe,purple_circle:CRe,brown_circle:ARe,black_circle:SRe,white_circle:TRe,red_square:MRe,orange_square:ORe,yellow_square:RRe,green_square:NRe,blue_square:DRe,purple_square:LRe,brown_square:IRe,black_large_square:PRe,white_large_square:FRe,black_medium_square:BRe,white_medium_square:$Re,black_medium_small_square:jRe,white_medium_small_square:zRe,black_small_square:URe,white_small_square:qRe,large_orange_diamond:HRe,large_blue_diamond:VRe,small_orange_diamond:GRe,small_blue_diamond:KRe,small_red_triangle:WRe,small_red_triangle_down:ZRe,diamond_shape_with_a_dot_inside:YRe,radio_button:QRe,white_square_button:JRe,black_square_button:XRe,checkered_flag:eNe,triangular_flag_on_post:tNe,crossed_flags:nNe,black_flag:sNe,white_flag:oNe,rainbow_flag:rNe,transgender_flag:iNe,pirate_flag:aNe,ascension_island:lNe,andorra:cNe,united_arab_emirates:uNe,afghanistan:dNe,antigua_barbuda:hNe,anguilla:fNe,albania:pNe,armenia:gNe,angola:mNe,antarctica:_Ne,argentina:bNe,american_samoa:yNe,austria:vNe,australia:wNe,aruba:xNe,aland_islands:kNe,azerbaijan:ENe,bosnia_herzegovina:CNe,barbados:ANe,bangladesh:SNe,belgium:TNe,burkina_faso:MNe,bulgaria:ONe,bahrain:RNe,burundi:NNe,benin:DNe,st_barthelemy:LNe,bermuda:INe,brunei:PNe,bolivia:FNe,caribbean_netherlands:BNe,brazil:$Ne,bahamas:jNe,bhutan:zNe,bouvet_island:UNe,botswana:qNe,belarus:HNe,belize:VNe,canada:GNe,cocos_islands:KNe,congo_kinshasa:WNe,central_african_republic:ZNe,congo_brazzaville:YNe,switzerland:QNe,cote_divoire:JNe,cook_islands:XNe,chile:eDe,cameroon:tDe,cn:nDe,colombia:sDe,clipperton_island:oDe,costa_rica:rDe,cuba:iDe,cape_verde:aDe,curacao:lDe,christmas_island:cDe,cyprus:uDe,czech_republic:dDe,de:hDe,diego_garcia:fDe,djibouti:pDe,denmark:gDe,dominica:mDe,dominican_republic:_De,algeria:bDe,ceuta_melilla:yDe,ecuador:vDe,estonia:wDe,egypt:xDe,western_sahara:kDe,eritrea:EDe,es:CDe,ethiopia:ADe,eu:SDe,european_union:TDe,finland:MDe,fiji:ODe,falkland_islands:RDe,micronesia:NDe,faroe_islands:DDe,fr:LDe,gabon:IDe,gb:PDe,uk:FDe,grenada:BDe,georgia:$De,french_guiana:jDe,guernsey:zDe,ghana:UDe,gibraltar:qDe,greenland:HDe,gambia:VDe,guinea:GDe,guadeloupe:KDe,equatorial_guinea:WDe,greece:ZDe,south_georgia_south_sandwich_islands:YDe,guatemala:QDe,guam:JDe,guinea_bissau:XDe,guyana:eLe,hong_kong:tLe,heard_mcdonald_islands:nLe,honduras:sLe,croatia:oLe,haiti:rLe,hungary:iLe,canary_islands:aLe,indonesia:lLe,ireland:cLe,israel:uLe,isle_of_man:dLe,india:hLe,british_indian_ocean_territory:fLe,iraq:pLe,iran:gLe,iceland:mLe,it:_Le,jersey:bLe,jamaica:yLe,jordan:vLe,jp:wLe,kenya:xLe,kyrgyzstan:kLe,cambodia:ELe,kiribati:CLe,comoros:ALe,st_kitts_nevis:SLe,north_korea:TLe,kr:MLe,kuwait:OLe,cayman_islands:RLe,kazakhstan:NLe,laos:DLe,lebanon:LLe,st_lucia:ILe,liechtenstein:PLe,sri_lanka:FLe,liberia:BLe,lesotho:$Le,lithuania:jLe,luxembourg:zLe,latvia:ULe,libya:qLe,morocco:HLe,monaco:VLe,moldova:GLe,montenegro:KLe,st_martin:WLe,madagascar:ZLe,marshall_islands:YLe,macedonia:QLe,mali:JLe,myanmar:XLe,mongolia:eIe,macau:tIe,northern_mariana_islands:nIe,martinique:sIe,mauritania:oIe,montserrat:rIe,malta:iIe,mauritius:aIe,maldives:lIe,malawi:cIe,mexico:uIe,malaysia:dIe,mozambique:hIe,namibia:fIe,new_caledonia:pIe,niger:gIe,norfolk_island:mIe,nigeria:_Ie,nicaragua:bIe,netherlands:yIe,norway:vIe,nepal:wIe,nauru:xIe,niue:kIe,new_zealand:EIe,oman:CIe,panama:AIe,peru:SIe,french_polynesia:TIe,papua_new_guinea:MIe,philippines:OIe,pakistan:RIe,poland:NIe,st_pierre_miquelon:DIe,pitcairn_islands:LIe,puerto_rico:IIe,palestinian_territories:PIe,portugal:FIe,palau:BIe,paraguay:$Ie,qatar:jIe,reunion:zIe,romania:UIe,serbia:qIe,ru:HIe,rwanda:VIe,saudi_arabia:GIe,solomon_islands:KIe,seychelles:WIe,sudan:ZIe,sweden:YIe,singapore:QIe,st_helena:JIe,slovenia:XIe,svalbard_jan_mayen:ePe,slovakia:tPe,sierra_leone:nPe,san_marino:sPe,senegal:oPe,somalia:rPe,suriname:iPe,south_sudan:aPe,sao_tome_principe:lPe,el_salvador:cPe,sint_maarten:uPe,syria:dPe,swaziland:hPe,tristan_da_cunha:fPe,turks_caicos_islands:pPe,chad:gPe,french_southern_territories:mPe,togo:_Pe,thailand:bPe,tajikistan:yPe,tokelau:vPe,timor_leste:wPe,turkmenistan:xPe,tunisia:kPe,tonga:EPe,tr:CPe,trinidad_tobago:APe,tuvalu:SPe,taiwan:TPe,tanzania:MPe,ukraine:OPe,uganda:RPe,us_outlying_islands:NPe,united_nations:DPe,us:LPe,uruguay:IPe,uzbekistan:PPe,vatican_city:FPe,st_vincent_grenadines:BPe,venezuela:$Pe,british_virgin_islands:jPe,us_virgin_islands:zPe,vietnam:UPe,vanuatu:qPe,wallis_futuna:HPe,samoa:VPe,kosovo:GPe,yemen:KPe,mayotte:WPe,south_africa:ZPe,zambia:YPe,zimbabwe:QPe,england:JPe,scotland:XPe,wales:eFe};var nFe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[_-1])||_+b.lengthm&&(g=new f("text","",0),g.content=d.slice(m,_),p.push(g)),g=new f("emoji","",0),g.markup=x,g.content=n[x],p.push(g),m=_+b.length}),m=0;f--)b=p[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&o.test(b.content)&&(_[g].children=p=i(p,f,c(b.content,b.level,h.Token)))}};function rFe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var iFe=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}},aFe=sFe,lFe=oFe,cFe=iFe,uFe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=cFe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=aFe,e.core.ruler.after("linkify","emoji",lFe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},dFe=tFe,hFe=nFe,fFe=uFe,pFe=function(e,n){var s={defs:dFe,shortcuts:hFe,enabled:[]},o=e.utils.assign({},s,n||{});fFe(e,o)};const gFe=rs(pFe);var Od=!1,Os={false:"push",true:"unshift",after:"push",before:"unshift"},Tr={isPermalinkSymbol:!0};function hl(t,e,n,s){var o;if(!Od){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),Od=!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[Os[e.permalinkBefore]](Object.assign(new n.Token("text","",0),{content:" "})),(o=n.tokens[s+1].children)[Os[e.permalinkBefore]].apply(o,i)}function Eg(t){return"#"+t}function Cg(t){return{}}var mFe={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({},mFe),e.renderPermalinkImpl=t,e}var _i=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[Os[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[o+1].children)[Os[e.placement]].apply(r,i)});Object.assign(_i.defaults,{space:!0,placement:"after",ariaHidden:!1});var $n=Fo(_i.renderPermalinkImpl);$n.defaults=Object.assign({},_i.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 Rd=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[Os[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:c}))}a[Os[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 Nd(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 ps(t,e){e=Object.assign({},ps.defaults,e),t.core.ruler.push("anchor",function(n){for(var s,o={},r=n.tokens,i=Array.isArray(e.level)?(s=e.level,function(h){return s.includes(h)}):function(h){return function(f){return f>=h}}(e.level),a=0;af.match(h))}n.tabindex==!0&&(o.tokens[i-1].attrPush(["tabindex",r]),r++),n.lazyLoading==!0&&d.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const bFe=rs(_Fe);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 Dd{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,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Sn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const yFe="",Ld=t=>!!t.scope,vFe=(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 wFe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Tg(e)}openNode(e){if(!Ld(e))return;const n=vFe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Ld(e)&&(this.buffer+=yFe)}value(){return this.buffer}span(e){this.buffer+=``}}const Id=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class fc{constructor(){this.rootNode=Id(),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=Id({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=>{fc._collapse(n)}))}}class xFe extends fc{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 wFe(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 is("(?=",t,")")}function kFe(t){return is("(?:",t,")*")}function EFe(t){return is("(?:",t,")?")}function is(...t){return t.map(n=>So(n)).join("")}function CFe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function pc(...t){return"("+(CFe(t).capture?"":"?:")+t.map(s=>So(s)).join("|")+")"}function Og(t){return new RegExp(t.toString()+"|").exec("").length-1}function AFe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const SFe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function gc(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=SFe.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 TFe=/\b\B/,Rg="[a-zA-Z]\\w*",mc="[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]+)",MFe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",OFe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=is(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},RFe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[To]},NFe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[To]},DFe={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/},bi=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=pc("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:is(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},LFe=bi("//","$"),IFe=bi("/\\*","\\*/"),PFe=bi("#","$"),FFe={scope:"number",begin:Ng,relevance:0},BFe={scope:"number",begin:Dg,relevance:0},$Fe={scope:"number",begin:Lg,relevance:0},jFe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[To,{begin:/\[/,end:/\]/,relevance:0,contains:[To]}]}]},zFe={scope:"title",begin:Rg,relevance:0},UFe={scope:"title",begin:mc,relevance:0},qFe={begin:"\\.\\s*"+mc,relevance:0},HFe=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:TFe,IDENT_RE:Rg,UNDERSCORE_IDENT_RE:mc,NUMBER_RE:Ng,C_NUMBER_RE:Dg,BINARY_NUMBER_RE:Lg,RE_STARTERS_RE:MFe,SHEBANG:OFe,BACKSLASH_ESCAPE:To,APOS_STRING_MODE:RFe,QUOTE_STRING_MODE:NFe,PHRASAL_WORDS_MODE:DFe,COMMENT:bi,C_LINE_COMMENT_MODE:LFe,C_BLOCK_COMMENT_MODE:IFe,HASH_COMMENT_MODE:PFe,NUMBER_MODE:FFe,C_NUMBER_MODE:BFe,BINARY_NUMBER_MODE:$Fe,REGEXP_MODE:jFe,TITLE_MODE:zFe,UNDERSCORE_TITLE_MODE:UFe,METHOD_GUARD:qFe,END_SAME_AS_BEGIN:HFe});function VFe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function GFe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function KFe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=VFe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function WFe(t,e){Array.isArray(t.illegal)&&(t.illegal=pc(...t.illegal))}function ZFe(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 YFe(t,e){t.relevance===void 0&&(t.relevance=1)}const QFe=(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=is(n.beforeMatch,Mg(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},JFe=["of","and","for","in","not","or","if","then","parent","list","value"],XFe="keyword";function Ig(t,e,n=XFe){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,eBe(l[0],l[1])]})}}function eBe(t,e){return e?Number(e):tBe(t)?0:1}function tBe(t){return JFe.includes(t.toLowerCase())}const Pd={},Yn=t=>{console.error(t)},Fd=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ds=(t,e)=>{Pd[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Pd[`${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 nBe(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=gc(t.begin,{joinWith:""})}}function sBe(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=gc(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}),nBe(t),sBe(t)}function iBe(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(gc(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;[GFe,ZFe,rBe,QFe].forEach(d=>d(i,a)),t.compilerExtensions.forEach(d=>d(i,a)),i.__beforeBegin=null,[KFe,WFe,YFe].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 aBe(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 aBe(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 cBe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Xi=Tg,Bd=Sn,$d=Symbol("nomatch"),uBe=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:xFe};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||(Fd(r.replace("{}",G[1])),Fd("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="",me="";typeof q=="object"?(be=T,G=q.ignoreIllegals,me=q.language):(ds("10.7.0","highlight(lang, code, ...args) has been deprecated."),ds("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),me=T,be=q),G===void 0&&(G=!0);const ee={code:be,language:me};le("before:highlight",ee);const ve=ee.result?ee.result:h(ee.language,ee.code,G);return ve.code=ee.code,le("after:highlight",ve),ve}function h(T,q,G,be){const me=Object.create(null);function ee(W,oe){return W.keywords[oe]}function ve(){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 Ce=j.case_insensitive?oe[0].toLowerCase():oe[0],Pe=ee(z,Ce);if(Pe){const[qe,Le]=Pe;if(U.addText(pe),pe="",me[Ce]=(me[Ce]||0)+1,me[Ce]<=uBe&&(ie+=Le),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 Ee(){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?Ee():ve(),Y=""}function J(W,oe){W!==""&&(U.startScope(oe),U.addText(W),U.endScope())}function H(W,oe){let pe=1;const Ce=oe.length-1;for(;pe<=Ce;){if(!W._emit[pe]){pe++;continue}const Pe=j.classNameAliases[W[pe]]||W[pe],qe=oe[pe];Pe?J(qe,Pe):(Y=qe,ve(),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 Ce=AFe(W.endRe,pe);if(Ce){if(W["on:end"]){const Pe=new Dd(W);W["on:end"](oe,Pe),Pe.isMatchIgnored&&(Ce=!1)}if(Ce){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):(xe=!0,0)}function ue(W){const oe=W[0],pe=W.rule,Ce=new Dd(pe),Pe=[pe.__beforeBegin,pe["on:begin"]];for(const qe of Pe)if(qe&&(qe(W,Ce),Ce.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),Ce=X(z,W,pe);if(!Ce)return $d;const Pe=z;z.endScope&&z.endScope._wrap?(N(),J(oe,z.endScope._wrap)):z.endScope&&z.endScope._multi?(N(),H(z.endScope,W)):Pe.skip?Y+=oe:(Pe.returnEnd||Pe.excludeEnd||(Y+=oe),N(),Pe.excludeEnd&&(Y=oe));do z.scope&&U.closeNode(),!z.skip&&!z.subLanguage&&(ie+=z.relevance),z=z.parent;while(z!==Ce.parent);return Ce.starts&&te(Ce.starts,W),Pe.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 Ce=new Error(`0 width match regex (${T})`);throw Ce.languageName=T,Ce.badRule=P.rule,Ce}return 1}if(P=oe,oe.type==="begin")return ue(oe);if(oe.type==="illegal"&&!G){const Ce=new Error('Illegal lexeme "'+pe+'" for mode "'+(z.scope||"")+'"');throw Ce.mode=z,Ce}else if(oe.type==="end"){const Ce=w(oe);if(Ce!==$d)return Ce}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=iBe(j);let re="",z=be||ne;const se={},U=new a.__emitter(a);E();let Y="",ie=0,he=0,de=0,xe=!1;try{if(j.__emitTokens)j.__emitTokens(q,U);else{for(z.matcher.considerAll();;){de++,xe?xe=!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:Xi(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:Xi(q),illegal:!1,relevance:0,errorRaised:W,_emitter:U,_top:z};throw W}}function f(T){const q={value:Xi(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 me=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,ve]=me,Ee=ee;return Ee.secondBest=ve,Ee}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 cBe("One of your code blocks includes unescaped HTML.",T.innerHTML);q=T;const be=q.textContent,me=G?d(be,{language:G,ignoreIllegals:!0}):g(be);T.innerHTML=me.value,m(T,G,me.language),T.result={language:me.language,re:me.relevance,relevance:me.relevance},me.secondBest&&(T.secondBest={language:me.secondBest.language,relevance:me.secondBest.relevance}),le("after:highlightElement",{el:T,result:me,text:be})}function b(T){a=Bd(a,T)}const _=()=>{C(),ds("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){C(),ds("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function C(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(p)}function R(){x&&C()}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 ds("10.7.0","highlightBlock will be removed entirely in v12.0"),ds("10.7.0","Please use highlightElement now."),p(T)}Object.assign(t,{highlight:d,highlightAuto:g,highlightAll:C,highlightElement:p,highlightBlock:Z,configure:b,initHighlighting:_,initHighlightingOnLoad:y,registerLanguage:O,unregisterLanguage:D,listLanguages:v,getLanguage:k,registerAliases:M,autoDetection:L,inherit:Bd,addPlugin:Q,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=lBe,t.regex={concat:is,lookahead:Mg,either:pc,optional:EFe,anyNumberOfTimes:kFe};for(const T in Qo)typeof Qo[T]=="object"&&Sg(Qo[T]);return Object.assign(t,Qo),t},Rs=Bg({});Rs.newInstance=()=>Bg({});var dBe=Rs;Rs.HighlightJS=Rs;Rs.default=Rs;var ea,jd;function hBe(){if(jd)return ea;jd=1;function t(e){const n=e.regex,s=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),o=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(i,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),d={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,a,c,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:d}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return ea=t,ea}var ta,zd;function fBe(){if(zd)return ta;zd=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"],C=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:p,built_in:[..._,...y,"set","shopt",...x,...C]},contains:[f,e.SHEBANG(),g,d,e.HASH_COMMENT_MODE,i,b,a,l,c,s]}}return ta=t,ta}var na,Ud;function pBe(){if(Ud)return na;Ud=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},C={begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:_,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:_,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(g,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,d,h,l,{begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,d,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:_,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:d,keywords:_}}}return na=t,na}var sa,qd;function gBe(){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="(?!struct)("+o+"|"+n.optional(r)+"[a-zA-Z_]\\w*"+n.optional(i)+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+c+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},g={className:"title",begin:n.optional(r)+e.IDENT_RE,relevance:0},m=n.optional(r)+e.IDENT_RE+"\\s*\\(",p=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],_=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],y=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],R={type:b,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:_},O={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},D=[O,f,l,s,e.C_BLOCK_COMMENT_MODE,h,d],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:D.concat([{begin:/\(/,end:/\)/,keywords:R,contains:D.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+a+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:R,relevance:0},{begin:m,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,d,h,l,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,d,h,l]}]},l,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:R,illegal:"",keywords:R,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return sa=t,sa}var oa,Hd;function mBe(){if(Hd)return oa;Hd=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+")*>)?(\\[\\])?",C={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},_,c,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,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]},C]}}return oa=t,oa}var ra,Vd;function _Be(){if(Vd)return ra;Vd=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 ra=i,ra}var ia,Gd;function bBe(){if(Gd)return ia;Gd=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 ia=t,ia}var aa,Kd;function yBe(){if(Kd)return aa;Kd=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 aa=t,aa}var la,Wd;function vBe(){if(Wd)return la;Wd=1;function t(e){const n=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=n.concat(o,/(::\w+)*/),a={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},c={begin:"#<",end:">"},d=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],h={className:"subst",begin:/#\{/,end:/\}/,keywords:a},f={className:"string",contains:[e.BACKSLASH_ESCAPE,h],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,h]})]}]},g="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${g})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},b={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},D=[f,{variants:[{match:[/class\s+/,r,/\s+<\s+/,r]},{match:[/\b(class|module)\s+/,r]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,r],scope:{2:"title.class"},keywords:a},{relevance:0,match:[r,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:o,scope:"title.class"},{match:[/def/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[b]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:s}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,h],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(c,d),relevance:0}].concat(c,d);h.contains=D,b.contains=D;const v="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",M="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",L=[{begin:/^\s*=>/,starts:{end:"$",contains:D}},{className:"meta.prompt",begin:"^("+v+"|"+k+"|"+M+")(?=[ ])",starts:{end:"$",keywords:a,contains:D}}];return d.unshift(c),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(L).concat(d).concat(D)}}return la=t,la}var ca,Zd;function wBe(){if(Zd)return ca;Zd=1;function t(e){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"o(i,a,l-1))}function r(i){const a=i.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",c=l+o("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},p={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[i.BACKSLASH_ESCAPE]},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[b,i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+c+"\\s+)",i.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[p,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,s,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},s,p]}}return ha=r,ha}var fa,Xd;function CBe(){if(Xd)return fa;Xd=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="",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]*",C={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+/},C];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 me(H){return d.concat("(?!",H.join("|"),")")}const ee={match:d.concat(/\b/,me([...r,"super","import"]),f,d.lookahead(/\(/)),className:"title.function",relevance:0},ve={begin:d.concat(/\./,d.lookahead(d.concat(f,/(?![0-9A-Za-z$_(])/))),end:f,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ee={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+/},C,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},ve,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[le]},ee,be,Z,Ee,{match:/\$[(.]/}]}}return fa=l,fa}var pa,eh;function ABe(){if(eh)return pa;eh=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 pa=t,pa}var ga,th;function SBe(){if(th)return ga;th=1;var t="[0-9](_*[0-9])*",e=`\\.(${t})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${t})((${e})|\\.)?|(${e}))[eE][+-]?(${t})[fFdD]?\\b`},{begin:`\\b(${t})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${t})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${t})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function o(r){const i={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},c={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,c]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,d,c]}]};c.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},g={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},m=s,p=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},_=b;return _.variants[1].contains=[b],b.variants[1].contains=[_],{name:"Kotlin",aliases:["kt","kts"],keywords:i,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,p,a,l,f,g,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:i,relevance:5,contains:[{begin:r.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,r.C_LINE_COMMENT_MODE,p],relevance:0},r.C_LINE_COMMENT_MODE,p,f,g,h,r.C_NUMBER_MODE]},p]},{begin:[/class|interface|trait/,/\s+/,r.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},r.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},f,g]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` @@ -120,7 +120,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),me=T,be=q),G===void 0& 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()})}}},u$e={class:"break-all"},d$e=["innerHTML"];function h$e(t,e,n,s,o,r){return A(),S("div",u$e,[u("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,d$e)])}const f$e=Ve(c$e,[["render",h$e]]),p$e={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0}}},g$e={class:"step flex items-center mb-4"},m$e={class:"flex items-center justify-center w-6 h-6 mr-2"},_$e={key:0},b$e=u("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),y$e=[b$e],v$e={key:1},w$e=u("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),x$e=[w$e],k$e={key:0,role:"status"},E$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),C$e=[E$e];function A$e(t,e,n,s,o,r){return A(),S("div",g$e,[u("div",m$e,[n.done?B("",!0):(A(),S("div",_$e,y$e)),n.done?(A(),S("div",v$e,x$e)):B("",!0)]),n.done?B("",!0):(A(),S("div",k$e,C$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 S$e=Ve(p$e,[["render",A$e]]);const T$e="/",M$e={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:f$e,Step:S$e},props:{message:Object,avatar:""},data(){return{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(){const t=this.message.content,e=new SpeechSynthesisUtterance;if(e.text=t,this.voices.length>0){let n=this.voices.filter(s=>s.name===this.$store.state.config.audio_out_voice);console.log(n),e.voice=n[0]}this.isVoiceActive=!0,e.addEventListener("end",()=>{this.isVoiceActive=!1}),this.speechSynthesis.speak(e)},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?T$e+this.avatar:Jn},defaultImg(t){t.target.src=Jn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{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"}}},O$e={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},R$e={class:"flex flex-row gap-2"},N$e={class:"flex-shrink-0"},D$e={class:"group/avatar"},L$e=["src","data-popover-target"],I$e={class:"flex flex-col w-full flex-grow-0"},P$e={class:"flex flex-row flex-grow items-start"},F$e={class:"flex flex-col mb-2"},B$e={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},$$e=["title"],j$e=u("div",{class:"flex-grow"},null,-1),z$e={class:"flex-row justify-end mx-2"},U$e={class:"invisible group-hover:visible flex flex-row"},q$e={key:0,class:"flex items-center duration-75"},H$e=u("i",{"data-feather":"x"},null,-1),V$e=[H$e],G$e=u("i",{"data-feather":"check"},null,-1),K$e=[G$e],W$e=u("i",{"data-feather":"edit"},null,-1),Z$e=[W$e],Y$e=u("i",{"data-feather":"copy"},null,-1),Q$e=[Y$e],J$e=u("i",{"data-feather":"refresh-cw"},null,-1),X$e=[J$e],eje=u("i",{"data-feather":"fast-forward"},null,-1),tje=[eje],nje={key:4,class:"flex items-center duration-75"},sje=u("i",{"data-feather":"x"},null,-1),oje=[sje],rje=u("i",{"data-feather":"check"},null,-1),ije=[rje],aje=u("i",{"data-feather":"trash"},null,-1),lje=[aje],cje=u("i",{"data-feather":"thumbs-up"},null,-1),uje=[cje],dje={class:"flex flex-row items-center"},hje=u("i",{"data-feather":"thumbs-down"},null,-1),fje=[hje],pje={class:"flex flex-row items-center"},gje=u("i",{"data-feather":"volume-2"},null,-1),mje=[gje],_je={class:"overflow-x-auto w-full"},bje={class:"flex flex-col items-start w-full"},yje={class:"text-sm text-gray-400 mt-2"},vje={class:"flex flex-row items-center gap-2"},wje={key:0},xje={class:"font-thin"},kje={key:1},Eje={class:"font-thin"},Cje={key:2},Aje={class:"font-thin"},Sje={key:3},Tje=["title"];function Mje(t,e,n,s,o,r){const i=rt("Step"),a=rt("MarkdownRenderer");return A(),S("div",O$e,[u("div",R$e,[u("div",N$e,[u("div",D$e,[u("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=l=>r.defaultImg(l)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,L$e)])]),u("div",I$e,[u("div",P$e,[u("div",F$e,[u("div",B$e,V(n.message.sender)+" ",1),n.message.created_at?(A(),S("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},V(r.created_at),9,$$e)):B("",!0)]),j$e,u("div",z$e,[u("div",U$e,[o.editMsgMode?(A(),S("div",q$e,[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"]))},V$e),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"]))},K$e)])):B("",!0),o.editMsgMode?B("",!0):(A(),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"]))},Z$e)),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"]))},Q$e),n.message.sender!=this.$store.state.mountedPers.name?(A(),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"]))},X$e)):B("",!0),n.message.sender==this.$store.state.mountedPers.name?(A(),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"]))},tje)):B("",!0),o.deleteMsgMode?(A(),S("div",nje,[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"]))},ije)])):B("",!0),o.deleteMsgMode?B("",!0):(A(),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"]))},uje),u("div",dje,[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"]))},fje),n.message.rank!=0?(A(),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",pje,[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"]))},mje,2)])])])]),u("div",_je,[u("div",bje,[(A(!0),S(Ne,null,Ke(n.message.steps,(l,c)=>(A(),S("div",{key:"step-"+n.message.id+"-"+c,class:"step font-bold",style:zt({backgroundColor:l.done?"transparent":"inherit"})},[Ae(i,{done:l.done,message:l.message},null,8,["done","message"])],4))),128))]),o.editMsgMode?B("",!0):(A(),nt(a,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?ge((A(),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)),[[Re,this.message.content]]):B("",!0)]),u("div",yje,[u("div",vje,[n.message.binding?(A(),S("p",wje,[we("Binding: "),u("span",xje,V(n.message.binding),1)])):B("",!0),n.message.model?(A(),S("p",kje,[we("Model: "),u("span",Eje,V(n.message.model),1)])):B("",!0),n.message.seed?(A(),S("p",Cje,[we("Seed: "),u("span",Aje,V(n.message.seed),1)])):B("",!0),r.time_spent?(A(),S("p",Sje,[we("Time spent: "),u("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},V(r.time_spent),9,Tje)])):B("",!0)])])])])])}const jg=Ve(M$e,[["render",Mje]]),Oje="/";Se.defaults.baseURL="/";const Rje={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},data(){return{bUrl:Oje,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}}},Nje={class:"w-fit select-none"},Dje={key:0,class:"flex -space-x-4"},Lje=["src","title"],Ije={key:1,class:"flex -space-x-4"},Pje=["src","title"],Fje={key:2,title:"Loading personalities"},Bje=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),$je=[Bje];function jje(t,e,n,s,o,r){return A(),S("div",Nje,[r.mountedPersArr.length>1?(A(),S("div",Dje,[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,Lje),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?(A(),S("div",Ije,[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,Pje)])):B("",!0),r.mountedPersArr.length==0?(A(),S("div",Fje,$je)):B("",!0)])}const zje=Ve(Rje,[["render",jje]]);const Uje="/";Se.defaults.baseURL="/";const qje={props:{onTalk:Function,onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Bp,Toast:ii,UniversalForm:tg},name:"MountedPersonalitiesList",data(){return{bUrl:Uje,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 + `,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()})}}},u$e={class:"break-all"},d$e=["innerHTML"];function h$e(t,e,n,s,o,r){return A(),S("div",u$e,[u("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,d$e)])}const f$e=Ve(c$e,[["render",h$e]]),p$e={props:{done:{type:Boolean,required:!0},message:{type:String,required:!0}}},g$e={class:"step flex items-center mb-4"},m$e={class:"flex items-center justify-center w-6 h-6 mr-2"},_$e={key:0},b$e=u("i",{"data-feather":"square",class:"text-gray-400 w-4 h-4"},null,-1),y$e=[b$e],v$e={key:1},w$e=u("i",{"data-feather":"check-square",class:"text-green-500 w-4 h-4"},null,-1),x$e=[w$e],k$e={key:0,role:"status"},E$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),C$e=[E$e];function A$e(t,e,n,s,o,r){return A(),S("div",g$e,[u("div",m$e,[n.done?B("",!0):(A(),S("div",_$e,y$e)),n.done?(A(),S("div",v$e,x$e)):B("",!0)]),n.done?B("",!0):(A(),S("div",k$e,C$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 S$e=Ve(p$e,[["render",A$e]]);const T$e="/",M$e={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:f$e,Step:S$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.isVoiceActive=!1,this.speechSynthesis.cancel(),this.msg=null;return}const t=this.message.content,e=200;this.msg=new SpeechSynthesisUtterance,this.voices.length>0&&(this.msg.voice=this.voices.filter(s=>s.name===this.$store.state.config.audio_out_voice)[0]),this.isVoiceActive=!0;const n=s=>{const o=t.substr(s,e);this.msg.text=o,this.speechSynthesis.speak(this.msg)};this.msg.addEventListener("end",()=>{const s=msg.text.length;s{n(s)},200):this.isVoiceActive=!1}),n(0)},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?T$e+this.avatar:Jn},defaultImg(t){t.target.src=Jn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{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"}}},O$e={class:"relative group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},R$e={class:"flex flex-row gap-2"},N$e={class:"flex-shrink-0"},D$e={class:"group/avatar"},L$e=["src","data-popover-target"],I$e={class:"flex flex-col w-full flex-grow-0"},P$e={class:"flex flex-row flex-grow items-start"},F$e={class:"flex flex-col mb-2"},B$e={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},$$e=["title"],j$e=u("div",{class:"flex-grow"},null,-1),z$e={class:"flex-row justify-end mx-2"},U$e={class:"invisible group-hover:visible flex flex-row"},q$e={key:0,class:"flex items-center duration-75"},H$e=u("i",{"data-feather":"x"},null,-1),V$e=[H$e],G$e=u("i",{"data-feather":"check"},null,-1),K$e=[G$e],W$e=u("i",{"data-feather":"edit"},null,-1),Z$e=[W$e],Y$e=u("i",{"data-feather":"copy"},null,-1),Q$e=[Y$e],J$e=u("i",{"data-feather":"refresh-cw"},null,-1),X$e=[J$e],eje=u("i",{"data-feather":"fast-forward"},null,-1),tje=[eje],nje={key:4,class:"flex items-center duration-75"},sje=u("i",{"data-feather":"x"},null,-1),oje=[sje],rje=u("i",{"data-feather":"check"},null,-1),ije=[rje],aje=u("i",{"data-feather":"trash"},null,-1),lje=[aje],cje=u("i",{"data-feather":"thumbs-up"},null,-1),uje=[cje],dje={class:"flex flex-row items-center"},hje=u("i",{"data-feather":"thumbs-down"},null,-1),fje=[hje],pje={class:"flex flex-row items-center"},gje=u("i",{"data-feather":"volume-2"},null,-1),mje=[gje],_je={class:"overflow-x-auto w-full"},bje={class:"flex flex-col items-start w-full"},yje={class:"text-sm text-gray-400 mt-2"},vje={class:"flex flex-row items-center gap-2"},wje={key:0},xje={class:"font-thin"},kje={key:1},Eje={class:"font-thin"},Cje={key:2},Aje={class:"font-thin"},Sje={key:3},Tje=["title"];function Mje(t,e,n,s,o,r){const i=rt("Step"),a=rt("MarkdownRenderer");return A(),S("div",O$e,[u("div",R$e,[u("div",N$e,[u("div",D$e,[u("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=l=>r.defaultImg(l)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,L$e)])]),u("div",I$e,[u("div",P$e,[u("div",F$e,[u("div",B$e,V(n.message.sender)+" ",1),n.message.created_at?(A(),S("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},V(r.created_at),9,$$e)):B("",!0)]),j$e,u("div",z$e,[u("div",U$e,[o.editMsgMode?(A(),S("div",q$e,[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"]))},V$e),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"]))},K$e)])):B("",!0),o.editMsgMode?B("",!0):(A(),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"]))},Z$e)),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"]))},Q$e),n.message.sender!=this.$store.state.mountedPers.name?(A(),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"]))},X$e)):B("",!0),n.message.sender==this.$store.state.mountedPers.name?(A(),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"]))},tje)):B("",!0),o.deleteMsgMode?(A(),S("div",nje,[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"]))},ije)])):B("",!0),o.deleteMsgMode?B("",!0):(A(),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"]))},uje),u("div",dje,[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"]))},fje),n.message.rank!=0?(A(),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",pje,[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"]))},mje,2)])])])]),u("div",_je,[u("div",bje,[(A(!0),S(Ne,null,Ke(n.message.steps,(l,c)=>(A(),S("div",{key:"step-"+n.message.id+"-"+c,class:"step font-bold",style:zt({backgroundColor:l.done?"transparent":"inherit"})},[Ae(i,{done:l.done,message:l.message},null,8,["done","message"])],4))),128))]),o.editMsgMode?B("",!0):(A(),nt(a,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?ge((A(),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)),[[Re,this.message.content]]):B("",!0)]),u("div",yje,[u("div",vje,[n.message.binding?(A(),S("p",wje,[we("Binding: "),u("span",xje,V(n.message.binding),1)])):B("",!0),n.message.model?(A(),S("p",kje,[we("Model: "),u("span",Eje,V(n.message.model),1)])):B("",!0),n.message.seed?(A(),S("p",Cje,[we("Seed: "),u("span",Aje,V(n.message.seed),1)])):B("",!0),r.time_spent?(A(),S("p",Sje,[we("Time spent: "),u("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},V(r.time_spent),9,Tje)])):B("",!0)])])])])])}const jg=Ve(M$e,[["render",Mje]]),Oje="/";Se.defaults.baseURL="/";const Rje={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},data(){return{bUrl:Oje,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}}},Nje={class:"w-fit select-none"},Dje={key:0,class:"flex -space-x-4"},Lje=["src","title"],Ije={key:1,class:"flex -space-x-4"},Pje=["src","title"],Fje={key:2,title:"Loading personalities"},Bje=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),$je=[Bje];function jje(t,e,n,s,o,r){return A(),S("div",Nje,[r.mountedPersArr.length>1?(A(),S("div",Dje,[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,Lje),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?(A(),S("div",Ije,[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,Pje)])):B("",!0),r.mountedPersArr.length==0?(A(),S("div",Fje,$je)):B("",!0)])}const zje=Ve(Rje,[["render",jje]]);const Uje="/";Se.defaults.baseURL="/";const qje={props:{onTalk:Function,onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Bp,Toast:ii,UniversalForm:tg},name:"MountedPersonalitiesList",data(){return{bUrl:Uje,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. @@ -141,4 +141,4 @@ ${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:ii,DragDrop:gl},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)}}},jHe=Object.assign($He,{__name:"DiscussionsView",setup(t){return Zr(()=>{Cqe()}),Se.defaults.baseURL="/",(e,n)=>(A(),S(Ne,null,[Ae(xo,{name:"fade-and-fly"},{default:We(()=>[e.isReady?B("",!0):(A(),S("div",Sqe,Mqe))]),_:1}),e.isReady?(A(),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"},[ge(u("div",null,Rqe,512),[[lt,e.panelCollapsed]]),ge(u("div",null,Dqe,512),[[lt,!e.panelCollapsed]])])):B("",!0),Ae(xo,{name:"slide-right"},{default:We(()=>[e.showPanel?(A(),S("div",Lqe,[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",Iqe,[u("div",Pqe,[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())},Bqe),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)},jqe,2),zqe,Uqe,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"]))},Hqe),e.isOpen?(A(),S("div",Vqe,[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)},Kqe,2),e.showConfirmation?B("",!0):(A(),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)},Zqe)),e.showConfirmation?(A(),S("div",Yqe,[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"]))},Jqe),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"]))},eHe)])):B("",!0),e.loading?(A(),S("div",tHe,sHe)):B("",!0)]),e.isSearch?(A(),S("div",oHe,[u("div",rHe,[u("div",iHe,[aHe,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="")},uHe,2)]),ge(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),[[Re,e.filterTitle]])])])])):B("",!0),e.isCheckbox?(A(),S("hr",dHe)):B("",!0),e.isCheckbox?(A(),S("div",hHe,[u("div",fHe,[e.selectedDiscussions.length>0?(A(),S("p",pHe,"Selected: "+V(e.selectedDiscussions.length),1)):B("",!0)]),u("div",gHe,[e.selectedDiscussions.length>0?(A(),S("div",mHe,[e.showConfirmation?B("",!0):(A(),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"]))},bHe)),e.showConfirmation?(A(),S("div",yHe,[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"]))},wHe),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"]))},kHe)])):B("",!0)])):B("",!0),u("div",EHe,[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"]))},AHe),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"]))},THe)])])])):B("",!0)]),u("div",MHe,[Ae(gl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:We(()=>[we("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),u("div",OHe,[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?(A(),nt(Ut,{key:0,name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(e.list,(s,o)=>(A(),nt(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?(A(),S("div",RHe,DHe)):B("",!0),LHe],2)],2)])],32)])):B("",!0)]),_:1}),e.isReady?(A(),S("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[u("div",IHe,[Ae(gl,{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",PHe,[e.discussionArr.length>0?(A(),nt(Ut,{key:0,name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(e.discussionArr,(s,o)=>(A(),nt(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):(A(),nt(qg,{key:1}))]),FHe,e.currentDiscussion.id?(A(),S("div",BHe,[Ae(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),Ae(ii,{ref:"toast"},null,512),Ae(Fp,{ref:"messageBox"},null,512)],64))}}),zHe=Ve(jHe,[["__scopeId","data-v-5c41588e"]]),UHe=Uy({history:iy("/"),routes:[{path:"/extensions/",name:"extensions",component:T2},{path:"/help/",name:"help",component:q2},{path:"/settings/",name:"settings",component:H9},{path:"/training/",name:"training",component:hA},{path:"/quantizing/",name:"quantizing",component:LA},{path:"/",name:"discussions",component:zHe}]});const vi=Q1(b2);console.log("Loaded main.js");const qHe=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{const g=this.state.config.personalities.includes(r+"/"+c+"/"+f.folder);let m={};return m=f,m.category=c,m.language=r,m.full_path=r+"/"+c+"/"+f.folder,m.isMounted=g,m});e.length==0?e=h:e=e.concat(h)}}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;ni.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="english/generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await mn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await mn("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await mn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await mn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await mn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await mn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;si.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){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 Ih=!1;vi.mixin({created(){Ih||(Ih=!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(){}});vi.use(UHe);vi.use(qHe);vi.mount("#app"); +`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){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:ii,DragDrop:gl},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)}}},jHe=Object.assign($He,{__name:"DiscussionsView",setup(t){return Zr(()=>{Cqe()}),Se.defaults.baseURL="/",(e,n)=>(A(),S(Ne,null,[Ae(xo,{name:"fade-and-fly"},{default:We(()=>[e.isReady?B("",!0):(A(),S("div",Sqe,Mqe))]),_:1}),e.isReady?(A(),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"},[ge(u("div",null,Rqe,512),[[lt,e.panelCollapsed]]),ge(u("div",null,Dqe,512),[[lt,!e.panelCollapsed]])])):B("",!0),Ae(xo,{name:"slide-right"},{default:We(()=>[e.showPanel?(A(),S("div",Lqe,[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",Iqe,[u("div",Pqe,[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())},Bqe),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)},jqe,2),zqe,Uqe,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"]))},Hqe),e.isOpen?(A(),S("div",Vqe,[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)},Kqe,2),e.showConfirmation?B("",!0):(A(),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)},Zqe)),e.showConfirmation?(A(),S("div",Yqe,[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"]))},Jqe),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"]))},eHe)])):B("",!0),e.loading?(A(),S("div",tHe,sHe)):B("",!0)]),e.isSearch?(A(),S("div",oHe,[u("div",rHe,[u("div",iHe,[aHe,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="")},uHe,2)]),ge(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),[[Re,e.filterTitle]])])])])):B("",!0),e.isCheckbox?(A(),S("hr",dHe)):B("",!0),e.isCheckbox?(A(),S("div",hHe,[u("div",fHe,[e.selectedDiscussions.length>0?(A(),S("p",pHe,"Selected: "+V(e.selectedDiscussions.length),1)):B("",!0)]),u("div",gHe,[e.selectedDiscussions.length>0?(A(),S("div",mHe,[e.showConfirmation?B("",!0):(A(),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"]))},bHe)),e.showConfirmation?(A(),S("div",yHe,[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"]))},wHe),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"]))},kHe)])):B("",!0)])):B("",!0),u("div",EHe,[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"]))},AHe),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"]))},THe)])])])):B("",!0)]),u("div",MHe,[Ae(gl,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:We(()=>[we("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),u("div",OHe,[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?(A(),nt(Ut,{key:0,name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(e.list,(s,o)=>(A(),nt(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?(A(),S("div",RHe,DHe)):B("",!0),LHe],2)],2)])],32)])):B("",!0)]),_:1}),e.isReady?(A(),S("div",{key:1,class:"relative flex flex-col flex-grow",onDragover:n[20]||(n[20]=ae(s=>e.setDropZoneChat(),["stop","prevent"]))},[u("div",IHe,[Ae(gl,{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",PHe,[e.discussionArr.length>0?(A(),nt(Ut,{key:0,name:"list"},{default:We(()=>[(A(!0),S(Ne,null,Ke(e.discussionArr,(s,o)=>(A(),nt(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):(A(),nt(qg,{key:1}))]),FHe,e.currentDiscussion.id?(A(),S("div",BHe,[Ae(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),Ae(ii,{ref:"toast"},null,512),Ae(Fp,{ref:"messageBox"},null,512)],64))}}),zHe=Ve(jHe,[["__scopeId","data-v-5c41588e"]]),UHe=Uy({history:iy("/"),routes:[{path:"/extensions/",name:"extensions",component:T2},{path:"/help/",name:"help",component:q2},{path:"/settings/",name:"settings",component:H9},{path:"/training/",name:"training",component:h6},{path:"/quantizing/",name:"quantizing",component:L6},{path:"/",name:"discussions",component:zHe}]});const vi=Q1(b2);console.log("Loaded main.js");const qHe=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{const g=this.state.config.personalities.includes(r+"/"+c+"/"+f.folder);let m={};return m=f,m.category=c,m.language=r,m.full_path=r+"/"+c+"/"+f.folder,m.isMounted=g,m});e.length==0?e=h:e=e.concat(h)}}e.sort((o,r)=>o.name.localeCompare(r.name)),t("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:t}){let e=[];for(let n=0;ni.full_path==s),r=this.state.personalities[o];r?e.push(r):e.push(this.state.personalities[this.state.personalities.findIndex(i=>i.full_path=="english/generic/lollms")])}console.log("Personalities list",this.state.personalities),t("setMountedPersArr",e),console.log("active_personality_id",this.state.config.active_personality_id),console.log("selected pers",this.state.config.personalities[this.state.config.active_personality_id]),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(n=>n.full_path==this.state.config.personalities[this.state.config.active_personality_id])],console.log("selected pers",this.state.mountedPers)},async refreshBindings({commit:t}){let e=await mn("list_bindings");t("setBindingsArr",e)},async refreshModels({commit:t}){let e=await mn("list_models");t("setModelsArr",e)},async refreshExtensionsZoo({commit:t}){let e=await mn("list_extensions");t("setExtensionsZoo",e)},async refreshDiskUsage({commit:t}){this.state.diskUsage=await mn("disk_usage")},async refreshRamUsage({commit:t}){this.state.ramUsage=await mn("ram_usage")},async refreshVramUsage({commit:t}){console.log("getting gpu data");const e=await mn("vram_usage"),n=[];if(e.nb_gpus>0){for(let o=0;o{console.log("found models");let n=e.data;n.sort((s,o)=>s.title.localeCompare(o.title));for(let s=0;si.title==o)==-1){let i={};i.title=o,i.path=o,i.icon="",i.isCustomModel=!0,i.isInstalled=!0,n.push(i)}}n.sort((s,o)=>s.isInstalled&&!o.isInstalled?-1:!s.isInstalled&&o.isInstalled?1:0),n.forEach(s=>{s.title==this.state.config.model_name?s.selected=!0:s.selected=!1}),t("setModelsZoo",n),console.log("Models zoo loaded successfully")}).catch(e=>{console.log(e.message,"fetchModels")})},fetchCustomModels({commit:t}){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 Ih=!1;vi.mixin({created(){Ih||(Ih=!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(){}});vi.use(UHe);vi.use(qHe);vi.mount("#app"); diff --git a/web/dist/assets/index-60a1711a.css b/web/dist/assets/index-ba1c9746.css similarity index 99% rename from web/dist/assets/index-60a1711a.css rename to web/dist/assets/index-ba1c9746.css index ac58b4fe..21df7287 100644 --- a/web/dist/assets/index-60a1711a.css +++ b/web/dist/assets/index-ba1c9746.css @@ -1,4 +1,4 @@ -.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}.active-tab{font-weight:700}.scrollbar[data-v-3cb88319]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-3cb88319]::-webkit-scrollbar{width:8px}.scrollbar[data-v-3cb88319]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-3cb88319]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-3cb88319]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.toastItem-enter-active[data-v-3ffdabf3],.toastItem-leave-active[data-v-3ffdabf3]{transition:all .5s ease}.toastItem-enter-from[data-v-3ffdabf3],.toastItem-leave-to[data-v-3ffdabf3]{opacity:0;transform:translate(-30px)}.selected-choice{background-color:#bde4ff}.list-move[data-v-22719428],.list-enter-active[data-v-22719428],.list-leave-active[data-v-22719428]{transition:all .5s ease}.list-enter-from[data-v-22719428]{transform:translatey(-30px)}.list-leave-to[data-v-22719428]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-22719428]{position:absolute}.bounce-enter-active[data-v-22719428]{animation:bounce-in-22719428 .5s}.bounce-leave-active[data-v-22719428]{animation:bounce-in-22719428 .5s reverse}@keyframes bounce-in-22719428{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-22719428]{background-color:#0ff}.hover[data-v-22719428]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-22719428]{font-weight:700}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ff9da4}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#d1f1a9}.hljs-section,.hljs-title{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! +.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}.active-tab{font-weight:700}.scrollbar[data-v-3cb88319]{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb-color) var(--scrollbar-track-color);white-space:pre-wrap;overflow-wrap:break-word}.scrollbar[data-v-3cb88319]::-webkit-scrollbar{width:8px}.scrollbar[data-v-3cb88319]::-webkit-scrollbar-track{background-color:var(--scrollbar-track-color)}.scrollbar[data-v-3cb88319]::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color);border-radius:4px}.scrollbar[data-v-3cb88319]::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color)}.toastItem-enter-active[data-v-3ffdabf3],.toastItem-leave-active[data-v-3ffdabf3]{transition:all .5s ease}.toastItem-enter-from[data-v-3ffdabf3],.toastItem-leave-to[data-v-3ffdabf3]{opacity:0;transform:translate(-30px)}.selected-choice{background-color:#bde4ff}.list-move[data-v-67b64cb1],.list-enter-active[data-v-67b64cb1],.list-leave-active[data-v-67b64cb1]{transition:all .5s ease}.list-enter-from[data-v-67b64cb1]{transform:translatey(-30px)}.list-leave-to[data-v-67b64cb1]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-67b64cb1]{position:absolute}.bounce-enter-active[data-v-67b64cb1]{animation:bounce-in-67b64cb1 .5s}.bounce-leave-active[data-v-67b64cb1]{animation:bounce-in-67b64cb1 .5s reverse}@keyframes bounce-in-67b64cb1{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-67b64cb1]{background-color:#0ff}.hover[data-v-67b64cb1]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-67b64cb1]{font-weight:700}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#ff9da4}.hljs-built_in,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#d1f1a9}.hljs-section,.hljs-title{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! Theme: Tokyo-night-Dark origin: https://github.com/enkia/tokyo-night-vscode-theme Description: Original highlight.js style diff --git a/web/dist/index.html b/web/dist/index.html index f9316ce5..ada57a90 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,8 +6,8 @@ LoLLMS WebUI - Welcome - - + +
diff --git a/web/src/components/Message.vue b/web/src/components/Message.vue index cb08ae57..07751ff7 100644 --- a/web/src/components/Message.vue +++ b/web/src/components/Message.vue @@ -197,6 +197,7 @@ export default { }, data() { return { + msg:null, isVoiceActive:false, speechSynthesis: null, voices: [], @@ -235,32 +236,52 @@ export default { this.voices = this.speechSynthesis.getVoices(); }, speak() { - // Assuming you have received the text from your backend and stored it in a variable called "streamedText" - const textToSpeak = this.message.content; + if(this.msg) + { + this.isVoiceActive = false; + this.speechSynthesis.cancel(); + this.msg = null; + return + } + const textToSpeak = this.message.content; + const chunkSize = 200; // You can adjust the chunk size as needed - // Create a new SpeechSynthesisUtterance instance - const msg = new SpeechSynthesisUtterance(); - msg.text = textToSpeak; + // Create a new SpeechSynthesisUtterance instance + this.msg = new SpeechSynthesisUtterance(); - // Optionally, you can set the voice and other parameters - // For example, to set the voice, assuming you want the first voice available: - if (this.voices.length > 0) { - let v = this.voices.filter(voice => voice.name === this.$store.state.config.audio_out_voice); - console.log(v) - msg.voice = v[0]; - } + // Optionally, set the voice and other parameters as before + if (this.voices.length > 0) { + this.msg.voice = this.voices.filter(voice => voice.name === this.$store.state.config.audio_out_voice)[0]; + } - // Set isVoiceActive to true before starting synthesis - this.isVoiceActive = true; + // Set isVoiceActive to true before starting synthesis + this.isVoiceActive = true; - // Listen for the end event to set isVoiceActive to false after synthesis completes - msg.addEventListener('end', () => { - this.isVoiceActive = false; - }); + // Function to speak a chunk of text + const speakChunk = (startIdx) => { + const chunk = textToSpeak.substr(startIdx, chunkSize); + this.msg.text = chunk; + this.speechSynthesis.speak(this.msg); + }; - // Speak the text - this.speechSynthesis.speak(msg); - }, + // Listen for the end event to set isVoiceActive to false after synthesis completes + this.msg.addEventListener('end', () => { + const startIdx = msg.text.length; + if (startIdx < textToSpeak.length) { + // Use setTimeout to add a brief delay before speaking the next chunk + setTimeout(() => { + speakChunk(startIdx); + }, 200); // Adjust the delay as needed + } else { + this.isVoiceActive = false; + } + }); + + // Speak the first chunk + speakChunk(0); + }, + + toggleModel() { this.expanded = !this.expanded; }, diff --git a/web/src/views/SettingsView.vue b/web/src/views/SettingsView.vue index cf5cc415..5c0e7dbb 100644 --- a/web/src/views/SettingsView.vue +++ b/web/src/views/SettingsView.vue @@ -1650,9 +1650,7 @@ export default { getVoices() { // Fetch available voices from the SpeechSynthesis API if ('speechSynthesis' in window) { - console.log("here"); this.audioVoices = speechSynthesis.getVoices(); - console.log(this.audioVoices) if (!this.audio_out_voice && this.audioVoices.length > 0) { this.audio_out_voice = this.audioVoices[0].name; }