diff --git a/ai_ethics/can_we_contain_ai.md b/ai_ethics/can_we_contain_ai.md index 029c369b..f443566d 100644 --- a/ai_ethics/can_we_contain_ai.md +++ b/ai_ethics/can_we_contain_ai.md @@ -19,4 +19,7 @@ The models we have today are not concious, they are just function calls. They do At some point, we need to forbid those things from starting to think on their own. But projects like autogpt and the langchain are giving more control to the AI. Still, the human is in control, but he is less and less in control. At least for now, bad things still come from humans and not AI by itself. -But who knows? \ No newline at end of file +But who knows? + +By ParisNeo +2022 \ No newline at end of file diff --git a/ai_ethics/fair_discussion.md b/ai_ethics/fair_discussion.md index 6432dffd..2d836f20 100644 --- a/ai_ethics/fair_discussion.md +++ b/ai_ethics/fair_discussion.md @@ -14,4 +14,8 @@ Phylosopher 1: I agree with your point about focusing on the development of ethi Child: But can you really stop the development of AI if people want it so much for different purposes like helping disabled or improving productivity at workplaces. It seems to me, humans are going to develop this technology no matter what because they see benefits in using it and we should just try our best to regulate its usage Phylosopher 2: I completely agree with you on that point! Humans will always find ways to improve themselves or their surroundings through technological advancements, so trying to ban AI outright is simply not realistic. However, what we can do as a society is try and slow down its development by raising awareness about the potential dangers it could bring while also focusing on creating ethical guidelines for its usage Child: So should i be scared of ai or excited? :D -Phylosopher 1 & Phylosopher 2 in unison: Both! It all depends on how we use and regulate AI's development \ No newline at end of file +Phylosopher 1 & Phylosopher 2 in unison: Both! It all depends on how we use and regulate AI's development + + +By ParisNeo +2022 \ No newline at end of file diff --git a/ai_ethics/paradox_of_progress.md b/ai_ethics/paradox_of_progress.md index 3e02b7b0..1ce40127 100644 --- a/ai_ethics/paradox_of_progress.md +++ b/ai_ethics/paradox_of_progress.md @@ -35,4 +35,5 @@ This optimistic vision reminds us that technology, including AI, can be a powerf In conclusion, the moment I witnessed on the tramway serves as a microcosm of a larger existential dilemma. As we continue to integrate AI into our lives, we must remain vigilant about preserving our cognitive and critical thinking abilities. After all, the essence of being human lies not in our reliance on tools, but in our capacity to think, adapt, and innovate. And with the right approach, we can harness the power of AI to elevate our civilization to new heights, much like the hopeful future envisioned in “Star Trek.” -ParisNeo \ No newline at end of file +By ParisNeo +2022 \ No newline at end of file diff --git a/ai_ethics/poison_models.md b/ai_ethics/poison_models.md index 3c1514db..a9066291 100644 --- a/ai_ethics/poison_models.md +++ b/ai_ethics/poison_models.md @@ -21,4 +21,7 @@ The multitude of opensource models is a good thing. With enough luck, poison mod And for non certified models, maybe build a pool of judgement models that are trust worthy, we give them the same prompts as the models to test and look at the statistics of their answers and check the ones that are out of concensus. Just like we do with science. -I hope we figure out a way. I'm sure this community is full of smart people who can pull it off. \ No newline at end of file +I hope we figure out a way. I'm sure this community is full of smart people who can pull it off. + +By ParisNeo +2023 \ No newline at end of file diff --git a/ai_ethics/thoughts_about_ai.md b/ai_ethics/thoughts_about_ai.md index 0e25bec2..a310341f 100644 --- a/ai_ethics/thoughts_about_ai.md +++ b/ai_ethics/thoughts_about_ai.md @@ -53,3 +53,7 @@ Ultimately, the ethical implications of AI depend on us. We must determine wheth ## Author ParisNeo with Help from AI (conditionned for essai writing) to shape the text. + + +By ParisNeo +2022 \ No newline at end of file diff --git a/configs/config.yaml b/configs/config.yaml index 4ee8e3c6..f47863fc 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Multimodal Systems Configuration file =========================== -version: 138 +version: 139 binding_name: null model_name: null model_variant: null @@ -105,7 +105,7 @@ active_tts_service: "None" # xtts (offline), openai_tts (API key required), elev active_tti_service: "None" # autosd (offline), diffusers (offline), diffusers_client (online), dall-e (online), midjourney (online) active_stt_service: "None" # whisper (offline), asr (offline or online), openai_whiosper (API key required) active_ttm_service: "None" # musicgen (offline) -active_ttv_service: "None" # cog_video_x (offline) +active_ttv_service: "None" # cog_video_x, diffusers, lumalab (offline) # -------------------- Services -------------------------- # ***************** STT ***************** @@ -217,6 +217,9 @@ motion_ctrl_base_url: http://localhost:7861 # ***************** TTV ***************** cog_video_x_model: "THUDM/CogVideoX-5b" +# lumalabs configuration +lumalabs_key: "" + # ***************** TTT ***************** # ollama service diff --git a/docs/youtube/lollms_pronounciation.md b/docs/youtube/lollms_context.md similarity index 66% rename from docs/youtube/lollms_pronounciation.md rename to docs/youtube/lollms_context.md index 0896716d..1010ea8d 100644 --- a/docs/youtube/lollms_pronounciation.md +++ b/docs/youtube/lollms_context.md @@ -1,29 +1,34 @@ -Certainly! I'll combine all the information into a comprehensive overview of lollms, including its history, features, and significance. Here's the full, consolidated version: - # lollms: The Ever-Evolving AI Ecosystem That Rules Them All ## The Visionary Behind lollms -lollms, short for "Lord of Large Language & Multimodal Systems," is the brainchild of ParisNeo, a visionary expert in AI and robotics. ParisNeo's journey in coding began at the tender age of 11, igniting a lifelong passion that has never waned. As the creator of lollms, ParisNeo's dream was to develop an accessible, free-of-charge tool that could "rule them all" - a sentiment that echoes throughout the project's philosophy. +lollms, short for "Lord of Large Language & Multimodal Systems," is the brainchild of ParisNeo, a visionary expert in AI and robotics. ParisNeo's journey in coding began at the tender age of 11, igniting a lifelong passion that has never waned. As the creator of lollms, ParisNeo's dream was to develop an accessible, free-of-charge tool that could "rule them all" - a sentiment that echoes throughout the project's philosophy. Today ParisNeo, holds two Engineering degrees and a Ph.D. His passion lies in exploring the applications of Artificial Intelligence across various fields. ParisNeo's work focuses on practical implementations of AI technology, aiming to solve real-world problems and advance the field of machine learning and natural language processing. As a computer geek with a strong academic background, ParisNeo is very active in the open-source community, contributing significantly to AI projects and tools. His commitment to open-source development reflects a belief in collaborative innovation and the democratization of AI technology. Through these efforts, ParisNeo continues to make impactful contributions to the AI community, fostering the growth and accessibility of cutting-edge AI solutions. ## The Evolution of lollms: From Google chrome Plugin to Powerhouse The journey of lollms is a testament to rapid innovation and adaptability in the fast-paced world of AI development: -### Early Beginnings: The ChatGPT chrome Plugin names chatgpt personality selector -- ParisNeo's foray into AI tools began with a chrome plugin for ChatGPT called chatgpt personality selector, it adds buttons to the Chatgpt interface to condition the AI to be any personality out of the list that he developed. +### Early Beginnings: The chrome Plugin named "chatgpt personality selector" +- ParisNeo's foray into AI tools began with a chrome plugin called chatgpt personality selector, it adds buttons to the Chatgpt interface to condition the AI to be any personality out of the list that he developed. - Developed just months after ChatGPT's release - Demonstrated ParisNeo's quick recognition of AI's potential and his ability to build upon emerging technologies -### The Standalone Application: GPT4All WebUI -- Inspired by the release of LLaMA and early versions of GPT4All -- ParisNeo saw the need for a more versatile, standalone application -- Initially named "GPT4All WebUI," reflecting its origins and primary interface +### The Standalone Application: GPT4All WebUI as a ui to interact with GPT4All model + +GPT4all is a model not built by ParisNeo. it is built by a company named Nomic AI. But ParisNeo built a ui that ccan interface this model. + +- 1st of april 2023, was the date ParisNeo moved from his chrome plugin, to a standalone app. +- ParisNeo wanted to build a webui for a local AI instead of continuing to hijack the chatgpt page. +- Inspired by the release of LLaMA and early versions of GPT4All (a model built by Nomic AI that was one of the first models trained on llama architecture) +- ParisNeo built a web user interface named: GPT4AL Webui which is a webui for the GPT4All model (not to be confused with their own GPT4All application built using QT) ### The Birth of lollms +- Parisneo felt the need to broaden the content of his tool and did not want people to get confused between his tool and the GPT4All tool, so he split from using GPT4All and instead changed the name to something way more ambitious and continued building it mainly alone. +- At the beginning, he got some help in the UI development from few experts but then he went really solo mode - As the project grew in scope and capability, a new name was needed - Renamed to "lollms - Lord of Large Language Models" - The new name reflected the tool's expanding compatibility with various AI systems +- One tool to rule them all. - Emphasized the project's ambition to be a comprehensive solution for language models ### Embracing Multimodality @@ -110,6 +115,10 @@ ParisNeo's commitment to sharing lollms with the community goes beyond just open - Provides a platform for exploring AI's potential to benefit society - Demonstrates how passion-driven projects can have a significant impact in the tech world +## Security + +Lollms was spot by huntr.com which is a bounty hunting platform. People get payed to find vulenerabilities in the system and ParisNeo gets notified to upgrade his system and fix the vulenerabilities. This leads to a better more secure tool. + ## The Future of lollms: A Dream Realized As lollms continues to evolve and expand its ecosystem, it raises intriguing questions about the future of AI: @@ -127,3 +136,15 @@ For podcasters, tech enthusiasts, researchers, and anyone interested in the futu Whether lollms leads us to utopia or raises important questions about potential dystopian futures, one thing is certain: it's a name we'll be hearing - and pronouncing - a lot more in the years to come. It represents not just the culmination of a childhood dream, but a powerful vision for the future of AI that has the potential to shape our world in profound and exciting ways. + +# Lollms age +Lollms has now one year and a half of existance. From humble beggingings to the tool that rules them all. + +# Current development status + +ParisNeo is coding lollms in his free time, nights, weekends, holidays. Building stuff he likes. Just taking it as a hobby. + +# Problems that needs to be solved + +Lollms is built by a single person. Although some persons did contribute, it is mainly a one man show, which has its own limits as PerisNeo is not getting enough help. +The install of lollms is still challenging as it is packing loads of uncompatible libraries and tools, and making them all work together is a huge work that ParisNeo is doing. But when a library upgrades, many times dependancies break, so ParisNeo has to spend a lot of time to fix all that. Which is exhausting sometimes. \ No newline at end of file diff --git a/docs/youtube/lollms_smart_router.md b/docs/youtube/lollms_smart_router.md index c60ea162..15ea7660 100644 --- a/docs/youtube/lollms_smart_router.md +++ b/docs/youtube/lollms_smart_router.md @@ -1,14 +1,14 @@ -Title: "LoLLMs Smart Router: Optimizing AI Performance and Efficiency" +Title: "lollms Smart Router: Optimizing AI Performance and Efficiency" -[Intro animation with LoLLMs logo] +[Intro animation with lollms logo] [Upbeat background music] -Host: "Welcome to LoLLMs, where we're revolutionizing the world of AI with our smart router technology. Today, we're diving into how our innovative system optimizes AI model selection for maximum efficiency and cost-effectiveness." +Host: "Welcome to lollms, where we're revolutionizing the world of AI with our smart router technology. Today, we're diving into how our innovative system optimizes AI model selection for maximum efficiency and cost-effectiveness." -[Animated diagram showing the LoLLMs smart router concept] +[Animated diagram showing the lollms smart router concept] -Host: "The LoLLMs smart router is a game-changer in AI task management. Here's how it works:" +Host: "The lollms smart router is a game-changer in AI task management. Here's how it works:" Activation: [Animation of a user turning on the smart router] @@ -40,9 +40,9 @@ Faster response times Optimal use of AI resources [Closing animation] -Host: "With LoLLMs smart router, we're not just making AI smarter – we're making it smarter about how it uses its intelligence. One tool to rule them all, indeed!" +Host: "With lollms smart router, we're not just making AI smarter – we're making it smarter about how it uses its intelligence. One tool to rule them all, indeed!" [Call to action] -"Want to learn more about how LoLLMs can revolutionize your AI operations? Visit our website or contact us today for a demo." +"Want to learn more about how lollms can revolutionize your AI operations? Visit our website or contact us today for a demo." -[LoLLMs logo and contact information] \ No newline at end of file +[lollms logo and contact information] \ No newline at end of file diff --git a/docs/youtube/podcast_steering_1.md b/docs/youtube/podcast_steering_1.md new file mode 100644 index 00000000..32b715d4 --- /dev/null +++ b/docs/youtube/podcast_steering_1.md @@ -0,0 +1,2 @@ +# Extra info +The current podcast was steered by lollms as the two personas who are talking are actually AI agents presenting a lollms description, but they are themselves controlled by lollms. Make a surprise emotion when they both understand that they are actually the product of AI generation. \ No newline at end of file diff --git a/endpoints/libraries/lollms_markdown_renderer.js b/endpoints/libraries/lollms_markdown_renderer.js index bfec674e..913aa869 100644 --- a/endpoints/libraries/lollms_markdown_renderer.js +++ b/endpoints/libraries/lollms_markdown_renderer.js @@ -38,8 +38,6 @@ // // Don't forget to get the css too -// Make sure there is a global variable called mr that instanciate MarkdownRenderer -// mr = new MarkdownRenderer() class MarkdownRenderer { @@ -953,3 +951,5 @@ class MarkdownRenderer { .replace(/'/g, "'"); } } +// Make sure there is a global variable called mr that instanciate MarkdownRenderer +mr = new MarkdownRenderer() diff --git a/lollms_core b/lollms_core index a33efccd..592a3a5c 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit a33efccd46cdd6564df59e1fedd7db36f350c33d +Subproject commit 592a3a5ccf7b76cfbdd53213be770c3a4a461a12 diff --git a/lollms_webui.py b/lollms_webui.py index a3e838f7..56f420f1 100644 --- a/lollms_webui.py +++ b/lollms_webui.py @@ -814,6 +814,9 @@ class LOLLMSWebUI(LOLLMSElfServer): 'started_generating_at': client.discussion.current_message.started_generating_at, 'finished_generating_at': client.discussion.current_message.finished_generating_at, 'nb_tokens': client.discussion.current_message.nb_tokens, + 'binding': self.config["binding_name"], + 'model' : self.config["model_name"], + 'personality': self.config["personalities"][self.config["active_personality_id"]], }, to=client_id ) ) @@ -849,7 +852,11 @@ class LOLLMSWebUI(LOLLMSElfServer): 'finished_generating_at': client.discussion.current_message.finished_generating_at, 'nb_tokens': client.discussion.current_message.nb_tokens, 'parameters':parameters, - 'metadata':metadata + 'metadata':metadata, + 'binding': self.config["binding_name"], + 'model' : self.config["model_name"], + 'personality': self.config["personalities"][self.config["active_personality_id"]], + }, to=client_id ) ) @@ -879,6 +886,10 @@ class LOLLMSWebUI(LOLLMSElfServer): 'started_generating_at': client.discussion.current_message.started_generating_at, 'finished_generating_at': client.discussion.current_message.finished_generating_at, 'nb_tokens': client.discussion.current_message.nb_tokens, + 'binding': self.config["binding_name"], + 'model' : self.config["model_name"], + 'personality': self.config["personalities"][self.config["active_personality_id"]], + }, to=client_id ) ) diff --git a/web/dist/assets/index-4ce3ce46.js b/web/dist/assets/index-503e6468.js similarity index 81% rename from web/dist/assets/index-4ce3ce46.js rename to web/dist/assets/index-503e6468.js index dfde48f5..3f161e4a 100644 --- a/web/dist/assets/index-4ce3ce46.js +++ b/web/dist/assets/index-503e6468.js @@ -1,23 +1,23 @@ -var PM=Object.defineProperty;var FM=(n,e,t)=>e in n?PM(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Yt=(n,e,t)=>(FM(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=t(i);fetch(i.href,r)}})();function Lb(n,e){const t=Object.create(null),s=n.split(",");for(let i=0;i!!t[i.toLowerCase()]:i=>!!t[i]}const Zt={},Ko=[],zs=()=>{},UM=()=>!1,BM=/^on[^a-z]/,Nu=n=>BM.test(n),Pb=n=>n.startsWith("onUpdate:"),on=Object.assign,Fb=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},GM=Object.prototype.hasOwnProperty,kt=(n,e)=>GM.call(n,e),rt=Array.isArray,jo=n=>ka(n)==="[object Map]",Ia=n=>ka(n)==="[object Set]",Hy=n=>ka(n)==="[object Date]",VM=n=>ka(n)==="[object RegExp]",bt=n=>typeof n=="function",sn=n=>typeof n=="string",Gl=n=>typeof n=="symbol",qt=n=>n!==null&&typeof n=="object",pR=n=>qt(n)&&bt(n.then)&&bt(n.catch),_R=Object.prototype.toString,ka=n=>_R.call(n),zM=n=>ka(n).slice(8,-1),hR=n=>ka(n)==="[object Object]",Ub=n=>sn(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,Rd=Lb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ou=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},HM=/-(\w)/g,pi=Ou(n=>n.replace(HM,(e,t)=>t?t.toUpperCase():"")),qM=/\B([A-Z])/g,fo=Ou(n=>n.replace(qM,"-$1").toLowerCase()),Mu=Ou(n=>n.charAt(0).toUpperCase()+n.slice(1)),Ad=Ou(n=>n?`on${Mu(n)}`:""),Vl=(n,e)=>!Object.is(n,e),Qo=(n,e)=>{for(let t=0;t{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:t})},$d=n=>{const e=parseFloat(n);return isNaN(e)?n:e},$M=n=>{const e=sn(n)?Number(n):NaN;return isNaN(e)?n:e};let qy;const Rg=()=>qy||(qy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Kt(n){if(rt(n)){const e={};for(let t=0;t{if(t){const s=t.split(WM);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Ge(n){let e="";if(sn(n))e=n;else if(rt(n))for(let t=0;tio(t,e))}const K=n=>sn(n)?n:n==null?"":rt(n)||qt(n)&&(n.toString===_R||!bt(n.toString))?JSON.stringify(n,mR,2):String(n),mR=(n,e)=>e&&e.__v_isRef?mR(n,e.value):jo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[s,i])=>(t[`${s} =>`]=i,t),{})}:Ia(e)?{[`Set(${e.size})`]:[...e.values()]}:qt(e)&&!rt(e)&&!hR(e)?String(e):e;let es;class gR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=es,!e&&es&&(this.index=(es.scopes||(es.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=es;try{return es=this,e()}finally{es=t}}}on(){es=this}off(){es=this.parent}stop(e){if(this._active){let t,s;for(t=0,s=this.effects.length;t{const e=new Set(n);return e.w=0,e.n=0,e},ER=n=>(n.w&vr)>0,yR=n=>(n.n&vr)>0,nI=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let t=0;for(let s=0;s{(u==="length"||u>=c)&&a.push(d)})}else switch(t!==void 0&&a.push(o.get(t)),e){case"add":rt(n)?Ub(t)&&a.push(o.get("length")):(a.push(o.get(Qr)),jo(n)&&a.push(o.get(Ng)));break;case"delete":rt(n)||(a.push(o.get(Qr)),jo(n)&&a.push(o.get(Ng)));break;case"set":jo(n)&&a.push(o.get(Qr));break}if(a.length===1)a[0]&&Og(a[0]);else{const c=[];for(const d of a)d&&c.push(...d);Og(Gb(c))}}function Og(n,e){const t=rt(n)?n:[...n];for(const s of t)s.computed&&Yy(s);for(const s of t)s.computed||Yy(s)}function Yy(n,e){(n!==Gs||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function iI(n,e){var t;return(t=Yd.get(n))==null?void 0:t.get(e)}const rI=Lb("__proto__,__v_isRef,__isVue"),TR=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Gl)),oI=Iu(),aI=Iu(!1,!0),lI=Iu(!0),cI=Iu(!0,!0),Wy=dI();function dI(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...t){const s=It(this);for(let r=0,o=this.length;r{n[e]=function(...t){Da();const s=It(this)[e].apply(this,t);return La(),s}}),n}function uI(n){const e=It(this);return jn(e,"has",n),e.hasOwnProperty(n)}function Iu(n=!1,e=!1){return function(s,i,r){if(i==="__v_isReactive")return!n;if(i==="__v_isReadonly")return n;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&r===(n?e?OR:NR:e?AR:RR).get(s))return s;const o=rt(s);if(!n){if(o&&kt(Wy,i))return Reflect.get(Wy,i,r);if(i==="hasOwnProperty")return uI}const a=Reflect.get(s,i,r);return(Gl(i)?TR.has(i):rI(i))||(n||jn(s,"get",i),e)?a:fn(a)?o&&Ub(i)?a:a.value:qt(a)?n?IR(a):Qn(a):a}}const pI=xR(),_I=xR(!0);function xR(n=!1){return function(t,s,i,r){let o=t[s];if(oa(o)&&fn(o)&&!fn(i))return!1;if(!n&&(!Wd(i)&&!oa(i)&&(o=It(o),i=It(i)),!rt(t)&&fn(o)&&!fn(i)))return o.value=i,!0;const a=rt(t)&&Ub(s)?Number(s)n,ku=n=>Reflect.getPrototypeOf(n);function Nc(n,e,t=!1,s=!1){n=n.__v_raw;const i=It(n),r=It(e);t||(e!==r&&jn(i,"get",e),jn(i,"get",r));const{has:o}=ku(i),a=s?zb:t?Hb:zl;if(o.call(i,e))return a(n.get(e));if(o.call(i,r))return a(n.get(r));n!==i&&n.get(e)}function Oc(n,e=!1){const t=this.__v_raw,s=It(t),i=It(n);return e||(n!==i&&jn(s,"has",n),jn(s,"has",i)),n===i?t.has(n):t.has(n)||t.has(i)}function Mc(n,e=!1){return n=n.__v_raw,!e&&jn(It(n),"iterate",Qr),Reflect.get(n,"size",n)}function Ky(n){n=It(n);const e=It(this);return ku(e).has.call(e,n)||(e.add(n),Ui(e,"add",n,n)),this}function jy(n,e){e=It(e);const t=It(this),{has:s,get:i}=ku(t);let r=s.call(t,n);r||(n=It(n),r=s.call(t,n));const o=i.call(t,n);return t.set(n,e),r?Vl(e,o)&&Ui(t,"set",n,e):Ui(t,"add",n,e),this}function Qy(n){const e=It(this),{has:t,get:s}=ku(e);let i=t.call(e,n);i||(n=It(n),i=t.call(e,n)),s&&s.call(e,n);const r=e.delete(n);return i&&Ui(e,"delete",n,void 0),r}function Xy(){const n=It(this),e=n.size!==0,t=n.clear();return e&&Ui(n,"clear",void 0,void 0),t}function Ic(n,e){return function(s,i){const r=this,o=r.__v_raw,a=It(o),c=e?zb:n?Hb:zl;return!n&&jn(a,"iterate",Qr),o.forEach((d,u)=>s.call(i,c(d),c(u),r))}}function kc(n,e,t){return function(...s){const i=this.__v_raw,r=It(i),o=jo(r),a=n==="entries"||n===Symbol.iterator&&o,c=n==="keys"&&o,d=i[n](...s),u=t?zb:e?Hb:zl;return!e&&jn(r,"iterate",c?Ng:Qr),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function Yi(n){return function(...e){return n==="delete"?!1:this}}function EI(){const n={get(r){return Nc(this,r)},get size(){return Mc(this)},has:Oc,add:Ky,set:jy,delete:Qy,clear:Xy,forEach:Ic(!1,!1)},e={get(r){return Nc(this,r,!1,!0)},get size(){return Mc(this)},has:Oc,add:Ky,set:jy,delete:Qy,clear:Xy,forEach:Ic(!1,!0)},t={get(r){return Nc(this,r,!0)},get size(){return Mc(this,!0)},has(r){return Oc.call(this,r,!0)},add:Yi("add"),set:Yi("set"),delete:Yi("delete"),clear:Yi("clear"),forEach:Ic(!0,!1)},s={get(r){return Nc(this,r,!0,!0)},get size(){return Mc(this,!0)},has(r){return Oc.call(this,r,!0)},add:Yi("add"),set:Yi("set"),delete:Yi("delete"),clear:Yi("clear"),forEach:Ic(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=kc(r,!1,!1),t[r]=kc(r,!0,!1),e[r]=kc(r,!1,!0),s[r]=kc(r,!0,!0)}),[n,t,e,s]}const[yI,vI,SI,TI]=EI();function Du(n,e){const t=e?n?TI:SI:n?vI:yI;return(s,i,r)=>i==="__v_isReactive"?!n:i==="__v_isReadonly"?n:i==="__v_raw"?s:Reflect.get(kt(t,i)&&i in s?t:s,i,r)}const xI={get:Du(!1,!1)},CI={get:Du(!1,!0)},wI={get:Du(!0,!1)},RI={get:Du(!0,!0)},RR=new WeakMap,AR=new WeakMap,NR=new WeakMap,OR=new WeakMap;function AI(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function NI(n){return n.__v_skip||!Object.isExtensible(n)?0:AI(zM(n))}function Qn(n){return oa(n)?n:Lu(n,!1,CR,xI,RR)}function MR(n){return Lu(n,!1,gI,CI,AR)}function IR(n){return Lu(n,!0,wR,wI,NR)}function OI(n){return Lu(n,!0,bI,RI,OR)}function Lu(n,e,t,s,i){if(!qt(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const r=i.get(n);if(r)return r;const o=NI(n);if(o===0)return n;const a=new Proxy(n,o===2?s:t);return i.set(n,a),a}function Xo(n){return oa(n)?Xo(n.__v_raw):!!(n&&n.__v_isReactive)}function oa(n){return!!(n&&n.__v_isReadonly)}function Wd(n){return!!(n&&n.__v_isShallow)}function kR(n){return Xo(n)||oa(n)}function It(n){const e=n&&n.__v_raw;return e?It(e):n}function ac(n){return qd(n,"__v_skip",!0),n}const zl=n=>qt(n)?Qn(n):n,Hb=n=>qt(n)?IR(n):n;function qb(n){fr&&Gs&&(n=It(n),SR(n.dep||(n.dep=Gb())))}function $b(n,e){n=It(n);const t=n.dep;t&&Og(t)}function fn(n){return!!(n&&n.__v_isRef===!0)}function ct(n){return DR(n,!1)}function MI(n){return DR(n,!0)}function DR(n,e){return fn(n)?n:new II(n,e)}class II{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:It(e),this._value=t?e:zl(e)}get value(){return qb(this),this._value}set value(e){const t=this.__v_isShallow||Wd(e)||oa(e);e=t?e:It(e),Vl(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:zl(e),$b(this))}}function Lt(n){return fn(n)?n.value:n}const kI={get:(n,e,t)=>Lt(Reflect.get(n,e,t)),set:(n,e,t,s)=>{const i=n[e];return fn(i)&&!fn(t)?(i.value=t,!0):Reflect.set(n,e,t,s)}};function LR(n){return Xo(n)?n:new Proxy(n,kI)}class DI{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:s}=e(()=>qb(this),()=>$b(this));this._get=t,this._set=s}get value(){return this._get()}set value(e){this._set(e)}}function LI(n){return new DI(n)}function PI(n){const e=rt(n)?new Array(n.length):{};for(const t in n)e[t]=PR(n,t);return e}class FI{constructor(e,t,s){this._object=e,this._key=t,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return iI(It(this._object),this._key)}}class UI{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Kd(n,e,t){return fn(n)?n:bt(n)?new UI(n):qt(n)&&arguments.length>1?PR(n,e,t):ct(n)}function PR(n,e,t){const s=n[e];return fn(s)?s:new FI(n,e,t)}class BI{constructor(e,t,s,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Vb(e,()=>{this._dirty||(this._dirty=!0,$b(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=It(this);return qb(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function GI(n,e,t=!1){let s,i;const r=bt(n);return r?(s=n,i=zs):(s=n.get,i=n.set),new BI(s,i,r||!i,t)}function mr(n,e,t,s){let i;try{i=s?n(...s):n()}catch(r){Pu(r,e,t)}return i}function vs(n,e,t,s){if(bt(n)){const r=mr(n,e,t,s);return r&&pR(r)&&r.catch(o=>{Pu(o,e,t)}),r}const i=[];for(let r=0;r>>1;ql(kn[s])ii&&kn.splice(e,1)}function qI(n){rt(n)?Zo.push(...n):(!Ii||!Ii.includes(n,n.allowRecurse?Gr+1:Gr))&&Zo.push(n),UR()}function Zy(n,e=Hl?ii+1:0){for(;eql(t)-ql(s)),Gr=0;Grn.id==null?1/0:n.id,$I=(n,e)=>{const t=ql(n)-ql(e);if(t===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return t};function GR(n){Mg=!1,Hl=!0,kn.sort($I);const e=zs;try{for(ii=0;iisn(m)?m.trim():m)),h&&(i=t.map($d))}let a,c=s[a=Ad(e)]||s[a=Ad(pi(e))];!c&&r&&(c=s[a=Ad(fo(e))]),c&&vs(c,n,6,i);const d=s[a+"Once"];if(d){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,vs(d,n,6,i)}}function VR(n,e,t=!1){const s=e.emitsCache,i=s.get(n);if(i!==void 0)return i;const r=n.emits;let o={},a=!1;if(!bt(n)){const c=d=>{const u=VR(d,e,!0);u&&(a=!0,on(o,u))};!t&&e.mixins.length&&e.mixins.forEach(c),n.extends&&c(n.extends),n.mixins&&n.mixins.forEach(c)}return!r&&!a?(qt(n)&&s.set(n,null),null):(rt(r)?r.forEach(c=>o[c]=null):on(o,r),qt(n)&&s.set(n,o),o)}function Fu(n,e){return!n||!Nu(e)?!1:(e=e.slice(2).replace(/Once$/,""),kt(n,e[0].toLowerCase()+e.slice(1))||kt(n,fo(e))||kt(n,e))}let Rn=null,Uu=null;function jd(n){const e=Rn;return Rn=n,Uu=n&&n.type.__scopeId||null,e}function Rs(n){Uu=n}function As(){Uu=null}function Ie(n,e=Rn,t){if(!e||n._n)return n;const s=(...i)=>{s._d&&uv(-1);const r=jd(e);let o;try{o=n(...i)}finally{jd(r),s._d&&uv(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function kp(n){const{type:e,vnode:t,proxy:s,withProxy:i,props:r,propsOptions:[o],slots:a,attrs:c,emit:d,render:u,renderCache:h,data:f,setupState:m,ctx:_,inheritAttrs:g}=n;let b,E;const y=jd(n);try{if(t.shapeFlag&4){const S=i||s;b=ni(u.call(S,S,h,r,m,f,_)),E=c}else{const S=e;b=ni(S.length>1?S(r,{attrs:c,slots:a,emit:d}):S(r,null)),E=e.props?c:WI(c)}}catch(S){wl.length=0,Pu(S,n,1),b=V(Ss)}let v=b;if(E&&g!==!1){const S=Object.keys(E),{shapeFlag:R}=v;S.length&&R&7&&(o&&S.some(Pb)&&(E=KI(E,o)),v=Bi(v,E))}return t.dirs&&(v=Bi(v),v.dirs=v.dirs?v.dirs.concat(t.dirs):t.dirs),t.transition&&(v.transition=t.transition),b=v,jd(y),b}const WI=n=>{let e;for(const t in n)(t==="class"||t==="style"||Nu(t))&&((e||(e={}))[t]=n[t]);return e},KI=(n,e)=>{const t={};for(const s in n)(!Pb(s)||!(s.slice(9)in e))&&(t[s]=n[s]);return t};function jI(n,e,t){const{props:s,children:i,component:r}=n,{props:o,children:a,patchFlag:c}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&c>=0){if(c&1024)return!0;if(c&16)return s?Jy(s,o,d):!!o;if(c&8){const u=e.dynamicProps;for(let h=0;hn.__isSuspense;function XI(n,e){e&&e.pendingBranch?rt(n)?e.effects.push(...n):e.effects.push(n):qI(n)}const Dc={};function Ln(n,e,t){return HR(n,e,t)}function HR(n,e,{immediate:t,deep:s,flush:i,onTrack:r,onTrigger:o}=Zt){var a;const c=bR()===((a=vn)==null?void 0:a.scope)?vn:null;let d,u=!1,h=!1;if(fn(n)?(d=()=>n.value,u=Wd(n)):Xo(n)?(d=()=>n,s=!0):rt(n)?(h=!0,u=n.some(S=>Xo(S)||Wd(S)),d=()=>n.map(S=>{if(fn(S))return S.value;if(Xo(S))return Yr(S);if(bt(S))return mr(S,c,2)})):bt(n)?e?d=()=>mr(n,c,2):d=()=>{if(!(c&&c.isUnmounted))return f&&f(),vs(n,c,3,[m])}:d=zs,e&&s){const S=d;d=()=>Yr(S())}let f,m=S=>{f=y.onStop=()=>{mr(S,c,4)}},_;if(Kl)if(m=zs,e?t&&vs(e,c,3,[d(),h?[]:void 0,m]):d(),i==="sync"){const S=$k();_=S.__watcherHandles||(S.__watcherHandles=[])}else return zs;let g=h?new Array(n.length).fill(Dc):Dc;const b=()=>{if(y.active)if(e){const S=y.run();(s||u||(h?S.some((R,w)=>Vl(R,g[w])):Vl(S,g)))&&(f&&f(),vs(e,c,3,[S,g===Dc?void 0:h&&g[0]===Dc?[]:g,m]),g=S)}else y.run()};b.allowRecurse=!!e;let E;i==="sync"?E=b:i==="post"?E=()=>wn(b,c&&c.suspense):(b.pre=!0,c&&(b.id=c.uid),E=()=>Wb(b));const y=new Vb(d,E);e?t?b():g=y.run():i==="post"?wn(y.run.bind(y),c&&c.suspense):y.run();const v=()=>{y.stop(),c&&c.scope&&Fb(c.scope.effects,y)};return _&&_.push(v),v}function ZI(n,e,t){const s=this.proxy,i=sn(n)?n.includes(".")?qR(s,n):()=>s[n]:n.bind(s,s);let r;bt(e)?r=e:(r=e.handler,t=e);const o=vn;la(this);const a=HR(i,r.bind(s),t);return o?la(o):Xr(),a}function qR(n,e){const t=e.split(".");return()=>{let s=n;for(let i=0;i{Yr(t,e)});else if(hR(n))for(const t in n)Yr(n[t],e);return n}function P(n,e){const t=Rn;if(t===null)return n;const s=qu(t)||t.proxy,i=n.dirs||(n.dirs=[]);for(let r=0;r{n.isMounted=!0}),Pa(()=>{n.isUnmounting=!0}),n}const ds=[Function,Array],YR={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ds,onEnter:ds,onAfterEnter:ds,onEnterCancelled:ds,onBeforeLeave:ds,onLeave:ds,onAfterLeave:ds,onLeaveCancelled:ds,onBeforeAppear:ds,onAppear:ds,onAfterAppear:ds,onAppearCancelled:ds},JI={name:"BaseTransition",props:YR,setup(n,{slots:e}){const t=eE(),s=$R();let i;return()=>{const r=e.default&&Kb(e.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==Ss){o=g;break}}const a=It(n),{mode:c}=a;if(s.isLeaving)return Dp(o);const d=ev(o);if(!d)return Dp(o);const u=$l(d,a,s,t);aa(d,u);const h=t.subTree,f=h&&ev(h);let m=!1;const{getTransitionKey:_}=d.type;if(_){const g=_();i===void 0?i=g:g!==i&&(i=g,m=!0)}if(f&&f.type!==Ss&&(!ur(d,f)||m)){const g=$l(f,a,s,t);if(aa(f,g),c==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,t.update.active!==!1&&t.update()},Dp(o);c==="in-out"&&d.type!==Ss&&(g.delayLeave=(b,E,y)=>{const v=WR(s,f);v[String(f.key)]=f,b._leaveCb=()=>{E(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return o}}},ek=JI;function WR(n,e){const{leavingVNodes:t}=n;let s=t.get(e.type);return s||(s=Object.create(null),t.set(e.type,s)),s}function $l(n,e,t,s){const{appear:i,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:g,onAppear:b,onAfterAppear:E,onAppearCancelled:y}=e,v=String(n.key),S=WR(t,n),R=(I,C)=>{I&&vs(I,s,9,C)},w=(I,C)=>{const O=C[1];R(I,C),rt(I)?I.every(B=>B.length<=1)&&O():I.length<=1&&O()},A={mode:r,persisted:o,beforeEnter(I){let C=a;if(!t.isMounted)if(i)C=g||a;else return;I._leaveCb&&I._leaveCb(!0);const O=S[v];O&&ur(n,O)&&O.el._leaveCb&&O.el._leaveCb(),R(C,[I])},enter(I){let C=c,O=d,B=u;if(!t.isMounted)if(i)C=b||c,O=E||d,B=y||u;else return;let H=!1;const te=I._enterCb=k=>{H||(H=!0,k?R(B,[I]):R(O,[I]),A.delayedLeave&&A.delayedLeave(),I._enterCb=void 0)};C?w(C,[I,te]):te()},leave(I,C){const O=String(n.key);if(I._enterCb&&I._enterCb(!0),t.isUnmounting)return C();R(h,[I]);let B=!1;const H=I._leaveCb=te=>{B||(B=!0,C(),te?R(_,[I]):R(m,[I]),I._leaveCb=void 0,S[O]===n&&delete S[O])};S[O]=n,f?w(f,[I,H]):H()},clone(I){return $l(I,e,t,s)}};return A}function Dp(n){if(Bu(n))return n=Bi(n),n.children=null,n}function ev(n){return Bu(n)?n.children?n.children[0]:void 0:n}function aa(n,e){n.shapeFlag&6&&n.component?aa(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kb(n,e=!1,t){let s=[],i=0;for(let r=0;r1)for(let r=0;ron({name:n.name},e,{setup:n}))():n}const Jo=n=>!!n.type.__asyncLoader,Bu=n=>n.type.__isKeepAlive,tk={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const t=eE(),s=t.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const i=new Map,r=new Set;let o=null;const a=t.suspense,{renderer:{p:c,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(y,v,S,R,w)=>{const A=y.component;d(y,v,S,0,a),c(A.vnode,y,v,S,A,a,R,y.slotScopeIds,w),wn(()=>{A.isDeactivated=!1,A.a&&Qo(A.a);const I=y.props&&y.props.onVnodeMounted;I&&ps(I,A.parent,y)},a)},s.deactivate=y=>{const v=y.component;d(y,f,null,1,a),wn(()=>{v.da&&Qo(v.da);const S=y.props&&y.props.onVnodeUnmounted;S&&ps(S,v.parent,y),v.isDeactivated=!0},a)};function m(y){Lp(y),u(y,t,a,!0)}function _(y){i.forEach((v,S)=>{const R=Ug(v.type);R&&(!y||!y(R))&&g(S)})}function g(y){const v=i.get(y);!o||!ur(v,o)?m(v):o&&Lp(o),i.delete(y),r.delete(y)}Ln(()=>[n.include,n.exclude],([y,v])=>{y&&_(S=>bl(y,S)),v&&_(S=>!bl(v,S))},{flush:"post",deep:!0});let b=null;const E=()=>{b!=null&&i.set(b,Pp(t.subTree))};return fi(E),lc(E),Pa(()=>{i.forEach(y=>{const{subTree:v,suspense:S}=t,R=Pp(v);if(y.type===R.type&&y.key===R.key){Lp(R);const w=R.component.da;w&&wn(w,S);return}m(y)})}),()=>{if(b=null,!e.default)return null;const y=e.default(),v=y[0];if(y.length>1)return o=null,y;if(!Wl(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let S=Pp(v);const R=S.type,w=Ug(Jo(S)?S.type.__asyncResolved||{}:R),{include:A,exclude:I,max:C}=n;if(A&&(!w||!bl(A,w))||I&&w&&bl(I,w))return o=S,v;const O=S.key==null?R:S.key,B=i.get(O);return S.el&&(S=Bi(S),v.shapeFlag&128&&(v.ssContent=S)),b=O,B?(S.el=B.el,S.component=B.component,S.transition&&aa(S,S.transition),S.shapeFlag|=512,r.delete(O),r.add(O)):(r.add(O),C&&r.size>parseInt(C,10)&&g(r.values().next().value)),S.shapeFlag|=256,o=S,zR(v.type)?v:S}}},nk=tk;function bl(n,e){return rt(n)?n.some(t=>bl(t,e)):sn(n)?n.split(",").includes(e):VM(n)?n.test(e):!1}function sk(n,e){KR(n,"a",e)}function ik(n,e){KR(n,"da",e)}function KR(n,e,t=vn){const s=n.__wdc||(n.__wdc=()=>{let i=t;for(;i;){if(i.isDeactivated)return;i=i.parent}return n()});if(Gu(e,s,t),t){let i=t.parent;for(;i&&i.parent;)Bu(i.parent.vnode)&&rk(s,e,t,i),i=i.parent}}function rk(n,e,t,s){const i=Gu(e,n,s,!0);jR(()=>{Fb(s[e],i)},t)}function Lp(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function Pp(n){return n.shapeFlag&128?n.ssContent:n}function Gu(n,e,t=vn,s=!1){if(t){const i=t[n]||(t[n]=[]),r=e.__weh||(e.__weh=(...o)=>{if(t.isUnmounted)return;Da(),la(t);const a=vs(e,t,n,o);return Xr(),La(),a});return s?i.unshift(r):i.push(r),r}}const zi=n=>(e,t=vn)=>(!Kl||n==="sp")&&Gu(n,(...s)=>e(...s),t),ok=zi("bm"),fi=zi("m"),ak=zi("bu"),lc=zi("u"),Pa=zi("bum"),jR=zi("um"),lk=zi("sp"),ck=zi("rtg"),dk=zi("rtc");function uk(n,e=vn){Gu("ec",n,e)}const jb="components";function tt(n,e){return XR(jb,n,!0,e)||n}const QR=Symbol.for("v-ndc");function Vu(n){return sn(n)?XR(jb,n,!1)||n:n||QR}function XR(n,e,t=!0,s=!1){const i=Rn||vn;if(i){const r=i.type;if(n===jb){const a=Ug(r,!1);if(a&&(a===e||a===pi(e)||a===Mu(pi(e))))return r}const o=tv(i[n]||r[n],e)||tv(i.appContext[n],e);return!o&&s?r:o}}function tv(n,e){return n&&(n[e]||n[pi(e)]||n[Mu(pi(e))])}function Ke(n,e,t,s){let i;const r=t&&t[s];if(rt(n)||sn(n)){i=new Array(n.length);for(let o=0,a=n.length;oe(o,a,void 0,r&&r[a]));else{const o=Object.keys(n);i=new Array(o.length);for(let a=0,c=o.length;aWl(e)?!(e.type===Ss||e.type===Fe&&!ZR(e.children)):!0)?n:null}function pk(n,e){const t={};for(const s in n)t[e&&/[A-Z]/.test(s)?`on:${s}`:Ad(s)]=n[s];return t}const Ig=n=>n?dA(n)?qu(n)||n.proxy:Ig(n.parent):null,xl=on(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Ig(n.parent),$root:n=>Ig(n.root),$emit:n=>n.emit,$options:n=>Qb(n),$forceUpdate:n=>n.f||(n.f=()=>Wb(n.update)),$nextTick:n=>n.n||(n.n=Le.bind(n.proxy)),$watch:n=>ZI.bind(n)}),Fp=(n,e)=>n!==Zt&&!n.__isScriptSetup&&kt(n,e),_k={get({_:n},e){const{ctx:t,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:c}=n;let d;if(e[0]!=="$"){const m=o[e];if(m!==void 0)switch(m){case 1:return s[e];case 2:return i[e];case 4:return t[e];case 3:return r[e]}else{if(Fp(s,e))return o[e]=1,s[e];if(i!==Zt&&kt(i,e))return o[e]=2,i[e];if((d=n.propsOptions[0])&&kt(d,e))return o[e]=3,r[e];if(t!==Zt&&kt(t,e))return o[e]=4,t[e];kg&&(o[e]=0)}}const u=xl[e];let h,f;if(u)return e==="$attrs"&&jn(n,"get",e),u(n);if((h=a.__cssModules)&&(h=h[e]))return h;if(t!==Zt&&kt(t,e))return o[e]=4,t[e];if(f=c.config.globalProperties,kt(f,e))return f[e]},set({_:n},e,t){const{data:s,setupState:i,ctx:r}=n;return Fp(i,e)?(i[e]=t,!0):s!==Zt&&kt(s,e)?(s[e]=t,!0):kt(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(r[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!t[o]||n!==Zt&&kt(n,o)||Fp(e,o)||(a=r[0])&&kt(a,o)||kt(s,o)||kt(xl,o)||kt(i.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:kt(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function nv(n){return rt(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}let kg=!0;function hk(n){const e=Qb(n),t=n.proxy,s=n.ctx;kg=!1,e.beforeCreate&&sv(e.beforeCreate,n,"bc");const{data:i,computed:r,methods:o,watch:a,provide:c,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:m,updated:_,activated:g,deactivated:b,beforeDestroy:E,beforeUnmount:y,destroyed:v,unmounted:S,render:R,renderTracked:w,renderTriggered:A,errorCaptured:I,serverPrefetch:C,expose:O,inheritAttrs:B,components:H,directives:te,filters:k}=e;if(d&&fk(d,s,null),o)for(const F in o){const W=o[F];bt(W)&&(s[F]=W.bind(t))}if(i){const F=i.call(t,t);qt(F)&&(n.data=Qn(F))}if(kg=!0,r)for(const F in r){const W=r[F],ne=bt(W)?W.bind(t,t):bt(W.get)?W.get.bind(t,t):zs,le=!bt(W)&&bt(W.set)?W.set.bind(t):zs,me=et({get:ne,set:le});Object.defineProperty(s,F,{enumerable:!0,configurable:!0,get:()=>me.value,set:Se=>me.value=Se})}if(a)for(const F in a)JR(a[F],s,t,F);if(c){const F=bt(c)?c.call(t):c;Reflect.ownKeys(F).forEach(W=>{ea(W,F[W])})}u&&sv(u,n,"c");function q(F,W){rt(W)?W.forEach(ne=>F(ne.bind(t))):W&&F(W.bind(t))}if(q(ok,h),q(fi,f),q(ak,m),q(lc,_),q(sk,g),q(ik,b),q(uk,I),q(dk,w),q(ck,A),q(Pa,y),q(jR,S),q(lk,C),rt(O))if(O.length){const F=n.exposed||(n.exposed={});O.forEach(W=>{Object.defineProperty(F,W,{get:()=>t[W],set:ne=>t[W]=ne})})}else n.exposed||(n.exposed={});R&&n.render===zs&&(n.render=R),B!=null&&(n.inheritAttrs=B),H&&(n.components=H),te&&(n.directives=te)}function fk(n,e,t=zs){rt(n)&&(n=Dg(n));for(const s in n){const i=n[s];let r;qt(i)?"default"in i?r=ns(i.from||s,i.default,!0):r=ns(i.from||s):r=ns(i),fn(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function sv(n,e,t){vs(rt(n)?n.map(s=>s.bind(e.proxy)):n.bind(e.proxy),e,t)}function JR(n,e,t,s){const i=s.includes(".")?qR(t,s):()=>t[s];if(sn(n)){const r=e[n];bt(r)&&Ln(i,r)}else if(bt(n))Ln(i,n.bind(t));else if(qt(n))if(rt(n))n.forEach(r=>JR(r,e,t,s));else{const r=bt(n.handler)?n.handler.bind(t):e[n.handler];bt(r)&&Ln(i,r,n)}}function Qb(n){const e=n.type,{mixins:t,extends:s}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=n.appContext,a=r.get(e);let c;return a?c=a:!i.length&&!t&&!s?c=e:(c={},i.length&&i.forEach(d=>Qd(c,d,o,!0)),Qd(c,e,o)),qt(e)&&r.set(e,c),c}function Qd(n,e,t,s=!1){const{mixins:i,extends:r}=e;r&&Qd(n,r,t,!0),i&&i.forEach(o=>Qd(n,o,t,!0));for(const o in e)if(!(s&&o==="expose")){const a=mk[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const mk={data:iv,props:rv,emits:rv,methods:El,computed:El,beforeCreate:Un,created:Un,beforeMount:Un,mounted:Un,beforeUpdate:Un,updated:Un,beforeDestroy:Un,beforeUnmount:Un,destroyed:Un,unmounted:Un,activated:Un,deactivated:Un,errorCaptured:Un,serverPrefetch:Un,components:El,directives:El,watch:bk,provide:iv,inject:gk};function iv(n,e){return e?n?function(){return on(bt(n)?n.call(this,this):n,bt(e)?e.call(this,this):e)}:e:n}function gk(n,e){return El(Dg(n),Dg(e))}function Dg(n){if(rt(n)){const e={};for(let t=0;t1)return t&&bt(e)?e.call(s&&s.proxy):e}}function vk(n,e,t,s=!1){const i={},r={};qd(r,Hu,1),n.propsDefaults=Object.create(null),tA(n,e,i,r);for(const o in n.propsOptions[0])o in i||(i[o]=void 0);t?n.props=s?i:MR(i):n.type.props?n.props=i:n.props=r,n.attrs=r}function Sk(n,e,t,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=n,a=It(i),[c]=n.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let h=0;h{c=!0;const[f,m]=nA(h,e,!0);on(o,f),m&&a.push(...m)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!r&&!c)return qt(n)&&s.set(n,Ko),Ko;if(rt(r))for(let u=0;u-1,m[1]=g<0||_-1||kt(m,"default"))&&a.push(h)}}}const d=[o,a];return qt(n)&&s.set(n,d),d}function ov(n){return n[0]!=="$"}function av(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function lv(n,e){return av(n)===av(e)}function cv(n,e){return rt(e)?e.findIndex(t=>lv(t,n)):bt(e)&&lv(e,n)?0:-1}const sA=n=>n[0]==="_"||n==="$stable",Xb=n=>rt(n)?n.map(ni):[ni(n)],Tk=(n,e,t)=>{if(e._n)return e;const s=Ie((...i)=>Xb(e(...i)),t);return s._c=!1,s},iA=(n,e,t)=>{const s=n._ctx;for(const i in n){if(sA(i))continue;const r=n[i];if(bt(r))e[i]=Tk(i,r,s);else if(r!=null){const o=Xb(r);e[i]=()=>o}}},rA=(n,e)=>{const t=Xb(e);n.slots.default=()=>t},xk=(n,e)=>{if(n.vnode.shapeFlag&32){const t=e._;t?(n.slots=It(e),qd(e,"_",t)):iA(e,n.slots={})}else n.slots={},e&&rA(n,e);qd(n.slots,Hu,1)},Ck=(n,e,t)=>{const{vnode:s,slots:i}=n;let r=!0,o=Zt;if(s.shapeFlag&32){const a=e._;a?t&&a===1?r=!1:(on(i,e),!t&&a===1&&delete i._):(r=!e.$stable,iA(e,i)),o=e}else e&&(rA(n,e),o={default:1});if(r)for(const a in i)!sA(a)&&!(a in o)&&delete i[a]};function Pg(n,e,t,s,i=!1){if(rt(n)){n.forEach((f,m)=>Pg(f,e&&(rt(e)?e[m]:e),t,s,i));return}if(Jo(s)&&!i)return;const r=s.shapeFlag&4?qu(s.component)||s.component.proxy:s.el,o=i?null:r,{i:a,r:c}=n,d=e&&e.r,u=a.refs===Zt?a.refs={}:a.refs,h=a.setupState;if(d!=null&&d!==c&&(sn(d)?(u[d]=null,kt(h,d)&&(h[d]=null)):fn(d)&&(d.value=null)),bt(c))mr(c,a,12,[o,u]);else{const f=sn(c),m=fn(c);if(f||m){const _=()=>{if(n.f){const g=f?kt(h,c)?h[c]:u[c]:c.value;i?rt(g)&&Fb(g,r):rt(g)?g.includes(r)||g.push(r):f?(u[c]=[r],kt(h,c)&&(h[c]=u[c])):(c.value=[r],n.k&&(u[n.k]=c.value))}else f?(u[c]=o,kt(h,c)&&(h[c]=o)):m&&(c.value=o,n.k&&(u[n.k]=o))};o?(_.id=-1,wn(_,t)):_()}}}const wn=XI;function wk(n){return Rk(n)}function Rk(n,e){const t=Rg();t.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:c,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:m=zs,insertStaticContent:_}=n,g=(N,z,Y,ce=null,oe=null,xe=null,Ne=!1,ie=null,Re=!!z.dynamicChildren)=>{if(N===z)return;N&&!ur(N,z)&&(ce=Z(N),Se(N,oe,xe,!0),N=null),z.patchFlag===-2&&(Re=!1,z.dynamicChildren=null);const{type:ge,ref:De,shapeFlag:L}=z;switch(ge){case zu:b(N,z,Y,ce);break;case Ss:E(N,z,Y,ce);break;case Nd:N==null&&y(z,Y,ce,Ne);break;case Fe:H(N,z,Y,ce,oe,xe,Ne,ie,Re);break;default:L&1?R(N,z,Y,ce,oe,xe,Ne,ie,Re):L&6?te(N,z,Y,ce,oe,xe,Ne,ie,Re):(L&64||L&128)&&ge.process(N,z,Y,ce,oe,xe,Ne,ie,Re,_e)}De!=null&&oe&&Pg(De,N&&N.ref,xe,z||N,!z)},b=(N,z,Y,ce)=>{if(N==null)s(z.el=a(z.children),Y,ce);else{const oe=z.el=N.el;z.children!==N.children&&d(oe,z.children)}},E=(N,z,Y,ce)=>{N==null?s(z.el=c(z.children||""),Y,ce):z.el=N.el},y=(N,z,Y,ce)=>{[N.el,N.anchor]=_(N.children,z,Y,ce,N.el,N.anchor)},v=({el:N,anchor:z},Y,ce)=>{let oe;for(;N&&N!==z;)oe=f(N),s(N,Y,ce),N=oe;s(z,Y,ce)},S=({el:N,anchor:z})=>{let Y;for(;N&&N!==z;)Y=f(N),i(N),N=Y;i(z)},R=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{Ne=Ne||z.type==="svg",N==null?w(z,Y,ce,oe,xe,Ne,ie,Re):C(N,z,oe,xe,Ne,ie,Re)},w=(N,z,Y,ce,oe,xe,Ne,ie)=>{let Re,ge;const{type:De,props:L,shapeFlag:M,transition:Q,dirs:ye}=N;if(Re=N.el=o(N.type,xe,L&&L.is,L),M&8?u(Re,N.children):M&16&&I(N.children,Re,null,ce,oe,xe&&De!=="foreignObject",Ne,ie),ye&&Ar(N,null,ce,"created"),A(Re,N,N.scopeId,Ne,ce),L){for(const se in L)se!=="value"&&!Rd(se)&&r(Re,se,null,L[se],xe,N.children,ce,oe,ke);"value"in L&&r(Re,"value",null,L.value),(ge=L.onVnodeBeforeMount)&&ps(ge,ce,N)}ye&&Ar(N,null,ce,"beforeMount");const X=(!oe||oe&&!oe.pendingBranch)&&Q&&!Q.persisted;X&&Q.beforeEnter(Re),s(Re,z,Y),((ge=L&&L.onVnodeMounted)||X||ye)&&wn(()=>{ge&&ps(ge,ce,N),X&&Q.enter(Re),ye&&Ar(N,null,ce,"mounted")},oe)},A=(N,z,Y,ce,oe)=>{if(Y&&m(N,Y),ce)for(let xe=0;xe{for(let ge=Re;ge{const ie=z.el=N.el;let{patchFlag:Re,dynamicChildren:ge,dirs:De}=z;Re|=N.patchFlag&16;const L=N.props||Zt,M=z.props||Zt;let Q;Y&&Nr(Y,!1),(Q=M.onVnodeBeforeUpdate)&&ps(Q,Y,z,N),De&&Ar(z,N,Y,"beforeUpdate"),Y&&Nr(Y,!0);const ye=oe&&z.type!=="foreignObject";if(ge?O(N.dynamicChildren,ge,ie,Y,ce,ye,xe):Ne||W(N,z,ie,null,Y,ce,ye,xe,!1),Re>0){if(Re&16)B(ie,z,L,M,Y,ce,oe);else if(Re&2&&L.class!==M.class&&r(ie,"class",null,M.class,oe),Re&4&&r(ie,"style",L.style,M.style,oe),Re&8){const X=z.dynamicProps;for(let se=0;se{Q&&ps(Q,Y,z,N),De&&Ar(z,N,Y,"updated")},ce)},O=(N,z,Y,ce,oe,xe,Ne)=>{for(let ie=0;ie{if(Y!==ce){if(Y!==Zt)for(const ie in Y)!Rd(ie)&&!(ie in ce)&&r(N,ie,Y[ie],null,Ne,z.children,oe,xe,ke);for(const ie in ce){if(Rd(ie))continue;const Re=ce[ie],ge=Y[ie];Re!==ge&&ie!=="value"&&r(N,ie,ge,Re,Ne,z.children,oe,xe,ke)}"value"in ce&&r(N,"value",Y.value,ce.value)}},H=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{const ge=z.el=N?N.el:a(""),De=z.anchor=N?N.anchor:a("");let{patchFlag:L,dynamicChildren:M,slotScopeIds:Q}=z;Q&&(ie=ie?ie.concat(Q):Q),N==null?(s(ge,Y,ce),s(De,Y,ce),I(z.children,Y,De,oe,xe,Ne,ie,Re)):L>0&&L&64&&M&&N.dynamicChildren?(O(N.dynamicChildren,M,Y,oe,xe,Ne,ie),(z.key!=null||oe&&z===oe.subTree)&&Zb(N,z,!0)):W(N,z,Y,De,oe,xe,Ne,ie,Re)},te=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{z.slotScopeIds=ie,N==null?z.shapeFlag&512?oe.ctx.activate(z,Y,ce,Ne,Re):k(z,Y,ce,oe,xe,Ne,Re):$(N,z,Re)},k=(N,z,Y,ce,oe,xe,Ne)=>{const ie=N.component=Uk(N,ce,oe);if(Bu(N)&&(ie.ctx.renderer=_e),Bk(ie),ie.asyncDep){if(oe&&oe.registerDep(ie,q),!N.el){const Re=ie.subTree=V(Ss);E(null,Re,z,Y)}return}q(ie,N,z,Y,oe,xe,Ne)},$=(N,z,Y)=>{const ce=z.component=N.component;if(jI(N,z,Y))if(ce.asyncDep&&!ce.asyncResolved){F(ce,z,Y);return}else ce.next=z,HI(ce.update),ce.update();else z.el=N.el,ce.vnode=z},q=(N,z,Y,ce,oe,xe,Ne)=>{const ie=()=>{if(N.isMounted){let{next:De,bu:L,u:M,parent:Q,vnode:ye}=N,X=De,se;Nr(N,!1),De?(De.el=ye.el,F(N,De,Ne)):De=ye,L&&Qo(L),(se=De.props&&De.props.onVnodeBeforeUpdate)&&ps(se,Q,De,ye),Nr(N,!0);const Ae=kp(N),Ce=N.subTree;N.subTree=Ae,g(Ce,Ae,h(Ce.el),Z(Ce),N,oe,xe),De.el=Ae.el,X===null&&QI(N,Ae.el),M&&wn(M,oe),(se=De.props&&De.props.onVnodeUpdated)&&wn(()=>ps(se,Q,De,ye),oe)}else{let De;const{el:L,props:M}=z,{bm:Q,m:ye,parent:X}=N,se=Jo(z);if(Nr(N,!1),Q&&Qo(Q),!se&&(De=M&&M.onVnodeBeforeMount)&&ps(De,X,z),Nr(N,!0),L&&Pe){const Ae=()=>{N.subTree=kp(N),Pe(L,N.subTree,N,oe,null)};se?z.type.__asyncLoader().then(()=>!N.isUnmounted&&Ae()):Ae()}else{const Ae=N.subTree=kp(N);g(null,Ae,Y,ce,N,oe,xe),z.el=Ae.el}if(ye&&wn(ye,oe),!se&&(De=M&&M.onVnodeMounted)){const Ae=z;wn(()=>ps(De,X,Ae),oe)}(z.shapeFlag&256||X&&Jo(X.vnode)&&X.vnode.shapeFlag&256)&&N.a&&wn(N.a,oe),N.isMounted=!0,z=Y=ce=null}},Re=N.effect=new Vb(ie,()=>Wb(ge),N.scope),ge=N.update=()=>Re.run();ge.id=N.uid,Nr(N,!0),ge()},F=(N,z,Y)=>{z.component=N;const ce=N.vnode.props;N.vnode=z,N.next=null,Sk(N,z.props,ce,Y),Ck(N,z.children,Y),Da(),Zy(),La()},W=(N,z,Y,ce,oe,xe,Ne,ie,Re=!1)=>{const ge=N&&N.children,De=N?N.shapeFlag:0,L=z.children,{patchFlag:M,shapeFlag:Q}=z;if(M>0){if(M&128){le(ge,L,Y,ce,oe,xe,Ne,ie,Re);return}else if(M&256){ne(ge,L,Y,ce,oe,xe,Ne,ie,Re);return}}Q&8?(De&16&&ke(ge,oe,xe),L!==ge&&u(Y,L)):De&16?Q&16?le(ge,L,Y,ce,oe,xe,Ne,ie,Re):ke(ge,oe,xe,!0):(De&8&&u(Y,""),Q&16&&I(L,Y,ce,oe,xe,Ne,ie,Re))},ne=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{N=N||Ko,z=z||Ko;const ge=N.length,De=z.length,L=Math.min(ge,De);let M;for(M=0;MDe?ke(N,oe,xe,!0,!1,L):I(z,Y,ce,oe,xe,Ne,ie,Re,L)},le=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{let ge=0;const De=z.length;let L=N.length-1,M=De-1;for(;ge<=L&&ge<=M;){const Q=N[ge],ye=z[ge]=Re?sr(z[ge]):ni(z[ge]);if(ur(Q,ye))g(Q,ye,Y,null,oe,xe,Ne,ie,Re);else break;ge++}for(;ge<=L&&ge<=M;){const Q=N[L],ye=z[M]=Re?sr(z[M]):ni(z[M]);if(ur(Q,ye))g(Q,ye,Y,null,oe,xe,Ne,ie,Re);else break;L--,M--}if(ge>L){if(ge<=M){const Q=M+1,ye=QM)for(;ge<=L;)Se(N[ge],oe,xe,!0),ge++;else{const Q=ge,ye=ge,X=new Map;for(ge=ye;ge<=M;ge++){const pt=z[ge]=Re?sr(z[ge]):ni(z[ge]);pt.key!=null&&X.set(pt.key,ge)}let se,Ae=0;const Ce=M-ye+1;let Ue=!1,Ze=0;const ft=new Array(Ce);for(ge=0;ge=Ce){Se(pt,oe,xe,!0);continue}let st;if(pt.key!=null)st=X.get(pt.key);else for(se=ye;se<=M;se++)if(ft[se-ye]===0&&ur(pt,z[se])){st=se;break}st===void 0?Se(pt,oe,xe,!0):(ft[st-ye]=ge+1,st>=Ze?Ze=st:Ue=!0,g(pt,z[st],Y,null,oe,xe,Ne,ie,Re),Ae++)}const Be=Ue?Ak(ft):Ko;for(se=Be.length-1,ge=Ce-1;ge>=0;ge--){const pt=ye+ge,st=z[pt],Ye=pt+1{const{el:xe,type:Ne,transition:ie,children:Re,shapeFlag:ge}=N;if(ge&6){me(N.component.subTree,z,Y,ce);return}if(ge&128){N.suspense.move(z,Y,ce);return}if(ge&64){Ne.move(N,z,Y,_e);return}if(Ne===Fe){s(xe,z,Y);for(let L=0;Lie.enter(xe),oe);else{const{leave:L,delayLeave:M,afterLeave:Q}=ie,ye=()=>s(xe,z,Y),X=()=>{L(xe,()=>{ye(),Q&&Q()})};M?M(xe,ye,X):X()}else s(xe,z,Y)},Se=(N,z,Y,ce=!1,oe=!1)=>{const{type:xe,props:Ne,ref:ie,children:Re,dynamicChildren:ge,shapeFlag:De,patchFlag:L,dirs:M}=N;if(ie!=null&&Pg(ie,null,Y,N,!0),De&256){z.ctx.deactivate(N);return}const Q=De&1&&M,ye=!Jo(N);let X;if(ye&&(X=Ne&&Ne.onVnodeBeforeUnmount)&&ps(X,z,N),De&6)Me(N.component,Y,ce);else{if(De&128){N.suspense.unmount(Y,ce);return}Q&&Ar(N,null,z,"beforeUnmount"),De&64?N.type.remove(N,z,Y,oe,_e,ce):ge&&(xe!==Fe||L>0&&L&64)?ke(ge,z,Y,!1,!0):(xe===Fe&&L&384||!oe&&De&16)&&ke(Re,z,Y),ce&&de(N)}(ye&&(X=Ne&&Ne.onVnodeUnmounted)||Q)&&wn(()=>{X&&ps(X,z,N),Q&&Ar(N,null,z,"unmounted")},Y)},de=N=>{const{type:z,el:Y,anchor:ce,transition:oe}=N;if(z===Fe){Ee(Y,ce);return}if(z===Nd){S(N);return}const xe=()=>{i(Y),oe&&!oe.persisted&&oe.afterLeave&&oe.afterLeave()};if(N.shapeFlag&1&&oe&&!oe.persisted){const{leave:Ne,delayLeave:ie}=oe,Re=()=>Ne(Y,xe);ie?ie(N.el,xe,Re):Re()}else xe()},Ee=(N,z)=>{let Y;for(;N!==z;)Y=f(N),i(N),N=Y;i(z)},Me=(N,z,Y)=>{const{bum:ce,scope:oe,update:xe,subTree:Ne,um:ie}=N;ce&&Qo(ce),oe.stop(),xe&&(xe.active=!1,Se(Ne,N,z,Y)),ie&&wn(ie,z),wn(()=>{N.isUnmounted=!0},z),z&&z.pendingBranch&&!z.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===z.pendingId&&(z.deps--,z.deps===0&&z.resolve())},ke=(N,z,Y,ce=!1,oe=!1,xe=0)=>{for(let Ne=xe;NeN.shapeFlag&6?Z(N.component.subTree):N.shapeFlag&128?N.suspense.next():f(N.anchor||N.el),he=(N,z,Y)=>{N==null?z._vnode&&Se(z._vnode,null,null,!0):g(z._vnode||null,N,z,null,null,null,Y),Zy(),BR(),z._vnode=N},_e={p:g,um:Se,m:me,r:de,mt:k,mc:I,pc:W,pbc:O,n:Z,o:n};let we,Pe;return e&&([we,Pe]=e(_e)),{render:he,hydrate:we,createApp:yk(he,we)}}function Nr({effect:n,update:e},t){n.allowRecurse=e.allowRecurse=t}function Zb(n,e,t=!1){const s=n.children,i=e.children;if(rt(s)&&rt(i))for(let r=0;r>1,n[t[a]]0&&(e[s]=t[r-1]),t[r]=s)}}for(r=t.length,o=t[r-1];r-- >0;)t[r]=o,o=e[o];return t}const Nk=n=>n.__isTeleport,Cl=n=>n&&(n.disabled||n.disabled===""),dv=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Fg=(n,e)=>{const t=n&&n.to;return sn(t)?e?e(t):null:t},Ok={__isTeleport:!0,process(n,e,t,s,i,r,o,a,c,d){const{mc:u,pc:h,pbc:f,o:{insert:m,querySelector:_,createText:g,createComment:b}}=d,E=Cl(e.props);let{shapeFlag:y,children:v,dynamicChildren:S}=e;if(n==null){const R=e.el=g(""),w=e.anchor=g("");m(R,t,s),m(w,t,s);const A=e.target=Fg(e.props,_),I=e.targetAnchor=g("");A&&(m(I,A),o=o||dv(A));const C=(O,B)=>{y&16&&u(v,O,B,i,r,o,a,c)};E?C(t,w):A&&C(A,I)}else{e.el=n.el;const R=e.anchor=n.anchor,w=e.target=n.target,A=e.targetAnchor=n.targetAnchor,I=Cl(n.props),C=I?t:w,O=I?R:A;if(o=o||dv(w),S?(f(n.dynamicChildren,S,C,i,r,o,a),Zb(n,e,!0)):c||h(n,e,C,O,i,r,o,a,!1),E)I||Lc(e,t,R,d,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const B=e.target=Fg(e.props,_);B&&Lc(e,B,null,d,0)}else I&&Lc(e,w,A,d,1)}oA(e)},remove(n,e,t,s,{um:i,o:{remove:r}},o){const{shapeFlag:a,children:c,anchor:d,targetAnchor:u,target:h,props:f}=n;if(h&&r(u),(o||!Cl(f))&&(r(d),a&16))for(let m=0;m0?Vs||Ko:null,kk(),Yl>0&&Vs&&Vs.push(n),n}function x(n,e,t,s,i,r){return aA(l(n,e,t,s,i,r,!0))}function dt(n,e,t,s,i){return aA(V(n,e,t,s,i,!0))}function Wl(n){return n?n.__v_isVNode===!0:!1}function ur(n,e){return n.type===e.type&&n.key===e.key}const Hu="__vInternal",lA=({key:n})=>n??null,Od=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?sn(n)||fn(n)||bt(n)?{i:Rn,r:n,k:e,f:!!t}:n:null);function l(n,e=null,t=null,s=0,i=null,r=n===Fe?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&lA(e),ref:e&&Od(e),scopeId:Uu,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Rn};return a?(Jb(c,t),r&128&&n.normalize(c)):t&&(c.shapeFlag|=sn(t)?8:16),Yl>0&&!o&&Vs&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Vs.push(c),c}const V=Dk;function Dk(n,e=null,t=null,s=0,i=null,r=!1){if((!n||n===QR)&&(n=Ss),Wl(n)){const a=Bi(n,e,!0);return t&&Jb(a,t),Yl>0&&!r&&Vs&&(a.shapeFlag&6?Vs[Vs.indexOf(n)]=a:Vs.push(a)),a.patchFlag|=-2,a}if(Hk(n)&&(n=n.__vccOpts),e){e=Lk(e);let{class:a,style:c}=e;a&&!sn(a)&&(e.class=Ge(a)),qt(c)&&(kR(c)&&!rt(c)&&(c=on({},c)),e.style=Kt(c))}const o=sn(n)?1:zR(n)?128:Nk(n)?64:qt(n)?4:bt(n)?2:0;return l(n,e,t,s,i,o,r,!0)}function Lk(n){return n?kR(n)||Hu in n?on({},n):n:null}function Bi(n,e,t=!1){const{props:s,ref:i,patchFlag:r,children:o}=n,a=e?cA(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&lA(a),ref:e&&e.ref?t&&i?rt(i)?i.concat(Od(e)):[i,Od(e)]:Od(e):i,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Fe?r===-1?16:r|16:r,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&Bi(n.ssContent),ssFallback:n.ssFallback&&Bi(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function Je(n=" ",e=0){return V(zu,null,n,e)}function Fa(n,e){const t=V(Nd,null,n);return t.staticCount=e,t}function G(n="",e=!1){return e?(T(),dt(Ss,null,n)):V(Ss,null,n)}function ni(n){return n==null||typeof n=="boolean"?V(Ss):rt(n)?V(Fe,null,n.slice()):typeof n=="object"?sr(n):V(zu,null,String(n))}function sr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:Bi(n)}function Jb(n,e){let t=0;const{shapeFlag:s}=n;if(e==null)e=null;else if(rt(e))t=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),Jb(n,i()),i._c&&(i._d=!0));return}else{t=32;const i=e._;!i&&!(Hu in e)?e._ctx=Rn:i===3&&Rn&&(Rn.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else bt(e)?(e={default:e,_ctx:Rn},t=32):(e=String(e),s&64?(t=16,e=[Je(e)]):t=8);n.children=e,n.shapeFlag|=t}function cA(...n){const e={};for(let t=0;tvn||Rn;let tE,vo,pv="__VUE_INSTANCE_SETTERS__";(vo=Rg()[pv])||(vo=Rg()[pv]=[]),vo.push(n=>vn=n),tE=n=>{vo.length>1?vo.forEach(e=>e(n)):vo[0](n)};const la=n=>{tE(n),n.scope.on()},Xr=()=>{vn&&vn.scope.off(),tE(null)};function dA(n){return n.vnode.shapeFlag&4}let Kl=!1;function Bk(n,e=!1){Kl=e;const{props:t,children:s}=n.vnode,i=dA(n);vk(n,t,i,e),xk(n,s);const r=i?Gk(n,e):void 0;return Kl=!1,r}function Gk(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=ac(new Proxy(n.ctx,_k));const{setup:s}=t;if(s){const i=n.setupContext=s.length>1?zk(n):null;la(n),Da();const r=mr(s,n,0,[n.props,i]);if(La(),Xr(),pR(r)){if(r.then(Xr,Xr),e)return r.then(o=>{_v(n,o,e)}).catch(o=>{Pu(o,n,0)});n.asyncDep=r}else _v(n,r,e)}else uA(n,e)}function _v(n,e,t){bt(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:qt(e)&&(n.setupState=LR(e)),uA(n,t)}let hv;function uA(n,e,t){const s=n.type;if(!n.render){if(!e&&hv&&!s.render){const i=s.template||Qb(n).template;if(i){const{isCustomElement:r,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:c}=s,d=on(on({isCustomElement:r,delimiters:a},o),c);s.render=hv(i,d)}}n.render=s.render||zs}la(n),Da(),hk(n),La(),Xr()}function Vk(n){return n.attrsProxy||(n.attrsProxy=new Proxy(n.attrs,{get(e,t){return jn(n,"get","$attrs"),e[t]}}))}function zk(n){const e=t=>{n.exposed=t||{}};return{get attrs(){return Vk(n)},slots:n.slots,emit:n.emit,expose:e}}function qu(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(LR(ac(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in xl)return xl[t](n)},has(e,t){return t in e||t in xl}}))}function Ug(n,e=!0){return bt(n)?n.displayName||n.name:n.name||e&&n.__name}function Hk(n){return bt(n)&&"__vccOpts"in n}const et=(n,e)=>GI(n,e,Kl);function nE(n,e,t){const s=arguments.length;return s===2?qt(e)&&!rt(e)?Wl(e)?V(n,null,[e]):V(n,e):V(n,null,e):(s>3?t=Array.prototype.slice.call(arguments,2):s===3&&Wl(t)&&(t=[t]),V(n,e,t))}const qk=Symbol.for("v-scx"),$k=()=>ns(qk),Yk="3.3.4",Wk="http://www.w3.org/2000/svg",Vr=typeof document<"u"?document:null,fv=Vr&&Vr.createElement("template"),Kk={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,s)=>{const i=e?Vr.createElementNS(Wk,n):Vr.createElement(n,t?{is:t}:void 0);return n==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:n=>Vr.createTextNode(n),createComment:n=>Vr.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Vr.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,s,i,r){const o=t?t.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),t),!(i===r||!(i=i.nextSibling)););else{fv.innerHTML=s?`${n}`:n;const a=fv.content;if(s){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function jk(n,e,t){const s=n._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}function Qk(n,e,t){const s=n.style,i=sn(t);if(t&&!i){if(e&&!sn(e))for(const r in e)t[r]==null&&Bg(s,r,"");for(const r in t)Bg(s,r,t[r])}else{const r=s.display;i?e!==t&&(s.cssText=t):e&&n.removeAttribute("style"),"_vod"in n&&(s.display=r)}}const mv=/\s*!important$/;function Bg(n,e,t){if(rt(t))t.forEach(s=>Bg(n,e,s));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const s=Xk(n,e);mv.test(t)?n.setProperty(fo(s),t.replace(mv,""),"important"):n[s]=t}}const gv=["Webkit","Moz","ms"],Up={};function Xk(n,e){const t=Up[e];if(t)return t;let s=pi(e);if(s!=="filter"&&s in n)return Up[e]=s;s=Mu(s);for(let i=0;iBp||(sD.then(()=>Bp=0),Bp=Date.now());function rD(n,e){const t=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=t.attached)return;vs(oD(s,t.value),e,5,[s])};return t.value=n,t.attached=iD(),t}function oD(n,e){if(rt(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const yv=/^on[a-z]/,aD=(n,e,t,s,i=!1,r,o,a,c)=>{e==="class"?jk(n,s,i):e==="style"?Qk(n,t,s):Nu(e)?Pb(e)||tD(n,e,t,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):lD(n,e,s,i))?Jk(n,e,s,r,o,a,c):(e==="true-value"?n._trueValue=s:e==="false-value"&&(n._falseValue=s),Zk(n,e,s,i))};function lD(n,e,t,s){return s?!!(e==="innerHTML"||e==="textContent"||e in n&&yv.test(e)&&bt(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||yv.test(e)&&sn(t)?!1:e in n}const Wi="transition",tl="animation",Hs=(n,{slots:e})=>nE(ek,_A(n),e);Hs.displayName="Transition";const pA={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},cD=Hs.props=on({},YR,pA),Or=(n,e=[])=>{rt(n)?n.forEach(t=>t(...e)):n&&n(...e)},vv=n=>n?rt(n)?n.some(e=>e.length>1):n.length>1:!1;function _A(n){const e={};for(const H in n)H in pA||(e[H]=n[H]);if(n.css===!1)return e;const{name:t="v",type:s,duration:i,enterFromClass:r=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:c=r,appearActiveClass:d=o,appearToClass:u=a,leaveFromClass:h=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:m=`${t}-leave-to`}=n,_=dD(i),g=_&&_[0],b=_&&_[1],{onBeforeEnter:E,onEnter:y,onEnterCancelled:v,onLeave:S,onLeaveCancelled:R,onBeforeAppear:w=E,onAppear:A=y,onAppearCancelled:I=v}=e,C=(H,te,k)=>{nr(H,te?u:a),nr(H,te?d:o),k&&k()},O=(H,te)=>{H._isLeaving=!1,nr(H,h),nr(H,m),nr(H,f),te&&te()},B=H=>(te,k)=>{const $=H?A:y,q=()=>C(te,H,k);Or($,[te,q]),Sv(()=>{nr(te,H?c:r),Oi(te,H?u:a),vv($)||Tv(te,s,g,q)})};return on(e,{onBeforeEnter(H){Or(E,[H]),Oi(H,r),Oi(H,o)},onBeforeAppear(H){Or(w,[H]),Oi(H,c),Oi(H,d)},onEnter:B(!1),onAppear:B(!0),onLeave(H,te){H._isLeaving=!0;const k=()=>O(H,te);Oi(H,h),fA(),Oi(H,f),Sv(()=>{H._isLeaving&&(nr(H,h),Oi(H,m),vv(S)||Tv(H,s,b,k))}),Or(S,[H,k])},onEnterCancelled(H){C(H,!1),Or(v,[H])},onAppearCancelled(H){C(H,!0),Or(I,[H])},onLeaveCancelled(H){O(H),Or(R,[H])}})}function dD(n){if(n==null)return null;if(qt(n))return[Gp(n.enter),Gp(n.leave)];{const e=Gp(n);return[e,e]}}function Gp(n){return $M(n)}function Oi(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n._vtc||(n._vtc=new Set)).add(e)}function nr(n,e){e.split(/\s+/).forEach(s=>s&&n.classList.remove(s));const{_vtc:t}=n;t&&(t.delete(e),t.size||(n._vtc=void 0))}function Sv(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let uD=0;function Tv(n,e,t,s){const i=n._endId=++uD,r=()=>{i===n._endId&&s()};if(t)return setTimeout(r,t);const{type:o,timeout:a,propCount:c}=hA(n,e);if(!o)return s();const d=o+"end";let u=0;const h=()=>{n.removeEventListener(d,f),r()},f=m=>{m.target===n&&++u>=c&&h()};setTimeout(()=>{u(t[_]||"").split(", "),i=s(`${Wi}Delay`),r=s(`${Wi}Duration`),o=xv(i,r),a=s(`${tl}Delay`),c=s(`${tl}Duration`),d=xv(a,c);let u=null,h=0,f=0;e===Wi?o>0&&(u=Wi,h=o,f=r.length):e===tl?d>0&&(u=tl,h=d,f=c.length):(h=Math.max(o,d),u=h>0?o>d?Wi:tl:null,f=u?u===Wi?r.length:c.length:0);const m=u===Wi&&/\b(transform|all)(,|$)/.test(s(`${Wi}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:m}}function xv(n,e){for(;n.lengthCv(t)+Cv(n[s])))}function Cv(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function fA(){return document.body.offsetHeight}const mA=new WeakMap,gA=new WeakMap,bA={name:"TransitionGroup",props:on({},cD,{tag:String,moveClass:String}),setup(n,{slots:e}){const t=eE(),s=$R();let i,r;return lc(()=>{if(!i.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!mD(i[0].el,t.vnode.el,o))return;i.forEach(_D),i.forEach(hD);const a=i.filter(fD);fA(),a.forEach(c=>{const d=c.el,u=d.style;Oi(d,o),u.transform=u.webkitTransform=u.transitionDuration="";const h=d._moveCb=f=>{f&&f.target!==d||(!f||/transform$/.test(f.propertyName))&&(d.removeEventListener("transitionend",h),d._moveCb=null,nr(d,o))};d.addEventListener("transitionend",h)})}),()=>{const o=It(n),a=_A(o);let c=o.tag||Fe;i=r,r=e.default?Kb(e.default()):[];for(let d=0;ddelete n.mode;bA.props;const di=bA;function _D(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function hD(n){gA.set(n,n.el.getBoundingClientRect())}function fD(n){const e=mA.get(n),t=gA.get(n),s=e.left-t.left,i=e.top-t.top;if(s||i){const r=n.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",n}}function mD(n,e,t){const s=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),t.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(s);const{hasTransform:r}=hA(s);return i.removeChild(s),r}const Sr=n=>{const e=n.props["onUpdate:modelValue"]||!1;return rt(e)?t=>Qo(e,t):e};function gD(n){n.target.composing=!0}function wv(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const pe={created(n,{modifiers:{lazy:e,trim:t,number:s}},i){n._assign=Sr(i);const r=s||i.props&&i.props.type==="number";ki(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),r&&(a=$d(a)),n._assign(a)}),t&&ki(n,"change",()=>{n.value=n.value.trim()}),e||(ki(n,"compositionstart",gD),ki(n,"compositionend",wv),ki(n,"change",wv))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:t,trim:s,number:i}},r){if(n._assign=Sr(r),n.composing||document.activeElement===n&&n.type!=="range"&&(t||s&&n.value.trim()===e||(i||n.type==="number")&&$d(n.value)===e))return;const o=e??"";n.value!==o&&(n.value=o)}},$e={deep:!0,created(n,e,t){n._assign=Sr(t),ki(n,"change",()=>{const s=n._modelValue,i=ca(n),r=n.checked,o=n._assign;if(rt(s)){const a=Bb(s,i),c=a!==-1;if(r&&!c)o(s.concat(i));else if(!r&&c){const d=[...s];d.splice(a,1),o(d)}}else if(Ia(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(EA(n,r))})},mounted:Rv,beforeUpdate(n,e,t){n._assign=Sr(t),Rv(n,e,t)}};function Rv(n,{value:e,oldValue:t},s){n._modelValue=e,rt(e)?n.checked=Bb(e,s.props.value)>-1:Ia(e)?n.checked=e.has(s.props.value):e!==t&&(n.checked=io(e,EA(n,!0)))}const bD={created(n,{value:e},t){n.checked=io(e,t.props.value),n._assign=Sr(t),ki(n,"change",()=>{n._assign(ca(n))})},beforeUpdate(n,{value:e,oldValue:t},s){n._assign=Sr(s),e!==t&&(n.checked=io(e,s.props.value))}},Dt={deep:!0,created(n,{value:e,modifiers:{number:t}},s){const i=Ia(e);ki(n,"change",()=>{const r=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?$d(ca(o)):ca(o));n._assign(n.multiple?i?new Set(r):r:r[0])}),n._assign=Sr(s)},mounted(n,{value:e}){Av(n,e)},beforeUpdate(n,e,t){n._assign=Sr(t)},updated(n,{value:e}){Av(n,e)}};function Av(n,e){const t=n.multiple;if(!(t&&!rt(e)&&!Ia(e))){for(let s=0,i=n.options.length;s-1:r.selected=e.has(o);else if(io(ca(r),e)){n.selectedIndex!==s&&(n.selectedIndex=s);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function ca(n){return"_value"in n?n._value:n.value}function EA(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const ED=["ctrl","shift","alt","meta"],yD={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>ED.some(t=>n[`${t}Key`]&&!e.includes(t))},j=(n,e)=>(t,...s)=>{for(let i=0;it=>{if(!("key"in t))return;const s=fo(t.key);if(e.some(i=>i===s||vD[i]===s))return n(t)},wt={beforeMount(n,{value:e},{transition:t}){n._vod=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):nl(n,e)},mounted(n,{value:e},{transition:t}){t&&e&&t.enter(n)},updated(n,{value:e,oldValue:t},{transition:s}){!e!=!t&&(s?e?(s.beforeEnter(n),nl(n,!0),s.enter(n)):s.leave(n,()=>{nl(n,!1)}):nl(n,e))},beforeUnmount(n,{value:e}){nl(n,e)}};function nl(n,e){n.style.display=e?n._vod:"none"}const SD=on({patchProp:aD},Kk);let Nv;function TD(){return Nv||(Nv=wk(SD))}const xD=(...n)=>{const e=TD().createApp(...n),{mount:t}=e;return e.mount=s=>{const i=CD(s);if(!i)return;const r=e._component;!bt(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const o=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function CD(n){return sn(n)?document.querySelector(n):n}function wD(){return yA().__VUE_DEVTOOLS_GLOBAL_HOOK__}function yA(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const RD=typeof Proxy=="function",AD="devtools-plugin:setup",ND="plugin:settings:set";let So,Gg;function OD(){var n;return So!==void 0||(typeof window<"u"&&window.performance?(So=!0,Gg=window.performance):typeof global<"u"&&(!((n=global.perf_hooks)===null||n===void 0)&&n.performance)?(So=!0,Gg=global.perf_hooks.performance):So=!1),So}function MD(){return OD()?Gg.now():Date.now()}class ID{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const s={};if(e.settings)for(const o in e.settings){const a=e.settings[o];s[o]=a.defaultValue}const i=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const o=localStorage.getItem(i),a=JSON.parse(o);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(o){try{localStorage.setItem(i,JSON.stringify(o))}catch{}r=o},now(){return MD()}},t&&t.on(ND,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...c)=>{this.onQueue.push({method:a,args:c})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...c)=>(this.targetQueue.push({method:a,args:c,resolve:()=>{}}),this.fallbacks[a](...c)):(...c)=>new Promise(d=>{this.targetQueue.push({method:a,args:c,resolve:d})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function kD(n,e){const t=n,s=yA(),i=wD(),r=RD&&t.enableEarlyProxy;if(i&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))i.emit(AD,n,e);else{const o=r?new ID(t,i):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}/*! +var PI=Object.defineProperty;var FI=(n,e,t)=>e in n?PI(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Yt=(n,e,t)=>(FI(n,typeof e!="symbol"?e+"":e,t),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=t(i);fetch(i.href,r)}})();function Lb(n,e){const t=Object.create(null),s=n.split(",");for(let i=0;i!!t[i.toLowerCase()]:i=>!!t[i]}const Zt={},jo=[],zs=()=>{},UI=()=>!1,BI=/^on[^a-z]/,Nu=n=>BI.test(n),Pb=n=>n.startsWith("onUpdate:"),on=Object.assign,Fb=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},GI=Object.prototype.hasOwnProperty,kt=(n,e)=>GI.call(n,e),rt=Array.isArray,Qo=n=>Da(n)==="[object Map]",ka=n=>Da(n)==="[object Set]",Hy=n=>Da(n)==="[object Date]",VI=n=>Da(n)==="[object RegExp]",bt=n=>typeof n=="function",sn=n=>typeof n=="string",Gl=n=>typeof n=="symbol",qt=n=>n!==null&&typeof n=="object",pR=n=>qt(n)&&bt(n.then)&&bt(n.catch),_R=Object.prototype.toString,Da=n=>_R.call(n),zI=n=>Da(n).slice(8,-1),hR=n=>Da(n)==="[object Object]",Ub=n=>sn(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,Rd=Lb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ou=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},HI=/-(\w)/g,pi=Ou(n=>n.replace(HI,(e,t)=>t?t.toUpperCase():"")),qI=/\B([A-Z])/g,fo=Ou(n=>n.replace(qI,"-$1").toLowerCase()),Iu=Ou(n=>n.charAt(0).toUpperCase()+n.slice(1)),Ad=Ou(n=>n?`on${Iu(n)}`:""),Vl=(n,e)=>!Object.is(n,e),Xo=(n,e)=>{for(let t=0;t{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value:t})},$d=n=>{const e=parseFloat(n);return isNaN(e)?n:e},$I=n=>{const e=sn(n)?Number(n):NaN;return isNaN(e)?n:e};let qy;const Rg=()=>qy||(qy=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jt(n){if(rt(n)){const e={};for(let t=0;t{if(t){const s=t.split(WI);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Be(n){let e="";if(sn(n))e=n;else if(rt(n))for(let t=0;tio(t,e))}const K=n=>sn(n)?n:n==null?"":rt(n)||qt(n)&&(n.toString===_R||!bt(n.toString))?JSON.stringify(n,mR,2):String(n),mR=(n,e)=>e&&e.__v_isRef?mR(n,e.value):Qo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[s,i])=>(t[`${s} =>`]=i,t),{})}:ka(e)?{[`Set(${e.size})`]:[...e.values()]}:qt(e)&&!rt(e)&&!hR(e)?String(e):e;let es;class gR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=es,!e&&es&&(this.index=(es.scopes||(es.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=es;try{return es=this,e()}finally{es=t}}}on(){es=this}off(){es=this.parent}stop(e){if(this._active){let t,s;for(t=0,s=this.effects.length;t{const e=new Set(n);return e.w=0,e.n=0,e},ER=n=>(n.w&vr)>0,yR=n=>(n.n&vr)>0,nM=({deps:n})=>{if(n.length)for(let e=0;e{const{deps:e}=n;if(e.length){let t=0;for(let s=0;s{(u==="length"||u>=c)&&a.push(d)})}else switch(t!==void 0&&a.push(o.get(t)),e){case"add":rt(n)?Ub(t)&&a.push(o.get("length")):(a.push(o.get(Qr)),Qo(n)&&a.push(o.get(Ng)));break;case"delete":rt(n)||(a.push(o.get(Qr)),Qo(n)&&a.push(o.get(Ng)));break;case"set":Qo(n)&&a.push(o.get(Qr));break}if(a.length===1)a[0]&&Og(a[0]);else{const c=[];for(const d of a)d&&c.push(...d);Og(Gb(c))}}function Og(n,e){const t=rt(n)?n:[...n];for(const s of t)s.computed&&Yy(s);for(const s of t)s.computed||Yy(s)}function Yy(n,e){(n!==Gs||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}function iM(n,e){var t;return(t=Yd.get(n))==null?void 0:t.get(e)}const rM=Lb("__proto__,__v_isRef,__isVue"),TR=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Gl)),oM=Mu(),aM=Mu(!1,!0),lM=Mu(!0),cM=Mu(!0,!0),Wy=dM();function dM(){const n={};return["includes","indexOf","lastIndexOf"].forEach(e=>{n[e]=function(...t){const s=Mt(this);for(let r=0,o=this.length;r{n[e]=function(...t){La();const s=Mt(this)[e].apply(this,t);return Pa(),s}}),n}function uM(n){const e=Mt(this);return jn(e,"has",n),e.hasOwnProperty(n)}function Mu(n=!1,e=!1){return function(s,i,r){if(i==="__v_isReactive")return!n;if(i==="__v_isReadonly")return n;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&r===(n?e?OR:NR:e?AR:RR).get(s))return s;const o=rt(s);if(!n){if(o&&kt(Wy,i))return Reflect.get(Wy,i,r);if(i==="hasOwnProperty")return uM}const a=Reflect.get(s,i,r);return(Gl(i)?TR.has(i):rM(i))||(n||jn(s,"get",i),e)?a:fn(a)?o&&Ub(i)?a:a.value:qt(a)?n?MR(a):Qn(a):a}}const pM=xR(),_M=xR(!0);function xR(n=!1){return function(t,s,i,r){let o=t[s];if(aa(o)&&fn(o)&&!fn(i))return!1;if(!n&&(!Wd(i)&&!aa(i)&&(o=Mt(o),i=Mt(i)),!rt(t)&&fn(o)&&!fn(i)))return o.value=i,!0;const a=rt(t)&&Ub(s)?Number(s)n,ku=n=>Reflect.getPrototypeOf(n);function Nc(n,e,t=!1,s=!1){n=n.__v_raw;const i=Mt(n),r=Mt(e);t||(e!==r&&jn(i,"get",e),jn(i,"get",r));const{has:o}=ku(i),a=s?zb:t?Hb:zl;if(o.call(i,e))return a(n.get(e));if(o.call(i,r))return a(n.get(r));n!==i&&n.get(e)}function Oc(n,e=!1){const t=this.__v_raw,s=Mt(t),i=Mt(n);return e||(n!==i&&jn(s,"has",n),jn(s,"has",i)),n===i?t.has(n):t.has(n)||t.has(i)}function Ic(n,e=!1){return n=n.__v_raw,!e&&jn(Mt(n),"iterate",Qr),Reflect.get(n,"size",n)}function Ky(n){n=Mt(n);const e=Mt(this);return ku(e).has.call(e,n)||(e.add(n),Ui(e,"add",n,n)),this}function jy(n,e){e=Mt(e);const t=Mt(this),{has:s,get:i}=ku(t);let r=s.call(t,n);r||(n=Mt(n),r=s.call(t,n));const o=i.call(t,n);return t.set(n,e),r?Vl(e,o)&&Ui(t,"set",n,e):Ui(t,"add",n,e),this}function Qy(n){const e=Mt(this),{has:t,get:s}=ku(e);let i=t.call(e,n);i||(n=Mt(n),i=t.call(e,n)),s&&s.call(e,n);const r=e.delete(n);return i&&Ui(e,"delete",n,void 0),r}function Xy(){const n=Mt(this),e=n.size!==0,t=n.clear();return e&&Ui(n,"clear",void 0,void 0),t}function Mc(n,e){return function(s,i){const r=this,o=r.__v_raw,a=Mt(o),c=e?zb:n?Hb:zl;return!n&&jn(a,"iterate",Qr),o.forEach((d,u)=>s.call(i,c(d),c(u),r))}}function kc(n,e,t){return function(...s){const i=this.__v_raw,r=Mt(i),o=Qo(r),a=n==="entries"||n===Symbol.iterator&&o,c=n==="keys"&&o,d=i[n](...s),u=t?zb:e?Hb:zl;return!e&&jn(r,"iterate",c?Ng:Qr),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function Yi(n){return function(...e){return n==="delete"?!1:this}}function EM(){const n={get(r){return Nc(this,r)},get size(){return Ic(this)},has:Oc,add:Ky,set:jy,delete:Qy,clear:Xy,forEach:Mc(!1,!1)},e={get(r){return Nc(this,r,!1,!0)},get size(){return Ic(this)},has:Oc,add:Ky,set:jy,delete:Qy,clear:Xy,forEach:Mc(!1,!0)},t={get(r){return Nc(this,r,!0)},get size(){return Ic(this,!0)},has(r){return Oc.call(this,r,!0)},add:Yi("add"),set:Yi("set"),delete:Yi("delete"),clear:Yi("clear"),forEach:Mc(!0,!1)},s={get(r){return Nc(this,r,!0,!0)},get size(){return Ic(this,!0)},has(r){return Oc.call(this,r,!0)},add:Yi("add"),set:Yi("set"),delete:Yi("delete"),clear:Yi("clear"),forEach:Mc(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=kc(r,!1,!1),t[r]=kc(r,!0,!1),e[r]=kc(r,!1,!0),s[r]=kc(r,!0,!0)}),[n,t,e,s]}const[yM,vM,SM,TM]=EM();function Du(n,e){const t=e?n?TM:SM:n?vM:yM;return(s,i,r)=>i==="__v_isReactive"?!n:i==="__v_isReadonly"?n:i==="__v_raw"?s:Reflect.get(kt(t,i)&&i in s?t:s,i,r)}const xM={get:Du(!1,!1)},CM={get:Du(!1,!0)},wM={get:Du(!0,!1)},RM={get:Du(!0,!0)},RR=new WeakMap,AR=new WeakMap,NR=new WeakMap,OR=new WeakMap;function AM(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function NM(n){return n.__v_skip||!Object.isExtensible(n)?0:AM(zI(n))}function Qn(n){return aa(n)?n:Lu(n,!1,CR,xM,RR)}function IR(n){return Lu(n,!1,gM,CM,AR)}function MR(n){return Lu(n,!0,wR,wM,NR)}function OM(n){return Lu(n,!0,bM,RM,OR)}function Lu(n,e,t,s,i){if(!qt(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const r=i.get(n);if(r)return r;const o=NM(n);if(o===0)return n;const a=new Proxy(n,o===2?s:t);return i.set(n,a),a}function Zo(n){return aa(n)?Zo(n.__v_raw):!!(n&&n.__v_isReactive)}function aa(n){return!!(n&&n.__v_isReadonly)}function Wd(n){return!!(n&&n.__v_isShallow)}function kR(n){return Zo(n)||aa(n)}function Mt(n){const e=n&&n.__v_raw;return e?Mt(e):n}function ac(n){return qd(n,"__v_skip",!0),n}const zl=n=>qt(n)?Qn(n):n,Hb=n=>qt(n)?MR(n):n;function qb(n){fr&&Gs&&(n=Mt(n),SR(n.dep||(n.dep=Gb())))}function $b(n,e){n=Mt(n);const t=n.dep;t&&Og(t)}function fn(n){return!!(n&&n.__v_isRef===!0)}function ct(n){return DR(n,!1)}function IM(n){return DR(n,!0)}function DR(n,e){return fn(n)?n:new MM(n,e)}class MM{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Mt(e),this._value=t?e:zl(e)}get value(){return qb(this),this._value}set value(e){const t=this.__v_isShallow||Wd(e)||aa(e);e=t?e:Mt(e),Vl(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:zl(e),$b(this))}}function Lt(n){return fn(n)?n.value:n}const kM={get:(n,e,t)=>Lt(Reflect.get(n,e,t)),set:(n,e,t,s)=>{const i=n[e];return fn(i)&&!fn(t)?(i.value=t,!0):Reflect.set(n,e,t,s)}};function LR(n){return Zo(n)?n:new Proxy(n,kM)}class DM{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:s}=e(()=>qb(this),()=>$b(this));this._get=t,this._set=s}get value(){return this._get()}set value(e){this._set(e)}}function LM(n){return new DM(n)}function PM(n){const e=rt(n)?new Array(n.length):{};for(const t in n)e[t]=PR(n,t);return e}class FM{constructor(e,t,s){this._object=e,this._key=t,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return iM(Mt(this._object),this._key)}}class UM{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Kd(n,e,t){return fn(n)?n:bt(n)?new UM(n):qt(n)&&arguments.length>1?PR(n,e,t):ct(n)}function PR(n,e,t){const s=n[e];return fn(s)?s:new FM(n,e,t)}class BM{constructor(e,t,s,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Vb(e,()=>{this._dirty||(this._dirty=!0,$b(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=Mt(this);return qb(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function GM(n,e,t=!1){let s,i;const r=bt(n);return r?(s=n,i=zs):(s=n.get,i=n.set),new BM(s,i,r||!i,t)}function mr(n,e,t,s){let i;try{i=s?n(...s):n()}catch(r){Pu(r,e,t)}return i}function vs(n,e,t,s){if(bt(n)){const r=mr(n,e,t,s);return r&&pR(r)&&r.catch(o=>{Pu(o,e,t)}),r}const i=[];for(let r=0;r>>1;ql(kn[s])ii&&kn.splice(e,1)}function qM(n){rt(n)?Jo.push(...n):(!Mi||!Mi.includes(n,n.allowRecurse?Gr+1:Gr))&&Jo.push(n),UR()}function Zy(n,e=Hl?ii+1:0){for(;eql(t)-ql(s)),Gr=0;Grn.id==null?1/0:n.id,$M=(n,e)=>{const t=ql(n)-ql(e);if(t===0){if(n.pre&&!e.pre)return-1;if(e.pre&&!n.pre)return 1}return t};function GR(n){Ig=!1,Hl=!0,kn.sort($M);const e=zs;try{for(ii=0;iisn(m)?m.trim():m)),h&&(i=t.map($d))}let a,c=s[a=Ad(e)]||s[a=Ad(pi(e))];!c&&r&&(c=s[a=Ad(fo(e))]),c&&vs(c,n,6,i);const d=s[a+"Once"];if(d){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,vs(d,n,6,i)}}function VR(n,e,t=!1){const s=e.emitsCache,i=s.get(n);if(i!==void 0)return i;const r=n.emits;let o={},a=!1;if(!bt(n)){const c=d=>{const u=VR(d,e,!0);u&&(a=!0,on(o,u))};!t&&e.mixins.length&&e.mixins.forEach(c),n.extends&&c(n.extends),n.mixins&&n.mixins.forEach(c)}return!r&&!a?(qt(n)&&s.set(n,null),null):(rt(r)?r.forEach(c=>o[c]=null):on(o,r),qt(n)&&s.set(n,o),o)}function Fu(n,e){return!n||!Nu(e)?!1:(e=e.slice(2).replace(/Once$/,""),kt(n,e[0].toLowerCase()+e.slice(1))||kt(n,fo(e))||kt(n,e))}let Rn=null,Uu=null;function jd(n){const e=Rn;return Rn=n,Uu=n&&n.type.__scopeId||null,e}function Rs(n){Uu=n}function As(){Uu=null}function Me(n,e=Rn,t){if(!e||n._n)return n;const s=(...i)=>{s._d&&uv(-1);const r=jd(e);let o;try{o=n(...i)}finally{jd(r),s._d&&uv(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function kp(n){const{type:e,vnode:t,proxy:s,withProxy:i,props:r,propsOptions:[o],slots:a,attrs:c,emit:d,render:u,renderCache:h,data:f,setupState:m,ctx:_,inheritAttrs:g}=n;let b,E;const y=jd(n);try{if(t.shapeFlag&4){const S=i||s;b=ni(u.call(S,S,h,r,m,f,_)),E=c}else{const S=e;b=ni(S.length>1?S(r,{attrs:c,slots:a,emit:d}):S(r,null)),E=e.props?c:WM(c)}}catch(S){wl.length=0,Pu(S,n,1),b=V(Ss)}let v=b;if(E&&g!==!1){const S=Object.keys(E),{shapeFlag:R}=v;S.length&&R&7&&(o&&S.some(Pb)&&(E=KM(E,o)),v=Bi(v,E))}return t.dirs&&(v=Bi(v),v.dirs=v.dirs?v.dirs.concat(t.dirs):t.dirs),t.transition&&(v.transition=t.transition),b=v,jd(y),b}const WM=n=>{let e;for(const t in n)(t==="class"||t==="style"||Nu(t))&&((e||(e={}))[t]=n[t]);return e},KM=(n,e)=>{const t={};for(const s in n)(!Pb(s)||!(s.slice(9)in e))&&(t[s]=n[s]);return t};function jM(n,e,t){const{props:s,children:i,component:r}=n,{props:o,children:a,patchFlag:c}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&c>=0){if(c&1024)return!0;if(c&16)return s?Jy(s,o,d):!!o;if(c&8){const u=e.dynamicProps;for(let h=0;hn.__isSuspense;function XM(n,e){e&&e.pendingBranch?rt(n)?e.effects.push(...n):e.effects.push(n):qM(n)}const Dc={};function Ln(n,e,t){return HR(n,e,t)}function HR(n,e,{immediate:t,deep:s,flush:i,onTrack:r,onTrigger:o}=Zt){var a;const c=bR()===((a=vn)==null?void 0:a.scope)?vn:null;let d,u=!1,h=!1;if(fn(n)?(d=()=>n.value,u=Wd(n)):Zo(n)?(d=()=>n,s=!0):rt(n)?(h=!0,u=n.some(S=>Zo(S)||Wd(S)),d=()=>n.map(S=>{if(fn(S))return S.value;if(Zo(S))return Yr(S);if(bt(S))return mr(S,c,2)})):bt(n)?e?d=()=>mr(n,c,2):d=()=>{if(!(c&&c.isUnmounted))return f&&f(),vs(n,c,3,[m])}:d=zs,e&&s){const S=d;d=()=>Yr(S())}let f,m=S=>{f=y.onStop=()=>{mr(S,c,4)}},_;if(Kl)if(m=zs,e?t&&vs(e,c,3,[d(),h?[]:void 0,m]):d(),i==="sync"){const S=$k();_=S.__watcherHandles||(S.__watcherHandles=[])}else return zs;let g=h?new Array(n.length).fill(Dc):Dc;const b=()=>{if(y.active)if(e){const S=y.run();(s||u||(h?S.some((R,w)=>Vl(R,g[w])):Vl(S,g)))&&(f&&f(),vs(e,c,3,[S,g===Dc?void 0:h&&g[0]===Dc?[]:g,m]),g=S)}else y.run()};b.allowRecurse=!!e;let E;i==="sync"?E=b:i==="post"?E=()=>wn(b,c&&c.suspense):(b.pre=!0,c&&(b.id=c.uid),E=()=>Wb(b));const y=new Vb(d,E);e?t?b():g=y.run():i==="post"?wn(y.run.bind(y),c&&c.suspense):y.run();const v=()=>{y.stop(),c&&c.scope&&Fb(c.scope.effects,y)};return _&&_.push(v),v}function ZM(n,e,t){const s=this.proxy,i=sn(n)?n.includes(".")?qR(s,n):()=>s[n]:n.bind(s,s);let r;bt(e)?r=e:(r=e.handler,t=e);const o=vn;ca(this);const a=HR(i,r.bind(s),t);return o?ca(o):Xr(),a}function qR(n,e){const t=e.split(".");return()=>{let s=n;for(let i=0;i{Yr(t,e)});else if(hR(n))for(const t in n)Yr(n[t],e);return n}function P(n,e){const t=Rn;if(t===null)return n;const s=qu(t)||t.proxy,i=n.dirs||(n.dirs=[]);for(let r=0;r{n.isMounted=!0}),Fa(()=>{n.isUnmounting=!0}),n}const ds=[Function,Array],YR={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ds,onEnter:ds,onAfterEnter:ds,onEnterCancelled:ds,onBeforeLeave:ds,onLeave:ds,onAfterLeave:ds,onLeaveCancelled:ds,onBeforeAppear:ds,onAppear:ds,onAfterAppear:ds,onAppearCancelled:ds},JM={name:"BaseTransition",props:YR,setup(n,{slots:e}){const t=eE(),s=$R();let i;return()=>{const r=e.default&&Kb(e.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==Ss){o=g;break}}const a=Mt(n),{mode:c}=a;if(s.isLeaving)return Dp(o);const d=ev(o);if(!d)return Dp(o);const u=$l(d,a,s,t);la(d,u);const h=t.subTree,f=h&&ev(h);let m=!1;const{getTransitionKey:_}=d.type;if(_){const g=_();i===void 0?i=g:g!==i&&(i=g,m=!0)}if(f&&f.type!==Ss&&(!ur(d,f)||m)){const g=$l(f,a,s,t);if(la(f,g),c==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,t.update.active!==!1&&t.update()},Dp(o);c==="in-out"&&d.type!==Ss&&(g.delayLeave=(b,E,y)=>{const v=WR(s,f);v[String(f.key)]=f,b._leaveCb=()=>{E(),b._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return o}}},ek=JM;function WR(n,e){const{leavingVNodes:t}=n;let s=t.get(e.type);return s||(s=Object.create(null),t.set(e.type,s)),s}function $l(n,e,t,s){const{appear:i,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:g,onAppear:b,onAfterAppear:E,onAppearCancelled:y}=e,v=String(n.key),S=WR(t,n),R=(M,x)=>{M&&vs(M,s,9,x)},w=(M,x)=>{const O=x[1];R(M,x),rt(M)?M.every(B=>B.length<=1)&&O():M.length<=1&&O()},A={mode:r,persisted:o,beforeEnter(M){let x=a;if(!t.isMounted)if(i)x=g||a;else return;M._leaveCb&&M._leaveCb(!0);const O=S[v];O&&ur(n,O)&&O.el._leaveCb&&O.el._leaveCb(),R(x,[M])},enter(M){let x=c,O=d,B=u;if(!t.isMounted)if(i)x=b||c,O=E||d,B=y||u;else return;let H=!1;const te=M._enterCb=k=>{H||(H=!0,k?R(B,[M]):R(O,[M]),A.delayedLeave&&A.delayedLeave(),M._enterCb=void 0)};x?w(x,[M,te]):te()},leave(M,x){const O=String(n.key);if(M._enterCb&&M._enterCb(!0),t.isUnmounting)return x();R(h,[M]);let B=!1;const H=M._leaveCb=te=>{B||(B=!0,x(),te?R(_,[M]):R(m,[M]),M._leaveCb=void 0,S[O]===n&&delete S[O])};S[O]=n,f?w(f,[M,H]):H()},clone(M){return $l(M,e,t,s)}};return A}function Dp(n){if(Bu(n))return n=Bi(n),n.children=null,n}function ev(n){return Bu(n)?n.children?n.children[0]:void 0:n}function la(n,e){n.shapeFlag&6&&n.component?la(n.component.subTree,e):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Kb(n,e=!1,t){let s=[],i=0;for(let r=0;r1)for(let r=0;ron({name:n.name},e,{setup:n}))():n}const ea=n=>!!n.type.__asyncLoader,Bu=n=>n.type.__isKeepAlive,tk={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const t=eE(),s=t.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const i=new Map,r=new Set;let o=null;const a=t.suspense,{renderer:{p:c,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(y,v,S,R,w)=>{const A=y.component;d(y,v,S,0,a),c(A.vnode,y,v,S,A,a,R,y.slotScopeIds,w),wn(()=>{A.isDeactivated=!1,A.a&&Xo(A.a);const M=y.props&&y.props.onVnodeMounted;M&&ps(M,A.parent,y)},a)},s.deactivate=y=>{const v=y.component;d(y,f,null,1,a),wn(()=>{v.da&&Xo(v.da);const S=y.props&&y.props.onVnodeUnmounted;S&&ps(S,v.parent,y),v.isDeactivated=!0},a)};function m(y){Lp(y),u(y,t,a,!0)}function _(y){i.forEach((v,S)=>{const R=Ug(v.type);R&&(!y||!y(R))&&g(S)})}function g(y){const v=i.get(y);!o||!ur(v,o)?m(v):o&&Lp(o),i.delete(y),r.delete(y)}Ln(()=>[n.include,n.exclude],([y,v])=>{y&&_(S=>bl(y,S)),v&&_(S=>!bl(v,S))},{flush:"post",deep:!0});let b=null;const E=()=>{b!=null&&i.set(b,Pp(t.subTree))};return fi(E),lc(E),Fa(()=>{i.forEach(y=>{const{subTree:v,suspense:S}=t,R=Pp(v);if(y.type===R.type&&y.key===R.key){Lp(R);const w=R.component.da;w&&wn(w,S);return}m(y)})}),()=>{if(b=null,!e.default)return null;const y=e.default(),v=y[0];if(y.length>1)return o=null,y;if(!Wl(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return o=null,v;let S=Pp(v);const R=S.type,w=Ug(ea(S)?S.type.__asyncResolved||{}:R),{include:A,exclude:M,max:x}=n;if(A&&(!w||!bl(A,w))||M&&w&&bl(M,w))return o=S,v;const O=S.key==null?R:S.key,B=i.get(O);return S.el&&(S=Bi(S),v.shapeFlag&128&&(v.ssContent=S)),b=O,B?(S.el=B.el,S.component=B.component,S.transition&&la(S,S.transition),S.shapeFlag|=512,r.delete(O),r.add(O)):(r.add(O),x&&r.size>parseInt(x,10)&&g(r.values().next().value)),S.shapeFlag|=256,o=S,zR(v.type)?v:S}}},nk=tk;function bl(n,e){return rt(n)?n.some(t=>bl(t,e)):sn(n)?n.split(",").includes(e):VI(n)?n.test(e):!1}function sk(n,e){KR(n,"a",e)}function ik(n,e){KR(n,"da",e)}function KR(n,e,t=vn){const s=n.__wdc||(n.__wdc=()=>{let i=t;for(;i;){if(i.isDeactivated)return;i=i.parent}return n()});if(Gu(e,s,t),t){let i=t.parent;for(;i&&i.parent;)Bu(i.parent.vnode)&&rk(s,e,t,i),i=i.parent}}function rk(n,e,t,s){const i=Gu(e,n,s,!0);jR(()=>{Fb(s[e],i)},t)}function Lp(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function Pp(n){return n.shapeFlag&128?n.ssContent:n}function Gu(n,e,t=vn,s=!1){if(t){const i=t[n]||(t[n]=[]),r=e.__weh||(e.__weh=(...o)=>{if(t.isUnmounted)return;La(),ca(t);const a=vs(e,t,n,o);return Xr(),Pa(),a});return s?i.unshift(r):i.push(r),r}}const zi=n=>(e,t=vn)=>(!Kl||n==="sp")&&Gu(n,(...s)=>e(...s),t),ok=zi("bm"),fi=zi("m"),ak=zi("bu"),lc=zi("u"),Fa=zi("bum"),jR=zi("um"),lk=zi("sp"),ck=zi("rtg"),dk=zi("rtc");function uk(n,e=vn){Gu("ec",n,e)}const jb="components";function tt(n,e){return XR(jb,n,!0,e)||n}const QR=Symbol.for("v-ndc");function Vu(n){return sn(n)?XR(jb,n,!1)||n:n||QR}function XR(n,e,t=!0,s=!1){const i=Rn||vn;if(i){const r=i.type;if(n===jb){const a=Ug(r,!1);if(a&&(a===e||a===pi(e)||a===Iu(pi(e))))return r}const o=tv(i[n]||r[n],e)||tv(i.appContext[n],e);return!o&&s?r:o}}function tv(n,e){return n&&(n[e]||n[pi(e)]||n[Iu(pi(e))])}function Xe(n,e,t,s){let i;const r=t&&t[s];if(rt(n)||sn(n)){i=new Array(n.length);for(let o=0,a=n.length;oe(o,a,void 0,r&&r[a]));else{const o=Object.keys(n);i=new Array(o.length);for(let a=0,c=o.length;aWl(e)?!(e.type===Ss||e.type===Ge&&!ZR(e.children)):!0)?n:null}function pk(n,e){const t={};for(const s in n)t[e&&/[A-Z]/.test(s)?`on:${s}`:Ad(s)]=n[s];return t}const Mg=n=>n?dA(n)?qu(n)||n.proxy:Mg(n.parent):null,xl=on(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>Mg(n.parent),$root:n=>Mg(n.root),$emit:n=>n.emit,$options:n=>Qb(n),$forceUpdate:n=>n.f||(n.f=()=>Wb(n.update)),$nextTick:n=>n.n||(n.n=Le.bind(n.proxy)),$watch:n=>ZM.bind(n)}),Fp=(n,e)=>n!==Zt&&!n.__isScriptSetup&&kt(n,e),_k={get({_:n},e){const{ctx:t,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:c}=n;let d;if(e[0]!=="$"){const m=o[e];if(m!==void 0)switch(m){case 1:return s[e];case 2:return i[e];case 4:return t[e];case 3:return r[e]}else{if(Fp(s,e))return o[e]=1,s[e];if(i!==Zt&&kt(i,e))return o[e]=2,i[e];if((d=n.propsOptions[0])&&kt(d,e))return o[e]=3,r[e];if(t!==Zt&&kt(t,e))return o[e]=4,t[e];kg&&(o[e]=0)}}const u=xl[e];let h,f;if(u)return e==="$attrs"&&jn(n,"get",e),u(n);if((h=a.__cssModules)&&(h=h[e]))return h;if(t!==Zt&&kt(t,e))return o[e]=4,t[e];if(f=c.config.globalProperties,kt(f,e))return f[e]},set({_:n},e,t){const{data:s,setupState:i,ctx:r}=n;return Fp(i,e)?(i[e]=t,!0):s!==Zt&&kt(s,e)?(s[e]=t,!0):kt(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(r[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!t[o]||n!==Zt&&kt(n,o)||Fp(e,o)||(a=r[0])&&kt(a,o)||kt(s,o)||kt(xl,o)||kt(i.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:kt(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}};function nv(n){return rt(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}let kg=!0;function hk(n){const e=Qb(n),t=n.proxy,s=n.ctx;kg=!1,e.beforeCreate&&sv(e.beforeCreate,n,"bc");const{data:i,computed:r,methods:o,watch:a,provide:c,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:m,updated:_,activated:g,deactivated:b,beforeDestroy:E,beforeUnmount:y,destroyed:v,unmounted:S,render:R,renderTracked:w,renderTriggered:A,errorCaptured:M,serverPrefetch:x,expose:O,inheritAttrs:B,components:H,directives:te,filters:k}=e;if(d&&fk(d,s,null),o)for(const F in o){const W=o[F];bt(W)&&(s[F]=W.bind(t))}if(i){const F=i.call(t,t);qt(F)&&(n.data=Qn(F))}if(kg=!0,r)for(const F in r){const W=r[F],ne=bt(W)?W.bind(t,t):bt(W.get)?W.get.bind(t,t):zs,le=!bt(W)&&bt(W.set)?W.set.bind(t):zs,me=et({get:ne,set:le});Object.defineProperty(s,F,{enumerable:!0,configurable:!0,get:()=>me.value,set:Se=>me.value=Se})}if(a)for(const F in a)JR(a[F],s,t,F);if(c){const F=bt(c)?c.call(t):c;Reflect.ownKeys(F).forEach(W=>{ta(W,F[W])})}u&&sv(u,n,"c");function q(F,W){rt(W)?W.forEach(ne=>F(ne.bind(t))):W&&F(W.bind(t))}if(q(ok,h),q(fi,f),q(ak,m),q(lc,_),q(sk,g),q(ik,b),q(uk,M),q(dk,w),q(ck,A),q(Fa,y),q(jR,S),q(lk,x),rt(O))if(O.length){const F=n.exposed||(n.exposed={});O.forEach(W=>{Object.defineProperty(F,W,{get:()=>t[W],set:ne=>t[W]=ne})})}else n.exposed||(n.exposed={});R&&n.render===zs&&(n.render=R),B!=null&&(n.inheritAttrs=B),H&&(n.components=H),te&&(n.directives=te)}function fk(n,e,t=zs){rt(n)&&(n=Dg(n));for(const s in n){const i=n[s];let r;qt(i)?"default"in i?r=ns(i.from||s,i.default,!0):r=ns(i.from||s):r=ns(i),fn(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function sv(n,e,t){vs(rt(n)?n.map(s=>s.bind(e.proxy)):n.bind(e.proxy),e,t)}function JR(n,e,t,s){const i=s.includes(".")?qR(t,s):()=>t[s];if(sn(n)){const r=e[n];bt(r)&&Ln(i,r)}else if(bt(n))Ln(i,n.bind(t));else if(qt(n))if(rt(n))n.forEach(r=>JR(r,e,t,s));else{const r=bt(n.handler)?n.handler.bind(t):e[n.handler];bt(r)&&Ln(i,r,n)}}function Qb(n){const e=n.type,{mixins:t,extends:s}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=n.appContext,a=r.get(e);let c;return a?c=a:!i.length&&!t&&!s?c=e:(c={},i.length&&i.forEach(d=>Qd(c,d,o,!0)),Qd(c,e,o)),qt(e)&&r.set(e,c),c}function Qd(n,e,t,s=!1){const{mixins:i,extends:r}=e;r&&Qd(n,r,t,!0),i&&i.forEach(o=>Qd(n,o,t,!0));for(const o in e)if(!(s&&o==="expose")){const a=mk[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const mk={data:iv,props:rv,emits:rv,methods:El,computed:El,beforeCreate:Un,created:Un,beforeMount:Un,mounted:Un,beforeUpdate:Un,updated:Un,beforeDestroy:Un,beforeUnmount:Un,destroyed:Un,unmounted:Un,activated:Un,deactivated:Un,errorCaptured:Un,serverPrefetch:Un,components:El,directives:El,watch:bk,provide:iv,inject:gk};function iv(n,e){return e?n?function(){return on(bt(n)?n.call(this,this):n,bt(e)?e.call(this,this):e)}:e:n}function gk(n,e){return El(Dg(n),Dg(e))}function Dg(n){if(rt(n)){const e={};for(let t=0;t1)return t&&bt(e)?e.call(s&&s.proxy):e}}function vk(n,e,t,s=!1){const i={},r={};qd(r,Hu,1),n.propsDefaults=Object.create(null),tA(n,e,i,r);for(const o in n.propsOptions[0])o in i||(i[o]=void 0);t?n.props=s?i:IR(i):n.type.props?n.props=i:n.props=r,n.attrs=r}function Sk(n,e,t,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=n,a=Mt(i),[c]=n.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let h=0;h{c=!0;const[f,m]=nA(h,e,!0);on(o,f),m&&a.push(...m)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!r&&!c)return qt(n)&&s.set(n,jo),jo;if(rt(r))for(let u=0;u-1,m[1]=g<0||_-1||kt(m,"default"))&&a.push(h)}}}const d=[o,a];return qt(n)&&s.set(n,d),d}function ov(n){return n[0]!=="$"}function av(n){const e=n&&n.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:n===null?"null":""}function lv(n,e){return av(n)===av(e)}function cv(n,e){return rt(e)?e.findIndex(t=>lv(t,n)):bt(e)&&lv(e,n)?0:-1}const sA=n=>n[0]==="_"||n==="$stable",Xb=n=>rt(n)?n.map(ni):[ni(n)],Tk=(n,e,t)=>{if(e._n)return e;const s=Me((...i)=>Xb(e(...i)),t);return s._c=!1,s},iA=(n,e,t)=>{const s=n._ctx;for(const i in n){if(sA(i))continue;const r=n[i];if(bt(r))e[i]=Tk(i,r,s);else if(r!=null){const o=Xb(r);e[i]=()=>o}}},rA=(n,e)=>{const t=Xb(e);n.slots.default=()=>t},xk=(n,e)=>{if(n.vnode.shapeFlag&32){const t=e._;t?(n.slots=Mt(e),qd(e,"_",t)):iA(e,n.slots={})}else n.slots={},e&&rA(n,e);qd(n.slots,Hu,1)},Ck=(n,e,t)=>{const{vnode:s,slots:i}=n;let r=!0,o=Zt;if(s.shapeFlag&32){const a=e._;a?t&&a===1?r=!1:(on(i,e),!t&&a===1&&delete i._):(r=!e.$stable,iA(e,i)),o=e}else e&&(rA(n,e),o={default:1});if(r)for(const a in i)!sA(a)&&!(a in o)&&delete i[a]};function Pg(n,e,t,s,i=!1){if(rt(n)){n.forEach((f,m)=>Pg(f,e&&(rt(e)?e[m]:e),t,s,i));return}if(ea(s)&&!i)return;const r=s.shapeFlag&4?qu(s.component)||s.component.proxy:s.el,o=i?null:r,{i:a,r:c}=n,d=e&&e.r,u=a.refs===Zt?a.refs={}:a.refs,h=a.setupState;if(d!=null&&d!==c&&(sn(d)?(u[d]=null,kt(h,d)&&(h[d]=null)):fn(d)&&(d.value=null)),bt(c))mr(c,a,12,[o,u]);else{const f=sn(c),m=fn(c);if(f||m){const _=()=>{if(n.f){const g=f?kt(h,c)?h[c]:u[c]:c.value;i?rt(g)&&Fb(g,r):rt(g)?g.includes(r)||g.push(r):f?(u[c]=[r],kt(h,c)&&(h[c]=u[c])):(c.value=[r],n.k&&(u[n.k]=c.value))}else f?(u[c]=o,kt(h,c)&&(h[c]=o)):m&&(c.value=o,n.k&&(u[n.k]=o))};o?(_.id=-1,wn(_,t)):_()}}}const wn=XM;function wk(n){return Rk(n)}function Rk(n,e){const t=Rg();t.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:c,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:m=zs,insertStaticContent:_}=n,g=(N,z,Y,ce=null,oe=null,xe=null,Ne=!1,ie=null,Re=!!z.dynamicChildren)=>{if(N===z)return;N&&!ur(N,z)&&(ce=Z(N),Se(N,oe,xe,!0),N=null),z.patchFlag===-2&&(Re=!1,z.dynamicChildren=null);const{type:ge,ref:De,shapeFlag:L}=z;switch(ge){case zu:b(N,z,Y,ce);break;case Ss:E(N,z,Y,ce);break;case Nd:N==null&&y(z,Y,ce,Ne);break;case Ge:H(N,z,Y,ce,oe,xe,Ne,ie,Re);break;default:L&1?R(N,z,Y,ce,oe,xe,Ne,ie,Re):L&6?te(N,z,Y,ce,oe,xe,Ne,ie,Re):(L&64||L&128)&&ge.process(N,z,Y,ce,oe,xe,Ne,ie,Re,_e)}De!=null&&oe&&Pg(De,N&&N.ref,xe,z||N,!z)},b=(N,z,Y,ce)=>{if(N==null)s(z.el=a(z.children),Y,ce);else{const oe=z.el=N.el;z.children!==N.children&&d(oe,z.children)}},E=(N,z,Y,ce)=>{N==null?s(z.el=c(z.children||""),Y,ce):z.el=N.el},y=(N,z,Y,ce)=>{[N.el,N.anchor]=_(N.children,z,Y,ce,N.el,N.anchor)},v=({el:N,anchor:z},Y,ce)=>{let oe;for(;N&&N!==z;)oe=f(N),s(N,Y,ce),N=oe;s(z,Y,ce)},S=({el:N,anchor:z})=>{let Y;for(;N&&N!==z;)Y=f(N),i(N),N=Y;i(z)},R=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{Ne=Ne||z.type==="svg",N==null?w(z,Y,ce,oe,xe,Ne,ie,Re):x(N,z,oe,xe,Ne,ie,Re)},w=(N,z,Y,ce,oe,xe,Ne,ie)=>{let Re,ge;const{type:De,props:L,shapeFlag:I,transition:Q,dirs:ye}=N;if(Re=N.el=o(N.type,xe,L&&L.is,L),I&8?u(Re,N.children):I&16&&M(N.children,Re,null,ce,oe,xe&&De!=="foreignObject",Ne,ie),ye&&Ar(N,null,ce,"created"),A(Re,N,N.scopeId,Ne,ce),L){for(const se in L)se!=="value"&&!Rd(se)&&r(Re,se,null,L[se],xe,N.children,ce,oe,ke);"value"in L&&r(Re,"value",null,L.value),(ge=L.onVnodeBeforeMount)&&ps(ge,ce,N)}ye&&Ar(N,null,ce,"beforeMount");const X=(!oe||oe&&!oe.pendingBranch)&&Q&&!Q.persisted;X&&Q.beforeEnter(Re),s(Re,z,Y),((ge=L&&L.onVnodeMounted)||X||ye)&&wn(()=>{ge&&ps(ge,ce,N),X&&Q.enter(Re),ye&&Ar(N,null,ce,"mounted")},oe)},A=(N,z,Y,ce,oe)=>{if(Y&&m(N,Y),ce)for(let xe=0;xe{for(let ge=Re;ge{const ie=z.el=N.el;let{patchFlag:Re,dynamicChildren:ge,dirs:De}=z;Re|=N.patchFlag&16;const L=N.props||Zt,I=z.props||Zt;let Q;Y&&Nr(Y,!1),(Q=I.onVnodeBeforeUpdate)&&ps(Q,Y,z,N),De&&Ar(z,N,Y,"beforeUpdate"),Y&&Nr(Y,!0);const ye=oe&&z.type!=="foreignObject";if(ge?O(N.dynamicChildren,ge,ie,Y,ce,ye,xe):Ne||W(N,z,ie,null,Y,ce,ye,xe,!1),Re>0){if(Re&16)B(ie,z,L,I,Y,ce,oe);else if(Re&2&&L.class!==I.class&&r(ie,"class",null,I.class,oe),Re&4&&r(ie,"style",L.style,I.style,oe),Re&8){const X=z.dynamicProps;for(let se=0;se{Q&&ps(Q,Y,z,N),De&&Ar(z,N,Y,"updated")},ce)},O=(N,z,Y,ce,oe,xe,Ne)=>{for(let ie=0;ie{if(Y!==ce){if(Y!==Zt)for(const ie in Y)!Rd(ie)&&!(ie in ce)&&r(N,ie,Y[ie],null,Ne,z.children,oe,xe,ke);for(const ie in ce){if(Rd(ie))continue;const Re=ce[ie],ge=Y[ie];Re!==ge&&ie!=="value"&&r(N,ie,ge,Re,Ne,z.children,oe,xe,ke)}"value"in ce&&r(N,"value",Y.value,ce.value)}},H=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{const ge=z.el=N?N.el:a(""),De=z.anchor=N?N.anchor:a("");let{patchFlag:L,dynamicChildren:I,slotScopeIds:Q}=z;Q&&(ie=ie?ie.concat(Q):Q),N==null?(s(ge,Y,ce),s(De,Y,ce),M(z.children,Y,De,oe,xe,Ne,ie,Re)):L>0&&L&64&&I&&N.dynamicChildren?(O(N.dynamicChildren,I,Y,oe,xe,Ne,ie),(z.key!=null||oe&&z===oe.subTree)&&Zb(N,z,!0)):W(N,z,Y,De,oe,xe,Ne,ie,Re)},te=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{z.slotScopeIds=ie,N==null?z.shapeFlag&512?oe.ctx.activate(z,Y,ce,Ne,Re):k(z,Y,ce,oe,xe,Ne,Re):$(N,z,Re)},k=(N,z,Y,ce,oe,xe,Ne)=>{const ie=N.component=Uk(N,ce,oe);if(Bu(N)&&(ie.ctx.renderer=_e),Bk(ie),ie.asyncDep){if(oe&&oe.registerDep(ie,q),!N.el){const Re=ie.subTree=V(Ss);E(null,Re,z,Y)}return}q(ie,N,z,Y,oe,xe,Ne)},$=(N,z,Y)=>{const ce=z.component=N.component;if(jM(N,z,Y))if(ce.asyncDep&&!ce.asyncResolved){F(ce,z,Y);return}else ce.next=z,HM(ce.update),ce.update();else z.el=N.el,ce.vnode=z},q=(N,z,Y,ce,oe,xe,Ne)=>{const ie=()=>{if(N.isMounted){let{next:De,bu:L,u:I,parent:Q,vnode:ye}=N,X=De,se;Nr(N,!1),De?(De.el=ye.el,F(N,De,Ne)):De=ye,L&&Xo(L),(se=De.props&&De.props.onVnodeBeforeUpdate)&&ps(se,Q,De,ye),Nr(N,!0);const Ae=kp(N),Ce=N.subTree;N.subTree=Ae,g(Ce,Ae,h(Ce.el),Z(Ce),N,oe,xe),De.el=Ae.el,X===null&&QM(N,Ae.el),I&&wn(I,oe),(se=De.props&&De.props.onVnodeUpdated)&&wn(()=>ps(se,Q,De,ye),oe)}else{let De;const{el:L,props:I}=z,{bm:Q,m:ye,parent:X}=N,se=ea(z);if(Nr(N,!1),Q&&Xo(Q),!se&&(De=I&&I.onVnodeBeforeMount)&&ps(De,X,z),Nr(N,!0),L&&Pe){const Ae=()=>{N.subTree=kp(N),Pe(L,N.subTree,N,oe,null)};se?z.type.__asyncLoader().then(()=>!N.isUnmounted&&Ae()):Ae()}else{const Ae=N.subTree=kp(N);g(null,Ae,Y,ce,N,oe,xe),z.el=Ae.el}if(ye&&wn(ye,oe),!se&&(De=I&&I.onVnodeMounted)){const Ae=z;wn(()=>ps(De,X,Ae),oe)}(z.shapeFlag&256||X&&ea(X.vnode)&&X.vnode.shapeFlag&256)&&N.a&&wn(N.a,oe),N.isMounted=!0,z=Y=ce=null}},Re=N.effect=new Vb(ie,()=>Wb(ge),N.scope),ge=N.update=()=>Re.run();ge.id=N.uid,Nr(N,!0),ge()},F=(N,z,Y)=>{z.component=N;const ce=N.vnode.props;N.vnode=z,N.next=null,Sk(N,z.props,ce,Y),Ck(N,z.children,Y),La(),Zy(),Pa()},W=(N,z,Y,ce,oe,xe,Ne,ie,Re=!1)=>{const ge=N&&N.children,De=N?N.shapeFlag:0,L=z.children,{patchFlag:I,shapeFlag:Q}=z;if(I>0){if(I&128){le(ge,L,Y,ce,oe,xe,Ne,ie,Re);return}else if(I&256){ne(ge,L,Y,ce,oe,xe,Ne,ie,Re);return}}Q&8?(De&16&&ke(ge,oe,xe),L!==ge&&u(Y,L)):De&16?Q&16?le(ge,L,Y,ce,oe,xe,Ne,ie,Re):ke(ge,oe,xe,!0):(De&8&&u(Y,""),Q&16&&M(L,Y,ce,oe,xe,Ne,ie,Re))},ne=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{N=N||jo,z=z||jo;const ge=N.length,De=z.length,L=Math.min(ge,De);let I;for(I=0;IDe?ke(N,oe,xe,!0,!1,L):M(z,Y,ce,oe,xe,Ne,ie,Re,L)},le=(N,z,Y,ce,oe,xe,Ne,ie,Re)=>{let ge=0;const De=z.length;let L=N.length-1,I=De-1;for(;ge<=L&&ge<=I;){const Q=N[ge],ye=z[ge]=Re?sr(z[ge]):ni(z[ge]);if(ur(Q,ye))g(Q,ye,Y,null,oe,xe,Ne,ie,Re);else break;ge++}for(;ge<=L&&ge<=I;){const Q=N[L],ye=z[I]=Re?sr(z[I]):ni(z[I]);if(ur(Q,ye))g(Q,ye,Y,null,oe,xe,Ne,ie,Re);else break;L--,I--}if(ge>L){if(ge<=I){const Q=I+1,ye=QI)for(;ge<=L;)Se(N[ge],oe,xe,!0),ge++;else{const Q=ge,ye=ge,X=new Map;for(ge=ye;ge<=I;ge++){const pt=z[ge]=Re?sr(z[ge]):ni(z[ge]);pt.key!=null&&X.set(pt.key,ge)}let se,Ae=0;const Ce=I-ye+1;let Fe=!1,Ze=0;const ft=new Array(Ce);for(ge=0;ge=Ce){Se(pt,oe,xe,!0);continue}let st;if(pt.key!=null)st=X.get(pt.key);else for(se=ye;se<=I;se++)if(ft[se-ye]===0&&ur(pt,z[se])){st=se;break}st===void 0?Se(pt,oe,xe,!0):(ft[st-ye]=ge+1,st>=Ze?Ze=st:Fe=!0,g(pt,z[st],Y,null,oe,xe,Ne,ie,Re),Ae++)}const Ue=Fe?Ak(ft):jo;for(se=Ue.length-1,ge=Ce-1;ge>=0;ge--){const pt=ye+ge,st=z[pt],Ye=pt+1{const{el:xe,type:Ne,transition:ie,children:Re,shapeFlag:ge}=N;if(ge&6){me(N.component.subTree,z,Y,ce);return}if(ge&128){N.suspense.move(z,Y,ce);return}if(ge&64){Ne.move(N,z,Y,_e);return}if(Ne===Ge){s(xe,z,Y);for(let L=0;Lie.enter(xe),oe);else{const{leave:L,delayLeave:I,afterLeave:Q}=ie,ye=()=>s(xe,z,Y),X=()=>{L(xe,()=>{ye(),Q&&Q()})};I?I(xe,ye,X):X()}else s(xe,z,Y)},Se=(N,z,Y,ce=!1,oe=!1)=>{const{type:xe,props:Ne,ref:ie,children:Re,dynamicChildren:ge,shapeFlag:De,patchFlag:L,dirs:I}=N;if(ie!=null&&Pg(ie,null,Y,N,!0),De&256){z.ctx.deactivate(N);return}const Q=De&1&&I,ye=!ea(N);let X;if(ye&&(X=Ne&&Ne.onVnodeBeforeUnmount)&&ps(X,z,N),De&6)Ie(N.component,Y,ce);else{if(De&128){N.suspense.unmount(Y,ce);return}Q&&Ar(N,null,z,"beforeUnmount"),De&64?N.type.remove(N,z,Y,oe,_e,ce):ge&&(xe!==Ge||L>0&&L&64)?ke(ge,z,Y,!1,!0):(xe===Ge&&L&384||!oe&&De&16)&&ke(Re,z,Y),ce&&de(N)}(ye&&(X=Ne&&Ne.onVnodeUnmounted)||Q)&&wn(()=>{X&&ps(X,z,N),Q&&Ar(N,null,z,"unmounted")},Y)},de=N=>{const{type:z,el:Y,anchor:ce,transition:oe}=N;if(z===Ge){Ee(Y,ce);return}if(z===Nd){S(N);return}const xe=()=>{i(Y),oe&&!oe.persisted&&oe.afterLeave&&oe.afterLeave()};if(N.shapeFlag&1&&oe&&!oe.persisted){const{leave:Ne,delayLeave:ie}=oe,Re=()=>Ne(Y,xe);ie?ie(N.el,xe,Re):Re()}else xe()},Ee=(N,z)=>{let Y;for(;N!==z;)Y=f(N),i(N),N=Y;i(z)},Ie=(N,z,Y)=>{const{bum:ce,scope:oe,update:xe,subTree:Ne,um:ie}=N;ce&&Xo(ce),oe.stop(),xe&&(xe.active=!1,Se(Ne,N,z,Y)),ie&&wn(ie,z),wn(()=>{N.isUnmounted=!0},z),z&&z.pendingBranch&&!z.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===z.pendingId&&(z.deps--,z.deps===0&&z.resolve())},ke=(N,z,Y,ce=!1,oe=!1,xe=0)=>{for(let Ne=xe;NeN.shapeFlag&6?Z(N.component.subTree):N.shapeFlag&128?N.suspense.next():f(N.anchor||N.el),he=(N,z,Y)=>{N==null?z._vnode&&Se(z._vnode,null,null,!0):g(z._vnode||null,N,z,null,null,null,Y),Zy(),BR(),z._vnode=N},_e={p:g,um:Se,m:me,r:de,mt:k,mc:M,pc:W,pbc:O,n:Z,o:n};let we,Pe;return e&&([we,Pe]=e(_e)),{render:he,hydrate:we,createApp:yk(he,we)}}function Nr({effect:n,update:e},t){n.allowRecurse=e.allowRecurse=t}function Zb(n,e,t=!1){const s=n.children,i=e.children;if(rt(s)&&rt(i))for(let r=0;r>1,n[t[a]]0&&(e[s]=t[r-1]),t[r]=s)}}for(r=t.length,o=t[r-1];r-- >0;)t[r]=o,o=e[o];return t}const Nk=n=>n.__isTeleport,Cl=n=>n&&(n.disabled||n.disabled===""),dv=n=>typeof SVGElement<"u"&&n instanceof SVGElement,Fg=(n,e)=>{const t=n&&n.to;return sn(t)?e?e(t):null:t},Ok={__isTeleport:!0,process(n,e,t,s,i,r,o,a,c,d){const{mc:u,pc:h,pbc:f,o:{insert:m,querySelector:_,createText:g,createComment:b}}=d,E=Cl(e.props);let{shapeFlag:y,children:v,dynamicChildren:S}=e;if(n==null){const R=e.el=g(""),w=e.anchor=g("");m(R,t,s),m(w,t,s);const A=e.target=Fg(e.props,_),M=e.targetAnchor=g("");A&&(m(M,A),o=o||dv(A));const x=(O,B)=>{y&16&&u(v,O,B,i,r,o,a,c)};E?x(t,w):A&&x(A,M)}else{e.el=n.el;const R=e.anchor=n.anchor,w=e.target=n.target,A=e.targetAnchor=n.targetAnchor,M=Cl(n.props),x=M?t:w,O=M?R:A;if(o=o||dv(w),S?(f(n.dynamicChildren,S,x,i,r,o,a),Zb(n,e,!0)):c||h(n,e,x,O,i,r,o,a,!1),E)M||Lc(e,t,R,d,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const B=e.target=Fg(e.props,_);B&&Lc(e,B,null,d,0)}else M&&Lc(e,w,A,d,1)}oA(e)},remove(n,e,t,s,{um:i,o:{remove:r}},o){const{shapeFlag:a,children:c,anchor:d,targetAnchor:u,target:h,props:f}=n;if(h&&r(u),(o||!Cl(f))&&(r(d),a&16))for(let m=0;m0?Vs||jo:null,kk(),Yl>0&&Vs&&Vs.push(n),n}function C(n,e,t,s,i,r){return aA(l(n,e,t,s,i,r,!0))}function dt(n,e,t,s,i){return aA(V(n,e,t,s,i,!0))}function Wl(n){return n?n.__v_isVNode===!0:!1}function ur(n,e){return n.type===e.type&&n.key===e.key}const Hu="__vInternal",lA=({key:n})=>n??null,Od=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?sn(n)||fn(n)||bt(n)?{i:Rn,r:n,k:e,f:!!t}:n:null);function l(n,e=null,t=null,s=0,i=null,r=n===Ge?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&lA(e),ref:e&&Od(e),scopeId:Uu,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Rn};return a?(Jb(c,t),r&128&&n.normalize(c)):t&&(c.shapeFlag|=sn(t)?8:16),Yl>0&&!o&&Vs&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Vs.push(c),c}const V=Dk;function Dk(n,e=null,t=null,s=0,i=null,r=!1){if((!n||n===QR)&&(n=Ss),Wl(n)){const a=Bi(n,e,!0);return t&&Jb(a,t),Yl>0&&!r&&Vs&&(a.shapeFlag&6?Vs[Vs.indexOf(n)]=a:Vs.push(a)),a.patchFlag|=-2,a}if(Hk(n)&&(n=n.__vccOpts),e){e=Lk(e);let{class:a,style:c}=e;a&&!sn(a)&&(e.class=Be(a)),qt(c)&&(kR(c)&&!rt(c)&&(c=on({},c)),e.style=jt(c))}const o=sn(n)?1:zR(n)?128:Nk(n)?64:qt(n)?4:bt(n)?2:0;return l(n,e,t,s,i,o,r,!0)}function Lk(n){return n?kR(n)||Hu in n?on({},n):n:null}function Bi(n,e,t=!1){const{props:s,ref:i,patchFlag:r,children:o}=n,a=e?cA(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:n.type,props:a,key:a&&lA(a),ref:e&&e.ref?t&&i?rt(i)?i.concat(Od(e)):[i,Od(e)]:Od(e):i,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:o,target:n.target,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==Ge?r===-1?16:r|16:r,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:n.transition,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&Bi(n.ssContent),ssFallback:n.ssFallback&&Bi(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce}}function Je(n=" ",e=0){return V(zu,null,n,e)}function mo(n,e){const t=V(Nd,null,n);return t.staticCount=e,t}function G(n="",e=!1){return e?(T(),dt(Ss,null,n)):V(Ss,null,n)}function ni(n){return n==null||typeof n=="boolean"?V(Ss):rt(n)?V(Ge,null,n.slice()):typeof n=="object"?sr(n):V(zu,null,String(n))}function sr(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:Bi(n)}function Jb(n,e){let t=0;const{shapeFlag:s}=n;if(e==null)e=null;else if(rt(e))t=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),Jb(n,i()),i._c&&(i._d=!0));return}else{t=32;const i=e._;!i&&!(Hu in e)?e._ctx=Rn:i===3&&Rn&&(Rn.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else bt(e)?(e={default:e,_ctx:Rn},t=32):(e=String(e),s&64?(t=16,e=[Je(e)]):t=8);n.children=e,n.shapeFlag|=t}function cA(...n){const e={};for(let t=0;tvn||Rn;let tE,So,pv="__VUE_INSTANCE_SETTERS__";(So=Rg()[pv])||(So=Rg()[pv]=[]),So.push(n=>vn=n),tE=n=>{So.length>1?So.forEach(e=>e(n)):So[0](n)};const ca=n=>{tE(n),n.scope.on()},Xr=()=>{vn&&vn.scope.off(),tE(null)};function dA(n){return n.vnode.shapeFlag&4}let Kl=!1;function Bk(n,e=!1){Kl=e;const{props:t,children:s}=n.vnode,i=dA(n);vk(n,t,i,e),xk(n,s);const r=i?Gk(n,e):void 0;return Kl=!1,r}function Gk(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=ac(new Proxy(n.ctx,_k));const{setup:s}=t;if(s){const i=n.setupContext=s.length>1?zk(n):null;ca(n),La();const r=mr(s,n,0,[n.props,i]);if(Pa(),Xr(),pR(r)){if(r.then(Xr,Xr),e)return r.then(o=>{_v(n,o,e)}).catch(o=>{Pu(o,n,0)});n.asyncDep=r}else _v(n,r,e)}else uA(n,e)}function _v(n,e,t){bt(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:qt(e)&&(n.setupState=LR(e)),uA(n,t)}let hv;function uA(n,e,t){const s=n.type;if(!n.render){if(!e&&hv&&!s.render){const i=s.template||Qb(n).template;if(i){const{isCustomElement:r,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:c}=s,d=on(on({isCustomElement:r,delimiters:a},o),c);s.render=hv(i,d)}}n.render=s.render||zs}ca(n),La(),hk(n),Pa(),Xr()}function Vk(n){return n.attrsProxy||(n.attrsProxy=new Proxy(n.attrs,{get(e,t){return jn(n,"get","$attrs"),e[t]}}))}function zk(n){const e=t=>{n.exposed=t||{}};return{get attrs(){return Vk(n)},slots:n.slots,emit:n.emit,expose:e}}function qu(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(LR(ac(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in xl)return xl[t](n)},has(e,t){return t in e||t in xl}}))}function Ug(n,e=!0){return bt(n)?n.displayName||n.name:n.name||e&&n.__name}function Hk(n){return bt(n)&&"__vccOpts"in n}const et=(n,e)=>GM(n,e,Kl);function nE(n,e,t){const s=arguments.length;return s===2?qt(e)&&!rt(e)?Wl(e)?V(n,null,[e]):V(n,e):V(n,null,e):(s>3?t=Array.prototype.slice.call(arguments,2):s===3&&Wl(t)&&(t=[t]),V(n,e,t))}const qk=Symbol.for("v-scx"),$k=()=>ns(qk),Yk="3.3.4",Wk="http://www.w3.org/2000/svg",Vr=typeof document<"u"?document:null,fv=Vr&&Vr.createElement("template"),Kk={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,s)=>{const i=e?Vr.createElementNS(Wk,n):Vr.createElement(n,t?{is:t}:void 0);return n==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:n=>Vr.createTextNode(n),createComment:n=>Vr.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Vr.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,s,i,r){const o=t?t.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),t),!(i===r||!(i=i.nextSibling)););else{fv.innerHTML=s?`${n}`:n;const a=fv.content;if(s){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}};function jk(n,e,t){const s=n._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}function Qk(n,e,t){const s=n.style,i=sn(t);if(t&&!i){if(e&&!sn(e))for(const r in e)t[r]==null&&Bg(s,r,"");for(const r in t)Bg(s,r,t[r])}else{const r=s.display;i?e!==t&&(s.cssText=t):e&&n.removeAttribute("style"),"_vod"in n&&(s.display=r)}}const mv=/\s*!important$/;function Bg(n,e,t){if(rt(t))t.forEach(s=>Bg(n,e,s));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const s=Xk(n,e);mv.test(t)?n.setProperty(fo(s),t.replace(mv,""),"important"):n[s]=t}}const gv=["Webkit","Moz","ms"],Up={};function Xk(n,e){const t=Up[e];if(t)return t;let s=pi(e);if(s!=="filter"&&s in n)return Up[e]=s;s=Iu(s);for(let i=0;iBp||(sD.then(()=>Bp=0),Bp=Date.now());function rD(n,e){const t=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=t.attached)return;vs(oD(s,t.value),e,5,[s])};return t.value=n,t.attached=iD(),t}function oD(n,e){if(rt(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const yv=/^on[a-z]/,aD=(n,e,t,s,i=!1,r,o,a,c)=>{e==="class"?jk(n,s,i):e==="style"?Qk(n,t,s):Nu(e)?Pb(e)||tD(n,e,t,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):lD(n,e,s,i))?Jk(n,e,s,r,o,a,c):(e==="true-value"?n._trueValue=s:e==="false-value"&&(n._falseValue=s),Zk(n,e,s,i))};function lD(n,e,t,s){return s?!!(e==="innerHTML"||e==="textContent"||e in n&&yv.test(e)&&bt(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA"||yv.test(e)&&sn(t)?!1:e in n}const Wi="transition",tl="animation",Hs=(n,{slots:e})=>nE(ek,_A(n),e);Hs.displayName="Transition";const pA={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},cD=Hs.props=on({},YR,pA),Or=(n,e=[])=>{rt(n)?n.forEach(t=>t(...e)):n&&n(...e)},vv=n=>n?rt(n)?n.some(e=>e.length>1):n.length>1:!1;function _A(n){const e={};for(const H in n)H in pA||(e[H]=n[H]);if(n.css===!1)return e;const{name:t="v",type:s,duration:i,enterFromClass:r=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:c=r,appearActiveClass:d=o,appearToClass:u=a,leaveFromClass:h=`${t}-leave-from`,leaveActiveClass:f=`${t}-leave-active`,leaveToClass:m=`${t}-leave-to`}=n,_=dD(i),g=_&&_[0],b=_&&_[1],{onBeforeEnter:E,onEnter:y,onEnterCancelled:v,onLeave:S,onLeaveCancelled:R,onBeforeAppear:w=E,onAppear:A=y,onAppearCancelled:M=v}=e,x=(H,te,k)=>{nr(H,te?u:a),nr(H,te?d:o),k&&k()},O=(H,te)=>{H._isLeaving=!1,nr(H,h),nr(H,m),nr(H,f),te&&te()},B=H=>(te,k)=>{const $=H?A:y,q=()=>x(te,H,k);Or($,[te,q]),Sv(()=>{nr(te,H?c:r),Oi(te,H?u:a),vv($)||Tv(te,s,g,q)})};return on(e,{onBeforeEnter(H){Or(E,[H]),Oi(H,r),Oi(H,o)},onBeforeAppear(H){Or(w,[H]),Oi(H,c),Oi(H,d)},onEnter:B(!1),onAppear:B(!0),onLeave(H,te){H._isLeaving=!0;const k=()=>O(H,te);Oi(H,h),fA(),Oi(H,f),Sv(()=>{H._isLeaving&&(nr(H,h),Oi(H,m),vv(S)||Tv(H,s,b,k))}),Or(S,[H,k])},onEnterCancelled(H){x(H,!1),Or(v,[H])},onAppearCancelled(H){x(H,!0),Or(M,[H])},onLeaveCancelled(H){O(H),Or(R,[H])}})}function dD(n){if(n==null)return null;if(qt(n))return[Gp(n.enter),Gp(n.leave)];{const e=Gp(n);return[e,e]}}function Gp(n){return $I(n)}function Oi(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n._vtc||(n._vtc=new Set)).add(e)}function nr(n,e){e.split(/\s+/).forEach(s=>s&&n.classList.remove(s));const{_vtc:t}=n;t&&(t.delete(e),t.size||(n._vtc=void 0))}function Sv(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let uD=0;function Tv(n,e,t,s){const i=n._endId=++uD,r=()=>{i===n._endId&&s()};if(t)return setTimeout(r,t);const{type:o,timeout:a,propCount:c}=hA(n,e);if(!o)return s();const d=o+"end";let u=0;const h=()=>{n.removeEventListener(d,f),r()},f=m=>{m.target===n&&++u>=c&&h()};setTimeout(()=>{u(t[_]||"").split(", "),i=s(`${Wi}Delay`),r=s(`${Wi}Duration`),o=xv(i,r),a=s(`${tl}Delay`),c=s(`${tl}Duration`),d=xv(a,c);let u=null,h=0,f=0;e===Wi?o>0&&(u=Wi,h=o,f=r.length):e===tl?d>0&&(u=tl,h=d,f=c.length):(h=Math.max(o,d),u=h>0?o>d?Wi:tl:null,f=u?u===Wi?r.length:c.length:0);const m=u===Wi&&/\b(transform|all)(,|$)/.test(s(`${Wi}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:m}}function xv(n,e){for(;n.lengthCv(t)+Cv(n[s])))}function Cv(n){return Number(n.slice(0,-1).replace(",","."))*1e3}function fA(){return document.body.offsetHeight}const mA=new WeakMap,gA=new WeakMap,bA={name:"TransitionGroup",props:on({},cD,{tag:String,moveClass:String}),setup(n,{slots:e}){const t=eE(),s=$R();let i,r;return lc(()=>{if(!i.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!mD(i[0].el,t.vnode.el,o))return;i.forEach(_D),i.forEach(hD);const a=i.filter(fD);fA(),a.forEach(c=>{const d=c.el,u=d.style;Oi(d,o),u.transform=u.webkitTransform=u.transitionDuration="";const h=d._moveCb=f=>{f&&f.target!==d||(!f||/transform$/.test(f.propertyName))&&(d.removeEventListener("transitionend",h),d._moveCb=null,nr(d,o))};d.addEventListener("transitionend",h)})}),()=>{const o=Mt(n),a=_A(o);let c=o.tag||Ge;i=r,r=e.default?Kb(e.default()):[];for(let d=0;ddelete n.mode;bA.props;const di=bA;function _D(n){const e=n.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function hD(n){gA.set(n,n.el.getBoundingClientRect())}function fD(n){const e=mA.get(n),t=gA.get(n),s=e.left-t.left,i=e.top-t.top;if(s||i){const r=n.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",n}}function mD(n,e,t){const s=n.cloneNode();n._vtc&&n._vtc.forEach(o=>{o.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),t.split(/\s+/).forEach(o=>o&&s.classList.add(o)),s.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(s);const{hasTransform:r}=hA(s);return i.removeChild(s),r}const Sr=n=>{const e=n.props["onUpdate:modelValue"]||!1;return rt(e)?t=>Xo(e,t):e};function gD(n){n.target.composing=!0}function wv(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const pe={created(n,{modifiers:{lazy:e,trim:t,number:s}},i){n._assign=Sr(i);const r=s||i.props&&i.props.type==="number";ki(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),r&&(a=$d(a)),n._assign(a)}),t&&ki(n,"change",()=>{n.value=n.value.trim()}),e||(ki(n,"compositionstart",gD),ki(n,"compositionend",wv),ki(n,"change",wv))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,modifiers:{lazy:t,trim:s,number:i}},r){if(n._assign=Sr(r),n.composing||document.activeElement===n&&n.type!=="range"&&(t||s&&n.value.trim()===e||(i||n.type==="number")&&$d(n.value)===e))return;const o=e??"";n.value!==o&&(n.value=o)}},$e={deep:!0,created(n,e,t){n._assign=Sr(t),ki(n,"change",()=>{const s=n._modelValue,i=da(n),r=n.checked,o=n._assign;if(rt(s)){const a=Bb(s,i),c=a!==-1;if(r&&!c)o(s.concat(i));else if(!r&&c){const d=[...s];d.splice(a,1),o(d)}}else if(ka(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(EA(n,r))})},mounted:Rv,beforeUpdate(n,e,t){n._assign=Sr(t),Rv(n,e,t)}};function Rv(n,{value:e,oldValue:t},s){n._modelValue=e,rt(e)?n.checked=Bb(e,s.props.value)>-1:ka(e)?n.checked=e.has(s.props.value):e!==t&&(n.checked=io(e,EA(n,!0)))}const bD={created(n,{value:e},t){n.checked=io(e,t.props.value),n._assign=Sr(t),ki(n,"change",()=>{n._assign(da(n))})},beforeUpdate(n,{value:e,oldValue:t},s){n._assign=Sr(s),e!==t&&(n.checked=io(e,s.props.value))}},Dt={deep:!0,created(n,{value:e,modifiers:{number:t}},s){const i=ka(e);ki(n,"change",()=>{const r=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?$d(da(o)):da(o));n._assign(n.multiple?i?new Set(r):r:r[0])}),n._assign=Sr(s)},mounted(n,{value:e}){Av(n,e)},beforeUpdate(n,e,t){n._assign=Sr(t)},updated(n,{value:e}){Av(n,e)}};function Av(n,e){const t=n.multiple;if(!(t&&!rt(e)&&!ka(e))){for(let s=0,i=n.options.length;s-1:r.selected=e.has(o);else if(io(da(r),e)){n.selectedIndex!==s&&(n.selectedIndex=s);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function da(n){return"_value"in n?n._value:n.value}function EA(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const ED=["ctrl","shift","alt","meta"],yD={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>ED.some(t=>n[`${t}Key`]&&!e.includes(t))},j=(n,e)=>(t,...s)=>{for(let i=0;it=>{if(!("key"in t))return;const s=fo(t.key);if(e.some(i=>i===s||vD[i]===s))return n(t)},wt={beforeMount(n,{value:e},{transition:t}){n._vod=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):nl(n,e)},mounted(n,{value:e},{transition:t}){t&&e&&t.enter(n)},updated(n,{value:e,oldValue:t},{transition:s}){!e!=!t&&(s?e?(s.beforeEnter(n),nl(n,!0),s.enter(n)):s.leave(n,()=>{nl(n,!1)}):nl(n,e))},beforeUnmount(n,{value:e}){nl(n,e)}};function nl(n,e){n.style.display=e?n._vod:"none"}const SD=on({patchProp:aD},Kk);let Nv;function TD(){return Nv||(Nv=wk(SD))}const xD=(...n)=>{const e=TD().createApp(...n),{mount:t}=e;return e.mount=s=>{const i=CD(s);if(!i)return;const r=e._component;!bt(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const o=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function CD(n){return sn(n)?document.querySelector(n):n}function wD(){return yA().__VUE_DEVTOOLS_GLOBAL_HOOK__}function yA(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const RD=typeof Proxy=="function",AD="devtools-plugin:setup",ND="plugin:settings:set";let To,Gg;function OD(){var n;return To!==void 0||(typeof window<"u"&&window.performance?(To=!0,Gg=window.performance):typeof global<"u"&&(!((n=global.perf_hooks)===null||n===void 0)&&n.performance)?(To=!0,Gg=global.perf_hooks.performance):To=!1),To}function ID(){return OD()?Gg.now():Date.now()}class MD{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const s={};if(e.settings)for(const o in e.settings){const a=e.settings[o];s[o]=a.defaultValue}const i=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const o=localStorage.getItem(i),a=JSON.parse(o);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(o){try{localStorage.setItem(i,JSON.stringify(o))}catch{}r=o},now(){return ID()}},t&&t.on(ND,(o,a)=>{o===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(o,a)=>this.target?this.target.on[a]:(...c)=>{this.onQueue.push({method:a,args:c})}}),this.proxiedTarget=new Proxy({},{get:(o,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...c)=>(this.targetQueue.push({method:a,args:c,resolve:()=>{}}),this.fallbacks[a](...c)):(...c)=>new Promise(d=>{this.targetQueue.push({method:a,args:c,resolve:d})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function kD(n,e){const t=n,s=yA(),i=wD(),r=RD&&t.enableEarlyProxy;if(i&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))i.emit(AD,n,e);else{const o=r?new MD(t,i):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:t,setupFn:e,proxy:o}),o&&e(o.proxiedTarget)}}/*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT - */var vA="store";function DD(n){return n===void 0&&(n=null),ns(n!==null?n:vA)}function Ua(n,e){Object.keys(n).forEach(function(t){return e(n[t],t)})}function SA(n){return n!==null&&typeof n=="object"}function LD(n){return n&&typeof n.then=="function"}function PD(n,e){return function(){return n(e)}}function TA(n,e,t){return e.indexOf(n)<0&&(t&&t.prepend?e.unshift(n):e.push(n)),function(){var s=e.indexOf(n);s>-1&&e.splice(s,1)}}function xA(n,e){n._actions=Object.create(null),n._mutations=Object.create(null),n._wrappedGetters=Object.create(null),n._modulesNamespaceMap=Object.create(null);var t=n.state;$u(n,t,[],n._modules.root,!0),sE(n,t,e)}function sE(n,e,t){var s=n._state,i=n._scope;n.getters={},n._makeLocalGettersCache=Object.create(null);var r=n._wrappedGetters,o={},a={},c=JM(!0);c.run(function(){Ua(r,function(d,u){o[u]=PD(d,n),a[u]=et(function(){return o[u]()}),Object.defineProperty(n.getters,u,{get:function(){return a[u].value},enumerable:!0})})}),n._state=Qn({data:e}),n._scope=c,n.strict&&VD(n),s&&t&&n._withCommit(function(){s.data=null}),i&&i.stop()}function $u(n,e,t,s,i){var r=!t.length,o=n._modules.getNamespace(t);if(s.namespaced&&(n._modulesNamespaceMap[o],n._modulesNamespaceMap[o]=s),!r&&!i){var a=iE(e,t.slice(0,-1)),c=t[t.length-1];n._withCommit(function(){a[c]=s.state})}var d=s.context=FD(n,o,t);s.forEachMutation(function(u,h){var f=o+h;UD(n,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:o+h,m=u.handler||u;BD(n,f,m,d)}),s.forEachGetter(function(u,h){var f=o+h;GD(n,f,u,d)}),s.forEachChild(function(u,h){$u(n,e,t.concat(h),u,i)})}function FD(n,e,t){var s=e==="",i={dispatch:s?n.dispatch:function(r,o,a){var c=Zd(r,o,a),d=c.payload,u=c.options,h=c.type;return(!u||!u.root)&&(h=e+h),n.dispatch(h,d)},commit:s?n.commit:function(r,o,a){var c=Zd(r,o,a),d=c.payload,u=c.options,h=c.type;(!u||!u.root)&&(h=e+h),n.commit(h,d,u)}};return Object.defineProperties(i,{getters:{get:s?function(){return n.getters}:function(){return CA(n,e)}},state:{get:function(){return iE(n.state,t)}}}),i}function CA(n,e){if(!n._makeLocalGettersCache[e]){var t={},s=e.length;Object.keys(n.getters).forEach(function(i){if(i.slice(0,s)===e){var r=i.slice(s);Object.defineProperty(t,r,{get:function(){return n.getters[i]},enumerable:!0})}}),n._makeLocalGettersCache[e]=t}return n._makeLocalGettersCache[e]}function UD(n,e,t,s){var i=n._mutations[e]||(n._mutations[e]=[]);i.push(function(o){t.call(n,s.state,o)})}function BD(n,e,t,s){var i=n._actions[e]||(n._actions[e]=[]);i.push(function(o){var a=t.call(n,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:n.getters,rootState:n.state},o);return LD(a)||(a=Promise.resolve(a)),n._devtoolHook?a.catch(function(c){throw n._devtoolHook.emit("vuex:error",c),c}):a})}function GD(n,e,t,s){n._wrappedGetters[e]||(n._wrappedGetters[e]=function(r){return t(s.state,s.getters,r.state,r.getters)})}function VD(n){Ln(function(){return n._state.data},function(){},{deep:!0,flush:"sync"})}function iE(n,e){return e.reduce(function(t,s){return t[s]},n)}function Zd(n,e,t){return SA(n)&&n.type&&(t=e,e=n,n=n.type),{type:n,payload:e,options:t}}var zD="vuex bindings",Ov="vuex:mutations",Vp="vuex:actions",To="vuex",HD=0;function qD(n,e){kD({id:"org.vuejs.vuex",app:n,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[zD]},function(t){t.addTimelineLayer({id:Ov,label:"Vuex Mutations",color:Mv}),t.addTimelineLayer({id:Vp,label:"Vuex Actions",color:Mv}),t.addInspector({id:To,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),t.on.getInspectorTree(function(s){if(s.app===n&&s.inspectorId===To)if(s.filter){var i=[];NA(i,e._modules.root,s.filter,""),s.rootNodes=i}else s.rootNodes=[AA(e._modules.root,"")]}),t.on.getInspectorState(function(s){if(s.app===n&&s.inspectorId===To){var i=s.nodeId;CA(e,i),s.state=WD(jD(e._modules,i),i==="root"?e.getters:e._makeLocalGettersCache,i)}}),t.on.editInspectorState(function(s){if(s.app===n&&s.inspectorId===To){var i=s.nodeId,r=s.path;i!=="root"&&(r=i.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,i){var r={};s.payload&&(r.payload=s.payload),r.state=i,t.notifyComponentUpdate(),t.sendInspectorTree(To),t.sendInspectorState(To),t.addTimelineEvent({layerId:Ov,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,i){var r={};s.payload&&(r.payload=s.payload),s._id=HD++,s._time=Date.now(),r.state=i,t.addTimelineEvent({layerId:Vp,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,i){var r={},o=Date.now()-s._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},s.payload&&(r.payload=s.payload),r.state=i,t.addTimelineEvent({layerId:Vp,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var Mv=8702998,$D=6710886,YD=16777215,wA={label:"namespaced",textColor:YD,backgroundColor:$D};function RA(n){return n&&n!=="root"?n.split("/").slice(-2,-1)[0]:"Root"}function AA(n,e){return{id:e||"root",label:RA(e),tags:n.namespaced?[wA]:[],children:Object.keys(n._children).map(function(t){return AA(n._children[t],e+t+"/")})}}function NA(n,e,t,s){s.includes(t)&&n.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[wA]:[]}),Object.keys(e._children).forEach(function(i){NA(n,e._children[i],t,s+i+"/")})}function WD(n,e,t){e=t==="root"?e:e[t];var s=Object.keys(e),i={state:Object.keys(n.state).map(function(o){return{key:o,editable:!0,value:n.state[o]}})};if(s.length){var r=KD(e);i.getters=Object.keys(r).map(function(o){return{key:o.endsWith("/")?RA(o):o,editable:!1,value:Vg(function(){return r[o]})}})}return i}function KD(n){var e={};return Object.keys(n).forEach(function(t){var s=t.split("/");if(s.length>1){var i=e,r=s.pop();s.forEach(function(o){i[o]||(i[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),i=i[o]._custom.value}),i[r]=Vg(function(){return n[t]})}else e[t]=Vg(function(){return n[t]})}),e}function jD(n,e){var t=e.split("/").filter(function(s){return s});return t.reduce(function(s,i,r){var o=s[i];if(!o)throw new Error('Missing module "'+i+'" for path "'+e+'".');return r===t.length-1?o:o._children},e==="root"?n:n.root._children)}function Vg(n){try{return n()}catch(e){return e}}var Qs=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},OA={namespaced:{configurable:!0}};OA.namespaced.get=function(){return!!this._rawModule.namespaced};Qs.prototype.addChild=function(e,t){this._children[e]=t};Qs.prototype.removeChild=function(e){delete this._children[e]};Qs.prototype.getChild=function(e){return this._children[e]};Qs.prototype.hasChild=function(e){return e in this._children};Qs.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Qs.prototype.forEachChild=function(e){Ua(this._children,e)};Qs.prototype.forEachGetter=function(e){this._rawModule.getters&&Ua(this._rawModule.getters,e)};Qs.prototype.forEachAction=function(e){this._rawModule.actions&&Ua(this._rawModule.actions,e)};Qs.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ua(this._rawModule.mutations,e)};Object.defineProperties(Qs.prototype,OA);var mo=function(e){this.register([],e,!1)};mo.prototype.get=function(e){return e.reduce(function(t,s){return t.getChild(s)},this.root)};mo.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(s,i){return t=t.getChild(i),s+(t.namespaced?i+"/":"")},"")};mo.prototype.update=function(e){MA([],this.root,e)};mo.prototype.register=function(e,t,s){var i=this;s===void 0&&(s=!0);var r=new Qs(t,s);if(e.length===0)this.root=r;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],r)}t.modules&&Ua(t.modules,function(a,c){i.register(e.concat(c),a,s)})};mo.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1],i=t.getChild(s);i&&i.runtime&&t.removeChild(s)};mo.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1];return t?t.hasChild(s):!1};function MA(n,e,t){if(e.update(t),t.modules)for(var s in t.modules){if(!e.getChild(s))return;MA(n.concat(s),e.getChild(s),t.modules[s])}}function QD(n){return new Xn(n)}var Xn=function(e){var t=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var i=e.strict;i===void 0&&(i=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new mo(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,a=this,c=a.dispatch,d=a.commit;this.dispatch=function(f,m){return c.call(o,f,m)},this.commit=function(f,m,_){return d.call(o,f,m,_)},this.strict=i;var u=this._modules.root.state;$u(this,u,[],this._modules.root),sE(this,u),s.forEach(function(h){return h(t)})},rE={state:{configurable:!0}};Xn.prototype.install=function(e,t){e.provide(t||vA,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&qD(e,this)};rE.state.get=function(){return this._state.data};rE.state.set=function(n){};Xn.prototype.commit=function(e,t,s){var i=this,r=Zd(e,t,s),o=r.type,a=r.payload,c={type:o,payload:a},d=this._mutations[o];d&&(this._withCommit(function(){d.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(c,i.state)}))};Xn.prototype.dispatch=function(e,t){var s=this,i=Zd(e,t),r=i.type,o=i.payload,a={type:r,payload:o},c=this._actions[r];if(c){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var d=c.length>1?Promise.all(c.map(function(u){return u(o)})):c[0](o);return new Promise(function(u,h){d.then(function(f){try{s._actionSubscribers.filter(function(m){return m.after}).forEach(function(m){return m.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(m){return m.error}).forEach(function(m){return m.error(a,s.state,f)})}catch{}h(f)})})}};Xn.prototype.subscribe=function(e,t){return TA(e,this._subscribers,t)};Xn.prototype.subscribeAction=function(e,t){var s=typeof e=="function"?{before:e}:e;return TA(s,this._actionSubscribers,t)};Xn.prototype.watch=function(e,t,s){var i=this;return Ln(function(){return e(i.state,i.getters)},t,Object.assign({},s))};Xn.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._state.data=e})};Xn.prototype.registerModule=function(e,t,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,t),$u(this,this.state,e,this._modules.get(e),s.preserveState),sE(this,this.state)};Xn.prototype.unregisterModule=function(e){var t=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=iE(t.state,e.slice(0,-1));delete s[e[e.length-1]]}),xA(this)};Xn.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Xn.prototype.hotUpdate=function(e){this._modules.update(e),xA(this,!0)};Xn.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t};Object.defineProperties(Xn.prototype,rE);var XD=eL(function(n,e){var t={};return ZD(e).forEach(function(s){var i=s.key,r=s.val;t[i]=function(){var a=this.$store.state,c=this.$store.getters;if(n){var d=tL(this.$store,"mapState",n);if(!d)return;a=d.context.state,c=d.context.getters}return typeof r=="function"?r.call(this,a,c):a[r]},t[i].vuex=!0}),t});function ZD(n){return JD(n)?Array.isArray(n)?n.map(function(e){return{key:e,val:e}}):Object.keys(n).map(function(e){return{key:e,val:n[e]}}):[]}function JD(n){return Array.isArray(n)||SA(n)}function eL(n){return function(e,t){return typeof e!="string"?(t=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),n(e,t)}}function tL(n,e,t){var s=n._modulesNamespaceMap[t];return s}function IA(n,e){return function(){return n.apply(e,arguments)}}const{toString:nL}=Object.prototype,{getPrototypeOf:oE}=Object,Yu=(n=>e=>{const t=nL.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Xs=n=>(n=n.toLowerCase(),e=>Yu(e)===n),Wu=n=>e=>typeof e===n,{isArray:Ba}=Array,jl=Wu("undefined");function sL(n){return n!==null&&!jl(n)&&n.constructor!==null&&!jl(n.constructor)&&ss(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const kA=Xs("ArrayBuffer");function iL(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&kA(n.buffer),e}const rL=Wu("string"),ss=Wu("function"),DA=Wu("number"),Ku=n=>n!==null&&typeof n=="object",oL=n=>n===!0||n===!1,Md=n=>{if(Yu(n)!=="object")return!1;const e=oE(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},aL=Xs("Date"),lL=Xs("File"),cL=Xs("Blob"),dL=Xs("FileList"),uL=n=>Ku(n)&&ss(n.pipe),pL=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||ss(n.append)&&((e=Yu(n))==="formdata"||e==="object"&&ss(n.toString)&&n.toString()==="[object FormData]"))},_L=Xs("URLSearchParams"),[hL,fL,mL,gL]=["ReadableStream","Request","Response","Headers"].map(Xs),bL=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function cc(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let s,i;if(typeof n!="object"&&(n=[n]),Ba(n))for(s=0,i=n.length;s0;)if(i=t[s],e===i.toLowerCase())return i;return null}const Wr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),PA=n=>!jl(n)&&n!==Wr;function zg(){const{caseless:n}=PA(this)&&this||{},e={},t=(s,i)=>{const r=n&&LA(e,i)||i;Md(e[r])&&Md(s)?e[r]=zg(e[r],s):Md(s)?e[r]=zg({},s):Ba(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s(cc(e,(i,r)=>{t&&ss(i)?n[r]=IA(i,t):n[r]=i},{allOwnKeys:s}),n),yL=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),vL=(n,e,t,s)=>{n.prototype=Object.create(e.prototype,s),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},SL=(n,e,t,s)=>{let i,r,o;const a={};if(e=e||{},n==null)return e;do{for(i=Object.getOwnPropertyNames(n),r=i.length;r-- >0;)o=i[r],(!s||s(o,n,e))&&!a[o]&&(e[o]=n[o],a[o]=!0);n=t!==!1&&oE(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},TL=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const s=n.indexOf(e,t);return s!==-1&&s===t},xL=n=>{if(!n)return null;if(Ba(n))return n;let e=n.length;if(!DA(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},CL=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&oE(Uint8Array)),wL=(n,e)=>{const s=(n&&n[Symbol.iterator]).call(n);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(n,r[0],r[1])}},RL=(n,e)=>{let t;const s=[];for(;(t=n.exec(e))!==null;)s.push(t);return s},AL=Xs("HTMLFormElement"),NL=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,s,i){return s.toUpperCase()+i}),Iv=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),OL=Xs("RegExp"),FA=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),s={};cc(t,(i,r)=>{let o;(o=e(i,r,n))!==!1&&(s[r]=o||i)}),Object.defineProperties(n,s)},ML=n=>{FA(n,(e,t)=>{if(ss(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const s=n[t];if(ss(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},IL=(n,e)=>{const t={},s=i=>{i.forEach(r=>{t[r]=!0})};return Ba(n)?s(n):s(String(n).split(e)),t},kL=()=>{},DL=(n,e)=>n!=null&&Number.isFinite(n=+n)?n:e,zp="abcdefghijklmnopqrstuvwxyz",kv="0123456789",UA={DIGIT:kv,ALPHA:zp,ALPHA_DIGIT:zp+zp.toUpperCase()+kv},LL=(n=16,e=UA.ALPHA_DIGIT)=>{let t="";const{length:s}=e;for(;n--;)t+=e[Math.random()*s|0];return t};function PL(n){return!!(n&&ss(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const FL=n=>{const e=new Array(10),t=(s,i)=>{if(Ku(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[i]=s;const r=Ba(s)?[]:{};return cc(s,(o,a)=>{const c=t(o,i+1);!jl(c)&&(r[a]=c)}),e[i]=void 0,r}}return s};return t(n,0)},UL=Xs("AsyncFunction"),BL=n=>n&&(Ku(n)||ss(n))&&ss(n.then)&&ss(n.catch),BA=((n,e)=>n?setImmediate:e?((t,s)=>(Wr.addEventListener("message",({source:i,data:r})=>{i===Wr&&r===t&&s.length&&s.shift()()},!1),i=>{s.push(i),Wr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",ss(Wr.postMessage)),GL=typeof queueMicrotask<"u"?queueMicrotask.bind(Wr):typeof process<"u"&&process.nextTick||BA,Te={isArray:Ba,isArrayBuffer:kA,isBuffer:sL,isFormData:pL,isArrayBufferView:iL,isString:rL,isNumber:DA,isBoolean:oL,isObject:Ku,isPlainObject:Md,isReadableStream:hL,isRequest:fL,isResponse:mL,isHeaders:gL,isUndefined:jl,isDate:aL,isFile:lL,isBlob:cL,isRegExp:OL,isFunction:ss,isStream:uL,isURLSearchParams:_L,isTypedArray:CL,isFileList:dL,forEach:cc,merge:zg,extend:EL,trim:bL,stripBOM:yL,inherits:vL,toFlatObject:SL,kindOf:Yu,kindOfTest:Xs,endsWith:TL,toArray:xL,forEachEntry:wL,matchAll:RL,isHTMLForm:AL,hasOwnProperty:Iv,hasOwnProp:Iv,reduceDescriptors:FA,freezeMethods:ML,toObjectSet:IL,toCamelCase:NL,noop:kL,toFiniteNumber:DL,findKey:LA,global:Wr,isContextDefined:PA,ALPHABET:UA,generateString:LL,isSpecCompliantForm:PL,toJSONObject:FL,isAsyncFn:UL,isThenable:BL,setImmediate:BA,asap:GL};function gt(n,e,t,s,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),s&&(this.request=s),i&&(this.response=i,this.status=i.status?i.status:null)}Te.inherits(gt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Te.toJSONObject(this.config),code:this.code,status:this.status}}});const GA=gt.prototype,VA={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{VA[n]={value:n}});Object.defineProperties(gt,VA);Object.defineProperty(GA,"isAxiosError",{value:!0});gt.from=(n,e,t,s,i,r)=>{const o=Object.create(GA);return Te.toFlatObject(n,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),gt.call(o,n.message,e,t,s,i),o.cause=n,o.name=n.name,r&&Object.assign(o,r),o};const VL=null;function Hg(n){return Te.isPlainObject(n)||Te.isArray(n)}function zA(n){return Te.endsWith(n,"[]")?n.slice(0,-2):n}function Dv(n,e,t){return n?n.concat(e).map(function(i,r){return i=zA(i),!t&&r?"["+i+"]":i}).join(t?".":""):e}function zL(n){return Te.isArray(n)&&!n.some(Hg)}const HL=Te.toFlatObject(Te,{},null,function(e){return/^is[A-Z]/.test(e)});function ju(n,e,t){if(!Te.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=Te.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!Te.isUndefined(b[g])});const s=t.metaTokens,i=t.visitor||u,r=t.dots,o=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&Te.isSpecCompliantForm(e);if(!Te.isFunction(i))throw new TypeError("visitor must be a function");function d(_){if(_===null)return"";if(Te.isDate(_))return _.toISOString();if(!c&&Te.isBlob(_))throw new gt("Blob is not supported. Use a Buffer instead.");return Te.isArrayBuffer(_)||Te.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function u(_,g,b){let E=_;if(_&&!b&&typeof _=="object"){if(Te.endsWith(g,"{}"))g=s?g:g.slice(0,-2),_=JSON.stringify(_);else if(Te.isArray(_)&&zL(_)||(Te.isFileList(_)||Te.endsWith(g,"[]"))&&(E=Te.toArray(_)))return g=zA(g),E.forEach(function(v,S){!(Te.isUndefined(v)||v===null)&&e.append(o===!0?Dv([g],S,r):o===null?g:g+"[]",d(v))}),!1}return Hg(_)?!0:(e.append(Dv(b,g,r),d(_)),!1)}const h=[],f=Object.assign(HL,{defaultVisitor:u,convertValue:d,isVisitable:Hg});function m(_,g){if(!Te.isUndefined(_)){if(h.indexOf(_)!==-1)throw Error("Circular reference detected in "+g.join("."));h.push(_),Te.forEach(_,function(E,y){(!(Te.isUndefined(E)||E===null)&&i.call(e,E,Te.isString(y)?y.trim():y,g,f))===!0&&m(E,g?g.concat(y):[y])}),h.pop()}}if(!Te.isObject(n))throw new TypeError("data must be an object");return m(n),e}function Lv(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function aE(n,e){this._pairs=[],n&&ju(n,this,e)}const HA=aE.prototype;HA.append=function(e,t){this._pairs.push([e,t])};HA.toString=function(e){const t=e?function(s){return e.call(this,s,Lv)}:Lv;return this._pairs.map(function(i){return t(i[0])+"="+t(i[1])},"").join("&")};function qL(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qA(n,e,t){if(!e)return n;const s=t&&t.encode||qL,i=t&&t.serialize;let r;if(i?r=i(e,t):r=Te.isURLSearchParams(e)?e.toString():new aE(e,t).toString(s),r){const o=n.indexOf("#");o!==-1&&(n=n.slice(0,o)),n+=(n.indexOf("?")===-1?"?":"&")+r}return n}class $L{constructor(){this.handlers=[]}use(e,t,s){return this.handlers.push({fulfilled:e,rejected:t,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Te.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Pv=$L,$A={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YL=typeof URLSearchParams<"u"?URLSearchParams:aE,WL=typeof FormData<"u"?FormData:null,KL=typeof Blob<"u"?Blob:null,jL={isBrowser:!0,classes:{URLSearchParams:YL,FormData:WL,Blob:KL},protocols:["http","https","file","blob","url","data"]},lE=typeof window<"u"&&typeof document<"u",qg=typeof navigator=="object"&&navigator||void 0,QL=lE&&(!qg||["ReactNative","NativeScript","NS"].indexOf(qg.product)<0),XL=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ZL=lE&&window.location.href||"http://localhost",JL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lE,hasStandardBrowserEnv:QL,hasStandardBrowserWebWorkerEnv:XL,navigator:qg,origin:ZL},Symbol.toStringTag,{value:"Module"})),is={...JL,...jL};function eP(n,e){return ju(n,new is.classes.URLSearchParams,Object.assign({visitor:function(t,s,i,r){return is.isNode&&Te.isBuffer(t)?(this.append(s,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function tP(n){return Te.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function nP(n){const e={},t=Object.keys(n);let s;const i=t.length;let r;for(s=0;s=t.length;return o=!o&&Te.isArray(i)?i.length:o,c?(Te.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!Te.isObject(i[o]))&&(i[o]=[]),e(t,s,i[o],r)&&Te.isArray(i[o])&&(i[o]=nP(i[o])),!a)}if(Te.isFormData(n)&&Te.isFunction(n.entries)){const t={};return Te.forEachEntry(n,(s,i)=>{e(tP(s),i,t,0)}),t}return null}function sP(n,e,t){if(Te.isString(n))try{return(e||JSON.parse)(n),Te.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(t||JSON.stringify)(n)}const cE={transitional:$A,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const s=t.getContentType()||"",i=s.indexOf("application/json")>-1,r=Te.isObject(e);if(r&&Te.isHTMLForm(e)&&(e=new FormData(e)),Te.isFormData(e))return i?JSON.stringify(YA(e)):e;if(Te.isArrayBuffer(e)||Te.isBuffer(e)||Te.isStream(e)||Te.isFile(e)||Te.isBlob(e)||Te.isReadableStream(e))return e;if(Te.isArrayBufferView(e))return e.buffer;if(Te.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return eP(e,this.formSerializer).toString();if((a=Te.isFileList(e))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ju(a?{"files[]":e}:e,c&&new c,this.formSerializer)}}return r||i?(t.setContentType("application/json",!1),sP(e)):e}],transformResponse:[function(e){const t=this.transitional||cE.transitional,s=t&&t.forcedJSONParsing,i=this.responseType==="json";if(Te.isResponse(e)||Te.isReadableStream(e))return e;if(e&&Te.isString(e)&&(s&&!this.responseType||i)){const o=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?gt.from(a,gt.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:is.classes.FormData,Blob:is.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Te.forEach(["delete","get","head","post","put","patch"],n=>{cE.headers[n]={}});const dE=cE,iP=Te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rP=n=>{const e={};let t,s,i;return n&&n.split(` -`).forEach(function(o){i=o.indexOf(":"),t=o.substring(0,i).trim().toLowerCase(),s=o.substring(i+1).trim(),!(!t||e[t]&&iP[t])&&(t==="set-cookie"?e[t]?e[t].push(s):e[t]=[s]:e[t]=e[t]?e[t]+", "+s:s)}),e},Fv=Symbol("internals");function sl(n){return n&&String(n).trim().toLowerCase()}function Id(n){return n===!1||n==null?n:Te.isArray(n)?n.map(Id):String(n)}function oP(n){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=t.exec(n);)e[s[1]]=s[2];return e}const aP=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Hp(n,e,t,s,i){if(Te.isFunction(s))return s.call(this,e,t);if(i&&(e=t),!!Te.isString(e)){if(Te.isString(s))return e.indexOf(s)!==-1;if(Te.isRegExp(s))return s.test(e)}}function lP(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,s)=>t.toUpperCase()+s)}function cP(n,e){const t=Te.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+t,{value:function(i,r,o){return this[s].call(this,e,i,r,o)},configurable:!0})})}class Qu{constructor(e){e&&this.set(e)}set(e,t,s){const i=this;function r(a,c,d){const u=sl(c);if(!u)throw new Error("header name must be a non-empty string");const h=Te.findKey(i,u);(!h||i[h]===void 0||d===!0||d===void 0&&i[h]!==!1)&&(i[h||c]=Id(a))}const o=(a,c)=>Te.forEach(a,(d,u)=>r(d,u,c));if(Te.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Te.isString(e)&&(e=e.trim())&&!aP(e))o(rP(e),t);else if(Te.isHeaders(e))for(const[a,c]of e.entries())r(c,a,s);else e!=null&&r(t,e,s);return this}get(e,t){if(e=sl(e),e){const s=Te.findKey(this,e);if(s){const i=this[s];if(!t)return i;if(t===!0)return oP(i);if(Te.isFunction(t))return t.call(this,i,s);if(Te.isRegExp(t))return t.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=sl(e),e){const s=Te.findKey(this,e);return!!(s&&this[s]!==void 0&&(!t||Hp(this,this[s],s,t)))}return!1}delete(e,t){const s=this;let i=!1;function r(o){if(o=sl(o),o){const a=Te.findKey(s,o);a&&(!t||Hp(s,s[a],a,t))&&(delete s[a],i=!0)}}return Te.isArray(e)?e.forEach(r):r(e),i}clear(e){const t=Object.keys(this);let s=t.length,i=!1;for(;s--;){const r=t[s];(!e||Hp(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const t=this,s={};return Te.forEach(this,(i,r)=>{const o=Te.findKey(s,r);if(o){t[o]=Id(i),delete t[r];return}const a=e?lP(r):String(r).trim();a!==r&&delete t[r],t[a]=Id(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Te.forEach(this,(s,i)=>{s!=null&&s!==!1&&(t[i]=e&&Te.isArray(s)?s.join(", "):s)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const s=new this(e);return t.forEach(i=>s.set(i)),s}static accessor(e){const s=(this[Fv]=this[Fv]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=sl(o);s[a]||(cP(i,o),s[a]=!0)}return Te.isArray(e)?e.forEach(r):r(e),this}}Qu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Te.reduceDescriptors(Qu.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(s){this[t]=s}}});Te.freezeMethods(Qu);const qs=Qu;function qp(n,e){const t=this||dE,s=e||t,i=qs.from(s.headers);let r=s.data;return Te.forEach(n,function(a){r=a.call(t,r,i.normalize(),e?e.status:void 0)}),i.normalize(),r}function WA(n){return!!(n&&n.__CANCEL__)}function Ga(n,e,t){gt.call(this,n??"canceled",gt.ERR_CANCELED,e,t),this.name="CanceledError"}Te.inherits(Ga,gt,{__CANCEL__:!0});function KA(n,e,t){const s=t.config.validateStatus;!t.status||!s||s(t.status)?n(t):e(new gt("Request failed with status code "+t.status,[gt.ERR_BAD_REQUEST,gt.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function dP(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function uP(n,e){n=n||10;const t=new Array(n),s=new Array(n);let i=0,r=0,o;return e=e!==void 0?e:1e3,function(c){const d=Date.now(),u=s[r];o||(o=d),t[i]=c,s[i]=d;let h=r,f=0;for(;h!==i;)f+=t[h++],h=h%n;if(i=(i+1)%n,i===r&&(r=(r+1)%n),d-o{t=u,i=null,r&&(clearTimeout(r),r=null),n.apply(null,d)};return[(...d)=>{const u=Date.now(),h=u-t;h>=s?o(d,u):(i=d,r||(r=setTimeout(()=>{r=null,o(i)},s-h)))},()=>i&&o(i)]}const Jd=(n,e,t=3)=>{let s=0;const i=uP(50,250);return pP(r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,c=o-s,d=i(c),u=o<=a;s=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a&&u?(a-o)/d:void 0,event:r,lengthComputable:a!=null,[e?"download":"upload"]:!0};n(h)},t)},Uv=(n,e)=>{const t=n!=null;return[s=>e[0]({lengthComputable:t,total:n,loaded:s}),e[1]]},Bv=n=>(...e)=>Te.asap(()=>n(...e)),_P=is.hasStandardBrowserEnv?function(){const e=is.navigator&&/(msie|trident)/i.test(is.navigator.userAgent),t=document.createElement("a");let s;function i(r){let o=r;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return s=i(window.location.href),function(o){const a=Te.isString(o)?i(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}(),hP=is.hasStandardBrowserEnv?{write(n,e,t,s,i,r){const o=[n+"="+encodeURIComponent(e)];Te.isNumber(t)&&o.push("expires="+new Date(t).toGMTString()),Te.isString(s)&&o.push("path="+s),Te.isString(i)&&o.push("domain="+i),r===!0&&o.push("secure"),document.cookie=o.join("; ")},read(n){const e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function fP(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function mP(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function jA(n,e){return n&&!fP(e)?mP(n,e):e}const Gv=n=>n instanceof qs?{...n}:n;function ro(n,e){e=e||{};const t={};function s(d,u,h){return Te.isPlainObject(d)&&Te.isPlainObject(u)?Te.merge.call({caseless:h},d,u):Te.isPlainObject(u)?Te.merge({},u):Te.isArray(u)?u.slice():u}function i(d,u,h){if(Te.isUndefined(u)){if(!Te.isUndefined(d))return s(void 0,d,h)}else return s(d,u,h)}function r(d,u){if(!Te.isUndefined(u))return s(void 0,u)}function o(d,u){if(Te.isUndefined(u)){if(!Te.isUndefined(d))return s(void 0,d)}else return s(void 0,u)}function a(d,u,h){if(h in e)return s(d,u);if(h in n)return s(void 0,d)}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(d,u)=>i(Gv(d),Gv(u),!0)};return Te.forEach(Object.keys(Object.assign({},n,e)),function(u){const h=c[u]||i,f=h(n[u],e[u],u);Te.isUndefined(f)&&h!==a||(t[u]=f)}),t}const QA=n=>{const e=ro({},n);let{data:t,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:a}=e;e.headers=o=qs.from(o),e.url=qA(jA(e.baseURL,e.url),n.params,n.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(Te.isFormData(t)){if(is.hasStandardBrowserEnv||is.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[d,...u]=c?c.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([d||"multipart/form-data",...u].join("; "))}}if(is.hasStandardBrowserEnv&&(s&&Te.isFunction(s)&&(s=s(e)),s||s!==!1&&_P(e.url))){const d=i&&r&&hP.read(r);d&&o.set(i,d)}return e},gP=typeof XMLHttpRequest<"u",bP=gP&&function(n){return new Promise(function(t,s){const i=QA(n);let r=i.data;const o=qs.from(i.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:d}=i,u,h,f,m,_;function g(){m&&m(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function E(){if(!b)return;const v=qs.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:v,config:n,request:b};KA(function(A){t(A),g()},function(A){s(A),g()},R),b=null}"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(E)},b.onabort=function(){b&&(s(new gt("Request aborted",gt.ECONNABORTED,n,b)),b=null)},b.onerror=function(){s(new gt("Network Error",gt.ERR_NETWORK,n,b)),b=null},b.ontimeout=function(){let S=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const R=i.transitional||$A;i.timeoutErrorMessage&&(S=i.timeoutErrorMessage),s(new gt(S,R.clarifyTimeoutError?gt.ETIMEDOUT:gt.ECONNABORTED,n,b)),b=null},r===void 0&&o.setContentType(null),"setRequestHeader"in b&&Te.forEach(o.toJSON(),function(S,R){b.setRequestHeader(R,S)}),Te.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),d&&([f,_]=Jd(d,!0),b.addEventListener("progress",f)),c&&b.upload&&([h,m]=Jd(c),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(u=v=>{b&&(s(!v||v.type?new Ga(null,n,b):v),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const y=dP(i.url);if(y&&is.protocols.indexOf(y)===-1){s(new gt("Unsupported protocol "+y+":",gt.ERR_BAD_REQUEST,n));return}b.send(r||null)})},EP=(n,e)=>{let t=new AbortController,s;const i=function(c){if(!s){s=!0,o();const d=c instanceof Error?c:this.reason;t.abort(d instanceof gt?d:new Ga(d instanceof Error?d.message:d))}};let r=e&&setTimeout(()=>{i(new gt(`timeout ${e} of ms exceeded`,gt.ETIMEDOUT))},e);const o=()=>{n&&(r&&clearTimeout(r),r=null,n.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),n=null)};n.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:a}=t;return a.unsubscribe=o,[a,()=>{r&&clearTimeout(r),r=null}]},yP=EP,vP=function*(n,e){let t=n.byteLength;if(!e||t{const r=SP(n,e,i);let o=0,a,c=d=>{a||(a=!0,s&&s(d))};return new ReadableStream({async pull(d){try{const{done:u,value:h}=await r.next();if(u){c(),d.close();return}let f=h.byteLength;if(t){let m=o+=f;t(m)}d.enqueue(new Uint8Array(h))}catch(u){throw c(u),u}},cancel(d){return c(d),r.return()}},{highWaterMark:2})},Xu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",XA=Xu&&typeof ReadableStream=="function",$g=Xu&&(typeof TextEncoder=="function"?(n=>e=>n.encode(e))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),ZA=(n,...e)=>{try{return!!n(...e)}catch{return!1}},TP=XA&&ZA(()=>{let n=!1;const e=new Request(is.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!e}),zv=64*1024,Yg=XA&&ZA(()=>Te.isReadableStream(new Response("").body)),eu={stream:Yg&&(n=>n.body)};Xu&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!eu[e]&&(eu[e]=Te.isFunction(n[e])?t=>t[e]():(t,s)=>{throw new gt(`Response type '${e}' is not supported`,gt.ERR_NOT_SUPPORT,s)})})})(new Response);const xP=async n=>{if(n==null)return 0;if(Te.isBlob(n))return n.size;if(Te.isSpecCompliantForm(n))return(await new Request(n).arrayBuffer()).byteLength;if(Te.isArrayBufferView(n)||Te.isArrayBuffer(n))return n.byteLength;if(Te.isURLSearchParams(n)&&(n=n+""),Te.isString(n))return(await $g(n)).byteLength},CP=async(n,e)=>{const t=Te.toFiniteNumber(n.getContentLength());return t??xP(e)},wP=Xu&&(async n=>{let{url:e,method:t,data:s,signal:i,cancelToken:r,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:d,headers:u,withCredentials:h="same-origin",fetchOptions:f}=QA(n);d=d?(d+"").toLowerCase():"text";let[m,_]=i||r||o?yP([i,r],o):[],g,b;const E=()=>{!g&&setTimeout(()=>{m&&m.unsubscribe()}),g=!0};let y;try{if(c&&TP&&t!=="get"&&t!=="head"&&(y=await CP(u,s))!==0){let A=new Request(e,{method:"POST",body:s,duplex:"half"}),I;if(Te.isFormData(s)&&(I=A.headers.get("content-type"))&&u.setContentType(I),A.body){const[C,O]=Uv(y,Jd(Bv(c)));s=Vv(A.body,zv,C,O,$g)}}Te.isString(h)||(h=h?"include":"omit");const v="credentials"in Request.prototype;b=new Request(e,{...f,signal:m,method:t.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:v?h:void 0});let S=await fetch(b);const R=Yg&&(d==="stream"||d==="response");if(Yg&&(a||R)){const A={};["status","statusText","headers"].forEach(B=>{A[B]=S[B]});const I=Te.toFiniteNumber(S.headers.get("content-length")),[C,O]=a&&Uv(I,Jd(Bv(a),!0))||[];S=new Response(Vv(S.body,zv,C,()=>{O&&O(),R&&E()},$g),A)}d=d||"text";let w=await eu[Te.findKey(eu,d)||"text"](S,n);return!R&&E(),_&&_(),await new Promise((A,I)=>{KA(A,I,{data:w,headers:qs.from(S.headers),status:S.status,statusText:S.statusText,config:n,request:b})})}catch(v){throw E(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new gt("Network Error",gt.ERR_NETWORK,n,b),{cause:v.cause||v}):gt.from(v,v&&v.code,n,b)}}),Wg={http:VL,xhr:bP,fetch:wP};Te.forEach(Wg,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const Hv=n=>`- ${n}`,RP=n=>Te.isFunction(n)||n===null||n===!1,JA={getAdapter:n=>{n=Te.isArray(n)?n:[n];const{length:e}=n;let t,s;const i={};for(let r=0;r`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since : + */var vA="store";function DD(n){return n===void 0&&(n=null),ns(n!==null?n:vA)}function Ua(n,e){Object.keys(n).forEach(function(t){return e(n[t],t)})}function SA(n){return n!==null&&typeof n=="object"}function LD(n){return n&&typeof n.then=="function"}function PD(n,e){return function(){return n(e)}}function TA(n,e,t){return e.indexOf(n)<0&&(t&&t.prepend?e.unshift(n):e.push(n)),function(){var s=e.indexOf(n);s>-1&&e.splice(s,1)}}function xA(n,e){n._actions=Object.create(null),n._mutations=Object.create(null),n._wrappedGetters=Object.create(null),n._modulesNamespaceMap=Object.create(null);var t=n.state;$u(n,t,[],n._modules.root,!0),sE(n,t,e)}function sE(n,e,t){var s=n._state,i=n._scope;n.getters={},n._makeLocalGettersCache=Object.create(null);var r=n._wrappedGetters,o={},a={},c=JI(!0);c.run(function(){Ua(r,function(d,u){o[u]=PD(d,n),a[u]=et(function(){return o[u]()}),Object.defineProperty(n.getters,u,{get:function(){return a[u].value},enumerable:!0})})}),n._state=Qn({data:e}),n._scope=c,n.strict&&VD(n),s&&t&&n._withCommit(function(){s.data=null}),i&&i.stop()}function $u(n,e,t,s,i){var r=!t.length,o=n._modules.getNamespace(t);if(s.namespaced&&(n._modulesNamespaceMap[o],n._modulesNamespaceMap[o]=s),!r&&!i){var a=iE(e,t.slice(0,-1)),c=t[t.length-1];n._withCommit(function(){a[c]=s.state})}var d=s.context=FD(n,o,t);s.forEachMutation(function(u,h){var f=o+h;UD(n,f,u,d)}),s.forEachAction(function(u,h){var f=u.root?h:o+h,m=u.handler||u;BD(n,f,m,d)}),s.forEachGetter(function(u,h){var f=o+h;GD(n,f,u,d)}),s.forEachChild(function(u,h){$u(n,e,t.concat(h),u,i)})}function FD(n,e,t){var s=e==="",i={dispatch:s?n.dispatch:function(r,o,a){var c=Zd(r,o,a),d=c.payload,u=c.options,h=c.type;return(!u||!u.root)&&(h=e+h),n.dispatch(h,d)},commit:s?n.commit:function(r,o,a){var c=Zd(r,o,a),d=c.payload,u=c.options,h=c.type;(!u||!u.root)&&(h=e+h),n.commit(h,d,u)}};return Object.defineProperties(i,{getters:{get:s?function(){return n.getters}:function(){return CA(n,e)}},state:{get:function(){return iE(n.state,t)}}}),i}function CA(n,e){if(!n._makeLocalGettersCache[e]){var t={},s=e.length;Object.keys(n.getters).forEach(function(i){if(i.slice(0,s)===e){var r=i.slice(s);Object.defineProperty(t,r,{get:function(){return n.getters[i]},enumerable:!0})}}),n._makeLocalGettersCache[e]=t}return n._makeLocalGettersCache[e]}function UD(n,e,t,s){var i=n._mutations[e]||(n._mutations[e]=[]);i.push(function(o){t.call(n,s.state,o)})}function BD(n,e,t,s){var i=n._actions[e]||(n._actions[e]=[]);i.push(function(o){var a=t.call(n,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:n.getters,rootState:n.state},o);return LD(a)||(a=Promise.resolve(a)),n._devtoolHook?a.catch(function(c){throw n._devtoolHook.emit("vuex:error",c),c}):a})}function GD(n,e,t,s){n._wrappedGetters[e]||(n._wrappedGetters[e]=function(r){return t(s.state,s.getters,r.state,r.getters)})}function VD(n){Ln(function(){return n._state.data},function(){},{deep:!0,flush:"sync"})}function iE(n,e){return e.reduce(function(t,s){return t[s]},n)}function Zd(n,e,t){return SA(n)&&n.type&&(t=e,e=n,n=n.type),{type:n,payload:e,options:t}}var zD="vuex bindings",Ov="vuex:mutations",Vp="vuex:actions",xo="vuex",HD=0;function qD(n,e){kD({id:"org.vuejs.vuex",app:n,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[zD]},function(t){t.addTimelineLayer({id:Ov,label:"Vuex Mutations",color:Iv}),t.addTimelineLayer({id:Vp,label:"Vuex Actions",color:Iv}),t.addInspector({id:xo,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),t.on.getInspectorTree(function(s){if(s.app===n&&s.inspectorId===xo)if(s.filter){var i=[];NA(i,e._modules.root,s.filter,""),s.rootNodes=i}else s.rootNodes=[AA(e._modules.root,"")]}),t.on.getInspectorState(function(s){if(s.app===n&&s.inspectorId===xo){var i=s.nodeId;CA(e,i),s.state=WD(jD(e._modules,i),i==="root"?e.getters:e._makeLocalGettersCache,i)}}),t.on.editInspectorState(function(s){if(s.app===n&&s.inspectorId===xo){var i=s.nodeId,r=s.path;i!=="root"&&(r=i.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,i){var r={};s.payload&&(r.payload=s.payload),r.state=i,t.notifyComponentUpdate(),t.sendInspectorTree(xo),t.sendInspectorState(xo),t.addTimelineEvent({layerId:Ov,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,i){var r={};s.payload&&(r.payload=s.payload),s._id=HD++,s._time=Date.now(),r.state=i,t.addTimelineEvent({layerId:Vp,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,i){var r={},o=Date.now()-s._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},s.payload&&(r.payload=s.payload),r.state=i,t.addTimelineEvent({layerId:Vp,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var Iv=8702998,$D=6710886,YD=16777215,wA={label:"namespaced",textColor:YD,backgroundColor:$D};function RA(n){return n&&n!=="root"?n.split("/").slice(-2,-1)[0]:"Root"}function AA(n,e){return{id:e||"root",label:RA(e),tags:n.namespaced?[wA]:[],children:Object.keys(n._children).map(function(t){return AA(n._children[t],e+t+"/")})}}function NA(n,e,t,s){s.includes(t)&&n.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[wA]:[]}),Object.keys(e._children).forEach(function(i){NA(n,e._children[i],t,s+i+"/")})}function WD(n,e,t){e=t==="root"?e:e[t];var s=Object.keys(e),i={state:Object.keys(n.state).map(function(o){return{key:o,editable:!0,value:n.state[o]}})};if(s.length){var r=KD(e);i.getters=Object.keys(r).map(function(o){return{key:o.endsWith("/")?RA(o):o,editable:!1,value:Vg(function(){return r[o]})}})}return i}function KD(n){var e={};return Object.keys(n).forEach(function(t){var s=t.split("/");if(s.length>1){var i=e,r=s.pop();s.forEach(function(o){i[o]||(i[o]={_custom:{value:{},display:o,tooltip:"Module",abstract:!0}}),i=i[o]._custom.value}),i[r]=Vg(function(){return n[t]})}else e[t]=Vg(function(){return n[t]})}),e}function jD(n,e){var t=e.split("/").filter(function(s){return s});return t.reduce(function(s,i,r){var o=s[i];if(!o)throw new Error('Missing module "'+i+'" for path "'+e+'".');return r===t.length-1?o:o._children},e==="root"?n:n.root._children)}function Vg(n){try{return n()}catch(e){return e}}var Qs=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},OA={namespaced:{configurable:!0}};OA.namespaced.get=function(){return!!this._rawModule.namespaced};Qs.prototype.addChild=function(e,t){this._children[e]=t};Qs.prototype.removeChild=function(e){delete this._children[e]};Qs.prototype.getChild=function(e){return this._children[e]};Qs.prototype.hasChild=function(e){return e in this._children};Qs.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Qs.prototype.forEachChild=function(e){Ua(this._children,e)};Qs.prototype.forEachGetter=function(e){this._rawModule.getters&&Ua(this._rawModule.getters,e)};Qs.prototype.forEachAction=function(e){this._rawModule.actions&&Ua(this._rawModule.actions,e)};Qs.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ua(this._rawModule.mutations,e)};Object.defineProperties(Qs.prototype,OA);var go=function(e){this.register([],e,!1)};go.prototype.get=function(e){return e.reduce(function(t,s){return t.getChild(s)},this.root)};go.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(s,i){return t=t.getChild(i),s+(t.namespaced?i+"/":"")},"")};go.prototype.update=function(e){IA([],this.root,e)};go.prototype.register=function(e,t,s){var i=this;s===void 0&&(s=!0);var r=new Qs(t,s);if(e.length===0)this.root=r;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],r)}t.modules&&Ua(t.modules,function(a,c){i.register(e.concat(c),a,s)})};go.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1],i=t.getChild(s);i&&i.runtime&&t.removeChild(s)};go.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),s=e[e.length-1];return t?t.hasChild(s):!1};function IA(n,e,t){if(e.update(t),t.modules)for(var s in t.modules){if(!e.getChild(s))return;IA(n.concat(s),e.getChild(s),t.modules[s])}}function QD(n){return new Xn(n)}var Xn=function(e){var t=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var i=e.strict;i===void 0&&(i=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new go(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var o=this,a=this,c=a.dispatch,d=a.commit;this.dispatch=function(f,m){return c.call(o,f,m)},this.commit=function(f,m,_){return d.call(o,f,m,_)},this.strict=i;var u=this._modules.root.state;$u(this,u,[],this._modules.root),sE(this,u),s.forEach(function(h){return h(t)})},rE={state:{configurable:!0}};Xn.prototype.install=function(e,t){e.provide(t||vA,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&qD(e,this)};rE.state.get=function(){return this._state.data};rE.state.set=function(n){};Xn.prototype.commit=function(e,t,s){var i=this,r=Zd(e,t,s),o=r.type,a=r.payload,c={type:o,payload:a},d=this._mutations[o];d&&(this._withCommit(function(){d.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(c,i.state)}))};Xn.prototype.dispatch=function(e,t){var s=this,i=Zd(e,t),r=i.type,o=i.payload,a={type:r,payload:o},c=this._actions[r];if(c){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var d=c.length>1?Promise.all(c.map(function(u){return u(o)})):c[0](o);return new Promise(function(u,h){d.then(function(f){try{s._actionSubscribers.filter(function(m){return m.after}).forEach(function(m){return m.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(m){return m.error}).forEach(function(m){return m.error(a,s.state,f)})}catch{}h(f)})})}};Xn.prototype.subscribe=function(e,t){return TA(e,this._subscribers,t)};Xn.prototype.subscribeAction=function(e,t){var s=typeof e=="function"?{before:e}:e;return TA(s,this._actionSubscribers,t)};Xn.prototype.watch=function(e,t,s){var i=this;return Ln(function(){return e(i.state,i.getters)},t,Object.assign({},s))};Xn.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._state.data=e})};Xn.prototype.registerModule=function(e,t,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,t),$u(this,this.state,e,this._modules.get(e),s.preserveState),sE(this,this.state)};Xn.prototype.unregisterModule=function(e){var t=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=iE(t.state,e.slice(0,-1));delete s[e[e.length-1]]}),xA(this)};Xn.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};Xn.prototype.hotUpdate=function(e){this._modules.update(e),xA(this,!0)};Xn.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t};Object.defineProperties(Xn.prototype,rE);var XD=eL(function(n,e){var t={};return ZD(e).forEach(function(s){var i=s.key,r=s.val;t[i]=function(){var a=this.$store.state,c=this.$store.getters;if(n){var d=tL(this.$store,"mapState",n);if(!d)return;a=d.context.state,c=d.context.getters}return typeof r=="function"?r.call(this,a,c):a[r]},t[i].vuex=!0}),t});function ZD(n){return JD(n)?Array.isArray(n)?n.map(function(e){return{key:e,val:e}}):Object.keys(n).map(function(e){return{key:e,val:n[e]}}):[]}function JD(n){return Array.isArray(n)||SA(n)}function eL(n){return function(e,t){return typeof e!="string"?(t=e,e=""):e.charAt(e.length-1)!=="/"&&(e+="/"),n(e,t)}}function tL(n,e,t){var s=n._modulesNamespaceMap[t];return s}function MA(n,e){return function(){return n.apply(e,arguments)}}const{toString:nL}=Object.prototype,{getPrototypeOf:oE}=Object,Yu=(n=>e=>{const t=nL.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Xs=n=>(n=n.toLowerCase(),e=>Yu(e)===n),Wu=n=>e=>typeof e===n,{isArray:Ba}=Array,jl=Wu("undefined");function sL(n){return n!==null&&!jl(n)&&n.constructor!==null&&!jl(n.constructor)&&ss(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const kA=Xs("ArrayBuffer");function iL(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&kA(n.buffer),e}const rL=Wu("string"),ss=Wu("function"),DA=Wu("number"),Ku=n=>n!==null&&typeof n=="object",oL=n=>n===!0||n===!1,Id=n=>{if(Yu(n)!=="object")return!1;const e=oE(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},aL=Xs("Date"),lL=Xs("File"),cL=Xs("Blob"),dL=Xs("FileList"),uL=n=>Ku(n)&&ss(n.pipe),pL=n=>{let e;return n&&(typeof FormData=="function"&&n instanceof FormData||ss(n.append)&&((e=Yu(n))==="formdata"||e==="object"&&ss(n.toString)&&n.toString()==="[object FormData]"))},_L=Xs("URLSearchParams"),[hL,fL,mL,gL]=["ReadableStream","Request","Response","Headers"].map(Xs),bL=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function cc(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let s,i;if(typeof n!="object"&&(n=[n]),Ba(n))for(s=0,i=n.length;s0;)if(i=t[s],e===i.toLowerCase())return i;return null}const Wr=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),PA=n=>!jl(n)&&n!==Wr;function zg(){const{caseless:n}=PA(this)&&this||{},e={},t=(s,i)=>{const r=n&&LA(e,i)||i;Id(e[r])&&Id(s)?e[r]=zg(e[r],s):Id(s)?e[r]=zg({},s):Ba(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s(cc(e,(i,r)=>{t&&ss(i)?n[r]=MA(i,t):n[r]=i},{allOwnKeys:s}),n),yL=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),vL=(n,e,t,s)=>{n.prototype=Object.create(e.prototype,s),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:e.prototype}),t&&Object.assign(n.prototype,t)},SL=(n,e,t,s)=>{let i,r,o;const a={};if(e=e||{},n==null)return e;do{for(i=Object.getOwnPropertyNames(n),r=i.length;r-- >0;)o=i[r],(!s||s(o,n,e))&&!a[o]&&(e[o]=n[o],a[o]=!0);n=t!==!1&&oE(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},TL=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const s=n.indexOf(e,t);return s!==-1&&s===t},xL=n=>{if(!n)return null;if(Ba(n))return n;let e=n.length;if(!DA(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},CL=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&oE(Uint8Array)),wL=(n,e)=>{const s=(n&&n[Symbol.iterator]).call(n);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(n,r[0],r[1])}},RL=(n,e)=>{let t;const s=[];for(;(t=n.exec(e))!==null;)s.push(t);return s},AL=Xs("HTMLFormElement"),NL=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,s,i){return s.toUpperCase()+i}),Mv=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),OL=Xs("RegExp"),FA=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),s={};cc(t,(i,r)=>{let o;(o=e(i,r,n))!==!1&&(s[r]=o||i)}),Object.defineProperties(n,s)},IL=n=>{FA(n,(e,t)=>{if(ss(n)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const s=n[t];if(ss(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},ML=(n,e)=>{const t={},s=i=>{i.forEach(r=>{t[r]=!0})};return Ba(n)?s(n):s(String(n).split(e)),t},kL=()=>{},DL=(n,e)=>n!=null&&Number.isFinite(n=+n)?n:e,zp="abcdefghijklmnopqrstuvwxyz",kv="0123456789",UA={DIGIT:kv,ALPHA:zp,ALPHA_DIGIT:zp+zp.toUpperCase()+kv},LL=(n=16,e=UA.ALPHA_DIGIT)=>{let t="";const{length:s}=e;for(;n--;)t+=e[Math.random()*s|0];return t};function PL(n){return!!(n&&ss(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const FL=n=>{const e=new Array(10),t=(s,i)=>{if(Ku(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[i]=s;const r=Ba(s)?[]:{};return cc(s,(o,a)=>{const c=t(o,i+1);!jl(c)&&(r[a]=c)}),e[i]=void 0,r}}return s};return t(n,0)},UL=Xs("AsyncFunction"),BL=n=>n&&(Ku(n)||ss(n))&&ss(n.then)&&ss(n.catch),BA=((n,e)=>n?setImmediate:e?((t,s)=>(Wr.addEventListener("message",({source:i,data:r})=>{i===Wr&&r===t&&s.length&&s.shift()()},!1),i=>{s.push(i),Wr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",ss(Wr.postMessage)),GL=typeof queueMicrotask<"u"?queueMicrotask.bind(Wr):typeof process<"u"&&process.nextTick||BA,Te={isArray:Ba,isArrayBuffer:kA,isBuffer:sL,isFormData:pL,isArrayBufferView:iL,isString:rL,isNumber:DA,isBoolean:oL,isObject:Ku,isPlainObject:Id,isReadableStream:hL,isRequest:fL,isResponse:mL,isHeaders:gL,isUndefined:jl,isDate:aL,isFile:lL,isBlob:cL,isRegExp:OL,isFunction:ss,isStream:uL,isURLSearchParams:_L,isTypedArray:CL,isFileList:dL,forEach:cc,merge:zg,extend:EL,trim:bL,stripBOM:yL,inherits:vL,toFlatObject:SL,kindOf:Yu,kindOfTest:Xs,endsWith:TL,toArray:xL,forEachEntry:wL,matchAll:RL,isHTMLForm:AL,hasOwnProperty:Mv,hasOwnProp:Mv,reduceDescriptors:FA,freezeMethods:IL,toObjectSet:ML,toCamelCase:NL,noop:kL,toFiniteNumber:DL,findKey:LA,global:Wr,isContextDefined:PA,ALPHABET:UA,generateString:LL,isSpecCompliantForm:PL,toJSONObject:FL,isAsyncFn:UL,isThenable:BL,setImmediate:BA,asap:GL};function gt(n,e,t,s,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),s&&(this.request=s),i&&(this.response=i,this.status=i.status?i.status:null)}Te.inherits(gt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Te.toJSONObject(this.config),code:this.code,status:this.status}}});const GA=gt.prototype,VA={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{VA[n]={value:n}});Object.defineProperties(gt,VA);Object.defineProperty(GA,"isAxiosError",{value:!0});gt.from=(n,e,t,s,i,r)=>{const o=Object.create(GA);return Te.toFlatObject(n,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),gt.call(o,n.message,e,t,s,i),o.cause=n,o.name=n.name,r&&Object.assign(o,r),o};const VL=null;function Hg(n){return Te.isPlainObject(n)||Te.isArray(n)}function zA(n){return Te.endsWith(n,"[]")?n.slice(0,-2):n}function Dv(n,e,t){return n?n.concat(e).map(function(i,r){return i=zA(i),!t&&r?"["+i+"]":i}).join(t?".":""):e}function zL(n){return Te.isArray(n)&&!n.some(Hg)}const HL=Te.toFlatObject(Te,{},null,function(e){return/^is[A-Z]/.test(e)});function ju(n,e,t){if(!Te.isObject(n))throw new TypeError("target must be an object");e=e||new FormData,t=Te.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!Te.isUndefined(b[g])});const s=t.metaTokens,i=t.visitor||u,r=t.dots,o=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&Te.isSpecCompliantForm(e);if(!Te.isFunction(i))throw new TypeError("visitor must be a function");function d(_){if(_===null)return"";if(Te.isDate(_))return _.toISOString();if(!c&&Te.isBlob(_))throw new gt("Blob is not supported. Use a Buffer instead.");return Te.isArrayBuffer(_)||Te.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function u(_,g,b){let E=_;if(_&&!b&&typeof _=="object"){if(Te.endsWith(g,"{}"))g=s?g:g.slice(0,-2),_=JSON.stringify(_);else if(Te.isArray(_)&&zL(_)||(Te.isFileList(_)||Te.endsWith(g,"[]"))&&(E=Te.toArray(_)))return g=zA(g),E.forEach(function(v,S){!(Te.isUndefined(v)||v===null)&&e.append(o===!0?Dv([g],S,r):o===null?g:g+"[]",d(v))}),!1}return Hg(_)?!0:(e.append(Dv(b,g,r),d(_)),!1)}const h=[],f=Object.assign(HL,{defaultVisitor:u,convertValue:d,isVisitable:Hg});function m(_,g){if(!Te.isUndefined(_)){if(h.indexOf(_)!==-1)throw Error("Circular reference detected in "+g.join("."));h.push(_),Te.forEach(_,function(E,y){(!(Te.isUndefined(E)||E===null)&&i.call(e,E,Te.isString(y)?y.trim():y,g,f))===!0&&m(E,g?g.concat(y):[y])}),h.pop()}}if(!Te.isObject(n))throw new TypeError("data must be an object");return m(n),e}function Lv(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function aE(n,e){this._pairs=[],n&&ju(n,this,e)}const HA=aE.prototype;HA.append=function(e,t){this._pairs.push([e,t])};HA.toString=function(e){const t=e?function(s){return e.call(this,s,Lv)}:Lv;return this._pairs.map(function(i){return t(i[0])+"="+t(i[1])},"").join("&")};function qL(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function qA(n,e,t){if(!e)return n;const s=t&&t.encode||qL,i=t&&t.serialize;let r;if(i?r=i(e,t):r=Te.isURLSearchParams(e)?e.toString():new aE(e,t).toString(s),r){const o=n.indexOf("#");o!==-1&&(n=n.slice(0,o)),n+=(n.indexOf("?")===-1?"?":"&")+r}return n}class $L{constructor(){this.handlers=[]}use(e,t,s){return this.handlers.push({fulfilled:e,rejected:t,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Te.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Pv=$L,$A={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YL=typeof URLSearchParams<"u"?URLSearchParams:aE,WL=typeof FormData<"u"?FormData:null,KL=typeof Blob<"u"?Blob:null,jL={isBrowser:!0,classes:{URLSearchParams:YL,FormData:WL,Blob:KL},protocols:["http","https","file","blob","url","data"]},lE=typeof window<"u"&&typeof document<"u",qg=typeof navigator=="object"&&navigator||void 0,QL=lE&&(!qg||["ReactNative","NativeScript","NS"].indexOf(qg.product)<0),XL=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ZL=lE&&window.location.href||"http://localhost",JL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:lE,hasStandardBrowserEnv:QL,hasStandardBrowserWebWorkerEnv:XL,navigator:qg,origin:ZL},Symbol.toStringTag,{value:"Module"})),is={...JL,...jL};function eP(n,e){return ju(n,new is.classes.URLSearchParams,Object.assign({visitor:function(t,s,i,r){return is.isNode&&Te.isBuffer(t)?(this.append(s,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function tP(n){return Te.matchAll(/\w+|\[(\w*)]/g,n).map(e=>e[0]==="[]"?"":e[1]||e[0])}function nP(n){const e={},t=Object.keys(n);let s;const i=t.length;let r;for(s=0;s=t.length;return o=!o&&Te.isArray(i)?i.length:o,c?(Te.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!Te.isObject(i[o]))&&(i[o]=[]),e(t,s,i[o],r)&&Te.isArray(i[o])&&(i[o]=nP(i[o])),!a)}if(Te.isFormData(n)&&Te.isFunction(n.entries)){const t={};return Te.forEachEntry(n,(s,i)=>{e(tP(s),i,t,0)}),t}return null}function sP(n,e,t){if(Te.isString(n))try{return(e||JSON.parse)(n),Te.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(t||JSON.stringify)(n)}const cE={transitional:$A,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const s=t.getContentType()||"",i=s.indexOf("application/json")>-1,r=Te.isObject(e);if(r&&Te.isHTMLForm(e)&&(e=new FormData(e)),Te.isFormData(e))return i?JSON.stringify(YA(e)):e;if(Te.isArrayBuffer(e)||Te.isBuffer(e)||Te.isStream(e)||Te.isFile(e)||Te.isBlob(e)||Te.isReadableStream(e))return e;if(Te.isArrayBufferView(e))return e.buffer;if(Te.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return eP(e,this.formSerializer).toString();if((a=Te.isFileList(e))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ju(a?{"files[]":e}:e,c&&new c,this.formSerializer)}}return r||i?(t.setContentType("application/json",!1),sP(e)):e}],transformResponse:[function(e){const t=this.transitional||cE.transitional,s=t&&t.forcedJSONParsing,i=this.responseType==="json";if(Te.isResponse(e)||Te.isReadableStream(e))return e;if(e&&Te.isString(e)&&(s&&!this.responseType||i)){const o=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?gt.from(a,gt.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:is.classes.FormData,Blob:is.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Te.forEach(["delete","get","head","post","put","patch"],n=>{cE.headers[n]={}});const dE=cE,iP=Te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rP=n=>{const e={};let t,s,i;return n&&n.split(` +`).forEach(function(o){i=o.indexOf(":"),t=o.substring(0,i).trim().toLowerCase(),s=o.substring(i+1).trim(),!(!t||e[t]&&iP[t])&&(t==="set-cookie"?e[t]?e[t].push(s):e[t]=[s]:e[t]=e[t]?e[t]+", "+s:s)}),e},Fv=Symbol("internals");function sl(n){return n&&String(n).trim().toLowerCase()}function Md(n){return n===!1||n==null?n:Te.isArray(n)?n.map(Md):String(n)}function oP(n){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=t.exec(n);)e[s[1]]=s[2];return e}const aP=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Hp(n,e,t,s,i){if(Te.isFunction(s))return s.call(this,e,t);if(i&&(e=t),!!Te.isString(e)){if(Te.isString(s))return e.indexOf(s)!==-1;if(Te.isRegExp(s))return s.test(e)}}function lP(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,s)=>t.toUpperCase()+s)}function cP(n,e){const t=Te.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+t,{value:function(i,r,o){return this[s].call(this,e,i,r,o)},configurable:!0})})}class Qu{constructor(e){e&&this.set(e)}set(e,t,s){const i=this;function r(a,c,d){const u=sl(c);if(!u)throw new Error("header name must be a non-empty string");const h=Te.findKey(i,u);(!h||i[h]===void 0||d===!0||d===void 0&&i[h]!==!1)&&(i[h||c]=Md(a))}const o=(a,c)=>Te.forEach(a,(d,u)=>r(d,u,c));if(Te.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(Te.isString(e)&&(e=e.trim())&&!aP(e))o(rP(e),t);else if(Te.isHeaders(e))for(const[a,c]of e.entries())r(c,a,s);else e!=null&&r(t,e,s);return this}get(e,t){if(e=sl(e),e){const s=Te.findKey(this,e);if(s){const i=this[s];if(!t)return i;if(t===!0)return oP(i);if(Te.isFunction(t))return t.call(this,i,s);if(Te.isRegExp(t))return t.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=sl(e),e){const s=Te.findKey(this,e);return!!(s&&this[s]!==void 0&&(!t||Hp(this,this[s],s,t)))}return!1}delete(e,t){const s=this;let i=!1;function r(o){if(o=sl(o),o){const a=Te.findKey(s,o);a&&(!t||Hp(s,s[a],a,t))&&(delete s[a],i=!0)}}return Te.isArray(e)?e.forEach(r):r(e),i}clear(e){const t=Object.keys(this);let s=t.length,i=!1;for(;s--;){const r=t[s];(!e||Hp(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const t=this,s={};return Te.forEach(this,(i,r)=>{const o=Te.findKey(s,r);if(o){t[o]=Md(i),delete t[r];return}const a=e?lP(r):String(r).trim();a!==r&&delete t[r],t[a]=Md(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Te.forEach(this,(s,i)=>{s!=null&&s!==!1&&(t[i]=e&&Te.isArray(s)?s.join(", "):s)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const s=new this(e);return t.forEach(i=>s.set(i)),s}static accessor(e){const s=(this[Fv]=this[Fv]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=sl(o);s[a]||(cP(i,o),s[a]=!0)}return Te.isArray(e)?e.forEach(r):r(e),this}}Qu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Te.reduceDescriptors(Qu.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(s){this[t]=s}}});Te.freezeMethods(Qu);const qs=Qu;function qp(n,e){const t=this||dE,s=e||t,i=qs.from(s.headers);let r=s.data;return Te.forEach(n,function(a){r=a.call(t,r,i.normalize(),e?e.status:void 0)}),i.normalize(),r}function WA(n){return!!(n&&n.__CANCEL__)}function Ga(n,e,t){gt.call(this,n??"canceled",gt.ERR_CANCELED,e,t),this.name="CanceledError"}Te.inherits(Ga,gt,{__CANCEL__:!0});function KA(n,e,t){const s=t.config.validateStatus;!t.status||!s||s(t.status)?n(t):e(new gt("Request failed with status code "+t.status,[gt.ERR_BAD_REQUEST,gt.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function dP(n){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return e&&e[1]||""}function uP(n,e){n=n||10;const t=new Array(n),s=new Array(n);let i=0,r=0,o;return e=e!==void 0?e:1e3,function(c){const d=Date.now(),u=s[r];o||(o=d),t[i]=c,s[i]=d;let h=r,f=0;for(;h!==i;)f+=t[h++],h=h%n;if(i=(i+1)%n,i===r&&(r=(r+1)%n),d-o{t=u,i=null,r&&(clearTimeout(r),r=null),n.apply(null,d)};return[(...d)=>{const u=Date.now(),h=u-t;h>=s?o(d,u):(i=d,r||(r=setTimeout(()=>{r=null,o(i)},s-h)))},()=>i&&o(i)]}const Jd=(n,e,t=3)=>{let s=0;const i=uP(50,250);return pP(r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,c=o-s,d=i(c),u=o<=a;s=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a&&u?(a-o)/d:void 0,event:r,lengthComputable:a!=null,[e?"download":"upload"]:!0};n(h)},t)},Uv=(n,e)=>{const t=n!=null;return[s=>e[0]({lengthComputable:t,total:n,loaded:s}),e[1]]},Bv=n=>(...e)=>Te.asap(()=>n(...e)),_P=is.hasStandardBrowserEnv?function(){const e=is.navigator&&/(msie|trident)/i.test(is.navigator.userAgent),t=document.createElement("a");let s;function i(r){let o=r;return e&&(t.setAttribute("href",o),o=t.href),t.setAttribute("href",o),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return s=i(window.location.href),function(o){const a=Te.isString(o)?i(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}(),hP=is.hasStandardBrowserEnv?{write(n,e,t,s,i,r){const o=[n+"="+encodeURIComponent(e)];Te.isNumber(t)&&o.push("expires="+new Date(t).toGMTString()),Te.isString(s)&&o.push("path="+s),Te.isString(i)&&o.push("domain="+i),r===!0&&o.push("secure"),document.cookie=o.join("; ")},read(n){const e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function fP(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function mP(n,e){return e?n.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):n}function jA(n,e){return n&&!fP(e)?mP(n,e):e}const Gv=n=>n instanceof qs?{...n}:n;function ro(n,e){e=e||{};const t={};function s(d,u,h){return Te.isPlainObject(d)&&Te.isPlainObject(u)?Te.merge.call({caseless:h},d,u):Te.isPlainObject(u)?Te.merge({},u):Te.isArray(u)?u.slice():u}function i(d,u,h){if(Te.isUndefined(u)){if(!Te.isUndefined(d))return s(void 0,d,h)}else return s(d,u,h)}function r(d,u){if(!Te.isUndefined(u))return s(void 0,u)}function o(d,u){if(Te.isUndefined(u)){if(!Te.isUndefined(d))return s(void 0,d)}else return s(void 0,u)}function a(d,u,h){if(h in e)return s(d,u);if(h in n)return s(void 0,d)}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(d,u)=>i(Gv(d),Gv(u),!0)};return Te.forEach(Object.keys(Object.assign({},n,e)),function(u){const h=c[u]||i,f=h(n[u],e[u],u);Te.isUndefined(f)&&h!==a||(t[u]=f)}),t}const QA=n=>{const e=ro({},n);let{data:t,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:a}=e;e.headers=o=qs.from(o),e.url=qA(jA(e.baseURL,e.url),n.params,n.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(Te.isFormData(t)){if(is.hasStandardBrowserEnv||is.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[d,...u]=c?c.split(";").map(h=>h.trim()).filter(Boolean):[];o.setContentType([d||"multipart/form-data",...u].join("; "))}}if(is.hasStandardBrowserEnv&&(s&&Te.isFunction(s)&&(s=s(e)),s||s!==!1&&_P(e.url))){const d=i&&r&&hP.read(r);d&&o.set(i,d)}return e},gP=typeof XMLHttpRequest<"u",bP=gP&&function(n){return new Promise(function(t,s){const i=QA(n);let r=i.data;const o=qs.from(i.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:d}=i,u,h,f,m,_;function g(){m&&m(),_&&_(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function E(){if(!b)return;const v=qs.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:v,config:n,request:b};KA(function(A){t(A),g()},function(A){s(A),g()},R),b=null}"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(E)},b.onabort=function(){b&&(s(new gt("Request aborted",gt.ECONNABORTED,n,b)),b=null)},b.onerror=function(){s(new gt("Network Error",gt.ERR_NETWORK,n,b)),b=null},b.ontimeout=function(){let S=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const R=i.transitional||$A;i.timeoutErrorMessage&&(S=i.timeoutErrorMessage),s(new gt(S,R.clarifyTimeoutError?gt.ETIMEDOUT:gt.ECONNABORTED,n,b)),b=null},r===void 0&&o.setContentType(null),"setRequestHeader"in b&&Te.forEach(o.toJSON(),function(S,R){b.setRequestHeader(R,S)}),Te.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),d&&([f,_]=Jd(d,!0),b.addEventListener("progress",f)),c&&b.upload&&([h,m]=Jd(c),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",m)),(i.cancelToken||i.signal)&&(u=v=>{b&&(s(!v||v.type?new Ga(null,n,b):v),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const y=dP(i.url);if(y&&is.protocols.indexOf(y)===-1){s(new gt("Unsupported protocol "+y+":",gt.ERR_BAD_REQUEST,n));return}b.send(r||null)})},EP=(n,e)=>{let t=new AbortController,s;const i=function(c){if(!s){s=!0,o();const d=c instanceof Error?c:this.reason;t.abort(d instanceof gt?d:new Ga(d instanceof Error?d.message:d))}};let r=e&&setTimeout(()=>{i(new gt(`timeout ${e} of ms exceeded`,gt.ETIMEDOUT))},e);const o=()=>{n&&(r&&clearTimeout(r),r=null,n.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),n=null)};n.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:a}=t;return a.unsubscribe=o,[a,()=>{r&&clearTimeout(r),r=null}]},yP=EP,vP=function*(n,e){let t=n.byteLength;if(!e||t{const r=SP(n,e,i);let o=0,a,c=d=>{a||(a=!0,s&&s(d))};return new ReadableStream({async pull(d){try{const{done:u,value:h}=await r.next();if(u){c(),d.close();return}let f=h.byteLength;if(t){let m=o+=f;t(m)}d.enqueue(new Uint8Array(h))}catch(u){throw c(u),u}},cancel(d){return c(d),r.return()}},{highWaterMark:2})},Xu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",XA=Xu&&typeof ReadableStream=="function",$g=Xu&&(typeof TextEncoder=="function"?(n=>e=>n.encode(e))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),ZA=(n,...e)=>{try{return!!n(...e)}catch{return!1}},TP=XA&&ZA(()=>{let n=!1;const e=new Request(is.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!e}),zv=64*1024,Yg=XA&&ZA(()=>Te.isReadableStream(new Response("").body)),eu={stream:Yg&&(n=>n.body)};Xu&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!eu[e]&&(eu[e]=Te.isFunction(n[e])?t=>t[e]():(t,s)=>{throw new gt(`Response type '${e}' is not supported`,gt.ERR_NOT_SUPPORT,s)})})})(new Response);const xP=async n=>{if(n==null)return 0;if(Te.isBlob(n))return n.size;if(Te.isSpecCompliantForm(n))return(await new Request(n).arrayBuffer()).byteLength;if(Te.isArrayBufferView(n)||Te.isArrayBuffer(n))return n.byteLength;if(Te.isURLSearchParams(n)&&(n=n+""),Te.isString(n))return(await $g(n)).byteLength},CP=async(n,e)=>{const t=Te.toFiniteNumber(n.getContentLength());return t??xP(e)},wP=Xu&&(async n=>{let{url:e,method:t,data:s,signal:i,cancelToken:r,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:d,headers:u,withCredentials:h="same-origin",fetchOptions:f}=QA(n);d=d?(d+"").toLowerCase():"text";let[m,_]=i||r||o?yP([i,r],o):[],g,b;const E=()=>{!g&&setTimeout(()=>{m&&m.unsubscribe()}),g=!0};let y;try{if(c&&TP&&t!=="get"&&t!=="head"&&(y=await CP(u,s))!==0){let A=new Request(e,{method:"POST",body:s,duplex:"half"}),M;if(Te.isFormData(s)&&(M=A.headers.get("content-type"))&&u.setContentType(M),A.body){const[x,O]=Uv(y,Jd(Bv(c)));s=Vv(A.body,zv,x,O,$g)}}Te.isString(h)||(h=h?"include":"omit");const v="credentials"in Request.prototype;b=new Request(e,{...f,signal:m,method:t.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:v?h:void 0});let S=await fetch(b);const R=Yg&&(d==="stream"||d==="response");if(Yg&&(a||R)){const A={};["status","statusText","headers"].forEach(B=>{A[B]=S[B]});const M=Te.toFiniteNumber(S.headers.get("content-length")),[x,O]=a&&Uv(M,Jd(Bv(a),!0))||[];S=new Response(Vv(S.body,zv,x,()=>{O&&O(),R&&E()},$g),A)}d=d||"text";let w=await eu[Te.findKey(eu,d)||"text"](S,n);return!R&&E(),_&&_(),await new Promise((A,M)=>{KA(A,M,{data:w,headers:qs.from(S.headers),status:S.status,statusText:S.statusText,config:n,request:b})})}catch(v){throw E(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new gt("Network Error",gt.ERR_NETWORK,n,b),{cause:v.cause||v}):gt.from(v,v&&v.code,n,b)}}),Wg={http:VL,xhr:bP,fetch:wP};Te.forEach(Wg,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{value:e})}catch{}Object.defineProperty(n,"adapterName",{value:e})}});const Hv=n=>`- ${n}`,RP=n=>Te.isFunction(n)||n===null||n===!1,JA={getAdapter:n=>{n=Te.isArray(n)?n:[n];const{length:e}=n;let t,s;const i={};for(let r=0;r`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since : `+r.map(Hv).join(` `):" "+Hv(r[0]):"as no adapter specified";throw new gt("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Wg};function $p(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Ga(null,n)}function qv(n){return $p(n),n.headers=qs.from(n.headers),n.data=qp.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),JA.getAdapter(n.adapter||dE.adapter)(n).then(function(s){return $p(n),s.data=qp.call(n,n.transformResponse,s),s.headers=qs.from(s.headers),s},function(s){return WA(s)||($p(n),s&&s.response&&(s.response.data=qp.call(n,n.transformResponse,s.response),s.response.headers=qs.from(s.response.headers))),Promise.reject(s)})}const e2="1.7.5",uE={};["object","boolean","number","function","string","symbol"].forEach((n,e)=>{uE[n]=function(s){return typeof s===n||"a"+(e<1?"n ":" ")+n}});const $v={};uE.transitional=function(e,t,s){function i(r,o){return"[Axios v"+e2+"] Transitional option '"+r+"'"+o+(s?". "+s:"")}return(r,o,a)=>{if(e===!1)throw new gt(i(o," has been removed"+(t?" in "+t:"")),gt.ERR_DEPRECATED);return t&&!$v[o]&&($v[o]=!0,console.warn(i(o," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,o,a):!0}};function AP(n,e,t){if(typeof n!="object")throw new gt("options must be an object",gt.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let i=s.length;for(;i-- >0;){const r=s[i],o=e[r];if(o){const a=n[r],c=a===void 0||o(a,r,n);if(c!==!0)throw new gt("option "+r+" must be "+c,gt.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new gt("Unknown option "+r,gt.ERR_BAD_OPTION)}}const Kg={assertOptions:AP,validators:uE},Ki=Kg.validators;class tu{constructor(e){this.defaults=e,this.interceptors={request:new Pv,response:new Pv}}async request(e,t){try{return await this._request(e,t)}catch(s){if(s instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const r=i.stack?i.stack.replace(/^.+\n/,""):"";try{s.stack?r&&!String(s.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+r):s.stack=r}catch{}}throw s}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=ro(this.defaults,t);const{transitional:s,paramsSerializer:i,headers:r}=t;s!==void 0&&Kg.assertOptions(s,{silentJSONParsing:Ki.transitional(Ki.boolean),forcedJSONParsing:Ki.transitional(Ki.boolean),clarifyTimeoutError:Ki.transitional(Ki.boolean)},!1),i!=null&&(Te.isFunction(i)?t.paramsSerializer={serialize:i}:Kg.assertOptions(i,{encode:Ki.function,serialize:Ki.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=r&&Te.merge(r.common,r[t.method]);r&&Te.forEach(["delete","get","head","post","put","patch","common"],_=>{delete r[_]}),t.headers=qs.concat(o,r);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(t)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const d=[];this.interceptors.response.forEach(function(g){d.push(g.fulfilled,g.rejected)});let u,h=0,f;if(!c){const _=[qv.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,d),f=_.length,u=Promise.resolve(t);h{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](i);s._listeners=null}),this.promise.then=i=>{let r;const o=new Promise(a=>{s.subscribe(a),r=a}).then(i);return o.cancel=function(){s.unsubscribe(r)},o},e(function(r,o,a){s.reason||(s.reason=new Ga(r,o,a),t(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new pE(function(i){e=i}),cancel:e}}}const NP=pE;function OP(n){return function(t){return n.apply(null,t)}}function MP(n){return Te.isObject(n)&&n.isAxiosError===!0}const jg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(jg).forEach(([n,e])=>{jg[e]=n});const IP=jg;function t2(n){const e=new kd(n),t=IA(kd.prototype.request,e);return Te.extend(t,kd.prototype,e,{allOwnKeys:!0}),Te.extend(t,e,null,{allOwnKeys:!0}),t.create=function(i){return t2(ro(n,i))},t}const un=t2(dE);un.Axios=kd;un.CanceledError=Ga;un.CancelToken=NP;un.isCancel=WA;un.VERSION=e2;un.toFormData=ju;un.AxiosError=gt;un.Cancel=un.CanceledError;un.all=function(e){return Promise.all(e)};un.spread=OP;un.isAxiosError=MP;un.mergeConfig=ro;un.AxiosHeaders=qs;un.formToJSON=n=>YA(Te.isHTMLForm(n)?new FormData(n):n);un.getAdapter=JA.getAdapter;un.HttpStatusCode=IP;un.default=un;const re=un;/*! +`+r):s.stack=r}catch{}}throw s}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=ro(this.defaults,t);const{transitional:s,paramsSerializer:i,headers:r}=t;s!==void 0&&Kg.assertOptions(s,{silentJSONParsing:Ki.transitional(Ki.boolean),forcedJSONParsing:Ki.transitional(Ki.boolean),clarifyTimeoutError:Ki.transitional(Ki.boolean)},!1),i!=null&&(Te.isFunction(i)?t.paramsSerializer={serialize:i}:Kg.assertOptions(i,{encode:Ki.function,serialize:Ki.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=r&&Te.merge(r.common,r[t.method]);r&&Te.forEach(["delete","get","head","post","put","patch","common"],_=>{delete r[_]}),t.headers=qs.concat(o,r);const a=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(t)===!1||(c=c&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const d=[];this.interceptors.response.forEach(function(g){d.push(g.fulfilled,g.rejected)});let u,h=0,f;if(!c){const _=[qv.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,d),f=_.length,u=Promise.resolve(t);h{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](i);s._listeners=null}),this.promise.then=i=>{let r;const o=new Promise(a=>{s.subscribe(a),r=a}).then(i);return o.cancel=function(){s.unsubscribe(r)},o},e(function(r,o,a){s.reason||(s.reason=new Ga(r,o,a),t(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new pE(function(i){e=i}),cancel:e}}}const NP=pE;function OP(n){return function(t){return n.apply(null,t)}}function IP(n){return Te.isObject(n)&&n.isAxiosError===!0}const jg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(jg).forEach(([n,e])=>{jg[e]=n});const MP=jg;function t2(n){const e=new kd(n),t=MA(kd.prototype.request,e);return Te.extend(t,kd.prototype,e,{allOwnKeys:!0}),Te.extend(t,e,null,{allOwnKeys:!0}),t.create=function(i){return t2(ro(n,i))},t}const un=t2(dE);un.Axios=kd;un.CanceledError=Ga;un.CancelToken=NP;un.isCancel=WA;un.VERSION=e2;un.toFormData=ju;un.AxiosError=gt;un.Cancel=un.CanceledError;un.all=function(e){return Promise.all(e)};un.spread=OP;un.isAxiosError=IP;un.mergeConfig=ro;un.AxiosHeaders=qs;un.formToJSON=n=>YA(Te.isHTMLForm(n)?new FormData(n):n);un.getAdapter=JA.getAdapter;un.HttpStatusCode=MP;un.default=un;const re=un;/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Ho=typeof window<"u";function kP(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const Ut=Object.assign;function Yp(n,e){const t={};for(const s in e){const i=e[s];t[s]=js(i)?i.map(n):n(i)}return t}const Rl=()=>{},js=Array.isArray,DP=/\/$/,LP=n=>n.replace(DP,"");function Wp(n,e,t="/"){let s,i={},r="",o="";const a=e.indexOf("#");let c=e.indexOf("?");return a=0&&(c=-1),c>-1&&(s=e.slice(0,c),r=e.slice(c+1,a>-1?a:e.length),i=n(r)),a>-1&&(s=s||e.slice(0,a),o=e.slice(a,e.length)),s=BP(s??e,t),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:o}}function PP(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Yv(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function FP(n,e,t){const s=e.matched.length-1,i=t.matched.length-1;return s>-1&&s===i&&da(e.matched[s],t.matched[i])&&n2(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function da(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function n2(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!UP(n[t],e[t]))return!1;return!0}function UP(n,e){return js(n)?Wv(n,e):js(e)?Wv(e,n):n===e}function Wv(n,e){return js(e)?n.length===e.length&&n.every((t,s)=>t===e[s]):n.length===1&&n[0]===e}function BP(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),s=n.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=t.length-1,o,a;for(o=0;o1&&r--;else break;return t.slice(0,r).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Ql;(function(n){n.pop="pop",n.push="push"})(Ql||(Ql={}));var Al;(function(n){n.back="back",n.forward="forward",n.unknown=""})(Al||(Al={}));function GP(n){if(!n)if(Ho){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),LP(n)}const VP=/^[^#]+#/;function zP(n,e){return n.replace(VP,"#")+e}function HP(n,e){const t=document.documentElement.getBoundingClientRect(),s=n.getBoundingClientRect();return{behavior:e.behavior,left:s.left-t.left-(e.left||0),top:s.top-t.top-(e.top||0)}}const Zu=()=>({left:window.pageXOffset,top:window.pageYOffset});function qP(n){let e;if("el"in n){const t=n.el,s=typeof t=="string"&&t.startsWith("#"),i=typeof t=="string"?s?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!i)return;e=HP(i,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Kv(n,e){return(history.state?history.state.position-e:-1)+n}const Qg=new Map;function $P(n,e){Qg.set(n,e)}function YP(n){const e=Qg.get(n);return Qg.delete(n),e}let WP=()=>location.protocol+"//"+location.host;function s2(n,e){const{pathname:t,search:s,hash:i}=e,r=n.indexOf("#");if(r>-1){let a=i.includes(n.slice(r))?n.slice(r).length:1,c=i.slice(a);return c[0]!=="/"&&(c="/"+c),Yv(c,"")}return Yv(t,n)+s+i}function KP(n,e,t,s){let i=[],r=[],o=null;const a=({state:f})=>{const m=s2(n,location),_=t.value,g=e.value;let b=0;if(f){if(t.value=m,e.value=f,o&&o===_){o=null;return}b=g?f.position-g.position:0}else s(m);i.forEach(E=>{E(t.value,_,{delta:b,type:Ql.pop,direction:b?b>0?Al.forward:Al.back:Al.unknown})})};function c(){o=t.value}function d(f){i.push(f);const m=()=>{const _=i.indexOf(f);_>-1&&i.splice(_,1)};return r.push(m),m}function u(){const{history:f}=window;f.state&&f.replaceState(Ut({},f.state,{scroll:Zu()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function jv(n,e,t,s=!1,i=!1){return{back:n,current:e,forward:t,replaced:s,position:window.history.length,scroll:i?Zu():null}}function jP(n){const{history:e,location:t}=window,s={value:s2(n,t)},i={value:e.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(c,d,u){const h=n.indexOf("#"),f=h>-1?(t.host&&document.querySelector("base")?n:n.slice(h))+c:WP()+n+c;try{e[u?"replaceState":"pushState"](d,"",f),i.value=d}catch(m){console.error(m),t[u?"replace":"assign"](f)}}function o(c,d){const u=Ut({},e.state,jv(i.value.back,c,i.value.forward,!0),d,{position:i.value.position});r(c,u,!0),s.value=c}function a(c,d){const u=Ut({},i.value,e.state,{forward:c,scroll:Zu()});r(u.current,u,!0);const h=Ut({},jv(s.value,c,null),{position:u.position+1},d);r(c,h,!1),s.value=c}return{location:s,state:i,push:a,replace:o}}function QP(n){n=GP(n);const e=jP(n),t=KP(n,e.state,e.location,e.replace);function s(r,o=!0){o||t.pauseListeners(),history.go(r)}const i=Ut({location:"",base:n,go:s,createHref:zP.bind(null,n)},e,t);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function XP(n){return typeof n=="string"||n&&typeof n=="object"}function i2(n){return typeof n=="string"||typeof n=="symbol"}const ji={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},r2=Symbol("");var Qv;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Qv||(Qv={}));function ua(n,e){return Ut(new Error,{type:n,[r2]:!0},e)}function Ti(n,e){return n instanceof Error&&r2 in n&&(e==null||!!(n.type&e))}const Xv="[^/]+?",ZP={sensitive:!1,strict:!1,start:!0,end:!0},JP=/[.+*?^${}()[\]/\\]/g;function e3(n,e){const t=Ut({},ZP,e),s=[];let i=t.start?"^":"";const r=[];for(const d of n){const u=d.length?[]:[90];t.strict&&!d.length&&(i+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function n3(n,e){let t=0;const s=n.score,i=e.score;for(;t0&&e[e.length-1]<0}const s3={type:0,value:""},i3=/[a-zA-Z0-9_]/;function r3(n){if(!n)return[[]];if(n==="/")return[[s3]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(m){throw new Error(`ERR (${t})/"${d}": ${m}`)}let t=0,s=t;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,c,d="",u="";function h(){d&&(t===0?r.push({type:0,value:d}):t===1||t===2||t===3?(r.length>1&&(c==="*"||c==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=c}for(;a{o(y)}:Rl}function o(u){if(i2(u)){const h=s.get(u);h&&(s.delete(u),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(u);h>-1&&(t.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return t}function c(u){let h=0;for(;h=0&&(u.record.path!==t[h].record.path||!o2(u,t[h]));)h++;t.splice(h,0,u),u.record.name&&!e0(u)&&s.set(u.record.name,u)}function d(u,h){let f,m={},_,g;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw ua(1,{location:u});g=f.record.name,m=Ut(Jv(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Jv(u.params,f.keys.map(y=>y.name))),_=f.stringify(m)}else if("path"in u)_=u.path,f=t.find(y=>y.re.test(_)),f&&(m=f.parse(_),g=f.record.name);else{if(f=h.name?s.get(h.name):t.find(y=>y.re.test(h.path)),!f)throw ua(1,{location:u,currentLocation:h});g=f.record.name,m=Ut({},h.params,u.params),_=f.stringify(m)}const b=[];let E=f;for(;E;)b.unshift(E.record),E=E.parent;return{name:g,path:_,params:m,matched:b,meta:d3(b)}}return n.forEach(u=>r(u)),{addRoute:r,resolve:d,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function Jv(n,e){const t={};for(const s of e)s in n&&(t[s]=n[s]);return t}function l3(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:c3(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function c3(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const s in n.components)e[s]=typeof t=="object"?t[s]:t;return e}function e0(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function d3(n){return n.reduce((e,t)=>Ut(e,t.meta),{})}function t0(n,e){const t={};for(const s in n)t[s]=s in e?e[s]:n[s];return t}function o2(n,e){return e.children.some(t=>t===n||o2(n,t))}const a2=/#/g,u3=/&/g,p3=/\//g,_3=/=/g,h3=/\?/g,l2=/\+/g,f3=/%5B/g,m3=/%5D/g,c2=/%5E/g,g3=/%60/g,d2=/%7B/g,b3=/%7C/g,u2=/%7D/g,E3=/%20/g;function _E(n){return encodeURI(""+n).replace(b3,"|").replace(f3,"[").replace(m3,"]")}function y3(n){return _E(n).replace(d2,"{").replace(u2,"}").replace(c2,"^")}function Xg(n){return _E(n).replace(l2,"%2B").replace(E3,"+").replace(a2,"%23").replace(u3,"%26").replace(g3,"`").replace(d2,"{").replace(u2,"}").replace(c2,"^")}function v3(n){return Xg(n).replace(_3,"%3D")}function S3(n){return _E(n).replace(a2,"%23").replace(h3,"%3F")}function T3(n){return n==null?"":S3(n).replace(p3,"%2F")}function nu(n){try{return decodeURIComponent(""+n)}catch{}return""+n}function x3(n){const e={};if(n===""||n==="?")return e;const s=(n[0]==="?"?n.slice(1):n).split("&");for(let i=0;ir&&Xg(r)):[s&&Xg(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+t,r!=null&&(e+="="+r))})}return e}function C3(n){const e={};for(const t in n){const s=n[t];s!==void 0&&(e[t]=js(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const w3=Symbol(""),s0=Symbol(""),hE=Symbol(""),fE=Symbol(""),Zg=Symbol("");function il(){let n=[];function e(s){return n.push(s),()=>{const i=n.indexOf(s);i>-1&&n.splice(i,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function ir(n,e,t,s,i){const r=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const c=h=>{h===!1?a(ua(4,{from:t,to:e})):h instanceof Error?a(h):XP(h)?a(ua(2,{from:e,to:h})):(r&&s.enterCallbacks[i]===r&&typeof h=="function"&&r.push(h),o())},d=n.call(s&&s.instances[i],e,t,c);let u=Promise.resolve(d);n.length<3&&(u=u.then(c)),u.catch(h=>a(h))})}function Kp(n,e,t,s){const i=[];for(const r of n)for(const o in r.components){let a=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(R3(a)){const d=(a.__vccOpts||a)[e];d&&i.push(ir(d,t,s,r,o))}else{let c=a();i.push(()=>c.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=kP(d)?d.default:d;r.components[o]=u;const f=(u.__vccOpts||u)[e];return f&&ir(f,t,s,r,o)()}))}}return i}function R3(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function i0(n){const e=ns(hE),t=ns(fE),s=et(()=>e.resolve(Lt(n.to))),i=et(()=>{const{matched:c}=s.value,{length:d}=c,u=c[d-1],h=t.matched;if(!u||!h.length)return-1;const f=h.findIndex(da.bind(null,u));if(f>-1)return f;const m=r0(c[d-2]);return d>1&&r0(u)===m&&h[h.length-1].path!==m?h.findIndex(da.bind(null,c[d-2])):f}),r=et(()=>i.value>-1&&O3(t.params,s.value.params)),o=et(()=>i.value>-1&&i.value===t.matched.length-1&&n2(t.params,s.value.params));function a(c={}){return N3(c)?e[Lt(n.replace)?"replace":"push"](Lt(n.to)).catch(Rl):Promise.resolve()}return{route:s,href:et(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}const A3=pn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:i0,setup(n,{slots:e}){const t=Qn(i0(n)),{options:s}=ns(hE),i=et(()=>({[o0(n.activeClass,s.linkActiveClass,"router-link-active")]:t.isActive,[o0(n.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const r=e.default&&e.default(t);return n.custom?r:nE("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:i.value},r)}}}),mE=A3;function N3(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function O3(n,e){for(const t in e){const s=e[t],i=n[t];if(typeof s=="string"){if(s!==i)return!1}else if(!js(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function r0(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const o0=(n,e,t)=>n??e??t,M3=pn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const s=ns(Zg),i=et(()=>n.route||s.value),r=ns(s0,0),o=et(()=>{let d=Lt(r);const{matched:u}=i.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=et(()=>i.value.matched[o.value]);ea(s0,et(()=>o.value+1)),ea(w3,a),ea(Zg,i);const c=ct();return Ln(()=>[c.value,a.value,n.name],([d,u,h],[f,m,_])=>{u&&(u.instances[h]=d,m&&m!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),d&&u&&(!m||!da(u,m)||!f)&&(u.enterCallbacks[h]||[]).forEach(g=>g(d))},{flush:"post"}),()=>{const d=i.value,u=n.name,h=a.value,f=h&&h.components[u];if(!f)return a0(t.default,{Component:f,route:d});const m=h.props[u],_=m?m===!0?d.params:typeof m=="function"?m(d):m:null,b=nE(f,Ut({},_,e,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:c}));return a0(t.default,{Component:b,route:d})||b}}});function a0(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const p2=M3;function I3(n){const e=a3(n.routes,n),t=n.parseQuery||x3,s=n.stringifyQuery||n0,i=n.history,r=il(),o=il(),a=il(),c=MI(ji);let d=ji;Ho&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Yp.bind(null,Z=>""+Z),h=Yp.bind(null,T3),f=Yp.bind(null,nu);function m(Z,he){let _e,we;return i2(Z)?(_e=e.getRecordMatcher(Z),we=he):we=Z,e.addRoute(we,_e)}function _(Z){const he=e.getRecordMatcher(Z);he&&e.removeRoute(he)}function g(){return e.getRoutes().map(Z=>Z.record)}function b(Z){return!!e.getRecordMatcher(Z)}function E(Z,he){if(he=Ut({},he||c.value),typeof Z=="string"){const Y=Wp(t,Z,he.path),ce=e.resolve({path:Y.path},he),oe=i.createHref(Y.fullPath);return Ut(Y,ce,{params:f(ce.params),hash:nu(Y.hash),redirectedFrom:void 0,href:oe})}let _e;if("path"in Z)_e=Ut({},Z,{path:Wp(t,Z.path,he.path).path});else{const Y=Ut({},Z.params);for(const ce in Y)Y[ce]==null&&delete Y[ce];_e=Ut({},Z,{params:h(Y)}),he.params=h(he.params)}const we=e.resolve(_e,he),Pe=Z.hash||"";we.params=u(f(we.params));const N=PP(s,Ut({},Z,{hash:y3(Pe),path:we.path})),z=i.createHref(N);return Ut({fullPath:N,hash:Pe,query:s===n0?C3(Z.query):Z.query||{}},we,{redirectedFrom:void 0,href:z})}function y(Z){return typeof Z=="string"?Wp(t,Z,c.value.path):Ut({},Z)}function v(Z,he){if(d!==Z)return ua(8,{from:he,to:Z})}function S(Z){return A(Z)}function R(Z){return S(Ut(y(Z),{replace:!0}))}function w(Z){const he=Z.matched[Z.matched.length-1];if(he&&he.redirect){const{redirect:_e}=he;let we=typeof _e=="function"?_e(Z):_e;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=y(we):{path:we},we.params={}),Ut({query:Z.query,hash:Z.hash,params:"path"in we?{}:Z.params},we)}}function A(Z,he){const _e=d=E(Z),we=c.value,Pe=Z.state,N=Z.force,z=Z.replace===!0,Y=w(_e);if(Y)return A(Ut(y(Y),{state:typeof Y=="object"?Ut({},Pe,Y.state):Pe,force:N,replace:z}),he||_e);const ce=_e;ce.redirectedFrom=he;let oe;return!N&&FP(s,we,_e)&&(oe=ua(16,{to:ce,from:we}),me(we,we,!0,!1)),(oe?Promise.resolve(oe):O(ce,we)).catch(xe=>Ti(xe)?Ti(xe,2)?xe:le(xe):W(xe,ce,we)).then(xe=>{if(xe){if(Ti(xe,2))return A(Ut({replace:z},y(xe.to),{state:typeof xe.to=="object"?Ut({},Pe,xe.to.state):Pe,force:N}),he||ce)}else xe=H(ce,we,!0,z,Pe);return B(ce,we,xe),xe})}function I(Z,he){const _e=v(Z,he);return _e?Promise.reject(_e):Promise.resolve()}function C(Z){const he=Ee.values().next().value;return he&&typeof he.runWithContext=="function"?he.runWithContext(Z):Z()}function O(Z,he){let _e;const[we,Pe,N]=k3(Z,he);_e=Kp(we.reverse(),"beforeRouteLeave",Z,he);for(const Y of we)Y.leaveGuards.forEach(ce=>{_e.push(ir(ce,Z,he))});const z=I.bind(null,Z,he);return _e.push(z),ke(_e).then(()=>{_e=[];for(const Y of r.list())_e.push(ir(Y,Z,he));return _e.push(z),ke(_e)}).then(()=>{_e=Kp(Pe,"beforeRouteUpdate",Z,he);for(const Y of Pe)Y.updateGuards.forEach(ce=>{_e.push(ir(ce,Z,he))});return _e.push(z),ke(_e)}).then(()=>{_e=[];for(const Y of N)if(Y.beforeEnter)if(js(Y.beforeEnter))for(const ce of Y.beforeEnter)_e.push(ir(ce,Z,he));else _e.push(ir(Y.beforeEnter,Z,he));return _e.push(z),ke(_e)}).then(()=>(Z.matched.forEach(Y=>Y.enterCallbacks={}),_e=Kp(N,"beforeRouteEnter",Z,he),_e.push(z),ke(_e))).then(()=>{_e=[];for(const Y of o.list())_e.push(ir(Y,Z,he));return _e.push(z),ke(_e)}).catch(Y=>Ti(Y,8)?Y:Promise.reject(Y))}function B(Z,he,_e){a.list().forEach(we=>C(()=>we(Z,he,_e)))}function H(Z,he,_e,we,Pe){const N=v(Z,he);if(N)return N;const z=he===ji,Y=Ho?history.state:{};_e&&(we||z?i.replace(Z.fullPath,Ut({scroll:z&&Y&&Y.scroll},Pe)):i.push(Z.fullPath,Pe)),c.value=Z,me(Z,he,_e,z),le()}let te;function k(){te||(te=i.listen((Z,he,_e)=>{if(!Me.listening)return;const we=E(Z),Pe=w(we);if(Pe){A(Ut(Pe,{replace:!0}),we).catch(Rl);return}d=we;const N=c.value;Ho&&$P(Kv(N.fullPath,_e.delta),Zu()),O(we,N).catch(z=>Ti(z,12)?z:Ti(z,2)?(A(z.to,we).then(Y=>{Ti(Y,20)&&!_e.delta&&_e.type===Ql.pop&&i.go(-1,!1)}).catch(Rl),Promise.reject()):(_e.delta&&i.go(-_e.delta,!1),W(z,we,N))).then(z=>{z=z||H(we,N,!1),z&&(_e.delta&&!Ti(z,8)?i.go(-_e.delta,!1):_e.type===Ql.pop&&Ti(z,20)&&i.go(-1,!1)),B(we,N,z)}).catch(Rl)}))}let $=il(),q=il(),F;function W(Z,he,_e){le(Z);const we=q.list();return we.length?we.forEach(Pe=>Pe(Z,he,_e)):console.error(Z),Promise.reject(Z)}function ne(){return F&&c.value!==ji?Promise.resolve():new Promise((Z,he)=>{$.add([Z,he])})}function le(Z){return F||(F=!Z,k(),$.list().forEach(([he,_e])=>Z?_e(Z):he()),$.reset()),Z}function me(Z,he,_e,we){const{scrollBehavior:Pe}=n;if(!Ho||!Pe)return Promise.resolve();const N=!_e&&YP(Kv(Z.fullPath,0))||(we||!_e)&&history.state&&history.state.scroll||null;return Le().then(()=>Pe(Z,he,N)).then(z=>z&&qP(z)).catch(z=>W(z,Z,he))}const Se=Z=>i.go(Z);let de;const Ee=new Set,Me={currentRoute:c,listening:!0,addRoute:m,removeRoute:_,hasRoute:b,getRoutes:g,resolve:E,options:n,push:S,replace:R,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:q.add,isReady:ne,install(Z){const he=this;Z.component("RouterLink",mE),Z.component("RouterView",p2),Z.config.globalProperties.$router=he,Object.defineProperty(Z.config.globalProperties,"$route",{enumerable:!0,get:()=>Lt(c)}),Ho&&!de&&c.value===ji&&(de=!0,S(i.location).catch(Pe=>{}));const _e={};for(const Pe in ji)Object.defineProperty(_e,Pe,{get:()=>c.value[Pe],enumerable:!0});Z.provide(hE,he),Z.provide(fE,MR(_e)),Z.provide(Zg,c);const we=Z.unmount;Ee.add(Z),Z.unmount=function(){Ee.delete(Z),Ee.size<1&&(d=ji,te&&te(),te=null,c.value=ji,de=!1,F=!1),we()}}};function ke(Z){return Z.reduce((he,_e)=>he.then(()=>C(_e)),Promise.resolve())}return Me}function k3(n,e){const t=[],s=[],i=[],r=Math.max(e.matched.length,n.matched.length);for(let o=0;oda(d,a))?s.push(a):t.push(a));const c=n.matched[o];c&&(e.matched.find(d=>da(d,c))||i.push(c))}return[t,s,i]}function D3(){return ns(fE)}const L3="modulepreload",P3=function(n){return"/"+n},l0={},jp=function(e,t,s){if(!t||t.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(t.map(r=>{if(r=P3(r),r in l0)return;l0[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=i.length-1;u>=0;u--){const h=i[u];if(h.href===r&&(!o||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const d=document.createElement("link");if(d.rel=o?"stylesheet":L3,o||(d.as="script",d.crossOrigin=""),d.href=r,document.head.appendChild(d),o)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})};var _2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function F3(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(s){var i=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:function(){return n[s]}})}),t}var h2={exports:{}};(function(n,e){(function(s,i){n.exports=i()})(typeof self<"u"?self:_2,function(){return function(t){var s={};function i(r){if(s[r])return s[r].exports;var o=s[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=s,i.d=function(r,o,a){i.o(r,o)||Object.defineProperty(r,o,{configurable:!1,enumerable:!0,get:a})},i.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},i.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(o,"a",o),o},i.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},i.p="",i(i.s=0)}({"./dist/icons.json":function(t){t.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(t,s,i){var r,o;/*! + */const qo=typeof window<"u";function kP(n){return n.__esModule||n[Symbol.toStringTag]==="Module"}const Ut=Object.assign;function Yp(n,e){const t={};for(const s in e){const i=e[s];t[s]=js(i)?i.map(n):n(i)}return t}const Rl=()=>{},js=Array.isArray,DP=/\/$/,LP=n=>n.replace(DP,"");function Wp(n,e,t="/"){let s,i={},r="",o="";const a=e.indexOf("#");let c=e.indexOf("?");return a=0&&(c=-1),c>-1&&(s=e.slice(0,c),r=e.slice(c+1,a>-1?a:e.length),i=n(r)),a>-1&&(s=s||e.slice(0,a),o=e.slice(a,e.length)),s=BP(s??e,t),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:o}}function PP(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Yv(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function FP(n,e,t){const s=e.matched.length-1,i=t.matched.length-1;return s>-1&&s===i&&ua(e.matched[s],t.matched[i])&&n2(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function ua(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function n2(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!UP(n[t],e[t]))return!1;return!0}function UP(n,e){return js(n)?Wv(n,e):js(e)?Wv(e,n):n===e}function Wv(n,e){return js(e)?n.length===e.length&&n.every((t,s)=>t===e[s]):n.length===1&&n[0]===e}function BP(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),s=n.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=t.length-1,o,a;for(o=0;o1&&r--;else break;return t.slice(0,r).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Ql;(function(n){n.pop="pop",n.push="push"})(Ql||(Ql={}));var Al;(function(n){n.back="back",n.forward="forward",n.unknown=""})(Al||(Al={}));function GP(n){if(!n)if(qo){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),LP(n)}const VP=/^[^#]+#/;function zP(n,e){return n.replace(VP,"#")+e}function HP(n,e){const t=document.documentElement.getBoundingClientRect(),s=n.getBoundingClientRect();return{behavior:e.behavior,left:s.left-t.left-(e.left||0),top:s.top-t.top-(e.top||0)}}const Zu=()=>({left:window.pageXOffset,top:window.pageYOffset});function qP(n){let e;if("el"in n){const t=n.el,s=typeof t=="string"&&t.startsWith("#"),i=typeof t=="string"?s?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!i)return;e=HP(i,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Kv(n,e){return(history.state?history.state.position-e:-1)+n}const Qg=new Map;function $P(n,e){Qg.set(n,e)}function YP(n){const e=Qg.get(n);return Qg.delete(n),e}let WP=()=>location.protocol+"//"+location.host;function s2(n,e){const{pathname:t,search:s,hash:i}=e,r=n.indexOf("#");if(r>-1){let a=i.includes(n.slice(r))?n.slice(r).length:1,c=i.slice(a);return c[0]!=="/"&&(c="/"+c),Yv(c,"")}return Yv(t,n)+s+i}function KP(n,e,t,s){let i=[],r=[],o=null;const a=({state:f})=>{const m=s2(n,location),_=t.value,g=e.value;let b=0;if(f){if(t.value=m,e.value=f,o&&o===_){o=null;return}b=g?f.position-g.position:0}else s(m);i.forEach(E=>{E(t.value,_,{delta:b,type:Ql.pop,direction:b?b>0?Al.forward:Al.back:Al.unknown})})};function c(){o=t.value}function d(f){i.push(f);const m=()=>{const _=i.indexOf(f);_>-1&&i.splice(_,1)};return r.push(m),m}function u(){const{history:f}=window;f.state&&f.replaceState(Ut({},f.state,{scroll:Zu()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function jv(n,e,t,s=!1,i=!1){return{back:n,current:e,forward:t,replaced:s,position:window.history.length,scroll:i?Zu():null}}function jP(n){const{history:e,location:t}=window,s={value:s2(n,t)},i={value:e.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(c,d,u){const h=n.indexOf("#"),f=h>-1?(t.host&&document.querySelector("base")?n:n.slice(h))+c:WP()+n+c;try{e[u?"replaceState":"pushState"](d,"",f),i.value=d}catch(m){console.error(m),t[u?"replace":"assign"](f)}}function o(c,d){const u=Ut({},e.state,jv(i.value.back,c,i.value.forward,!0),d,{position:i.value.position});r(c,u,!0),s.value=c}function a(c,d){const u=Ut({},i.value,e.state,{forward:c,scroll:Zu()});r(u.current,u,!0);const h=Ut({},jv(s.value,c,null),{position:u.position+1},d);r(c,h,!1),s.value=c}return{location:s,state:i,push:a,replace:o}}function QP(n){n=GP(n);const e=jP(n),t=KP(n,e.state,e.location,e.replace);function s(r,o=!0){o||t.pauseListeners(),history.go(r)}const i=Ut({location:"",base:n,go:s,createHref:zP.bind(null,n)},e,t);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function XP(n){return typeof n=="string"||n&&typeof n=="object"}function i2(n){return typeof n=="string"||typeof n=="symbol"}const ji={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},r2=Symbol("");var Qv;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Qv||(Qv={}));function pa(n,e){return Ut(new Error,{type:n,[r2]:!0},e)}function Ti(n,e){return n instanceof Error&&r2 in n&&(e==null||!!(n.type&e))}const Xv="[^/]+?",ZP={sensitive:!1,strict:!1,start:!0,end:!0},JP=/[.+*?^${}()[\]/\\]/g;function eF(n,e){const t=Ut({},ZP,e),s=[];let i=t.start?"^":"";const r=[];for(const d of n){const u=d.length?[]:[90];t.strict&&!d.length&&(i+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function nF(n,e){let t=0;const s=n.score,i=e.score;for(;t0&&e[e.length-1]<0}const sF={type:0,value:""},iF=/[a-zA-Z0-9_]/;function rF(n){if(!n)return[[]];if(n==="/")return[[sF]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(m){throw new Error(`ERR (${t})/"${d}": ${m}`)}let t=0,s=t;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,c,d="",u="";function h(){d&&(t===0?r.push({type:0,value:d}):t===1||t===2||t===3?(r.length>1&&(c==="*"||c==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):e("Invalid state to consume buffer"),d="")}function f(){d+=c}for(;a{o(y)}:Rl}function o(u){if(i2(u)){const h=s.get(u);h&&(s.delete(u),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(u);h>-1&&(t.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return t}function c(u){let h=0;for(;h=0&&(u.record.path!==t[h].record.path||!o2(u,t[h]));)h++;t.splice(h,0,u),u.record.name&&!eS(u)&&s.set(u.record.name,u)}function d(u,h){let f,m={},_,g;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw pa(1,{location:u});g=f.record.name,m=Ut(Jv(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Jv(u.params,f.keys.map(y=>y.name))),_=f.stringify(m)}else if("path"in u)_=u.path,f=t.find(y=>y.re.test(_)),f&&(m=f.parse(_),g=f.record.name);else{if(f=h.name?s.get(h.name):t.find(y=>y.re.test(h.path)),!f)throw pa(1,{location:u,currentLocation:h});g=f.record.name,m=Ut({},h.params,u.params),_=f.stringify(m)}const b=[];let E=f;for(;E;)b.unshift(E.record),E=E.parent;return{name:g,path:_,params:m,matched:b,meta:dF(b)}}return n.forEach(u=>r(u)),{addRoute:r,resolve:d,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function Jv(n,e){const t={};for(const s of e)s in n&&(t[s]=n[s]);return t}function lF(n){return{path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:void 0,beforeEnter:n.beforeEnter,props:cF(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}}}function cF(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const s in n.components)e[s]=typeof t=="object"?t[s]:t;return e}function eS(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function dF(n){return n.reduce((e,t)=>Ut(e,t.meta),{})}function tS(n,e){const t={};for(const s in n)t[s]=s in e?e[s]:n[s];return t}function o2(n,e){return e.children.some(t=>t===n||o2(n,t))}const a2=/#/g,uF=/&/g,pF=/\//g,_F=/=/g,hF=/\?/g,l2=/\+/g,fF=/%5B/g,mF=/%5D/g,c2=/%5E/g,gF=/%60/g,d2=/%7B/g,bF=/%7C/g,u2=/%7D/g,EF=/%20/g;function _E(n){return encodeURI(""+n).replace(bF,"|").replace(fF,"[").replace(mF,"]")}function yF(n){return _E(n).replace(d2,"{").replace(u2,"}").replace(c2,"^")}function Xg(n){return _E(n).replace(l2,"%2B").replace(EF,"+").replace(a2,"%23").replace(uF,"%26").replace(gF,"`").replace(d2,"{").replace(u2,"}").replace(c2,"^")}function vF(n){return Xg(n).replace(_F,"%3D")}function SF(n){return _E(n).replace(a2,"%23").replace(hF,"%3F")}function TF(n){return n==null?"":SF(n).replace(pF,"%2F")}function nu(n){try{return decodeURIComponent(""+n)}catch{}return""+n}function xF(n){const e={};if(n===""||n==="?")return e;const s=(n[0]==="?"?n.slice(1):n).split("&");for(let i=0;ir&&Xg(r)):[s&&Xg(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+t,r!=null&&(e+="="+r))})}return e}function CF(n){const e={};for(const t in n){const s=n[t];s!==void 0&&(e[t]=js(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const wF=Symbol(""),sS=Symbol(""),hE=Symbol(""),fE=Symbol(""),Zg=Symbol("");function il(){let n=[];function e(s){return n.push(s),()=>{const i=n.indexOf(s);i>-1&&n.splice(i,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function ir(n,e,t,s,i){const r=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const c=h=>{h===!1?a(pa(4,{from:t,to:e})):h instanceof Error?a(h):XP(h)?a(pa(2,{from:e,to:h})):(r&&s.enterCallbacks[i]===r&&typeof h=="function"&&r.push(h),o())},d=n.call(s&&s.instances[i],e,t,c);let u=Promise.resolve(d);n.length<3&&(u=u.then(c)),u.catch(h=>a(h))})}function Kp(n,e,t,s){const i=[];for(const r of n)for(const o in r.components){let a=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(RF(a)){const d=(a.__vccOpts||a)[e];d&&i.push(ir(d,t,s,r,o))}else{let c=a();i.push(()=>c.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const u=kP(d)?d.default:d;r.components[o]=u;const f=(u.__vccOpts||u)[e];return f&&ir(f,t,s,r,o)()}))}}return i}function RF(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function iS(n){const e=ns(hE),t=ns(fE),s=et(()=>e.resolve(Lt(n.to))),i=et(()=>{const{matched:c}=s.value,{length:d}=c,u=c[d-1],h=t.matched;if(!u||!h.length)return-1;const f=h.findIndex(ua.bind(null,u));if(f>-1)return f;const m=rS(c[d-2]);return d>1&&rS(u)===m&&h[h.length-1].path!==m?h.findIndex(ua.bind(null,c[d-2])):f}),r=et(()=>i.value>-1&&OF(t.params,s.value.params)),o=et(()=>i.value>-1&&i.value===t.matched.length-1&&n2(t.params,s.value.params));function a(c={}){return NF(c)?e[Lt(n.replace)?"replace":"push"](Lt(n.to)).catch(Rl):Promise.resolve()}return{route:s,href:et(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}const AF=pn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:iS,setup(n,{slots:e}){const t=Qn(iS(n)),{options:s}=ns(hE),i=et(()=>({[oS(n.activeClass,s.linkActiveClass,"router-link-active")]:t.isActive,[oS(n.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const r=e.default&&e.default(t);return n.custom?r:nE("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:i.value},r)}}}),mE=AF;function NF(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function OF(n,e){for(const t in e){const s=e[t],i=n[t];if(typeof s=="string"){if(s!==i)return!1}else if(!js(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function rS(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const oS=(n,e,t)=>n??e??t,IF=pn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const s=ns(Zg),i=et(()=>n.route||s.value),r=ns(sS,0),o=et(()=>{let d=Lt(r);const{matched:u}=i.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=et(()=>i.value.matched[o.value]);ta(sS,et(()=>o.value+1)),ta(wF,a),ta(Zg,i);const c=ct();return Ln(()=>[c.value,a.value,n.name],([d,u,h],[f,m,_])=>{u&&(u.instances[h]=d,m&&m!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),d&&u&&(!m||!ua(u,m)||!f)&&(u.enterCallbacks[h]||[]).forEach(g=>g(d))},{flush:"post"}),()=>{const d=i.value,u=n.name,h=a.value,f=h&&h.components[u];if(!f)return aS(t.default,{Component:f,route:d});const m=h.props[u],_=m?m===!0?d.params:typeof m=="function"?m(d):m:null,b=nE(f,Ut({},_,e,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:c}));return aS(t.default,{Component:b,route:d})||b}}});function aS(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const p2=IF;function MF(n){const e=aF(n.routes,n),t=n.parseQuery||xF,s=n.stringifyQuery||nS,i=n.history,r=il(),o=il(),a=il(),c=IM(ji);let d=ji;qo&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Yp.bind(null,Z=>""+Z),h=Yp.bind(null,TF),f=Yp.bind(null,nu);function m(Z,he){let _e,we;return i2(Z)?(_e=e.getRecordMatcher(Z),we=he):we=Z,e.addRoute(we,_e)}function _(Z){const he=e.getRecordMatcher(Z);he&&e.removeRoute(he)}function g(){return e.getRoutes().map(Z=>Z.record)}function b(Z){return!!e.getRecordMatcher(Z)}function E(Z,he){if(he=Ut({},he||c.value),typeof Z=="string"){const Y=Wp(t,Z,he.path),ce=e.resolve({path:Y.path},he),oe=i.createHref(Y.fullPath);return Ut(Y,ce,{params:f(ce.params),hash:nu(Y.hash),redirectedFrom:void 0,href:oe})}let _e;if("path"in Z)_e=Ut({},Z,{path:Wp(t,Z.path,he.path).path});else{const Y=Ut({},Z.params);for(const ce in Y)Y[ce]==null&&delete Y[ce];_e=Ut({},Z,{params:h(Y)}),he.params=h(he.params)}const we=e.resolve(_e,he),Pe=Z.hash||"";we.params=u(f(we.params));const N=PP(s,Ut({},Z,{hash:yF(Pe),path:we.path})),z=i.createHref(N);return Ut({fullPath:N,hash:Pe,query:s===nS?CF(Z.query):Z.query||{}},we,{redirectedFrom:void 0,href:z})}function y(Z){return typeof Z=="string"?Wp(t,Z,c.value.path):Ut({},Z)}function v(Z,he){if(d!==Z)return pa(8,{from:he,to:Z})}function S(Z){return A(Z)}function R(Z){return S(Ut(y(Z),{replace:!0}))}function w(Z){const he=Z.matched[Z.matched.length-1];if(he&&he.redirect){const{redirect:_e}=he;let we=typeof _e=="function"?_e(Z):_e;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=y(we):{path:we},we.params={}),Ut({query:Z.query,hash:Z.hash,params:"path"in we?{}:Z.params},we)}}function A(Z,he){const _e=d=E(Z),we=c.value,Pe=Z.state,N=Z.force,z=Z.replace===!0,Y=w(_e);if(Y)return A(Ut(y(Y),{state:typeof Y=="object"?Ut({},Pe,Y.state):Pe,force:N,replace:z}),he||_e);const ce=_e;ce.redirectedFrom=he;let oe;return!N&&FP(s,we,_e)&&(oe=pa(16,{to:ce,from:we}),me(we,we,!0,!1)),(oe?Promise.resolve(oe):O(ce,we)).catch(xe=>Ti(xe)?Ti(xe,2)?xe:le(xe):W(xe,ce,we)).then(xe=>{if(xe){if(Ti(xe,2))return A(Ut({replace:z},y(xe.to),{state:typeof xe.to=="object"?Ut({},Pe,xe.to.state):Pe,force:N}),he||ce)}else xe=H(ce,we,!0,z,Pe);return B(ce,we,xe),xe})}function M(Z,he){const _e=v(Z,he);return _e?Promise.reject(_e):Promise.resolve()}function x(Z){const he=Ee.values().next().value;return he&&typeof he.runWithContext=="function"?he.runWithContext(Z):Z()}function O(Z,he){let _e;const[we,Pe,N]=kF(Z,he);_e=Kp(we.reverse(),"beforeRouteLeave",Z,he);for(const Y of we)Y.leaveGuards.forEach(ce=>{_e.push(ir(ce,Z,he))});const z=M.bind(null,Z,he);return _e.push(z),ke(_e).then(()=>{_e=[];for(const Y of r.list())_e.push(ir(Y,Z,he));return _e.push(z),ke(_e)}).then(()=>{_e=Kp(Pe,"beforeRouteUpdate",Z,he);for(const Y of Pe)Y.updateGuards.forEach(ce=>{_e.push(ir(ce,Z,he))});return _e.push(z),ke(_e)}).then(()=>{_e=[];for(const Y of N)if(Y.beforeEnter)if(js(Y.beforeEnter))for(const ce of Y.beforeEnter)_e.push(ir(ce,Z,he));else _e.push(ir(Y.beforeEnter,Z,he));return _e.push(z),ke(_e)}).then(()=>(Z.matched.forEach(Y=>Y.enterCallbacks={}),_e=Kp(N,"beforeRouteEnter",Z,he),_e.push(z),ke(_e))).then(()=>{_e=[];for(const Y of o.list())_e.push(ir(Y,Z,he));return _e.push(z),ke(_e)}).catch(Y=>Ti(Y,8)?Y:Promise.reject(Y))}function B(Z,he,_e){a.list().forEach(we=>x(()=>we(Z,he,_e)))}function H(Z,he,_e,we,Pe){const N=v(Z,he);if(N)return N;const z=he===ji,Y=qo?history.state:{};_e&&(we||z?i.replace(Z.fullPath,Ut({scroll:z&&Y&&Y.scroll},Pe)):i.push(Z.fullPath,Pe)),c.value=Z,me(Z,he,_e,z),le()}let te;function k(){te||(te=i.listen((Z,he,_e)=>{if(!Ie.listening)return;const we=E(Z),Pe=w(we);if(Pe){A(Ut(Pe,{replace:!0}),we).catch(Rl);return}d=we;const N=c.value;qo&&$P(Kv(N.fullPath,_e.delta),Zu()),O(we,N).catch(z=>Ti(z,12)?z:Ti(z,2)?(A(z.to,we).then(Y=>{Ti(Y,20)&&!_e.delta&&_e.type===Ql.pop&&i.go(-1,!1)}).catch(Rl),Promise.reject()):(_e.delta&&i.go(-_e.delta,!1),W(z,we,N))).then(z=>{z=z||H(we,N,!1),z&&(_e.delta&&!Ti(z,8)?i.go(-_e.delta,!1):_e.type===Ql.pop&&Ti(z,20)&&i.go(-1,!1)),B(we,N,z)}).catch(Rl)}))}let $=il(),q=il(),F;function W(Z,he,_e){le(Z);const we=q.list();return we.length?we.forEach(Pe=>Pe(Z,he,_e)):console.error(Z),Promise.reject(Z)}function ne(){return F&&c.value!==ji?Promise.resolve():new Promise((Z,he)=>{$.add([Z,he])})}function le(Z){return F||(F=!Z,k(),$.list().forEach(([he,_e])=>Z?_e(Z):he()),$.reset()),Z}function me(Z,he,_e,we){const{scrollBehavior:Pe}=n;if(!qo||!Pe)return Promise.resolve();const N=!_e&&YP(Kv(Z.fullPath,0))||(we||!_e)&&history.state&&history.state.scroll||null;return Le().then(()=>Pe(Z,he,N)).then(z=>z&&qP(z)).catch(z=>W(z,Z,he))}const Se=Z=>i.go(Z);let de;const Ee=new Set,Ie={currentRoute:c,listening:!0,addRoute:m,removeRoute:_,hasRoute:b,getRoutes:g,resolve:E,options:n,push:S,replace:R,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:q.add,isReady:ne,install(Z){const he=this;Z.component("RouterLink",mE),Z.component("RouterView",p2),Z.config.globalProperties.$router=he,Object.defineProperty(Z.config.globalProperties,"$route",{enumerable:!0,get:()=>Lt(c)}),qo&&!de&&c.value===ji&&(de=!0,S(i.location).catch(Pe=>{}));const _e={};for(const Pe in ji)Object.defineProperty(_e,Pe,{get:()=>c.value[Pe],enumerable:!0});Z.provide(hE,he),Z.provide(fE,IR(_e)),Z.provide(Zg,c);const we=Z.unmount;Ee.add(Z),Z.unmount=function(){Ee.delete(Z),Ee.size<1&&(d=ji,te&&te(),te=null,c.value=ji,de=!1,F=!1),we()}}};function ke(Z){return Z.reduce((he,_e)=>he.then(()=>x(_e)),Promise.resolve())}return Ie}function kF(n,e){const t=[],s=[],i=[],r=Math.max(e.matched.length,n.matched.length);for(let o=0;oua(d,a))?s.push(a):t.push(a));const c=n.matched[o];c&&(e.matched.find(d=>ua(d,c))||i.push(c))}return[t,s,i]}function DF(){return ns(fE)}const LF="modulepreload",PF=function(n){return"/"+n},lS={},jp=function(e,t,s){if(!t||t.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(t.map(r=>{if(r=PF(r),r in lS)return;lS[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(!!s)for(let u=i.length-1;u>=0;u--){const h=i[u];if(h.href===r&&(!o||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const d=document.createElement("link");if(d.rel=o?"stylesheet":LF,o||(d.as="script",d.crossOrigin=""),d.href=r,document.head.appendChild(d),o)return new Promise((u,h)=>{d.addEventListener("load",u),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})};var _2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function FF(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(s){var i=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:function(){return n[s]}})}),t}var h2={exports:{}};(function(n,e){(function(s,i){n.exports=i()})(typeof self<"u"?self:_2,function(){return function(t){var s={};function i(r){if(s[r])return s[r].exports;var o=s[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=s,i.d=function(r,o,a){i.o(r,o)||Object.defineProperty(r,o,{configurable:!1,enumerable:!0,get:a})},i.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},i.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(o,"a",o),o},i.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)},i.p="",i(i.s=0)}({"./dist/icons.json":function(t){t.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(t,s,i){var r,o;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(){var a=function(){function c(){}c.prototype=Object.create(null);function d(E,y){for(var v=y.length,S=0;S1?arguments[1]:void 0,y=E!==void 0,v=0,S=h(_),R,w,A,I;if(y&&(E=r(E,b>2?arguments[2]:void 0,2)),S!=null&&!(g==Array&&c(S)))for(I=S.call(_),w=new g;!(A=I.next()).done;v++)u(w,v,y?a(I,E,[A.value,v],!0):A.value);else for(R=d(_.length),w=new g(R);R>v;v++)u(w,v,y?E(_[v],v):_[v]);return w.length=v,w}},"./node_modules/core-js/internals/array-includes.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-indexed-object.js"),o=i("./node_modules/core-js/internals/to-length.js"),a=i("./node_modules/core-js/internals/to-absolute-index.js");t.exports=function(c){return function(d,u,h){var f=r(d),m=o(f.length),_=a(h,m),g;if(c&&u!=u){for(;m>_;)if(g=f[_++],g!=g)return!0}else for(;m>_;_++)if((c||_ in f)&&f[_]===u)return c||_||0;return!c&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(t,s,i){var r=i("./node_modules/core-js/internals/a-function.js");t.exports=function(o,a,c){if(r(o),a===void 0)return o;switch(c){case 0:return function(){return o.call(a)};case 1:return function(d){return o.call(a,d)};case 2:return function(d,u){return o.call(a,d,u)};case 3:return function(d,u,h){return o.call(a,d,u,h)}}return function(){return o.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(t,s,i){var r=i("./node_modules/core-js/internals/an-object.js");t.exports=function(o,a,c,d){try{return d?a(r(c)[0],c[1]):a(c)}catch(h){var u=o.return;throw u!==void 0&&r(u.call(o)),h}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(t,s,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js"),o=r("iterator"),a=!1;try{var c=0,d={next:function(){return{done:!!c++}},return:function(){a=!0}};d[o]=function(){return this},Array.from(d,function(){throw 2})}catch{}t.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var m={};m[o]=function(){return{next:function(){return{done:f=!0}}}},u(m)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(t,s){var i={}.toString;t.exports=function(r){return i.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(t,s,i){var r=i("./node_modules/core-js/internals/classof-raw.js"),o=i("./node_modules/core-js/internals/well-known-symbol.js"),a=o("toStringTag"),c=r(function(){return arguments}())=="Arguments",d=function(u,h){try{return u[h]}catch{}};t.exports=function(u){var h,f,m;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(h=Object(u),a))=="string"?f:c?r(h):(m=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":m}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(t,s,i){var r=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/own-keys.js"),a=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),c=i("./node_modules/core-js/internals/object-define-property.js");t.exports=function(d,u){for(var h=o(u),f=c.f,m=a.f,_=0;_",R="java"+v+":",w;for(b.style.display="none",d.appendChild(b),b.src=String(R),w=b.contentWindow.document,w.open(),w.write(y+v+S+"document.F=Object"+y+"/"+v+S),w.close(),g=w.F;E--;)delete g[m][a[E]];return g()};t.exports=Object.create||function(E,y){var v;return E!==null?(_[m]=r(E),v=new _,_[m]=null,v[f]=E):v=g(),y===void 0?v:o(v,y)},c[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(t,s,i){var r=i("./node_modules/core-js/internals/descriptors.js"),o=i("./node_modules/core-js/internals/object-define-property.js"),a=i("./node_modules/core-js/internals/an-object.js"),c=i("./node_modules/core-js/internals/object-keys.js");t.exports=r?Object.defineProperties:function(u,h){a(u);for(var f=c(h),m=f.length,_=0,g;m>_;)o.f(u,g=f[_++],h[g]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(t,s,i){var r=i("./node_modules/core-js/internals/descriptors.js"),o=i("./node_modules/core-js/internals/ie8-dom-define.js"),a=i("./node_modules/core-js/internals/an-object.js"),c=i("./node_modules/core-js/internals/to-primitive.js"),d=Object.defineProperty;s.f=r?d:function(h,f,m){if(a(h),f=c(f,!0),a(m),o)try{return d(h,f,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[f]=m.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(t,s,i){var r=i("./node_modules/core-js/internals/descriptors.js"),o=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=i("./node_modules/core-js/internals/create-property-descriptor.js"),c=i("./node_modules/core-js/internals/to-indexed-object.js"),d=i("./node_modules/core-js/internals/to-primitive.js"),u=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(_,g){if(_=c(_),g=d(g,!0),h)try{return f(_,g)}catch{}if(u(_,g))return a(!o.f.call(_,g),_[g])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(t,s,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),o=i("./node_modules/core-js/internals/enum-bug-keys.js"),a=o.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return r(d,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(t,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(t,s,i){var r=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/to-object.js"),a=i("./node_modules/core-js/internals/shared-key.js"),c=i("./node_modules/core-js/internals/correct-prototype-getter.js"),d=a("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(h){return h=o(h),r(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(t,s,i){var r=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/array-includes.js"),c=i("./node_modules/core-js/internals/hidden-keys.js"),d=a(!1);t.exports=function(u,h){var f=o(u),m=0,_=[],g;for(g in f)!r(c,g)&&r(f,g)&&_.push(g);for(;h.length>m;)r(f,g=h[m++])&&(~d(_,g)||_.push(g));return _}},"./node_modules/core-js/internals/object-keys.js":function(t,s,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),o=i("./node_modules/core-js/internals/enum-bug-keys.js");t.exports=Object.keys||function(c){return r(c,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(t,s,i){var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);s.f=a?function(d){var u=o(this,d);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(t,s,i){var r=i("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,a={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(a,[]),o=a instanceof Array}catch{}return function(u,h){return r(u,h),o?c.call(u,h):u.__proto__=h,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/object-get-own-property-names.js"),a=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),c=i("./node_modules/core-js/internals/an-object.js"),d=r.Reflect;t.exports=d&&d.ownKeys||function(h){var f=o.f(c(h)),m=a.f;return m?f.concat(m(h)):f}},"./node_modules/core-js/internals/path.js":function(t,s,i){t.exports=i("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/hide.js"),c=i("./node_modules/core-js/internals/has.js"),d=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/function-to-string.js"),h=i("./node_modules/core-js/internals/internal-state.js"),f=h.get,m=h.enforce,_=String(u).split("toString");o("inspectSource",function(g){return u.call(g)}),(t.exports=function(g,b,E,y){var v=y?!!y.unsafe:!1,S=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof E=="function"&&(typeof b=="string"&&!c(E,"name")&&a(E,"name",b),m(E).source=_.join(typeof b=="string"?b:"")),g===r){S?g[b]=E:d(b,E);return}else v?!R&&g[b]&&(S=!0):delete g[b];S?g[b]=E:a(g,b,E)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(t,s){t.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/hide.js");t.exports=function(a,c){try{o(r,a,c)}catch{r[a]=c}return c}},"./node_modules/core-js/internals/set-to-string-tag.js":function(t,s,i){var r=i("./node_modules/core-js/internals/object-define-property.js").f,o=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),c=a("toStringTag");t.exports=function(d,u,h){d&&!o(d=h?d:d.prototype,c)&&r(d,c,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(t,s,i){var r=i("./node_modules/core-js/internals/shared.js"),o=i("./node_modules/core-js/internals/uid.js"),a=r("keys");t.exports=function(c){return a[c]||(a[c]=o(c))}},"./node_modules/core-js/internals/shared.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/set-global.js"),a=i("./node_modules/core-js/internals/is-pure.js"),c="__core-js_shared__",d=r[c]||o(c,{});(t.exports=function(u,h){return d[u]||(d[u]=h!==void 0?h:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-integer.js"),o=i("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(a,c,d){var u=String(o(a)),h=r(c),f=u.length,m,_;return h<0||h>=f?d?"":void 0:(m=u.charCodeAt(h),m<55296||m>56319||h+1===f||(_=u.charCodeAt(h+1))<56320||_>57343?d?u.charAt(h):m:d?u.slice(h,h+2):(m-55296<<10)+(_-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-integer.js"),o=Math.max,a=Math.min;t.exports=function(c,d){var u=r(c);return u<0?o(u+d,0):a(u,d)}},"./node_modules/core-js/internals/to-indexed-object.js":function(t,s,i){var r=i("./node_modules/core-js/internals/indexed-object.js"),o=i("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(a){return r(o(a))}},"./node_modules/core-js/internals/to-integer.js":function(t,s){var i=Math.ceil,r=Math.floor;t.exports=function(o){return isNaN(o=+o)?0:(o>0?r:i)(o)}},"./node_modules/core-js/internals/to-length.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-integer.js"),o=Math.min;t.exports=function(a){return a>0?o(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(t,s,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(o){return Object(r(o))}},"./node_modules/core-js/internals/to-primitive.js":function(t,s,i){var r=i("./node_modules/core-js/internals/is-object.js");t.exports=function(o,a){if(!r(o))return o;var c,d;if(a&&typeof(c=o.toString)=="function"&&!r(d=c.call(o))||typeof(c=o.valueOf)=="function"&&!r(d=c.call(o))||!a&&typeof(c=o.toString)=="function"&&!r(d=c.call(o)))return d;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(t,s){var i=0,r=Math.random();t.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++i+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(t,s,i){var r=i("./node_modules/core-js/internals/is-object.js"),o=i("./node_modules/core-js/internals/an-object.js");t.exports=function(a,c){if(o(a),!r(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/uid.js"),c=i("./node_modules/core-js/internals/native-symbol.js"),d=r.Symbol,u=o("wks");t.exports=function(h){return u[h]||(u[h]=c&&d[h]||(c?d:a)("Symbol."+h))}},"./node_modules/core-js/modules/es.array.from.js":function(t,s,i){var r=i("./node_modules/core-js/internals/export.js"),o=i("./node_modules/core-js/internals/array-from.js"),a=i("./node_modules/core-js/internals/check-correctness-of-iteration.js"),c=!a(function(d){Array.from(d)});r({target:"Array",stat:!0,forced:c},{from:o})},"./node_modules/core-js/modules/es.string.iterator.js":function(t,s,i){var r=i("./node_modules/core-js/internals/string-at.js"),o=i("./node_modules/core-js/internals/internal-state.js"),a=i("./node_modules/core-js/internals/define-iterator.js"),c="String Iterator",d=o.set,u=o.getterFor(c);a(String,"String",function(h){d(this,{type:c,string:String(h),index:0})},function(){var f=u(this),m=f.string,_=f.index,g;return _>=m.length?{value:void 0,done:!0}:(g=r(m,_,!0),f.index+=g.length,{value:g,done:!1})})},"./node_modules/webpack/buildin/global.js":function(t,s){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(i=window)}t.exports=i},"./src/default-attrs.json":function(t){t.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(g){for(var b=1;b2&&arguments[2]!==void 0?arguments[2]:[];f(this,g),this.name=b,this.contents=E,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+b})}return o(g,[{key:"toSvg",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,E,{class:(0,c.default)(this.attrs.class,E.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),g}();function _(g){return Object.keys(g).map(function(b){return b+'="'+g[b]+'"'}).join(" ")}s.default=m},"./src/icons.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=i("./src/icon.js"),o=h(r),a=i("./dist/icons.json"),c=h(a),d=i("./src/tags.json"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(c.default).map(function(f){return new o.default(f,c.default[f],u.default[f])}).reduce(function(f,m){return f[m.name]=m,f},{})},"./src/index.js":function(t,s,i){var r=i("./src/icons.js"),o=h(r),a=i("./src/to-svg.js"),c=h(a),d=i("./src/replace.js"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}t.exports={icons:o.default,toSvg:c.default,replace:u.default}},"./src/replace.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(_){for(var g=1;g0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var g=document.querySelectorAll("[data-feather]");Array.from(g).forEach(function(b){return f(b,_)})}function f(_){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=m(_),E=b["data-feather"];delete b["data-feather"];var y=d.default[E].toSvg(r({},g,b,{class:(0,a.default)(g.class,b.class)})),v=new DOMParser().parseFromString(y,"image/svg+xml"),S=v.querySelector("svg");_.parentNode.replaceChild(S,_)}function m(_){return Array.from(_.attributes).reduce(function(g,b){return g[b.name]=b.value,g},{})}s.default=h},"./src/tags.json":function(t){t.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=i("./src/icons.js"),o=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function c(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!d)throw new Error("The required `key` (icon name) parameter is missing.");if(!o.default[d])throw new Error("No icon matching '"+d+"'. See the complete list of icons at https://feathericons.com");return o.default[d].toSvg(u)}s.default=c},0:function(t,s,i){i("./node_modules/core-js/es/array/from.js"),t.exports=i("./src/index.js")}})})})(h2);var U3=h2.exports;const ze=Tr(U3);const ot=(n,e)=>{const t=n.__vccOpts||n;for(const[s,i]of e)t[s]=i;return t},B3={name:"Toast",props:{},data(){return{show:!1,log_type:1,message:"",toastArr:[]}},methods:{close(n){this.toastArr=this.toastArr.filter(e=>e.id!=n)},copyToClipBoard(n){navigator.clipboard.writeText(n),Le(()=>{ze.replace()})},showToast(n,e=3,t=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),i={id:s,log_type:t,message:n,show:!0};this.toastArr.push(i),Le(()=>{ze.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Ns=n=>(Rs("data-v-46f379e5"),n=n(),As(),n),G3={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},V3={class:"flex flex-row items-center w-full p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},z3={class:"flex flex-row flex-grow items-center h-auto"},H3={key:0,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"},q3=Ns(()=>l("i",{"data-feather":"x"},null,-1)),$3=Ns(()=>l("span",{class:"sr-only"},"Cross icon",-1)),Y3=[q3,$3],W3={key:1,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"},K3=Ns(()=>l("i",{"data-feather":"check"},null,-1)),j3=Ns(()=>l("span",{class:"sr-only"},"Check icon",-1)),Q3=[K3,j3],X3={key:2,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-blue-500 bg-blue-100 rounded-lg dark:bg-blue-800 dark:text-blue-200"},Z3=Ns(()=>l("i",{"data-feather":"info"},null,-1)),J3=Ns(()=>l("span",{class:"sr-only"},null,-1)),eF=[Z3,J3],tF={key:3,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-800 dark:text-orange-200"},nF=Ns(()=>l("i",{"data-feather":"alert-triangle"},null,-1)),sF=Ns(()=>l("span",{class:"sr-only"},null,-1)),iF=[nF,sF],rF=["title"],oF={class:"flex"},aF=["onClick"],lF=Ns(()=>l("span",{class:"sr-only"},"Copy message",-1)),cF=Ns(()=>l("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),dF=[lF,cF],uF=["onClick"],pF=Ns(()=>l("span",{class:"sr-only"},"Close",-1)),_F=Ns(()=>l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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)),hF=[pF,_F];function fF(n,e,t,s,i,r){return T(),x("div",G3,[V(di,{name:"toastItem",tag:"div"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(i.toastArr,o=>(T(),x("div",{key:o.id,class:"relative"},[l("div",V3,[l("div",z3,[o.log_type==0?(T(),x("div",H3,Y3)):G("",!0),o.log_type==1?(T(),x("div",W3,Q3)):G("",!0),o.log_type==2?(T(),x("div",X3,eF)):G("",!0),o.log_type==3?(T(),x("div",tF,iF)):G("",!0),l("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3 max-w-xs max-h-[400px] overflow-auto break-words",title:o.message},K(o.message),9,rF)]),l("div",oF,[l("button",{type:"button",onClick:j(a=>r.copyToClipBoard(o.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"},dF,8,aF),l("button",{type:"button",onClick:a=>r.close(o.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"},hF,8,uF)])])]))),128))]),_:1})])}const dc=ot(B3,[["render",fF],["__scopeId","data-v-46f379e5"]]);var Pt={};const mF="Á",gF="á",bF="Ă",EF="ă",yF="∾",vF="∿",SF="∾̳",TF="Â",xF="â",CF="´",wF="А",RF="а",AF="Æ",NF="æ",OF="⁡",MF="𝔄",IF="𝔞",kF="À",DF="à",LF="ℵ",PF="ℵ",FF="Α",UF="α",BF="Ā",GF="ā",VF="⨿",zF="&",HF="&",qF="⩕",$F="⩓",YF="∧",WF="⩜",KF="⩘",jF="⩚",QF="∠",XF="⦤",ZF="∠",JF="⦨",eU="⦩",tU="⦪",nU="⦫",sU="⦬",iU="⦭",rU="⦮",oU="⦯",aU="∡",lU="∟",cU="⊾",dU="⦝",uU="∢",pU="Å",_U="⍼",hU="Ą",fU="ą",mU="𝔸",gU="𝕒",bU="⩯",EU="≈",yU="⩰",vU="≊",SU="≋",TU="'",xU="⁡",CU="≈",wU="≊",RU="Å",AU="å",NU="𝒜",OU="𝒶",MU="≔",IU="*",kU="≈",DU="≍",LU="Ã",PU="ã",FU="Ä",UU="ä",BU="∳",GU="⨑",VU="≌",zU="϶",HU="‵",qU="∽",$U="⋍",YU="∖",WU="⫧",KU="⊽",jU="⌅",QU="⌆",XU="⌅",ZU="⎵",JU="⎶",e4="≌",t4="Б",n4="б",s4="„",i4="∵",r4="∵",o4="∵",a4="⦰",l4="϶",c4="ℬ",d4="ℬ",u4="Β",p4="β",_4="ℶ",h4="≬",f4="𝔅",m4="𝔟",g4="⋂",b4="◯",E4="⋃",y4="⨀",v4="⨁",S4="⨂",T4="⨆",x4="★",C4="▽",w4="△",R4="⨄",A4="⋁",N4="⋀",O4="⤍",M4="⧫",I4="▪",k4="▴",D4="▾",L4="◂",P4="▸",F4="␣",U4="▒",B4="░",G4="▓",V4="█",z4="=⃥",H4="≡⃥",q4="⫭",$4="⌐",Y4="𝔹",W4="𝕓",K4="⊥",j4="⊥",Q4="⋈",X4="⧉",Z4="┐",J4="╕",eB="╖",tB="╗",nB="┌",sB="╒",iB="╓",rB="╔",oB="─",aB="═",lB="┬",cB="╤",dB="╥",uB="╦",pB="┴",_B="╧",hB="╨",fB="╩",mB="⊟",gB="⊞",bB="⊠",EB="┘",yB="╛",vB="╜",SB="╝",TB="└",xB="╘",CB="╙",wB="╚",RB="│",AB="║",NB="┼",OB="╪",MB="╫",IB="╬",kB="┤",DB="╡",LB="╢",PB="╣",FB="├",UB="╞",BB="╟",GB="╠",VB="‵",zB="˘",HB="˘",qB="¦",$B="𝒷",YB="ℬ",WB="⁏",KB="∽",jB="⋍",QB="⧅",XB="\\",ZB="⟈",JB="•",e5="•",t5="≎",n5="⪮",s5="≏",i5="≎",r5="≏",o5="Ć",a5="ć",l5="⩄",c5="⩉",d5="⩋",u5="∩",p5="⋒",_5="⩇",h5="⩀",f5="ⅅ",m5="∩︀",g5="⁁",b5="ˇ",E5="ℭ",y5="⩍",v5="Č",S5="č",T5="Ç",x5="ç",C5="Ĉ",w5="ĉ",R5="∰",A5="⩌",N5="⩐",O5="Ċ",M5="ċ",I5="¸",k5="¸",D5="⦲",L5="¢",P5="·",F5="·",U5="𝔠",B5="ℭ",G5="Ч",V5="ч",z5="✓",H5="✓",q5="Χ",$5="χ",Y5="ˆ",W5="≗",K5="↺",j5="↻",Q5="⊛",X5="⊚",Z5="⊝",J5="⊙",e6="®",t6="Ⓢ",n6="⊖",s6="⊕",i6="⊗",r6="○",o6="⧃",a6="≗",l6="⨐",c6="⫯",d6="⧂",u6="∲",p6="”",_6="’",h6="♣",f6="♣",m6=":",g6="∷",b6="⩴",E6="≔",y6="≔",v6=",",S6="@",T6="∁",x6="∘",C6="∁",w6="ℂ",R6="≅",A6="⩭",N6="≡",O6="∮",M6="∯",I6="∮",k6="𝕔",D6="ℂ",L6="∐",P6="∐",F6="©",U6="©",B6="℗",G6="∳",V6="↵",z6="✗",H6="⨯",q6="𝒞",$6="𝒸",Y6="⫏",W6="⫑",K6="⫐",j6="⫒",Q6="⋯",X6="⤸",Z6="⤵",J6="⋞",eG="⋟",tG="↶",nG="⤽",sG="⩈",iG="⩆",rG="≍",oG="∪",aG="⋓",lG="⩊",cG="⊍",dG="⩅",uG="∪︀",pG="↷",_G="⤼",hG="⋞",fG="⋟",mG="⋎",gG="⋏",bG="¤",EG="↶",yG="↷",vG="⋎",SG="⋏",TG="∲",xG="∱",CG="⌭",wG="†",RG="‡",AG="ℸ",NG="↓",OG="↡",MG="⇓",IG="‐",kG="⫤",DG="⊣",LG="⤏",PG="˝",FG="Ď",UG="ď",BG="Д",GG="д",VG="‡",zG="⇊",HG="ⅅ",qG="ⅆ",$G="⤑",YG="⩷",WG="°",KG="∇",jG="Δ",QG="δ",XG="⦱",ZG="⥿",JG="𝔇",e8="𝔡",t8="⥥",n8="⇃",s8="⇂",i8="´",r8="˙",o8="˝",a8="`",l8="˜",c8="⋄",d8="⋄",u8="⋄",p8="♦",_8="♦",h8="¨",f8="ⅆ",m8="ϝ",g8="⋲",b8="÷",E8="÷",y8="⋇",v8="⋇",S8="Ђ",T8="ђ",x8="⌞",C8="⌍",w8="$",R8="𝔻",A8="𝕕",N8="¨",O8="˙",M8="⃜",I8="≐",k8="≑",D8="≐",L8="∸",P8="∔",F8="⊡",U8="⌆",B8="∯",G8="¨",V8="⇓",z8="⇐",H8="⇔",q8="⫤",$8="⟸",Y8="⟺",W8="⟹",K8="⇒",j8="⊨",Q8="⇑",X8="⇕",Z8="∥",J8="⤓",e9="↓",t9="↓",n9="⇓",s9="⇵",i9="̑",r9="⇊",o9="⇃",a9="⇂",l9="⥐",c9="⥞",d9="⥖",u9="↽",p9="⥟",_9="⥗",h9="⇁",f9="↧",m9="⊤",g9="⤐",b9="⌟",E9="⌌",y9="𝒟",v9="𝒹",S9="Ѕ",T9="ѕ",x9="⧶",C9="Đ",w9="đ",R9="⋱",A9="▿",N9="▾",O9="⇵",M9="⥯",I9="⦦",k9="Џ",D9="џ",L9="⟿",P9="É",F9="é",U9="⩮",B9="Ě",G9="ě",V9="Ê",z9="ê",H9="≖",q9="≕",$9="Э",Y9="э",W9="⩷",K9="Ė",j9="ė",Q9="≑",X9="ⅇ",Z9="≒",J9="𝔈",eV="𝔢",tV="⪚",nV="È",sV="è",iV="⪖",rV="⪘",oV="⪙",aV="∈",lV="⏧",cV="ℓ",dV="⪕",uV="⪗",pV="Ē",_V="ē",hV="∅",fV="∅",mV="◻",gV="∅",bV="▫",EV=" ",yV=" ",vV=" ",SV="Ŋ",TV="ŋ",xV=" ",CV="Ę",wV="ę",RV="𝔼",AV="𝕖",NV="⋕",OV="⧣",MV="⩱",IV="ε",kV="Ε",DV="ε",LV="ϵ",PV="≖",FV="≕",UV="≂",BV="⪖",GV="⪕",VV="⩵",zV="=",HV="≂",qV="≟",$V="⇌",YV="≡",WV="⩸",KV="⧥",jV="⥱",QV="≓",XV="ℯ",ZV="ℰ",JV="≐",ez="⩳",tz="≂",nz="Η",sz="η",iz="Ð",rz="ð",oz="Ë",az="ë",lz="€",cz="!",dz="∃",uz="∃",pz="ℰ",_z="ⅇ",hz="ⅇ",fz="≒",mz="Ф",gz="ф",bz="♀",Ez="ffi",yz="ff",vz="ffl",Sz="𝔉",Tz="𝔣",xz="fi",Cz="◼",wz="▪",Rz="fj",Az="♭",Nz="fl",Oz="▱",Mz="ƒ",Iz="𝔽",kz="𝕗",Dz="∀",Lz="∀",Pz="⋔",Fz="⫙",Uz="ℱ",Bz="⨍",Gz="½",Vz="⅓",zz="¼",Hz="⅕",qz="⅙",$z="⅛",Yz="⅔",Wz="⅖",Kz="¾",jz="⅗",Qz="⅜",Xz="⅘",Zz="⅚",Jz="⅝",eH="⅞",tH="⁄",nH="⌢",sH="𝒻",iH="ℱ",rH="ǵ",oH="Γ",aH="γ",lH="Ϝ",cH="ϝ",dH="⪆",uH="Ğ",pH="ğ",_H="Ģ",hH="Ĝ",fH="ĝ",mH="Г",gH="г",bH="Ġ",EH="ġ",yH="≥",vH="≧",SH="⪌",TH="⋛",xH="≥",CH="≧",wH="⩾",RH="⪩",AH="⩾",NH="⪀",OH="⪂",MH="⪄",IH="⋛︀",kH="⪔",DH="𝔊",LH="𝔤",PH="≫",FH="⋙",UH="⋙",BH="ℷ",GH="Ѓ",VH="ѓ",zH="⪥",HH="≷",qH="⪒",$H="⪤",YH="⪊",WH="⪊",KH="⪈",jH="≩",QH="⪈",XH="≩",ZH="⋧",JH="𝔾",e7="𝕘",t7="`",n7="≥",s7="⋛",i7="≧",r7="⪢",o7="≷",a7="⩾",l7="≳",c7="𝒢",d7="ℊ",u7="≳",p7="⪎",_7="⪐",h7="⪧",f7="⩺",m7=">",g7=">",b7="≫",E7="⋗",y7="⦕",v7="⩼",S7="⪆",T7="⥸",x7="⋗",C7="⋛",w7="⪌",R7="≷",A7="≳",N7="≩︀",O7="≩︀",M7="ˇ",I7=" ",k7="½",D7="ℋ",L7="Ъ",P7="ъ",F7="⥈",U7="↔",B7="⇔",G7="↭",V7="^",z7="ℏ",H7="Ĥ",q7="ĥ",$7="♥",Y7="♥",W7="…",K7="⊹",j7="𝔥",Q7="ℌ",X7="ℋ",Z7="⤥",J7="⤦",eq="⇿",tq="∻",nq="↩",sq="↪",iq="𝕙",rq="ℍ",oq="―",aq="─",lq="𝒽",cq="ℋ",dq="ℏ",uq="Ħ",pq="ħ",_q="≎",hq="≏",fq="⁃",mq="‐",gq="Í",bq="í",Eq="⁣",yq="Î",vq="î",Sq="И",Tq="и",xq="İ",Cq="Е",wq="е",Rq="¡",Aq="⇔",Nq="𝔦",Oq="ℑ",Mq="Ì",Iq="ì",kq="ⅈ",Dq="⨌",Lq="∭",Pq="⧜",Fq="℩",Uq="IJ",Bq="ij",Gq="Ī",Vq="ī",zq="ℑ",Hq="ⅈ",qq="ℐ",$q="ℑ",Yq="ı",Wq="ℑ",Kq="⊷",jq="Ƶ",Qq="⇒",Xq="℅",Zq="∞",Jq="⧝",e$="ı",t$="⊺",n$="∫",s$="∬",i$="ℤ",r$="∫",o$="⊺",a$="⋂",l$="⨗",c$="⨼",d$="⁣",u$="⁢",p$="Ё",_$="ё",h$="Į",f$="į",m$="𝕀",g$="𝕚",b$="Ι",E$="ι",y$="⨼",v$="¿",S$="𝒾",T$="ℐ",x$="∈",C$="⋵",w$="⋹",R$="⋴",A$="⋳",N$="∈",O$="⁢",M$="Ĩ",I$="ĩ",k$="І",D$="і",L$="Ï",P$="ï",F$="Ĵ",U$="ĵ",B$="Й",G$="й",V$="𝔍",z$="𝔧",H$="ȷ",q$="𝕁",$$="𝕛",Y$="𝒥",W$="𝒿",K$="Ј",j$="ј",Q$="Є",X$="є",Z$="Κ",J$="κ",eY="ϰ",tY="Ķ",nY="ķ",sY="К",iY="к",rY="𝔎",oY="𝔨",aY="ĸ",lY="Х",cY="х",dY="Ќ",uY="ќ",pY="𝕂",_Y="𝕜",hY="𝒦",fY="𝓀",mY="⇚",gY="Ĺ",bY="ĺ",EY="⦴",yY="ℒ",vY="Λ",SY="λ",TY="⟨",xY="⟪",CY="⦑",wY="⟨",RY="⪅",AY="ℒ",NY="«",OY="⇤",MY="⤟",IY="←",kY="↞",DY="⇐",LY="⤝",PY="↩",FY="↫",UY="⤹",BY="⥳",GY="↢",VY="⤙",zY="⤛",HY="⪫",qY="⪭",$Y="⪭︀",YY="⤌",WY="⤎",KY="❲",jY="{",QY="[",XY="⦋",ZY="⦏",JY="⦍",eW="Ľ",tW="ľ",nW="Ļ",sW="ļ",iW="⌈",rW="{",oW="Л",aW="л",lW="⤶",cW="“",dW="„",uW="⥧",pW="⥋",_W="↲",hW="≤",fW="≦",mW="⟨",gW="⇤",bW="←",EW="←",yW="⇐",vW="⇆",SW="↢",TW="⌈",xW="⟦",CW="⥡",wW="⥙",RW="⇃",AW="⌊",NW="↽",OW="↼",MW="⇇",IW="↔",kW="↔",DW="⇔",LW="⇆",PW="⇋",FW="↭",UW="⥎",BW="↤",GW="⊣",VW="⥚",zW="⋋",HW="⧏",qW="⊲",$W="⊴",YW="⥑",WW="⥠",KW="⥘",jW="↿",QW="⥒",XW="↼",ZW="⪋",JW="⋚",eK="≤",tK="≦",nK="⩽",sK="⪨",iK="⩽",rK="⩿",oK="⪁",aK="⪃",lK="⋚︀",cK="⪓",dK="⪅",uK="⋖",pK="⋚",_K="⪋",hK="⋚",fK="≦",mK="≶",gK="≶",bK="⪡",EK="≲",yK="⩽",vK="≲",SK="⥼",TK="⌊",xK="𝔏",CK="𝔩",wK="≶",RK="⪑",AK="⥢",NK="↽",OK="↼",MK="⥪",IK="▄",kK="Љ",DK="љ",LK="⇇",PK="≪",FK="⋘",UK="⌞",BK="⇚",GK="⥫",VK="◺",zK="Ŀ",HK="ŀ",qK="⎰",$K="⎰",YK="⪉",WK="⪉",KK="⪇",jK="≨",QK="⪇",XK="≨",ZK="⋦",JK="⟬",ej="⇽",tj="⟦",nj="⟵",sj="⟵",ij="⟸",rj="⟷",oj="⟷",aj="⟺",lj="⟼",cj="⟶",dj="⟶",uj="⟹",pj="↫",_j="↬",hj="⦅",fj="𝕃",mj="𝕝",gj="⨭",bj="⨴",Ej="∗",yj="_",vj="↙",Sj="↘",Tj="◊",xj="◊",Cj="⧫",wj="(",Rj="⦓",Aj="⇆",Nj="⌟",Oj="⇋",Mj="⥭",Ij="‎",kj="⊿",Dj="‹",Lj="𝓁",Pj="ℒ",Fj="↰",Uj="↰",Bj="≲",Gj="⪍",Vj="⪏",zj="[",Hj="‘",qj="‚",$j="Ł",Yj="ł",Wj="⪦",Kj="⩹",jj="<",Qj="<",Xj="≪",Zj="⋖",Jj="⋋",eQ="⋉",tQ="⥶",nQ="⩻",sQ="◃",iQ="⊴",rQ="◂",oQ="⦖",aQ="⥊",lQ="⥦",cQ="≨︀",dQ="≨︀",uQ="¯",pQ="♂",_Q="✠",hQ="✠",fQ="↦",mQ="↦",gQ="↧",bQ="↤",EQ="↥",yQ="▮",vQ="⨩",SQ="М",TQ="м",xQ="—",CQ="∺",wQ="∡",RQ=" ",AQ="ℳ",NQ="𝔐",OQ="𝔪",MQ="℧",IQ="µ",kQ="*",DQ="⫰",LQ="∣",PQ="·",FQ="⊟",UQ="−",BQ="∸",GQ="⨪",VQ="∓",zQ="⫛",HQ="…",qQ="∓",$Q="⊧",YQ="𝕄",WQ="𝕞",KQ="∓",jQ="𝓂",QQ="ℳ",XQ="∾",ZQ="Μ",JQ="μ",eX="⊸",tX="⊸",nX="∇",sX="Ń",iX="ń",rX="∠⃒",oX="≉",aX="⩰̸",lX="≋̸",cX="ʼn",dX="≉",uX="♮",pX="ℕ",_X="♮",hX=" ",fX="≎̸",mX="≏̸",gX="⩃",bX="Ň",EX="ň",yX="Ņ",vX="ņ",SX="≇",TX="⩭̸",xX="⩂",CX="Н",wX="н",RX="–",AX="⤤",NX="↗",OX="⇗",MX="↗",IX="≠",kX="≐̸",DX="​",LX="​",PX="​",FX="​",UX="≢",BX="⤨",GX="≂̸",VX="≫",zX="≪",HX=` -`,qX="∄",$X="∄",YX="𝔑",WX="𝔫",KX="≧̸",jX="≱",QX="≱",XX="≧̸",ZX="⩾̸",JX="⩾̸",eZ="⋙̸",tZ="≵",nZ="≫⃒",sZ="≯",iZ="≯",rZ="≫̸",oZ="↮",aZ="⇎",lZ="⫲",cZ="∋",dZ="⋼",uZ="⋺",pZ="∋",_Z="Њ",hZ="њ",fZ="↚",mZ="⇍",gZ="‥",bZ="≦̸",EZ="≰",yZ="↚",vZ="⇍",SZ="↮",TZ="⇎",xZ="≰",CZ="≦̸",wZ="⩽̸",RZ="⩽̸",AZ="≮",NZ="⋘̸",OZ="≴",MZ="≪⃒",IZ="≮",kZ="⋪",DZ="⋬",LZ="≪̸",PZ="∤",FZ="⁠",UZ=" ",BZ="𝕟",GZ="ℕ",VZ="⫬",zZ="¬",HZ="≢",qZ="≭",$Z="∦",YZ="∉",WZ="≠",KZ="≂̸",jZ="∄",QZ="≯",XZ="≱",ZZ="≧̸",JZ="≫̸",eJ="≹",tJ="⩾̸",nJ="≵",sJ="≎̸",iJ="≏̸",rJ="∉",oJ="⋵̸",aJ="⋹̸",lJ="∉",cJ="⋷",dJ="⋶",uJ="⧏̸",pJ="⋪",_J="⋬",hJ="≮",fJ="≰",mJ="≸",gJ="≪̸",bJ="⩽̸",EJ="≴",yJ="⪢̸",vJ="⪡̸",SJ="∌",TJ="∌",xJ="⋾",CJ="⋽",wJ="⊀",RJ="⪯̸",AJ="⋠",NJ="∌",OJ="⧐̸",MJ="⋫",IJ="⋭",kJ="⊏̸",DJ="⋢",LJ="⊐̸",PJ="⋣",FJ="⊂⃒",UJ="⊈",BJ="⊁",GJ="⪰̸",VJ="⋡",zJ="≿̸",HJ="⊃⃒",qJ="⊉",$J="≁",YJ="≄",WJ="≇",KJ="≉",jJ="∤",QJ="∦",XJ="∦",ZJ="⫽⃥",JJ="∂̸",eee="⨔",tee="⊀",nee="⋠",see="⊀",iee="⪯̸",ree="⪯̸",oee="⤳̸",aee="↛",lee="⇏",cee="↝̸",dee="↛",uee="⇏",pee="⋫",_ee="⋭",hee="⊁",fee="⋡",mee="⪰̸",gee="𝒩",bee="𝓃",Eee="∤",yee="∦",vee="≁",See="≄",Tee="≄",xee="∤",Cee="∦",wee="⋢",Ree="⋣",Aee="⊄",Nee="⫅̸",Oee="⊈",Mee="⊂⃒",Iee="⊈",kee="⫅̸",Dee="⊁",Lee="⪰̸",Pee="⊅",Fee="⫆̸",Uee="⊉",Bee="⊃⃒",Gee="⊉",Vee="⫆̸",zee="≹",Hee="Ñ",qee="ñ",$ee="≸",Yee="⋪",Wee="⋬",Kee="⋫",jee="⋭",Qee="Ν",Xee="ν",Zee="#",Jee="№",ete=" ",tte="≍⃒",nte="⊬",ste="⊭",ite="⊮",rte="⊯",ote="≥⃒",ate=">⃒",lte="⤄",cte="⧞",dte="⤂",ute="≤⃒",pte="<⃒",_te="⊴⃒",hte="⤃",fte="⊵⃒",mte="∼⃒",gte="⤣",bte="↖",Ete="⇖",yte="↖",vte="⤧",Ste="Ó",Tte="ó",xte="⊛",Cte="Ô",wte="ô",Rte="⊚",Ate="О",Nte="о",Ote="⊝",Mte="Ő",Ite="ő",kte="⨸",Dte="⊙",Lte="⦼",Pte="Œ",Fte="œ",Ute="⦿",Bte="𝔒",Gte="𝔬",Vte="˛",zte="Ò",Hte="ò",qte="⧁",$te="⦵",Yte="Ω",Wte="∮",Kte="↺",jte="⦾",Qte="⦻",Xte="‾",Zte="⧀",Jte="Ō",ene="ō",tne="Ω",nne="ω",sne="Ο",ine="ο",rne="⦶",one="⊖",ane="𝕆",lne="𝕠",cne="⦷",dne="“",une="‘",pne="⦹",_ne="⊕",hne="↻",fne="⩔",mne="∨",gne="⩝",bne="ℴ",Ene="ℴ",yne="ª",vne="º",Sne="⊶",Tne="⩖",xne="⩗",Cne="⩛",wne="Ⓢ",Rne="𝒪",Ane="ℴ",Nne="Ø",One="ø",Mne="⊘",Ine="Õ",kne="õ",Dne="⨶",Lne="⨷",Pne="⊗",Fne="Ö",Une="ö",Bne="⌽",Gne="‾",Vne="⏞",zne="⎴",Hne="⏜",qne="¶",$ne="∥",Yne="∥",Wne="⫳",Kne="⫽",jne="∂",Qne="∂",Xne="П",Zne="п",Jne="%",ese=".",tse="‰",nse="⊥",sse="‱",ise="𝔓",rse="𝔭",ose="Φ",ase="φ",lse="ϕ",cse="ℳ",dse="☎",use="Π",pse="π",_se="⋔",hse="ϖ",fse="ℏ",mse="ℎ",gse="ℏ",bse="⨣",Ese="⊞",yse="⨢",vse="+",Sse="∔",Tse="⨥",xse="⩲",Cse="±",wse="±",Rse="⨦",Ase="⨧",Nse="±",Ose="ℌ",Mse="⨕",Ise="𝕡",kse="ℙ",Dse="£",Lse="⪷",Pse="⪻",Fse="≺",Use="≼",Bse="⪷",Gse="≺",Vse="≼",zse="≺",Hse="⪯",qse="≼",$se="≾",Yse="⪯",Wse="⪹",Kse="⪵",jse="⋨",Qse="⪯",Xse="⪳",Zse="≾",Jse="′",eie="″",tie="ℙ",nie="⪹",sie="⪵",iie="⋨",rie="∏",oie="∏",aie="⌮",lie="⌒",cie="⌓",die="∝",uie="∝",pie="∷",_ie="∝",hie="≾",fie="⊰",mie="𝒫",gie="𝓅",bie="Ψ",Eie="ψ",yie=" ",vie="𝔔",Sie="𝔮",Tie="⨌",xie="𝕢",Cie="ℚ",wie="⁗",Rie="𝒬",Aie="𝓆",Nie="ℍ",Oie="⨖",Mie="?",Iie="≟",kie='"',Die='"',Lie="⇛",Pie="∽̱",Fie="Ŕ",Uie="ŕ",Bie="√",Gie="⦳",Vie="⟩",zie="⟫",Hie="⦒",qie="⦥",$ie="⟩",Yie="»",Wie="⥵",Kie="⇥",jie="⤠",Qie="⤳",Xie="→",Zie="↠",Jie="⇒",ere="⤞",tre="↪",nre="↬",sre="⥅",ire="⥴",rre="⤖",ore="↣",are="↝",lre="⤚",cre="⤜",dre="∶",ure="ℚ",pre="⤍",_re="⤏",hre="⤐",fre="❳",mre="}",gre="]",bre="⦌",Ere="⦎",yre="⦐",vre="Ř",Sre="ř",Tre="Ŗ",xre="ŗ",Cre="⌉",wre="}",Rre="Р",Are="р",Nre="⤷",Ore="⥩",Mre="”",Ire="”",kre="↳",Dre="ℜ",Lre="ℛ",Pre="ℜ",Fre="ℝ",Ure="ℜ",Bre="▭",Gre="®",Vre="®",zre="∋",Hre="⇋",qre="⥯",$re="⥽",Yre="⌋",Wre="𝔯",Kre="ℜ",jre="⥤",Qre="⇁",Xre="⇀",Zre="⥬",Jre="Ρ",eoe="ρ",toe="ϱ",noe="⟩",soe="⇥",ioe="→",roe="→",ooe="⇒",aoe="⇄",loe="↣",coe="⌉",doe="⟧",uoe="⥝",poe="⥕",_oe="⇂",hoe="⌋",foe="⇁",moe="⇀",goe="⇄",boe="⇌",Eoe="⇉",yoe="↝",voe="↦",Soe="⊢",Toe="⥛",xoe="⋌",Coe="⧐",woe="⊳",Roe="⊵",Aoe="⥏",Noe="⥜",Ooe="⥔",Moe="↾",Ioe="⥓",koe="⇀",Doe="˚",Loe="≓",Poe="⇄",Foe="⇌",Uoe="‏",Boe="⎱",Goe="⎱",Voe="⫮",zoe="⟭",Hoe="⇾",qoe="⟧",$oe="⦆",Yoe="𝕣",Woe="ℝ",Koe="⨮",joe="⨵",Qoe="⥰",Xoe=")",Zoe="⦔",Joe="⨒",eae="⇉",tae="⇛",nae="›",sae="𝓇",iae="ℛ",rae="↱",oae="↱",aae="]",lae="’",cae="’",dae="⋌",uae="⋊",pae="▹",_ae="⊵",hae="▸",fae="⧎",mae="⧴",gae="⥨",bae="℞",Eae="Ś",yae="ś",vae="‚",Sae="⪸",Tae="Š",xae="š",Cae="⪼",wae="≻",Rae="≽",Aae="⪰",Nae="⪴",Oae="Ş",Mae="ş",Iae="Ŝ",kae="ŝ",Dae="⪺",Lae="⪶",Pae="⋩",Fae="⨓",Uae="≿",Bae="С",Gae="с",Vae="⊡",zae="⋅",Hae="⩦",qae="⤥",$ae="↘",Yae="⇘",Wae="↘",Kae="§",jae=";",Qae="⤩",Xae="∖",Zae="∖",Jae="✶",ele="𝔖",tle="𝔰",nle="⌢",sle="♯",ile="Щ",rle="щ",ole="Ш",ale="ш",lle="↓",cle="←",dle="∣",ule="∥",ple="→",_le="↑",hle="­",fle="Σ",mle="σ",gle="ς",ble="ς",Ele="∼",yle="⩪",vle="≃",Sle="≃",Tle="⪞",xle="⪠",Cle="⪝",wle="⪟",Rle="≆",Ale="⨤",Nle="⥲",Ole="←",Mle="∘",Ile="∖",kle="⨳",Dle="⧤",Lle="∣",Ple="⌣",Fle="⪪",Ule="⪬",Ble="⪬︀",Gle="Ь",Vle="ь",zle="⌿",Hle="⧄",qle="/",$le="𝕊",Yle="𝕤",Wle="♠",Kle="♠",jle="∥",Qle="⊓",Xle="⊓︀",Zle="⊔",Jle="⊔︀",ece="√",tce="⊏",nce="⊑",sce="⊏",ice="⊑",rce="⊐",oce="⊒",ace="⊐",lce="⊒",cce="□",dce="□",uce="⊓",pce="⊏",_ce="⊑",hce="⊐",fce="⊒",mce="⊔",gce="▪",bce="□",Ece="▪",yce="→",vce="𝒮",Sce="𝓈",Tce="∖",xce="⌣",Cce="⋆",wce="⋆",Rce="☆",Ace="★",Nce="ϵ",Oce="ϕ",Mce="¯",Ice="⊂",kce="⋐",Dce="⪽",Lce="⫅",Pce="⊆",Fce="⫃",Uce="⫁",Bce="⫋",Gce="⊊",Vce="⪿",zce="⥹",Hce="⊂",qce="⋐",$ce="⊆",Yce="⫅",Wce="⊆",Kce="⊊",jce="⫋",Qce="⫇",Xce="⫕",Zce="⫓",Jce="⪸",ede="≻",tde="≽",nde="≻",sde="⪰",ide="≽",rde="≿",ode="⪰",ade="⪺",lde="⪶",cde="⋩",dde="≿",ude="∋",pde="∑",_de="∑",hde="♪",fde="¹",mde="²",gde="³",bde="⊃",Ede="⋑",yde="⪾",vde="⫘",Sde="⫆",Tde="⊇",xde="⫄",Cde="⊃",wde="⊇",Rde="⟉",Ade="⫗",Nde="⥻",Ode="⫂",Mde="⫌",Ide="⊋",kde="⫀",Dde="⊃",Lde="⋑",Pde="⊇",Fde="⫆",Ude="⊋",Bde="⫌",Gde="⫈",Vde="⫔",zde="⫖",Hde="⤦",qde="↙",$de="⇙",Yde="↙",Wde="⤪",Kde="ß",jde=" ",Qde="⌖",Xde="Τ",Zde="τ",Jde="⎴",eue="Ť",tue="ť",nue="Ţ",sue="ţ",iue="Т",rue="т",oue="⃛",aue="⌕",lue="𝔗",cue="𝔱",due="∴",uue="∴",pue="∴",_ue="Θ",hue="θ",fue="ϑ",mue="ϑ",gue="≈",bue="∼",Eue="  ",yue=" ",vue=" ",Sue="≈",Tue="∼",xue="Þ",Cue="þ",wue="˜",Rue="∼",Aue="≃",Nue="≅",Oue="≈",Mue="⨱",Iue="⊠",kue="×",Due="⨰",Lue="∭",Pue="⤨",Fue="⌶",Uue="⫱",Bue="⊤",Gue="𝕋",Vue="𝕥",zue="⫚",Hue="⤩",que="‴",$ue="™",Yue="™",Wue="▵",Kue="▿",jue="◃",Que="⊴",Xue="≜",Zue="▹",Jue="⊵",epe="◬",tpe="≜",npe="⨺",spe="⃛",ipe="⨹",rpe="⧍",ope="⨻",ape="⏢",lpe="𝒯",cpe="𝓉",dpe="Ц",upe="ц",ppe="Ћ",_pe="ћ",hpe="Ŧ",fpe="ŧ",mpe="≬",gpe="↞",bpe="↠",Epe="Ú",ype="ú",vpe="↑",Spe="↟",Tpe="⇑",xpe="⥉",Cpe="Ў",wpe="ў",Rpe="Ŭ",Ape="ŭ",Npe="Û",Ope="û",Mpe="У",Ipe="у",kpe="⇅",Dpe="Ű",Lpe="ű",Ppe="⥮",Fpe="⥾",Upe="𝔘",Bpe="𝔲",Gpe="Ù",Vpe="ù",zpe="⥣",Hpe="↿",qpe="↾",$pe="▀",Ype="⌜",Wpe="⌜",Kpe="⌏",jpe="◸",Qpe="Ū",Xpe="ū",Zpe="¨",Jpe="_",e_e="⏟",t_e="⎵",n_e="⏝",s_e="⋃",i_e="⊎",r_e="Ų",o_e="ų",a_e="𝕌",l_e="𝕦",c_e="⤒",d_e="↑",u_e="↑",p_e="⇑",__e="⇅",h_e="↕",f_e="↕",m_e="⇕",g_e="⥮",b_e="↿",E_e="↾",y_e="⊎",v_e="↖",S_e="↗",T_e="υ",x_e="ϒ",C_e="ϒ",w_e="Υ",R_e="υ",A_e="↥",N_e="⊥",O_e="⇈",M_e="⌝",I_e="⌝",k_e="⌎",D_e="Ů",L_e="ů",P_e="◹",F_e="𝒰",U_e="𝓊",B_e="⋰",G_e="Ũ",V_e="ũ",z_e="▵",H_e="▴",q_e="⇈",$_e="Ü",Y_e="ü",W_e="⦧",K_e="⦜",j_e="ϵ",Q_e="ϰ",X_e="∅",Z_e="ϕ",J_e="ϖ",ehe="∝",the="↕",nhe="⇕",she="ϱ",ihe="ς",rhe="⊊︀",ohe="⫋︀",ahe="⊋︀",lhe="⫌︀",che="ϑ",dhe="⊲",uhe="⊳",phe="⫨",_he="⫫",hhe="⫩",fhe="В",mhe="в",ghe="⊢",bhe="⊨",Ehe="⊩",yhe="⊫",vhe="⫦",She="⊻",The="∨",xhe="⋁",Che="≚",whe="⋮",Rhe="|",Ahe="‖",Nhe="|",Ohe="‖",Mhe="∣",Ihe="|",khe="❘",Dhe="≀",Lhe=" ",Phe="𝔙",Fhe="𝔳",Uhe="⊲",Bhe="⊂⃒",Ghe="⊃⃒",Vhe="𝕍",zhe="𝕧",Hhe="∝",qhe="⊳",$he="𝒱",Yhe="𝓋",Whe="⫋︀",Khe="⊊︀",jhe="⫌︀",Qhe="⊋︀",Xhe="⊪",Zhe="⦚",Jhe="Ŵ",efe="ŵ",tfe="⩟",nfe="∧",sfe="⋀",ife="≙",rfe="℘",ofe="𝔚",afe="𝔴",lfe="𝕎",cfe="𝕨",dfe="℘",ufe="≀",pfe="≀",_fe="𝒲",hfe="𝓌",ffe="⋂",mfe="◯",gfe="⋃",bfe="▽",Efe="𝔛",yfe="𝔵",vfe="⟷",Sfe="⟺",Tfe="Ξ",xfe="ξ",Cfe="⟵",wfe="⟸",Rfe="⟼",Afe="⋻",Nfe="⨀",Ofe="𝕏",Mfe="𝕩",Ife="⨁",kfe="⨂",Dfe="⟶",Lfe="⟹",Pfe="𝒳",Ffe="𝓍",Ufe="⨆",Bfe="⨄",Gfe="△",Vfe="⋁",zfe="⋀",Hfe="Ý",qfe="ý",$fe="Я",Yfe="я",Wfe="Ŷ",Kfe="ŷ",jfe="Ы",Qfe="ы",Xfe="¥",Zfe="𝔜",Jfe="𝔶",eme="Ї",tme="ї",nme="𝕐",sme="𝕪",ime="𝒴",rme="𝓎",ome="Ю",ame="ю",lme="ÿ",cme="Ÿ",dme="Ź",ume="ź",pme="Ž",_me="ž",hme="З",fme="з",mme="Ż",gme="ż",bme="ℨ",Eme="​",yme="Ζ",vme="ζ",Sme="𝔷",Tme="ℨ",xme="Ж",Cme="ж",wme="⇝",Rme="𝕫",Ame="ℤ",Nme="𝒵",Ome="𝓏",Mme="‍",Ime="‌",kme={Aacute:mF,aacute:gF,Abreve:bF,abreve:EF,ac:yF,acd:vF,acE:SF,Acirc:TF,acirc:xF,acute:CF,Acy:wF,acy:RF,AElig:AF,aelig:NF,af:OF,Afr:MF,afr:IF,Agrave:kF,agrave:DF,alefsym:LF,aleph:PF,Alpha:FF,alpha:UF,Amacr:BF,amacr:GF,amalg:VF,amp:zF,AMP:HF,andand:qF,And:$F,and:YF,andd:WF,andslope:KF,andv:jF,ang:QF,ange:XF,angle:ZF,angmsdaa:JF,angmsdab:eU,angmsdac:tU,angmsdad:nU,angmsdae:sU,angmsdaf:iU,angmsdag:rU,angmsdah:oU,angmsd:aU,angrt:lU,angrtvb:cU,angrtvbd:dU,angsph:uU,angst:pU,angzarr:_U,Aogon:hU,aogon:fU,Aopf:mU,aopf:gU,apacir:bU,ap:EU,apE:yU,ape:vU,apid:SU,apos:TU,ApplyFunction:xU,approx:CU,approxeq:wU,Aring:RU,aring:AU,Ascr:NU,ascr:OU,Assign:MU,ast:IU,asymp:kU,asympeq:DU,Atilde:LU,atilde:PU,Auml:FU,auml:UU,awconint:BU,awint:GU,backcong:VU,backepsilon:zU,backprime:HU,backsim:qU,backsimeq:$U,Backslash:YU,Barv:WU,barvee:KU,barwed:jU,Barwed:QU,barwedge:XU,bbrk:ZU,bbrktbrk:JU,bcong:e4,Bcy:t4,bcy:n4,bdquo:s4,becaus:i4,because:r4,Because:o4,bemptyv:a4,bepsi:l4,bernou:c4,Bernoullis:d4,Beta:u4,beta:p4,beth:_4,between:h4,Bfr:f4,bfr:m4,bigcap:g4,bigcirc:b4,bigcup:E4,bigodot:y4,bigoplus:v4,bigotimes:S4,bigsqcup:T4,bigstar:x4,bigtriangledown:C4,bigtriangleup:w4,biguplus:R4,bigvee:A4,bigwedge:N4,bkarow:O4,blacklozenge:M4,blacksquare:I4,blacktriangle:k4,blacktriangledown:D4,blacktriangleleft:L4,blacktriangleright:P4,blank:F4,blk12:U4,blk14:B4,blk34:G4,block:V4,bne:z4,bnequiv:H4,bNot:q4,bnot:$4,Bopf:Y4,bopf:W4,bot:K4,bottom:j4,bowtie:Q4,boxbox:X4,boxdl:Z4,boxdL:J4,boxDl:eB,boxDL:tB,boxdr:nB,boxdR:sB,boxDr:iB,boxDR:rB,boxh:oB,boxH:aB,boxhd:lB,boxHd:cB,boxhD:dB,boxHD:uB,boxhu:pB,boxHu:_B,boxhU:hB,boxHU:fB,boxminus:mB,boxplus:gB,boxtimes:bB,boxul:EB,boxuL:yB,boxUl:vB,boxUL:SB,boxur:TB,boxuR:xB,boxUr:CB,boxUR:wB,boxv:RB,boxV:AB,boxvh:NB,boxvH:OB,boxVh:MB,boxVH:IB,boxvl:kB,boxvL:DB,boxVl:LB,boxVL:PB,boxvr:FB,boxvR:UB,boxVr:BB,boxVR:GB,bprime:VB,breve:zB,Breve:HB,brvbar:qB,bscr:$B,Bscr:YB,bsemi:WB,bsim:KB,bsime:jB,bsolb:QB,bsol:XB,bsolhsub:ZB,bull:JB,bullet:e5,bump:t5,bumpE:n5,bumpe:s5,Bumpeq:i5,bumpeq:r5,Cacute:o5,cacute:a5,capand:l5,capbrcup:c5,capcap:d5,cap:u5,Cap:p5,capcup:_5,capdot:h5,CapitalDifferentialD:f5,caps:m5,caret:g5,caron:b5,Cayleys:E5,ccaps:y5,Ccaron:v5,ccaron:S5,Ccedil:T5,ccedil:x5,Ccirc:C5,ccirc:w5,Cconint:R5,ccups:A5,ccupssm:N5,Cdot:O5,cdot:M5,cedil:I5,Cedilla:k5,cemptyv:D5,cent:L5,centerdot:P5,CenterDot:F5,cfr:U5,Cfr:B5,CHcy:G5,chcy:V5,check:z5,checkmark:H5,Chi:q5,chi:$5,circ:Y5,circeq:W5,circlearrowleft:K5,circlearrowright:j5,circledast:Q5,circledcirc:X5,circleddash:Z5,CircleDot:J5,circledR:e6,circledS:t6,CircleMinus:n6,CirclePlus:s6,CircleTimes:i6,cir:r6,cirE:o6,cire:a6,cirfnint:l6,cirmid:c6,cirscir:d6,ClockwiseContourIntegral:u6,CloseCurlyDoubleQuote:p6,CloseCurlyQuote:_6,clubs:h6,clubsuit:f6,colon:m6,Colon:g6,Colone:b6,colone:E6,coloneq:y6,comma:v6,commat:S6,comp:T6,compfn:x6,complement:C6,complexes:w6,cong:R6,congdot:A6,Congruent:N6,conint:O6,Conint:M6,ContourIntegral:I6,copf:k6,Copf:D6,coprod:L6,Coproduct:P6,copy:F6,COPY:U6,copysr:B6,CounterClockwiseContourIntegral:G6,crarr:V6,cross:z6,Cross:H6,Cscr:q6,cscr:$6,csub:Y6,csube:W6,csup:K6,csupe:j6,ctdot:Q6,cudarrl:X6,cudarrr:Z6,cuepr:J6,cuesc:eG,cularr:tG,cularrp:nG,cupbrcap:sG,cupcap:iG,CupCap:rG,cup:oG,Cup:aG,cupcup:lG,cupdot:cG,cupor:dG,cups:uG,curarr:pG,curarrm:_G,curlyeqprec:hG,curlyeqsucc:fG,curlyvee:mG,curlywedge:gG,curren:bG,curvearrowleft:EG,curvearrowright:yG,cuvee:vG,cuwed:SG,cwconint:TG,cwint:xG,cylcty:CG,dagger:wG,Dagger:RG,daleth:AG,darr:NG,Darr:OG,dArr:MG,dash:IG,Dashv:kG,dashv:DG,dbkarow:LG,dblac:PG,Dcaron:FG,dcaron:UG,Dcy:BG,dcy:GG,ddagger:VG,ddarr:zG,DD:HG,dd:qG,DDotrahd:$G,ddotseq:YG,deg:WG,Del:KG,Delta:jG,delta:QG,demptyv:XG,dfisht:ZG,Dfr:JG,dfr:e8,dHar:t8,dharl:n8,dharr:s8,DiacriticalAcute:i8,DiacriticalDot:r8,DiacriticalDoubleAcute:o8,DiacriticalGrave:a8,DiacriticalTilde:l8,diam:c8,diamond:d8,Diamond:u8,diamondsuit:p8,diams:_8,die:h8,DifferentialD:f8,digamma:m8,disin:g8,div:b8,divide:E8,divideontimes:y8,divonx:v8,DJcy:S8,djcy:T8,dlcorn:x8,dlcrop:C8,dollar:w8,Dopf:R8,dopf:A8,Dot:N8,dot:O8,DotDot:M8,doteq:I8,doteqdot:k8,DotEqual:D8,dotminus:L8,dotplus:P8,dotsquare:F8,doublebarwedge:U8,DoubleContourIntegral:B8,DoubleDot:G8,DoubleDownArrow:V8,DoubleLeftArrow:z8,DoubleLeftRightArrow:H8,DoubleLeftTee:q8,DoubleLongLeftArrow:$8,DoubleLongLeftRightArrow:Y8,DoubleLongRightArrow:W8,DoubleRightArrow:K8,DoubleRightTee:j8,DoubleUpArrow:Q8,DoubleUpDownArrow:X8,DoubleVerticalBar:Z8,DownArrowBar:J8,downarrow:e9,DownArrow:t9,Downarrow:n9,DownArrowUpArrow:s9,DownBreve:i9,downdownarrows:r9,downharpoonleft:o9,downharpoonright:a9,DownLeftRightVector:l9,DownLeftTeeVector:c9,DownLeftVectorBar:d9,DownLeftVector:u9,DownRightTeeVector:p9,DownRightVectorBar:_9,DownRightVector:h9,DownTeeArrow:f9,DownTee:m9,drbkarow:g9,drcorn:b9,drcrop:E9,Dscr:y9,dscr:v9,DScy:S9,dscy:T9,dsol:x9,Dstrok:C9,dstrok:w9,dtdot:R9,dtri:A9,dtrif:N9,duarr:O9,duhar:M9,dwangle:I9,DZcy:k9,dzcy:D9,dzigrarr:L9,Eacute:P9,eacute:F9,easter:U9,Ecaron:B9,ecaron:G9,Ecirc:V9,ecirc:z9,ecir:H9,ecolon:q9,Ecy:$9,ecy:Y9,eDDot:W9,Edot:K9,edot:j9,eDot:Q9,ee:X9,efDot:Z9,Efr:J9,efr:eV,eg:tV,Egrave:nV,egrave:sV,egs:iV,egsdot:rV,el:oV,Element:aV,elinters:lV,ell:cV,els:dV,elsdot:uV,Emacr:pV,emacr:_V,empty:hV,emptyset:fV,EmptySmallSquare:mV,emptyv:gV,EmptyVerySmallSquare:bV,emsp13:EV,emsp14:yV,emsp:vV,ENG:SV,eng:TV,ensp:xV,Eogon:CV,eogon:wV,Eopf:RV,eopf:AV,epar:NV,eparsl:OV,eplus:MV,epsi:IV,Epsilon:kV,epsilon:DV,epsiv:LV,eqcirc:PV,eqcolon:FV,eqsim:UV,eqslantgtr:BV,eqslantless:GV,Equal:VV,equals:zV,EqualTilde:HV,equest:qV,Equilibrium:$V,equiv:YV,equivDD:WV,eqvparsl:KV,erarr:jV,erDot:QV,escr:XV,Escr:ZV,esdot:JV,Esim:ez,esim:tz,Eta:nz,eta:sz,ETH:iz,eth:rz,Euml:oz,euml:az,euro:lz,excl:cz,exist:dz,Exists:uz,expectation:pz,exponentiale:_z,ExponentialE:hz,fallingdotseq:fz,Fcy:mz,fcy:gz,female:bz,ffilig:Ez,fflig:yz,ffllig:vz,Ffr:Sz,ffr:Tz,filig:xz,FilledSmallSquare:Cz,FilledVerySmallSquare:wz,fjlig:Rz,flat:Az,fllig:Nz,fltns:Oz,fnof:Mz,Fopf:Iz,fopf:kz,forall:Dz,ForAll:Lz,fork:Pz,forkv:Fz,Fouriertrf:Uz,fpartint:Bz,frac12:Gz,frac13:Vz,frac14:zz,frac15:Hz,frac16:qz,frac18:$z,frac23:Yz,frac25:Wz,frac34:Kz,frac35:jz,frac38:Qz,frac45:Xz,frac56:Zz,frac58:Jz,frac78:eH,frasl:tH,frown:nH,fscr:sH,Fscr:iH,gacute:rH,Gamma:oH,gamma:aH,Gammad:lH,gammad:cH,gap:dH,Gbreve:uH,gbreve:pH,Gcedil:_H,Gcirc:hH,gcirc:fH,Gcy:mH,gcy:gH,Gdot:bH,gdot:EH,ge:yH,gE:vH,gEl:SH,gel:TH,geq:xH,geqq:CH,geqslant:wH,gescc:RH,ges:AH,gesdot:NH,gesdoto:OH,gesdotol:MH,gesl:IH,gesles:kH,Gfr:DH,gfr:LH,gg:PH,Gg:FH,ggg:UH,gimel:BH,GJcy:GH,gjcy:VH,gla:zH,gl:HH,glE:qH,glj:$H,gnap:YH,gnapprox:WH,gne:KH,gnE:jH,gneq:QH,gneqq:XH,gnsim:ZH,Gopf:JH,gopf:e7,grave:t7,GreaterEqual:n7,GreaterEqualLess:s7,GreaterFullEqual:i7,GreaterGreater:r7,GreaterLess:o7,GreaterSlantEqual:a7,GreaterTilde:l7,Gscr:c7,gscr:d7,gsim:u7,gsime:p7,gsiml:_7,gtcc:h7,gtcir:f7,gt:m7,GT:g7,Gt:b7,gtdot:E7,gtlPar:y7,gtquest:v7,gtrapprox:S7,gtrarr:T7,gtrdot:x7,gtreqless:C7,gtreqqless:w7,gtrless:R7,gtrsim:A7,gvertneqq:N7,gvnE:O7,Hacek:M7,hairsp:I7,half:k7,hamilt:D7,HARDcy:L7,hardcy:P7,harrcir:F7,harr:U7,hArr:B7,harrw:G7,Hat:V7,hbar:z7,Hcirc:H7,hcirc:q7,hearts:$7,heartsuit:Y7,hellip:W7,hercon:K7,hfr:j7,Hfr:Q7,HilbertSpace:X7,hksearow:Z7,hkswarow:J7,hoarr:eq,homtht:tq,hookleftarrow:nq,hookrightarrow:sq,hopf:iq,Hopf:rq,horbar:oq,HorizontalLine:aq,hscr:lq,Hscr:cq,hslash:dq,Hstrok:uq,hstrok:pq,HumpDownHump:_q,HumpEqual:hq,hybull:fq,hyphen:mq,Iacute:gq,iacute:bq,ic:Eq,Icirc:yq,icirc:vq,Icy:Sq,icy:Tq,Idot:xq,IEcy:Cq,iecy:wq,iexcl:Rq,iff:Aq,ifr:Nq,Ifr:Oq,Igrave:Mq,igrave:Iq,ii:kq,iiiint:Dq,iiint:Lq,iinfin:Pq,iiota:Fq,IJlig:Uq,ijlig:Bq,Imacr:Gq,imacr:Vq,image:zq,ImaginaryI:Hq,imagline:qq,imagpart:$q,imath:Yq,Im:Wq,imof:Kq,imped:jq,Implies:Qq,incare:Xq,in:"∈",infin:Zq,infintie:Jq,inodot:e$,intcal:t$,int:n$,Int:s$,integers:i$,Integral:r$,intercal:o$,Intersection:a$,intlarhk:l$,intprod:c$,InvisibleComma:d$,InvisibleTimes:u$,IOcy:p$,iocy:_$,Iogon:h$,iogon:f$,Iopf:m$,iopf:g$,Iota:b$,iota:E$,iprod:y$,iquest:v$,iscr:S$,Iscr:T$,isin:x$,isindot:C$,isinE:w$,isins:R$,isinsv:A$,isinv:N$,it:O$,Itilde:M$,itilde:I$,Iukcy:k$,iukcy:D$,Iuml:L$,iuml:P$,Jcirc:F$,jcirc:U$,Jcy:B$,jcy:G$,Jfr:V$,jfr:z$,jmath:H$,Jopf:q$,jopf:$$,Jscr:Y$,jscr:W$,Jsercy:K$,jsercy:j$,Jukcy:Q$,jukcy:X$,Kappa:Z$,kappa:J$,kappav:eY,Kcedil:tY,kcedil:nY,Kcy:sY,kcy:iY,Kfr:rY,kfr:oY,kgreen:aY,KHcy:lY,khcy:cY,KJcy:dY,kjcy:uY,Kopf:pY,kopf:_Y,Kscr:hY,kscr:fY,lAarr:mY,Lacute:gY,lacute:bY,laemptyv:EY,lagran:yY,Lambda:vY,lambda:SY,lang:TY,Lang:xY,langd:CY,langle:wY,lap:RY,Laplacetrf:AY,laquo:NY,larrb:OY,larrbfs:MY,larr:IY,Larr:kY,lArr:DY,larrfs:LY,larrhk:PY,larrlp:FY,larrpl:UY,larrsim:BY,larrtl:GY,latail:VY,lAtail:zY,lat:HY,late:qY,lates:$Y,lbarr:YY,lBarr:WY,lbbrk:KY,lbrace:jY,lbrack:QY,lbrke:XY,lbrksld:ZY,lbrkslu:JY,Lcaron:eW,lcaron:tW,Lcedil:nW,lcedil:sW,lceil:iW,lcub:rW,Lcy:oW,lcy:aW,ldca:lW,ldquo:cW,ldquor:dW,ldrdhar:uW,ldrushar:pW,ldsh:_W,le:hW,lE:fW,LeftAngleBracket:mW,LeftArrowBar:gW,leftarrow:bW,LeftArrow:EW,Leftarrow:yW,LeftArrowRightArrow:vW,leftarrowtail:SW,LeftCeiling:TW,LeftDoubleBracket:xW,LeftDownTeeVector:CW,LeftDownVectorBar:wW,LeftDownVector:RW,LeftFloor:AW,leftharpoondown:NW,leftharpoonup:OW,leftleftarrows:MW,leftrightarrow:IW,LeftRightArrow:kW,Leftrightarrow:DW,leftrightarrows:LW,leftrightharpoons:PW,leftrightsquigarrow:FW,LeftRightVector:UW,LeftTeeArrow:BW,LeftTee:GW,LeftTeeVector:VW,leftthreetimes:zW,LeftTriangleBar:HW,LeftTriangle:qW,LeftTriangleEqual:$W,LeftUpDownVector:YW,LeftUpTeeVector:WW,LeftUpVectorBar:KW,LeftUpVector:jW,LeftVectorBar:QW,LeftVector:XW,lEg:ZW,leg:JW,leq:eK,leqq:tK,leqslant:nK,lescc:sK,les:iK,lesdot:rK,lesdoto:oK,lesdotor:aK,lesg:lK,lesges:cK,lessapprox:dK,lessdot:uK,lesseqgtr:pK,lesseqqgtr:_K,LessEqualGreater:hK,LessFullEqual:fK,LessGreater:mK,lessgtr:gK,LessLess:bK,lesssim:EK,LessSlantEqual:yK,LessTilde:vK,lfisht:SK,lfloor:TK,Lfr:xK,lfr:CK,lg:wK,lgE:RK,lHar:AK,lhard:NK,lharu:OK,lharul:MK,lhblk:IK,LJcy:kK,ljcy:DK,llarr:LK,ll:PK,Ll:FK,llcorner:UK,Lleftarrow:BK,llhard:GK,lltri:VK,Lmidot:zK,lmidot:HK,lmoustache:qK,lmoust:$K,lnap:YK,lnapprox:WK,lne:KK,lnE:jK,lneq:QK,lneqq:XK,lnsim:ZK,loang:JK,loarr:ej,lobrk:tj,longleftarrow:nj,LongLeftArrow:sj,Longleftarrow:ij,longleftrightarrow:rj,LongLeftRightArrow:oj,Longleftrightarrow:aj,longmapsto:lj,longrightarrow:cj,LongRightArrow:dj,Longrightarrow:uj,looparrowleft:pj,looparrowright:_j,lopar:hj,Lopf:fj,lopf:mj,loplus:gj,lotimes:bj,lowast:Ej,lowbar:yj,LowerLeftArrow:vj,LowerRightArrow:Sj,loz:Tj,lozenge:xj,lozf:Cj,lpar:wj,lparlt:Rj,lrarr:Aj,lrcorner:Nj,lrhar:Oj,lrhard:Mj,lrm:Ij,lrtri:kj,lsaquo:Dj,lscr:Lj,Lscr:Pj,lsh:Fj,Lsh:Uj,lsim:Bj,lsime:Gj,lsimg:Vj,lsqb:zj,lsquo:Hj,lsquor:qj,Lstrok:$j,lstrok:Yj,ltcc:Wj,ltcir:Kj,lt:jj,LT:Qj,Lt:Xj,ltdot:Zj,lthree:Jj,ltimes:eQ,ltlarr:tQ,ltquest:nQ,ltri:sQ,ltrie:iQ,ltrif:rQ,ltrPar:oQ,lurdshar:aQ,luruhar:lQ,lvertneqq:cQ,lvnE:dQ,macr:uQ,male:pQ,malt:_Q,maltese:hQ,Map:"⤅",map:fQ,mapsto:mQ,mapstodown:gQ,mapstoleft:bQ,mapstoup:EQ,marker:yQ,mcomma:vQ,Mcy:SQ,mcy:TQ,mdash:xQ,mDDot:CQ,measuredangle:wQ,MediumSpace:RQ,Mellintrf:AQ,Mfr:NQ,mfr:OQ,mho:MQ,micro:IQ,midast:kQ,midcir:DQ,mid:LQ,middot:PQ,minusb:FQ,minus:UQ,minusd:BQ,minusdu:GQ,MinusPlus:VQ,mlcp:zQ,mldr:HQ,mnplus:qQ,models:$Q,Mopf:YQ,mopf:WQ,mp:KQ,mscr:jQ,Mscr:QQ,mstpos:XQ,Mu:ZQ,mu:JQ,multimap:eX,mumap:tX,nabla:nX,Nacute:sX,nacute:iX,nang:rX,nap:oX,napE:aX,napid:lX,napos:cX,napprox:dX,natural:uX,naturals:pX,natur:_X,nbsp:hX,nbump:fX,nbumpe:mX,ncap:gX,Ncaron:bX,ncaron:EX,Ncedil:yX,ncedil:vX,ncong:SX,ncongdot:TX,ncup:xX,Ncy:CX,ncy:wX,ndash:RX,nearhk:AX,nearr:NX,neArr:OX,nearrow:MX,ne:IX,nedot:kX,NegativeMediumSpace:DX,NegativeThickSpace:LX,NegativeThinSpace:PX,NegativeVeryThinSpace:FX,nequiv:UX,nesear:BX,nesim:GX,NestedGreaterGreater:VX,NestedLessLess:zX,NewLine:HX,nexist:qX,nexists:$X,Nfr:YX,nfr:WX,ngE:KX,nge:jX,ngeq:QX,ngeqq:XX,ngeqslant:ZX,nges:JX,nGg:eZ,ngsim:tZ,nGt:nZ,ngt:sZ,ngtr:iZ,nGtv:rZ,nharr:oZ,nhArr:aZ,nhpar:lZ,ni:cZ,nis:dZ,nisd:uZ,niv:pZ,NJcy:_Z,njcy:hZ,nlarr:fZ,nlArr:mZ,nldr:gZ,nlE:bZ,nle:EZ,nleftarrow:yZ,nLeftarrow:vZ,nleftrightarrow:SZ,nLeftrightarrow:TZ,nleq:xZ,nleqq:CZ,nleqslant:wZ,nles:RZ,nless:AZ,nLl:NZ,nlsim:OZ,nLt:MZ,nlt:IZ,nltri:kZ,nltrie:DZ,nLtv:LZ,nmid:PZ,NoBreak:FZ,NonBreakingSpace:UZ,nopf:BZ,Nopf:GZ,Not:VZ,not:zZ,NotCongruent:HZ,NotCupCap:qZ,NotDoubleVerticalBar:$Z,NotElement:YZ,NotEqual:WZ,NotEqualTilde:KZ,NotExists:jZ,NotGreater:QZ,NotGreaterEqual:XZ,NotGreaterFullEqual:ZZ,NotGreaterGreater:JZ,NotGreaterLess:eJ,NotGreaterSlantEqual:tJ,NotGreaterTilde:nJ,NotHumpDownHump:sJ,NotHumpEqual:iJ,notin:rJ,notindot:oJ,notinE:aJ,notinva:lJ,notinvb:cJ,notinvc:dJ,NotLeftTriangleBar:uJ,NotLeftTriangle:pJ,NotLeftTriangleEqual:_J,NotLess:hJ,NotLessEqual:fJ,NotLessGreater:mJ,NotLessLess:gJ,NotLessSlantEqual:bJ,NotLessTilde:EJ,NotNestedGreaterGreater:yJ,NotNestedLessLess:vJ,notni:SJ,notniva:TJ,notnivb:xJ,notnivc:CJ,NotPrecedes:wJ,NotPrecedesEqual:RJ,NotPrecedesSlantEqual:AJ,NotReverseElement:NJ,NotRightTriangleBar:OJ,NotRightTriangle:MJ,NotRightTriangleEqual:IJ,NotSquareSubset:kJ,NotSquareSubsetEqual:DJ,NotSquareSuperset:LJ,NotSquareSupersetEqual:PJ,NotSubset:FJ,NotSubsetEqual:UJ,NotSucceeds:BJ,NotSucceedsEqual:GJ,NotSucceedsSlantEqual:VJ,NotSucceedsTilde:zJ,NotSuperset:HJ,NotSupersetEqual:qJ,NotTilde:$J,NotTildeEqual:YJ,NotTildeFullEqual:WJ,NotTildeTilde:KJ,NotVerticalBar:jJ,nparallel:QJ,npar:XJ,nparsl:ZJ,npart:JJ,npolint:eee,npr:tee,nprcue:nee,nprec:see,npreceq:iee,npre:ree,nrarrc:oee,nrarr:aee,nrArr:lee,nrarrw:cee,nrightarrow:dee,nRightarrow:uee,nrtri:pee,nrtrie:_ee,nsc:hee,nsccue:fee,nsce:mee,Nscr:gee,nscr:bee,nshortmid:Eee,nshortparallel:yee,nsim:vee,nsime:See,nsimeq:Tee,nsmid:xee,nspar:Cee,nsqsube:wee,nsqsupe:Ree,nsub:Aee,nsubE:Nee,nsube:Oee,nsubset:Mee,nsubseteq:Iee,nsubseteqq:kee,nsucc:Dee,nsucceq:Lee,nsup:Pee,nsupE:Fee,nsupe:Uee,nsupset:Bee,nsupseteq:Gee,nsupseteqq:Vee,ntgl:zee,Ntilde:Hee,ntilde:qee,ntlg:$ee,ntriangleleft:Yee,ntrianglelefteq:Wee,ntriangleright:Kee,ntrianglerighteq:jee,Nu:Qee,nu:Xee,num:Zee,numero:Jee,numsp:ete,nvap:tte,nvdash:nte,nvDash:ste,nVdash:ite,nVDash:rte,nvge:ote,nvgt:ate,nvHarr:lte,nvinfin:cte,nvlArr:dte,nvle:ute,nvlt:pte,nvltrie:_te,nvrArr:hte,nvrtrie:fte,nvsim:mte,nwarhk:gte,nwarr:bte,nwArr:Ete,nwarrow:yte,nwnear:vte,Oacute:Ste,oacute:Tte,oast:xte,Ocirc:Cte,ocirc:wte,ocir:Rte,Ocy:Ate,ocy:Nte,odash:Ote,Odblac:Mte,odblac:Ite,odiv:kte,odot:Dte,odsold:Lte,OElig:Pte,oelig:Fte,ofcir:Ute,Ofr:Bte,ofr:Gte,ogon:Vte,Ograve:zte,ograve:Hte,ogt:qte,ohbar:$te,ohm:Yte,oint:Wte,olarr:Kte,olcir:jte,olcross:Qte,oline:Xte,olt:Zte,Omacr:Jte,omacr:ene,Omega:tne,omega:nne,Omicron:sne,omicron:ine,omid:rne,ominus:one,Oopf:ane,oopf:lne,opar:cne,OpenCurlyDoubleQuote:dne,OpenCurlyQuote:une,operp:pne,oplus:_ne,orarr:hne,Or:fne,or:mne,ord:gne,order:bne,orderof:Ene,ordf:yne,ordm:vne,origof:Sne,oror:Tne,orslope:xne,orv:Cne,oS:wne,Oscr:Rne,oscr:Ane,Oslash:Nne,oslash:One,osol:Mne,Otilde:Ine,otilde:kne,otimesas:Dne,Otimes:Lne,otimes:Pne,Ouml:Fne,ouml:Une,ovbar:Bne,OverBar:Gne,OverBrace:Vne,OverBracket:zne,OverParenthesis:Hne,para:qne,parallel:$ne,par:Yne,parsim:Wne,parsl:Kne,part:jne,PartialD:Qne,Pcy:Xne,pcy:Zne,percnt:Jne,period:ese,permil:tse,perp:nse,pertenk:sse,Pfr:ise,pfr:rse,Phi:ose,phi:ase,phiv:lse,phmmat:cse,phone:dse,Pi:use,pi:pse,pitchfork:_se,piv:hse,planck:fse,planckh:mse,plankv:gse,plusacir:bse,plusb:Ese,pluscir:yse,plus:vse,plusdo:Sse,plusdu:Tse,pluse:xse,PlusMinus:Cse,plusmn:wse,plussim:Rse,plustwo:Ase,pm:Nse,Poincareplane:Ose,pointint:Mse,popf:Ise,Popf:kse,pound:Dse,prap:Lse,Pr:Pse,pr:Fse,prcue:Use,precapprox:Bse,prec:Gse,preccurlyeq:Vse,Precedes:zse,PrecedesEqual:Hse,PrecedesSlantEqual:qse,PrecedesTilde:$se,preceq:Yse,precnapprox:Wse,precneqq:Kse,precnsim:jse,pre:Qse,prE:Xse,precsim:Zse,prime:Jse,Prime:eie,primes:tie,prnap:nie,prnE:sie,prnsim:iie,prod:rie,Product:oie,profalar:aie,profline:lie,profsurf:cie,prop:die,Proportional:uie,Proportion:pie,propto:_ie,prsim:hie,prurel:fie,Pscr:mie,pscr:gie,Psi:bie,psi:Eie,puncsp:yie,Qfr:vie,qfr:Sie,qint:Tie,qopf:xie,Qopf:Cie,qprime:wie,Qscr:Rie,qscr:Aie,quaternions:Nie,quatint:Oie,quest:Mie,questeq:Iie,quot:kie,QUOT:Die,rAarr:Lie,race:Pie,Racute:Fie,racute:Uie,radic:Bie,raemptyv:Gie,rang:Vie,Rang:zie,rangd:Hie,range:qie,rangle:$ie,raquo:Yie,rarrap:Wie,rarrb:Kie,rarrbfs:jie,rarrc:Qie,rarr:Xie,Rarr:Zie,rArr:Jie,rarrfs:ere,rarrhk:tre,rarrlp:nre,rarrpl:sre,rarrsim:ire,Rarrtl:rre,rarrtl:ore,rarrw:are,ratail:lre,rAtail:cre,ratio:dre,rationals:ure,rbarr:pre,rBarr:_re,RBarr:hre,rbbrk:fre,rbrace:mre,rbrack:gre,rbrke:bre,rbrksld:Ere,rbrkslu:yre,Rcaron:vre,rcaron:Sre,Rcedil:Tre,rcedil:xre,rceil:Cre,rcub:wre,Rcy:Rre,rcy:Are,rdca:Nre,rdldhar:Ore,rdquo:Mre,rdquor:Ire,rdsh:kre,real:Dre,realine:Lre,realpart:Pre,reals:Fre,Re:Ure,rect:Bre,reg:Gre,REG:Vre,ReverseElement:zre,ReverseEquilibrium:Hre,ReverseUpEquilibrium:qre,rfisht:$re,rfloor:Yre,rfr:Wre,Rfr:Kre,rHar:jre,rhard:Qre,rharu:Xre,rharul:Zre,Rho:Jre,rho:eoe,rhov:toe,RightAngleBracket:noe,RightArrowBar:soe,rightarrow:ioe,RightArrow:roe,Rightarrow:ooe,RightArrowLeftArrow:aoe,rightarrowtail:loe,RightCeiling:coe,RightDoubleBracket:doe,RightDownTeeVector:uoe,RightDownVectorBar:poe,RightDownVector:_oe,RightFloor:hoe,rightharpoondown:foe,rightharpoonup:moe,rightleftarrows:goe,rightleftharpoons:boe,rightrightarrows:Eoe,rightsquigarrow:yoe,RightTeeArrow:voe,RightTee:Soe,RightTeeVector:Toe,rightthreetimes:xoe,RightTriangleBar:Coe,RightTriangle:woe,RightTriangleEqual:Roe,RightUpDownVector:Aoe,RightUpTeeVector:Noe,RightUpVectorBar:Ooe,RightUpVector:Moe,RightVectorBar:Ioe,RightVector:koe,ring:Doe,risingdotseq:Loe,rlarr:Poe,rlhar:Foe,rlm:Uoe,rmoustache:Boe,rmoust:Goe,rnmid:Voe,roang:zoe,roarr:Hoe,robrk:qoe,ropar:$oe,ropf:Yoe,Ropf:Woe,roplus:Koe,rotimes:joe,RoundImplies:Qoe,rpar:Xoe,rpargt:Zoe,rppolint:Joe,rrarr:eae,Rrightarrow:tae,rsaquo:nae,rscr:sae,Rscr:iae,rsh:rae,Rsh:oae,rsqb:aae,rsquo:lae,rsquor:cae,rthree:dae,rtimes:uae,rtri:pae,rtrie:_ae,rtrif:hae,rtriltri:fae,RuleDelayed:mae,ruluhar:gae,rx:bae,Sacute:Eae,sacute:yae,sbquo:vae,scap:Sae,Scaron:Tae,scaron:xae,Sc:Cae,sc:wae,sccue:Rae,sce:Aae,scE:Nae,Scedil:Oae,scedil:Mae,Scirc:Iae,scirc:kae,scnap:Dae,scnE:Lae,scnsim:Pae,scpolint:Fae,scsim:Uae,Scy:Bae,scy:Gae,sdotb:Vae,sdot:zae,sdote:Hae,searhk:qae,searr:$ae,seArr:Yae,searrow:Wae,sect:Kae,semi:jae,seswar:Qae,setminus:Xae,setmn:Zae,sext:Jae,Sfr:ele,sfr:tle,sfrown:nle,sharp:sle,SHCHcy:ile,shchcy:rle,SHcy:ole,shcy:ale,ShortDownArrow:lle,ShortLeftArrow:cle,shortmid:dle,shortparallel:ule,ShortRightArrow:ple,ShortUpArrow:_le,shy:hle,Sigma:fle,sigma:mle,sigmaf:gle,sigmav:ble,sim:Ele,simdot:yle,sime:vle,simeq:Sle,simg:Tle,simgE:xle,siml:Cle,simlE:wle,simne:Rle,simplus:Ale,simrarr:Nle,slarr:Ole,SmallCircle:Mle,smallsetminus:Ile,smashp:kle,smeparsl:Dle,smid:Lle,smile:Ple,smt:Fle,smte:Ule,smtes:Ble,SOFTcy:Gle,softcy:Vle,solbar:zle,solb:Hle,sol:qle,Sopf:$le,sopf:Yle,spades:Wle,spadesuit:Kle,spar:jle,sqcap:Qle,sqcaps:Xle,sqcup:Zle,sqcups:Jle,Sqrt:ece,sqsub:tce,sqsube:nce,sqsubset:sce,sqsubseteq:ice,sqsup:rce,sqsupe:oce,sqsupset:ace,sqsupseteq:lce,square:cce,Square:dce,SquareIntersection:uce,SquareSubset:pce,SquareSubsetEqual:_ce,SquareSuperset:hce,SquareSupersetEqual:fce,SquareUnion:mce,squarf:gce,squ:bce,squf:Ece,srarr:yce,Sscr:vce,sscr:Sce,ssetmn:Tce,ssmile:xce,sstarf:Cce,Star:wce,star:Rce,starf:Ace,straightepsilon:Nce,straightphi:Oce,strns:Mce,sub:Ice,Sub:kce,subdot:Dce,subE:Lce,sube:Pce,subedot:Fce,submult:Uce,subnE:Bce,subne:Gce,subplus:Vce,subrarr:zce,subset:Hce,Subset:qce,subseteq:$ce,subseteqq:Yce,SubsetEqual:Wce,subsetneq:Kce,subsetneqq:jce,subsim:Qce,subsub:Xce,subsup:Zce,succapprox:Jce,succ:ede,succcurlyeq:tde,Succeeds:nde,SucceedsEqual:sde,SucceedsSlantEqual:ide,SucceedsTilde:rde,succeq:ode,succnapprox:ade,succneqq:lde,succnsim:cde,succsim:dde,SuchThat:ude,sum:pde,Sum:_de,sung:hde,sup1:fde,sup2:mde,sup3:gde,sup:bde,Sup:Ede,supdot:yde,supdsub:vde,supE:Sde,supe:Tde,supedot:xde,Superset:Cde,SupersetEqual:wde,suphsol:Rde,suphsub:Ade,suplarr:Nde,supmult:Ode,supnE:Mde,supne:Ide,supplus:kde,supset:Dde,Supset:Lde,supseteq:Pde,supseteqq:Fde,supsetneq:Ude,supsetneqq:Bde,supsim:Gde,supsub:Vde,supsup:zde,swarhk:Hde,swarr:qde,swArr:$de,swarrow:Yde,swnwar:Wde,szlig:Kde,Tab:jde,target:Qde,Tau:Xde,tau:Zde,tbrk:Jde,Tcaron:eue,tcaron:tue,Tcedil:nue,tcedil:sue,Tcy:iue,tcy:rue,tdot:oue,telrec:aue,Tfr:lue,tfr:cue,there4:due,therefore:uue,Therefore:pue,Theta:_ue,theta:hue,thetasym:fue,thetav:mue,thickapprox:gue,thicksim:bue,ThickSpace:Eue,ThinSpace:yue,thinsp:vue,thkap:Sue,thksim:Tue,THORN:xue,thorn:Cue,tilde:wue,Tilde:Rue,TildeEqual:Aue,TildeFullEqual:Nue,TildeTilde:Oue,timesbar:Mue,timesb:Iue,times:kue,timesd:Due,tint:Lue,toea:Pue,topbot:Fue,topcir:Uue,top:Bue,Topf:Gue,topf:Vue,topfork:zue,tosa:Hue,tprime:que,trade:$ue,TRADE:Yue,triangle:Wue,triangledown:Kue,triangleleft:jue,trianglelefteq:Que,triangleq:Xue,triangleright:Zue,trianglerighteq:Jue,tridot:epe,trie:tpe,triminus:npe,TripleDot:spe,triplus:ipe,trisb:rpe,tritime:ope,trpezium:ape,Tscr:lpe,tscr:cpe,TScy:dpe,tscy:upe,TSHcy:ppe,tshcy:_pe,Tstrok:hpe,tstrok:fpe,twixt:mpe,twoheadleftarrow:gpe,twoheadrightarrow:bpe,Uacute:Epe,uacute:ype,uarr:vpe,Uarr:Spe,uArr:Tpe,Uarrocir:xpe,Ubrcy:Cpe,ubrcy:wpe,Ubreve:Rpe,ubreve:Ape,Ucirc:Npe,ucirc:Ope,Ucy:Mpe,ucy:Ipe,udarr:kpe,Udblac:Dpe,udblac:Lpe,udhar:Ppe,ufisht:Fpe,Ufr:Upe,ufr:Bpe,Ugrave:Gpe,ugrave:Vpe,uHar:zpe,uharl:Hpe,uharr:qpe,uhblk:$pe,ulcorn:Ype,ulcorner:Wpe,ulcrop:Kpe,ultri:jpe,Umacr:Qpe,umacr:Xpe,uml:Zpe,UnderBar:Jpe,UnderBrace:e_e,UnderBracket:t_e,UnderParenthesis:n_e,Union:s_e,UnionPlus:i_e,Uogon:r_e,uogon:o_e,Uopf:a_e,uopf:l_e,UpArrowBar:c_e,uparrow:d_e,UpArrow:u_e,Uparrow:p_e,UpArrowDownArrow:__e,updownarrow:h_e,UpDownArrow:f_e,Updownarrow:m_e,UpEquilibrium:g_e,upharpoonleft:b_e,upharpoonright:E_e,uplus:y_e,UpperLeftArrow:v_e,UpperRightArrow:S_e,upsi:T_e,Upsi:x_e,upsih:C_e,Upsilon:w_e,upsilon:R_e,UpTeeArrow:A_e,UpTee:N_e,upuparrows:O_e,urcorn:M_e,urcorner:I_e,urcrop:k_e,Uring:D_e,uring:L_e,urtri:P_e,Uscr:F_e,uscr:U_e,utdot:B_e,Utilde:G_e,utilde:V_e,utri:z_e,utrif:H_e,uuarr:q_e,Uuml:$_e,uuml:Y_e,uwangle:W_e,vangrt:K_e,varepsilon:j_e,varkappa:Q_e,varnothing:X_e,varphi:Z_e,varpi:J_e,varpropto:ehe,varr:the,vArr:nhe,varrho:she,varsigma:ihe,varsubsetneq:rhe,varsubsetneqq:ohe,varsupsetneq:ahe,varsupsetneqq:lhe,vartheta:che,vartriangleleft:dhe,vartriangleright:uhe,vBar:phe,Vbar:_he,vBarv:hhe,Vcy:fhe,vcy:mhe,vdash:ghe,vDash:bhe,Vdash:Ehe,VDash:yhe,Vdashl:vhe,veebar:She,vee:The,Vee:xhe,veeeq:Che,vellip:whe,verbar:Rhe,Verbar:Ahe,vert:Nhe,Vert:Ohe,VerticalBar:Mhe,VerticalLine:Ihe,VerticalSeparator:khe,VerticalTilde:Dhe,VeryThinSpace:Lhe,Vfr:Phe,vfr:Fhe,vltri:Uhe,vnsub:Bhe,vnsup:Ghe,Vopf:Vhe,vopf:zhe,vprop:Hhe,vrtri:qhe,Vscr:$he,vscr:Yhe,vsubnE:Whe,vsubne:Khe,vsupnE:jhe,vsupne:Qhe,Vvdash:Xhe,vzigzag:Zhe,Wcirc:Jhe,wcirc:efe,wedbar:tfe,wedge:nfe,Wedge:sfe,wedgeq:ife,weierp:rfe,Wfr:ofe,wfr:afe,Wopf:lfe,wopf:cfe,wp:dfe,wr:ufe,wreath:pfe,Wscr:_fe,wscr:hfe,xcap:ffe,xcirc:mfe,xcup:gfe,xdtri:bfe,Xfr:Efe,xfr:yfe,xharr:vfe,xhArr:Sfe,Xi:Tfe,xi:xfe,xlarr:Cfe,xlArr:wfe,xmap:Rfe,xnis:Afe,xodot:Nfe,Xopf:Ofe,xopf:Mfe,xoplus:Ife,xotime:kfe,xrarr:Dfe,xrArr:Lfe,Xscr:Pfe,xscr:Ffe,xsqcup:Ufe,xuplus:Bfe,xutri:Gfe,xvee:Vfe,xwedge:zfe,Yacute:Hfe,yacute:qfe,YAcy:$fe,yacy:Yfe,Ycirc:Wfe,ycirc:Kfe,Ycy:jfe,ycy:Qfe,yen:Xfe,Yfr:Zfe,yfr:Jfe,YIcy:eme,yicy:tme,Yopf:nme,yopf:sme,Yscr:ime,yscr:rme,YUcy:ome,yucy:ame,yuml:lme,Yuml:cme,Zacute:dme,zacute:ume,Zcaron:pme,zcaron:_me,Zcy:hme,zcy:fme,Zdot:mme,zdot:gme,zeetrf:bme,ZeroWidthSpace:Eme,Zeta:yme,zeta:vme,zfr:Sme,Zfr:Tme,ZHcy:xme,zhcy:Cme,zigrarr:wme,zopf:Rme,Zopf:Ame,Zscr:Nme,zscr:Ome,zwj:Mme,zwnj:Ime};var f2=kme,gE=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Va={},c0={};function Dme(n){var e,t,s=c0[n];if(s)return s;for(s=c0[n]=[],e=0;e<128;e++)t=String.fromCharCode(e),/^[0-9a-z]$/i.test(t)?s.push(t):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(t=!0),a=Dme(e),s=0,i=n.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&o<=57343)){c+=encodeURIComponent(n[s]+n[s+1]),s++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(n[s])}return c}Ju.defaultChars=";/?:@&=+$,-_.!~*'()#";Ju.componentChars="-_.!~*'()";var Lme=Ju,d0={};function Pme(n){var e,t,s=d0[n];if(s)return s;for(s=d0[n]=[],e=0;e<128;e++)t=String.fromCharCode(e),s.push(t);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),i+=6;continue}if((o&248)===240&&i+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),i+=9;continue}h+="�"}return h})}ep.defaultChars=";/?:@&=+$,#";ep.componentChars="";var Fme=ep,Ume=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t};function su(){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 Bme=/^([a-z0-9.+-]+:)/i,Gme=/:[0-9]*$/,Vme=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,zme=["<",">",'"',"`"," ","\r",` -`," "],Hme=["{","}","|","\\","^","`"].concat(zme),qme=["'"].concat(Hme),u0=["%","/","?",";","#"].concat(qme),p0=["/","?","#"],$me=255,_0=/^[+a-z0-9A-Z_-]{0,63}$/,Yme=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h0={javascript:!0,"javascript:":!0},f0={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Wme(n,e){if(n&&n instanceof su)return n;var t=new su;return t.parse(n,e),t}su.prototype.parse=function(n,e){var t,s,i,r,o,a=n;if(a=a.trim(),!e&&n.split("#").length===1){var c=Vme.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var d=Bme.exec(a);if(d&&(d=d[0],i=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=a.substr(0,2)==="//",o&&!(d&&h0[d])&&(a=a.substr(2),this.slashes=!0)),!h0[d]&&(o||d&&!f0[d])){var u=-1;for(t=0;t127?E+="x":E+=b[y];if(!E.match(_0)){var S=g.slice(0,t),R=g.slice(t+1),w=b.match(Yme);w&&(S.push(w[1]),R.unshift(w[2])),R.length&&(a=R.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>$me&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=a.indexOf("#");A!==-1&&(this.hash=a.substr(A),a=a.slice(0,A));var I=a.indexOf("?");return I!==-1&&(this.search=a.substr(I),a=a.slice(0,I)),a&&(this.pathname=a),f0[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};su.prototype.parseHost=function(n){var e=Gme.exec(n);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),n=n.substr(0,n.length-e.length)),n&&(this.hostname=n)};var Kme=Wme;Va.encode=Lme;Va.decode=Fme;Va.format=Ume;Va.parse=Kme;var Mr={},Qp,m0;function m2(){return m0||(m0=1,Qp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Qp}var Xp,g0;function g2(){return g0||(g0=1,Xp=/[\0-\x1F\x7F-\x9F]/),Xp}var Zp,b0;function jme(){return b0||(b0=1,Zp=/[\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]/),Zp}var Jp,E0;function b2(){return E0||(E0=1,Jp=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Jp}var y0;function Qme(){return y0||(y0=1,Mr.Any=m2(),Mr.Cc=g2(),Mr.Cf=jme(),Mr.P=gE,Mr.Z=b2()),Mr}(function(n){function e(k){return Object.prototype.toString.call(k)}function t(k){return e(k)==="[object String]"}var s=Object.prototype.hasOwnProperty;function i(k,$){return s.call(k,$)}function r(k){var $=Array.prototype.slice.call(arguments,1);return $.forEach(function(q){if(q){if(typeof q!="object")throw new TypeError(q+"must be object");Object.keys(q).forEach(function(F){k[F]=q[F]})}}),k}function o(k,$,q){return[].concat(k.slice(0,$),q,k.slice($+1))}function a(k){return!(k>=55296&&k<=57343||k>=64976&&k<=65007||(k&65535)===65535||(k&65535)===65534||k>=0&&k<=8||k===11||k>=14&&k<=31||k>=127&&k<=159||k>1114111)}function c(k){if(k>65535){k-=65536;var $=55296+(k>>10),q=56320+(k&1023);return String.fromCharCode($,q)}return String.fromCharCode(k)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(d.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,m=f2;function _(k,$){var q;return i(m,$)?m[$]:$.charCodeAt(0)===35&&f.test($)&&(q=$[1].toLowerCase()==="x"?parseInt($.slice(2),16):parseInt($.slice(1),10),a(q))?c(q):k}function g(k){return k.indexOf("\\")<0?k:k.replace(d,"$1")}function b(k){return k.indexOf("\\")<0&&k.indexOf("&")<0?k:k.replace(h,function($,q,F){return q||_($,F)})}var E=/[&<>"]/,y=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};function S(k){return v[k]}function R(k){return E.test(k)?k.replace(y,S):k}var w=/[.?*+^$[\]\\(){}|-]/g;function A(k){return k.replace(w,"\\$&")}function I(k){switch(k){case 9:case 32:return!0}return!1}function C(k){if(k>=8192&&k<=8202)return!0;switch(k){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 O=gE;function B(k){return O.test(k)}function H(k){switch(k){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 te(k){return k=k.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(k=k.replace(/ẞ/g,"ß")),k.toLowerCase().toUpperCase()}n.lib={},n.lib.mdurl=Va,n.lib.ucmicro=Qme(),n.assign=r,n.isString=t,n.has=i,n.unescapeMd=g,n.unescapeAll=b,n.isValidEntityCode=a,n.fromCodePoint=c,n.escapeHtml=R,n.arrayReplaceAt=o,n.isSpace=I,n.isWhiteSpace=C,n.isMdAsciiPunct=H,n.isPunctChar=B,n.escapeRE=A,n.normalizeReference=te})(Pt);var tp={},Xme=function(e,t,s){var i,r,o,a,c=-1,d=e.posMax,u=e.pos;for(e.pos=t+1,i=1;e.pos32))return a;if(i===41){if(r===0)break;r--}o++}return t===o||r!==0||(a.str=v0(e.slice(t,o)),a.pos=o,a.ok=!0),a},Jme=Pt.unescapeAll,ege=function(e,t,s){var i,r,o=0,a=t,c={ok:!1,pos:0,lines:0,str:""};if(a>=s||(r=e.charCodeAt(a),r!==34&&r!==39&&r!==40))return c;for(a++,r===40&&(r=41);a"+oo(r.content)+""};mi.code_block=function(n,e,t,s,i){var r=n[e];return""+oo(n[e].content)+` +*/(function(){var a=function(){function c(){}c.prototype=Object.create(null);function d(E,y){for(var v=y.length,S=0;S1?arguments[1]:void 0,y=E!==void 0,v=0,S=h(_),R,w,A,M;if(y&&(E=r(E,b>2?arguments[2]:void 0,2)),S!=null&&!(g==Array&&c(S)))for(M=S.call(_),w=new g;!(A=M.next()).done;v++)u(w,v,y?a(M,E,[A.value,v],!0):A.value);else for(R=d(_.length),w=new g(R);R>v;v++)u(w,v,y?E(_[v],v):_[v]);return w.length=v,w}},"./node_modules/core-js/internals/array-includes.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-indexed-object.js"),o=i("./node_modules/core-js/internals/to-length.js"),a=i("./node_modules/core-js/internals/to-absolute-index.js");t.exports=function(c){return function(d,u,h){var f=r(d),m=o(f.length),_=a(h,m),g;if(c&&u!=u){for(;m>_;)if(g=f[_++],g!=g)return!0}else for(;m>_;_++)if((c||_ in f)&&f[_]===u)return c||_||0;return!c&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(t,s,i){var r=i("./node_modules/core-js/internals/a-function.js");t.exports=function(o,a,c){if(r(o),a===void 0)return o;switch(c){case 0:return function(){return o.call(a)};case 1:return function(d){return o.call(a,d)};case 2:return function(d,u){return o.call(a,d,u)};case 3:return function(d,u,h){return o.call(a,d,u,h)}}return function(){return o.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(t,s,i){var r=i("./node_modules/core-js/internals/an-object.js");t.exports=function(o,a,c,d){try{return d?a(r(c)[0],c[1]):a(c)}catch(h){var u=o.return;throw u!==void 0&&r(u.call(o)),h}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(t,s,i){var r=i("./node_modules/core-js/internals/well-known-symbol.js"),o=r("iterator"),a=!1;try{var c=0,d={next:function(){return{done:!!c++}},return:function(){a=!0}};d[o]=function(){return this},Array.from(d,function(){throw 2})}catch{}t.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var m={};m[o]=function(){return{next:function(){return{done:f=!0}}}},u(m)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(t,s){var i={}.toString;t.exports=function(r){return i.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(t,s,i){var r=i("./node_modules/core-js/internals/classof-raw.js"),o=i("./node_modules/core-js/internals/well-known-symbol.js"),a=o("toStringTag"),c=r(function(){return arguments}())=="Arguments",d=function(u,h){try{return u[h]}catch{}};t.exports=function(u){var h,f,m;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(h=Object(u),a))=="string"?f:c?r(h):(m=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":m}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(t,s,i){var r=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/own-keys.js"),a=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),c=i("./node_modules/core-js/internals/object-define-property.js");t.exports=function(d,u){for(var h=o(u),f=c.f,m=a.f,_=0;_",R="java"+v+":",w;for(b.style.display="none",d.appendChild(b),b.src=String(R),w=b.contentWindow.document,w.open(),w.write(y+v+S+"document.F=Object"+y+"/"+v+S),w.close(),g=w.F;E--;)delete g[m][a[E]];return g()};t.exports=Object.create||function(E,y){var v;return E!==null?(_[m]=r(E),v=new _,_[m]=null,v[f]=E):v=g(),y===void 0?v:o(v,y)},c[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(t,s,i){var r=i("./node_modules/core-js/internals/descriptors.js"),o=i("./node_modules/core-js/internals/object-define-property.js"),a=i("./node_modules/core-js/internals/an-object.js"),c=i("./node_modules/core-js/internals/object-keys.js");t.exports=r?Object.defineProperties:function(u,h){a(u);for(var f=c(h),m=f.length,_=0,g;m>_;)o.f(u,g=f[_++],h[g]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(t,s,i){var r=i("./node_modules/core-js/internals/descriptors.js"),o=i("./node_modules/core-js/internals/ie8-dom-define.js"),a=i("./node_modules/core-js/internals/an-object.js"),c=i("./node_modules/core-js/internals/to-primitive.js"),d=Object.defineProperty;s.f=r?d:function(h,f,m){if(a(h),f=c(f,!0),a(m),o)try{return d(h,f,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[f]=m.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(t,s,i){var r=i("./node_modules/core-js/internals/descriptors.js"),o=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=i("./node_modules/core-js/internals/create-property-descriptor.js"),c=i("./node_modules/core-js/internals/to-indexed-object.js"),d=i("./node_modules/core-js/internals/to-primitive.js"),u=i("./node_modules/core-js/internals/has.js"),h=i("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(_,g){if(_=c(_),g=d(g,!0),h)try{return f(_,g)}catch{}if(u(_,g))return a(!o.f.call(_,g),_[g])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(t,s,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),o=i("./node_modules/core-js/internals/enum-bug-keys.js"),a=o.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return r(d,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(t,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(t,s,i){var r=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/to-object.js"),a=i("./node_modules/core-js/internals/shared-key.js"),c=i("./node_modules/core-js/internals/correct-prototype-getter.js"),d=a("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(h){return h=o(h),r(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(t,s,i){var r=i("./node_modules/core-js/internals/has.js"),o=i("./node_modules/core-js/internals/to-indexed-object.js"),a=i("./node_modules/core-js/internals/array-includes.js"),c=i("./node_modules/core-js/internals/hidden-keys.js"),d=a(!1);t.exports=function(u,h){var f=o(u),m=0,_=[],g;for(g in f)!r(c,g)&&r(f,g)&&_.push(g);for(;h.length>m;)r(f,g=h[m++])&&(~d(_,g)||_.push(g));return _}},"./node_modules/core-js/internals/object-keys.js":function(t,s,i){var r=i("./node_modules/core-js/internals/object-keys-internal.js"),o=i("./node_modules/core-js/internals/enum-bug-keys.js");t.exports=Object.keys||function(c){return r(c,o)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(t,s,i){var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);s.f=a?function(d){var u=o(this,d);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(t,s,i){var r=i("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var o=!1,a={},c;try{c=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,c.call(a,[]),o=a instanceof Array}catch{}return function(u,h){return r(u,h),o?c.call(u,h):u.__proto__=h,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/object-get-own-property-names.js"),a=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),c=i("./node_modules/core-js/internals/an-object.js"),d=r.Reflect;t.exports=d&&d.ownKeys||function(h){var f=o.f(c(h)),m=a.f;return m?f.concat(m(h)):f}},"./node_modules/core-js/internals/path.js":function(t,s,i){t.exports=i("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/hide.js"),c=i("./node_modules/core-js/internals/has.js"),d=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/function-to-string.js"),h=i("./node_modules/core-js/internals/internal-state.js"),f=h.get,m=h.enforce,_=String(u).split("toString");o("inspectSource",function(g){return u.call(g)}),(t.exports=function(g,b,E,y){var v=y?!!y.unsafe:!1,S=y?!!y.enumerable:!1,R=y?!!y.noTargetGet:!1;if(typeof E=="function"&&(typeof b=="string"&&!c(E,"name")&&a(E,"name",b),m(E).source=_.join(typeof b=="string"?b:"")),g===r){S?g[b]=E:d(b,E);return}else v?!R&&g[b]&&(S=!0):delete g[b];S?g[b]=E:a(g,b,E)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(t,s){t.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/hide.js");t.exports=function(a,c){try{o(r,a,c)}catch{r[a]=c}return c}},"./node_modules/core-js/internals/set-to-string-tag.js":function(t,s,i){var r=i("./node_modules/core-js/internals/object-define-property.js").f,o=i("./node_modules/core-js/internals/has.js"),a=i("./node_modules/core-js/internals/well-known-symbol.js"),c=a("toStringTag");t.exports=function(d,u,h){d&&!o(d=h?d:d.prototype,c)&&r(d,c,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(t,s,i){var r=i("./node_modules/core-js/internals/shared.js"),o=i("./node_modules/core-js/internals/uid.js"),a=r("keys");t.exports=function(c){return a[c]||(a[c]=o(c))}},"./node_modules/core-js/internals/shared.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/set-global.js"),a=i("./node_modules/core-js/internals/is-pure.js"),c="__core-js_shared__",d=r[c]||o(c,{});(t.exports=function(u,h){return d[u]||(d[u]=h!==void 0?h:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-integer.js"),o=i("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(a,c,d){var u=String(o(a)),h=r(c),f=u.length,m,_;return h<0||h>=f?d?"":void 0:(m=u.charCodeAt(h),m<55296||m>56319||h+1===f||(_=u.charCodeAt(h+1))<56320||_>57343?d?u.charAt(h):m:d?u.slice(h,h+2):(m-55296<<10)+(_-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-integer.js"),o=Math.max,a=Math.min;t.exports=function(c,d){var u=r(c);return u<0?o(u+d,0):a(u,d)}},"./node_modules/core-js/internals/to-indexed-object.js":function(t,s,i){var r=i("./node_modules/core-js/internals/indexed-object.js"),o=i("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(a){return r(o(a))}},"./node_modules/core-js/internals/to-integer.js":function(t,s){var i=Math.ceil,r=Math.floor;t.exports=function(o){return isNaN(o=+o)?0:(o>0?r:i)(o)}},"./node_modules/core-js/internals/to-length.js":function(t,s,i){var r=i("./node_modules/core-js/internals/to-integer.js"),o=Math.min;t.exports=function(a){return a>0?o(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(t,s,i){var r=i("./node_modules/core-js/internals/require-object-coercible.js");t.exports=function(o){return Object(r(o))}},"./node_modules/core-js/internals/to-primitive.js":function(t,s,i){var r=i("./node_modules/core-js/internals/is-object.js");t.exports=function(o,a){if(!r(o))return o;var c,d;if(a&&typeof(c=o.toString)=="function"&&!r(d=c.call(o))||typeof(c=o.valueOf)=="function"&&!r(d=c.call(o))||!a&&typeof(c=o.toString)=="function"&&!r(d=c.call(o)))return d;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(t,s){var i=0,r=Math.random();t.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++i+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(t,s,i){var r=i("./node_modules/core-js/internals/is-object.js"),o=i("./node_modules/core-js/internals/an-object.js");t.exports=function(a,c){if(o(a),!r(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(t,s,i){var r=i("./node_modules/core-js/internals/global.js"),o=i("./node_modules/core-js/internals/shared.js"),a=i("./node_modules/core-js/internals/uid.js"),c=i("./node_modules/core-js/internals/native-symbol.js"),d=r.Symbol,u=o("wks");t.exports=function(h){return u[h]||(u[h]=c&&d[h]||(c?d:a)("Symbol."+h))}},"./node_modules/core-js/modules/es.array.from.js":function(t,s,i){var r=i("./node_modules/core-js/internals/export.js"),o=i("./node_modules/core-js/internals/array-from.js"),a=i("./node_modules/core-js/internals/check-correctness-of-iteration.js"),c=!a(function(d){Array.from(d)});r({target:"Array",stat:!0,forced:c},{from:o})},"./node_modules/core-js/modules/es.string.iterator.js":function(t,s,i){var r=i("./node_modules/core-js/internals/string-at.js"),o=i("./node_modules/core-js/internals/internal-state.js"),a=i("./node_modules/core-js/internals/define-iterator.js"),c="String Iterator",d=o.set,u=o.getterFor(c);a(String,"String",function(h){d(this,{type:c,string:String(h),index:0})},function(){var f=u(this),m=f.string,_=f.index,g;return _>=m.length?{value:void 0,done:!0}:(g=r(m,_,!0),f.index+=g.length,{value:g,done:!1})})},"./node_modules/webpack/buildin/global.js":function(t,s){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(i=window)}t.exports=i},"./src/default-attrs.json":function(t){t.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(g){for(var b=1;b2&&arguments[2]!==void 0?arguments[2]:[];f(this,g),this.name=b,this.contents=E,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+b})}return o(g,[{key:"toSvg",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,E,{class:(0,c.default)(this.attrs.class,E.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),g}();function _(g){return Object.keys(g).map(function(b){return b+'="'+g[b]+'"'}).join(" ")}s.default=m},"./src/icons.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=i("./src/icon.js"),o=h(r),a=i("./dist/icons.json"),c=h(a),d=i("./src/tags.json"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(c.default).map(function(f){return new o.default(f,c.default[f],u.default[f])}).reduce(function(f,m){return f[m.name]=m,f},{})},"./src/index.js":function(t,s,i){var r=i("./src/icons.js"),o=h(r),a=i("./src/to-svg.js"),c=h(a),d=i("./src/replace.js"),u=h(d);function h(f){return f&&f.__esModule?f:{default:f}}t.exports={icons:o.default,toSvg:c.default,replace:u.default}},"./src/replace.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(_){for(var g=1;g0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var g=document.querySelectorAll("[data-feather]");Array.from(g).forEach(function(b){return f(b,_)})}function f(_){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=m(_),E=b["data-feather"];delete b["data-feather"];var y=d.default[E].toSvg(r({},g,b,{class:(0,a.default)(g.class,b.class)})),v=new DOMParser().parseFromString(y,"image/svg+xml"),S=v.querySelector("svg");_.parentNode.replaceChild(S,_)}function m(_){return Array.from(_.attributes).reduce(function(g,b){return g[b.name]=b.value,g},{})}s.default=h},"./src/tags.json":function(t){t.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-buoy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(t,s,i){Object.defineProperty(s,"__esModule",{value:!0});var r=i("./src/icons.js"),o=a(r);function a(d){return d&&d.__esModule?d:{default:d}}function c(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!d)throw new Error("The required `key` (icon name) parameter is missing.");if(!o.default[d])throw new Error("No icon matching '"+d+"'. See the complete list of icons at https://feathericons.com");return o.default[d].toSvg(u)}s.default=c},0:function(t,s,i){i("./node_modules/core-js/es/array/from.js"),t.exports=i("./src/index.js")}})})})(h2);var UF=h2.exports;const ze=Tr(UF);const ot=(n,e)=>{const t=n.__vccOpts||n;for(const[s,i]of e)t[s]=i;return t},BF={name:"Toast",props:{},data(){return{show:!1,log_type:1,message:"",toastArr:[]}},methods:{close(n){this.toastArr=this.toastArr.filter(e=>e.id!=n)},copyToClipBoard(n){navigator.clipboard.writeText(n),Le(()=>{ze.replace()})},showToast(n,e=3,t=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),i={id:s,log_type:t,message:n,show:!0};this.toastArr.push(i),Le(()=>{ze.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Ns=n=>(Rs("data-v-46f379e5"),n=n(),As(),n),GF={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},VF={class:"flex flex-row items-center w-full p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},zF={class:"flex flex-row flex-grow items-center h-auto"},HF={key:0,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"},qF=Ns(()=>l("i",{"data-feather":"x"},null,-1)),$F=Ns(()=>l("span",{class:"sr-only"},"Cross icon",-1)),YF=[qF,$F],WF={key:1,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"},KF=Ns(()=>l("i",{"data-feather":"check"},null,-1)),jF=Ns(()=>l("span",{class:"sr-only"},"Check icon",-1)),QF=[KF,jF],XF={key:2,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-blue-500 bg-blue-100 rounded-lg dark:bg-blue-800 dark:text-blue-200"},ZF=Ns(()=>l("i",{"data-feather":"info"},null,-1)),JF=Ns(()=>l("span",{class:"sr-only"},null,-1)),e3=[ZF,JF],t3={key:3,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-800 dark:text-orange-200"},n3=Ns(()=>l("i",{"data-feather":"alert-triangle"},null,-1)),s3=Ns(()=>l("span",{class:"sr-only"},null,-1)),i3=[n3,s3],r3=["title"],o3={class:"flex"},a3=["onClick"],l3=Ns(()=>l("span",{class:"sr-only"},"Copy message",-1)),c3=Ns(()=>l("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),d3=[l3,c3],u3=["onClick"],p3=Ns(()=>l("span",{class:"sr-only"},"Close",-1)),_3=Ns(()=>l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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)),h3=[p3,_3];function f3(n,e,t,s,i,r){return T(),C("div",GF,[V(di,{name:"toastItem",tag:"div"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(i.toastArr,o=>(T(),C("div",{key:o.id,class:"relative"},[l("div",VF,[l("div",zF,[o.log_type==0?(T(),C("div",HF,YF)):G("",!0),o.log_type==1?(T(),C("div",WF,QF)):G("",!0),o.log_type==2?(T(),C("div",XF,e3)):G("",!0),o.log_type==3?(T(),C("div",t3,i3)):G("",!0),l("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3 max-w-xs max-h-[400px] overflow-auto break-words",title:o.message},K(o.message),9,r3)]),l("div",o3,[l("button",{type:"button",onClick:j(a=>r.copyToClipBoard(o.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"},d3,8,a3),l("button",{type:"button",onClick:a=>r.close(o.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"},h3,8,u3)])])]))),128))]),_:1})])}const dc=ot(BF,[["render",f3],["__scopeId","data-v-46f379e5"]]);var Pt={};const m3="Á",g3="á",b3="Ă",E3="ă",y3="∾",v3="∿",S3="∾̳",T3="Â",x3="â",C3="´",w3="А",R3="а",A3="Æ",N3="æ",O3="⁡",I3="𝔄",M3="𝔞",k3="À",D3="à",L3="ℵ",P3="ℵ",F3="Α",U3="α",B3="Ā",G3="ā",V3="⨿",z3="&",H3="&",q3="⩕",$3="⩓",Y3="∧",W3="⩜",K3="⩘",j3="⩚",Q3="∠",X3="⦤",Z3="∠",J3="⦨",eU="⦩",tU="⦪",nU="⦫",sU="⦬",iU="⦭",rU="⦮",oU="⦯",aU="∡",lU="∟",cU="⊾",dU="⦝",uU="∢",pU="Å",_U="⍼",hU="Ą",fU="ą",mU="𝔸",gU="𝕒",bU="⩯",EU="≈",yU="⩰",vU="≊",SU="≋",TU="'",xU="⁡",CU="≈",wU="≊",RU="Å",AU="å",NU="𝒜",OU="𝒶",IU="≔",MU="*",kU="≈",DU="≍",LU="Ã",PU="ã",FU="Ä",UU="ä",BU="∳",GU="⨑",VU="≌",zU="϶",HU="‵",qU="∽",$U="⋍",YU="∖",WU="⫧",KU="⊽",jU="⌅",QU="⌆",XU="⌅",ZU="⎵",JU="⎶",e4="≌",t4="Б",n4="б",s4="„",i4="∵",r4="∵",o4="∵",a4="⦰",l4="϶",c4="ℬ",d4="ℬ",u4="Β",p4="β",_4="ℶ",h4="≬",f4="𝔅",m4="𝔟",g4="⋂",b4="◯",E4="⋃",y4="⨀",v4="⨁",S4="⨂",T4="⨆",x4="★",C4="▽",w4="△",R4="⨄",A4="⋁",N4="⋀",O4="⤍",I4="⧫",M4="▪",k4="▴",D4="▾",L4="◂",P4="▸",F4="␣",U4="▒",B4="░",G4="▓",V4="█",z4="=⃥",H4="≡⃥",q4="⫭",$4="⌐",Y4="𝔹",W4="𝕓",K4="⊥",j4="⊥",Q4="⋈",X4="⧉",Z4="┐",J4="╕",eB="╖",tB="╗",nB="┌",sB="╒",iB="╓",rB="╔",oB="─",aB="═",lB="┬",cB="╤",dB="╥",uB="╦",pB="┴",_B="╧",hB="╨",fB="╩",mB="⊟",gB="⊞",bB="⊠",EB="┘",yB="╛",vB="╜",SB="╝",TB="└",xB="╘",CB="╙",wB="╚",RB="│",AB="║",NB="┼",OB="╪",IB="╫",MB="╬",kB="┤",DB="╡",LB="╢",PB="╣",FB="├",UB="╞",BB="╟",GB="╠",VB="‵",zB="˘",HB="˘",qB="¦",$B="𝒷",YB="ℬ",WB="⁏",KB="∽",jB="⋍",QB="⧅",XB="\\",ZB="⟈",JB="•",e5="•",t5="≎",n5="⪮",s5="≏",i5="≎",r5="≏",o5="Ć",a5="ć",l5="⩄",c5="⩉",d5="⩋",u5="∩",p5="⋒",_5="⩇",h5="⩀",f5="ⅅ",m5="∩︀",g5="⁁",b5="ˇ",E5="ℭ",y5="⩍",v5="Č",S5="č",T5="Ç",x5="ç",C5="Ĉ",w5="ĉ",R5="∰",A5="⩌",N5="⩐",O5="Ċ",I5="ċ",M5="¸",k5="¸",D5="⦲",L5="¢",P5="·",F5="·",U5="𝔠",B5="ℭ",G5="Ч",V5="ч",z5="✓",H5="✓",q5="Χ",$5="χ",Y5="ˆ",W5="≗",K5="↺",j5="↻",Q5="⊛",X5="⊚",Z5="⊝",J5="⊙",e6="®",t6="Ⓢ",n6="⊖",s6="⊕",i6="⊗",r6="○",o6="⧃",a6="≗",l6="⨐",c6="⫯",d6="⧂",u6="∲",p6="”",_6="’",h6="♣",f6="♣",m6=":",g6="∷",b6="⩴",E6="≔",y6="≔",v6=",",S6="@",T6="∁",x6="∘",C6="∁",w6="ℂ",R6="≅",A6="⩭",N6="≡",O6="∮",I6="∯",M6="∮",k6="𝕔",D6="ℂ",L6="∐",P6="∐",F6="©",U6="©",B6="℗",G6="∳",V6="↵",z6="✗",H6="⨯",q6="𝒞",$6="𝒸",Y6="⫏",W6="⫑",K6="⫐",j6="⫒",Q6="⋯",X6="⤸",Z6="⤵",J6="⋞",eG="⋟",tG="↶",nG="⤽",sG="⩈",iG="⩆",rG="≍",oG="∪",aG="⋓",lG="⩊",cG="⊍",dG="⩅",uG="∪︀",pG="↷",_G="⤼",hG="⋞",fG="⋟",mG="⋎",gG="⋏",bG="¤",EG="↶",yG="↷",vG="⋎",SG="⋏",TG="∲",xG="∱",CG="⌭",wG="†",RG="‡",AG="ℸ",NG="↓",OG="↡",IG="⇓",MG="‐",kG="⫤",DG="⊣",LG="⤏",PG="˝",FG="Ď",UG="ď",BG="Д",GG="д",VG="‡",zG="⇊",HG="ⅅ",qG="ⅆ",$G="⤑",YG="⩷",WG="°",KG="∇",jG="Δ",QG="δ",XG="⦱",ZG="⥿",JG="𝔇",e9="𝔡",t9="⥥",n9="⇃",s9="⇂",i9="´",r9="˙",o9="˝",a9="`",l9="˜",c9="⋄",d9="⋄",u9="⋄",p9="♦",_9="♦",h9="¨",f9="ⅆ",m9="ϝ",g9="⋲",b9="÷",E9="÷",y9="⋇",v9="⋇",S9="Ђ",T9="ђ",x9="⌞",C9="⌍",w9="$",R9="𝔻",A9="𝕕",N9="¨",O9="˙",I9="⃜",M9="≐",k9="≑",D9="≐",L9="∸",P9="∔",F9="⊡",U9="⌆",B9="∯",G9="¨",V9="⇓",z9="⇐",H9="⇔",q9="⫤",$9="⟸",Y9="⟺",W9="⟹",K9="⇒",j9="⊨",Q9="⇑",X9="⇕",Z9="∥",J9="⤓",e8="↓",t8="↓",n8="⇓",s8="⇵",i8="̑",r8="⇊",o8="⇃",a8="⇂",l8="⥐",c8="⥞",d8="⥖",u8="↽",p8="⥟",_8="⥗",h8="⇁",f8="↧",m8="⊤",g8="⤐",b8="⌟",E8="⌌",y8="𝒟",v8="𝒹",S8="Ѕ",T8="ѕ",x8="⧶",C8="Đ",w8="đ",R8="⋱",A8="▿",N8="▾",O8="⇵",I8="⥯",M8="⦦",k8="Џ",D8="џ",L8="⟿",P8="É",F8="é",U8="⩮",B8="Ě",G8="ě",V8="Ê",z8="ê",H8="≖",q8="≕",$8="Э",Y8="э",W8="⩷",K8="Ė",j8="ė",Q8="≑",X8="ⅇ",Z8="≒",J8="𝔈",eV="𝔢",tV="⪚",nV="È",sV="è",iV="⪖",rV="⪘",oV="⪙",aV="∈",lV="⏧",cV="ℓ",dV="⪕",uV="⪗",pV="Ē",_V="ē",hV="∅",fV="∅",mV="◻",gV="∅",bV="▫",EV=" ",yV=" ",vV=" ",SV="Ŋ",TV="ŋ",xV=" ",CV="Ę",wV="ę",RV="𝔼",AV="𝕖",NV="⋕",OV="⧣",IV="⩱",MV="ε",kV="Ε",DV="ε",LV="ϵ",PV="≖",FV="≕",UV="≂",BV="⪖",GV="⪕",VV="⩵",zV="=",HV="≂",qV="≟",$V="⇌",YV="≡",WV="⩸",KV="⧥",jV="⥱",QV="≓",XV="ℯ",ZV="ℰ",JV="≐",ez="⩳",tz="≂",nz="Η",sz="η",iz="Ð",rz="ð",oz="Ë",az="ë",lz="€",cz="!",dz="∃",uz="∃",pz="ℰ",_z="ⅇ",hz="ⅇ",fz="≒",mz="Ф",gz="ф",bz="♀",Ez="ffi",yz="ff",vz="ffl",Sz="𝔉",Tz="𝔣",xz="fi",Cz="◼",wz="▪",Rz="fj",Az="♭",Nz="fl",Oz="▱",Iz="ƒ",Mz="𝔽",kz="𝕗",Dz="∀",Lz="∀",Pz="⋔",Fz="⫙",Uz="ℱ",Bz="⨍",Gz="½",Vz="⅓",zz="¼",Hz="⅕",qz="⅙",$z="⅛",Yz="⅔",Wz="⅖",Kz="¾",jz="⅗",Qz="⅜",Xz="⅘",Zz="⅚",Jz="⅝",eH="⅞",tH="⁄",nH="⌢",sH="𝒻",iH="ℱ",rH="ǵ",oH="Γ",aH="γ",lH="Ϝ",cH="ϝ",dH="⪆",uH="Ğ",pH="ğ",_H="Ģ",hH="Ĝ",fH="ĝ",mH="Г",gH="г",bH="Ġ",EH="ġ",yH="≥",vH="≧",SH="⪌",TH="⋛",xH="≥",CH="≧",wH="⩾",RH="⪩",AH="⩾",NH="⪀",OH="⪂",IH="⪄",MH="⋛︀",kH="⪔",DH="𝔊",LH="𝔤",PH="≫",FH="⋙",UH="⋙",BH="ℷ",GH="Ѓ",VH="ѓ",zH="⪥",HH="≷",qH="⪒",$H="⪤",YH="⪊",WH="⪊",KH="⪈",jH="≩",QH="⪈",XH="≩",ZH="⋧",JH="𝔾",e7="𝕘",t7="`",n7="≥",s7="⋛",i7="≧",r7="⪢",o7="≷",a7="⩾",l7="≳",c7="𝒢",d7="ℊ",u7="≳",p7="⪎",_7="⪐",h7="⪧",f7="⩺",m7=">",g7=">",b7="≫",E7="⋗",y7="⦕",v7="⩼",S7="⪆",T7="⥸",x7="⋗",C7="⋛",w7="⪌",R7="≷",A7="≳",N7="≩︀",O7="≩︀",I7="ˇ",M7=" ",k7="½",D7="ℋ",L7="Ъ",P7="ъ",F7="⥈",U7="↔",B7="⇔",G7="↭",V7="^",z7="ℏ",H7="Ĥ",q7="ĥ",$7="♥",Y7="♥",W7="…",K7="⊹",j7="𝔥",Q7="ℌ",X7="ℋ",Z7="⤥",J7="⤦",eq="⇿",tq="∻",nq="↩",sq="↪",iq="𝕙",rq="ℍ",oq="―",aq="─",lq="𝒽",cq="ℋ",dq="ℏ",uq="Ħ",pq="ħ",_q="≎",hq="≏",fq="⁃",mq="‐",gq="Í",bq="í",Eq="⁣",yq="Î",vq="î",Sq="И",Tq="и",xq="İ",Cq="Е",wq="е",Rq="¡",Aq="⇔",Nq="𝔦",Oq="ℑ",Iq="Ì",Mq="ì",kq="ⅈ",Dq="⨌",Lq="∭",Pq="⧜",Fq="℩",Uq="IJ",Bq="ij",Gq="Ī",Vq="ī",zq="ℑ",Hq="ⅈ",qq="ℐ",$q="ℑ",Yq="ı",Wq="ℑ",Kq="⊷",jq="Ƶ",Qq="⇒",Xq="℅",Zq="∞",Jq="⧝",e$="ı",t$="⊺",n$="∫",s$="∬",i$="ℤ",r$="∫",o$="⊺",a$="⋂",l$="⨗",c$="⨼",d$="⁣",u$="⁢",p$="Ё",_$="ё",h$="Į",f$="į",m$="𝕀",g$="𝕚",b$="Ι",E$="ι",y$="⨼",v$="¿",S$="𝒾",T$="ℐ",x$="∈",C$="⋵",w$="⋹",R$="⋴",A$="⋳",N$="∈",O$="⁢",I$="Ĩ",M$="ĩ",k$="І",D$="і",L$="Ï",P$="ï",F$="Ĵ",U$="ĵ",B$="Й",G$="й",V$="𝔍",z$="𝔧",H$="ȷ",q$="𝕁",$$="𝕛",Y$="𝒥",W$="𝒿",K$="Ј",j$="ј",Q$="Є",X$="є",Z$="Κ",J$="κ",eY="ϰ",tY="Ķ",nY="ķ",sY="К",iY="к",rY="𝔎",oY="𝔨",aY="ĸ",lY="Х",cY="х",dY="Ќ",uY="ќ",pY="𝕂",_Y="𝕜",hY="𝒦",fY="𝓀",mY="⇚",gY="Ĺ",bY="ĺ",EY="⦴",yY="ℒ",vY="Λ",SY="λ",TY="⟨",xY="⟪",CY="⦑",wY="⟨",RY="⪅",AY="ℒ",NY="«",OY="⇤",IY="⤟",MY="←",kY="↞",DY="⇐",LY="⤝",PY="↩",FY="↫",UY="⤹",BY="⥳",GY="↢",VY="⤙",zY="⤛",HY="⪫",qY="⪭",$Y="⪭︀",YY="⤌",WY="⤎",KY="❲",jY="{",QY="[",XY="⦋",ZY="⦏",JY="⦍",eW="Ľ",tW="ľ",nW="Ļ",sW="ļ",iW="⌈",rW="{",oW="Л",aW="л",lW="⤶",cW="“",dW="„",uW="⥧",pW="⥋",_W="↲",hW="≤",fW="≦",mW="⟨",gW="⇤",bW="←",EW="←",yW="⇐",vW="⇆",SW="↢",TW="⌈",xW="⟦",CW="⥡",wW="⥙",RW="⇃",AW="⌊",NW="↽",OW="↼",IW="⇇",MW="↔",kW="↔",DW="⇔",LW="⇆",PW="⇋",FW="↭",UW="⥎",BW="↤",GW="⊣",VW="⥚",zW="⋋",HW="⧏",qW="⊲",$W="⊴",YW="⥑",WW="⥠",KW="⥘",jW="↿",QW="⥒",XW="↼",ZW="⪋",JW="⋚",eK="≤",tK="≦",nK="⩽",sK="⪨",iK="⩽",rK="⩿",oK="⪁",aK="⪃",lK="⋚︀",cK="⪓",dK="⪅",uK="⋖",pK="⋚",_K="⪋",hK="⋚",fK="≦",mK="≶",gK="≶",bK="⪡",EK="≲",yK="⩽",vK="≲",SK="⥼",TK="⌊",xK="𝔏",CK="𝔩",wK="≶",RK="⪑",AK="⥢",NK="↽",OK="↼",IK="⥪",MK="▄",kK="Љ",DK="љ",LK="⇇",PK="≪",FK="⋘",UK="⌞",BK="⇚",GK="⥫",VK="◺",zK="Ŀ",HK="ŀ",qK="⎰",$K="⎰",YK="⪉",WK="⪉",KK="⪇",jK="≨",QK="⪇",XK="≨",ZK="⋦",JK="⟬",ej="⇽",tj="⟦",nj="⟵",sj="⟵",ij="⟸",rj="⟷",oj="⟷",aj="⟺",lj="⟼",cj="⟶",dj="⟶",uj="⟹",pj="↫",_j="↬",hj="⦅",fj="𝕃",mj="𝕝",gj="⨭",bj="⨴",Ej="∗",yj="_",vj="↙",Sj="↘",Tj="◊",xj="◊",Cj="⧫",wj="(",Rj="⦓",Aj="⇆",Nj="⌟",Oj="⇋",Ij="⥭",Mj="‎",kj="⊿",Dj="‹",Lj="𝓁",Pj="ℒ",Fj="↰",Uj="↰",Bj="≲",Gj="⪍",Vj="⪏",zj="[",Hj="‘",qj="‚",$j="Ł",Yj="ł",Wj="⪦",Kj="⩹",jj="<",Qj="<",Xj="≪",Zj="⋖",Jj="⋋",eQ="⋉",tQ="⥶",nQ="⩻",sQ="◃",iQ="⊴",rQ="◂",oQ="⦖",aQ="⥊",lQ="⥦",cQ="≨︀",dQ="≨︀",uQ="¯",pQ="♂",_Q="✠",hQ="✠",fQ="↦",mQ="↦",gQ="↧",bQ="↤",EQ="↥",yQ="▮",vQ="⨩",SQ="М",TQ="м",xQ="—",CQ="∺",wQ="∡",RQ=" ",AQ="ℳ",NQ="𝔐",OQ="𝔪",IQ="℧",MQ="µ",kQ="*",DQ="⫰",LQ="∣",PQ="·",FQ="⊟",UQ="−",BQ="∸",GQ="⨪",VQ="∓",zQ="⫛",HQ="…",qQ="∓",$Q="⊧",YQ="𝕄",WQ="𝕞",KQ="∓",jQ="𝓂",QQ="ℳ",XQ="∾",ZQ="Μ",JQ="μ",eX="⊸",tX="⊸",nX="∇",sX="Ń",iX="ń",rX="∠⃒",oX="≉",aX="⩰̸",lX="≋̸",cX="ʼn",dX="≉",uX="♮",pX="ℕ",_X="♮",hX=" ",fX="≎̸",mX="≏̸",gX="⩃",bX="Ň",EX="ň",yX="Ņ",vX="ņ",SX="≇",TX="⩭̸",xX="⩂",CX="Н",wX="н",RX="–",AX="⤤",NX="↗",OX="⇗",IX="↗",MX="≠",kX="≐̸",DX="​",LX="​",PX="​",FX="​",UX="≢",BX="⤨",GX="≂̸",VX="≫",zX="≪",HX=` +`,qX="∄",$X="∄",YX="𝔑",WX="𝔫",KX="≧̸",jX="≱",QX="≱",XX="≧̸",ZX="⩾̸",JX="⩾̸",eZ="⋙̸",tZ="≵",nZ="≫⃒",sZ="≯",iZ="≯",rZ="≫̸",oZ="↮",aZ="⇎",lZ="⫲",cZ="∋",dZ="⋼",uZ="⋺",pZ="∋",_Z="Њ",hZ="њ",fZ="↚",mZ="⇍",gZ="‥",bZ="≦̸",EZ="≰",yZ="↚",vZ="⇍",SZ="↮",TZ="⇎",xZ="≰",CZ="≦̸",wZ="⩽̸",RZ="⩽̸",AZ="≮",NZ="⋘̸",OZ="≴",IZ="≪⃒",MZ="≮",kZ="⋪",DZ="⋬",LZ="≪̸",PZ="∤",FZ="⁠",UZ=" ",BZ="𝕟",GZ="ℕ",VZ="⫬",zZ="¬",HZ="≢",qZ="≭",$Z="∦",YZ="∉",WZ="≠",KZ="≂̸",jZ="∄",QZ="≯",XZ="≱",ZZ="≧̸",JZ="≫̸",eJ="≹",tJ="⩾̸",nJ="≵",sJ="≎̸",iJ="≏̸",rJ="∉",oJ="⋵̸",aJ="⋹̸",lJ="∉",cJ="⋷",dJ="⋶",uJ="⧏̸",pJ="⋪",_J="⋬",hJ="≮",fJ="≰",mJ="≸",gJ="≪̸",bJ="⩽̸",EJ="≴",yJ="⪢̸",vJ="⪡̸",SJ="∌",TJ="∌",xJ="⋾",CJ="⋽",wJ="⊀",RJ="⪯̸",AJ="⋠",NJ="∌",OJ="⧐̸",IJ="⋫",MJ="⋭",kJ="⊏̸",DJ="⋢",LJ="⊐̸",PJ="⋣",FJ="⊂⃒",UJ="⊈",BJ="⊁",GJ="⪰̸",VJ="⋡",zJ="≿̸",HJ="⊃⃒",qJ="⊉",$J="≁",YJ="≄",WJ="≇",KJ="≉",jJ="∤",QJ="∦",XJ="∦",ZJ="⫽⃥",JJ="∂̸",eee="⨔",tee="⊀",nee="⋠",see="⊀",iee="⪯̸",ree="⪯̸",oee="⤳̸",aee="↛",lee="⇏",cee="↝̸",dee="↛",uee="⇏",pee="⋫",_ee="⋭",hee="⊁",fee="⋡",mee="⪰̸",gee="𝒩",bee="𝓃",Eee="∤",yee="∦",vee="≁",See="≄",Tee="≄",xee="∤",Cee="∦",wee="⋢",Ree="⋣",Aee="⊄",Nee="⫅̸",Oee="⊈",Iee="⊂⃒",Mee="⊈",kee="⫅̸",Dee="⊁",Lee="⪰̸",Pee="⊅",Fee="⫆̸",Uee="⊉",Bee="⊃⃒",Gee="⊉",Vee="⫆̸",zee="≹",Hee="Ñ",qee="ñ",$ee="≸",Yee="⋪",Wee="⋬",Kee="⋫",jee="⋭",Qee="Ν",Xee="ν",Zee="#",Jee="№",ete=" ",tte="≍⃒",nte="⊬",ste="⊭",ite="⊮",rte="⊯",ote="≥⃒",ate=">⃒",lte="⤄",cte="⧞",dte="⤂",ute="≤⃒",pte="<⃒",_te="⊴⃒",hte="⤃",fte="⊵⃒",mte="∼⃒",gte="⤣",bte="↖",Ete="⇖",yte="↖",vte="⤧",Ste="Ó",Tte="ó",xte="⊛",Cte="Ô",wte="ô",Rte="⊚",Ate="О",Nte="о",Ote="⊝",Ite="Ő",Mte="ő",kte="⨸",Dte="⊙",Lte="⦼",Pte="Œ",Fte="œ",Ute="⦿",Bte="𝔒",Gte="𝔬",Vte="˛",zte="Ò",Hte="ò",qte="⧁",$te="⦵",Yte="Ω",Wte="∮",Kte="↺",jte="⦾",Qte="⦻",Xte="‾",Zte="⧀",Jte="Ō",ene="ō",tne="Ω",nne="ω",sne="Ο",ine="ο",rne="⦶",one="⊖",ane="𝕆",lne="𝕠",cne="⦷",dne="“",une="‘",pne="⦹",_ne="⊕",hne="↻",fne="⩔",mne="∨",gne="⩝",bne="ℴ",Ene="ℴ",yne="ª",vne="º",Sne="⊶",Tne="⩖",xne="⩗",Cne="⩛",wne="Ⓢ",Rne="𝒪",Ane="ℴ",Nne="Ø",One="ø",Ine="⊘",Mne="Õ",kne="õ",Dne="⨶",Lne="⨷",Pne="⊗",Fne="Ö",Une="ö",Bne="⌽",Gne="‾",Vne="⏞",zne="⎴",Hne="⏜",qne="¶",$ne="∥",Yne="∥",Wne="⫳",Kne="⫽",jne="∂",Qne="∂",Xne="П",Zne="п",Jne="%",ese=".",tse="‰",nse="⊥",sse="‱",ise="𝔓",rse="𝔭",ose="Φ",ase="φ",lse="ϕ",cse="ℳ",dse="☎",use="Π",pse="π",_se="⋔",hse="ϖ",fse="ℏ",mse="ℎ",gse="ℏ",bse="⨣",Ese="⊞",yse="⨢",vse="+",Sse="∔",Tse="⨥",xse="⩲",Cse="±",wse="±",Rse="⨦",Ase="⨧",Nse="±",Ose="ℌ",Ise="⨕",Mse="𝕡",kse="ℙ",Dse="£",Lse="⪷",Pse="⪻",Fse="≺",Use="≼",Bse="⪷",Gse="≺",Vse="≼",zse="≺",Hse="⪯",qse="≼",$se="≾",Yse="⪯",Wse="⪹",Kse="⪵",jse="⋨",Qse="⪯",Xse="⪳",Zse="≾",Jse="′",eie="″",tie="ℙ",nie="⪹",sie="⪵",iie="⋨",rie="∏",oie="∏",aie="⌮",lie="⌒",cie="⌓",die="∝",uie="∝",pie="∷",_ie="∝",hie="≾",fie="⊰",mie="𝒫",gie="𝓅",bie="Ψ",Eie="ψ",yie=" ",vie="𝔔",Sie="𝔮",Tie="⨌",xie="𝕢",Cie="ℚ",wie="⁗",Rie="𝒬",Aie="𝓆",Nie="ℍ",Oie="⨖",Iie="?",Mie="≟",kie='"',Die='"',Lie="⇛",Pie="∽̱",Fie="Ŕ",Uie="ŕ",Bie="√",Gie="⦳",Vie="⟩",zie="⟫",Hie="⦒",qie="⦥",$ie="⟩",Yie="»",Wie="⥵",Kie="⇥",jie="⤠",Qie="⤳",Xie="→",Zie="↠",Jie="⇒",ere="⤞",tre="↪",nre="↬",sre="⥅",ire="⥴",rre="⤖",ore="↣",are="↝",lre="⤚",cre="⤜",dre="∶",ure="ℚ",pre="⤍",_re="⤏",hre="⤐",fre="❳",mre="}",gre="]",bre="⦌",Ere="⦎",yre="⦐",vre="Ř",Sre="ř",Tre="Ŗ",xre="ŗ",Cre="⌉",wre="}",Rre="Р",Are="р",Nre="⤷",Ore="⥩",Ire="”",Mre="”",kre="↳",Dre="ℜ",Lre="ℛ",Pre="ℜ",Fre="ℝ",Ure="ℜ",Bre="▭",Gre="®",Vre="®",zre="∋",Hre="⇋",qre="⥯",$re="⥽",Yre="⌋",Wre="𝔯",Kre="ℜ",jre="⥤",Qre="⇁",Xre="⇀",Zre="⥬",Jre="Ρ",eoe="ρ",toe="ϱ",noe="⟩",soe="⇥",ioe="→",roe="→",ooe="⇒",aoe="⇄",loe="↣",coe="⌉",doe="⟧",uoe="⥝",poe="⥕",_oe="⇂",hoe="⌋",foe="⇁",moe="⇀",goe="⇄",boe="⇌",Eoe="⇉",yoe="↝",voe="↦",Soe="⊢",Toe="⥛",xoe="⋌",Coe="⧐",woe="⊳",Roe="⊵",Aoe="⥏",Noe="⥜",Ooe="⥔",Ioe="↾",Moe="⥓",koe="⇀",Doe="˚",Loe="≓",Poe="⇄",Foe="⇌",Uoe="‏",Boe="⎱",Goe="⎱",Voe="⫮",zoe="⟭",Hoe="⇾",qoe="⟧",$oe="⦆",Yoe="𝕣",Woe="ℝ",Koe="⨮",joe="⨵",Qoe="⥰",Xoe=")",Zoe="⦔",Joe="⨒",eae="⇉",tae="⇛",nae="›",sae="𝓇",iae="ℛ",rae="↱",oae="↱",aae="]",lae="’",cae="’",dae="⋌",uae="⋊",pae="▹",_ae="⊵",hae="▸",fae="⧎",mae="⧴",gae="⥨",bae="℞",Eae="Ś",yae="ś",vae="‚",Sae="⪸",Tae="Š",xae="š",Cae="⪼",wae="≻",Rae="≽",Aae="⪰",Nae="⪴",Oae="Ş",Iae="ş",Mae="Ŝ",kae="ŝ",Dae="⪺",Lae="⪶",Pae="⋩",Fae="⨓",Uae="≿",Bae="С",Gae="с",Vae="⊡",zae="⋅",Hae="⩦",qae="⤥",$ae="↘",Yae="⇘",Wae="↘",Kae="§",jae=";",Qae="⤩",Xae="∖",Zae="∖",Jae="✶",ele="𝔖",tle="𝔰",nle="⌢",sle="♯",ile="Щ",rle="щ",ole="Ш",ale="ш",lle="↓",cle="←",dle="∣",ule="∥",ple="→",_le="↑",hle="­",fle="Σ",mle="σ",gle="ς",ble="ς",Ele="∼",yle="⩪",vle="≃",Sle="≃",Tle="⪞",xle="⪠",Cle="⪝",wle="⪟",Rle="≆",Ale="⨤",Nle="⥲",Ole="←",Ile="∘",Mle="∖",kle="⨳",Dle="⧤",Lle="∣",Ple="⌣",Fle="⪪",Ule="⪬",Ble="⪬︀",Gle="Ь",Vle="ь",zle="⌿",Hle="⧄",qle="/",$le="𝕊",Yle="𝕤",Wle="♠",Kle="♠",jle="∥",Qle="⊓",Xle="⊓︀",Zle="⊔",Jle="⊔︀",ece="√",tce="⊏",nce="⊑",sce="⊏",ice="⊑",rce="⊐",oce="⊒",ace="⊐",lce="⊒",cce="□",dce="□",uce="⊓",pce="⊏",_ce="⊑",hce="⊐",fce="⊒",mce="⊔",gce="▪",bce="□",Ece="▪",yce="→",vce="𝒮",Sce="𝓈",Tce="∖",xce="⌣",Cce="⋆",wce="⋆",Rce="☆",Ace="★",Nce="ϵ",Oce="ϕ",Ice="¯",Mce="⊂",kce="⋐",Dce="⪽",Lce="⫅",Pce="⊆",Fce="⫃",Uce="⫁",Bce="⫋",Gce="⊊",Vce="⪿",zce="⥹",Hce="⊂",qce="⋐",$ce="⊆",Yce="⫅",Wce="⊆",Kce="⊊",jce="⫋",Qce="⫇",Xce="⫕",Zce="⫓",Jce="⪸",ede="≻",tde="≽",nde="≻",sde="⪰",ide="≽",rde="≿",ode="⪰",ade="⪺",lde="⪶",cde="⋩",dde="≿",ude="∋",pde="∑",_de="∑",hde="♪",fde="¹",mde="²",gde="³",bde="⊃",Ede="⋑",yde="⪾",vde="⫘",Sde="⫆",Tde="⊇",xde="⫄",Cde="⊃",wde="⊇",Rde="⟉",Ade="⫗",Nde="⥻",Ode="⫂",Ide="⫌",Mde="⊋",kde="⫀",Dde="⊃",Lde="⋑",Pde="⊇",Fde="⫆",Ude="⊋",Bde="⫌",Gde="⫈",Vde="⫔",zde="⫖",Hde="⤦",qde="↙",$de="⇙",Yde="↙",Wde="⤪",Kde="ß",jde=" ",Qde="⌖",Xde="Τ",Zde="τ",Jde="⎴",eue="Ť",tue="ť",nue="Ţ",sue="ţ",iue="Т",rue="т",oue="⃛",aue="⌕",lue="𝔗",cue="𝔱",due="∴",uue="∴",pue="∴",_ue="Θ",hue="θ",fue="ϑ",mue="ϑ",gue="≈",bue="∼",Eue="  ",yue=" ",vue=" ",Sue="≈",Tue="∼",xue="Þ",Cue="þ",wue="˜",Rue="∼",Aue="≃",Nue="≅",Oue="≈",Iue="⨱",Mue="⊠",kue="×",Due="⨰",Lue="∭",Pue="⤨",Fue="⌶",Uue="⫱",Bue="⊤",Gue="𝕋",Vue="𝕥",zue="⫚",Hue="⤩",que="‴",$ue="™",Yue="™",Wue="▵",Kue="▿",jue="◃",Que="⊴",Xue="≜",Zue="▹",Jue="⊵",epe="◬",tpe="≜",npe="⨺",spe="⃛",ipe="⨹",rpe="⧍",ope="⨻",ape="⏢",lpe="𝒯",cpe="𝓉",dpe="Ц",upe="ц",ppe="Ћ",_pe="ћ",hpe="Ŧ",fpe="ŧ",mpe="≬",gpe="↞",bpe="↠",Epe="Ú",ype="ú",vpe="↑",Spe="↟",Tpe="⇑",xpe="⥉",Cpe="Ў",wpe="ў",Rpe="Ŭ",Ape="ŭ",Npe="Û",Ope="û",Ipe="У",Mpe="у",kpe="⇅",Dpe="Ű",Lpe="ű",Ppe="⥮",Fpe="⥾",Upe="𝔘",Bpe="𝔲",Gpe="Ù",Vpe="ù",zpe="⥣",Hpe="↿",qpe="↾",$pe="▀",Ype="⌜",Wpe="⌜",Kpe="⌏",jpe="◸",Qpe="Ū",Xpe="ū",Zpe="¨",Jpe="_",e_e="⏟",t_e="⎵",n_e="⏝",s_e="⋃",i_e="⊎",r_e="Ų",o_e="ų",a_e="𝕌",l_e="𝕦",c_e="⤒",d_e="↑",u_e="↑",p_e="⇑",__e="⇅",h_e="↕",f_e="↕",m_e="⇕",g_e="⥮",b_e="↿",E_e="↾",y_e="⊎",v_e="↖",S_e="↗",T_e="υ",x_e="ϒ",C_e="ϒ",w_e="Υ",R_e="υ",A_e="↥",N_e="⊥",O_e="⇈",I_e="⌝",M_e="⌝",k_e="⌎",D_e="Ů",L_e="ů",P_e="◹",F_e="𝒰",U_e="𝓊",B_e="⋰",G_e="Ũ",V_e="ũ",z_e="▵",H_e="▴",q_e="⇈",$_e="Ü",Y_e="ü",W_e="⦧",K_e="⦜",j_e="ϵ",Q_e="ϰ",X_e="∅",Z_e="ϕ",J_e="ϖ",ehe="∝",the="↕",nhe="⇕",she="ϱ",ihe="ς",rhe="⊊︀",ohe="⫋︀",ahe="⊋︀",lhe="⫌︀",che="ϑ",dhe="⊲",uhe="⊳",phe="⫨",_he="⫫",hhe="⫩",fhe="В",mhe="в",ghe="⊢",bhe="⊨",Ehe="⊩",yhe="⊫",vhe="⫦",She="⊻",The="∨",xhe="⋁",Che="≚",whe="⋮",Rhe="|",Ahe="‖",Nhe="|",Ohe="‖",Ihe="∣",Mhe="|",khe="❘",Dhe="≀",Lhe=" ",Phe="𝔙",Fhe="𝔳",Uhe="⊲",Bhe="⊂⃒",Ghe="⊃⃒",Vhe="𝕍",zhe="𝕧",Hhe="∝",qhe="⊳",$he="𝒱",Yhe="𝓋",Whe="⫋︀",Khe="⊊︀",jhe="⫌︀",Qhe="⊋︀",Xhe="⊪",Zhe="⦚",Jhe="Ŵ",efe="ŵ",tfe="⩟",nfe="∧",sfe="⋀",ife="≙",rfe="℘",ofe="𝔚",afe="𝔴",lfe="𝕎",cfe="𝕨",dfe="℘",ufe="≀",pfe="≀",_fe="𝒲",hfe="𝓌",ffe="⋂",mfe="◯",gfe="⋃",bfe="▽",Efe="𝔛",yfe="𝔵",vfe="⟷",Sfe="⟺",Tfe="Ξ",xfe="ξ",Cfe="⟵",wfe="⟸",Rfe="⟼",Afe="⋻",Nfe="⨀",Ofe="𝕏",Ife="𝕩",Mfe="⨁",kfe="⨂",Dfe="⟶",Lfe="⟹",Pfe="𝒳",Ffe="𝓍",Ufe="⨆",Bfe="⨄",Gfe="△",Vfe="⋁",zfe="⋀",Hfe="Ý",qfe="ý",$fe="Я",Yfe="я",Wfe="Ŷ",Kfe="ŷ",jfe="Ы",Qfe="ы",Xfe="¥",Zfe="𝔜",Jfe="𝔶",eme="Ї",tme="ї",nme="𝕐",sme="𝕪",ime="𝒴",rme="𝓎",ome="Ю",ame="ю",lme="ÿ",cme="Ÿ",dme="Ź",ume="ź",pme="Ž",_me="ž",hme="З",fme="з",mme="Ż",gme="ż",bme="ℨ",Eme="​",yme="Ζ",vme="ζ",Sme="𝔷",Tme="ℨ",xme="Ж",Cme="ж",wme="⇝",Rme="𝕫",Ame="ℤ",Nme="𝒵",Ome="𝓏",Ime="‍",Mme="‌",kme={Aacute:m3,aacute:g3,Abreve:b3,abreve:E3,ac:y3,acd:v3,acE:S3,Acirc:T3,acirc:x3,acute:C3,Acy:w3,acy:R3,AElig:A3,aelig:N3,af:O3,Afr:I3,afr:M3,Agrave:k3,agrave:D3,alefsym:L3,aleph:P3,Alpha:F3,alpha:U3,Amacr:B3,amacr:G3,amalg:V3,amp:z3,AMP:H3,andand:q3,And:$3,and:Y3,andd:W3,andslope:K3,andv:j3,ang:Q3,ange:X3,angle:Z3,angmsdaa:J3,angmsdab:eU,angmsdac:tU,angmsdad:nU,angmsdae:sU,angmsdaf:iU,angmsdag:rU,angmsdah:oU,angmsd:aU,angrt:lU,angrtvb:cU,angrtvbd:dU,angsph:uU,angst:pU,angzarr:_U,Aogon:hU,aogon:fU,Aopf:mU,aopf:gU,apacir:bU,ap:EU,apE:yU,ape:vU,apid:SU,apos:TU,ApplyFunction:xU,approx:CU,approxeq:wU,Aring:RU,aring:AU,Ascr:NU,ascr:OU,Assign:IU,ast:MU,asymp:kU,asympeq:DU,Atilde:LU,atilde:PU,Auml:FU,auml:UU,awconint:BU,awint:GU,backcong:VU,backepsilon:zU,backprime:HU,backsim:qU,backsimeq:$U,Backslash:YU,Barv:WU,barvee:KU,barwed:jU,Barwed:QU,barwedge:XU,bbrk:ZU,bbrktbrk:JU,bcong:e4,Bcy:t4,bcy:n4,bdquo:s4,becaus:i4,because:r4,Because:o4,bemptyv:a4,bepsi:l4,bernou:c4,Bernoullis:d4,Beta:u4,beta:p4,beth:_4,between:h4,Bfr:f4,bfr:m4,bigcap:g4,bigcirc:b4,bigcup:E4,bigodot:y4,bigoplus:v4,bigotimes:S4,bigsqcup:T4,bigstar:x4,bigtriangledown:C4,bigtriangleup:w4,biguplus:R4,bigvee:A4,bigwedge:N4,bkarow:O4,blacklozenge:I4,blacksquare:M4,blacktriangle:k4,blacktriangledown:D4,blacktriangleleft:L4,blacktriangleright:P4,blank:F4,blk12:U4,blk14:B4,blk34:G4,block:V4,bne:z4,bnequiv:H4,bNot:q4,bnot:$4,Bopf:Y4,bopf:W4,bot:K4,bottom:j4,bowtie:Q4,boxbox:X4,boxdl:Z4,boxdL:J4,boxDl:eB,boxDL:tB,boxdr:nB,boxdR:sB,boxDr:iB,boxDR:rB,boxh:oB,boxH:aB,boxhd:lB,boxHd:cB,boxhD:dB,boxHD:uB,boxhu:pB,boxHu:_B,boxhU:hB,boxHU:fB,boxminus:mB,boxplus:gB,boxtimes:bB,boxul:EB,boxuL:yB,boxUl:vB,boxUL:SB,boxur:TB,boxuR:xB,boxUr:CB,boxUR:wB,boxv:RB,boxV:AB,boxvh:NB,boxvH:OB,boxVh:IB,boxVH:MB,boxvl:kB,boxvL:DB,boxVl:LB,boxVL:PB,boxvr:FB,boxvR:UB,boxVr:BB,boxVR:GB,bprime:VB,breve:zB,Breve:HB,brvbar:qB,bscr:$B,Bscr:YB,bsemi:WB,bsim:KB,bsime:jB,bsolb:QB,bsol:XB,bsolhsub:ZB,bull:JB,bullet:e5,bump:t5,bumpE:n5,bumpe:s5,Bumpeq:i5,bumpeq:r5,Cacute:o5,cacute:a5,capand:l5,capbrcup:c5,capcap:d5,cap:u5,Cap:p5,capcup:_5,capdot:h5,CapitalDifferentialD:f5,caps:m5,caret:g5,caron:b5,Cayleys:E5,ccaps:y5,Ccaron:v5,ccaron:S5,Ccedil:T5,ccedil:x5,Ccirc:C5,ccirc:w5,Cconint:R5,ccups:A5,ccupssm:N5,Cdot:O5,cdot:I5,cedil:M5,Cedilla:k5,cemptyv:D5,cent:L5,centerdot:P5,CenterDot:F5,cfr:U5,Cfr:B5,CHcy:G5,chcy:V5,check:z5,checkmark:H5,Chi:q5,chi:$5,circ:Y5,circeq:W5,circlearrowleft:K5,circlearrowright:j5,circledast:Q5,circledcirc:X5,circleddash:Z5,CircleDot:J5,circledR:e6,circledS:t6,CircleMinus:n6,CirclePlus:s6,CircleTimes:i6,cir:r6,cirE:o6,cire:a6,cirfnint:l6,cirmid:c6,cirscir:d6,ClockwiseContourIntegral:u6,CloseCurlyDoubleQuote:p6,CloseCurlyQuote:_6,clubs:h6,clubsuit:f6,colon:m6,Colon:g6,Colone:b6,colone:E6,coloneq:y6,comma:v6,commat:S6,comp:T6,compfn:x6,complement:C6,complexes:w6,cong:R6,congdot:A6,Congruent:N6,conint:O6,Conint:I6,ContourIntegral:M6,copf:k6,Copf:D6,coprod:L6,Coproduct:P6,copy:F6,COPY:U6,copysr:B6,CounterClockwiseContourIntegral:G6,crarr:V6,cross:z6,Cross:H6,Cscr:q6,cscr:$6,csub:Y6,csube:W6,csup:K6,csupe:j6,ctdot:Q6,cudarrl:X6,cudarrr:Z6,cuepr:J6,cuesc:eG,cularr:tG,cularrp:nG,cupbrcap:sG,cupcap:iG,CupCap:rG,cup:oG,Cup:aG,cupcup:lG,cupdot:cG,cupor:dG,cups:uG,curarr:pG,curarrm:_G,curlyeqprec:hG,curlyeqsucc:fG,curlyvee:mG,curlywedge:gG,curren:bG,curvearrowleft:EG,curvearrowright:yG,cuvee:vG,cuwed:SG,cwconint:TG,cwint:xG,cylcty:CG,dagger:wG,Dagger:RG,daleth:AG,darr:NG,Darr:OG,dArr:IG,dash:MG,Dashv:kG,dashv:DG,dbkarow:LG,dblac:PG,Dcaron:FG,dcaron:UG,Dcy:BG,dcy:GG,ddagger:VG,ddarr:zG,DD:HG,dd:qG,DDotrahd:$G,ddotseq:YG,deg:WG,Del:KG,Delta:jG,delta:QG,demptyv:XG,dfisht:ZG,Dfr:JG,dfr:e9,dHar:t9,dharl:n9,dharr:s9,DiacriticalAcute:i9,DiacriticalDot:r9,DiacriticalDoubleAcute:o9,DiacriticalGrave:a9,DiacriticalTilde:l9,diam:c9,diamond:d9,Diamond:u9,diamondsuit:p9,diams:_9,die:h9,DifferentialD:f9,digamma:m9,disin:g9,div:b9,divide:E9,divideontimes:y9,divonx:v9,DJcy:S9,djcy:T9,dlcorn:x9,dlcrop:C9,dollar:w9,Dopf:R9,dopf:A9,Dot:N9,dot:O9,DotDot:I9,doteq:M9,doteqdot:k9,DotEqual:D9,dotminus:L9,dotplus:P9,dotsquare:F9,doublebarwedge:U9,DoubleContourIntegral:B9,DoubleDot:G9,DoubleDownArrow:V9,DoubleLeftArrow:z9,DoubleLeftRightArrow:H9,DoubleLeftTee:q9,DoubleLongLeftArrow:$9,DoubleLongLeftRightArrow:Y9,DoubleLongRightArrow:W9,DoubleRightArrow:K9,DoubleRightTee:j9,DoubleUpArrow:Q9,DoubleUpDownArrow:X9,DoubleVerticalBar:Z9,DownArrowBar:J9,downarrow:e8,DownArrow:t8,Downarrow:n8,DownArrowUpArrow:s8,DownBreve:i8,downdownarrows:r8,downharpoonleft:o8,downharpoonright:a8,DownLeftRightVector:l8,DownLeftTeeVector:c8,DownLeftVectorBar:d8,DownLeftVector:u8,DownRightTeeVector:p8,DownRightVectorBar:_8,DownRightVector:h8,DownTeeArrow:f8,DownTee:m8,drbkarow:g8,drcorn:b8,drcrop:E8,Dscr:y8,dscr:v8,DScy:S8,dscy:T8,dsol:x8,Dstrok:C8,dstrok:w8,dtdot:R8,dtri:A8,dtrif:N8,duarr:O8,duhar:I8,dwangle:M8,DZcy:k8,dzcy:D8,dzigrarr:L8,Eacute:P8,eacute:F8,easter:U8,Ecaron:B8,ecaron:G8,Ecirc:V8,ecirc:z8,ecir:H8,ecolon:q8,Ecy:$8,ecy:Y8,eDDot:W8,Edot:K8,edot:j8,eDot:Q8,ee:X8,efDot:Z8,Efr:J8,efr:eV,eg:tV,Egrave:nV,egrave:sV,egs:iV,egsdot:rV,el:oV,Element:aV,elinters:lV,ell:cV,els:dV,elsdot:uV,Emacr:pV,emacr:_V,empty:hV,emptyset:fV,EmptySmallSquare:mV,emptyv:gV,EmptyVerySmallSquare:bV,emsp13:EV,emsp14:yV,emsp:vV,ENG:SV,eng:TV,ensp:xV,Eogon:CV,eogon:wV,Eopf:RV,eopf:AV,epar:NV,eparsl:OV,eplus:IV,epsi:MV,Epsilon:kV,epsilon:DV,epsiv:LV,eqcirc:PV,eqcolon:FV,eqsim:UV,eqslantgtr:BV,eqslantless:GV,Equal:VV,equals:zV,EqualTilde:HV,equest:qV,Equilibrium:$V,equiv:YV,equivDD:WV,eqvparsl:KV,erarr:jV,erDot:QV,escr:XV,Escr:ZV,esdot:JV,Esim:ez,esim:tz,Eta:nz,eta:sz,ETH:iz,eth:rz,Euml:oz,euml:az,euro:lz,excl:cz,exist:dz,Exists:uz,expectation:pz,exponentiale:_z,ExponentialE:hz,fallingdotseq:fz,Fcy:mz,fcy:gz,female:bz,ffilig:Ez,fflig:yz,ffllig:vz,Ffr:Sz,ffr:Tz,filig:xz,FilledSmallSquare:Cz,FilledVerySmallSquare:wz,fjlig:Rz,flat:Az,fllig:Nz,fltns:Oz,fnof:Iz,Fopf:Mz,fopf:kz,forall:Dz,ForAll:Lz,fork:Pz,forkv:Fz,Fouriertrf:Uz,fpartint:Bz,frac12:Gz,frac13:Vz,frac14:zz,frac15:Hz,frac16:qz,frac18:$z,frac23:Yz,frac25:Wz,frac34:Kz,frac35:jz,frac38:Qz,frac45:Xz,frac56:Zz,frac58:Jz,frac78:eH,frasl:tH,frown:nH,fscr:sH,Fscr:iH,gacute:rH,Gamma:oH,gamma:aH,Gammad:lH,gammad:cH,gap:dH,Gbreve:uH,gbreve:pH,Gcedil:_H,Gcirc:hH,gcirc:fH,Gcy:mH,gcy:gH,Gdot:bH,gdot:EH,ge:yH,gE:vH,gEl:SH,gel:TH,geq:xH,geqq:CH,geqslant:wH,gescc:RH,ges:AH,gesdot:NH,gesdoto:OH,gesdotol:IH,gesl:MH,gesles:kH,Gfr:DH,gfr:LH,gg:PH,Gg:FH,ggg:UH,gimel:BH,GJcy:GH,gjcy:VH,gla:zH,gl:HH,glE:qH,glj:$H,gnap:YH,gnapprox:WH,gne:KH,gnE:jH,gneq:QH,gneqq:XH,gnsim:ZH,Gopf:JH,gopf:e7,grave:t7,GreaterEqual:n7,GreaterEqualLess:s7,GreaterFullEqual:i7,GreaterGreater:r7,GreaterLess:o7,GreaterSlantEqual:a7,GreaterTilde:l7,Gscr:c7,gscr:d7,gsim:u7,gsime:p7,gsiml:_7,gtcc:h7,gtcir:f7,gt:m7,GT:g7,Gt:b7,gtdot:E7,gtlPar:y7,gtquest:v7,gtrapprox:S7,gtrarr:T7,gtrdot:x7,gtreqless:C7,gtreqqless:w7,gtrless:R7,gtrsim:A7,gvertneqq:N7,gvnE:O7,Hacek:I7,hairsp:M7,half:k7,hamilt:D7,HARDcy:L7,hardcy:P7,harrcir:F7,harr:U7,hArr:B7,harrw:G7,Hat:V7,hbar:z7,Hcirc:H7,hcirc:q7,hearts:$7,heartsuit:Y7,hellip:W7,hercon:K7,hfr:j7,Hfr:Q7,HilbertSpace:X7,hksearow:Z7,hkswarow:J7,hoarr:eq,homtht:tq,hookleftarrow:nq,hookrightarrow:sq,hopf:iq,Hopf:rq,horbar:oq,HorizontalLine:aq,hscr:lq,Hscr:cq,hslash:dq,Hstrok:uq,hstrok:pq,HumpDownHump:_q,HumpEqual:hq,hybull:fq,hyphen:mq,Iacute:gq,iacute:bq,ic:Eq,Icirc:yq,icirc:vq,Icy:Sq,icy:Tq,Idot:xq,IEcy:Cq,iecy:wq,iexcl:Rq,iff:Aq,ifr:Nq,Ifr:Oq,Igrave:Iq,igrave:Mq,ii:kq,iiiint:Dq,iiint:Lq,iinfin:Pq,iiota:Fq,IJlig:Uq,ijlig:Bq,Imacr:Gq,imacr:Vq,image:zq,ImaginaryI:Hq,imagline:qq,imagpart:$q,imath:Yq,Im:Wq,imof:Kq,imped:jq,Implies:Qq,incare:Xq,in:"∈",infin:Zq,infintie:Jq,inodot:e$,intcal:t$,int:n$,Int:s$,integers:i$,Integral:r$,intercal:o$,Intersection:a$,intlarhk:l$,intprod:c$,InvisibleComma:d$,InvisibleTimes:u$,IOcy:p$,iocy:_$,Iogon:h$,iogon:f$,Iopf:m$,iopf:g$,Iota:b$,iota:E$,iprod:y$,iquest:v$,iscr:S$,Iscr:T$,isin:x$,isindot:C$,isinE:w$,isins:R$,isinsv:A$,isinv:N$,it:O$,Itilde:I$,itilde:M$,Iukcy:k$,iukcy:D$,Iuml:L$,iuml:P$,Jcirc:F$,jcirc:U$,Jcy:B$,jcy:G$,Jfr:V$,jfr:z$,jmath:H$,Jopf:q$,jopf:$$,Jscr:Y$,jscr:W$,Jsercy:K$,jsercy:j$,Jukcy:Q$,jukcy:X$,Kappa:Z$,kappa:J$,kappav:eY,Kcedil:tY,kcedil:nY,Kcy:sY,kcy:iY,Kfr:rY,kfr:oY,kgreen:aY,KHcy:lY,khcy:cY,KJcy:dY,kjcy:uY,Kopf:pY,kopf:_Y,Kscr:hY,kscr:fY,lAarr:mY,Lacute:gY,lacute:bY,laemptyv:EY,lagran:yY,Lambda:vY,lambda:SY,lang:TY,Lang:xY,langd:CY,langle:wY,lap:RY,Laplacetrf:AY,laquo:NY,larrb:OY,larrbfs:IY,larr:MY,Larr:kY,lArr:DY,larrfs:LY,larrhk:PY,larrlp:FY,larrpl:UY,larrsim:BY,larrtl:GY,latail:VY,lAtail:zY,lat:HY,late:qY,lates:$Y,lbarr:YY,lBarr:WY,lbbrk:KY,lbrace:jY,lbrack:QY,lbrke:XY,lbrksld:ZY,lbrkslu:JY,Lcaron:eW,lcaron:tW,Lcedil:nW,lcedil:sW,lceil:iW,lcub:rW,Lcy:oW,lcy:aW,ldca:lW,ldquo:cW,ldquor:dW,ldrdhar:uW,ldrushar:pW,ldsh:_W,le:hW,lE:fW,LeftAngleBracket:mW,LeftArrowBar:gW,leftarrow:bW,LeftArrow:EW,Leftarrow:yW,LeftArrowRightArrow:vW,leftarrowtail:SW,LeftCeiling:TW,LeftDoubleBracket:xW,LeftDownTeeVector:CW,LeftDownVectorBar:wW,LeftDownVector:RW,LeftFloor:AW,leftharpoondown:NW,leftharpoonup:OW,leftleftarrows:IW,leftrightarrow:MW,LeftRightArrow:kW,Leftrightarrow:DW,leftrightarrows:LW,leftrightharpoons:PW,leftrightsquigarrow:FW,LeftRightVector:UW,LeftTeeArrow:BW,LeftTee:GW,LeftTeeVector:VW,leftthreetimes:zW,LeftTriangleBar:HW,LeftTriangle:qW,LeftTriangleEqual:$W,LeftUpDownVector:YW,LeftUpTeeVector:WW,LeftUpVectorBar:KW,LeftUpVector:jW,LeftVectorBar:QW,LeftVector:XW,lEg:ZW,leg:JW,leq:eK,leqq:tK,leqslant:nK,lescc:sK,les:iK,lesdot:rK,lesdoto:oK,lesdotor:aK,lesg:lK,lesges:cK,lessapprox:dK,lessdot:uK,lesseqgtr:pK,lesseqqgtr:_K,LessEqualGreater:hK,LessFullEqual:fK,LessGreater:mK,lessgtr:gK,LessLess:bK,lesssim:EK,LessSlantEqual:yK,LessTilde:vK,lfisht:SK,lfloor:TK,Lfr:xK,lfr:CK,lg:wK,lgE:RK,lHar:AK,lhard:NK,lharu:OK,lharul:IK,lhblk:MK,LJcy:kK,ljcy:DK,llarr:LK,ll:PK,Ll:FK,llcorner:UK,Lleftarrow:BK,llhard:GK,lltri:VK,Lmidot:zK,lmidot:HK,lmoustache:qK,lmoust:$K,lnap:YK,lnapprox:WK,lne:KK,lnE:jK,lneq:QK,lneqq:XK,lnsim:ZK,loang:JK,loarr:ej,lobrk:tj,longleftarrow:nj,LongLeftArrow:sj,Longleftarrow:ij,longleftrightarrow:rj,LongLeftRightArrow:oj,Longleftrightarrow:aj,longmapsto:lj,longrightarrow:cj,LongRightArrow:dj,Longrightarrow:uj,looparrowleft:pj,looparrowright:_j,lopar:hj,Lopf:fj,lopf:mj,loplus:gj,lotimes:bj,lowast:Ej,lowbar:yj,LowerLeftArrow:vj,LowerRightArrow:Sj,loz:Tj,lozenge:xj,lozf:Cj,lpar:wj,lparlt:Rj,lrarr:Aj,lrcorner:Nj,lrhar:Oj,lrhard:Ij,lrm:Mj,lrtri:kj,lsaquo:Dj,lscr:Lj,Lscr:Pj,lsh:Fj,Lsh:Uj,lsim:Bj,lsime:Gj,lsimg:Vj,lsqb:zj,lsquo:Hj,lsquor:qj,Lstrok:$j,lstrok:Yj,ltcc:Wj,ltcir:Kj,lt:jj,LT:Qj,Lt:Xj,ltdot:Zj,lthree:Jj,ltimes:eQ,ltlarr:tQ,ltquest:nQ,ltri:sQ,ltrie:iQ,ltrif:rQ,ltrPar:oQ,lurdshar:aQ,luruhar:lQ,lvertneqq:cQ,lvnE:dQ,macr:uQ,male:pQ,malt:_Q,maltese:hQ,Map:"⤅",map:fQ,mapsto:mQ,mapstodown:gQ,mapstoleft:bQ,mapstoup:EQ,marker:yQ,mcomma:vQ,Mcy:SQ,mcy:TQ,mdash:xQ,mDDot:CQ,measuredangle:wQ,MediumSpace:RQ,Mellintrf:AQ,Mfr:NQ,mfr:OQ,mho:IQ,micro:MQ,midast:kQ,midcir:DQ,mid:LQ,middot:PQ,minusb:FQ,minus:UQ,minusd:BQ,minusdu:GQ,MinusPlus:VQ,mlcp:zQ,mldr:HQ,mnplus:qQ,models:$Q,Mopf:YQ,mopf:WQ,mp:KQ,mscr:jQ,Mscr:QQ,mstpos:XQ,Mu:ZQ,mu:JQ,multimap:eX,mumap:tX,nabla:nX,Nacute:sX,nacute:iX,nang:rX,nap:oX,napE:aX,napid:lX,napos:cX,napprox:dX,natural:uX,naturals:pX,natur:_X,nbsp:hX,nbump:fX,nbumpe:mX,ncap:gX,Ncaron:bX,ncaron:EX,Ncedil:yX,ncedil:vX,ncong:SX,ncongdot:TX,ncup:xX,Ncy:CX,ncy:wX,ndash:RX,nearhk:AX,nearr:NX,neArr:OX,nearrow:IX,ne:MX,nedot:kX,NegativeMediumSpace:DX,NegativeThickSpace:LX,NegativeThinSpace:PX,NegativeVeryThinSpace:FX,nequiv:UX,nesear:BX,nesim:GX,NestedGreaterGreater:VX,NestedLessLess:zX,NewLine:HX,nexist:qX,nexists:$X,Nfr:YX,nfr:WX,ngE:KX,nge:jX,ngeq:QX,ngeqq:XX,ngeqslant:ZX,nges:JX,nGg:eZ,ngsim:tZ,nGt:nZ,ngt:sZ,ngtr:iZ,nGtv:rZ,nharr:oZ,nhArr:aZ,nhpar:lZ,ni:cZ,nis:dZ,nisd:uZ,niv:pZ,NJcy:_Z,njcy:hZ,nlarr:fZ,nlArr:mZ,nldr:gZ,nlE:bZ,nle:EZ,nleftarrow:yZ,nLeftarrow:vZ,nleftrightarrow:SZ,nLeftrightarrow:TZ,nleq:xZ,nleqq:CZ,nleqslant:wZ,nles:RZ,nless:AZ,nLl:NZ,nlsim:OZ,nLt:IZ,nlt:MZ,nltri:kZ,nltrie:DZ,nLtv:LZ,nmid:PZ,NoBreak:FZ,NonBreakingSpace:UZ,nopf:BZ,Nopf:GZ,Not:VZ,not:zZ,NotCongruent:HZ,NotCupCap:qZ,NotDoubleVerticalBar:$Z,NotElement:YZ,NotEqual:WZ,NotEqualTilde:KZ,NotExists:jZ,NotGreater:QZ,NotGreaterEqual:XZ,NotGreaterFullEqual:ZZ,NotGreaterGreater:JZ,NotGreaterLess:eJ,NotGreaterSlantEqual:tJ,NotGreaterTilde:nJ,NotHumpDownHump:sJ,NotHumpEqual:iJ,notin:rJ,notindot:oJ,notinE:aJ,notinva:lJ,notinvb:cJ,notinvc:dJ,NotLeftTriangleBar:uJ,NotLeftTriangle:pJ,NotLeftTriangleEqual:_J,NotLess:hJ,NotLessEqual:fJ,NotLessGreater:mJ,NotLessLess:gJ,NotLessSlantEqual:bJ,NotLessTilde:EJ,NotNestedGreaterGreater:yJ,NotNestedLessLess:vJ,notni:SJ,notniva:TJ,notnivb:xJ,notnivc:CJ,NotPrecedes:wJ,NotPrecedesEqual:RJ,NotPrecedesSlantEqual:AJ,NotReverseElement:NJ,NotRightTriangleBar:OJ,NotRightTriangle:IJ,NotRightTriangleEqual:MJ,NotSquareSubset:kJ,NotSquareSubsetEqual:DJ,NotSquareSuperset:LJ,NotSquareSupersetEqual:PJ,NotSubset:FJ,NotSubsetEqual:UJ,NotSucceeds:BJ,NotSucceedsEqual:GJ,NotSucceedsSlantEqual:VJ,NotSucceedsTilde:zJ,NotSuperset:HJ,NotSupersetEqual:qJ,NotTilde:$J,NotTildeEqual:YJ,NotTildeFullEqual:WJ,NotTildeTilde:KJ,NotVerticalBar:jJ,nparallel:QJ,npar:XJ,nparsl:ZJ,npart:JJ,npolint:eee,npr:tee,nprcue:nee,nprec:see,npreceq:iee,npre:ree,nrarrc:oee,nrarr:aee,nrArr:lee,nrarrw:cee,nrightarrow:dee,nRightarrow:uee,nrtri:pee,nrtrie:_ee,nsc:hee,nsccue:fee,nsce:mee,Nscr:gee,nscr:bee,nshortmid:Eee,nshortparallel:yee,nsim:vee,nsime:See,nsimeq:Tee,nsmid:xee,nspar:Cee,nsqsube:wee,nsqsupe:Ree,nsub:Aee,nsubE:Nee,nsube:Oee,nsubset:Iee,nsubseteq:Mee,nsubseteqq:kee,nsucc:Dee,nsucceq:Lee,nsup:Pee,nsupE:Fee,nsupe:Uee,nsupset:Bee,nsupseteq:Gee,nsupseteqq:Vee,ntgl:zee,Ntilde:Hee,ntilde:qee,ntlg:$ee,ntriangleleft:Yee,ntrianglelefteq:Wee,ntriangleright:Kee,ntrianglerighteq:jee,Nu:Qee,nu:Xee,num:Zee,numero:Jee,numsp:ete,nvap:tte,nvdash:nte,nvDash:ste,nVdash:ite,nVDash:rte,nvge:ote,nvgt:ate,nvHarr:lte,nvinfin:cte,nvlArr:dte,nvle:ute,nvlt:pte,nvltrie:_te,nvrArr:hte,nvrtrie:fte,nvsim:mte,nwarhk:gte,nwarr:bte,nwArr:Ete,nwarrow:yte,nwnear:vte,Oacute:Ste,oacute:Tte,oast:xte,Ocirc:Cte,ocirc:wte,ocir:Rte,Ocy:Ate,ocy:Nte,odash:Ote,Odblac:Ite,odblac:Mte,odiv:kte,odot:Dte,odsold:Lte,OElig:Pte,oelig:Fte,ofcir:Ute,Ofr:Bte,ofr:Gte,ogon:Vte,Ograve:zte,ograve:Hte,ogt:qte,ohbar:$te,ohm:Yte,oint:Wte,olarr:Kte,olcir:jte,olcross:Qte,oline:Xte,olt:Zte,Omacr:Jte,omacr:ene,Omega:tne,omega:nne,Omicron:sne,omicron:ine,omid:rne,ominus:one,Oopf:ane,oopf:lne,opar:cne,OpenCurlyDoubleQuote:dne,OpenCurlyQuote:une,operp:pne,oplus:_ne,orarr:hne,Or:fne,or:mne,ord:gne,order:bne,orderof:Ene,ordf:yne,ordm:vne,origof:Sne,oror:Tne,orslope:xne,orv:Cne,oS:wne,Oscr:Rne,oscr:Ane,Oslash:Nne,oslash:One,osol:Ine,Otilde:Mne,otilde:kne,otimesas:Dne,Otimes:Lne,otimes:Pne,Ouml:Fne,ouml:Une,ovbar:Bne,OverBar:Gne,OverBrace:Vne,OverBracket:zne,OverParenthesis:Hne,para:qne,parallel:$ne,par:Yne,parsim:Wne,parsl:Kne,part:jne,PartialD:Qne,Pcy:Xne,pcy:Zne,percnt:Jne,period:ese,permil:tse,perp:nse,pertenk:sse,Pfr:ise,pfr:rse,Phi:ose,phi:ase,phiv:lse,phmmat:cse,phone:dse,Pi:use,pi:pse,pitchfork:_se,piv:hse,planck:fse,planckh:mse,plankv:gse,plusacir:bse,plusb:Ese,pluscir:yse,plus:vse,plusdo:Sse,plusdu:Tse,pluse:xse,PlusMinus:Cse,plusmn:wse,plussim:Rse,plustwo:Ase,pm:Nse,Poincareplane:Ose,pointint:Ise,popf:Mse,Popf:kse,pound:Dse,prap:Lse,Pr:Pse,pr:Fse,prcue:Use,precapprox:Bse,prec:Gse,preccurlyeq:Vse,Precedes:zse,PrecedesEqual:Hse,PrecedesSlantEqual:qse,PrecedesTilde:$se,preceq:Yse,precnapprox:Wse,precneqq:Kse,precnsim:jse,pre:Qse,prE:Xse,precsim:Zse,prime:Jse,Prime:eie,primes:tie,prnap:nie,prnE:sie,prnsim:iie,prod:rie,Product:oie,profalar:aie,profline:lie,profsurf:cie,prop:die,Proportional:uie,Proportion:pie,propto:_ie,prsim:hie,prurel:fie,Pscr:mie,pscr:gie,Psi:bie,psi:Eie,puncsp:yie,Qfr:vie,qfr:Sie,qint:Tie,qopf:xie,Qopf:Cie,qprime:wie,Qscr:Rie,qscr:Aie,quaternions:Nie,quatint:Oie,quest:Iie,questeq:Mie,quot:kie,QUOT:Die,rAarr:Lie,race:Pie,Racute:Fie,racute:Uie,radic:Bie,raemptyv:Gie,rang:Vie,Rang:zie,rangd:Hie,range:qie,rangle:$ie,raquo:Yie,rarrap:Wie,rarrb:Kie,rarrbfs:jie,rarrc:Qie,rarr:Xie,Rarr:Zie,rArr:Jie,rarrfs:ere,rarrhk:tre,rarrlp:nre,rarrpl:sre,rarrsim:ire,Rarrtl:rre,rarrtl:ore,rarrw:are,ratail:lre,rAtail:cre,ratio:dre,rationals:ure,rbarr:pre,rBarr:_re,RBarr:hre,rbbrk:fre,rbrace:mre,rbrack:gre,rbrke:bre,rbrksld:Ere,rbrkslu:yre,Rcaron:vre,rcaron:Sre,Rcedil:Tre,rcedil:xre,rceil:Cre,rcub:wre,Rcy:Rre,rcy:Are,rdca:Nre,rdldhar:Ore,rdquo:Ire,rdquor:Mre,rdsh:kre,real:Dre,realine:Lre,realpart:Pre,reals:Fre,Re:Ure,rect:Bre,reg:Gre,REG:Vre,ReverseElement:zre,ReverseEquilibrium:Hre,ReverseUpEquilibrium:qre,rfisht:$re,rfloor:Yre,rfr:Wre,Rfr:Kre,rHar:jre,rhard:Qre,rharu:Xre,rharul:Zre,Rho:Jre,rho:eoe,rhov:toe,RightAngleBracket:noe,RightArrowBar:soe,rightarrow:ioe,RightArrow:roe,Rightarrow:ooe,RightArrowLeftArrow:aoe,rightarrowtail:loe,RightCeiling:coe,RightDoubleBracket:doe,RightDownTeeVector:uoe,RightDownVectorBar:poe,RightDownVector:_oe,RightFloor:hoe,rightharpoondown:foe,rightharpoonup:moe,rightleftarrows:goe,rightleftharpoons:boe,rightrightarrows:Eoe,rightsquigarrow:yoe,RightTeeArrow:voe,RightTee:Soe,RightTeeVector:Toe,rightthreetimes:xoe,RightTriangleBar:Coe,RightTriangle:woe,RightTriangleEqual:Roe,RightUpDownVector:Aoe,RightUpTeeVector:Noe,RightUpVectorBar:Ooe,RightUpVector:Ioe,RightVectorBar:Moe,RightVector:koe,ring:Doe,risingdotseq:Loe,rlarr:Poe,rlhar:Foe,rlm:Uoe,rmoustache:Boe,rmoust:Goe,rnmid:Voe,roang:zoe,roarr:Hoe,robrk:qoe,ropar:$oe,ropf:Yoe,Ropf:Woe,roplus:Koe,rotimes:joe,RoundImplies:Qoe,rpar:Xoe,rpargt:Zoe,rppolint:Joe,rrarr:eae,Rrightarrow:tae,rsaquo:nae,rscr:sae,Rscr:iae,rsh:rae,Rsh:oae,rsqb:aae,rsquo:lae,rsquor:cae,rthree:dae,rtimes:uae,rtri:pae,rtrie:_ae,rtrif:hae,rtriltri:fae,RuleDelayed:mae,ruluhar:gae,rx:bae,Sacute:Eae,sacute:yae,sbquo:vae,scap:Sae,Scaron:Tae,scaron:xae,Sc:Cae,sc:wae,sccue:Rae,sce:Aae,scE:Nae,Scedil:Oae,scedil:Iae,Scirc:Mae,scirc:kae,scnap:Dae,scnE:Lae,scnsim:Pae,scpolint:Fae,scsim:Uae,Scy:Bae,scy:Gae,sdotb:Vae,sdot:zae,sdote:Hae,searhk:qae,searr:$ae,seArr:Yae,searrow:Wae,sect:Kae,semi:jae,seswar:Qae,setminus:Xae,setmn:Zae,sext:Jae,Sfr:ele,sfr:tle,sfrown:nle,sharp:sle,SHCHcy:ile,shchcy:rle,SHcy:ole,shcy:ale,ShortDownArrow:lle,ShortLeftArrow:cle,shortmid:dle,shortparallel:ule,ShortRightArrow:ple,ShortUpArrow:_le,shy:hle,Sigma:fle,sigma:mle,sigmaf:gle,sigmav:ble,sim:Ele,simdot:yle,sime:vle,simeq:Sle,simg:Tle,simgE:xle,siml:Cle,simlE:wle,simne:Rle,simplus:Ale,simrarr:Nle,slarr:Ole,SmallCircle:Ile,smallsetminus:Mle,smashp:kle,smeparsl:Dle,smid:Lle,smile:Ple,smt:Fle,smte:Ule,smtes:Ble,SOFTcy:Gle,softcy:Vle,solbar:zle,solb:Hle,sol:qle,Sopf:$le,sopf:Yle,spades:Wle,spadesuit:Kle,spar:jle,sqcap:Qle,sqcaps:Xle,sqcup:Zle,sqcups:Jle,Sqrt:ece,sqsub:tce,sqsube:nce,sqsubset:sce,sqsubseteq:ice,sqsup:rce,sqsupe:oce,sqsupset:ace,sqsupseteq:lce,square:cce,Square:dce,SquareIntersection:uce,SquareSubset:pce,SquareSubsetEqual:_ce,SquareSuperset:hce,SquareSupersetEqual:fce,SquareUnion:mce,squarf:gce,squ:bce,squf:Ece,srarr:yce,Sscr:vce,sscr:Sce,ssetmn:Tce,ssmile:xce,sstarf:Cce,Star:wce,star:Rce,starf:Ace,straightepsilon:Nce,straightphi:Oce,strns:Ice,sub:Mce,Sub:kce,subdot:Dce,subE:Lce,sube:Pce,subedot:Fce,submult:Uce,subnE:Bce,subne:Gce,subplus:Vce,subrarr:zce,subset:Hce,Subset:qce,subseteq:$ce,subseteqq:Yce,SubsetEqual:Wce,subsetneq:Kce,subsetneqq:jce,subsim:Qce,subsub:Xce,subsup:Zce,succapprox:Jce,succ:ede,succcurlyeq:tde,Succeeds:nde,SucceedsEqual:sde,SucceedsSlantEqual:ide,SucceedsTilde:rde,succeq:ode,succnapprox:ade,succneqq:lde,succnsim:cde,succsim:dde,SuchThat:ude,sum:pde,Sum:_de,sung:hde,sup1:fde,sup2:mde,sup3:gde,sup:bde,Sup:Ede,supdot:yde,supdsub:vde,supE:Sde,supe:Tde,supedot:xde,Superset:Cde,SupersetEqual:wde,suphsol:Rde,suphsub:Ade,suplarr:Nde,supmult:Ode,supnE:Ide,supne:Mde,supplus:kde,supset:Dde,Supset:Lde,supseteq:Pde,supseteqq:Fde,supsetneq:Ude,supsetneqq:Bde,supsim:Gde,supsub:Vde,supsup:zde,swarhk:Hde,swarr:qde,swArr:$de,swarrow:Yde,swnwar:Wde,szlig:Kde,Tab:jde,target:Qde,Tau:Xde,tau:Zde,tbrk:Jde,Tcaron:eue,tcaron:tue,Tcedil:nue,tcedil:sue,Tcy:iue,tcy:rue,tdot:oue,telrec:aue,Tfr:lue,tfr:cue,there4:due,therefore:uue,Therefore:pue,Theta:_ue,theta:hue,thetasym:fue,thetav:mue,thickapprox:gue,thicksim:bue,ThickSpace:Eue,ThinSpace:yue,thinsp:vue,thkap:Sue,thksim:Tue,THORN:xue,thorn:Cue,tilde:wue,Tilde:Rue,TildeEqual:Aue,TildeFullEqual:Nue,TildeTilde:Oue,timesbar:Iue,timesb:Mue,times:kue,timesd:Due,tint:Lue,toea:Pue,topbot:Fue,topcir:Uue,top:Bue,Topf:Gue,topf:Vue,topfork:zue,tosa:Hue,tprime:que,trade:$ue,TRADE:Yue,triangle:Wue,triangledown:Kue,triangleleft:jue,trianglelefteq:Que,triangleq:Xue,triangleright:Zue,trianglerighteq:Jue,tridot:epe,trie:tpe,triminus:npe,TripleDot:spe,triplus:ipe,trisb:rpe,tritime:ope,trpezium:ape,Tscr:lpe,tscr:cpe,TScy:dpe,tscy:upe,TSHcy:ppe,tshcy:_pe,Tstrok:hpe,tstrok:fpe,twixt:mpe,twoheadleftarrow:gpe,twoheadrightarrow:bpe,Uacute:Epe,uacute:ype,uarr:vpe,Uarr:Spe,uArr:Tpe,Uarrocir:xpe,Ubrcy:Cpe,ubrcy:wpe,Ubreve:Rpe,ubreve:Ape,Ucirc:Npe,ucirc:Ope,Ucy:Ipe,ucy:Mpe,udarr:kpe,Udblac:Dpe,udblac:Lpe,udhar:Ppe,ufisht:Fpe,Ufr:Upe,ufr:Bpe,Ugrave:Gpe,ugrave:Vpe,uHar:zpe,uharl:Hpe,uharr:qpe,uhblk:$pe,ulcorn:Ype,ulcorner:Wpe,ulcrop:Kpe,ultri:jpe,Umacr:Qpe,umacr:Xpe,uml:Zpe,UnderBar:Jpe,UnderBrace:e_e,UnderBracket:t_e,UnderParenthesis:n_e,Union:s_e,UnionPlus:i_e,Uogon:r_e,uogon:o_e,Uopf:a_e,uopf:l_e,UpArrowBar:c_e,uparrow:d_e,UpArrow:u_e,Uparrow:p_e,UpArrowDownArrow:__e,updownarrow:h_e,UpDownArrow:f_e,Updownarrow:m_e,UpEquilibrium:g_e,upharpoonleft:b_e,upharpoonright:E_e,uplus:y_e,UpperLeftArrow:v_e,UpperRightArrow:S_e,upsi:T_e,Upsi:x_e,upsih:C_e,Upsilon:w_e,upsilon:R_e,UpTeeArrow:A_e,UpTee:N_e,upuparrows:O_e,urcorn:I_e,urcorner:M_e,urcrop:k_e,Uring:D_e,uring:L_e,urtri:P_e,Uscr:F_e,uscr:U_e,utdot:B_e,Utilde:G_e,utilde:V_e,utri:z_e,utrif:H_e,uuarr:q_e,Uuml:$_e,uuml:Y_e,uwangle:W_e,vangrt:K_e,varepsilon:j_e,varkappa:Q_e,varnothing:X_e,varphi:Z_e,varpi:J_e,varpropto:ehe,varr:the,vArr:nhe,varrho:she,varsigma:ihe,varsubsetneq:rhe,varsubsetneqq:ohe,varsupsetneq:ahe,varsupsetneqq:lhe,vartheta:che,vartriangleleft:dhe,vartriangleright:uhe,vBar:phe,Vbar:_he,vBarv:hhe,Vcy:fhe,vcy:mhe,vdash:ghe,vDash:bhe,Vdash:Ehe,VDash:yhe,Vdashl:vhe,veebar:She,vee:The,Vee:xhe,veeeq:Che,vellip:whe,verbar:Rhe,Verbar:Ahe,vert:Nhe,Vert:Ohe,VerticalBar:Ihe,VerticalLine:Mhe,VerticalSeparator:khe,VerticalTilde:Dhe,VeryThinSpace:Lhe,Vfr:Phe,vfr:Fhe,vltri:Uhe,vnsub:Bhe,vnsup:Ghe,Vopf:Vhe,vopf:zhe,vprop:Hhe,vrtri:qhe,Vscr:$he,vscr:Yhe,vsubnE:Whe,vsubne:Khe,vsupnE:jhe,vsupne:Qhe,Vvdash:Xhe,vzigzag:Zhe,Wcirc:Jhe,wcirc:efe,wedbar:tfe,wedge:nfe,Wedge:sfe,wedgeq:ife,weierp:rfe,Wfr:ofe,wfr:afe,Wopf:lfe,wopf:cfe,wp:dfe,wr:ufe,wreath:pfe,Wscr:_fe,wscr:hfe,xcap:ffe,xcirc:mfe,xcup:gfe,xdtri:bfe,Xfr:Efe,xfr:yfe,xharr:vfe,xhArr:Sfe,Xi:Tfe,xi:xfe,xlarr:Cfe,xlArr:wfe,xmap:Rfe,xnis:Afe,xodot:Nfe,Xopf:Ofe,xopf:Ife,xoplus:Mfe,xotime:kfe,xrarr:Dfe,xrArr:Lfe,Xscr:Pfe,xscr:Ffe,xsqcup:Ufe,xuplus:Bfe,xutri:Gfe,xvee:Vfe,xwedge:zfe,Yacute:Hfe,yacute:qfe,YAcy:$fe,yacy:Yfe,Ycirc:Wfe,ycirc:Kfe,Ycy:jfe,ycy:Qfe,yen:Xfe,Yfr:Zfe,yfr:Jfe,YIcy:eme,yicy:tme,Yopf:nme,yopf:sme,Yscr:ime,yscr:rme,YUcy:ome,yucy:ame,yuml:lme,Yuml:cme,Zacute:dme,zacute:ume,Zcaron:pme,zcaron:_me,Zcy:hme,zcy:fme,Zdot:mme,zdot:gme,zeetrf:bme,ZeroWidthSpace:Eme,Zeta:yme,zeta:vme,zfr:Sme,Zfr:Tme,ZHcy:xme,zhcy:Cme,zigrarr:wme,zopf:Rme,Zopf:Ame,Zscr:Nme,zscr:Ome,zwj:Ime,zwnj:Mme};var f2=kme,gE=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Va={},cS={};function Dme(n){var e,t,s=cS[n];if(s)return s;for(s=cS[n]=[],e=0;e<128;e++)t=String.fromCharCode(e),/^[0-9a-z]$/i.test(t)?s.push(t):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(t=!0),a=Dme(e),s=0,i=n.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&o<=57343)){c+=encodeURIComponent(n[s]+n[s+1]),s++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(n[s])}return c}Ju.defaultChars=";/?:@&=+$,-_.!~*'()#";Ju.componentChars="-_.!~*'()";var Lme=Ju,dS={};function Pme(n){var e,t,s=dS[n];if(s)return s;for(s=dS[n]=[],e=0;e<128;e++)t=String.fromCharCode(e),s.push(t);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),i+=6;continue}if((o&248)===240&&i+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),i+=9;continue}h+="�"}return h})}ep.defaultChars=";/?:@&=+$,#";ep.componentChars="";var Fme=ep,Ume=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t};function su(){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 Bme=/^([a-z0-9.+-]+:)/i,Gme=/:[0-9]*$/,Vme=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,zme=["<",">",'"',"`"," ","\r",` +`," "],Hme=["{","}","|","\\","^","`"].concat(zme),qme=["'"].concat(Hme),uS=["%","/","?",";","#"].concat(qme),pS=["/","?","#"],$me=255,_S=/^[+a-z0-9A-Z_-]{0,63}$/,Yme=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hS={javascript:!0,"javascript:":!0},fS={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Wme(n,e){if(n&&n instanceof su)return n;var t=new su;return t.parse(n,e),t}su.prototype.parse=function(n,e){var t,s,i,r,o,a=n;if(a=a.trim(),!e&&n.split("#").length===1){var c=Vme.exec(a);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var d=Bme.exec(a);if(d&&(d=d[0],i=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=a.substr(0,2)==="//",o&&!(d&&hS[d])&&(a=a.substr(2),this.slashes=!0)),!hS[d]&&(o||d&&!fS[d])){var u=-1;for(t=0;t127?E+="x":E+=b[y];if(!E.match(_S)){var S=g.slice(0,t),R=g.slice(t+1),w=b.match(Yme);w&&(S.push(w[1]),R.unshift(w[2])),R.length&&(a=R.join(".")+a),this.hostname=S.join(".");break}}}}this.hostname.length>$me&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=a.indexOf("#");A!==-1&&(this.hash=a.substr(A),a=a.slice(0,A));var M=a.indexOf("?");return M!==-1&&(this.search=a.substr(M),a=a.slice(0,M)),a&&(this.pathname=a),fS[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};su.prototype.parseHost=function(n){var e=Gme.exec(n);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),n=n.substr(0,n.length-e.length)),n&&(this.hostname=n)};var Kme=Wme;Va.encode=Lme;Va.decode=Fme;Va.format=Ume;Va.parse=Kme;var Ir={},Qp,mS;function m2(){return mS||(mS=1,Qp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Qp}var Xp,gS;function g2(){return gS||(gS=1,Xp=/[\0-\x1F\x7F-\x9F]/),Xp}var Zp,bS;function jme(){return bS||(bS=1,Zp=/[\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]/),Zp}var Jp,ES;function b2(){return ES||(ES=1,Jp=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Jp}var yS;function Qme(){return yS||(yS=1,Ir.Any=m2(),Ir.Cc=g2(),Ir.Cf=jme(),Ir.P=gE,Ir.Z=b2()),Ir}(function(n){function e(k){return Object.prototype.toString.call(k)}function t(k){return e(k)==="[object String]"}var s=Object.prototype.hasOwnProperty;function i(k,$){return s.call(k,$)}function r(k){var $=Array.prototype.slice.call(arguments,1);return $.forEach(function(q){if(q){if(typeof q!="object")throw new TypeError(q+"must be object");Object.keys(q).forEach(function(F){k[F]=q[F]})}}),k}function o(k,$,q){return[].concat(k.slice(0,$),q,k.slice($+1))}function a(k){return!(k>=55296&&k<=57343||k>=64976&&k<=65007||(k&65535)===65535||(k&65535)===65534||k>=0&&k<=8||k===11||k>=14&&k<=31||k>=127&&k<=159||k>1114111)}function c(k){if(k>65535){k-=65536;var $=55296+(k>>10),q=56320+(k&1023);return String.fromCharCode($,q)}return String.fromCharCode(k)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(d.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,m=f2;function _(k,$){var q;return i(m,$)?m[$]:$.charCodeAt(0)===35&&f.test($)&&(q=$[1].toLowerCase()==="x"?parseInt($.slice(2),16):parseInt($.slice(1),10),a(q))?c(q):k}function g(k){return k.indexOf("\\")<0?k:k.replace(d,"$1")}function b(k){return k.indexOf("\\")<0&&k.indexOf("&")<0?k:k.replace(h,function($,q,F){return q||_($,F)})}var E=/[&<>"]/,y=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};function S(k){return v[k]}function R(k){return E.test(k)?k.replace(y,S):k}var w=/[.?*+^$[\]\\(){}|-]/g;function A(k){return k.replace(w,"\\$&")}function M(k){switch(k){case 9:case 32:return!0}return!1}function x(k){if(k>=8192&&k<=8202)return!0;switch(k){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 O=gE;function B(k){return O.test(k)}function H(k){switch(k){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 te(k){return k=k.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(k=k.replace(/ẞ/g,"ß")),k.toLowerCase().toUpperCase()}n.lib={},n.lib.mdurl=Va,n.lib.ucmicro=Qme(),n.assign=r,n.isString=t,n.has=i,n.unescapeMd=g,n.unescapeAll=b,n.isValidEntityCode=a,n.fromCodePoint=c,n.escapeHtml=R,n.arrayReplaceAt=o,n.isSpace=M,n.isWhiteSpace=x,n.isMdAsciiPunct=H,n.isPunctChar=B,n.escapeRE=A,n.normalizeReference=te})(Pt);var tp={},Xme=function(e,t,s){var i,r,o,a,c=-1,d=e.posMax,u=e.pos;for(e.pos=t+1,i=1;e.pos32))return a;if(i===41){if(r===0)break;r--}o++}return t===o||r!==0||(a.str=vS(e.slice(t,o)),a.pos=o,a.ok=!0),a},Jme=Pt.unescapeAll,ege=function(e,t,s){var i,r,o=0,a=t,c={ok:!1,pos:0,lines:0,str:""};if(a>=s||(r=e.charCodeAt(a),r!==34&&r!==39&&r!==40))return c;for(a++,r===40&&(r=41);a"+oo(r.content)+""};mi.code_block=function(n,e,t,s,i){var r=n[e];return""+oo(n[e].content)+` `};mi.fence=function(n,e,t,s,i){var r=n[e],o=r.info?nge(r.info).trim():"",a="",c="",d,u,h,f,m;return o&&(h=o.split(/(\s+)/g),a=h[0],c=h.slice(2).join("")),t.highlight?d=t.highlight(r.content,a,c)||oo(r.content):d=oo(r.content),d.indexOf(""+d+` `):"
"+d+`
@@ -30,29 +30,29 @@ var PM=Object.defineProperty;var FM=(n,e,t)=>e in n?PM(n,e,{enumerable:!0,config `),r+=(a.nesting===-1?" `:">",r)};za.prototype.renderInline=function(n,e,t){for(var s,i="",r=this.rules,o=0,a=n.length;o\s]/i.test(n)}function uge(n){return/^<\/a\s*>/i.test(n)}var pge=function(e){var t,s,i,r,o,a,c,d,u,h,f,m,_,g,b,E,y=e.tokens,v;if(e.md.options.linkify){for(s=0,i=y.length;s=0;t--){if(a=r[t],a.type==="link_close"){for(t--;r[t].level!==a.level&&r[t].type!=="link_open";)t--;continue}if(a.type==="html_inline"&&(dge(a.content)&&_>0&&_--,uge(a.content)&&_++),!(_>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,v=e.md.linkify.match(u),c=[],m=a.level,f=0,v.length>0&&v[0].index===0&&t>0&&r[t-1].type==="text_special"&&(v=v.slice(1)),d=0;df&&(o=new e.Token("text","",0),o.content=u.slice(f,h),o.level=m,c.push(o)),o=new e.Token("link_open","a",1),o.attrs=[["href",b]],o.level=m++,o.markup="linkify",o.info="auto",c.push(o),o=new e.Token("text","",0),o.content=E,o.level=m,c.push(o),o=new e.Token("link_close","a",-1),o.level=--m,o.markup="linkify",o.info="auto",c.push(o),f=v[d].lastIndex);f=0;e--)t=n[e],t.type==="text"&&!s&&(t.content=t.content.replace(hge,mge)),t.type==="link_open"&&t.info==="auto"&&s--,t.type==="link_close"&&t.info==="auto"&&s++}function bge(n){var e,t,s=0;for(e=n.length-1;e>=0;e--)t=n[e],t.type==="text"&&!s&&E2.test(t.content)&&(t.content=t.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–")),t.type==="link_open"&&t.info==="auto"&&s--,t.type==="link_close"&&t.info==="auto"&&s++}var Ege=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(_ge.test(e.tokens[t].content)&&gge(e.tokens[t].children),E2.test(e.tokens[t].content)&&bge(e.tokens[t].children))},S0=Pt.isWhiteSpace,T0=Pt.isPunctChar,x0=Pt.isMdAsciiPunct,yge=/['"]/,C0=/['"]/g,w0="’";function Pc(n,e,t){return n.slice(0,e)+t+n.slice(e+1)}function vge(n,e){var t,s,i,r,o,a,c,d,u,h,f,m,_,g,b,E,y,v,S,R,w;for(S=[],t=0;t=0&&!(S[y].level<=c);y--);if(S.length=y+1,s.type==="text"){i=s.content,o=0,a=i.length;e:for(;o=0)u=i.charCodeAt(r.index-1);else for(y=t-1;y>=0&&!(n[y].type==="softbreak"||n[y].type==="hardbreak");y--)if(n[y].content){u=n[y].content.charCodeAt(n[y].content.length-1);break}if(h=32,o=48&&u<=57&&(E=b=!1),b&&E&&(b=f,E=m),!b&&!E){v&&(s.content=Pc(s.content,r.index,w0));continue}if(E){for(y=S.length-1;y>=0&&(d=S[y],!(S[y].level=0;t--)e.tokens[t].type!=="inline"||!yge.test(e.tokens[t].content)||vge(e.tokens[t].children,e)},Tge=function(e){var t,s,i,r,o,a,c=e.tokens;for(t=0,s=c.length;t=0&&(s=this.attrs[t][1]),s};Ha.prototype.attrJoin=function(e,t){var s=this.attrIndex(e);s<0?this.attrPush([e,t]):this.attrs[s][1]=this.attrs[s][1]+" "+t};var EE=Ha,xge=EE;function y2(n,e,t){this.src=n,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=e}y2.prototype.Token=xge;var Cge=y2,wge=bE,e_=[["normalize",oge],["block",age],["inline",lge],["linkify",pge],["replacements",Ege],["smartquotes",Sge],["text_join",Tge]];function yE(){this.ruler=new wge;for(var n=0;ns||(u=t+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[u]||(w=e.src.charCodeAt(a++),w!==124&&w!==45&&w!==58&&!t_(w))||R===45&&t_(w))return!1;for(;a=4||(h=R0(o),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==_.length))return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",S=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),m.map=b=[t,0],m=e.push("thead_open","thead",1),m.map=[t,t+1],m=e.push("tr_open","tr",1),m.map=[t,t+1],c=0;c=4)break;for(h=R0(o),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===t+2&&(m=e.push("tbody_open","tbody",1),m.map=E=[t+2,0]),m=e.push("tr_open","tr",1),m.map=[u,u+1],c=0;c=4){i++,r=i;continue}break}return e.line=r,o=e.push("code_block","code",0),o.content=e.getLines(t,r,4+e.blkIndent,!1)+` -`,o.map=[t,e.line],!0},Oge=function(e,t,s,i){var r,o,a,c,d,u,h,f=!1,m=e.bMarks[t]+e.tShift[t],_=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||m+3>_||(r=e.src.charCodeAt(m),r!==126&&r!==96)||(d=m,m=e.skipChars(m,r),o=m-d,o<3)||(h=e.src.slice(d,m),a=e.src.slice(m,_),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(i)return!0;for(c=t;c++,!(c>=s||(m=d=e.bMarks[c]+e.tShift[c],_=e.eMarks[c],m<_&&e.sCount[c]=4)&&(m=e.skipChars(m,r),!(m-d=4||e.src.charCodeAt(O)!==62)return!1;if(i)return!0;for(_=[],g=[],y=[],v=[],w=e.md.block.ruler.getRules("blockquote"),E=e.parentType,e.parentType="blockquote",f=t;f=B));f++){if(e.src.charCodeAt(O++)===62&&!I){for(c=e.sCount[f]+1,e.src.charCodeAt(O)===32?(O++,c++,r=!1,S=!0):e.src.charCodeAt(O)===9?(S=!0,(e.bsCount[f]+c)%4===3?(O++,c++,r=!1):r=!0):S=!1,m=c,_.push(e.bMarks[f]),e.bMarks[f]=O;O=B,g.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(S?1:0),y.push(e.sCount[f]),e.sCount[f]=m-c,v.push(e.tShift[f]),e.tShift[f]=O-e.bMarks[f];continue}if(u)break;for(R=!1,a=0,d=w.length;a",A.map=h=[t,0],e.md.block.tokenize(e,t,f),A=e.push("blockquote_close","blockquote",-1),A.markup=">",e.lineMax=C,e.parentType=E,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(o=1;d=r||(t=n.src.charCodeAt(i++),t<48||t>57))return-1;for(;;){if(i>=r)return-1;if(t=n.src.charCodeAt(i++),t>=48&&t<=57){if(i-s>=10)return-1;continue}if(t===41||t===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[q]-e.listIndent>=4&&e.sCount[q]=e.blkIndent&&(F=!0),(O=N0(e,q))>=0){if(h=!0,H=e.bMarks[q]+e.tShift[q],E=Number(e.src.slice(H,O-1)),F&&E!==1)return!1}else if((O=A0(e,q))>=0)h=!1;else return!1;if(F&&e.skipSpaces(O)>=e.eMarks[q])return!1;if(i)return!0;for(b=e.src.charCodeAt(O-1),g=e.tokens.length,h?($=e.push("ordered_list_open","ol",1),E!==1&&($.attrs=[["start",E]])):$=e.push("bullet_list_open","ul",1),$.map=_=[q,0],$.markup=String.fromCharCode(b),B=!1,k=e.md.block.ruler.getRules("list"),R=e.parentType,e.parentType="list";q=y?d=1:d=v-u,d>4&&(d=1),c=u+d,$=e.push("list_item_open","li",1),$.markup=String.fromCharCode(b),$.map=f=[q,0],h&&($.info=e.src.slice(H,O-1)),I=e.tight,A=e.tShift[q],w=e.sCount[q],S=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[q]=o-e.bMarks[q],e.sCount[q]=v,o>=y&&e.isEmpty(q+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,q,s,!0),(!e.tight||B)&&(W=!1),B=e.line-q>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[q]=A,e.sCount[q]=w,e.tight=I,$=e.push("list_item_close","li",-1),$.markup=String.fromCharCode(b),q=e.line,f[1]=q,q>=s||e.sCount[q]=4)break;for(te=!1,a=0,m=k.length;a=4||e.src.charCodeAt(w)!==91)return!1;for(;++w3)&&!(e.sCount[I]<0)){for(y=!1,u=0,h=v.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:S,href:d}),e.parentType=_,e.line=t+R+1),!0)},Bge=["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"],np={},Gge="[a-zA-Z_:][a-zA-Z0-9:._-]*",Vge="[^\"'=<>`\\x00-\\x20]+",zge="'[^']*'",Hge='"[^"]*"',qge="(?:"+Vge+"|"+zge+"|"+Hge+")",$ge="(?:\\s+"+Gge+"(?:\\s*=\\s*"+qge+")?)",S2="<[A-Za-z][A-Za-z0-9\\-]*"+$ge+"*\\s*\\/?>",T2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Yge="|",Wge="<[?][\\s\\S]*?[?]>",Kge="]*>",jge="",Qge=new RegExp("^(?:"+S2+"|"+T2+"|"+Yge+"|"+Wge+"|"+Kge+"|"+jge+")"),Xge=new RegExp("^(?:"+S2+"|"+T2+")");np.HTML_TAG_RE=Qge;np.HTML_OPEN_CLOSE_TAG_RE=Xge;var Zge=Bge,Jge=np.HTML_OPEN_CLOSE_TAG_RE,xo=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Jge.source+"\\s*$"),/^$/,!1]],ebe=function(e,t,s,i){var r,o,a,c,d=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(c=e.src.slice(d,u),r=0;r=4||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(o=1,r=e.src.charCodeAt(++d);r===35&&d6||dd&&O0(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,c=e.push("heading_open","h"+String(o),1),c.markup="########".slice(0,o),c.map=[t,e.line],c=e.push("inline","",0),c.content=e.src.slice(d,u).trim(),c.map=[t,e.line],c.children=[],c=e.push("heading_close","h"+String(o),-1),c.markup="########".slice(0,o)),!0)},nbe=function(e,t,s){var i,r,o,a,c,d,u,h,f,m=t+1,_,g=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(_=e.parentType,e.parentType="paragraph";m3)){if(e.sCount[m]>=e.blkIndent&&(d=e.bMarks[m]+e.tShift[m],u=e.eMarks[m],d=u)))){h=f===61?1:2;break}if(!(e.sCount[m]<0)){for(r=!1,o=0,a=g.length;o3)&&!(e.sCount[u]<0)){for(r=!1,o=0,a=h.length;o0&&this.level++,this.tokens.push(s),s};gi.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};gi.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!sp(this.src.charCodeAt(--e)))return e+1;return e};gi.prototype.skipChars=function(e,t){for(var s=this.src.length;es;)if(t!==this.src.charCodeAt(--e))return e+1;return e};gi.prototype.getLines=function(e,t,s,i){var r,o,a,c,d,u,h,f=e;if(e>=t)return"";for(u=new Array(t-e),r=0;fs?u[r]=new Array(o-s+1).join(" ")+this.src.slice(c,d):u[r]=this.src.slice(c,d)}return u.join("")};gi.prototype.Token=x2;var ibe=gi,rbe=bE,Uc=[["table",Age,["paragraph","reference"]],["code",Nge],["fence",Oge,["paragraph","reference","blockquote","list"]],["blockquote",Ige,["paragraph","reference","blockquote","list"]],["hr",Dge,["paragraph","reference","blockquote","list"]],["list",Pge,["paragraph","reference","blockquote"]],["reference",Uge],["html_block",ebe,["paragraph","reference","blockquote"]],["heading",tbe,["paragraph","reference","blockquote"]],["lheading",nbe],["paragraph",sbe]];function ip(){this.ruler=new rbe;for(var n=0;n=t||n.sCount[c]=u){n.line=t;break}for(r=n.line,i=0;i=n.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");n.tight=!d,n.isEmpty(n.line-1)&&(d=!0),c=n.line,c0||(s=e.pos,i=e.posMax,s+3>i)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(cbe),!r)||(o=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-o.length)),!a)||(c=a.url,c.length<=o.length)||(c=c.replace(/\*+$/,""),d=e.md.normalizeLink(c),!e.md.validateLink(d))?!1:(t||(e.pending=e.pending.slice(0,-o.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(c),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=c.length-o.length,!0)},ube=Pt.isSpace,pbe=function(e,t){var s,i,r,o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;if(s=e.pending.length-1,i=e.posMax,!t)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(o++;o?@[]^_`{|}~-".split("").forEach(function(n){vE[n.charCodeAt(0)]=1});var hbe=function(e,t){var s,i,r,o,a,c=e.pos,d=e.posMax;if(e.src.charCodeAt(c)!==92||(c++,c>=d))return!1;if(s=e.src.charCodeAt(c),s===10){for(t||e.push("hardbreak","br",0),c++;c=55296&&s<=56319&&c+1=56320&&i<=57343&&(o+=e.src[c+1],c++)),r="\\"+o,t||(a=e.push("text_special","",0),s<256&&vE[s]!==0?a.content=o:a.content=r,a.markup=r,a.info="escape"),e.pos=c+1,!0},fbe=function(e,t){var s,i,r,o,a,c,d,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,i=e.posMax;h=0;t--)s=e[t],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(i=e[s.end],a=t>0&&e[t-1].end===s.end+1&&e[t-1].marker===s.marker&&e[t-1].token===s.token-1&&e[s.end+1].token===i.token+1,o=String.fromCharCode(s.marker),r=n.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?o+o:o,r.content="",r=n.tokens[i.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?o+o:o,r.content="",a&&(n.tokens[e[t-1].token].content="",n.tokens[e[s.end+1].token].content="",t--))}op.postProcess=function(e){var t,s=e.tokens_meta,i=e.tokens_meta.length;for(k0(e,e.delimiters),t=0;t=g)return!1;if(b=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok){for(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?c=d.pos:f="",b=c;c=g||e.src.charCodeAt(c)!==41)&&(E=!0),c++}if(E){if(typeof e.env.references>"u")return!1;if(c=0?r=e.src.slice(b,c++):c=o+1):c=o+1,r||(r=e.src.slice(a,o)),u=e.env.references[mbe(r)],!u)return e.pos=_,!1;f=u.href,m=u.title}return t||(e.pos=a,e.posMax=o,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],m&&s.push(["title",m]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0},bbe=Pt.normalizeReference,i_=Pt.isSpace,Ebe=function(e,t){var s,i,r,o,a,c,d,u,h,f,m,_,g,b="",E=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(c=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d=y)return!1;for(g=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?d=h.pos:b=""),g=d;d=y||e.src.charCodeAt(d)!==41)return e.pos=E,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d=0?o=e.src.slice(g,d++):d=a+1):d=a+1,o||(o=e.src.slice(c,a)),u=e.env.references[bbe(o)],!u)return e.pos=E,!1;b=u.href,f=u.title}return t||(r=e.src.slice(c,a),e.md.inline.parse(r,e.md,e.env,_=[]),m=e.push("image","img",0),m.attrs=s=[["src",b],["alt",""]],m.children=_,m.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=y,!0},ybe=/^([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])?)*)$/,vbe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Sbe=function(e,t){var s,i,r,o,a,c,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,c=e.posMax;;){if(++d>=c||(o=e.src.charCodeAt(d),o===60))return!1;if(o===62)break}return s=e.src.slice(a+1,d),vbe.test(s)?(i=e.md.normalizeLink(s),e.md.validateLink(i)?(t||(r=e.push("link_open","a",1),r.attrs=[["href",i]],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):ybe.test(s)?(i=e.md.normalizeLink("mailto:"+s),e.md.validateLink(i)?(t||(r=e.push("link_open","a",1),r.attrs=[["href",i]],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},Tbe=np.HTML_TAG_RE;function xbe(n){return/^\s]/i.test(n)}function Cbe(n){return/^<\/a\s*>/i.test(n)}function wbe(n){var e=n|32;return e>=97&&e<=122}var Rbe=function(e,t){var s,i,r,o,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&&!wbe(s))||(i=e.src.slice(a).match(Tbe),!i)?!1:(t||(o=e.push("html_inline","",0),o.content=i[0],xbe(o.content)&&e.linkLevel++,Cbe(o.content)&&e.linkLevel--),e.pos+=i[0].length,!0)},D0=f2,Abe=Pt.has,Nbe=Pt.isValidEntityCode,L0=Pt.fromCodePoint,Obe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Mbe=/^&([a-z][a-z0-9]{1,31});/i,Ibe=function(e,t){var s,i,r,o,a=e.pos,c=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=c)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(Obe),r)return t||(i=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),o=e.push("text_special","",0),o.content=Nbe(i)?L0(i):L0(65533),o.markup=r[0],o.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Mbe),r&&Abe(D0,r[1]))return t||(o=e.push("text_special","",0),o.content=D0[r[1]],o.markup=r[0],o.info="entity"),e.pos+=r[0].length,!0;return!1};function P0(n){var e,t,s,i,r,o,a,c,d={},u=n.length;if(u){var h=0,f=-2,m=[];for(e=0;er;t-=m[t]+1)if(i=n[t],i.marker===s.marker&&i.open&&i.end<0&&(a=!1,(i.close||s.open)&&(i.length+s.length)%3===0&&(i.length%3!==0||s.length%3!==0)&&(a=!0),!a)){c=t>0&&!n[t-1].open?m[t-1]+1:0,m[e]=e-t+c,m[t]=c,s.open=!1,i.end=e,i.close=!1,o=-1,f=-2;break}o!==-1&&(d[s.marker][(s.open?3:0)+(s.length||0)%3]=o)}}}var kbe=function(e){var t,s=e.tokens_meta,i=e.tokens_meta.length;for(P0(e.delimiters),t=0;t0&&i++,r[t].type==="text"&&t+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(i),s};uc.prototype.scanDelims=function(n,e){var t=n,s,i,r,o,a,c,d,u,h,f=!0,m=!0,_=this.posMax,g=this.src.charCodeAt(n);for(s=n>0?this.src.charCodeAt(n-1):32;t<_&&this.src.charCodeAt(t)===g;)t++;return r=t-n,i=t<_?this.src.charCodeAt(t):32,d=B0(s)||U0(String.fromCharCode(s)),h=B0(i)||U0(String.fromCharCode(i)),c=F0(s),u=F0(i),u?f=!1:h&&(c||d||(f=!1)),c?m=!1:d&&(u||h||(m=!1)),e?(o=f,a=m):(o=f&&(!m||d),a=m&&(!f||h)),{can_open:o,can_close:a,length:r}};uc.prototype.Token=SE;var Lbe=uc,G0=bE,r_=[["text",lbe],["linkify",dbe],["newline",pbe],["escape",hbe],["backticks",fbe],["strikethrough",rp.tokenize],["emphasis",op.tokenize],["link",gbe],["image",Ebe],["autolink",Sbe],["html_inline",Rbe],["entity",Ibe]],o_=[["balance_pairs",kbe],["strikethrough",rp.postProcess],["emphasis",op.postProcess],["fragments_join",Dbe]];function pc(){var n;for(this.ruler=new G0,n=0;n=n.pos)throw new Error("inline rule didn't increment state.pos");break}}else n.pos=n.posMax;e||n.pos++,a[s]=n.pos};pc.prototype.tokenize=function(n){for(var e,t,s,i=this.ruler.getRules(""),r=i.length,o=n.posMax,a=n.md.options.maxNesting;n.pos=n.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(n.pos>=o)break;continue}n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()};pc.prototype.parse=function(n,e,t,s){var i,r,o,a=new this.State(n,e,t,s);for(this.tokenize(a),r=this.ruler2.getRules(""),o=r.length,i=0;i|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+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}),a_}function Jg(n){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(t){t&&Object.keys(t).forEach(function(s){n[s]=t[s]})}),n}function ap(n){return Object.prototype.toString.call(n)}function Ube(n){return ap(n)==="[object String]"}function Bbe(n){return ap(n)==="[object Object]"}function Gbe(n){return ap(n)==="[object RegExp]"}function z0(n){return ap(n)==="[object Function]"}function Vbe(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var C2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function zbe(n){return Object.keys(n||{}).reduce(function(e,t){return e||C2.hasOwnProperty(t)},!1)}var Hbe={"http:":{validate:function(n,e,t){var s=n.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(s)?s.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(n,e,t){var s=n.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(s)?e>=3&&n[e-3]===":"||e>=3&&n[e-3]==="/"?0:s.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(n,e,t){var s=n.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(s)?s.match(t.re.mailto)[0].length:0}}},qbe="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]",$be="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ybe(n){n.__index__=-1,n.__text_cache__=""}function Wbe(n){return function(e,t){var s=e.slice(t);return n.test(s)?s.match(n)[0].length:0}}function H0(){return function(n,e){e.normalize(n)}}function iu(n){var e=n.re=Fbe()(n.__opts__),t=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||t.push(qbe),t.push(e.src_xn),e.src_tlds=t.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 i=[];n.__compiled__={};function r(a,c){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+c)}Object.keys(n.__schemas__).forEach(function(a){var c=n.__schemas__[a];if(c!==null){var d={validate:null,link:null};if(n.__compiled__[a]=d,Bbe(c)){Gbe(c.validate)?d.validate=Wbe(c.validate):z0(c.validate)?d.validate=c.validate:r(a,c),z0(c.normalize)?d.normalize=c.normalize:c.normalize?r(a,c):d.normalize=H0();return}if(Ube(c)){i.push(a);return}r(a,c)}}),i.forEach(function(a){n.__compiled__[n.__schemas__[a]]&&(n.__compiled__[a].validate=n.__compiled__[n.__schemas__[a]].validate,n.__compiled__[a].normalize=n.__compiled__[n.__schemas__[a]].normalize)}),n.__compiled__[""]={validate:null,normalize:H0()};var o=Object.keys(n.__compiled__).filter(function(a){return a.length>0&&n.__compiled__[a]}).map(Vbe).join("|");n.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),n.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),n.re.schema_at_start=RegExp("^"+n.re.schema_search.source,"i"),n.re.pretest=RegExp("("+n.re.schema_test.source+")|("+n.re.host_fuzzy_test.source+")|@","i"),Ybe(n)}function Kbe(n,e){var t=n.__index__,s=n.__last_index__,i=n.__text_cache__.slice(t,s);this.schema=n.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=s+e,this.raw=i,this.text=i,this.url=i}function eb(n,e){var t=new Kbe(n,e);return n.__compiled__[t.schema].normalize(t,n),t}function rs(n,e){if(!(this instanceof rs))return new rs(n,e);e||zbe(n)&&(e=n,n={}),this.__opts__=Jg({},C2,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Jg({},Hbe,n),this.__compiled__={},this.__tlds__=$be,this.__tlds_replaced__=!1,this.re={},iu(this)}rs.prototype.add=function(e,t){return this.__schemas__[e]=t,iu(this),this};rs.prototype.set=function(e){return this.__opts__=Jg(this.__opts__,e),this};rs.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,s,i,r,o,a,c,d,u;if(this.re.schema_test.test(e)){for(c=this.re.schema_search,c.lastIndex=0;(t=c.exec(e))!==null;)if(r=this.testSchemaAt(e,t[2],c.lastIndex),r){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d=0&&(i=e.match(this.re.email_fuzzy))!==null&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};rs.prototype.pretest=function(e){return this.re.pretest.test(e)};rs.prototype.testSchemaAt=function(e,t,s){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,s,this):0};rs.prototype.match=function(e){var t=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(eb(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)s.push(eb(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return s.length?s:null};rs.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var s=this.testSchemaAt(e,t[2],t[0].length);return s?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s,eb(this,0)):null};rs.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,i,r){return s!==r[i-1]}).reverse(),iu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,iu(this),this)};rs.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};rs.prototype.onCompile=function(){};var jbe=rs;const ta=2147483647,ai=36,TE=1,Xl=26,Qbe=38,Xbe=700,w2=72,R2=128,A2="-",Zbe=/^xn--/,Jbe=/[^\0-\x7F]/,eEe=/[\x2E\u3002\uFF0E\uFF61]/g,tEe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l_=ai-TE,li=Math.floor,c_=String.fromCharCode;function rr(n){throw new RangeError(tEe[n])}function nEe(n,e){const t=[];let s=n.length;for(;s--;)t[s]=e(n[s]);return t}function N2(n,e){const t=n.split("@");let s="";t.length>1&&(s=t[0]+"@",n=t[1]),n=n.replace(eEe,".");const i=n.split("."),r=nEe(i,e).join(".");return s+r}function xE(n){const e=[];let t=0;const s=n.length;for(;t=55296&&i<=56319&&tString.fromCodePoint(...n),sEe=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:ai},q0=function(n,e){return n+22+75*(n<26)-((e!=0)<<5)},M2=function(n,e,t){let s=0;for(n=t?li(n/Xbe):n>>1,n+=li(n/e);n>l_*Xl>>1;s+=ai)n=li(n/l_);return li(s+(l_+1)*n/(n+Qbe))},CE=function(n){const e=[],t=n.length;let s=0,i=R2,r=w2,o=n.lastIndexOf(A2);o<0&&(o=0);for(let a=0;a=128&&rr("not-basic"),e.push(n.charCodeAt(a));for(let a=o>0?o+1:0;a=t&&rr("invalid-input");const f=sEe(n.charCodeAt(a++));f>=ai&&rr("invalid-input"),f>li((ta-s)/u)&&rr("overflow"),s+=f*u;const m=h<=r?TE:h>=r+Xl?Xl:h-r;if(fli(ta/_)&&rr("overflow"),u*=_}const d=e.length+1;r=M2(s-c,d,c==0),li(s/d)>ta-i&&rr("overflow"),i+=li(s/d),s%=d,e.splice(s++,0,i)}return String.fromCodePoint(...e)},wE=function(n){const e=[];n=xE(n);const t=n.length;let s=R2,i=0,r=w2;for(const c of n)c<128&&e.push(c_(c));const o=e.length;let a=o;for(o&&e.push(A2);a=s&&uli((ta-i)/d)&&rr("overflow"),i+=(c-s)*d,s=c;for(const u of n)if(uta&&rr("overflow"),u===s){let h=i;for(let f=ai;;f+=ai){const m=f<=r?TE:f>=r+Xl?Xl:f-r;if(h=0))try{e.hostname=D2.toASCII(e.hostname)}catch{}return Kr.encode(Kr.format(e))}function vEe(n){var e=Kr.parse(n,!0);if(e.hostname&&(!e.protocol||L2.indexOf(e.protocol)>=0))try{e.hostname=D2.toUnicode(e.hostname)}catch{}return Kr.decode(Kr.format(e),Kr.decode.defaultChars+"%")}function xs(n,e){if(!(this instanceof xs))return new xs(n,e);e||Nl.isString(n)||(e=n||{},n="default"),this.inline=new hEe,this.block=new _Ee,this.core=new pEe,this.renderer=new uEe,this.linkify=new fEe,this.validateLink=EEe,this.normalizeLink=yEe,this.normalizeLinkText=vEe,this.utils=Nl,this.helpers=Nl.assign({},dEe),this.options={},this.configure(n),e&&this.set(e)}xs.prototype.set=function(n){return Nl.assign(this.options,n),this};xs.prototype.configure=function(n){var e=this,t;if(Nl.isString(n)&&(t=n,n=mEe[t],!n))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!n)throw new Error("Wrong `markdown-it` preset, can't be empty");return n.options&&e.set(n.options),n.components&&Object.keys(n.components).forEach(function(s){n.components[s].rules&&e[s].ruler.enableOnly(n.components[s].rules),n.components[s].rules2&&e[s].ruler2.enableOnly(n.components[s].rules2)}),this};xs.prototype.enable=function(n,e){var t=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(i){t=t.concat(this[i].ruler.enable(n,!0))},this),t=t.concat(this.inline.ruler2.enable(n,!0));var s=n.filter(function(i){return t.indexOf(i)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};xs.prototype.disable=function(n,e){var t=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(i){t=t.concat(this[i].ruler.disable(n,!0))},this),t=t.concat(this.inline.ruler2.disable(n,!0));var s=n.filter(function(i){return t.indexOf(i)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};xs.prototype.use=function(n){var e=[this].concat(Array.prototype.slice.call(arguments,1));return n.apply(n,e),this};xs.prototype.parse=function(n,e){if(typeof n!="string")throw new Error("Input data should be a String");var t=new this.core.State(n,this,e);return this.core.process(t),t.tokens};xs.prototype.render=function(n,e){return e=e||{},this.renderer.render(this.parse(n,e),this.options,e)};xs.prototype.parseInline=function(n,e){var t=new this.core.State(n,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens};xs.prototype.renderInline=function(n,e){return e=e||{},this.renderer.render(this.parseInline(n,e),this.options,e)};var SEe=xs,TEe=SEe;const xEe=Tr(TEe),CEe="😀",wEe="😃",REe="😄",AEe="😁",NEe="😆",OEe="😆",MEe="😅",IEe="🤣",kEe="😂",DEe="🙂",LEe="🙃",PEe="😉",FEe="😊",UEe="😇",BEe="🥰",GEe="😍",VEe="🤩",zEe="😘",HEe="😗",qEe="☺️",$Ee="😚",YEe="😙",WEe="🥲",KEe="😋",jEe="😛",QEe="😜",XEe="🤪",ZEe="😝",JEe="🤑",eye="🤗",tye="🤭",nye="🤫",sye="🤔",iye="🤐",rye="🤨",oye="😐",aye="😑",lye="😶",cye="😏",dye="😒",uye="🙄",pye="😬",_ye="🤥",hye="😌",fye="😔",mye="😪",gye="🤤",bye="😴",Eye="😷",yye="🤒",vye="🤕",Sye="🤢",Tye="🤮",xye="🤧",Cye="🥵",wye="🥶",Rye="🥴",Aye="😵",Nye="🤯",Oye="🤠",Mye="🥳",Iye="🥸",kye="😎",Dye="🤓",Lye="🧐",Pye="😕",Fye="😟",Uye="🙁",Bye="☹️",Gye="😮",Vye="😯",zye="😲",Hye="😳",qye="🥺",$ye="😦",Yye="😧",Wye="😨",Kye="😰",jye="😥",Qye="😢",Xye="😭",Zye="😱",Jye="😖",eve="😣",tve="😞",nve="😓",sve="😩",ive="😫",rve="🥱",ove="😤",ave="😡",lve="😡",cve="😠",dve="🤬",uve="😈",pve="👿",_ve="💀",hve="☠️",fve="💩",mve="💩",gve="💩",bve="🤡",Eve="👹",yve="👺",vve="👻",Sve="👽",Tve="👾",xve="🤖",Cve="😺",wve="😸",Rve="😹",Ave="😻",Nve="😼",Ove="😽",Mve="🙀",Ive="😿",kve="😾",Dve="🙈",Lve="🙉",Pve="🙊",Fve="💋",Uve="💌",Bve="💘",Gve="💝",Vve="💖",zve="💗",Hve="💓",qve="💞",$ve="💕",Yve="💟",Wve="❣️",Kve="💔",jve="❤️",Qve="🧡",Xve="💛",Zve="💚",Jve="💙",e0e="💜",t0e="🤎",n0e="🖤",s0e="🤍",i0e="💢",r0e="💥",o0e="💥",a0e="💫",l0e="💦",c0e="💨",d0e="🕳️",u0e="💣",p0e="💬",_0e="👁️‍🗨️",h0e="🗨️",f0e="🗯️",m0e="💭",g0e="💤",b0e="👋",E0e="🤚",y0e="🖐️",v0e="✋",S0e="✋",T0e="🖖",x0e="👌",C0e="🤌",w0e="🤏",R0e="✌️",A0e="🤞",N0e="🤟",O0e="🤘",M0e="🤙",I0e="👈",k0e="👉",D0e="👆",L0e="🖕",P0e="🖕",F0e="👇",U0e="☝️",B0e="👍",G0e="👎",V0e="✊",z0e="✊",H0e="👊",q0e="👊",$0e="👊",Y0e="🤛",W0e="🤜",K0e="👏",j0e="🙌",Q0e="👐",X0e="🤲",Z0e="🤝",J0e="🙏",eSe="✍️",tSe="💅",nSe="🤳",sSe="💪",iSe="🦾",rSe="🦿",oSe="🦵",aSe="🦶",lSe="👂",cSe="🦻",dSe="👃",uSe="🧠",pSe="🫀",_Se="🫁",hSe="🦷",fSe="🦴",mSe="👀",gSe="👁️",bSe="👅",ESe="👄",ySe="👶",vSe="🧒",SSe="👦",TSe="👧",xSe="🧑",CSe="👱",wSe="👨",RSe="🧔",ASe="👨‍🦰",NSe="👨‍🦱",OSe="👨‍🦳",MSe="👨‍🦲",ISe="👩",kSe="👩‍🦰",DSe="🧑‍🦰",LSe="👩‍🦱",PSe="🧑‍🦱",FSe="👩‍🦳",USe="🧑‍🦳",BSe="👩‍🦲",GSe="🧑‍🦲",VSe="👱‍♀️",zSe="👱‍♀️",HSe="👱‍♂️",qSe="🧓",$Se="👴",YSe="👵",WSe="🙍",KSe="🙍‍♂️",jSe="🙍‍♀️",QSe="🙎",XSe="🙎‍♂️",ZSe="🙎‍♀️",JSe="🙅",eTe="🙅‍♂️",tTe="🙅‍♂️",nTe="🙅‍♀️",sTe="🙅‍♀️",iTe="🙆",rTe="🙆‍♂️",oTe="🙆‍♀️",aTe="💁",lTe="💁",cTe="💁‍♂️",dTe="💁‍♂️",uTe="💁‍♀️",pTe="💁‍♀️",_Te="🙋",hTe="🙋‍♂️",fTe="🙋‍♀️",mTe="🧏",gTe="🧏‍♂️",bTe="🧏‍♀️",ETe="🙇",yTe="🙇‍♂️",vTe="🙇‍♀️",STe="🤦",TTe="🤦‍♂️",xTe="🤦‍♀️",CTe="🤷",wTe="🤷‍♂️",RTe="🤷‍♀️",ATe="🧑‍⚕️",NTe="👨‍⚕️",OTe="👩‍⚕️",MTe="🧑‍🎓",ITe="👨‍🎓",kTe="👩‍🎓",DTe="🧑‍🏫",LTe="👨‍🏫",PTe="👩‍🏫",FTe="🧑‍⚖️",UTe="👨‍⚖️",BTe="👩‍⚖️",GTe="🧑‍🌾",VTe="👨‍🌾",zTe="👩‍🌾",HTe="🧑‍🍳",qTe="👨‍🍳",$Te="👩‍🍳",YTe="🧑‍🔧",WTe="👨‍🔧",KTe="👩‍🔧",jTe="🧑‍🏭",QTe="👨‍🏭",XTe="👩‍🏭",ZTe="🧑‍💼",JTe="👨‍💼",exe="👩‍💼",txe="🧑‍🔬",nxe="👨‍🔬",sxe="👩‍🔬",ixe="🧑‍💻",rxe="👨‍💻",oxe="👩‍💻",axe="🧑‍🎤",lxe="👨‍🎤",cxe="👩‍🎤",dxe="🧑‍🎨",uxe="👨‍🎨",pxe="👩‍🎨",_xe="🧑‍✈️",hxe="👨‍✈️",fxe="👩‍✈️",mxe="🧑‍🚀",gxe="👨‍🚀",bxe="👩‍🚀",Exe="🧑‍🚒",yxe="👨‍🚒",vxe="👩‍🚒",Sxe="👮",Txe="👮",xxe="👮‍♂️",Cxe="👮‍♀️",wxe="🕵️",Rxe="🕵️‍♂️",Axe="🕵️‍♀️",Nxe="💂",Oxe="💂‍♂️",Mxe="💂‍♀️",Ixe="🥷",kxe="👷",Dxe="👷‍♂️",Lxe="👷‍♀️",Pxe="🤴",Fxe="👸",Uxe="👳",Bxe="👳‍♂️",Gxe="👳‍♀️",Vxe="👲",zxe="🧕",Hxe="🤵",qxe="🤵‍♂️",$xe="🤵‍♀️",Yxe="👰",Wxe="👰‍♂️",Kxe="👰‍♀️",jxe="👰‍♀️",Qxe="🤰",Xxe="🤱",Zxe="👩‍🍼",Jxe="👨‍🍼",e1e="🧑‍🍼",t1e="👼",n1e="🎅",s1e="🤶",i1e="🧑‍🎄",r1e="🦸",o1e="🦸‍♂️",a1e="🦸‍♀️",l1e="🦹",c1e="🦹‍♂️",d1e="🦹‍♀️",u1e="🧙",p1e="🧙‍♂️",_1e="🧙‍♀️",h1e="🧚",f1e="🧚‍♂️",m1e="🧚‍♀️",g1e="🧛",b1e="🧛‍♂️",E1e="🧛‍♀️",y1e="🧜",v1e="🧜‍♂️",S1e="🧜‍♀️",T1e="🧝",x1e="🧝‍♂️",C1e="🧝‍♀️",w1e="🧞",R1e="🧞‍♂️",A1e="🧞‍♀️",N1e="🧟",O1e="🧟‍♂️",M1e="🧟‍♀️",I1e="💆",k1e="💆‍♂️",D1e="💆‍♀️",L1e="💇",P1e="💇‍♂️",F1e="💇‍♀️",U1e="🚶",B1e="🚶‍♂️",G1e="🚶‍♀️",V1e="🧍",z1e="🧍‍♂️",H1e="🧍‍♀️",q1e="🧎",$1e="🧎‍♂️",Y1e="🧎‍♀️",W1e="🧑‍🦯",K1e="👨‍🦯",j1e="👩‍🦯",Q1e="🧑‍🦼",X1e="👨‍🦼",Z1e="👩‍🦼",J1e="🧑‍🦽",eCe="👨‍🦽",tCe="👩‍🦽",nCe="🏃",sCe="🏃",iCe="🏃‍♂️",rCe="🏃‍♀️",oCe="💃",aCe="💃",lCe="🕺",cCe="🕴️",dCe="👯",uCe="👯‍♂️",pCe="👯‍♀️",_Ce="🧖",hCe="🧖‍♂️",fCe="🧖‍♀️",mCe="🧗",gCe="🧗‍♂️",bCe="🧗‍♀️",ECe="🤺",yCe="🏇",vCe="⛷️",SCe="🏂",TCe="🏌️",xCe="🏌️‍♂️",CCe="🏌️‍♀️",wCe="🏄",RCe="🏄‍♂️",ACe="🏄‍♀️",NCe="🚣",OCe="🚣‍♂️",MCe="🚣‍♀️",ICe="🏊",kCe="🏊‍♂️",DCe="🏊‍♀️",LCe="⛹️",PCe="⛹️‍♂️",FCe="⛹️‍♂️",UCe="⛹️‍♀️",BCe="⛹️‍♀️",GCe="🏋️",VCe="🏋️‍♂️",zCe="🏋️‍♀️",HCe="🚴",qCe="🚴‍♂️",$Ce="🚴‍♀️",YCe="🚵",WCe="🚵‍♂️",KCe="🚵‍♀️",jCe="🤸",QCe="🤸‍♂️",XCe="🤸‍♀️",ZCe="🤼",JCe="🤼‍♂️",ewe="🤼‍♀️",twe="🤽",nwe="🤽‍♂️",swe="🤽‍♀️",iwe="🤾",rwe="🤾‍♂️",owe="🤾‍♀️",awe="🤹",lwe="🤹‍♂️",cwe="🤹‍♀️",dwe="🧘",uwe="🧘‍♂️",pwe="🧘‍♀️",_we="🛀",hwe="🛌",fwe="🧑‍🤝‍🧑",mwe="👭",gwe="👫",bwe="👬",Ewe="💏",ywe="👩‍❤️‍💋‍👨",vwe="👨‍❤️‍💋‍👨",Swe="👩‍❤️‍💋‍👩",Twe="💑",xwe="👩‍❤️‍👨",Cwe="👨‍❤️‍👨",wwe="👩‍❤️‍👩",Rwe="👪",Awe="👨‍👩‍👦",Nwe="👨‍👩‍👧",Owe="👨‍👩‍👧‍👦",Mwe="👨‍👩‍👦‍👦",Iwe="👨‍👩‍👧‍👧",kwe="👨‍👨‍👦",Dwe="👨‍👨‍👧",Lwe="👨‍👨‍👧‍👦",Pwe="👨‍👨‍👦‍👦",Fwe="👨‍👨‍👧‍👧",Uwe="👩‍👩‍👦",Bwe="👩‍👩‍👧",Gwe="👩‍👩‍👧‍👦",Vwe="👩‍👩‍👦‍👦",zwe="👩‍👩‍👧‍👧",Hwe="👨‍👦",qwe="👨‍👦‍👦",$we="👨‍👧",Ywe="👨‍👧‍👦",Wwe="👨‍👧‍👧",Kwe="👩‍👦",jwe="👩‍👦‍👦",Qwe="👩‍👧",Xwe="👩‍👧‍👦",Zwe="👩‍👧‍👧",Jwe="🗣️",eRe="👤",tRe="👥",nRe="🫂",sRe="👣",iRe="🐵",rRe="🐒",oRe="🦍",aRe="🦧",lRe="🐶",cRe="🐕",dRe="🦮",uRe="🐕‍🦺",pRe="🐩",_Re="🐺",hRe="🦊",fRe="🦝",mRe="🐱",gRe="🐈",bRe="🐈‍⬛",ERe="🦁",yRe="🐯",vRe="🐅",SRe="🐆",TRe="🐴",xRe="🐎",CRe="🦄",wRe="🦓",RRe="🦌",ARe="🦬",NRe="🐮",ORe="🐂",MRe="🐃",IRe="🐄",kRe="🐷",DRe="🐖",LRe="🐗",PRe="🐽",FRe="🐏",URe="🐑",BRe="🐐",GRe="🐪",VRe="🐫",zRe="🦙",HRe="🦒",qRe="🐘",$Re="🦣",YRe="🦏",WRe="🦛",KRe="🐭",jRe="🐁",QRe="🐀",XRe="🐹",ZRe="🐰",JRe="🐇",eAe="🐿️",tAe="🦫",nAe="🦔",sAe="🦇",iAe="🐻",rAe="🐻‍❄️",oAe="🐨",aAe="🐼",lAe="🦥",cAe="🦦",dAe="🦨",uAe="🦘",pAe="🦡",_Ae="🐾",hAe="🐾",fAe="🦃",mAe="🐔",gAe="🐓",bAe="🐣",EAe="🐤",yAe="🐥",vAe="🐦",SAe="🐧",TAe="🕊️",xAe="🦅",CAe="🦆",wAe="🦢",RAe="🦉",AAe="🦤",NAe="🪶",OAe="🦩",MAe="🦚",IAe="🦜",kAe="🐸",DAe="🐊",LAe="🐢",PAe="🦎",FAe="🐍",UAe="🐲",BAe="🐉",GAe="🦕",VAe="🐳",zAe="🐋",HAe="🐬",qAe="🐬",$Ae="🦭",YAe="🐟",WAe="🐠",KAe="🐡",jAe="🦈",QAe="🐙",XAe="🐚",ZAe="🐌",JAe="🦋",e2e="🐛",t2e="🐜",n2e="🐝",s2e="🐝",i2e="🪲",r2e="🐞",o2e="🦗",a2e="🪳",l2e="🕷️",c2e="🕸️",d2e="🦂",u2e="🦟",p2e="🪰",_2e="🪱",h2e="🦠",f2e="💐",m2e="🌸",g2e="💮",b2e="🏵️",E2e="🌹",y2e="🥀",v2e="🌺",S2e="🌻",T2e="🌼",x2e="🌷",C2e="🌱",w2e="🪴",R2e="🌲",A2e="🌳",N2e="🌴",O2e="🌵",M2e="🌾",I2e="🌿",k2e="☘️",D2e="🍀",L2e="🍁",P2e="🍂",F2e="🍃",U2e="🍇",B2e="🍈",G2e="🍉",V2e="🍊",z2e="🍊",H2e="🍊",q2e="🍋",$2e="🍌",Y2e="🍍",W2e="🥭",K2e="🍎",j2e="🍏",Q2e="🍐",X2e="🍑",Z2e="🍒",J2e="🍓",eNe="🫐",tNe="🥝",nNe="🍅",sNe="🫒",iNe="🥥",rNe="🥑",oNe="🍆",aNe="🥔",lNe="🥕",cNe="🌽",dNe="🌶️",uNe="🫑",pNe="🥒",_Ne="🥬",hNe="🥦",fNe="🧄",mNe="🧅",gNe="🍄",bNe="🥜",ENe="🌰",yNe="🍞",vNe="🥐",SNe="🥖",TNe="🫓",xNe="🥨",CNe="🥯",wNe="🥞",RNe="🧇",ANe="🧀",NNe="🍖",ONe="🍗",MNe="🥩",INe="🥓",kNe="🍔",DNe="🍟",LNe="🍕",PNe="🌭",FNe="🥪",UNe="🌮",BNe="🌯",GNe="🫔",VNe="🥙",zNe="🧆",HNe="🥚",qNe="🍳",$Ne="🥘",YNe="🍲",WNe="🫕",KNe="🥣",jNe="🥗",QNe="🍿",XNe="🧈",ZNe="🧂",JNe="🥫",eOe="🍱",tOe="🍘",nOe="🍙",sOe="🍚",iOe="🍛",rOe="🍜",oOe="🍝",aOe="🍠",lOe="🍢",cOe="🍣",dOe="🍤",uOe="🍥",pOe="🥮",_Oe="🍡",hOe="🥟",fOe="🥠",mOe="🥡",gOe="🦀",bOe="🦞",EOe="🦐",yOe="🦑",vOe="🦪",SOe="🍦",TOe="🍧",xOe="🍨",COe="🍩",wOe="🍪",ROe="🎂",AOe="🍰",NOe="🧁",OOe="🥧",MOe="🍫",IOe="🍬",kOe="🍭",DOe="🍮",LOe="🍯",POe="🍼",FOe="🥛",UOe="☕",BOe="🫖",GOe="🍵",VOe="🍶",zOe="🍾",HOe="🍷",qOe="🍸",$Oe="🍹",YOe="🍺",WOe="🍻",KOe="🥂",jOe="🥃",QOe="🥤",XOe="🧋",ZOe="🧃",JOe="🧉",eMe="🧊",tMe="🥢",nMe="🍽️",sMe="🍴",iMe="🥄",rMe="🔪",oMe="🔪",aMe="🏺",lMe="🌍",cMe="🌎",dMe="🌏",uMe="🌐",pMe="🗺️",_Me="🗾",hMe="🧭",fMe="🏔️",mMe="⛰️",gMe="🌋",bMe="🗻",EMe="🏕️",yMe="🏖️",vMe="🏜️",SMe="🏝️",TMe="🏞️",xMe="🏟️",CMe="🏛️",wMe="🏗️",RMe="🧱",AMe="🪨",NMe="🪵",OMe="🛖",MMe="🏘️",IMe="🏚️",kMe="🏠",DMe="🏡",LMe="🏢",PMe="🏣",FMe="🏤",UMe="🏥",BMe="🏦",GMe="🏨",VMe="🏩",zMe="🏪",HMe="🏫",qMe="🏬",$Me="🏭",YMe="🏯",WMe="🏰",KMe="💒",jMe="🗼",QMe="🗽",XMe="⛪",ZMe="🕌",JMe="🛕",eIe="🕍",tIe="⛩️",nIe="🕋",sIe="⛲",iIe="⛺",rIe="🌁",oIe="🌃",aIe="🏙️",lIe="🌄",cIe="🌅",dIe="🌆",uIe="🌇",pIe="🌉",_Ie="♨️",hIe="🎠",fIe="🎡",mIe="🎢",gIe="💈",bIe="🎪",EIe="🚂",yIe="🚃",vIe="🚄",SIe="🚅",TIe="🚆",xIe="🚇",CIe="🚈",wIe="🚉",RIe="🚊",AIe="🚝",NIe="🚞",OIe="🚋",MIe="🚌",IIe="🚍",kIe="🚎",DIe="🚐",LIe="🚑",PIe="🚒",FIe="🚓",UIe="🚔",BIe="🚕",GIe="🚖",VIe="🚗",zIe="🚗",HIe="🚘",qIe="🚙",$Ie="🛻",YIe="🚚",WIe="🚛",KIe="🚜",jIe="🏎️",QIe="🏍️",XIe="🛵",ZIe="🦽",JIe="🦼",eke="🛺",tke="🚲",nke="🛴",ske="🛹",ike="🛼",rke="🚏",oke="🛣️",ake="🛤️",lke="🛢️",cke="⛽",dke="🚨",uke="🚥",pke="🚦",_ke="🛑",hke="🚧",fke="⚓",mke="⛵",gke="⛵",bke="🛶",Eke="🚤",yke="🛳️",vke="⛴️",Ske="🛥️",Tke="🚢",xke="✈️",Cke="🛩️",wke="🛫",Rke="🛬",Ake="🪂",Nke="💺",Oke="🚁",Mke="🚟",Ike="🚠",kke="🚡",Dke="🛰️",Lke="🚀",Pke="🛸",Fke="🛎️",Uke="🧳",Bke="⌛",Gke="⏳",Vke="⌚",zke="⏰",Hke="⏱️",qke="⏲️",$ke="🕰️",Yke="🕛",Wke="🕧",Kke="🕐",jke="🕜",Qke="🕑",Xke="🕝",Zke="🕒",Jke="🕞",eDe="🕓",tDe="🕟",nDe="🕔",sDe="🕠",iDe="🕕",rDe="🕡",oDe="🕖",aDe="🕢",lDe="🕗",cDe="🕣",dDe="🕘",uDe="🕤",pDe="🕙",_De="🕥",hDe="🕚",fDe="🕦",mDe="🌑",gDe="🌒",bDe="🌓",EDe="🌔",yDe="🌔",vDe="🌕",SDe="🌖",TDe="🌗",xDe="🌘",CDe="🌙",wDe="🌚",RDe="🌛",ADe="🌜",NDe="🌡️",ODe="☀️",MDe="🌝",IDe="🌞",kDe="🪐",DDe="⭐",LDe="🌟",PDe="🌠",FDe="🌌",UDe="☁️",BDe="⛅",GDe="⛈️",VDe="🌤️",zDe="🌥️",HDe="🌦️",qDe="🌧️",$De="🌨️",YDe="🌩️",WDe="🌪️",KDe="🌫️",jDe="🌬️",QDe="🌀",XDe="🌈",ZDe="🌂",JDe="☂️",eLe="☔",tLe="⛱️",nLe="⚡",sLe="❄️",iLe="☃️",rLe="⛄",oLe="☄️",aLe="🔥",lLe="💧",cLe="🌊",dLe="🎃",uLe="🎄",pLe="🎆",_Le="🎇",hLe="🧨",fLe="✨",mLe="🎈",gLe="🎉",bLe="🎊",ELe="🎋",yLe="🎍",vLe="🎎",SLe="🎏",TLe="🎐",xLe="🎑",CLe="🧧",wLe="🎀",RLe="🎁",ALe="🎗️",NLe="🎟️",OLe="🎫",MLe="🎖️",ILe="🏆",kLe="🏅",DLe="⚽",LLe="⚾",PLe="🥎",FLe="🏀",ULe="🏐",BLe="🏈",GLe="🏉",VLe="🎾",zLe="🥏",HLe="🎳",qLe="🏏",$Le="🏑",YLe="🏒",WLe="🥍",KLe="🏓",jLe="🏸",QLe="🥊",XLe="🥋",ZLe="🥅",JLe="⛳",ePe="⛸️",tPe="🎣",nPe="🤿",sPe="🎽",iPe="🎿",rPe="🛷",oPe="🥌",aPe="🎯",lPe="🪀",cPe="🪁",dPe="🔮",uPe="🪄",pPe="🧿",_Pe="🎮",hPe="🕹️",fPe="🎰",mPe="🎲",gPe="🧩",bPe="🧸",EPe="🪅",yPe="🪆",vPe="♠️",SPe="♥️",TPe="♦️",xPe="♣️",CPe="♟️",wPe="🃏",RPe="🀄",APe="🎴",NPe="🎭",OPe="🖼️",MPe="🎨",IPe="🧵",kPe="🪡",DPe="🧶",LPe="🪢",PPe="👓",FPe="🕶️",UPe="🥽",BPe="🥼",GPe="🦺",VPe="👔",zPe="👕",HPe="👕",qPe="👖",$Pe="🧣",YPe="🧤",WPe="🧥",KPe="🧦",jPe="👗",QPe="👘",XPe="🥻",ZPe="🩱",JPe="🩲",e3e="🩳",t3e="👙",n3e="👚",s3e="👛",i3e="👜",r3e="👝",o3e="🛍️",a3e="🎒",l3e="🩴",c3e="👞",d3e="👞",u3e="👟",p3e="🥾",_3e="🥿",h3e="👠",f3e="👡",m3e="🩰",g3e="👢",b3e="👑",E3e="👒",y3e="🎩",v3e="🎓",S3e="🧢",T3e="🪖",x3e="⛑️",C3e="📿",w3e="💄",R3e="💍",A3e="💎",N3e="🔇",O3e="🔈",M3e="🔉",I3e="🔊",k3e="📢",D3e="📣",L3e="📯",P3e="🔔",F3e="🔕",U3e="🎼",B3e="🎵",G3e="🎶",V3e="🎙️",z3e="🎚️",H3e="🎛️",q3e="🎤",$3e="🎧",Y3e="📻",W3e="🎷",K3e="🪗",j3e="🎸",Q3e="🎹",X3e="🎺",Z3e="🎻",J3e="🪕",eFe="🥁",tFe="🪘",nFe="📱",sFe="📲",iFe="☎️",rFe="☎️",oFe="📞",aFe="📟",lFe="📠",cFe="🔋",dFe="🔌",uFe="💻",pFe="🖥️",_Fe="🖨️",hFe="⌨️",fFe="🖱️",mFe="🖲️",gFe="💽",bFe="💾",EFe="💿",yFe="📀",vFe="🧮",SFe="🎥",TFe="🎞️",xFe="📽️",CFe="🎬",wFe="📺",RFe="📷",AFe="📸",NFe="📹",OFe="📼",MFe="🔍",IFe="🔎",kFe="🕯️",DFe="💡",LFe="🔦",PFe="🏮",FFe="🏮",UFe="🪔",BFe="📔",GFe="📕",VFe="📖",zFe="📖",HFe="📗",qFe="📘",$Fe="📙",YFe="📚",WFe="📓",KFe="📒",jFe="📃",QFe="📜",XFe="📄",ZFe="📰",JFe="🗞️",eUe="📑",tUe="🔖",nUe="🏷️",sUe="💰",iUe="🪙",rUe="💴",oUe="💵",aUe="💶",lUe="💷",cUe="💸",dUe="💳",uUe="🧾",pUe="💹",_Ue="✉️",hUe="📧",fUe="📨",mUe="📩",gUe="📤",bUe="📥",EUe="📫",yUe="📪",vUe="📬",SUe="📭",TUe="📮",xUe="🗳️",CUe="✏️",wUe="✒️",RUe="🖋️",AUe="🖊️",NUe="🖌️",OUe="🖍️",MUe="📝",IUe="📝",kUe="💼",DUe="📁",LUe="📂",PUe="🗂️",FUe="📅",UUe="📆",BUe="🗒️",GUe="🗓️",VUe="📇",zUe="📈",HUe="📉",qUe="📊",$Ue="📋",YUe="📌",WUe="📍",KUe="📎",jUe="🖇️",QUe="📏",XUe="📐",ZUe="✂️",JUe="🗃️",e4e="🗄️",t4e="🗑️",n4e="🔒",s4e="🔓",i4e="🔏",r4e="🔐",o4e="🔑",a4e="🗝️",l4e="🔨",c4e="🪓",d4e="⛏️",u4e="⚒️",p4e="🛠️",_4e="🗡️",h4e="⚔️",f4e="🔫",m4e="🪃",g4e="🏹",b4e="🛡️",E4e="🪚",y4e="🔧",v4e="🪛",S4e="🔩",T4e="⚙️",x4e="🗜️",C4e="⚖️",w4e="🦯",R4e="🔗",A4e="⛓️",N4e="🪝",O4e="🧰",M4e="🧲",I4e="🪜",k4e="⚗️",D4e="🧪",L4e="🧫",P4e="🧬",F4e="🔬",U4e="🔭",B4e="📡",G4e="💉",V4e="🩸",z4e="💊",H4e="🩹",q4e="🩺",$4e="🚪",Y4e="🛗",W4e="🪞",K4e="🪟",j4e="🛏️",Q4e="🛋️",X4e="🪑",Z4e="🚽",J4e="🪠",eBe="🚿",tBe="🛁",nBe="🪤",sBe="🪒",iBe="🧴",rBe="🧷",oBe="🧹",aBe="🧺",lBe="🧻",cBe="🪣",dBe="🧼",uBe="🪥",pBe="🧽",_Be="🧯",hBe="🛒",fBe="🚬",mBe="⚰️",gBe="🪦",bBe="⚱️",EBe="🗿",yBe="🪧",vBe="🏧",SBe="🚮",TBe="🚰",xBe="♿",CBe="🚹",wBe="🚺",RBe="🚻",ABe="🚼",NBe="🚾",OBe="🛂",MBe="🛃",IBe="🛄",kBe="🛅",DBe="⚠️",LBe="🚸",PBe="⛔",FBe="🚫",UBe="🚳",BBe="🚭",GBe="🚯",VBe="🚷",zBe="📵",HBe="🔞",qBe="☢️",$Be="☣️",YBe="⬆️",WBe="↗️",KBe="➡️",jBe="↘️",QBe="⬇️",XBe="↙️",ZBe="⬅️",JBe="↖️",e5e="↕️",t5e="↔️",n5e="↩️",s5e="↪️",i5e="⤴️",r5e="⤵️",o5e="🔃",a5e="🔄",l5e="🔙",c5e="🔚",d5e="🔛",u5e="🔜",p5e="🔝",_5e="🛐",h5e="⚛️",f5e="🕉️",m5e="✡️",g5e="☸️",b5e="☯️",E5e="✝️",y5e="☦️",v5e="☪️",S5e="☮️",T5e="🕎",x5e="🔯",C5e="♈",w5e="♉",R5e="♊",A5e="♋",N5e="♌",O5e="♍",M5e="♎",I5e="♏",k5e="♐",D5e="♑",L5e="♒",P5e="♓",F5e="⛎",U5e="🔀",B5e="🔁",G5e="🔂",V5e="▶️",z5e="⏩",H5e="⏭️",q5e="⏯️",$5e="◀️",Y5e="⏪",W5e="⏮️",K5e="🔼",j5e="⏫",Q5e="🔽",X5e="⏬",Z5e="⏸️",J5e="⏹️",e6e="⏺️",t6e="⏏️",n6e="🎦",s6e="🔅",i6e="🔆",r6e="📶",o6e="📳",a6e="📴",l6e="♀️",c6e="♂️",d6e="⚧️",u6e="✖️",p6e="➕",_6e="➖",h6e="➗",f6e="♾️",m6e="‼️",g6e="⁉️",b6e="❓",E6e="❔",y6e="❕",v6e="❗",S6e="❗",T6e="〰️",x6e="💱",C6e="💲",w6e="⚕️",R6e="♻️",A6e="⚜️",N6e="🔱",O6e="📛",M6e="🔰",I6e="⭕",k6e="✅",D6e="☑️",L6e="✔️",P6e="❌",F6e="❎",U6e="➰",B6e="➿",G6e="〽️",V6e="✳️",z6e="✴️",H6e="❇️",q6e="©️",$6e="®️",Y6e="™️",W6e="#️⃣",K6e="*️⃣",j6e="0️⃣",Q6e="1️⃣",X6e="2️⃣",Z6e="3️⃣",J6e="4️⃣",eGe="5️⃣",tGe="6️⃣",nGe="7️⃣",sGe="8️⃣",iGe="9️⃣",rGe="🔟",oGe="🔠",aGe="🔡",lGe="🔣",cGe="🔤",dGe="🅰️",uGe="🆎",pGe="🅱️",_Ge="🆑",hGe="🆒",fGe="🆓",mGe="ℹ️",gGe="🆔",bGe="Ⓜ️",EGe="🆖",yGe="🅾️",vGe="🆗",SGe="🅿️",TGe="🆘",xGe="🆙",CGe="🆚",wGe="🈁",RGe="🈂️",AGe="🉐",NGe="🉑",OGe="㊗️",MGe="㊙️",IGe="🈵",kGe="🔴",DGe="🟠",LGe="🟡",PGe="🟢",FGe="🔵",UGe="🟣",BGe="🟤",GGe="⚫",VGe="⚪",zGe="🟥",HGe="🟧",qGe="🟨",$Ge="🟩",YGe="🟦",WGe="🟪",KGe="🟫",jGe="⬛",QGe="⬜",XGe="◼️",ZGe="◻️",JGe="◾",e8e="◽",t8e="▪️",n8e="▫️",s8e="🔶",i8e="🔷",r8e="🔸",o8e="🔹",a8e="🔺",l8e="🔻",c8e="💠",d8e="🔘",u8e="🔳",p8e="🔲",_8e="🏁",h8e="🚩",f8e="🎌",m8e="🏴",g8e="🏳️",b8e="🏳️‍🌈",E8e="🏳️‍⚧️",y8e="🏴‍☠️",v8e="🇦🇨",S8e="🇦🇩",T8e="🇦🇪",x8e="🇦🇫",C8e="🇦🇬",w8e="🇦🇮",R8e="🇦🇱",A8e="🇦🇲",N8e="🇦🇴",O8e="🇦🇶",M8e="🇦🇷",I8e="🇦🇸",k8e="🇦🇹",D8e="🇦🇺",L8e="🇦🇼",P8e="🇦🇽",F8e="🇦🇿",U8e="🇧🇦",B8e="🇧🇧",G8e="🇧🇩",V8e="🇧🇪",z8e="🇧🇫",H8e="🇧🇬",q8e="🇧🇭",$8e="🇧🇮",Y8e="🇧🇯",W8e="🇧🇱",K8e="🇧🇲",j8e="🇧🇳",Q8e="🇧🇴",X8e="🇧🇶",Z8e="🇧🇷",J8e="🇧🇸",e9e="🇧🇹",t9e="🇧🇻",n9e="🇧🇼",s9e="🇧🇾",i9e="🇧🇿",r9e="🇨🇦",o9e="🇨🇨",a9e="🇨🇩",l9e="🇨🇫",c9e="🇨🇬",d9e="🇨🇭",u9e="🇨🇮",p9e="🇨🇰",_9e="🇨🇱",h9e="🇨🇲",f9e="🇨🇳",m9e="🇨🇴",g9e="🇨🇵",b9e="🇨🇷",E9e="🇨🇺",y9e="🇨🇻",v9e="🇨🇼",S9e="🇨🇽",T9e="🇨🇾",x9e="🇨🇿",C9e="🇩🇪",w9e="🇩🇬",R9e="🇩🇯",A9e="🇩🇰",N9e="🇩🇲",O9e="🇩🇴",M9e="🇩🇿",I9e="🇪🇦",k9e="🇪🇨",D9e="🇪🇪",L9e="🇪🇬",P9e="🇪🇭",F9e="🇪🇷",U9e="🇪🇸",B9e="🇪🇹",G9e="🇪🇺",V9e="🇪🇺",z9e="🇫🇮",H9e="🇫🇯",q9e="🇫🇰",$9e="🇫🇲",Y9e="🇫🇴",W9e="🇫🇷",K9e="🇬🇦",j9e="🇬🇧",Q9e="🇬🇧",X9e="🇬🇩",Z9e="🇬🇪",J9e="🇬🇫",eVe="🇬🇬",tVe="🇬🇭",nVe="🇬🇮",sVe="🇬🇱",iVe="🇬🇲",rVe="🇬🇳",oVe="🇬🇵",aVe="🇬🇶",lVe="🇬🇷",cVe="🇬🇸",dVe="🇬🇹",uVe="🇬🇺",pVe="🇬🇼",_Ve="🇬🇾",hVe="🇭🇰",fVe="🇭🇲",mVe="🇭🇳",gVe="🇭🇷",bVe="🇭🇹",EVe="🇭🇺",yVe="🇮🇨",vVe="🇮🇩",SVe="🇮🇪",TVe="🇮🇱",xVe="🇮🇲",CVe="🇮🇳",wVe="🇮🇴",RVe="🇮🇶",AVe="🇮🇷",NVe="🇮🇸",OVe="🇮🇹",MVe="🇯🇪",IVe="🇯🇲",kVe="🇯🇴",DVe="🇯🇵",LVe="🇰🇪",PVe="🇰🇬",FVe="🇰🇭",UVe="🇰🇮",BVe="🇰🇲",GVe="🇰🇳",VVe="🇰🇵",zVe="🇰🇷",HVe="🇰🇼",qVe="🇰🇾",$Ve="🇰🇿",YVe="🇱🇦",WVe="🇱🇧",KVe="🇱🇨",jVe="🇱🇮",QVe="🇱🇰",XVe="🇱🇷",ZVe="🇱🇸",JVe="🇱🇹",eze="🇱🇺",tze="🇱🇻",nze="🇱🇾",sze="🇲🇦",ize="🇲🇨",rze="🇲🇩",oze="🇲🇪",aze="🇲🇫",lze="🇲🇬",cze="🇲🇭",dze="🇲🇰",uze="🇲🇱",pze="🇲🇲",_ze="🇲🇳",hze="🇲🇴",fze="🇲🇵",mze="🇲🇶",gze="🇲🇷",bze="🇲🇸",Eze="🇲🇹",yze="🇲🇺",vze="🇲🇻",Sze="🇲🇼",Tze="🇲🇽",xze="🇲🇾",Cze="🇲🇿",wze="🇳🇦",Rze="🇳🇨",Aze="🇳🇪",Nze="🇳🇫",Oze="🇳🇬",Mze="🇳🇮",Ize="🇳🇱",kze="🇳🇴",Dze="🇳🇵",Lze="🇳🇷",Pze="🇳🇺",Fze="🇳🇿",Uze="🇴🇲",Bze="🇵🇦",Gze="🇵🇪",Vze="🇵🇫",zze="🇵🇬",Hze="🇵🇭",qze="🇵🇰",$ze="🇵🇱",Yze="🇵🇲",Wze="🇵🇳",Kze="🇵🇷",jze="🇵🇸",Qze="🇵🇹",Xze="🇵🇼",Zze="🇵🇾",Jze="🇶🇦",eHe="🇷🇪",tHe="🇷🇴",nHe="🇷🇸",sHe="🇷🇺",iHe="🇷🇼",rHe="🇸🇦",oHe="🇸🇧",aHe="🇸🇨",lHe="🇸🇩",cHe="🇸🇪",dHe="🇸🇬",uHe="🇸🇭",pHe="🇸🇮",_He="🇸🇯",hHe="🇸🇰",fHe="🇸🇱",mHe="🇸🇲",gHe="🇸🇳",bHe="🇸🇴",EHe="🇸🇷",yHe="🇸🇸",vHe="🇸🇹",SHe="🇸🇻",THe="🇸🇽",xHe="🇸🇾",CHe="🇸🇿",wHe="🇹🇦",RHe="🇹🇨",AHe="🇹🇩",NHe="🇹🇫",OHe="🇹🇬",MHe="🇹🇭",IHe="🇹🇯",kHe="🇹🇰",DHe="🇹🇱",LHe="🇹🇲",PHe="🇹🇳",FHe="🇹🇴",UHe="🇹🇷",BHe="🇹🇹",GHe="🇹🇻",VHe="🇹🇼",zHe="🇹🇿",HHe="🇺🇦",qHe="🇺🇬",$He="🇺🇲",YHe="🇺🇳",WHe="🇺🇸",KHe="🇺🇾",jHe="🇺🇿",QHe="🇻🇦",XHe="🇻🇨",ZHe="🇻🇪",JHe="🇻🇬",e7e="🇻🇮",t7e="🇻🇳",n7e="🇻🇺",s7e="🇼🇫",i7e="🇼🇸",r7e="🇽🇰",o7e="🇾🇪",a7e="🇾🇹",l7e="🇿🇦",c7e="🇿🇲",d7e="🇿🇼",u7e="🏴󠁧󠁢󠁥󠁮󠁧󠁿",p7e="🏴󠁧󠁢󠁳󠁣󠁴󠁿",_7e="🏴󠁧󠁢󠁷󠁬󠁳󠁿",h7e={100:"💯",1234:"🔢",grinning:CEe,smiley:wEe,smile:REe,grin:AEe,laughing:NEe,satisfied:OEe,sweat_smile:MEe,rofl:IEe,joy:kEe,slightly_smiling_face:DEe,upside_down_face:LEe,wink:PEe,blush:FEe,innocent:UEe,smiling_face_with_three_hearts:BEe,heart_eyes:GEe,star_struck:VEe,kissing_heart:zEe,kissing:HEe,relaxed:qEe,kissing_closed_eyes:$Ee,kissing_smiling_eyes:YEe,smiling_face_with_tear:WEe,yum:KEe,stuck_out_tongue:jEe,stuck_out_tongue_winking_eye:QEe,zany_face:XEe,stuck_out_tongue_closed_eyes:ZEe,money_mouth_face:JEe,hugs:eye,hand_over_mouth:tye,shushing_face:nye,thinking:sye,zipper_mouth_face:iye,raised_eyebrow:rye,neutral_face:oye,expressionless:aye,no_mouth:lye,smirk:cye,unamused:dye,roll_eyes:uye,grimacing:pye,lying_face:_ye,relieved:hye,pensive:fye,sleepy:mye,drooling_face:gye,sleeping:bye,mask:Eye,face_with_thermometer:yye,face_with_head_bandage:vye,nauseated_face:Sye,vomiting_face:Tye,sneezing_face:xye,hot_face:Cye,cold_face:wye,woozy_face:Rye,dizzy_face:Aye,exploding_head:Nye,cowboy_hat_face:Oye,partying_face:Mye,disguised_face:Iye,sunglasses:kye,nerd_face:Dye,monocle_face:Lye,confused:Pye,worried:Fye,slightly_frowning_face:Uye,frowning_face:Bye,open_mouth:Gye,hushed:Vye,astonished:zye,flushed:Hye,pleading_face:qye,frowning:$ye,anguished:Yye,fearful:Wye,cold_sweat:Kye,disappointed_relieved:jye,cry:Qye,sob:Xye,scream:Zye,confounded:Jye,persevere:eve,disappointed:tve,sweat:nve,weary:sve,tired_face:ive,yawning_face:rve,triumph:ove,rage:ave,pout:lve,angry:cve,cursing_face:dve,smiling_imp:uve,imp:pve,skull:_ve,skull_and_crossbones:hve,hankey:fve,poop:mve,shit:gve,clown_face:bve,japanese_ogre:Eve,japanese_goblin:yve,ghost:vve,alien:Sve,space_invader:Tve,robot:xve,smiley_cat:Cve,smile_cat:wve,joy_cat:Rve,heart_eyes_cat:Ave,smirk_cat:Nve,kissing_cat:Ove,scream_cat:Mve,crying_cat_face:Ive,pouting_cat:kve,see_no_evil:Dve,hear_no_evil:Lve,speak_no_evil:Pve,kiss:Fve,love_letter:Uve,cupid:Bve,gift_heart:Gve,sparkling_heart:Vve,heartpulse:zve,heartbeat:Hve,revolving_hearts:qve,two_hearts:$ve,heart_decoration:Yve,heavy_heart_exclamation:Wve,broken_heart:Kve,heart:jve,orange_heart:Qve,yellow_heart:Xve,green_heart:Zve,blue_heart:Jve,purple_heart:e0e,brown_heart:t0e,black_heart:n0e,white_heart:s0e,anger:i0e,boom:r0e,collision:o0e,dizzy:a0e,sweat_drops:l0e,dash:c0e,hole:d0e,bomb:u0e,speech_balloon:p0e,eye_speech_bubble:_0e,left_speech_bubble:h0e,right_anger_bubble:f0e,thought_balloon:m0e,zzz:g0e,wave:b0e,raised_back_of_hand:E0e,raised_hand_with_fingers_splayed:y0e,hand:v0e,raised_hand:S0e,vulcan_salute:T0e,ok_hand:x0e,pinched_fingers:C0e,pinching_hand:w0e,v:R0e,crossed_fingers:A0e,love_you_gesture:N0e,metal:O0e,call_me_hand:M0e,point_left:I0e,point_right:k0e,point_up_2:D0e,middle_finger:L0e,fu:P0e,point_down:F0e,point_up:U0e,"+1":"👍",thumbsup:B0e,"-1":"👎",thumbsdown:G0e,fist_raised:V0e,fist:z0e,fist_oncoming:H0e,facepunch:q0e,punch:$0e,fist_left:Y0e,fist_right:W0e,clap:K0e,raised_hands:j0e,open_hands:Q0e,palms_up_together:X0e,handshake:Z0e,pray:J0e,writing_hand:eSe,nail_care:tSe,selfie:nSe,muscle:sSe,mechanical_arm:iSe,mechanical_leg:rSe,leg:oSe,foot:aSe,ear:lSe,ear_with_hearing_aid:cSe,nose:dSe,brain:uSe,anatomical_heart:pSe,lungs:_Se,tooth:hSe,bone:fSe,eyes:mSe,eye:gSe,tongue:bSe,lips:ESe,baby:ySe,child:vSe,boy:SSe,girl:TSe,adult:xSe,blond_haired_person:CSe,man:wSe,bearded_person:RSe,red_haired_man:ASe,curly_haired_man:NSe,white_haired_man:OSe,bald_man:MSe,woman:ISe,red_haired_woman:kSe,person_red_hair:DSe,curly_haired_woman:LSe,person_curly_hair:PSe,white_haired_woman:FSe,person_white_hair:USe,bald_woman:BSe,person_bald:GSe,blond_haired_woman:VSe,blonde_woman:zSe,blond_haired_man:HSe,older_adult:qSe,older_man:$Se,older_woman:YSe,frowning_person:WSe,frowning_man:KSe,frowning_woman:jSe,pouting_face:QSe,pouting_man:XSe,pouting_woman:ZSe,no_good:JSe,no_good_man:eTe,ng_man:tTe,no_good_woman:nTe,ng_woman:sTe,ok_person:iTe,ok_man:rTe,ok_woman:oTe,tipping_hand_person:aTe,information_desk_person:lTe,tipping_hand_man:cTe,sassy_man:dTe,tipping_hand_woman:uTe,sassy_woman:pTe,raising_hand:_Te,raising_hand_man:hTe,raising_hand_woman:fTe,deaf_person:mTe,deaf_man:gTe,deaf_woman:bTe,bow:ETe,bowing_man:yTe,bowing_woman:vTe,facepalm:STe,man_facepalming:TTe,woman_facepalming:xTe,shrug:CTe,man_shrugging:wTe,woman_shrugging:RTe,health_worker:ATe,man_health_worker:NTe,woman_health_worker:OTe,student:MTe,man_student:ITe,woman_student:kTe,teacher:DTe,man_teacher:LTe,woman_teacher:PTe,judge:FTe,man_judge:UTe,woman_judge:BTe,farmer:GTe,man_farmer:VTe,woman_farmer:zTe,cook:HTe,man_cook:qTe,woman_cook:$Te,mechanic:YTe,man_mechanic:WTe,woman_mechanic:KTe,factory_worker:jTe,man_factory_worker:QTe,woman_factory_worker:XTe,office_worker:ZTe,man_office_worker:JTe,woman_office_worker:exe,scientist:txe,man_scientist:nxe,woman_scientist:sxe,technologist:ixe,man_technologist:rxe,woman_technologist:oxe,singer:axe,man_singer:lxe,woman_singer:cxe,artist:dxe,man_artist:uxe,woman_artist:pxe,pilot:_xe,man_pilot:hxe,woman_pilot:fxe,astronaut:mxe,man_astronaut:gxe,woman_astronaut:bxe,firefighter:Exe,man_firefighter:yxe,woman_firefighter:vxe,police_officer:Sxe,cop:Txe,policeman:xxe,policewoman:Cxe,detective:wxe,male_detective:Rxe,female_detective:Axe,guard:Nxe,guardsman:Oxe,guardswoman:Mxe,ninja:Ixe,construction_worker:kxe,construction_worker_man:Dxe,construction_worker_woman:Lxe,prince:Pxe,princess:Fxe,person_with_turban:Uxe,man_with_turban:Bxe,woman_with_turban:Gxe,man_with_gua_pi_mao:Vxe,woman_with_headscarf:zxe,person_in_tuxedo:Hxe,man_in_tuxedo:qxe,woman_in_tuxedo:$xe,person_with_veil:Yxe,man_with_veil:Wxe,woman_with_veil:Kxe,bride_with_veil:jxe,pregnant_woman:Qxe,breast_feeding:Xxe,woman_feeding_baby:Zxe,man_feeding_baby:Jxe,person_feeding_baby:e1e,angel:t1e,santa:n1e,mrs_claus:s1e,mx_claus:i1e,superhero:r1e,superhero_man:o1e,superhero_woman:a1e,supervillain:l1e,supervillain_man:c1e,supervillain_woman:d1e,mage:u1e,mage_man:p1e,mage_woman:_1e,fairy:h1e,fairy_man:f1e,fairy_woman:m1e,vampire:g1e,vampire_man:b1e,vampire_woman:E1e,merperson:y1e,merman:v1e,mermaid:S1e,elf:T1e,elf_man:x1e,elf_woman:C1e,genie:w1e,genie_man:R1e,genie_woman:A1e,zombie:N1e,zombie_man:O1e,zombie_woman:M1e,massage:I1e,massage_man:k1e,massage_woman:D1e,haircut:L1e,haircut_man:P1e,haircut_woman:F1e,walking:U1e,walking_man:B1e,walking_woman:G1e,standing_person:V1e,standing_man:z1e,standing_woman:H1e,kneeling_person:q1e,kneeling_man:$1e,kneeling_woman:Y1e,person_with_probing_cane:W1e,man_with_probing_cane:K1e,woman_with_probing_cane:j1e,person_in_motorized_wheelchair:Q1e,man_in_motorized_wheelchair:X1e,woman_in_motorized_wheelchair:Z1e,person_in_manual_wheelchair:J1e,man_in_manual_wheelchair:eCe,woman_in_manual_wheelchair:tCe,runner:nCe,running:sCe,running_man:iCe,running_woman:rCe,woman_dancing:oCe,dancer:aCe,man_dancing:lCe,business_suit_levitating:cCe,dancers:dCe,dancing_men:uCe,dancing_women:pCe,sauna_person:_Ce,sauna_man:hCe,sauna_woman:fCe,climbing:mCe,climbing_man:gCe,climbing_woman:bCe,person_fencing:ECe,horse_racing:yCe,skier:vCe,snowboarder:SCe,golfing:TCe,golfing_man:xCe,golfing_woman:CCe,surfer:wCe,surfing_man:RCe,surfing_woman:ACe,rowboat:NCe,rowing_man:OCe,rowing_woman:MCe,swimmer:ICe,swimming_man:kCe,swimming_woman:DCe,bouncing_ball_person:LCe,bouncing_ball_man:PCe,basketball_man:FCe,bouncing_ball_woman:UCe,basketball_woman:BCe,weight_lifting:GCe,weight_lifting_man:VCe,weight_lifting_woman:zCe,bicyclist:HCe,biking_man:qCe,biking_woman:$Ce,mountain_bicyclist:YCe,mountain_biking_man:WCe,mountain_biking_woman:KCe,cartwheeling:jCe,man_cartwheeling:QCe,woman_cartwheeling:XCe,wrestling:ZCe,men_wrestling:JCe,women_wrestling:ewe,water_polo:twe,man_playing_water_polo:nwe,woman_playing_water_polo:swe,handball_person:iwe,man_playing_handball:rwe,woman_playing_handball:owe,juggling_person:awe,man_juggling:lwe,woman_juggling:cwe,lotus_position:dwe,lotus_position_man:uwe,lotus_position_woman:pwe,bath:_we,sleeping_bed:hwe,people_holding_hands:fwe,two_women_holding_hands:mwe,couple:gwe,two_men_holding_hands:bwe,couplekiss:Ewe,couplekiss_man_woman:ywe,couplekiss_man_man:vwe,couplekiss_woman_woman:Swe,couple_with_heart:Twe,couple_with_heart_woman_man:xwe,couple_with_heart_man_man:Cwe,couple_with_heart_woman_woman:wwe,family:Rwe,family_man_woman_boy:Awe,family_man_woman_girl:Nwe,family_man_woman_girl_boy:Owe,family_man_woman_boy_boy:Mwe,family_man_woman_girl_girl:Iwe,family_man_man_boy:kwe,family_man_man_girl:Dwe,family_man_man_girl_boy:Lwe,family_man_man_boy_boy:Pwe,family_man_man_girl_girl:Fwe,family_woman_woman_boy:Uwe,family_woman_woman_girl:Bwe,family_woman_woman_girl_boy:Gwe,family_woman_woman_boy_boy:Vwe,family_woman_woman_girl_girl:zwe,family_man_boy:Hwe,family_man_boy_boy:qwe,family_man_girl:$we,family_man_girl_boy:Ywe,family_man_girl_girl:Wwe,family_woman_boy:Kwe,family_woman_boy_boy:jwe,family_woman_girl:Qwe,family_woman_girl_boy:Xwe,family_woman_girl_girl:Zwe,speaking_head:Jwe,bust_in_silhouette:eRe,busts_in_silhouette:tRe,people_hugging:nRe,footprints:sRe,monkey_face:iRe,monkey:rRe,gorilla:oRe,orangutan:aRe,dog:lRe,dog2:cRe,guide_dog:dRe,service_dog:uRe,poodle:pRe,wolf:_Re,fox_face:hRe,raccoon:fRe,cat:mRe,cat2:gRe,black_cat:bRe,lion:ERe,tiger:yRe,tiger2:vRe,leopard:SRe,horse:TRe,racehorse:xRe,unicorn:CRe,zebra:wRe,deer:RRe,bison:ARe,cow:NRe,ox:ORe,water_buffalo:MRe,cow2:IRe,pig:kRe,pig2:DRe,boar:LRe,pig_nose:PRe,ram:FRe,sheep:URe,goat:BRe,dromedary_camel:GRe,camel:VRe,llama:zRe,giraffe:HRe,elephant:qRe,mammoth:$Re,rhinoceros:YRe,hippopotamus:WRe,mouse:KRe,mouse2:jRe,rat:QRe,hamster:XRe,rabbit:ZRe,rabbit2:JRe,chipmunk:eAe,beaver:tAe,hedgehog:nAe,bat:sAe,bear:iAe,polar_bear:rAe,koala:oAe,panda_face:aAe,sloth:lAe,otter:cAe,skunk:dAe,kangaroo:uAe,badger:pAe,feet:_Ae,paw_prints:hAe,turkey:fAe,chicken:mAe,rooster:gAe,hatching_chick:bAe,baby_chick:EAe,hatched_chick:yAe,bird:vAe,penguin:SAe,dove:TAe,eagle:xAe,duck:CAe,swan:wAe,owl:RAe,dodo:AAe,feather:NAe,flamingo:OAe,peacock:MAe,parrot:IAe,frog:kAe,crocodile:DAe,turtle:LAe,lizard:PAe,snake:FAe,dragon_face:UAe,dragon:BAe,sauropod:GAe,"t-rex":"🦖",whale:VAe,whale2:zAe,dolphin:HAe,flipper:qAe,seal:$Ae,fish:YAe,tropical_fish:WAe,blowfish:KAe,shark:jAe,octopus:QAe,shell:XAe,snail:ZAe,butterfly:JAe,bug:e2e,ant:t2e,bee:n2e,honeybee:s2e,beetle:i2e,lady_beetle:r2e,cricket:o2e,cockroach:a2e,spider:l2e,spider_web:c2e,scorpion:d2e,mosquito:u2e,fly:p2e,worm:_2e,microbe:h2e,bouquet:f2e,cherry_blossom:m2e,white_flower:g2e,rosette:b2e,rose:E2e,wilted_flower:y2e,hibiscus:v2e,sunflower:S2e,blossom:T2e,tulip:x2e,seedling:C2e,potted_plant:w2e,evergreen_tree:R2e,deciduous_tree:A2e,palm_tree:N2e,cactus:O2e,ear_of_rice:M2e,herb:I2e,shamrock:k2e,four_leaf_clover:D2e,maple_leaf:L2e,fallen_leaf:P2e,leaves:F2e,grapes:U2e,melon:B2e,watermelon:G2e,tangerine:V2e,orange:z2e,mandarin:H2e,lemon:q2e,banana:$2e,pineapple:Y2e,mango:W2e,apple:K2e,green_apple:j2e,pear:Q2e,peach:X2e,cherries:Z2e,strawberry:J2e,blueberries:eNe,kiwi_fruit:tNe,tomato:nNe,olive:sNe,coconut:iNe,avocado:rNe,eggplant:oNe,potato:aNe,carrot:lNe,corn:cNe,hot_pepper:dNe,bell_pepper:uNe,cucumber:pNe,leafy_green:_Ne,broccoli:hNe,garlic:fNe,onion:mNe,mushroom:gNe,peanuts:bNe,chestnut:ENe,bread:yNe,croissant:vNe,baguette_bread:SNe,flatbread:TNe,pretzel:xNe,bagel:CNe,pancakes:wNe,waffle:RNe,cheese:ANe,meat_on_bone:NNe,poultry_leg:ONe,cut_of_meat:MNe,bacon:INe,hamburger:kNe,fries:DNe,pizza:LNe,hotdog:PNe,sandwich:FNe,taco:UNe,burrito:BNe,tamale:GNe,stuffed_flatbread:VNe,falafel:zNe,egg:HNe,fried_egg:qNe,shallow_pan_of_food:$Ne,stew:YNe,fondue:WNe,bowl_with_spoon:KNe,green_salad:jNe,popcorn:QNe,butter:XNe,salt:ZNe,canned_food:JNe,bento:eOe,rice_cracker:tOe,rice_ball:nOe,rice:sOe,curry:iOe,ramen:rOe,spaghetti:oOe,sweet_potato:aOe,oden:lOe,sushi:cOe,fried_shrimp:dOe,fish_cake:uOe,moon_cake:pOe,dango:_Oe,dumpling:hOe,fortune_cookie:fOe,takeout_box:mOe,crab:gOe,lobster:bOe,shrimp:EOe,squid:yOe,oyster:vOe,icecream:SOe,shaved_ice:TOe,ice_cream:xOe,doughnut:COe,cookie:wOe,birthday:ROe,cake:AOe,cupcake:NOe,pie:OOe,chocolate_bar:MOe,candy:IOe,lollipop:kOe,custard:DOe,honey_pot:LOe,baby_bottle:POe,milk_glass:FOe,coffee:UOe,teapot:BOe,tea:GOe,sake:VOe,champagne:zOe,wine_glass:HOe,cocktail:qOe,tropical_drink:$Oe,beer:YOe,beers:WOe,clinking_glasses:KOe,tumbler_glass:jOe,cup_with_straw:QOe,bubble_tea:XOe,beverage_box:ZOe,mate:JOe,ice_cube:eMe,chopsticks:tMe,plate_with_cutlery:nMe,fork_and_knife:sMe,spoon:iMe,hocho:rMe,knife:oMe,amphora:aMe,earth_africa:lMe,earth_americas:cMe,earth_asia:dMe,globe_with_meridians:uMe,world_map:pMe,japan:_Me,compass:hMe,mountain_snow:fMe,mountain:mMe,volcano:gMe,mount_fuji:bMe,camping:EMe,beach_umbrella:yMe,desert:vMe,desert_island:SMe,national_park:TMe,stadium:xMe,classical_building:CMe,building_construction:wMe,bricks:RMe,rock:AMe,wood:NMe,hut:OMe,houses:MMe,derelict_house:IMe,house:kMe,house_with_garden:DMe,office:LMe,post_office:PMe,european_post_office:FMe,hospital:UMe,bank:BMe,hotel:GMe,love_hotel:VMe,convenience_store:zMe,school:HMe,department_store:qMe,factory:$Me,japanese_castle:YMe,european_castle:WMe,wedding:KMe,tokyo_tower:jMe,statue_of_liberty:QMe,church:XMe,mosque:ZMe,hindu_temple:JMe,synagogue:eIe,shinto_shrine:tIe,kaaba:nIe,fountain:sIe,tent:iIe,foggy:rIe,night_with_stars:oIe,cityscape:aIe,sunrise_over_mountains:lIe,sunrise:cIe,city_sunset:dIe,city_sunrise:uIe,bridge_at_night:pIe,hotsprings:_Ie,carousel_horse:hIe,ferris_wheel:fIe,roller_coaster:mIe,barber:gIe,circus_tent:bIe,steam_locomotive:EIe,railway_car:yIe,bullettrain_side:vIe,bullettrain_front:SIe,train2:TIe,metro:xIe,light_rail:CIe,station:wIe,tram:RIe,monorail:AIe,mountain_railway:NIe,train:OIe,bus:MIe,oncoming_bus:IIe,trolleybus:kIe,minibus:DIe,ambulance:LIe,fire_engine:PIe,police_car:FIe,oncoming_police_car:UIe,taxi:BIe,oncoming_taxi:GIe,car:VIe,red_car:zIe,oncoming_automobile:HIe,blue_car:qIe,pickup_truck:$Ie,truck:YIe,articulated_lorry:WIe,tractor:KIe,racing_car:jIe,motorcycle:QIe,motor_scooter:XIe,manual_wheelchair:ZIe,motorized_wheelchair:JIe,auto_rickshaw:eke,bike:tke,kick_scooter:nke,skateboard:ske,roller_skate:ike,busstop:rke,motorway:oke,railway_track:ake,oil_drum:lke,fuelpump:cke,rotating_light:dke,traffic_light:uke,vertical_traffic_light:pke,stop_sign:_ke,construction:hke,anchor:fke,boat:mke,sailboat:gke,canoe:bke,speedboat:Eke,passenger_ship:yke,ferry:vke,motor_boat:Ske,ship:Tke,airplane:xke,small_airplane:Cke,flight_departure:wke,flight_arrival:Rke,parachute:Ake,seat:Nke,helicopter:Oke,suspension_railway:Mke,mountain_cableway:Ike,aerial_tramway:kke,artificial_satellite:Dke,rocket:Lke,flying_saucer:Pke,bellhop_bell:Fke,luggage:Uke,hourglass:Bke,hourglass_flowing_sand:Gke,watch:Vke,alarm_clock:zke,stopwatch:Hke,timer_clock:qke,mantelpiece_clock:$ke,clock12:Yke,clock1230:Wke,clock1:Kke,clock130:jke,clock2:Qke,clock230:Xke,clock3:Zke,clock330:Jke,clock4:eDe,clock430:tDe,clock5:nDe,clock530:sDe,clock6:iDe,clock630:rDe,clock7:oDe,clock730:aDe,clock8:lDe,clock830:cDe,clock9:dDe,clock930:uDe,clock10:pDe,clock1030:_De,clock11:hDe,clock1130:fDe,new_moon:mDe,waxing_crescent_moon:gDe,first_quarter_moon:bDe,moon:EDe,waxing_gibbous_moon:yDe,full_moon:vDe,waning_gibbous_moon:SDe,last_quarter_moon:TDe,waning_crescent_moon:xDe,crescent_moon:CDe,new_moon_with_face:wDe,first_quarter_moon_with_face:RDe,last_quarter_moon_with_face:ADe,thermometer:NDe,sunny:ODe,full_moon_with_face:MDe,sun_with_face:IDe,ringed_planet:kDe,star:DDe,star2:LDe,stars:PDe,milky_way:FDe,cloud:UDe,partly_sunny:BDe,cloud_with_lightning_and_rain:GDe,sun_behind_small_cloud:VDe,sun_behind_large_cloud:zDe,sun_behind_rain_cloud:HDe,cloud_with_rain:qDe,cloud_with_snow:$De,cloud_with_lightning:YDe,tornado:WDe,fog:KDe,wind_face:jDe,cyclone:QDe,rainbow:XDe,closed_umbrella:ZDe,open_umbrella:JDe,umbrella:eLe,parasol_on_ground:tLe,zap:nLe,snowflake:sLe,snowman_with_snow:iLe,snowman:rLe,comet:oLe,fire:aLe,droplet:lLe,ocean:cLe,jack_o_lantern:dLe,christmas_tree:uLe,fireworks:pLe,sparkler:_Le,firecracker:hLe,sparkles:fLe,balloon:mLe,tada:gLe,confetti_ball:bLe,tanabata_tree:ELe,bamboo:yLe,dolls:vLe,flags:SLe,wind_chime:TLe,rice_scene:xLe,red_envelope:CLe,ribbon:wLe,gift:RLe,reminder_ribbon:ALe,tickets:NLe,ticket:OLe,medal_military:MLe,trophy:ILe,medal_sports:kLe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:DLe,baseball:LLe,softball:PLe,basketball:FLe,volleyball:ULe,football:BLe,rugby_football:GLe,tennis:VLe,flying_disc:zLe,bowling:HLe,cricket_game:qLe,field_hockey:$Le,ice_hockey:YLe,lacrosse:WLe,ping_pong:KLe,badminton:jLe,boxing_glove:QLe,martial_arts_uniform:XLe,goal_net:ZLe,golf:JLe,ice_skate:ePe,fishing_pole_and_fish:tPe,diving_mask:nPe,running_shirt_with_sash:sPe,ski:iPe,sled:rPe,curling_stone:oPe,dart:aPe,yo_yo:lPe,kite:cPe,"8ball":"🎱",crystal_ball:dPe,magic_wand:uPe,nazar_amulet:pPe,video_game:_Pe,joystick:hPe,slot_machine:fPe,game_die:mPe,jigsaw:gPe,teddy_bear:bPe,pinata:EPe,nesting_dolls:yPe,spades:vPe,hearts:SPe,diamonds:TPe,clubs:xPe,chess_pawn:CPe,black_joker:wPe,mahjong:RPe,flower_playing_cards:APe,performing_arts:NPe,framed_picture:OPe,art:MPe,thread:IPe,sewing_needle:kPe,yarn:DPe,knot:LPe,eyeglasses:PPe,dark_sunglasses:FPe,goggles:UPe,lab_coat:BPe,safety_vest:GPe,necktie:VPe,shirt:zPe,tshirt:HPe,jeans:qPe,scarf:$Pe,gloves:YPe,coat:WPe,socks:KPe,dress:jPe,kimono:QPe,sari:XPe,one_piece_swimsuit:ZPe,swim_brief:JPe,shorts:e3e,bikini:t3e,womans_clothes:n3e,purse:s3e,handbag:i3e,pouch:r3e,shopping:o3e,school_satchel:a3e,thong_sandal:l3e,mans_shoe:c3e,shoe:d3e,athletic_shoe:u3e,hiking_boot:p3e,flat_shoe:_3e,high_heel:h3e,sandal:f3e,ballet_shoes:m3e,boot:g3e,crown:b3e,womans_hat:E3e,tophat:y3e,mortar_board:v3e,billed_cap:S3e,military_helmet:T3e,rescue_worker_helmet:x3e,prayer_beads:C3e,lipstick:w3e,ring:R3e,gem:A3e,mute:N3e,speaker:O3e,sound:M3e,loud_sound:I3e,loudspeaker:k3e,mega:D3e,postal_horn:L3e,bell:P3e,no_bell:F3e,musical_score:U3e,musical_note:B3e,notes:G3e,studio_microphone:V3e,level_slider:z3e,control_knobs:H3e,microphone:q3e,headphones:$3e,radio:Y3e,saxophone:W3e,accordion:K3e,guitar:j3e,musical_keyboard:Q3e,trumpet:X3e,violin:Z3e,banjo:J3e,drum:eFe,long_drum:tFe,iphone:nFe,calling:sFe,phone:iFe,telephone:rFe,telephone_receiver:oFe,pager:aFe,fax:lFe,battery:cFe,electric_plug:dFe,computer:uFe,desktop_computer:pFe,printer:_Fe,keyboard:hFe,computer_mouse:fFe,trackball:mFe,minidisc:gFe,floppy_disk:bFe,cd:EFe,dvd:yFe,abacus:vFe,movie_camera:SFe,film_strip:TFe,film_projector:xFe,clapper:CFe,tv:wFe,camera:RFe,camera_flash:AFe,video_camera:NFe,vhs:OFe,mag:MFe,mag_right:IFe,candle:kFe,bulb:DFe,flashlight:LFe,izakaya_lantern:PFe,lantern:FFe,diya_lamp:UFe,notebook_with_decorative_cover:BFe,closed_book:GFe,book:VFe,open_book:zFe,green_book:HFe,blue_book:qFe,orange_book:$Fe,books:YFe,notebook:WFe,ledger:KFe,page_with_curl:jFe,scroll:QFe,page_facing_up:XFe,newspaper:ZFe,newspaper_roll:JFe,bookmark_tabs:eUe,bookmark:tUe,label:nUe,moneybag:sUe,coin:iUe,yen:rUe,dollar:oUe,euro:aUe,pound:lUe,money_with_wings:cUe,credit_card:dUe,receipt:uUe,chart:pUe,envelope:_Ue,email:hUe,"e-mail":"📧",incoming_envelope:fUe,envelope_with_arrow:mUe,outbox_tray:gUe,inbox_tray:bUe,package:"📦",mailbox:EUe,mailbox_closed:yUe,mailbox_with_mail:vUe,mailbox_with_no_mail:SUe,postbox:TUe,ballot_box:xUe,pencil2:CUe,black_nib:wUe,fountain_pen:RUe,pen:AUe,paintbrush:NUe,crayon:OUe,memo:MUe,pencil:IUe,briefcase:kUe,file_folder:DUe,open_file_folder:LUe,card_index_dividers:PUe,date:FUe,calendar:UUe,spiral_notepad:BUe,spiral_calendar:GUe,card_index:VUe,chart_with_upwards_trend:zUe,chart_with_downwards_trend:HUe,bar_chart:qUe,clipboard:$Ue,pushpin:YUe,round_pushpin:WUe,paperclip:KUe,paperclips:jUe,straight_ruler:QUe,triangular_ruler:XUe,scissors:ZUe,card_file_box:JUe,file_cabinet:e4e,wastebasket:t4e,lock:n4e,unlock:s4e,lock_with_ink_pen:i4e,closed_lock_with_key:r4e,key:o4e,old_key:a4e,hammer:l4e,axe:c4e,pick:d4e,hammer_and_pick:u4e,hammer_and_wrench:p4e,dagger:_4e,crossed_swords:h4e,gun:f4e,boomerang:m4e,bow_and_arrow:g4e,shield:b4e,carpentry_saw:E4e,wrench:y4e,screwdriver:v4e,nut_and_bolt:S4e,gear:T4e,clamp:x4e,balance_scale:C4e,probing_cane:w4e,link:R4e,chains:A4e,hook:N4e,toolbox:O4e,magnet:M4e,ladder:I4e,alembic:k4e,test_tube:D4e,petri_dish:L4e,dna:P4e,microscope:F4e,telescope:U4e,satellite:B4e,syringe:G4e,drop_of_blood:V4e,pill:z4e,adhesive_bandage:H4e,stethoscope:q4e,door:$4e,elevator:Y4e,mirror:W4e,window:K4e,bed:j4e,couch_and_lamp:Q4e,chair:X4e,toilet:Z4e,plunger:J4e,shower:eBe,bathtub:tBe,mouse_trap:nBe,razor:sBe,lotion_bottle:iBe,safety_pin:rBe,broom:oBe,basket:aBe,roll_of_paper:lBe,bucket:cBe,soap:dBe,toothbrush:uBe,sponge:pBe,fire_extinguisher:_Be,shopping_cart:hBe,smoking:fBe,coffin:mBe,headstone:gBe,funeral_urn:bBe,moyai:EBe,placard:yBe,atm:vBe,put_litter_in_its_place:SBe,potable_water:TBe,wheelchair:xBe,mens:CBe,womens:wBe,restroom:RBe,baby_symbol:ABe,wc:NBe,passport_control:OBe,customs:MBe,baggage_claim:IBe,left_luggage:kBe,warning:DBe,children_crossing:LBe,no_entry:PBe,no_entry_sign:FBe,no_bicycles:UBe,no_smoking:BBe,do_not_litter:GBe,"non-potable_water":"🚱",no_pedestrians:VBe,no_mobile_phones:zBe,underage:HBe,radioactive:qBe,biohazard:$Be,arrow_up:YBe,arrow_upper_right:WBe,arrow_right:KBe,arrow_lower_right:jBe,arrow_down:QBe,arrow_lower_left:XBe,arrow_left:ZBe,arrow_upper_left:JBe,arrow_up_down:e5e,left_right_arrow:t5e,leftwards_arrow_with_hook:n5e,arrow_right_hook:s5e,arrow_heading_up:i5e,arrow_heading_down:r5e,arrows_clockwise:o5e,arrows_counterclockwise:a5e,back:l5e,end:c5e,on:d5e,soon:u5e,top:p5e,place_of_worship:_5e,atom_symbol:h5e,om:f5e,star_of_david:m5e,wheel_of_dharma:g5e,yin_yang:b5e,latin_cross:E5e,orthodox_cross:y5e,star_and_crescent:v5e,peace_symbol:S5e,menorah:T5e,six_pointed_star:x5e,aries:C5e,taurus:w5e,gemini:R5e,cancer:A5e,leo:N5e,virgo:O5e,libra:M5e,scorpius:I5e,sagittarius:k5e,capricorn:D5e,aquarius:L5e,pisces:P5e,ophiuchus:F5e,twisted_rightwards_arrows:U5e,repeat:B5e,repeat_one:G5e,arrow_forward:V5e,fast_forward:z5e,next_track_button:H5e,play_or_pause_button:q5e,arrow_backward:$5e,rewind:Y5e,previous_track_button:W5e,arrow_up_small:K5e,arrow_double_up:j5e,arrow_down_small:Q5e,arrow_double_down:X5e,pause_button:Z5e,stop_button:J5e,record_button:e6e,eject_button:t6e,cinema:n6e,low_brightness:s6e,high_brightness:i6e,signal_strength:r6e,vibration_mode:o6e,mobile_phone_off:a6e,female_sign:l6e,male_sign:c6e,transgender_symbol:d6e,heavy_multiplication_x:u6e,heavy_plus_sign:p6e,heavy_minus_sign:_6e,heavy_division_sign:h6e,infinity:f6e,bangbang:m6e,interrobang:g6e,question:b6e,grey_question:E6e,grey_exclamation:y6e,exclamation:v6e,heavy_exclamation_mark:S6e,wavy_dash:T6e,currency_exchange:x6e,heavy_dollar_sign:C6e,medical_symbol:w6e,recycle:R6e,fleur_de_lis:A6e,trident:N6e,name_badge:O6e,beginner:M6e,o:I6e,white_check_mark:k6e,ballot_box_with_check:D6e,heavy_check_mark:L6e,x:P6e,negative_squared_cross_mark:F6e,curly_loop:U6e,loop:B6e,part_alternation_mark:G6e,eight_spoked_asterisk:V6e,eight_pointed_black_star:z6e,sparkle:H6e,copyright:q6e,registered:$6e,tm:Y6e,hash:W6e,asterisk:K6e,zero:j6e,one:Q6e,two:X6e,three:Z6e,four:J6e,five:eGe,six:tGe,seven:nGe,eight:sGe,nine:iGe,keycap_ten:rGe,capital_abcd:oGe,abcd:aGe,symbols:lGe,abc:cGe,a:dGe,ab:uGe,b:pGe,cl:_Ge,cool:hGe,free:fGe,information_source:mGe,id:gGe,m:bGe,new:"🆕",ng:EGe,o2:yGe,ok:vGe,parking:SGe,sos:TGe,up:xGe,vs:CGe,koko:wGe,sa:RGe,ideograph_advantage:AGe,accept:NGe,congratulations:OGe,secret:MGe,u6e80:IGe,red_circle:kGe,orange_circle:DGe,yellow_circle:LGe,green_circle:PGe,large_blue_circle:FGe,purple_circle:UGe,brown_circle:BGe,black_circle:GGe,white_circle:VGe,red_square:zGe,orange_square:HGe,yellow_square:qGe,green_square:$Ge,blue_square:YGe,purple_square:WGe,brown_square:KGe,black_large_square:jGe,white_large_square:QGe,black_medium_square:XGe,white_medium_square:ZGe,black_medium_small_square:JGe,white_medium_small_square:e8e,black_small_square:t8e,white_small_square:n8e,large_orange_diamond:s8e,large_blue_diamond:i8e,small_orange_diamond:r8e,small_blue_diamond:o8e,small_red_triangle:a8e,small_red_triangle_down:l8e,diamond_shape_with_a_dot_inside:c8e,radio_button:d8e,white_square_button:u8e,black_square_button:p8e,checkered_flag:_8e,triangular_flag_on_post:h8e,crossed_flags:f8e,black_flag:m8e,white_flag:g8e,rainbow_flag:b8e,transgender_flag:E8e,pirate_flag:y8e,ascension_island:v8e,andorra:S8e,united_arab_emirates:T8e,afghanistan:x8e,antigua_barbuda:C8e,anguilla:w8e,albania:R8e,armenia:A8e,angola:N8e,antarctica:O8e,argentina:M8e,american_samoa:I8e,austria:k8e,australia:D8e,aruba:L8e,aland_islands:P8e,azerbaijan:F8e,bosnia_herzegovina:U8e,barbados:B8e,bangladesh:G8e,belgium:V8e,burkina_faso:z8e,bulgaria:H8e,bahrain:q8e,burundi:$8e,benin:Y8e,st_barthelemy:W8e,bermuda:K8e,brunei:j8e,bolivia:Q8e,caribbean_netherlands:X8e,brazil:Z8e,bahamas:J8e,bhutan:e9e,bouvet_island:t9e,botswana:n9e,belarus:s9e,belize:i9e,canada:r9e,cocos_islands:o9e,congo_kinshasa:a9e,central_african_republic:l9e,congo_brazzaville:c9e,switzerland:d9e,cote_divoire:u9e,cook_islands:p9e,chile:_9e,cameroon:h9e,cn:f9e,colombia:m9e,clipperton_island:g9e,costa_rica:b9e,cuba:E9e,cape_verde:y9e,curacao:v9e,christmas_island:S9e,cyprus:T9e,czech_republic:x9e,de:C9e,diego_garcia:w9e,djibouti:R9e,denmark:A9e,dominica:N9e,dominican_republic:O9e,algeria:M9e,ceuta_melilla:I9e,ecuador:k9e,estonia:D9e,egypt:L9e,western_sahara:P9e,eritrea:F9e,es:U9e,ethiopia:B9e,eu:G9e,european_union:V9e,finland:z9e,fiji:H9e,falkland_islands:q9e,micronesia:$9e,faroe_islands:Y9e,fr:W9e,gabon:K9e,gb:j9e,uk:Q9e,grenada:X9e,georgia:Z9e,french_guiana:J9e,guernsey:eVe,ghana:tVe,gibraltar:nVe,greenland:sVe,gambia:iVe,guinea:rVe,guadeloupe:oVe,equatorial_guinea:aVe,greece:lVe,south_georgia_south_sandwich_islands:cVe,guatemala:dVe,guam:uVe,guinea_bissau:pVe,guyana:_Ve,hong_kong:hVe,heard_mcdonald_islands:fVe,honduras:mVe,croatia:gVe,haiti:bVe,hungary:EVe,canary_islands:yVe,indonesia:vVe,ireland:SVe,israel:TVe,isle_of_man:xVe,india:CVe,british_indian_ocean_territory:wVe,iraq:RVe,iran:AVe,iceland:NVe,it:OVe,jersey:MVe,jamaica:IVe,jordan:kVe,jp:DVe,kenya:LVe,kyrgyzstan:PVe,cambodia:FVe,kiribati:UVe,comoros:BVe,st_kitts_nevis:GVe,north_korea:VVe,kr:zVe,kuwait:HVe,cayman_islands:qVe,kazakhstan:$Ve,laos:YVe,lebanon:WVe,st_lucia:KVe,liechtenstein:jVe,sri_lanka:QVe,liberia:XVe,lesotho:ZVe,lithuania:JVe,luxembourg:eze,latvia:tze,libya:nze,morocco:sze,monaco:ize,moldova:rze,montenegro:oze,st_martin:aze,madagascar:lze,marshall_islands:cze,macedonia:dze,mali:uze,myanmar:pze,mongolia:_ze,macau:hze,northern_mariana_islands:fze,martinique:mze,mauritania:gze,montserrat:bze,malta:Eze,mauritius:yze,maldives:vze,malawi:Sze,mexico:Tze,malaysia:xze,mozambique:Cze,namibia:wze,new_caledonia:Rze,niger:Aze,norfolk_island:Nze,nigeria:Oze,nicaragua:Mze,netherlands:Ize,norway:kze,nepal:Dze,nauru:Lze,niue:Pze,new_zealand:Fze,oman:Uze,panama:Bze,peru:Gze,french_polynesia:Vze,papua_new_guinea:zze,philippines:Hze,pakistan:qze,poland:$ze,st_pierre_miquelon:Yze,pitcairn_islands:Wze,puerto_rico:Kze,palestinian_territories:jze,portugal:Qze,palau:Xze,paraguay:Zze,qatar:Jze,reunion:eHe,romania:tHe,serbia:nHe,ru:sHe,rwanda:iHe,saudi_arabia:rHe,solomon_islands:oHe,seychelles:aHe,sudan:lHe,sweden:cHe,singapore:dHe,st_helena:uHe,slovenia:pHe,svalbard_jan_mayen:_He,slovakia:hHe,sierra_leone:fHe,san_marino:mHe,senegal:gHe,somalia:bHe,suriname:EHe,south_sudan:yHe,sao_tome_principe:vHe,el_salvador:SHe,sint_maarten:THe,syria:xHe,swaziland:CHe,tristan_da_cunha:wHe,turks_caicos_islands:RHe,chad:AHe,french_southern_territories:NHe,togo:OHe,thailand:MHe,tajikistan:IHe,tokelau:kHe,timor_leste:DHe,turkmenistan:LHe,tunisia:PHe,tonga:FHe,tr:UHe,trinidad_tobago:BHe,tuvalu:GHe,taiwan:VHe,tanzania:zHe,ukraine:HHe,uganda:qHe,us_outlying_islands:$He,united_nations:YHe,us:WHe,uruguay:KHe,uzbekistan:jHe,vatican_city:QHe,st_vincent_grenadines:XHe,venezuela:ZHe,british_virgin_islands:JHe,us_virgin_islands:e7e,vietnam:t7e,vanuatu:n7e,wallis_futuna:s7e,samoa:i7e,kosovo:r7e,yemen:o7e,mayotte:a7e,south_africa:l7e,zambia:c7e,zimbabwe:d7e,england:u7e,scotland:p7e,wales:_7e};var f7e={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!c.test(y[E-1])||E+b.length_&&(m=new f("text","",0),m.content=u.slice(_,E),g.push(m)),m=new f("emoji","",0),m.markup=v,m.content=t[v],g.push(m),_=E+b.length}),_=0;f--)b=g[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&i.test(b.content)&&(E[m].children=g=o(g,f,d(b.content,b.level,h.Token)))}};function b7e(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var E7e=function(e){var t=e.defs,s;e.enabled.length&&(t=Object.keys(t).reduce(function(c,d){return e.enabled.indexOf(d)>=0&&(c[d]=t[d]),c},{})),s=Object.keys(e.shortcuts).reduce(function(c,d){return t[d]?Array.isArray(e.shortcuts[d])?(e.shortcuts[d].forEach(function(u){c[u]=d}),c):(c[e.shortcuts[d]]=d,c):c},{});var i=Object.keys(t),r;i.length===0?r="^$":r=i.map(function(c){return":"+c+":"}).concat(Object.keys(s)).sort().reverse().map(function(c){return b7e(c)}).join("|");var o=RegExp(r),a=RegExp(r,"g");return{defs:t,shortcuts:s,scanRE:o,replaceRE:a}},y7e=m7e,v7e=g7e,S7e=E7e,T7e=function(e,t){var s={defs:{},shortcuts:{},enabled:[]},i=S7e(e.utils.assign({},s,t||{}));e.renderer.rules.emoji=y7e,e.core.ruler.after("linkify","emoji",v7e(e,i.defs,i.shortcuts,i.scanRE,i.replaceRE))},x7e=h7e,C7e=f7e,w7e=T7e,R7e=function(e,t){var s={defs:x7e,shortcuts:C7e,enabled:[]},i=e.utils.assign({},s,t||{});w7e(e,i)};const A7e=Tr(R7e);var $0=!1,pa={false:"push",true:"unshift",after:"push",before:"unshift"},ru={isPermalinkSymbol:!0};function tb(n,e,t,s){var i;if(!$0){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),$0=!0}var o=[Object.assign(new t.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(n,t)]],Object.entries(e.permalinkAttrs(n,t)))}),Object.assign(new t.Token("html_block","",0),{content:e.permalinkSymbol,meta:ru}),new t.Token("link_close","a",-1)];e.permalinkSpace&&t.tokens[s+1].children[pa[e.permalinkBefore]](Object.assign(new t.Token("text","",0),{content:" "})),(i=t.tokens[s+1].children)[pa[e.permalinkBefore]].apply(i,o)}function P2(n){return"#"+n}function F2(n){return{}}var N7e={class:"header-anchor",symbol:"#",renderHref:P2,renderAttrs:F2};function _c(n){function e(t){return t=Object.assign({},e.defaults,t),function(s,i,r,o){return n(s,t,i,r,o)}}return e.defaults=Object.assign({},N7e),e.renderPermalinkImpl=n,e}var lp=_c(function(n,e,t,s,i){var r,o=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(n,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(n,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:ru}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[i+1].children[pa[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[i+1].children)[pa[e.placement]].apply(r,o)});Object.assign(lp.defaults,{space:!0,placement:"after",ariaHidden:!1});var Fr=_c(lp.renderPermalinkImpl);Fr.defaults=Object.assign({},lp.defaults,{ariaHidden:!0});var U2=_c(function(n,e,t,s,i){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(n,s)]],Object.entries(e.renderAttrs(n,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[i+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[i+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(U2.defaults,{safariReaderFix:!1});var Y0=_c(function(n,e,t,s,i){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 o=s.tokens[i+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],c=[];if(e.class&&c.push(["class",e.class]),c.push(["href",e.renderHref(n,s)]),c.push.apply(c,Object.entries(e.renderAttrs(n,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(o)}),new s.Token("span_close","span",-1)),e.space){var d=typeof e.space=="string"?e.space:" ";a[pa[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[pa[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:ru}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:ru}));e.style==="aria-label"?c.push(["aria-label",e.assistiveText(o)]):["aria-describedby","aria-labelledby"].includes(e.style)&&c.push([e.style,n]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:c})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[i+3,0].concat(u)),e.wrapper&&(s.tokens.splice(i,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` +`),t=t.replace(rge,"�"),e.src=t},age=function(e){var t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},lge=function(e){var t=e.tokens,s,i,r;for(i=0,r=t.length;i\s]/i.test(n)}function uge(n){return/^<\/a\s*>/i.test(n)}var pge=function(e){var t,s,i,r,o,a,c,d,u,h,f,m,_,g,b,E,y=e.tokens,v;if(e.md.options.linkify){for(s=0,i=y.length;s=0;t--){if(a=r[t],a.type==="link_close"){for(t--;r[t].level!==a.level&&r[t].type!=="link_open";)t--;continue}if(a.type==="html_inline"&&(dge(a.content)&&_>0&&_--,uge(a.content)&&_++),!(_>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,v=e.md.linkify.match(u),c=[],m=a.level,f=0,v.length>0&&v[0].index===0&&t>0&&r[t-1].type==="text_special"&&(v=v.slice(1)),d=0;df&&(o=new e.Token("text","",0),o.content=u.slice(f,h),o.level=m,c.push(o)),o=new e.Token("link_open","a",1),o.attrs=[["href",b]],o.level=m++,o.markup="linkify",o.info="auto",c.push(o),o=new e.Token("text","",0),o.content=E,o.level=m,c.push(o),o=new e.Token("link_close","a",-1),o.level=--m,o.markup="linkify",o.info="auto",c.push(o),f=v[d].lastIndex);f=0;e--)t=n[e],t.type==="text"&&!s&&(t.content=t.content.replace(hge,mge)),t.type==="link_open"&&t.info==="auto"&&s--,t.type==="link_close"&&t.info==="auto"&&s++}function bge(n){var e,t,s=0;for(e=n.length-1;e>=0;e--)t=n[e],t.type==="text"&&!s&&E2.test(t.content)&&(t.content=t.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–")),t.type==="link_open"&&t.info==="auto"&&s--,t.type==="link_close"&&t.info==="auto"&&s++}var Ege=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(_ge.test(e.tokens[t].content)&&gge(e.tokens[t].children),E2.test(e.tokens[t].content)&&bge(e.tokens[t].children))},SS=Pt.isWhiteSpace,TS=Pt.isPunctChar,xS=Pt.isMdAsciiPunct,yge=/['"]/,CS=/['"]/g,wS="’";function Pc(n,e,t){return n.slice(0,e)+t+n.slice(e+1)}function vge(n,e){var t,s,i,r,o,a,c,d,u,h,f,m,_,g,b,E,y,v,S,R,w;for(S=[],t=0;t=0&&!(S[y].level<=c);y--);if(S.length=y+1,s.type==="text"){i=s.content,o=0,a=i.length;e:for(;o=0)u=i.charCodeAt(r.index-1);else for(y=t-1;y>=0&&!(n[y].type==="softbreak"||n[y].type==="hardbreak");y--)if(n[y].content){u=n[y].content.charCodeAt(n[y].content.length-1);break}if(h=32,o=48&&u<=57&&(E=b=!1),b&&E&&(b=f,E=m),!b&&!E){v&&(s.content=Pc(s.content,r.index,wS));continue}if(E){for(y=S.length-1;y>=0&&(d=S[y],!(S[y].level=0;t--)e.tokens[t].type!=="inline"||!yge.test(e.tokens[t].content)||vge(e.tokens[t].children,e)},Tge=function(e){var t,s,i,r,o,a,c=e.tokens;for(t=0,s=c.length;t=0&&(s=this.attrs[t][1]),s};Ha.prototype.attrJoin=function(e,t){var s=this.attrIndex(e);s<0?this.attrPush([e,t]):this.attrs[s][1]=this.attrs[s][1]+" "+t};var EE=Ha,xge=EE;function y2(n,e,t){this.src=n,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=e}y2.prototype.Token=xge;var Cge=y2,wge=bE,e_=[["normalize",oge],["block",age],["inline",lge],["linkify",pge],["replacements",Ege],["smartquotes",Sge],["text_join",Tge]];function yE(){this.ruler=new wge;for(var n=0;ns||(u=t+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(R=e.src.charCodeAt(a++),R!==124&&R!==45&&R!==58)||a>=e.eMarks[u]||(w=e.src.charCodeAt(a++),w!==124&&w!==45&&w!==58&&!t_(w))||R===45&&t_(w))return!1;for(;a=4||(h=RS(o),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==_.length))return!1;if(i)return!0;for(y=e.parentType,e.parentType="table",S=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),m.map=b=[t,0],m=e.push("thead_open","thead",1),m.map=[t,t+1],m=e.push("tr_open","tr",1),m.map=[t,t+1],c=0;c=4)break;for(h=RS(o),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===t+2&&(m=e.push("tbody_open","tbody",1),m.map=E=[t+2,0]),m=e.push("tr_open","tr",1),m.map=[u,u+1],c=0;c=4){i++,r=i;continue}break}return e.line=r,o=e.push("code_block","code",0),o.content=e.getLines(t,r,4+e.blkIndent,!1)+` +`,o.map=[t,e.line],!0},Oge=function(e,t,s,i){var r,o,a,c,d,u,h,f=!1,m=e.bMarks[t]+e.tShift[t],_=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||m+3>_||(r=e.src.charCodeAt(m),r!==126&&r!==96)||(d=m,m=e.skipChars(m,r),o=m-d,o<3)||(h=e.src.slice(d,m),a=e.src.slice(m,_),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(i)return!0;for(c=t;c++,!(c>=s||(m=d=e.bMarks[c]+e.tShift[c],_=e.eMarks[c],m<_&&e.sCount[c]=4)&&(m=e.skipChars(m,r),!(m-d=4||e.src.charCodeAt(O)!==62)return!1;if(i)return!0;for(_=[],g=[],y=[],v=[],w=e.md.block.ruler.getRules("blockquote"),E=e.parentType,e.parentType="blockquote",f=t;f=B));f++){if(e.src.charCodeAt(O++)===62&&!M){for(c=e.sCount[f]+1,e.src.charCodeAt(O)===32?(O++,c++,r=!1,S=!0):e.src.charCodeAt(O)===9?(S=!0,(e.bsCount[f]+c)%4===3?(O++,c++,r=!1):r=!0):S=!1,m=c,_.push(e.bMarks[f]),e.bMarks[f]=O;O=B,g.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(S?1:0),y.push(e.sCount[f]),e.sCount[f]=m-c,v.push(e.tShift[f]),e.tShift[f]=O-e.bMarks[f];continue}if(u)break;for(R=!1,a=0,d=w.length;a",A.map=h=[t,0],e.md.block.tokenize(e,t,f),A=e.push("blockquote_close","blockquote",-1),A.markup=">",e.lineMax=x,e.parentType=E,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(d++),r!==42&&r!==45&&r!==95))return!1;for(o=1;d=r||(t=n.src.charCodeAt(i++),t<48||t>57))return-1;for(;;){if(i>=r)return-1;if(t=n.src.charCodeAt(i++),t>=48&&t<=57){if(i-s>=10)return-1;continue}if(t===41||t===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[q]-e.listIndent>=4&&e.sCount[q]=e.blkIndent&&(F=!0),(O=NS(e,q))>=0){if(h=!0,H=e.bMarks[q]+e.tShift[q],E=Number(e.src.slice(H,O-1)),F&&E!==1)return!1}else if((O=AS(e,q))>=0)h=!1;else return!1;if(F&&e.skipSpaces(O)>=e.eMarks[q])return!1;if(i)return!0;for(b=e.src.charCodeAt(O-1),g=e.tokens.length,h?($=e.push("ordered_list_open","ol",1),E!==1&&($.attrs=[["start",E]])):$=e.push("bullet_list_open","ul",1),$.map=_=[q,0],$.markup=String.fromCharCode(b),B=!1,k=e.md.block.ruler.getRules("list"),R=e.parentType,e.parentType="list";q=y?d=1:d=v-u,d>4&&(d=1),c=u+d,$=e.push("list_item_open","li",1),$.markup=String.fromCharCode(b),$.map=f=[q,0],h&&($.info=e.src.slice(H,O-1)),M=e.tight,A=e.tShift[q],w=e.sCount[q],S=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[q]=o-e.bMarks[q],e.sCount[q]=v,o>=y&&e.isEmpty(q+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,q,s,!0),(!e.tight||B)&&(W=!1),B=e.line-q>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[q]=A,e.sCount[q]=w,e.tight=M,$=e.push("list_item_close","li",-1),$.markup=String.fromCharCode(b),q=e.line,f[1]=q,q>=s||e.sCount[q]=4)break;for(te=!1,a=0,m=k.length;a=4||e.src.charCodeAt(w)!==91)return!1;for(;++w3)&&!(e.sCount[M]<0)){for(y=!1,u=0,h=v.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:S,href:d}),e.parentType=_,e.line=t+R+1),!0)},Bge=["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"],np={},Gge="[a-zA-Z_:][a-zA-Z0-9:._-]*",Vge="[^\"'=<>`\\x00-\\x20]+",zge="'[^']*'",Hge='"[^"]*"',qge="(?:"+Vge+"|"+zge+"|"+Hge+")",$ge="(?:\\s+"+Gge+"(?:\\s*=\\s*"+qge+")?)",S2="<[A-Za-z][A-Za-z0-9\\-]*"+$ge+"*\\s*\\/?>",T2="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Yge="|",Wge="<[?][\\s\\S]*?[?]>",Kge="]*>",jge="",Qge=new RegExp("^(?:"+S2+"|"+T2+"|"+Yge+"|"+Wge+"|"+Kge+"|"+jge+")"),Xge=new RegExp("^(?:"+S2+"|"+T2+")");np.HTML_TAG_RE=Qge;np.HTML_OPEN_CLOSE_TAG_RE=Xge;var Zge=Bge,Jge=np.HTML_OPEN_CLOSE_TAG_RE,Co=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Jge.source+"\\s*$"),/^$/,!1]],ebe=function(e,t,s,i){var r,o,a,c,d=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(d)!==60)return!1;for(c=e.src.slice(d,u),r=0;r=4||(r=e.src.charCodeAt(d),r!==35||d>=u))return!1;for(o=1,r=e.src.charCodeAt(++d);r===35&&d6||dd&&OS(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,c=e.push("heading_open","h"+String(o),1),c.markup="########".slice(0,o),c.map=[t,e.line],c=e.push("inline","",0),c.content=e.src.slice(d,u).trim(),c.map=[t,e.line],c.children=[],c=e.push("heading_close","h"+String(o),-1),c.markup="########".slice(0,o)),!0)},nbe=function(e,t,s){var i,r,o,a,c,d,u,h,f,m=t+1,_,g=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(_=e.parentType,e.parentType="paragraph";m3)){if(e.sCount[m]>=e.blkIndent&&(d=e.bMarks[m]+e.tShift[m],u=e.eMarks[m],d=u)))){h=f===61?1:2;break}if(!(e.sCount[m]<0)){for(r=!1,o=0,a=g.length;o3)&&!(e.sCount[u]<0)){for(r=!1,o=0,a=h.length;o0&&this.level++,this.tokens.push(s),s};gi.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};gi.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!sp(this.src.charCodeAt(--e)))return e+1;return e};gi.prototype.skipChars=function(e,t){for(var s=this.src.length;es;)if(t!==this.src.charCodeAt(--e))return e+1;return e};gi.prototype.getLines=function(e,t,s,i){var r,o,a,c,d,u,h,f=e;if(e>=t)return"";for(u=new Array(t-e),r=0;fs?u[r]=new Array(o-s+1).join(" ")+this.src.slice(c,d):u[r]=this.src.slice(c,d)}return u.join("")};gi.prototype.Token=x2;var ibe=gi,rbe=bE,Uc=[["table",Age,["paragraph","reference"]],["code",Nge],["fence",Oge,["paragraph","reference","blockquote","list"]],["blockquote",Mge,["paragraph","reference","blockquote","list"]],["hr",Dge,["paragraph","reference","blockquote","list"]],["list",Pge,["paragraph","reference","blockquote"]],["reference",Uge],["html_block",ebe,["paragraph","reference","blockquote"]],["heading",tbe,["paragraph","reference","blockquote"]],["lheading",nbe],["paragraph",sbe]];function ip(){this.ruler=new rbe;for(var n=0;n=t||n.sCount[c]=u){n.line=t;break}for(r=n.line,i=0;i=n.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");n.tight=!d,n.isEmpty(n.line-1)&&(d=!0),c=n.line,c0||(s=e.pos,i=e.posMax,s+3>i)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(cbe),!r)||(o=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-o.length)),!a)||(c=a.url,c.length<=o.length)||(c=c.replace(/\*+$/,""),d=e.md.normalizeLink(c),!e.md.validateLink(d))?!1:(t||(e.pending=e.pending.slice(0,-o.length),u=e.push("link_open","a",1),u.attrs=[["href",d]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(c),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=c.length-o.length,!0)},ube=Pt.isSpace,pbe=function(e,t){var s,i,r,o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;if(s=e.pending.length-1,i=e.posMax,!t)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(o++;o?@[]^_`{|}~-".split("").forEach(function(n){vE[n.charCodeAt(0)]=1});var hbe=function(e,t){var s,i,r,o,a,c=e.pos,d=e.posMax;if(e.src.charCodeAt(c)!==92||(c++,c>=d))return!1;if(s=e.src.charCodeAt(c),s===10){for(t||e.push("hardbreak","br",0),c++;c=55296&&s<=56319&&c+1=56320&&i<=57343&&(o+=e.src[c+1],c++)),r="\\"+o,t||(a=e.push("text_special","",0),s<256&&vE[s]!==0?a.content=o:a.content=r,a.markup=r,a.info="escape"),e.pos=c+1,!0},fbe=function(e,t){var s,i,r,o,a,c,d,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,i=e.posMax;h=0;t--)s=e[t],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(i=e[s.end],a=t>0&&e[t-1].end===s.end+1&&e[t-1].marker===s.marker&&e[t-1].token===s.token-1&&e[s.end+1].token===i.token+1,o=String.fromCharCode(s.marker),r=n.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?o+o:o,r.content="",r=n.tokens[i.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?o+o:o,r.content="",a&&(n.tokens[e[t-1].token].content="",n.tokens[e[s.end+1].token].content="",t--))}op.postProcess=function(e){var t,s=e.tokens_meta,i=e.tokens_meta.length;for(kS(e,e.delimiters),t=0;t=g)return!1;if(b=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok){for(f=e.md.normalizeLink(d.str),e.md.validateLink(f)?c=d.pos:f="",b=c;c=g||e.src.charCodeAt(c)!==41)&&(E=!0),c++}if(E){if(typeof e.env.references>"u")return!1;if(c=0?r=e.src.slice(b,c++):c=o+1):c=o+1,r||(r=e.src.slice(a,o)),u=e.env.references[mbe(r)],!u)return e.pos=_,!1;f=u.href,m=u.title}return t||(e.pos=a,e.posMax=o,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],m&&s.push(["title",m]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0},bbe=Pt.normalizeReference,i_=Pt.isSpace,Ebe=function(e,t){var s,i,r,o,a,c,d,u,h,f,m,_,g,b="",E=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(c=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(d=a+1,d=y)return!1;for(g=d,h=e.md.helpers.parseLinkDestination(e.src,d,e.posMax),h.ok&&(b=e.md.normalizeLink(h.str),e.md.validateLink(b)?d=h.pos:b=""),g=d;d=y||e.src.charCodeAt(d)!==41)return e.pos=E,!1;d++}else{if(typeof e.env.references>"u")return!1;if(d=0?o=e.src.slice(g,d++):d=a+1):d=a+1,o||(o=e.src.slice(c,a)),u=e.env.references[bbe(o)],!u)return e.pos=E,!1;b=u.href,f=u.title}return t||(r=e.src.slice(c,a),e.md.inline.parse(r,e.md,e.env,_=[]),m=e.push("image","img",0),m.attrs=s=[["src",b],["alt",""]],m.children=_,m.content=r,f&&s.push(["title",f])),e.pos=d,e.posMax=y,!0},ybe=/^([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])?)*)$/,vbe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Sbe=function(e,t){var s,i,r,o,a,c,d=e.pos;if(e.src.charCodeAt(d)!==60)return!1;for(a=e.pos,c=e.posMax;;){if(++d>=c||(o=e.src.charCodeAt(d),o===60))return!1;if(o===62)break}return s=e.src.slice(a+1,d),vbe.test(s)?(i=e.md.normalizeLink(s),e.md.validateLink(i)?(t||(r=e.push("link_open","a",1),r.attrs=[["href",i]],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):ybe.test(s)?(i=e.md.normalizeLink("mailto:"+s),e.md.validateLink(i)?(t||(r=e.push("link_open","a",1),r.attrs=[["href",i]],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},Tbe=np.HTML_TAG_RE;function xbe(n){return/^\s]/i.test(n)}function Cbe(n){return/^<\/a\s*>/i.test(n)}function wbe(n){var e=n|32;return e>=97&&e<=122}var Rbe=function(e,t){var s,i,r,o,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&&!wbe(s))||(i=e.src.slice(a).match(Tbe),!i)?!1:(t||(o=e.push("html_inline","",0),o.content=i[0],xbe(o.content)&&e.linkLevel++,Cbe(o.content)&&e.linkLevel--),e.pos+=i[0].length,!0)},DS=f2,Abe=Pt.has,Nbe=Pt.isValidEntityCode,LS=Pt.fromCodePoint,Obe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ibe=/^&([a-z][a-z0-9]{1,31});/i,Mbe=function(e,t){var s,i,r,o,a=e.pos,c=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=c)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(Obe),r)return t||(i=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),o=e.push("text_special","",0),o.content=Nbe(i)?LS(i):LS(65533),o.markup=r[0],o.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Ibe),r&&Abe(DS,r[1]))return t||(o=e.push("text_special","",0),o.content=DS[r[1]],o.markup=r[0],o.info="entity"),e.pos+=r[0].length,!0;return!1};function PS(n){var e,t,s,i,r,o,a,c,d={},u=n.length;if(u){var h=0,f=-2,m=[];for(e=0;er;t-=m[t]+1)if(i=n[t],i.marker===s.marker&&i.open&&i.end<0&&(a=!1,(i.close||s.open)&&(i.length+s.length)%3===0&&(i.length%3!==0||s.length%3!==0)&&(a=!0),!a)){c=t>0&&!n[t-1].open?m[t-1]+1:0,m[e]=e-t+c,m[t]=c,s.open=!1,i.end=e,i.close=!1,o=-1,f=-2;break}o!==-1&&(d[s.marker][(s.open?3:0)+(s.length||0)%3]=o)}}}var kbe=function(e){var t,s=e.tokens_meta,i=e.tokens_meta.length;for(PS(e.delimiters),t=0;t0&&i++,r[t].type==="text"&&t+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(i),s};uc.prototype.scanDelims=function(n,e){var t=n,s,i,r,o,a,c,d,u,h,f=!0,m=!0,_=this.posMax,g=this.src.charCodeAt(n);for(s=n>0?this.src.charCodeAt(n-1):32;t<_&&this.src.charCodeAt(t)===g;)t++;return r=t-n,i=t<_?this.src.charCodeAt(t):32,d=BS(s)||US(String.fromCharCode(s)),h=BS(i)||US(String.fromCharCode(i)),c=FS(s),u=FS(i),u?f=!1:h&&(c||d||(f=!1)),c?m=!1:d&&(u||h||(m=!1)),e?(o=f,a=m):(o=f&&(!m||d),a=m&&(!f||h)),{can_open:o,can_close:a,length:r}};uc.prototype.Token=SE;var Lbe=uc,GS=bE,r_=[["text",lbe],["linkify",dbe],["newline",pbe],["escape",hbe],["backticks",fbe],["strikethrough",rp.tokenize],["emphasis",op.tokenize],["link",gbe],["image",Ebe],["autolink",Sbe],["html_inline",Rbe],["entity",Mbe]],o_=[["balance_pairs",kbe],["strikethrough",rp.postProcess],["emphasis",op.postProcess],["fragments_join",Dbe]];function pc(){var n;for(this.ruler=new GS,n=0;n=n.pos)throw new Error("inline rule didn't increment state.pos");break}}else n.pos=n.posMax;e||n.pos++,a[s]=n.pos};pc.prototype.tokenize=function(n){for(var e,t,s,i=this.ruler.getRules(""),r=i.length,o=n.posMax,a=n.md.options.maxNesting;n.pos=n.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(n.pos>=o)break;continue}n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()};pc.prototype.parse=function(n,e,t,s){var i,r,o,a=new this.State(n,e,t,s);for(this.tokenize(a),r=this.ruler2.getRules(""),o=r.length,i=0;i|$))",e.tpl_email_fuzzy="(^|"+t+'|"|\\(|'+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}),a_}function Jg(n){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(t){t&&Object.keys(t).forEach(function(s){n[s]=t[s]})}),n}function ap(n){return Object.prototype.toString.call(n)}function Ube(n){return ap(n)==="[object String]"}function Bbe(n){return ap(n)==="[object Object]"}function Gbe(n){return ap(n)==="[object RegExp]"}function zS(n){return ap(n)==="[object Function]"}function Vbe(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var C2={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function zbe(n){return Object.keys(n||{}).reduce(function(e,t){return e||C2.hasOwnProperty(t)},!1)}var Hbe={"http:":{validate:function(n,e,t){var s=n.slice(e);return t.re.http||(t.re.http=new RegExp("^\\/\\/"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,"i")),t.re.http.test(s)?s.match(t.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(n,e,t){var s=n.slice(e);return t.re.no_http||(t.re.no_http=new RegExp("^"+t.re.src_auth+"(?:localhost|(?:(?:"+t.re.src_domain+")\\.)+"+t.re.src_domain_root+")"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,"i")),t.re.no_http.test(s)?e>=3&&n[e-3]===":"||e>=3&&n[e-3]==="/"?0:s.match(t.re.no_http)[0].length:0}},"mailto:":{validate:function(n,e,t){var s=n.slice(e);return t.re.mailto||(t.re.mailto=new RegExp("^"+t.re.src_email_name+"@"+t.re.src_host_strict,"i")),t.re.mailto.test(s)?s.match(t.re.mailto)[0].length:0}}},qbe="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]",$be="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ybe(n){n.__index__=-1,n.__text_cache__=""}function Wbe(n){return function(e,t){var s=e.slice(t);return n.test(s)?s.match(n)[0].length:0}}function HS(){return function(n,e){e.normalize(n)}}function iu(n){var e=n.re=Fbe()(n.__opts__),t=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||t.push(qbe),t.push(e.src_xn),e.src_tlds=t.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 i=[];n.__compiled__={};function r(a,c){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+c)}Object.keys(n.__schemas__).forEach(function(a){var c=n.__schemas__[a];if(c!==null){var d={validate:null,link:null};if(n.__compiled__[a]=d,Bbe(c)){Gbe(c.validate)?d.validate=Wbe(c.validate):zS(c.validate)?d.validate=c.validate:r(a,c),zS(c.normalize)?d.normalize=c.normalize:c.normalize?r(a,c):d.normalize=HS();return}if(Ube(c)){i.push(a);return}r(a,c)}}),i.forEach(function(a){n.__compiled__[n.__schemas__[a]]&&(n.__compiled__[a].validate=n.__compiled__[n.__schemas__[a]].validate,n.__compiled__[a].normalize=n.__compiled__[n.__schemas__[a]].normalize)}),n.__compiled__[""]={validate:null,normalize:HS()};var o=Object.keys(n.__compiled__).filter(function(a){return a.length>0&&n.__compiled__[a]}).map(Vbe).join("|");n.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),n.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),n.re.schema_at_start=RegExp("^"+n.re.schema_search.source,"i"),n.re.pretest=RegExp("("+n.re.schema_test.source+")|("+n.re.host_fuzzy_test.source+")|@","i"),Ybe(n)}function Kbe(n,e){var t=n.__index__,s=n.__last_index__,i=n.__text_cache__.slice(t,s);this.schema=n.__schema__.toLowerCase(),this.index=t+e,this.lastIndex=s+e,this.raw=i,this.text=i,this.url=i}function eb(n,e){var t=new Kbe(n,e);return n.__compiled__[t.schema].normalize(t,n),t}function rs(n,e){if(!(this instanceof rs))return new rs(n,e);e||zbe(n)&&(e=n,n={}),this.__opts__=Jg({},C2,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Jg({},Hbe,n),this.__compiled__={},this.__tlds__=$be,this.__tlds_replaced__=!1,this.re={},iu(this)}rs.prototype.add=function(e,t){return this.__schemas__[e]=t,iu(this),this};rs.prototype.set=function(e){return this.__opts__=Jg(this.__opts__,e),this};rs.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,s,i,r,o,a,c,d,u;if(this.re.schema_test.test(e)){for(c=this.re.schema_search,c.lastIndex=0;(t=c.exec(e))!==null;)if(r=this.testSchemaAt(e,t[2],c.lastIndex),r){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(d=e.search(this.re.host_fuzzy_test),d>=0&&(this.__index__<0||d=0&&(i=e.match(this.re.email_fuzzy))!==null&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};rs.prototype.pretest=function(e){return this.re.pretest.test(e)};rs.prototype.testSchemaAt=function(e,t,s){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,s,this):0};rs.prototype.match=function(e){var t=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(eb(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)s.push(eb(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return s.length?s:null};rs.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var t=this.re.schema_at_start.exec(e);if(!t)return null;var s=this.testSchemaAt(e,t[2],t[0].length);return s?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s,eb(this,0)):null};rs.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,i,r){return s!==r[i-1]}).reverse(),iu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,iu(this),this)};rs.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};rs.prototype.onCompile=function(){};var jbe=rs;const na=2147483647,ai=36,TE=1,Xl=26,Qbe=38,Xbe=700,w2=72,R2=128,A2="-",Zbe=/^xn--/,Jbe=/[^\0-\x7F]/,eEe=/[\x2E\u3002\uFF0E\uFF61]/g,tEe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l_=ai-TE,li=Math.floor,c_=String.fromCharCode;function rr(n){throw new RangeError(tEe[n])}function nEe(n,e){const t=[];let s=n.length;for(;s--;)t[s]=e(n[s]);return t}function N2(n,e){const t=n.split("@");let s="";t.length>1&&(s=t[0]+"@",n=t[1]),n=n.replace(eEe,".");const i=n.split("."),r=nEe(i,e).join(".");return s+r}function xE(n){const e=[];let t=0;const s=n.length;for(;t=55296&&i<=56319&&tString.fromCodePoint(...n),sEe=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:ai},qS=function(n,e){return n+22+75*(n<26)-((e!=0)<<5)},I2=function(n,e,t){let s=0;for(n=t?li(n/Xbe):n>>1,n+=li(n/e);n>l_*Xl>>1;s+=ai)n=li(n/l_);return li(s+(l_+1)*n/(n+Qbe))},CE=function(n){const e=[],t=n.length;let s=0,i=R2,r=w2,o=n.lastIndexOf(A2);o<0&&(o=0);for(let a=0;a=128&&rr("not-basic"),e.push(n.charCodeAt(a));for(let a=o>0?o+1:0;a=t&&rr("invalid-input");const f=sEe(n.charCodeAt(a++));f>=ai&&rr("invalid-input"),f>li((na-s)/u)&&rr("overflow"),s+=f*u;const m=h<=r?TE:h>=r+Xl?Xl:h-r;if(fli(na/_)&&rr("overflow"),u*=_}const d=e.length+1;r=I2(s-c,d,c==0),li(s/d)>na-i&&rr("overflow"),i+=li(s/d),s%=d,e.splice(s++,0,i)}return String.fromCodePoint(...e)},wE=function(n){const e=[];n=xE(n);const t=n.length;let s=R2,i=0,r=w2;for(const c of n)c<128&&e.push(c_(c));const o=e.length;let a=o;for(o&&e.push(A2);a=s&&uli((na-i)/d)&&rr("overflow"),i+=(c-s)*d,s=c;for(const u of n)if(una&&rr("overflow"),u===s){let h=i;for(let f=ai;;f+=ai){const m=f<=r?TE:f>=r+Xl?Xl:f-r;if(h=0))try{e.hostname=D2.toASCII(e.hostname)}catch{}return Kr.encode(Kr.format(e))}function vEe(n){var e=Kr.parse(n,!0);if(e.hostname&&(!e.protocol||L2.indexOf(e.protocol)>=0))try{e.hostname=D2.toUnicode(e.hostname)}catch{}return Kr.decode(Kr.format(e),Kr.decode.defaultChars+"%")}function xs(n,e){if(!(this instanceof xs))return new xs(n,e);e||Nl.isString(n)||(e=n||{},n="default"),this.inline=new hEe,this.block=new _Ee,this.core=new pEe,this.renderer=new uEe,this.linkify=new fEe,this.validateLink=EEe,this.normalizeLink=yEe,this.normalizeLinkText=vEe,this.utils=Nl,this.helpers=Nl.assign({},dEe),this.options={},this.configure(n),e&&this.set(e)}xs.prototype.set=function(n){return Nl.assign(this.options,n),this};xs.prototype.configure=function(n){var e=this,t;if(Nl.isString(n)&&(t=n,n=mEe[t],!n))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!n)throw new Error("Wrong `markdown-it` preset, can't be empty");return n.options&&e.set(n.options),n.components&&Object.keys(n.components).forEach(function(s){n.components[s].rules&&e[s].ruler.enableOnly(n.components[s].rules),n.components[s].rules2&&e[s].ruler2.enableOnly(n.components[s].rules2)}),this};xs.prototype.enable=function(n,e){var t=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(i){t=t.concat(this[i].ruler.enable(n,!0))},this),t=t.concat(this.inline.ruler2.enable(n,!0));var s=n.filter(function(i){return t.indexOf(i)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};xs.prototype.disable=function(n,e){var t=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(i){t=t.concat(this[i].ruler.disable(n,!0))},this),t=t.concat(this.inline.ruler2.disable(n,!0));var s=n.filter(function(i){return t.indexOf(i)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};xs.prototype.use=function(n){var e=[this].concat(Array.prototype.slice.call(arguments,1));return n.apply(n,e),this};xs.prototype.parse=function(n,e){if(typeof n!="string")throw new Error("Input data should be a String");var t=new this.core.State(n,this,e);return this.core.process(t),t.tokens};xs.prototype.render=function(n,e){return e=e||{},this.renderer.render(this.parse(n,e),this.options,e)};xs.prototype.parseInline=function(n,e){var t=new this.core.State(n,this,e);return t.inlineMode=!0,this.core.process(t),t.tokens};xs.prototype.renderInline=function(n,e){return e=e||{},this.renderer.render(this.parseInline(n,e),this.options,e)};var SEe=xs,TEe=SEe;const xEe=Tr(TEe),CEe="😀",wEe="😃",REe="😄",AEe="😁",NEe="😆",OEe="😆",IEe="😅",MEe="🤣",kEe="😂",DEe="🙂",LEe="🙃",PEe="😉",FEe="😊",UEe="😇",BEe="🥰",GEe="😍",VEe="🤩",zEe="😘",HEe="😗",qEe="☺️",$Ee="😚",YEe="😙",WEe="🥲",KEe="😋",jEe="😛",QEe="😜",XEe="🤪",ZEe="😝",JEe="🤑",eye="🤗",tye="🤭",nye="🤫",sye="🤔",iye="🤐",rye="🤨",oye="😐",aye="😑",lye="😶",cye="😏",dye="😒",uye="🙄",pye="😬",_ye="🤥",hye="😌",fye="😔",mye="😪",gye="🤤",bye="😴",Eye="😷",yye="🤒",vye="🤕",Sye="🤢",Tye="🤮",xye="🤧",Cye="🥵",wye="🥶",Rye="🥴",Aye="😵",Nye="🤯",Oye="🤠",Iye="🥳",Mye="🥸",kye="😎",Dye="🤓",Lye="🧐",Pye="😕",Fye="😟",Uye="🙁",Bye="☹️",Gye="😮",Vye="😯",zye="😲",Hye="😳",qye="🥺",$ye="😦",Yye="😧",Wye="😨",Kye="😰",jye="😥",Qye="😢",Xye="😭",Zye="😱",Jye="😖",eve="😣",tve="😞",nve="😓",sve="😩",ive="😫",rve="🥱",ove="😤",ave="😡",lve="😡",cve="😠",dve="🤬",uve="😈",pve="👿",_ve="💀",hve="☠️",fve="💩",mve="💩",gve="💩",bve="🤡",Eve="👹",yve="👺",vve="👻",Sve="👽",Tve="👾",xve="🤖",Cve="😺",wve="😸",Rve="😹",Ave="😻",Nve="😼",Ove="😽",Ive="🙀",Mve="😿",kve="😾",Dve="🙈",Lve="🙉",Pve="🙊",Fve="💋",Uve="💌",Bve="💘",Gve="💝",Vve="💖",zve="💗",Hve="💓",qve="💞",$ve="💕",Yve="💟",Wve="❣️",Kve="💔",jve="❤️",Qve="🧡",Xve="💛",Zve="💚",Jve="💙",eSe="💜",tSe="🤎",nSe="🖤",sSe="🤍",iSe="💢",rSe="💥",oSe="💥",aSe="💫",lSe="💦",cSe="💨",dSe="🕳️",uSe="💣",pSe="💬",_Se="👁️‍🗨️",hSe="🗨️",fSe="🗯️",mSe="💭",gSe="💤",bSe="👋",ESe="🤚",ySe="🖐️",vSe="✋",SSe="✋",TSe="🖖",xSe="👌",CSe="🤌",wSe="🤏",RSe="✌️",ASe="🤞",NSe="🤟",OSe="🤘",ISe="🤙",MSe="👈",kSe="👉",DSe="👆",LSe="🖕",PSe="🖕",FSe="👇",USe="☝️",BSe="👍",GSe="👎",VSe="✊",zSe="✊",HSe="👊",qSe="👊",$Se="👊",YSe="🤛",WSe="🤜",KSe="👏",jSe="🙌",QSe="👐",XSe="🤲",ZSe="🤝",JSe="🙏",e0e="✍️",t0e="💅",n0e="🤳",s0e="💪",i0e="🦾",r0e="🦿",o0e="🦵",a0e="🦶",l0e="👂",c0e="🦻",d0e="👃",u0e="🧠",p0e="🫀",_0e="🫁",h0e="🦷",f0e="🦴",m0e="👀",g0e="👁️",b0e="👅",E0e="👄",y0e="👶",v0e="🧒",S0e="👦",T0e="👧",x0e="🧑",C0e="👱",w0e="👨",R0e="🧔",A0e="👨‍🦰",N0e="👨‍🦱",O0e="👨‍🦳",I0e="👨‍🦲",M0e="👩",k0e="👩‍🦰",D0e="🧑‍🦰",L0e="👩‍🦱",P0e="🧑‍🦱",F0e="👩‍🦳",U0e="🧑‍🦳",B0e="👩‍🦲",G0e="🧑‍🦲",V0e="👱‍♀️",z0e="👱‍♀️",H0e="👱‍♂️",q0e="🧓",$0e="👴",Y0e="👵",W0e="🙍",K0e="🙍‍♂️",j0e="🙍‍♀️",Q0e="🙎",X0e="🙎‍♂️",Z0e="🙎‍♀️",J0e="🙅",eTe="🙅‍♂️",tTe="🙅‍♂️",nTe="🙅‍♀️",sTe="🙅‍♀️",iTe="🙆",rTe="🙆‍♂️",oTe="🙆‍♀️",aTe="💁",lTe="💁",cTe="💁‍♂️",dTe="💁‍♂️",uTe="💁‍♀️",pTe="💁‍♀️",_Te="🙋",hTe="🙋‍♂️",fTe="🙋‍♀️",mTe="🧏",gTe="🧏‍♂️",bTe="🧏‍♀️",ETe="🙇",yTe="🙇‍♂️",vTe="🙇‍♀️",STe="🤦",TTe="🤦‍♂️",xTe="🤦‍♀️",CTe="🤷",wTe="🤷‍♂️",RTe="🤷‍♀️",ATe="🧑‍⚕️",NTe="👨‍⚕️",OTe="👩‍⚕️",ITe="🧑‍🎓",MTe="👨‍🎓",kTe="👩‍🎓",DTe="🧑‍🏫",LTe="👨‍🏫",PTe="👩‍🏫",FTe="🧑‍⚖️",UTe="👨‍⚖️",BTe="👩‍⚖️",GTe="🧑‍🌾",VTe="👨‍🌾",zTe="👩‍🌾",HTe="🧑‍🍳",qTe="👨‍🍳",$Te="👩‍🍳",YTe="🧑‍🔧",WTe="👨‍🔧",KTe="👩‍🔧",jTe="🧑‍🏭",QTe="👨‍🏭",XTe="👩‍🏭",ZTe="🧑‍💼",JTe="👨‍💼",exe="👩‍💼",txe="🧑‍🔬",nxe="👨‍🔬",sxe="👩‍🔬",ixe="🧑‍💻",rxe="👨‍💻",oxe="👩‍💻",axe="🧑‍🎤",lxe="👨‍🎤",cxe="👩‍🎤",dxe="🧑‍🎨",uxe="👨‍🎨",pxe="👩‍🎨",_xe="🧑‍✈️",hxe="👨‍✈️",fxe="👩‍✈️",mxe="🧑‍🚀",gxe="👨‍🚀",bxe="👩‍🚀",Exe="🧑‍🚒",yxe="👨‍🚒",vxe="👩‍🚒",Sxe="👮",Txe="👮",xxe="👮‍♂️",Cxe="👮‍♀️",wxe="🕵️",Rxe="🕵️‍♂️",Axe="🕵️‍♀️",Nxe="💂",Oxe="💂‍♂️",Ixe="💂‍♀️",Mxe="🥷",kxe="👷",Dxe="👷‍♂️",Lxe="👷‍♀️",Pxe="🤴",Fxe="👸",Uxe="👳",Bxe="👳‍♂️",Gxe="👳‍♀️",Vxe="👲",zxe="🧕",Hxe="🤵",qxe="🤵‍♂️",$xe="🤵‍♀️",Yxe="👰",Wxe="👰‍♂️",Kxe="👰‍♀️",jxe="👰‍♀️",Qxe="🤰",Xxe="🤱",Zxe="👩‍🍼",Jxe="👨‍🍼",e1e="🧑‍🍼",t1e="👼",n1e="🎅",s1e="🤶",i1e="🧑‍🎄",r1e="🦸",o1e="🦸‍♂️",a1e="🦸‍♀️",l1e="🦹",c1e="🦹‍♂️",d1e="🦹‍♀️",u1e="🧙",p1e="🧙‍♂️",_1e="🧙‍♀️",h1e="🧚",f1e="🧚‍♂️",m1e="🧚‍♀️",g1e="🧛",b1e="🧛‍♂️",E1e="🧛‍♀️",y1e="🧜",v1e="🧜‍♂️",S1e="🧜‍♀️",T1e="🧝",x1e="🧝‍♂️",C1e="🧝‍♀️",w1e="🧞",R1e="🧞‍♂️",A1e="🧞‍♀️",N1e="🧟",O1e="🧟‍♂️",I1e="🧟‍♀️",M1e="💆",k1e="💆‍♂️",D1e="💆‍♀️",L1e="💇",P1e="💇‍♂️",F1e="💇‍♀️",U1e="🚶",B1e="🚶‍♂️",G1e="🚶‍♀️",V1e="🧍",z1e="🧍‍♂️",H1e="🧍‍♀️",q1e="🧎",$1e="🧎‍♂️",Y1e="🧎‍♀️",W1e="🧑‍🦯",K1e="👨‍🦯",j1e="👩‍🦯",Q1e="🧑‍🦼",X1e="👨‍🦼",Z1e="👩‍🦼",J1e="🧑‍🦽",eCe="👨‍🦽",tCe="👩‍🦽",nCe="🏃",sCe="🏃",iCe="🏃‍♂️",rCe="🏃‍♀️",oCe="💃",aCe="💃",lCe="🕺",cCe="🕴️",dCe="👯",uCe="👯‍♂️",pCe="👯‍♀️",_Ce="🧖",hCe="🧖‍♂️",fCe="🧖‍♀️",mCe="🧗",gCe="🧗‍♂️",bCe="🧗‍♀️",ECe="🤺",yCe="🏇",vCe="⛷️",SCe="🏂",TCe="🏌️",xCe="🏌️‍♂️",CCe="🏌️‍♀️",wCe="🏄",RCe="🏄‍♂️",ACe="🏄‍♀️",NCe="🚣",OCe="🚣‍♂️",ICe="🚣‍♀️",MCe="🏊",kCe="🏊‍♂️",DCe="🏊‍♀️",LCe="⛹️",PCe="⛹️‍♂️",FCe="⛹️‍♂️",UCe="⛹️‍♀️",BCe="⛹️‍♀️",GCe="🏋️",VCe="🏋️‍♂️",zCe="🏋️‍♀️",HCe="🚴",qCe="🚴‍♂️",$Ce="🚴‍♀️",YCe="🚵",WCe="🚵‍♂️",KCe="🚵‍♀️",jCe="🤸",QCe="🤸‍♂️",XCe="🤸‍♀️",ZCe="🤼",JCe="🤼‍♂️",ewe="🤼‍♀️",twe="🤽",nwe="🤽‍♂️",swe="🤽‍♀️",iwe="🤾",rwe="🤾‍♂️",owe="🤾‍♀️",awe="🤹",lwe="🤹‍♂️",cwe="🤹‍♀️",dwe="🧘",uwe="🧘‍♂️",pwe="🧘‍♀️",_we="🛀",hwe="🛌",fwe="🧑‍🤝‍🧑",mwe="👭",gwe="👫",bwe="👬",Ewe="💏",ywe="👩‍❤️‍💋‍👨",vwe="👨‍❤️‍💋‍👨",Swe="👩‍❤️‍💋‍👩",Twe="💑",xwe="👩‍❤️‍👨",Cwe="👨‍❤️‍👨",wwe="👩‍❤️‍👩",Rwe="👪",Awe="👨‍👩‍👦",Nwe="👨‍👩‍👧",Owe="👨‍👩‍👧‍👦",Iwe="👨‍👩‍👦‍👦",Mwe="👨‍👩‍👧‍👧",kwe="👨‍👨‍👦",Dwe="👨‍👨‍👧",Lwe="👨‍👨‍👧‍👦",Pwe="👨‍👨‍👦‍👦",Fwe="👨‍👨‍👧‍👧",Uwe="👩‍👩‍👦",Bwe="👩‍👩‍👧",Gwe="👩‍👩‍👧‍👦",Vwe="👩‍👩‍👦‍👦",zwe="👩‍👩‍👧‍👧",Hwe="👨‍👦",qwe="👨‍👦‍👦",$we="👨‍👧",Ywe="👨‍👧‍👦",Wwe="👨‍👧‍👧",Kwe="👩‍👦",jwe="👩‍👦‍👦",Qwe="👩‍👧",Xwe="👩‍👧‍👦",Zwe="👩‍👧‍👧",Jwe="🗣️",eRe="👤",tRe="👥",nRe="🫂",sRe="👣",iRe="🐵",rRe="🐒",oRe="🦍",aRe="🦧",lRe="🐶",cRe="🐕",dRe="🦮",uRe="🐕‍🦺",pRe="🐩",_Re="🐺",hRe="🦊",fRe="🦝",mRe="🐱",gRe="🐈",bRe="🐈‍⬛",ERe="🦁",yRe="🐯",vRe="🐅",SRe="🐆",TRe="🐴",xRe="🐎",CRe="🦄",wRe="🦓",RRe="🦌",ARe="🦬",NRe="🐮",ORe="🐂",IRe="🐃",MRe="🐄",kRe="🐷",DRe="🐖",LRe="🐗",PRe="🐽",FRe="🐏",URe="🐑",BRe="🐐",GRe="🐪",VRe="🐫",zRe="🦙",HRe="🦒",qRe="🐘",$Re="🦣",YRe="🦏",WRe="🦛",KRe="🐭",jRe="🐁",QRe="🐀",XRe="🐹",ZRe="🐰",JRe="🐇",eAe="🐿️",tAe="🦫",nAe="🦔",sAe="🦇",iAe="🐻",rAe="🐻‍❄️",oAe="🐨",aAe="🐼",lAe="🦥",cAe="🦦",dAe="🦨",uAe="🦘",pAe="🦡",_Ae="🐾",hAe="🐾",fAe="🦃",mAe="🐔",gAe="🐓",bAe="🐣",EAe="🐤",yAe="🐥",vAe="🐦",SAe="🐧",TAe="🕊️",xAe="🦅",CAe="🦆",wAe="🦢",RAe="🦉",AAe="🦤",NAe="🪶",OAe="🦩",IAe="🦚",MAe="🦜",kAe="🐸",DAe="🐊",LAe="🐢",PAe="🦎",FAe="🐍",UAe="🐲",BAe="🐉",GAe="🦕",VAe="🐳",zAe="🐋",HAe="🐬",qAe="🐬",$Ae="🦭",YAe="🐟",WAe="🐠",KAe="🐡",jAe="🦈",QAe="🐙",XAe="🐚",ZAe="🐌",JAe="🦋",e2e="🐛",t2e="🐜",n2e="🐝",s2e="🐝",i2e="🪲",r2e="🐞",o2e="🦗",a2e="🪳",l2e="🕷️",c2e="🕸️",d2e="🦂",u2e="🦟",p2e="🪰",_2e="🪱",h2e="🦠",f2e="💐",m2e="🌸",g2e="💮",b2e="🏵️",E2e="🌹",y2e="🥀",v2e="🌺",S2e="🌻",T2e="🌼",x2e="🌷",C2e="🌱",w2e="🪴",R2e="🌲",A2e="🌳",N2e="🌴",O2e="🌵",I2e="🌾",M2e="🌿",k2e="☘️",D2e="🍀",L2e="🍁",P2e="🍂",F2e="🍃",U2e="🍇",B2e="🍈",G2e="🍉",V2e="🍊",z2e="🍊",H2e="🍊",q2e="🍋",$2e="🍌",Y2e="🍍",W2e="🥭",K2e="🍎",j2e="🍏",Q2e="🍐",X2e="🍑",Z2e="🍒",J2e="🍓",eNe="🫐",tNe="🥝",nNe="🍅",sNe="🫒",iNe="🥥",rNe="🥑",oNe="🍆",aNe="🥔",lNe="🥕",cNe="🌽",dNe="🌶️",uNe="🫑",pNe="🥒",_Ne="🥬",hNe="🥦",fNe="🧄",mNe="🧅",gNe="🍄",bNe="🥜",ENe="🌰",yNe="🍞",vNe="🥐",SNe="🥖",TNe="🫓",xNe="🥨",CNe="🥯",wNe="🥞",RNe="🧇",ANe="🧀",NNe="🍖",ONe="🍗",INe="🥩",MNe="🥓",kNe="🍔",DNe="🍟",LNe="🍕",PNe="🌭",FNe="🥪",UNe="🌮",BNe="🌯",GNe="🫔",VNe="🥙",zNe="🧆",HNe="🥚",qNe="🍳",$Ne="🥘",YNe="🍲",WNe="🫕",KNe="🥣",jNe="🥗",QNe="🍿",XNe="🧈",ZNe="🧂",JNe="🥫",eOe="🍱",tOe="🍘",nOe="🍙",sOe="🍚",iOe="🍛",rOe="🍜",oOe="🍝",aOe="🍠",lOe="🍢",cOe="🍣",dOe="🍤",uOe="🍥",pOe="🥮",_Oe="🍡",hOe="🥟",fOe="🥠",mOe="🥡",gOe="🦀",bOe="🦞",EOe="🦐",yOe="🦑",vOe="🦪",SOe="🍦",TOe="🍧",xOe="🍨",COe="🍩",wOe="🍪",ROe="🎂",AOe="🍰",NOe="🧁",OOe="🥧",IOe="🍫",MOe="🍬",kOe="🍭",DOe="🍮",LOe="🍯",POe="🍼",FOe="🥛",UOe="☕",BOe="🫖",GOe="🍵",VOe="🍶",zOe="🍾",HOe="🍷",qOe="🍸",$Oe="🍹",YOe="🍺",WOe="🍻",KOe="🥂",jOe="🥃",QOe="🥤",XOe="🧋",ZOe="🧃",JOe="🧉",eIe="🧊",tIe="🥢",nIe="🍽️",sIe="🍴",iIe="🥄",rIe="🔪",oIe="🔪",aIe="🏺",lIe="🌍",cIe="🌎",dIe="🌏",uIe="🌐",pIe="🗺️",_Ie="🗾",hIe="🧭",fIe="🏔️",mIe="⛰️",gIe="🌋",bIe="🗻",EIe="🏕️",yIe="🏖️",vIe="🏜️",SIe="🏝️",TIe="🏞️",xIe="🏟️",CIe="🏛️",wIe="🏗️",RIe="🧱",AIe="🪨",NIe="🪵",OIe="🛖",IIe="🏘️",MIe="🏚️",kIe="🏠",DIe="🏡",LIe="🏢",PIe="🏣",FIe="🏤",UIe="🏥",BIe="🏦",GIe="🏨",VIe="🏩",zIe="🏪",HIe="🏫",qIe="🏬",$Ie="🏭",YIe="🏯",WIe="🏰",KIe="💒",jIe="🗼",QIe="🗽",XIe="⛪",ZIe="🕌",JIe="🛕",eMe="🕍",tMe="⛩️",nMe="🕋",sMe="⛲",iMe="⛺",rMe="🌁",oMe="🌃",aMe="🏙️",lMe="🌄",cMe="🌅",dMe="🌆",uMe="🌇",pMe="🌉",_Me="♨️",hMe="🎠",fMe="🎡",mMe="🎢",gMe="💈",bMe="🎪",EMe="🚂",yMe="🚃",vMe="🚄",SMe="🚅",TMe="🚆",xMe="🚇",CMe="🚈",wMe="🚉",RMe="🚊",AMe="🚝",NMe="🚞",OMe="🚋",IMe="🚌",MMe="🚍",kMe="🚎",DMe="🚐",LMe="🚑",PMe="🚒",FMe="🚓",UMe="🚔",BMe="🚕",GMe="🚖",VMe="🚗",zMe="🚗",HMe="🚘",qMe="🚙",$Me="🛻",YMe="🚚",WMe="🚛",KMe="🚜",jMe="🏎️",QMe="🏍️",XMe="🛵",ZMe="🦽",JMe="🦼",eke="🛺",tke="🚲",nke="🛴",ske="🛹",ike="🛼",rke="🚏",oke="🛣️",ake="🛤️",lke="🛢️",cke="⛽",dke="🚨",uke="🚥",pke="🚦",_ke="🛑",hke="🚧",fke="⚓",mke="⛵",gke="⛵",bke="🛶",Eke="🚤",yke="🛳️",vke="⛴️",Ske="🛥️",Tke="🚢",xke="✈️",Cke="🛩️",wke="🛫",Rke="🛬",Ake="🪂",Nke="💺",Oke="🚁",Ike="🚟",Mke="🚠",kke="🚡",Dke="🛰️",Lke="🚀",Pke="🛸",Fke="🛎️",Uke="🧳",Bke="⌛",Gke="⏳",Vke="⌚",zke="⏰",Hke="⏱️",qke="⏲️",$ke="🕰️",Yke="🕛",Wke="🕧",Kke="🕐",jke="🕜",Qke="🕑",Xke="🕝",Zke="🕒",Jke="🕞",eDe="🕓",tDe="🕟",nDe="🕔",sDe="🕠",iDe="🕕",rDe="🕡",oDe="🕖",aDe="🕢",lDe="🕗",cDe="🕣",dDe="🕘",uDe="🕤",pDe="🕙",_De="🕥",hDe="🕚",fDe="🕦",mDe="🌑",gDe="🌒",bDe="🌓",EDe="🌔",yDe="🌔",vDe="🌕",SDe="🌖",TDe="🌗",xDe="🌘",CDe="🌙",wDe="🌚",RDe="🌛",ADe="🌜",NDe="🌡️",ODe="☀️",IDe="🌝",MDe="🌞",kDe="🪐",DDe="⭐",LDe="🌟",PDe="🌠",FDe="🌌",UDe="☁️",BDe="⛅",GDe="⛈️",VDe="🌤️",zDe="🌥️",HDe="🌦️",qDe="🌧️",$De="🌨️",YDe="🌩️",WDe="🌪️",KDe="🌫️",jDe="🌬️",QDe="🌀",XDe="🌈",ZDe="🌂",JDe="☂️",eLe="☔",tLe="⛱️",nLe="⚡",sLe="❄️",iLe="☃️",rLe="⛄",oLe="☄️",aLe="🔥",lLe="💧",cLe="🌊",dLe="🎃",uLe="🎄",pLe="🎆",_Le="🎇",hLe="🧨",fLe="✨",mLe="🎈",gLe="🎉",bLe="🎊",ELe="🎋",yLe="🎍",vLe="🎎",SLe="🎏",TLe="🎐",xLe="🎑",CLe="🧧",wLe="🎀",RLe="🎁",ALe="🎗️",NLe="🎟️",OLe="🎫",ILe="🎖️",MLe="🏆",kLe="🏅",DLe="⚽",LLe="⚾",PLe="🥎",FLe="🏀",ULe="🏐",BLe="🏈",GLe="🏉",VLe="🎾",zLe="🥏",HLe="🎳",qLe="🏏",$Le="🏑",YLe="🏒",WLe="🥍",KLe="🏓",jLe="🏸",QLe="🥊",XLe="🥋",ZLe="🥅",JLe="⛳",ePe="⛸️",tPe="🎣",nPe="🤿",sPe="🎽",iPe="🎿",rPe="🛷",oPe="🥌",aPe="🎯",lPe="🪀",cPe="🪁",dPe="🔮",uPe="🪄",pPe="🧿",_Pe="🎮",hPe="🕹️",fPe="🎰",mPe="🎲",gPe="🧩",bPe="🧸",EPe="🪅",yPe="🪆",vPe="♠️",SPe="♥️",TPe="♦️",xPe="♣️",CPe="♟️",wPe="🃏",RPe="🀄",APe="🎴",NPe="🎭",OPe="🖼️",IPe="🎨",MPe="🧵",kPe="🪡",DPe="🧶",LPe="🪢",PPe="👓",FPe="🕶️",UPe="🥽",BPe="🥼",GPe="🦺",VPe="👔",zPe="👕",HPe="👕",qPe="👖",$Pe="🧣",YPe="🧤",WPe="🧥",KPe="🧦",jPe="👗",QPe="👘",XPe="🥻",ZPe="🩱",JPe="🩲",eFe="🩳",tFe="👙",nFe="👚",sFe="👛",iFe="👜",rFe="👝",oFe="🛍️",aFe="🎒",lFe="🩴",cFe="👞",dFe="👞",uFe="👟",pFe="🥾",_Fe="🥿",hFe="👠",fFe="👡",mFe="🩰",gFe="👢",bFe="👑",EFe="👒",yFe="🎩",vFe="🎓",SFe="🧢",TFe="🪖",xFe="⛑️",CFe="📿",wFe="💄",RFe="💍",AFe="💎",NFe="🔇",OFe="🔈",IFe="🔉",MFe="🔊",kFe="📢",DFe="📣",LFe="📯",PFe="🔔",FFe="🔕",UFe="🎼",BFe="🎵",GFe="🎶",VFe="🎙️",zFe="🎚️",HFe="🎛️",qFe="🎤",$Fe="🎧",YFe="📻",WFe="🎷",KFe="🪗",jFe="🎸",QFe="🎹",XFe="🎺",ZFe="🎻",JFe="🪕",e3e="🥁",t3e="🪘",n3e="📱",s3e="📲",i3e="☎️",r3e="☎️",o3e="📞",a3e="📟",l3e="📠",c3e="🔋",d3e="🔌",u3e="💻",p3e="🖥️",_3e="🖨️",h3e="⌨️",f3e="🖱️",m3e="🖲️",g3e="💽",b3e="💾",E3e="💿",y3e="📀",v3e="🧮",S3e="🎥",T3e="🎞️",x3e="📽️",C3e="🎬",w3e="📺",R3e="📷",A3e="📸",N3e="📹",O3e="📼",I3e="🔍",M3e="🔎",k3e="🕯️",D3e="💡",L3e="🔦",P3e="🏮",F3e="🏮",U3e="🪔",B3e="📔",G3e="📕",V3e="📖",z3e="📖",H3e="📗",q3e="📘",$3e="📙",Y3e="📚",W3e="📓",K3e="📒",j3e="📃",Q3e="📜",X3e="📄",Z3e="📰",J3e="🗞️",eUe="📑",tUe="🔖",nUe="🏷️",sUe="💰",iUe="🪙",rUe="💴",oUe="💵",aUe="💶",lUe="💷",cUe="💸",dUe="💳",uUe="🧾",pUe="💹",_Ue="✉️",hUe="📧",fUe="📨",mUe="📩",gUe="📤",bUe="📥",EUe="📫",yUe="📪",vUe="📬",SUe="📭",TUe="📮",xUe="🗳️",CUe="✏️",wUe="✒️",RUe="🖋️",AUe="🖊️",NUe="🖌️",OUe="🖍️",IUe="📝",MUe="📝",kUe="💼",DUe="📁",LUe="📂",PUe="🗂️",FUe="📅",UUe="📆",BUe="🗒️",GUe="🗓️",VUe="📇",zUe="📈",HUe="📉",qUe="📊",$Ue="📋",YUe="📌",WUe="📍",KUe="📎",jUe="🖇️",QUe="📏",XUe="📐",ZUe="✂️",JUe="🗃️",e4e="🗄️",t4e="🗑️",n4e="🔒",s4e="🔓",i4e="🔏",r4e="🔐",o4e="🔑",a4e="🗝️",l4e="🔨",c4e="🪓",d4e="⛏️",u4e="⚒️",p4e="🛠️",_4e="🗡️",h4e="⚔️",f4e="🔫",m4e="🪃",g4e="🏹",b4e="🛡️",E4e="🪚",y4e="🔧",v4e="🪛",S4e="🔩",T4e="⚙️",x4e="🗜️",C4e="⚖️",w4e="🦯",R4e="🔗",A4e="⛓️",N4e="🪝",O4e="🧰",I4e="🧲",M4e="🪜",k4e="⚗️",D4e="🧪",L4e="🧫",P4e="🧬",F4e="🔬",U4e="🔭",B4e="📡",G4e="💉",V4e="🩸",z4e="💊",H4e="🩹",q4e="🩺",$4e="🚪",Y4e="🛗",W4e="🪞",K4e="🪟",j4e="🛏️",Q4e="🛋️",X4e="🪑",Z4e="🚽",J4e="🪠",eBe="🚿",tBe="🛁",nBe="🪤",sBe="🪒",iBe="🧴",rBe="🧷",oBe="🧹",aBe="🧺",lBe="🧻",cBe="🪣",dBe="🧼",uBe="🪥",pBe="🧽",_Be="🧯",hBe="🛒",fBe="🚬",mBe="⚰️",gBe="🪦",bBe="⚱️",EBe="🗿",yBe="🪧",vBe="🏧",SBe="🚮",TBe="🚰",xBe="♿",CBe="🚹",wBe="🚺",RBe="🚻",ABe="🚼",NBe="🚾",OBe="🛂",IBe="🛃",MBe="🛄",kBe="🛅",DBe="⚠️",LBe="🚸",PBe="⛔",FBe="🚫",UBe="🚳",BBe="🚭",GBe="🚯",VBe="🚷",zBe="📵",HBe="🔞",qBe="☢️",$Be="☣️",YBe="⬆️",WBe="↗️",KBe="➡️",jBe="↘️",QBe="⬇️",XBe="↙️",ZBe="⬅️",JBe="↖️",e5e="↕️",t5e="↔️",n5e="↩️",s5e="↪️",i5e="⤴️",r5e="⤵️",o5e="🔃",a5e="🔄",l5e="🔙",c5e="🔚",d5e="🔛",u5e="🔜",p5e="🔝",_5e="🛐",h5e="⚛️",f5e="🕉️",m5e="✡️",g5e="☸️",b5e="☯️",E5e="✝️",y5e="☦️",v5e="☪️",S5e="☮️",T5e="🕎",x5e="🔯",C5e="♈",w5e="♉",R5e="♊",A5e="♋",N5e="♌",O5e="♍",I5e="♎",M5e="♏",k5e="♐",D5e="♑",L5e="♒",P5e="♓",F5e="⛎",U5e="🔀",B5e="🔁",G5e="🔂",V5e="▶️",z5e="⏩",H5e="⏭️",q5e="⏯️",$5e="◀️",Y5e="⏪",W5e="⏮️",K5e="🔼",j5e="⏫",Q5e="🔽",X5e="⏬",Z5e="⏸️",J5e="⏹️",e6e="⏺️",t6e="⏏️",n6e="🎦",s6e="🔅",i6e="🔆",r6e="📶",o6e="📳",a6e="📴",l6e="♀️",c6e="♂️",d6e="⚧️",u6e="✖️",p6e="➕",_6e="➖",h6e="➗",f6e="♾️",m6e="‼️",g6e="⁉️",b6e="❓",E6e="❔",y6e="❕",v6e="❗",S6e="❗",T6e="〰️",x6e="💱",C6e="💲",w6e="⚕️",R6e="♻️",A6e="⚜️",N6e="🔱",O6e="📛",I6e="🔰",M6e="⭕",k6e="✅",D6e="☑️",L6e="✔️",P6e="❌",F6e="❎",U6e="➰",B6e="➿",G6e="〽️",V6e="✳️",z6e="✴️",H6e="❇️",q6e="©️",$6e="®️",Y6e="™️",W6e="#️⃣",K6e="*️⃣",j6e="0️⃣",Q6e="1️⃣",X6e="2️⃣",Z6e="3️⃣",J6e="4️⃣",eGe="5️⃣",tGe="6️⃣",nGe="7️⃣",sGe="8️⃣",iGe="9️⃣",rGe="🔟",oGe="🔠",aGe="🔡",lGe="🔣",cGe="🔤",dGe="🅰️",uGe="🆎",pGe="🅱️",_Ge="🆑",hGe="🆒",fGe="🆓",mGe="ℹ️",gGe="🆔",bGe="Ⓜ️",EGe="🆖",yGe="🅾️",vGe="🆗",SGe="🅿️",TGe="🆘",xGe="🆙",CGe="🆚",wGe="🈁",RGe="🈂️",AGe="🉐",NGe="🉑",OGe="㊗️",IGe="㊙️",MGe="🈵",kGe="🔴",DGe="🟠",LGe="🟡",PGe="🟢",FGe="🔵",UGe="🟣",BGe="🟤",GGe="⚫",VGe="⚪",zGe="🟥",HGe="🟧",qGe="🟨",$Ge="🟩",YGe="🟦",WGe="🟪",KGe="🟫",jGe="⬛",QGe="⬜",XGe="◼️",ZGe="◻️",JGe="◾",e9e="◽",t9e="▪️",n9e="▫️",s9e="🔶",i9e="🔷",r9e="🔸",o9e="🔹",a9e="🔺",l9e="🔻",c9e="💠",d9e="🔘",u9e="🔳",p9e="🔲",_9e="🏁",h9e="🚩",f9e="🎌",m9e="🏴",g9e="🏳️",b9e="🏳️‍🌈",E9e="🏳️‍⚧️",y9e="🏴‍☠️",v9e="🇦🇨",S9e="🇦🇩",T9e="🇦🇪",x9e="🇦🇫",C9e="🇦🇬",w9e="🇦🇮",R9e="🇦🇱",A9e="🇦🇲",N9e="🇦🇴",O9e="🇦🇶",I9e="🇦🇷",M9e="🇦🇸",k9e="🇦🇹",D9e="🇦🇺",L9e="🇦🇼",P9e="🇦🇽",F9e="🇦🇿",U9e="🇧🇦",B9e="🇧🇧",G9e="🇧🇩",V9e="🇧🇪",z9e="🇧🇫",H9e="🇧🇬",q9e="🇧🇭",$9e="🇧🇮",Y9e="🇧🇯",W9e="🇧🇱",K9e="🇧🇲",j9e="🇧🇳",Q9e="🇧🇴",X9e="🇧🇶",Z9e="🇧🇷",J9e="🇧🇸",e8e="🇧🇹",t8e="🇧🇻",n8e="🇧🇼",s8e="🇧🇾",i8e="🇧🇿",r8e="🇨🇦",o8e="🇨🇨",a8e="🇨🇩",l8e="🇨🇫",c8e="🇨🇬",d8e="🇨🇭",u8e="🇨🇮",p8e="🇨🇰",_8e="🇨🇱",h8e="🇨🇲",f8e="🇨🇳",m8e="🇨🇴",g8e="🇨🇵",b8e="🇨🇷",E8e="🇨🇺",y8e="🇨🇻",v8e="🇨🇼",S8e="🇨🇽",T8e="🇨🇾",x8e="🇨🇿",C8e="🇩🇪",w8e="🇩🇬",R8e="🇩🇯",A8e="🇩🇰",N8e="🇩🇲",O8e="🇩🇴",I8e="🇩🇿",M8e="🇪🇦",k8e="🇪🇨",D8e="🇪🇪",L8e="🇪🇬",P8e="🇪🇭",F8e="🇪🇷",U8e="🇪🇸",B8e="🇪🇹",G8e="🇪🇺",V8e="🇪🇺",z8e="🇫🇮",H8e="🇫🇯",q8e="🇫🇰",$8e="🇫🇲",Y8e="🇫🇴",W8e="🇫🇷",K8e="🇬🇦",j8e="🇬🇧",Q8e="🇬🇧",X8e="🇬🇩",Z8e="🇬🇪",J8e="🇬🇫",eVe="🇬🇬",tVe="🇬🇭",nVe="🇬🇮",sVe="🇬🇱",iVe="🇬🇲",rVe="🇬🇳",oVe="🇬🇵",aVe="🇬🇶",lVe="🇬🇷",cVe="🇬🇸",dVe="🇬🇹",uVe="🇬🇺",pVe="🇬🇼",_Ve="🇬🇾",hVe="🇭🇰",fVe="🇭🇲",mVe="🇭🇳",gVe="🇭🇷",bVe="🇭🇹",EVe="🇭🇺",yVe="🇮🇨",vVe="🇮🇩",SVe="🇮🇪",TVe="🇮🇱",xVe="🇮🇲",CVe="🇮🇳",wVe="🇮🇴",RVe="🇮🇶",AVe="🇮🇷",NVe="🇮🇸",OVe="🇮🇹",IVe="🇯🇪",MVe="🇯🇲",kVe="🇯🇴",DVe="🇯🇵",LVe="🇰🇪",PVe="🇰🇬",FVe="🇰🇭",UVe="🇰🇮",BVe="🇰🇲",GVe="🇰🇳",VVe="🇰🇵",zVe="🇰🇷",HVe="🇰🇼",qVe="🇰🇾",$Ve="🇰🇿",YVe="🇱🇦",WVe="🇱🇧",KVe="🇱🇨",jVe="🇱🇮",QVe="🇱🇰",XVe="🇱🇷",ZVe="🇱🇸",JVe="🇱🇹",eze="🇱🇺",tze="🇱🇻",nze="🇱🇾",sze="🇲🇦",ize="🇲🇨",rze="🇲🇩",oze="🇲🇪",aze="🇲🇫",lze="🇲🇬",cze="🇲🇭",dze="🇲🇰",uze="🇲🇱",pze="🇲🇲",_ze="🇲🇳",hze="🇲🇴",fze="🇲🇵",mze="🇲🇶",gze="🇲🇷",bze="🇲🇸",Eze="🇲🇹",yze="🇲🇺",vze="🇲🇻",Sze="🇲🇼",Tze="🇲🇽",xze="🇲🇾",Cze="🇲🇿",wze="🇳🇦",Rze="🇳🇨",Aze="🇳🇪",Nze="🇳🇫",Oze="🇳🇬",Ize="🇳🇮",Mze="🇳🇱",kze="🇳🇴",Dze="🇳🇵",Lze="🇳🇷",Pze="🇳🇺",Fze="🇳🇿",Uze="🇴🇲",Bze="🇵🇦",Gze="🇵🇪",Vze="🇵🇫",zze="🇵🇬",Hze="🇵🇭",qze="🇵🇰",$ze="🇵🇱",Yze="🇵🇲",Wze="🇵🇳",Kze="🇵🇷",jze="🇵🇸",Qze="🇵🇹",Xze="🇵🇼",Zze="🇵🇾",Jze="🇶🇦",eHe="🇷🇪",tHe="🇷🇴",nHe="🇷🇸",sHe="🇷🇺",iHe="🇷🇼",rHe="🇸🇦",oHe="🇸🇧",aHe="🇸🇨",lHe="🇸🇩",cHe="🇸🇪",dHe="🇸🇬",uHe="🇸🇭",pHe="🇸🇮",_He="🇸🇯",hHe="🇸🇰",fHe="🇸🇱",mHe="🇸🇲",gHe="🇸🇳",bHe="🇸🇴",EHe="🇸🇷",yHe="🇸🇸",vHe="🇸🇹",SHe="🇸🇻",THe="🇸🇽",xHe="🇸🇾",CHe="🇸🇿",wHe="🇹🇦",RHe="🇹🇨",AHe="🇹🇩",NHe="🇹🇫",OHe="🇹🇬",IHe="🇹🇭",MHe="🇹🇯",kHe="🇹🇰",DHe="🇹🇱",LHe="🇹🇲",PHe="🇹🇳",FHe="🇹🇴",UHe="🇹🇷",BHe="🇹🇹",GHe="🇹🇻",VHe="🇹🇼",zHe="🇹🇿",HHe="🇺🇦",qHe="🇺🇬",$He="🇺🇲",YHe="🇺🇳",WHe="🇺🇸",KHe="🇺🇾",jHe="🇺🇿",QHe="🇻🇦",XHe="🇻🇨",ZHe="🇻🇪",JHe="🇻🇬",e7e="🇻🇮",t7e="🇻🇳",n7e="🇻🇺",s7e="🇼🇫",i7e="🇼🇸",r7e="🇽🇰",o7e="🇾🇪",a7e="🇾🇹",l7e="🇿🇦",c7e="🇿🇲",d7e="🇿🇼",u7e="🏴󠁧󠁢󠁥󠁮󠁧󠁿",p7e="🏴󠁧󠁢󠁳󠁣󠁴󠁿",_7e="🏴󠁧󠁢󠁷󠁬󠁳󠁿",h7e={100:"💯",1234:"🔢",grinning:CEe,smiley:wEe,smile:REe,grin:AEe,laughing:NEe,satisfied:OEe,sweat_smile:IEe,rofl:MEe,joy:kEe,slightly_smiling_face:DEe,upside_down_face:LEe,wink:PEe,blush:FEe,innocent:UEe,smiling_face_with_three_hearts:BEe,heart_eyes:GEe,star_struck:VEe,kissing_heart:zEe,kissing:HEe,relaxed:qEe,kissing_closed_eyes:$Ee,kissing_smiling_eyes:YEe,smiling_face_with_tear:WEe,yum:KEe,stuck_out_tongue:jEe,stuck_out_tongue_winking_eye:QEe,zany_face:XEe,stuck_out_tongue_closed_eyes:ZEe,money_mouth_face:JEe,hugs:eye,hand_over_mouth:tye,shushing_face:nye,thinking:sye,zipper_mouth_face:iye,raised_eyebrow:rye,neutral_face:oye,expressionless:aye,no_mouth:lye,smirk:cye,unamused:dye,roll_eyes:uye,grimacing:pye,lying_face:_ye,relieved:hye,pensive:fye,sleepy:mye,drooling_face:gye,sleeping:bye,mask:Eye,face_with_thermometer:yye,face_with_head_bandage:vye,nauseated_face:Sye,vomiting_face:Tye,sneezing_face:xye,hot_face:Cye,cold_face:wye,woozy_face:Rye,dizzy_face:Aye,exploding_head:Nye,cowboy_hat_face:Oye,partying_face:Iye,disguised_face:Mye,sunglasses:kye,nerd_face:Dye,monocle_face:Lye,confused:Pye,worried:Fye,slightly_frowning_face:Uye,frowning_face:Bye,open_mouth:Gye,hushed:Vye,astonished:zye,flushed:Hye,pleading_face:qye,frowning:$ye,anguished:Yye,fearful:Wye,cold_sweat:Kye,disappointed_relieved:jye,cry:Qye,sob:Xye,scream:Zye,confounded:Jye,persevere:eve,disappointed:tve,sweat:nve,weary:sve,tired_face:ive,yawning_face:rve,triumph:ove,rage:ave,pout:lve,angry:cve,cursing_face:dve,smiling_imp:uve,imp:pve,skull:_ve,skull_and_crossbones:hve,hankey:fve,poop:mve,shit:gve,clown_face:bve,japanese_ogre:Eve,japanese_goblin:yve,ghost:vve,alien:Sve,space_invader:Tve,robot:xve,smiley_cat:Cve,smile_cat:wve,joy_cat:Rve,heart_eyes_cat:Ave,smirk_cat:Nve,kissing_cat:Ove,scream_cat:Ive,crying_cat_face:Mve,pouting_cat:kve,see_no_evil:Dve,hear_no_evil:Lve,speak_no_evil:Pve,kiss:Fve,love_letter:Uve,cupid:Bve,gift_heart:Gve,sparkling_heart:Vve,heartpulse:zve,heartbeat:Hve,revolving_hearts:qve,two_hearts:$ve,heart_decoration:Yve,heavy_heart_exclamation:Wve,broken_heart:Kve,heart:jve,orange_heart:Qve,yellow_heart:Xve,green_heart:Zve,blue_heart:Jve,purple_heart:eSe,brown_heart:tSe,black_heart:nSe,white_heart:sSe,anger:iSe,boom:rSe,collision:oSe,dizzy:aSe,sweat_drops:lSe,dash:cSe,hole:dSe,bomb:uSe,speech_balloon:pSe,eye_speech_bubble:_Se,left_speech_bubble:hSe,right_anger_bubble:fSe,thought_balloon:mSe,zzz:gSe,wave:bSe,raised_back_of_hand:ESe,raised_hand_with_fingers_splayed:ySe,hand:vSe,raised_hand:SSe,vulcan_salute:TSe,ok_hand:xSe,pinched_fingers:CSe,pinching_hand:wSe,v:RSe,crossed_fingers:ASe,love_you_gesture:NSe,metal:OSe,call_me_hand:ISe,point_left:MSe,point_right:kSe,point_up_2:DSe,middle_finger:LSe,fu:PSe,point_down:FSe,point_up:USe,"+1":"👍",thumbsup:BSe,"-1":"👎",thumbsdown:GSe,fist_raised:VSe,fist:zSe,fist_oncoming:HSe,facepunch:qSe,punch:$Se,fist_left:YSe,fist_right:WSe,clap:KSe,raised_hands:jSe,open_hands:QSe,palms_up_together:XSe,handshake:ZSe,pray:JSe,writing_hand:e0e,nail_care:t0e,selfie:n0e,muscle:s0e,mechanical_arm:i0e,mechanical_leg:r0e,leg:o0e,foot:a0e,ear:l0e,ear_with_hearing_aid:c0e,nose:d0e,brain:u0e,anatomical_heart:p0e,lungs:_0e,tooth:h0e,bone:f0e,eyes:m0e,eye:g0e,tongue:b0e,lips:E0e,baby:y0e,child:v0e,boy:S0e,girl:T0e,adult:x0e,blond_haired_person:C0e,man:w0e,bearded_person:R0e,red_haired_man:A0e,curly_haired_man:N0e,white_haired_man:O0e,bald_man:I0e,woman:M0e,red_haired_woman:k0e,person_red_hair:D0e,curly_haired_woman:L0e,person_curly_hair:P0e,white_haired_woman:F0e,person_white_hair:U0e,bald_woman:B0e,person_bald:G0e,blond_haired_woman:V0e,blonde_woman:z0e,blond_haired_man:H0e,older_adult:q0e,older_man:$0e,older_woman:Y0e,frowning_person:W0e,frowning_man:K0e,frowning_woman:j0e,pouting_face:Q0e,pouting_man:X0e,pouting_woman:Z0e,no_good:J0e,no_good_man:eTe,ng_man:tTe,no_good_woman:nTe,ng_woman:sTe,ok_person:iTe,ok_man:rTe,ok_woman:oTe,tipping_hand_person:aTe,information_desk_person:lTe,tipping_hand_man:cTe,sassy_man:dTe,tipping_hand_woman:uTe,sassy_woman:pTe,raising_hand:_Te,raising_hand_man:hTe,raising_hand_woman:fTe,deaf_person:mTe,deaf_man:gTe,deaf_woman:bTe,bow:ETe,bowing_man:yTe,bowing_woman:vTe,facepalm:STe,man_facepalming:TTe,woman_facepalming:xTe,shrug:CTe,man_shrugging:wTe,woman_shrugging:RTe,health_worker:ATe,man_health_worker:NTe,woman_health_worker:OTe,student:ITe,man_student:MTe,woman_student:kTe,teacher:DTe,man_teacher:LTe,woman_teacher:PTe,judge:FTe,man_judge:UTe,woman_judge:BTe,farmer:GTe,man_farmer:VTe,woman_farmer:zTe,cook:HTe,man_cook:qTe,woman_cook:$Te,mechanic:YTe,man_mechanic:WTe,woman_mechanic:KTe,factory_worker:jTe,man_factory_worker:QTe,woman_factory_worker:XTe,office_worker:ZTe,man_office_worker:JTe,woman_office_worker:exe,scientist:txe,man_scientist:nxe,woman_scientist:sxe,technologist:ixe,man_technologist:rxe,woman_technologist:oxe,singer:axe,man_singer:lxe,woman_singer:cxe,artist:dxe,man_artist:uxe,woman_artist:pxe,pilot:_xe,man_pilot:hxe,woman_pilot:fxe,astronaut:mxe,man_astronaut:gxe,woman_astronaut:bxe,firefighter:Exe,man_firefighter:yxe,woman_firefighter:vxe,police_officer:Sxe,cop:Txe,policeman:xxe,policewoman:Cxe,detective:wxe,male_detective:Rxe,female_detective:Axe,guard:Nxe,guardsman:Oxe,guardswoman:Ixe,ninja:Mxe,construction_worker:kxe,construction_worker_man:Dxe,construction_worker_woman:Lxe,prince:Pxe,princess:Fxe,person_with_turban:Uxe,man_with_turban:Bxe,woman_with_turban:Gxe,man_with_gua_pi_mao:Vxe,woman_with_headscarf:zxe,person_in_tuxedo:Hxe,man_in_tuxedo:qxe,woman_in_tuxedo:$xe,person_with_veil:Yxe,man_with_veil:Wxe,woman_with_veil:Kxe,bride_with_veil:jxe,pregnant_woman:Qxe,breast_feeding:Xxe,woman_feeding_baby:Zxe,man_feeding_baby:Jxe,person_feeding_baby:e1e,angel:t1e,santa:n1e,mrs_claus:s1e,mx_claus:i1e,superhero:r1e,superhero_man:o1e,superhero_woman:a1e,supervillain:l1e,supervillain_man:c1e,supervillain_woman:d1e,mage:u1e,mage_man:p1e,mage_woman:_1e,fairy:h1e,fairy_man:f1e,fairy_woman:m1e,vampire:g1e,vampire_man:b1e,vampire_woman:E1e,merperson:y1e,merman:v1e,mermaid:S1e,elf:T1e,elf_man:x1e,elf_woman:C1e,genie:w1e,genie_man:R1e,genie_woman:A1e,zombie:N1e,zombie_man:O1e,zombie_woman:I1e,massage:M1e,massage_man:k1e,massage_woman:D1e,haircut:L1e,haircut_man:P1e,haircut_woman:F1e,walking:U1e,walking_man:B1e,walking_woman:G1e,standing_person:V1e,standing_man:z1e,standing_woman:H1e,kneeling_person:q1e,kneeling_man:$1e,kneeling_woman:Y1e,person_with_probing_cane:W1e,man_with_probing_cane:K1e,woman_with_probing_cane:j1e,person_in_motorized_wheelchair:Q1e,man_in_motorized_wheelchair:X1e,woman_in_motorized_wheelchair:Z1e,person_in_manual_wheelchair:J1e,man_in_manual_wheelchair:eCe,woman_in_manual_wheelchair:tCe,runner:nCe,running:sCe,running_man:iCe,running_woman:rCe,woman_dancing:oCe,dancer:aCe,man_dancing:lCe,business_suit_levitating:cCe,dancers:dCe,dancing_men:uCe,dancing_women:pCe,sauna_person:_Ce,sauna_man:hCe,sauna_woman:fCe,climbing:mCe,climbing_man:gCe,climbing_woman:bCe,person_fencing:ECe,horse_racing:yCe,skier:vCe,snowboarder:SCe,golfing:TCe,golfing_man:xCe,golfing_woman:CCe,surfer:wCe,surfing_man:RCe,surfing_woman:ACe,rowboat:NCe,rowing_man:OCe,rowing_woman:ICe,swimmer:MCe,swimming_man:kCe,swimming_woman:DCe,bouncing_ball_person:LCe,bouncing_ball_man:PCe,basketball_man:FCe,bouncing_ball_woman:UCe,basketball_woman:BCe,weight_lifting:GCe,weight_lifting_man:VCe,weight_lifting_woman:zCe,bicyclist:HCe,biking_man:qCe,biking_woman:$Ce,mountain_bicyclist:YCe,mountain_biking_man:WCe,mountain_biking_woman:KCe,cartwheeling:jCe,man_cartwheeling:QCe,woman_cartwheeling:XCe,wrestling:ZCe,men_wrestling:JCe,women_wrestling:ewe,water_polo:twe,man_playing_water_polo:nwe,woman_playing_water_polo:swe,handball_person:iwe,man_playing_handball:rwe,woman_playing_handball:owe,juggling_person:awe,man_juggling:lwe,woman_juggling:cwe,lotus_position:dwe,lotus_position_man:uwe,lotus_position_woman:pwe,bath:_we,sleeping_bed:hwe,people_holding_hands:fwe,two_women_holding_hands:mwe,couple:gwe,two_men_holding_hands:bwe,couplekiss:Ewe,couplekiss_man_woman:ywe,couplekiss_man_man:vwe,couplekiss_woman_woman:Swe,couple_with_heart:Twe,couple_with_heart_woman_man:xwe,couple_with_heart_man_man:Cwe,couple_with_heart_woman_woman:wwe,family:Rwe,family_man_woman_boy:Awe,family_man_woman_girl:Nwe,family_man_woman_girl_boy:Owe,family_man_woman_boy_boy:Iwe,family_man_woman_girl_girl:Mwe,family_man_man_boy:kwe,family_man_man_girl:Dwe,family_man_man_girl_boy:Lwe,family_man_man_boy_boy:Pwe,family_man_man_girl_girl:Fwe,family_woman_woman_boy:Uwe,family_woman_woman_girl:Bwe,family_woman_woman_girl_boy:Gwe,family_woman_woman_boy_boy:Vwe,family_woman_woman_girl_girl:zwe,family_man_boy:Hwe,family_man_boy_boy:qwe,family_man_girl:$we,family_man_girl_boy:Ywe,family_man_girl_girl:Wwe,family_woman_boy:Kwe,family_woman_boy_boy:jwe,family_woman_girl:Qwe,family_woman_girl_boy:Xwe,family_woman_girl_girl:Zwe,speaking_head:Jwe,bust_in_silhouette:eRe,busts_in_silhouette:tRe,people_hugging:nRe,footprints:sRe,monkey_face:iRe,monkey:rRe,gorilla:oRe,orangutan:aRe,dog:lRe,dog2:cRe,guide_dog:dRe,service_dog:uRe,poodle:pRe,wolf:_Re,fox_face:hRe,raccoon:fRe,cat:mRe,cat2:gRe,black_cat:bRe,lion:ERe,tiger:yRe,tiger2:vRe,leopard:SRe,horse:TRe,racehorse:xRe,unicorn:CRe,zebra:wRe,deer:RRe,bison:ARe,cow:NRe,ox:ORe,water_buffalo:IRe,cow2:MRe,pig:kRe,pig2:DRe,boar:LRe,pig_nose:PRe,ram:FRe,sheep:URe,goat:BRe,dromedary_camel:GRe,camel:VRe,llama:zRe,giraffe:HRe,elephant:qRe,mammoth:$Re,rhinoceros:YRe,hippopotamus:WRe,mouse:KRe,mouse2:jRe,rat:QRe,hamster:XRe,rabbit:ZRe,rabbit2:JRe,chipmunk:eAe,beaver:tAe,hedgehog:nAe,bat:sAe,bear:iAe,polar_bear:rAe,koala:oAe,panda_face:aAe,sloth:lAe,otter:cAe,skunk:dAe,kangaroo:uAe,badger:pAe,feet:_Ae,paw_prints:hAe,turkey:fAe,chicken:mAe,rooster:gAe,hatching_chick:bAe,baby_chick:EAe,hatched_chick:yAe,bird:vAe,penguin:SAe,dove:TAe,eagle:xAe,duck:CAe,swan:wAe,owl:RAe,dodo:AAe,feather:NAe,flamingo:OAe,peacock:IAe,parrot:MAe,frog:kAe,crocodile:DAe,turtle:LAe,lizard:PAe,snake:FAe,dragon_face:UAe,dragon:BAe,sauropod:GAe,"t-rex":"🦖",whale:VAe,whale2:zAe,dolphin:HAe,flipper:qAe,seal:$Ae,fish:YAe,tropical_fish:WAe,blowfish:KAe,shark:jAe,octopus:QAe,shell:XAe,snail:ZAe,butterfly:JAe,bug:e2e,ant:t2e,bee:n2e,honeybee:s2e,beetle:i2e,lady_beetle:r2e,cricket:o2e,cockroach:a2e,spider:l2e,spider_web:c2e,scorpion:d2e,mosquito:u2e,fly:p2e,worm:_2e,microbe:h2e,bouquet:f2e,cherry_blossom:m2e,white_flower:g2e,rosette:b2e,rose:E2e,wilted_flower:y2e,hibiscus:v2e,sunflower:S2e,blossom:T2e,tulip:x2e,seedling:C2e,potted_plant:w2e,evergreen_tree:R2e,deciduous_tree:A2e,palm_tree:N2e,cactus:O2e,ear_of_rice:I2e,herb:M2e,shamrock:k2e,four_leaf_clover:D2e,maple_leaf:L2e,fallen_leaf:P2e,leaves:F2e,grapes:U2e,melon:B2e,watermelon:G2e,tangerine:V2e,orange:z2e,mandarin:H2e,lemon:q2e,banana:$2e,pineapple:Y2e,mango:W2e,apple:K2e,green_apple:j2e,pear:Q2e,peach:X2e,cherries:Z2e,strawberry:J2e,blueberries:eNe,kiwi_fruit:tNe,tomato:nNe,olive:sNe,coconut:iNe,avocado:rNe,eggplant:oNe,potato:aNe,carrot:lNe,corn:cNe,hot_pepper:dNe,bell_pepper:uNe,cucumber:pNe,leafy_green:_Ne,broccoli:hNe,garlic:fNe,onion:mNe,mushroom:gNe,peanuts:bNe,chestnut:ENe,bread:yNe,croissant:vNe,baguette_bread:SNe,flatbread:TNe,pretzel:xNe,bagel:CNe,pancakes:wNe,waffle:RNe,cheese:ANe,meat_on_bone:NNe,poultry_leg:ONe,cut_of_meat:INe,bacon:MNe,hamburger:kNe,fries:DNe,pizza:LNe,hotdog:PNe,sandwich:FNe,taco:UNe,burrito:BNe,tamale:GNe,stuffed_flatbread:VNe,falafel:zNe,egg:HNe,fried_egg:qNe,shallow_pan_of_food:$Ne,stew:YNe,fondue:WNe,bowl_with_spoon:KNe,green_salad:jNe,popcorn:QNe,butter:XNe,salt:ZNe,canned_food:JNe,bento:eOe,rice_cracker:tOe,rice_ball:nOe,rice:sOe,curry:iOe,ramen:rOe,spaghetti:oOe,sweet_potato:aOe,oden:lOe,sushi:cOe,fried_shrimp:dOe,fish_cake:uOe,moon_cake:pOe,dango:_Oe,dumpling:hOe,fortune_cookie:fOe,takeout_box:mOe,crab:gOe,lobster:bOe,shrimp:EOe,squid:yOe,oyster:vOe,icecream:SOe,shaved_ice:TOe,ice_cream:xOe,doughnut:COe,cookie:wOe,birthday:ROe,cake:AOe,cupcake:NOe,pie:OOe,chocolate_bar:IOe,candy:MOe,lollipop:kOe,custard:DOe,honey_pot:LOe,baby_bottle:POe,milk_glass:FOe,coffee:UOe,teapot:BOe,tea:GOe,sake:VOe,champagne:zOe,wine_glass:HOe,cocktail:qOe,tropical_drink:$Oe,beer:YOe,beers:WOe,clinking_glasses:KOe,tumbler_glass:jOe,cup_with_straw:QOe,bubble_tea:XOe,beverage_box:ZOe,mate:JOe,ice_cube:eIe,chopsticks:tIe,plate_with_cutlery:nIe,fork_and_knife:sIe,spoon:iIe,hocho:rIe,knife:oIe,amphora:aIe,earth_africa:lIe,earth_americas:cIe,earth_asia:dIe,globe_with_meridians:uIe,world_map:pIe,japan:_Ie,compass:hIe,mountain_snow:fIe,mountain:mIe,volcano:gIe,mount_fuji:bIe,camping:EIe,beach_umbrella:yIe,desert:vIe,desert_island:SIe,national_park:TIe,stadium:xIe,classical_building:CIe,building_construction:wIe,bricks:RIe,rock:AIe,wood:NIe,hut:OIe,houses:IIe,derelict_house:MIe,house:kIe,house_with_garden:DIe,office:LIe,post_office:PIe,european_post_office:FIe,hospital:UIe,bank:BIe,hotel:GIe,love_hotel:VIe,convenience_store:zIe,school:HIe,department_store:qIe,factory:$Ie,japanese_castle:YIe,european_castle:WIe,wedding:KIe,tokyo_tower:jIe,statue_of_liberty:QIe,church:XIe,mosque:ZIe,hindu_temple:JIe,synagogue:eMe,shinto_shrine:tMe,kaaba:nMe,fountain:sMe,tent:iMe,foggy:rMe,night_with_stars:oMe,cityscape:aMe,sunrise_over_mountains:lMe,sunrise:cMe,city_sunset:dMe,city_sunrise:uMe,bridge_at_night:pMe,hotsprings:_Me,carousel_horse:hMe,ferris_wheel:fMe,roller_coaster:mMe,barber:gMe,circus_tent:bMe,steam_locomotive:EMe,railway_car:yMe,bullettrain_side:vMe,bullettrain_front:SMe,train2:TMe,metro:xMe,light_rail:CMe,station:wMe,tram:RMe,monorail:AMe,mountain_railway:NMe,train:OMe,bus:IMe,oncoming_bus:MMe,trolleybus:kMe,minibus:DMe,ambulance:LMe,fire_engine:PMe,police_car:FMe,oncoming_police_car:UMe,taxi:BMe,oncoming_taxi:GMe,car:VMe,red_car:zMe,oncoming_automobile:HMe,blue_car:qMe,pickup_truck:$Me,truck:YMe,articulated_lorry:WMe,tractor:KMe,racing_car:jMe,motorcycle:QMe,motor_scooter:XMe,manual_wheelchair:ZMe,motorized_wheelchair:JMe,auto_rickshaw:eke,bike:tke,kick_scooter:nke,skateboard:ske,roller_skate:ike,busstop:rke,motorway:oke,railway_track:ake,oil_drum:lke,fuelpump:cke,rotating_light:dke,traffic_light:uke,vertical_traffic_light:pke,stop_sign:_ke,construction:hke,anchor:fke,boat:mke,sailboat:gke,canoe:bke,speedboat:Eke,passenger_ship:yke,ferry:vke,motor_boat:Ske,ship:Tke,airplane:xke,small_airplane:Cke,flight_departure:wke,flight_arrival:Rke,parachute:Ake,seat:Nke,helicopter:Oke,suspension_railway:Ike,mountain_cableway:Mke,aerial_tramway:kke,artificial_satellite:Dke,rocket:Lke,flying_saucer:Pke,bellhop_bell:Fke,luggage:Uke,hourglass:Bke,hourglass_flowing_sand:Gke,watch:Vke,alarm_clock:zke,stopwatch:Hke,timer_clock:qke,mantelpiece_clock:$ke,clock12:Yke,clock1230:Wke,clock1:Kke,clock130:jke,clock2:Qke,clock230:Xke,clock3:Zke,clock330:Jke,clock4:eDe,clock430:tDe,clock5:nDe,clock530:sDe,clock6:iDe,clock630:rDe,clock7:oDe,clock730:aDe,clock8:lDe,clock830:cDe,clock9:dDe,clock930:uDe,clock10:pDe,clock1030:_De,clock11:hDe,clock1130:fDe,new_moon:mDe,waxing_crescent_moon:gDe,first_quarter_moon:bDe,moon:EDe,waxing_gibbous_moon:yDe,full_moon:vDe,waning_gibbous_moon:SDe,last_quarter_moon:TDe,waning_crescent_moon:xDe,crescent_moon:CDe,new_moon_with_face:wDe,first_quarter_moon_with_face:RDe,last_quarter_moon_with_face:ADe,thermometer:NDe,sunny:ODe,full_moon_with_face:IDe,sun_with_face:MDe,ringed_planet:kDe,star:DDe,star2:LDe,stars:PDe,milky_way:FDe,cloud:UDe,partly_sunny:BDe,cloud_with_lightning_and_rain:GDe,sun_behind_small_cloud:VDe,sun_behind_large_cloud:zDe,sun_behind_rain_cloud:HDe,cloud_with_rain:qDe,cloud_with_snow:$De,cloud_with_lightning:YDe,tornado:WDe,fog:KDe,wind_face:jDe,cyclone:QDe,rainbow:XDe,closed_umbrella:ZDe,open_umbrella:JDe,umbrella:eLe,parasol_on_ground:tLe,zap:nLe,snowflake:sLe,snowman_with_snow:iLe,snowman:rLe,comet:oLe,fire:aLe,droplet:lLe,ocean:cLe,jack_o_lantern:dLe,christmas_tree:uLe,fireworks:pLe,sparkler:_Le,firecracker:hLe,sparkles:fLe,balloon:mLe,tada:gLe,confetti_ball:bLe,tanabata_tree:ELe,bamboo:yLe,dolls:vLe,flags:SLe,wind_chime:TLe,rice_scene:xLe,red_envelope:CLe,ribbon:wLe,gift:RLe,reminder_ribbon:ALe,tickets:NLe,ticket:OLe,medal_military:ILe,trophy:MLe,medal_sports:kLe,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:DLe,baseball:LLe,softball:PLe,basketball:FLe,volleyball:ULe,football:BLe,rugby_football:GLe,tennis:VLe,flying_disc:zLe,bowling:HLe,cricket_game:qLe,field_hockey:$Le,ice_hockey:YLe,lacrosse:WLe,ping_pong:KLe,badminton:jLe,boxing_glove:QLe,martial_arts_uniform:XLe,goal_net:ZLe,golf:JLe,ice_skate:ePe,fishing_pole_and_fish:tPe,diving_mask:nPe,running_shirt_with_sash:sPe,ski:iPe,sled:rPe,curling_stone:oPe,dart:aPe,yo_yo:lPe,kite:cPe,"8ball":"🎱",crystal_ball:dPe,magic_wand:uPe,nazar_amulet:pPe,video_game:_Pe,joystick:hPe,slot_machine:fPe,game_die:mPe,jigsaw:gPe,teddy_bear:bPe,pinata:EPe,nesting_dolls:yPe,spades:vPe,hearts:SPe,diamonds:TPe,clubs:xPe,chess_pawn:CPe,black_joker:wPe,mahjong:RPe,flower_playing_cards:APe,performing_arts:NPe,framed_picture:OPe,art:IPe,thread:MPe,sewing_needle:kPe,yarn:DPe,knot:LPe,eyeglasses:PPe,dark_sunglasses:FPe,goggles:UPe,lab_coat:BPe,safety_vest:GPe,necktie:VPe,shirt:zPe,tshirt:HPe,jeans:qPe,scarf:$Pe,gloves:YPe,coat:WPe,socks:KPe,dress:jPe,kimono:QPe,sari:XPe,one_piece_swimsuit:ZPe,swim_brief:JPe,shorts:eFe,bikini:tFe,womans_clothes:nFe,purse:sFe,handbag:iFe,pouch:rFe,shopping:oFe,school_satchel:aFe,thong_sandal:lFe,mans_shoe:cFe,shoe:dFe,athletic_shoe:uFe,hiking_boot:pFe,flat_shoe:_Fe,high_heel:hFe,sandal:fFe,ballet_shoes:mFe,boot:gFe,crown:bFe,womans_hat:EFe,tophat:yFe,mortar_board:vFe,billed_cap:SFe,military_helmet:TFe,rescue_worker_helmet:xFe,prayer_beads:CFe,lipstick:wFe,ring:RFe,gem:AFe,mute:NFe,speaker:OFe,sound:IFe,loud_sound:MFe,loudspeaker:kFe,mega:DFe,postal_horn:LFe,bell:PFe,no_bell:FFe,musical_score:UFe,musical_note:BFe,notes:GFe,studio_microphone:VFe,level_slider:zFe,control_knobs:HFe,microphone:qFe,headphones:$Fe,radio:YFe,saxophone:WFe,accordion:KFe,guitar:jFe,musical_keyboard:QFe,trumpet:XFe,violin:ZFe,banjo:JFe,drum:e3e,long_drum:t3e,iphone:n3e,calling:s3e,phone:i3e,telephone:r3e,telephone_receiver:o3e,pager:a3e,fax:l3e,battery:c3e,electric_plug:d3e,computer:u3e,desktop_computer:p3e,printer:_3e,keyboard:h3e,computer_mouse:f3e,trackball:m3e,minidisc:g3e,floppy_disk:b3e,cd:E3e,dvd:y3e,abacus:v3e,movie_camera:S3e,film_strip:T3e,film_projector:x3e,clapper:C3e,tv:w3e,camera:R3e,camera_flash:A3e,video_camera:N3e,vhs:O3e,mag:I3e,mag_right:M3e,candle:k3e,bulb:D3e,flashlight:L3e,izakaya_lantern:P3e,lantern:F3e,diya_lamp:U3e,notebook_with_decorative_cover:B3e,closed_book:G3e,book:V3e,open_book:z3e,green_book:H3e,blue_book:q3e,orange_book:$3e,books:Y3e,notebook:W3e,ledger:K3e,page_with_curl:j3e,scroll:Q3e,page_facing_up:X3e,newspaper:Z3e,newspaper_roll:J3e,bookmark_tabs:eUe,bookmark:tUe,label:nUe,moneybag:sUe,coin:iUe,yen:rUe,dollar:oUe,euro:aUe,pound:lUe,money_with_wings:cUe,credit_card:dUe,receipt:uUe,chart:pUe,envelope:_Ue,email:hUe,"e-mail":"📧",incoming_envelope:fUe,envelope_with_arrow:mUe,outbox_tray:gUe,inbox_tray:bUe,package:"📦",mailbox:EUe,mailbox_closed:yUe,mailbox_with_mail:vUe,mailbox_with_no_mail:SUe,postbox:TUe,ballot_box:xUe,pencil2:CUe,black_nib:wUe,fountain_pen:RUe,pen:AUe,paintbrush:NUe,crayon:OUe,memo:IUe,pencil:MUe,briefcase:kUe,file_folder:DUe,open_file_folder:LUe,card_index_dividers:PUe,date:FUe,calendar:UUe,spiral_notepad:BUe,spiral_calendar:GUe,card_index:VUe,chart_with_upwards_trend:zUe,chart_with_downwards_trend:HUe,bar_chart:qUe,clipboard:$Ue,pushpin:YUe,round_pushpin:WUe,paperclip:KUe,paperclips:jUe,straight_ruler:QUe,triangular_ruler:XUe,scissors:ZUe,card_file_box:JUe,file_cabinet:e4e,wastebasket:t4e,lock:n4e,unlock:s4e,lock_with_ink_pen:i4e,closed_lock_with_key:r4e,key:o4e,old_key:a4e,hammer:l4e,axe:c4e,pick:d4e,hammer_and_pick:u4e,hammer_and_wrench:p4e,dagger:_4e,crossed_swords:h4e,gun:f4e,boomerang:m4e,bow_and_arrow:g4e,shield:b4e,carpentry_saw:E4e,wrench:y4e,screwdriver:v4e,nut_and_bolt:S4e,gear:T4e,clamp:x4e,balance_scale:C4e,probing_cane:w4e,link:R4e,chains:A4e,hook:N4e,toolbox:O4e,magnet:I4e,ladder:M4e,alembic:k4e,test_tube:D4e,petri_dish:L4e,dna:P4e,microscope:F4e,telescope:U4e,satellite:B4e,syringe:G4e,drop_of_blood:V4e,pill:z4e,adhesive_bandage:H4e,stethoscope:q4e,door:$4e,elevator:Y4e,mirror:W4e,window:K4e,bed:j4e,couch_and_lamp:Q4e,chair:X4e,toilet:Z4e,plunger:J4e,shower:eBe,bathtub:tBe,mouse_trap:nBe,razor:sBe,lotion_bottle:iBe,safety_pin:rBe,broom:oBe,basket:aBe,roll_of_paper:lBe,bucket:cBe,soap:dBe,toothbrush:uBe,sponge:pBe,fire_extinguisher:_Be,shopping_cart:hBe,smoking:fBe,coffin:mBe,headstone:gBe,funeral_urn:bBe,moyai:EBe,placard:yBe,atm:vBe,put_litter_in_its_place:SBe,potable_water:TBe,wheelchair:xBe,mens:CBe,womens:wBe,restroom:RBe,baby_symbol:ABe,wc:NBe,passport_control:OBe,customs:IBe,baggage_claim:MBe,left_luggage:kBe,warning:DBe,children_crossing:LBe,no_entry:PBe,no_entry_sign:FBe,no_bicycles:UBe,no_smoking:BBe,do_not_litter:GBe,"non-potable_water":"🚱",no_pedestrians:VBe,no_mobile_phones:zBe,underage:HBe,radioactive:qBe,biohazard:$Be,arrow_up:YBe,arrow_upper_right:WBe,arrow_right:KBe,arrow_lower_right:jBe,arrow_down:QBe,arrow_lower_left:XBe,arrow_left:ZBe,arrow_upper_left:JBe,arrow_up_down:e5e,left_right_arrow:t5e,leftwards_arrow_with_hook:n5e,arrow_right_hook:s5e,arrow_heading_up:i5e,arrow_heading_down:r5e,arrows_clockwise:o5e,arrows_counterclockwise:a5e,back:l5e,end:c5e,on:d5e,soon:u5e,top:p5e,place_of_worship:_5e,atom_symbol:h5e,om:f5e,star_of_david:m5e,wheel_of_dharma:g5e,yin_yang:b5e,latin_cross:E5e,orthodox_cross:y5e,star_and_crescent:v5e,peace_symbol:S5e,menorah:T5e,six_pointed_star:x5e,aries:C5e,taurus:w5e,gemini:R5e,cancer:A5e,leo:N5e,virgo:O5e,libra:I5e,scorpius:M5e,sagittarius:k5e,capricorn:D5e,aquarius:L5e,pisces:P5e,ophiuchus:F5e,twisted_rightwards_arrows:U5e,repeat:B5e,repeat_one:G5e,arrow_forward:V5e,fast_forward:z5e,next_track_button:H5e,play_or_pause_button:q5e,arrow_backward:$5e,rewind:Y5e,previous_track_button:W5e,arrow_up_small:K5e,arrow_double_up:j5e,arrow_down_small:Q5e,arrow_double_down:X5e,pause_button:Z5e,stop_button:J5e,record_button:e6e,eject_button:t6e,cinema:n6e,low_brightness:s6e,high_brightness:i6e,signal_strength:r6e,vibration_mode:o6e,mobile_phone_off:a6e,female_sign:l6e,male_sign:c6e,transgender_symbol:d6e,heavy_multiplication_x:u6e,heavy_plus_sign:p6e,heavy_minus_sign:_6e,heavy_division_sign:h6e,infinity:f6e,bangbang:m6e,interrobang:g6e,question:b6e,grey_question:E6e,grey_exclamation:y6e,exclamation:v6e,heavy_exclamation_mark:S6e,wavy_dash:T6e,currency_exchange:x6e,heavy_dollar_sign:C6e,medical_symbol:w6e,recycle:R6e,fleur_de_lis:A6e,trident:N6e,name_badge:O6e,beginner:I6e,o:M6e,white_check_mark:k6e,ballot_box_with_check:D6e,heavy_check_mark:L6e,x:P6e,negative_squared_cross_mark:F6e,curly_loop:U6e,loop:B6e,part_alternation_mark:G6e,eight_spoked_asterisk:V6e,eight_pointed_black_star:z6e,sparkle:H6e,copyright:q6e,registered:$6e,tm:Y6e,hash:W6e,asterisk:K6e,zero:j6e,one:Q6e,two:X6e,three:Z6e,four:J6e,five:eGe,six:tGe,seven:nGe,eight:sGe,nine:iGe,keycap_ten:rGe,capital_abcd:oGe,abcd:aGe,symbols:lGe,abc:cGe,a:dGe,ab:uGe,b:pGe,cl:_Ge,cool:hGe,free:fGe,information_source:mGe,id:gGe,m:bGe,new:"🆕",ng:EGe,o2:yGe,ok:vGe,parking:SGe,sos:TGe,up:xGe,vs:CGe,koko:wGe,sa:RGe,ideograph_advantage:AGe,accept:NGe,congratulations:OGe,secret:IGe,u6e80:MGe,red_circle:kGe,orange_circle:DGe,yellow_circle:LGe,green_circle:PGe,large_blue_circle:FGe,purple_circle:UGe,brown_circle:BGe,black_circle:GGe,white_circle:VGe,red_square:zGe,orange_square:HGe,yellow_square:qGe,green_square:$Ge,blue_square:YGe,purple_square:WGe,brown_square:KGe,black_large_square:jGe,white_large_square:QGe,black_medium_square:XGe,white_medium_square:ZGe,black_medium_small_square:JGe,white_medium_small_square:e9e,black_small_square:t9e,white_small_square:n9e,large_orange_diamond:s9e,large_blue_diamond:i9e,small_orange_diamond:r9e,small_blue_diamond:o9e,small_red_triangle:a9e,small_red_triangle_down:l9e,diamond_shape_with_a_dot_inside:c9e,radio_button:d9e,white_square_button:u9e,black_square_button:p9e,checkered_flag:_9e,triangular_flag_on_post:h9e,crossed_flags:f9e,black_flag:m9e,white_flag:g9e,rainbow_flag:b9e,transgender_flag:E9e,pirate_flag:y9e,ascension_island:v9e,andorra:S9e,united_arab_emirates:T9e,afghanistan:x9e,antigua_barbuda:C9e,anguilla:w9e,albania:R9e,armenia:A9e,angola:N9e,antarctica:O9e,argentina:I9e,american_samoa:M9e,austria:k9e,australia:D9e,aruba:L9e,aland_islands:P9e,azerbaijan:F9e,bosnia_herzegovina:U9e,barbados:B9e,bangladesh:G9e,belgium:V9e,burkina_faso:z9e,bulgaria:H9e,bahrain:q9e,burundi:$9e,benin:Y9e,st_barthelemy:W9e,bermuda:K9e,brunei:j9e,bolivia:Q9e,caribbean_netherlands:X9e,brazil:Z9e,bahamas:J9e,bhutan:e8e,bouvet_island:t8e,botswana:n8e,belarus:s8e,belize:i8e,canada:r8e,cocos_islands:o8e,congo_kinshasa:a8e,central_african_republic:l8e,congo_brazzaville:c8e,switzerland:d8e,cote_divoire:u8e,cook_islands:p8e,chile:_8e,cameroon:h8e,cn:f8e,colombia:m8e,clipperton_island:g8e,costa_rica:b8e,cuba:E8e,cape_verde:y8e,curacao:v8e,christmas_island:S8e,cyprus:T8e,czech_republic:x8e,de:C8e,diego_garcia:w8e,djibouti:R8e,denmark:A8e,dominica:N8e,dominican_republic:O8e,algeria:I8e,ceuta_melilla:M8e,ecuador:k8e,estonia:D8e,egypt:L8e,western_sahara:P8e,eritrea:F8e,es:U8e,ethiopia:B8e,eu:G8e,european_union:V8e,finland:z8e,fiji:H8e,falkland_islands:q8e,micronesia:$8e,faroe_islands:Y8e,fr:W8e,gabon:K8e,gb:j8e,uk:Q8e,grenada:X8e,georgia:Z8e,french_guiana:J8e,guernsey:eVe,ghana:tVe,gibraltar:nVe,greenland:sVe,gambia:iVe,guinea:rVe,guadeloupe:oVe,equatorial_guinea:aVe,greece:lVe,south_georgia_south_sandwich_islands:cVe,guatemala:dVe,guam:uVe,guinea_bissau:pVe,guyana:_Ve,hong_kong:hVe,heard_mcdonald_islands:fVe,honduras:mVe,croatia:gVe,haiti:bVe,hungary:EVe,canary_islands:yVe,indonesia:vVe,ireland:SVe,israel:TVe,isle_of_man:xVe,india:CVe,british_indian_ocean_territory:wVe,iraq:RVe,iran:AVe,iceland:NVe,it:OVe,jersey:IVe,jamaica:MVe,jordan:kVe,jp:DVe,kenya:LVe,kyrgyzstan:PVe,cambodia:FVe,kiribati:UVe,comoros:BVe,st_kitts_nevis:GVe,north_korea:VVe,kr:zVe,kuwait:HVe,cayman_islands:qVe,kazakhstan:$Ve,laos:YVe,lebanon:WVe,st_lucia:KVe,liechtenstein:jVe,sri_lanka:QVe,liberia:XVe,lesotho:ZVe,lithuania:JVe,luxembourg:eze,latvia:tze,libya:nze,morocco:sze,monaco:ize,moldova:rze,montenegro:oze,st_martin:aze,madagascar:lze,marshall_islands:cze,macedonia:dze,mali:uze,myanmar:pze,mongolia:_ze,macau:hze,northern_mariana_islands:fze,martinique:mze,mauritania:gze,montserrat:bze,malta:Eze,mauritius:yze,maldives:vze,malawi:Sze,mexico:Tze,malaysia:xze,mozambique:Cze,namibia:wze,new_caledonia:Rze,niger:Aze,norfolk_island:Nze,nigeria:Oze,nicaragua:Ize,netherlands:Mze,norway:kze,nepal:Dze,nauru:Lze,niue:Pze,new_zealand:Fze,oman:Uze,panama:Bze,peru:Gze,french_polynesia:Vze,papua_new_guinea:zze,philippines:Hze,pakistan:qze,poland:$ze,st_pierre_miquelon:Yze,pitcairn_islands:Wze,puerto_rico:Kze,palestinian_territories:jze,portugal:Qze,palau:Xze,paraguay:Zze,qatar:Jze,reunion:eHe,romania:tHe,serbia:nHe,ru:sHe,rwanda:iHe,saudi_arabia:rHe,solomon_islands:oHe,seychelles:aHe,sudan:lHe,sweden:cHe,singapore:dHe,st_helena:uHe,slovenia:pHe,svalbard_jan_mayen:_He,slovakia:hHe,sierra_leone:fHe,san_marino:mHe,senegal:gHe,somalia:bHe,suriname:EHe,south_sudan:yHe,sao_tome_principe:vHe,el_salvador:SHe,sint_maarten:THe,syria:xHe,swaziland:CHe,tristan_da_cunha:wHe,turks_caicos_islands:RHe,chad:AHe,french_southern_territories:NHe,togo:OHe,thailand:IHe,tajikistan:MHe,tokelau:kHe,timor_leste:DHe,turkmenistan:LHe,tunisia:PHe,tonga:FHe,tr:UHe,trinidad_tobago:BHe,tuvalu:GHe,taiwan:VHe,tanzania:zHe,ukraine:HHe,uganda:qHe,us_outlying_islands:$He,united_nations:YHe,us:WHe,uruguay:KHe,uzbekistan:jHe,vatican_city:QHe,st_vincent_grenadines:XHe,venezuela:ZHe,british_virgin_islands:JHe,us_virgin_islands:e7e,vietnam:t7e,vanuatu:n7e,wallis_futuna:s7e,samoa:i7e,kosovo:r7e,yemen:o7e,mayotte:a7e,south_africa:l7e,zambia:c7e,zimbabwe:d7e,england:u7e,scotland:p7e,wales:_7e};var f7e={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!c.test(y[E-1])||E+b.length_&&(m=new f("text","",0),m.content=u.slice(_,E),g.push(m)),m=new f("emoji","",0),m.markup=v,m.content=t[v],g.push(m),_=E+b.length}),_=0;f--)b=g[f],(b.type==="link_open"||b.type==="link_close")&&b.info==="auto"&&(y-=b.nesting),b.type==="text"&&y===0&&i.test(b.content)&&(E[m].children=g=o(g,f,d(b.content,b.level,h.Token)))}};function b7e(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var E7e=function(e){var t=e.defs,s;e.enabled.length&&(t=Object.keys(t).reduce(function(c,d){return e.enabled.indexOf(d)>=0&&(c[d]=t[d]),c},{})),s=Object.keys(e.shortcuts).reduce(function(c,d){return t[d]?Array.isArray(e.shortcuts[d])?(e.shortcuts[d].forEach(function(u){c[u]=d}),c):(c[e.shortcuts[d]]=d,c):c},{});var i=Object.keys(t),r;i.length===0?r="^$":r=i.map(function(c){return":"+c+":"}).concat(Object.keys(s)).sort().reverse().map(function(c){return b7e(c)}).join("|");var o=RegExp(r),a=RegExp(r,"g");return{defs:t,shortcuts:s,scanRE:o,replaceRE:a}},y7e=m7e,v7e=g7e,S7e=E7e,T7e=function(e,t){var s={defs:{},shortcuts:{},enabled:[]},i=S7e(e.utils.assign({},s,t||{}));e.renderer.rules.emoji=y7e,e.core.ruler.after("linkify","emoji",v7e(e,i.defs,i.shortcuts,i.scanRE,i.replaceRE))},x7e=h7e,C7e=f7e,w7e=T7e,R7e=function(e,t){var s={defs:x7e,shortcuts:C7e,enabled:[]},i=e.utils.assign({},s,t||{});w7e(e,i)};const A7e=Tr(R7e);var $S=!1,_a={false:"push",true:"unshift",after:"push",before:"unshift"},ru={isPermalinkSymbol:!0};function tb(n,e,t,s){var i;if(!$S){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),$S=!0}var o=[Object.assign(new t.Token("link_open","a",1),{attrs:[].concat(e.permalinkClass?[["class",e.permalinkClass]]:[],[["href",e.permalinkHref(n,t)]],Object.entries(e.permalinkAttrs(n,t)))}),Object.assign(new t.Token("html_block","",0),{content:e.permalinkSymbol,meta:ru}),new t.Token("link_close","a",-1)];e.permalinkSpace&&t.tokens[s+1].children[_a[e.permalinkBefore]](Object.assign(new t.Token("text","",0),{content:" "})),(i=t.tokens[s+1].children)[_a[e.permalinkBefore]].apply(i,o)}function P2(n){return"#"+n}function F2(n){return{}}var N7e={class:"header-anchor",symbol:"#",renderHref:P2,renderAttrs:F2};function _c(n){function e(t){return t=Object.assign({},e.defaults,t),function(s,i,r,o){return n(s,t,i,r,o)}}return e.defaults=Object.assign({},N7e),e.renderPermalinkImpl=n,e}var lp=_c(function(n,e,t,s,i){var r,o=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(n,s)]],e.ariaHidden?[["aria-hidden","true"]]:[],Object.entries(e.renderAttrs(n,s)))}),Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:ru}),new s.Token("link_close","a",-1)];if(e.space){var a=typeof e.space=="string"?e.space:" ";s.tokens[i+1].children[_a[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:a}))}(r=s.tokens[i+1].children)[_a[e.placement]].apply(r,o)});Object.assign(lp.defaults,{space:!0,placement:"after",ariaHidden:!1});var Fr=_c(lp.renderPermalinkImpl);Fr.defaults=Object.assign({},lp.defaults,{ariaHidden:!0});var U2=_c(function(n,e,t,s,i){var r=[Object.assign(new s.Token("link_open","a",1),{attrs:[].concat(e.class?[["class",e.class]]:[],[["href",e.renderHref(n,s)]],Object.entries(e.renderAttrs(n,s)))})].concat(e.safariReaderFix?[new s.Token("span_open","span",1)]:[],s.tokens[i+1].children,e.safariReaderFix?[new s.Token("span_close","span",-1)]:[],[new s.Token("link_close","a",-1)]);s.tokens[i+1]=Object.assign(new s.Token("inline","",0),{children:r})});Object.assign(U2.defaults,{safariReaderFix:!1});var YS=_c(function(n,e,t,s,i){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 o=s.tokens[i+1].children.filter(function(h){return h.type==="text"||h.type==="code_inline"}).reduce(function(h,f){return h+f.content},""),a=[],c=[];if(e.class&&c.push(["class",e.class]),c.push(["href",e.renderHref(n,s)]),c.push.apply(c,Object.entries(e.renderAttrs(n,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(o)}),new s.Token("span_close","span",-1)),e.space){var d=typeof e.space=="string"?e.space:" ";a[_a[e.placement]](Object.assign(new s.Token(typeof e.space=="string"?"html_inline":"text","",0),{content:d}))}a[_a[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:ru}),new s.Token("span_close","span",-1))}else a.push(Object.assign(new s.Token("html_inline","",0),{content:e.symbol,meta:ru}));e.style==="aria-label"?c.push(["aria-label",e.assistiveText(o)]):["aria-describedby","aria-labelledby"].includes(e.style)&&c.push([e.style,n]);var u=[Object.assign(new s.Token("link_open","a",1),{attrs:c})].concat(a,[new s.Token("link_close","a",-1)]);(r=s.tokens).splice.apply(r,[i+3,0].concat(u)),e.wrapper&&(s.tokens.splice(i,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[0]+` `})),s.tokens.splice(i+3+u.length+1,0,Object.assign(new s.Token("html_block","",0),{content:e.wrapper[1]+` -`})))});function W0(n,e,t,s){var i=n,r=s;if(t&&Object.prototype.hasOwnProperty.call(e,i))throw new Error("User defined `id` attribute `"+n+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,i);)i=n+"-"+r,r+=1;return e[i]=!0,i}function $o(n,e){e=Object.assign({},$o.defaults,e),n.core.ruler.push("anchor",function(t){for(var s,i={},r=t.tokens,o=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;a0&&!(t&i&&this.__match_alphabets__[i].call(this,s,t,i));i>>=4);if(this.__actions__(s,t,i),i===0)break;t=this.__transitions__[t][i]||0}return!!this.__accept_states__[t]};var O7e=Hi,M7e=O7e,I7e=function(e,t){var s={multiline:!1,rowspan:!1,headerless:!1,multibody:!0,autolabel:!0};t=e.utils.assign({},s,t||{});function i(u,h){var f=u.bMarks[h]+u.sCount[h],m=u.bMarks[h]+u.blkIndent,_=u.skipSpacesBack(u.eMarks[h],m),g=[],b,E,y=!1,v=!1,S=0;for(b=f;b<_;b++)switch(u.src.charCodeAt(b)){case 92:y=!0;break;case 96:E=u.skipChars(b,96)-1,E>b?(v||(S===0?S=E-b:S===E-b&&(S=0)),b=E):(v||!y&&!S)&&(v=!v),y=!1;break;case 124:!v&&!y&&g.push(b),y=!1;break;default:y=!1;break}return g.length===0||(g[0]>m&&g.unshift(m-1),g[g.length-1]<_-1&&g.push(_)),g}function r(u,h,f){var m={text:null,label:null},_=u.bMarks[f]+u.sCount[f],g=u.eMarks[f],b=/^\[(.+?)\](\[([^\[\]]+)\])?\s*$/,E=u.src.slice(_,g).match(b);return E?h?!0:(m.text=E[1],!t.autolabel&&!E[2]||(m.label=E[2]||E[1],m.label=m.label.toLowerCase().replace(/\W+/g,"")),m):!1}function o(u,h,f){var m={bounds:null,multiline:null},_=i(u,f),g,b,E;return _.length<2?!1:h?!0:(m.bounds=_,t.multiline&&(g=u.bMarks[f]+u.sCount[f],b=u.eMarks[f]-1,m.multiline=u.src.charCodeAt(b)===92,m.multiline&&(E=u.eMarks[f],u.eMarks[f]=u.skipSpacesBack(b,g),m.bounds=i(u,f),u.eMarks[f]=E)),m)}function a(u,h,f){var m={aligns:[],wraps:[]},_=i(u,f),g=/^:?(-+|=+):?\+?$/,b,E,y;if(u.sCount[f]-u.blkIndent>=4||_.length===0)return!1;for(b=0;b<_.length-1;b++){if(E=u.src.slice(_[b]+1,_[b+1]).trim(),!g.test(E))return!1;switch(m.wraps.push(E.charCodeAt(E.length-1)===43),y=(E.charCodeAt(0)===58)<<4|E.charCodeAt(E.length-1-m.wraps[b])===58,y){case 0:m.aligns.push("");break;case 1:m.aligns.push("right");break;case 16:m.aligns.push("left");break;case 17:m.aligns.push("center");break}}return h?!0:m}function c(u,h,f){return u.isEmpty(f)}function d(u,h,f,m){var _=new M7e,g=16,b=-1,E,y,v,S,R,w,A=[],I,C,O,B,H,te,k,$,q,F;if(h+2>f||(y=new u.Token("table_open","table",1),y.meta={sep:null,cap:null,tr:[]},_.set_highest_alphabet(65536),_.set_initial_state(65792),_.set_accept_states([65552,65553,0]),_.set_match_alphabets({65536:r.bind(this,u,!0),4096:a.bind(this,u,!0),256:o.bind(this,u,!0),16:o.bind(this,u,!0),1:c.bind(this,u,!0)}),_.set_transitions({65792:{65536:256,256:4352},256:{256:4352},4352:{4096:65552,256:4352},65552:{65536:0,16:65553},65553:{65536:0,16:65553,1:65552}}),t.headerless&&(_.set_initial_state(69888),_.update_transition(69888,{65536:4352,4096:65552,256:4352}),v=new u.Token("tr_placeholder","tr",0),v.meta=Object()),t.multibody||_.update_transition(65552,{65536:0,16:65552}),_.set_actions(function(le,me,Se){switch(Se){case 65536:if(y.meta.cap)break;y.meta.cap=r(u,!1,le),y.meta.cap.map=[le,le+1],y.meta.cap.first=le===h;break;case 4096:y.meta.sep=a(u,!1,le),y.meta.sep.map=[le,le+1],v.meta.grp|=1,g=16;break;case 256:case 16:v=new u.Token("tr_open","tr",1),v.map=[le,le+1],v.meta=o(u,!1,le),v.meta.type=Se,v.meta.grp=g,g=0,y.meta.tr.push(v),t.multiline&&(v.meta.multiline&&b<0?b=y.meta.tr.length-1:!v.meta.multiline&&b>=0&&(E=y.meta.tr[b],E.meta.mbounds=y.meta.tr.slice(b).map(function(de){return de.meta.bounds}),E.map[1]=v.map[1],y.meta.tr=y.meta.tr.slice(0,b+1),b=-1));break;case 1:v.meta.grp|=1,g=16;break}}),_.execute(h,f)===!1)||!y.meta.tr.length)return!1;if(m)return!0;if(y.meta.tr[y.meta.tr.length-1].meta.grp|=1,y.map=I=[h,0],y.block=!0,y.level=u.level++,u.tokens.push(y),y.meta.cap){E=u.push("caption_open","caption",1),E.map=y.meta.cap.map;var W=[],ne=y.meta.cap.first?"top":"bottom";y.meta.cap.label!==null&&W.push(["id",y.meta.cap.label]),ne!=="top"&&W.push(["style","caption-side: "+ne]),E.attrs=W,E=u.push("inline","",0),E.content=y.meta.cap.text,E.map=y.meta.cap.map,E.children=[],E=u.push("caption_close","caption",-1)}for(te=0;tev.meta.mbounds[$].length-2||(H=[v.meta.mbounds[$][k]+1,v.meta.mbounds[$][k+1]],B.push(u.src.slice.apply(u.src,H).trimRight()));for(F=new u.md.block.State(B.join(` -`),u.md,u.env,[]),F.level=v.level+1,u.md.block.tokenize(F,v.map[0],F.lineMax),q=0;qf.match(h))}t.tabindex==!0&&(i.tokens[o-1].attrPush(["tabindex",r]),r++),t.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const L7e=Tr(D7e);var xr={};xr.getAttrs=function(n,e,t){const s=/[^\t\n\f />"'=]/,i=" ",r="=",o=".",a="#",c=[];let d="",u="",h=!0,f=!1;for(let m=e+t.leftDelimiter.length;m=s+1:u.length>=s}let r,o,a,c;const d=s-e.rightDelimiter.length;switch(n){case"start":a=t.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,o=r===-1?-1:t.indexOf(e.rightDelimiter,d),c=t.charAt(o+e.rightDelimiter.length),c&&e.rightDelimiter.indexOf(c)!==-1&&(o=-1);break;case"end":r=t.lastIndexOf(e.leftDelimiter),o=r===-1?-1:t.indexOf(e.rightDelimiter,r+d),o=o===t.length-e.rightDelimiter.length?o:-1;break;case"only":a=t.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=t.slice(t.length-e.rightDelimiter.length),o=a===e.rightDelimiter?t.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${n}, expected 'start', 'end' or 'only'`)}return r!==-1&&o!==-1&&i(t.substring(r,o+e.rightDelimiter.length))}};xr.removeDelimiter=function(n,e){const t=nb(e.leftDelimiter),s=nb(e.rightDelimiter),i=new RegExp("[ \\n]?"+t+"[^"+t+s+"]+"+s+"$"),r=n.search(i);return r!==-1?n.slice(0,r):n};function nb(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}xr.escapeRegExp=nb;xr.getMatchingOpeningToken=function(n,e){if(n[e].type==="softbreak")return!1;if(n[e].nesting===0)return n[e];const t=n[e].level,s=n[e].type.replace("_close","_open");for(;e>=0;--e)if(n[e].type===s&&n[e].level===t)return n[e];return!1};const P7e=/[&<>"]/,F7e=/[&<>"]/g,U7e={"&":"&","<":"<",">":">",'"':"""};function B7e(n){return U7e[n]}xr.escapeHtml=function(n){return P7e.test(n)?n.replace(F7e,B7e):n};const Ct=xr;var G7e=n=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ct.escapeRegExp(n.leftDelimiter)+"[^"+Ct.escapeRegExp(n.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ct.hasDelimiters("end",n)}],transform:(t,s)=>{const i=t[s],r=i.info.lastIndexOf(n.leftDelimiter),o=Ct.getAttrs(i.info,r,n);Ct.addAttrs(o,i),i.info=Ct.removeDelimiter(i.info,n)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:t=>t==="image"||t==="code_inline"},{shift:0,type:"text",content:Ct.hasDelimiters("start",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content.indexOf(n.rightDelimiter),a=t[s].children[i-1],c=Ct.getAttrs(r.content,0,n);Ct.addAttrs(c,a),r.content.length===o+n.rightDelimiter.length?t[s].children.splice(i,1):r.content=r.content.slice(o+n.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Ct.hasDelimiters("only",n)}],transform:(t,s)=>{const i=t[s+2],r=Ct.getMatchingOpeningToken(t,s),o=Ct.getAttrs(i.content,0,n);Ct.addAttrs(o,r),t.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Ct.hasDelimiters("start",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content,a=Ct.getAttrs(o,0,n),c=Ct.getMatchingOpeningToken(t[s].children,i-1);Ct.addAttrs(a,c),r.content=o.slice(o.indexOf(n.rightDelimiter)+n.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Ct.hasDelimiters("only",n)}]}],transform:(t,s,i)=>{const o=t[s].children[i].content,a=Ct.getAttrs(o,0,n);let c=s-2;for(;t[c-1]&&t[c-1].type!=="ordered_list_open"&&t[c-1].type!=="bullet_list_open";)c--;Ct.addAttrs(a,t[c-1]),t[s].children=t[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:t=>t==="bullet_list_close"||t==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Ct.hasDelimiters("only",n),children:t=>t.length===1},{shift:3,type:"paragraph_close"}],transform:(t,s)=>{const r=t[s+2].content,o=Ct.getAttrs(r,0,n),a=Ct.getMatchingOpeningToken(t,s);Ct.addAttrs(o,a),t.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Ct.hasDelimiters("end",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content,a=Ct.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);Ct.addAttrs(a,t[s-2]);const c=o.slice(0,o.lastIndexOf(n.leftDelimiter));r.content=K0(c)!==" "?c:c.slice(0,-1)}},{name:` -{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Ct.hasDelimiters("only",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=Ct.getAttrs(r.content,0,n);let a=s+1;for(;t[a+1]&&t[a+1].nesting===-1;)a++;const c=Ct.getMatchingOpeningToken(t,a);Ct.addAttrs(o,c),t[s].children=t[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:t=>t.length===1,content:t=>t.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(t,s)=>{const i=t[s];i.type="hr",i.tag="hr",i.nesting=0;const r=t[s+1].content,o=r.lastIndexOf(n.leftDelimiter),a=Ct.getAttrs(r,o,n);Ct.addAttrs(a,i),i.markup=r,t.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ct.hasDelimiters("end",n),type:t=>t!=="code_inline"&&t!=="math_inline"}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content,a=Ct.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);let c=s+1;for(;t[c+1]&&t[c+1].nesting===-1;)c++;const d=Ct.getMatchingOpeningToken(t,c);Ct.addAttrs(a,d);const u=o.slice(0,o.lastIndexOf(n.leftDelimiter));r.content=K0(u)!==" "?u:u.slice(0,-1)}}]};function K0(n){return n.slice(-1)[0]}const V7e=G7e,z7e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var H7e=function(e,t){let s=Object.assign({},z7e);s=Object.assign(s,t);const i=V7e(s);function r(o){const a=o.tokens;for(let c=0;c{const _=sb(a,c,m);return _.j!==null&&(h=_.j),_.match})&&(u.transform(a,c,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&d--)}}e.core.ruler.before("linkify","curly_attributes",r)};function sb(n,e,t){const s={match:!1,j:null},i=t.shift!==void 0?e+t.shift:t.position;if(t.shift!==void 0&&i<0)return s;const r=Y7e(n,i);if(r===void 0)return s;for(const o of Object.keys(t))if(!(o==="shift"||o==="position")){if(r[o]===void 0)return s;if(o==="children"&&q7e(t.children)){if(r.children.length===0)return s;let a;const c=t.children,d=r.children;if(c.every(u=>u.position!==void 0)){if(a=c.every(u=>sb(d,u.position,u).match),a){const u=W7e(c).position;s.j=u>=0?u:d.length+u}}else for(let u=0;usb(d,u,h).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof t[o]){case"boolean":case"number":case"string":if(r[o]!==t[o])return s;break;case"function":if(!t[o](r[o]))return s;break;case"object":if($7e(t[o])){if(t[o].every(c=>c(r[o]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${o}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function q7e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="object")}function $7e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="function")}function Y7e(n,e){return e>=0?n[e]:n[n.length+e]}function W7e(n){return n.slice(-1)[0]||{}}const K7e=Tr(H7e);function B2(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],s=typeof t;(s==="object"||s==="function")&&!Object.isFrozen(t)&&B2(t)}),n}let j0=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function G2(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function pr(n,...e){const t=Object.create(null);for(const s in n)t[s]=n[s];return e.forEach(function(s){for(const i in s)t[i]=s[i]}),t}const j7e="",Q0=n=>!!n.scope,Q7e=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((s,i)=>`${s}${"_".repeat(i+1)}`)].join(" ")}return`${e}${n}`};class X7e{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=G2(e)}openNode(e){if(!Q0(e))return;const t=Q7e(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){Q0(e)&&(this.buffer+=j7e)}value(){return this.buffer}span(e){this.buffer+=``}}const X0=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class RE{constructor(){this.rootNode=X0(),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 t=X0({scope:e});this.add(t),this.stack.push(t)}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,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(s=>this._walk(e,s)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{RE._collapse(t)}))}}class Z7e extends RE{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const s=e.root;t&&(s.scope=`language:${t}`),this.add(s)}toHTML(){return new X7e(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Zl(n){return n?typeof n=="string"?n:n.source:null}function V2(n){return go("(?=",n,")")}function J7e(n){return go("(?:",n,")*")}function eqe(n){return go("(?:",n,")?")}function go(...n){return n.map(t=>Zl(t)).join("")}function tqe(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function AE(...n){return"("+(tqe(n).capture?"":"?:")+n.map(s=>Zl(s)).join("|")+")"}function z2(n){return new RegExp(n.toString()+"|").exec("").length-1}function nqe(n,e){const t=n&&n.exec(e);return t&&t.index===0}const sqe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function NE(n,{joinWith:e}){let t=0;return n.map(s=>{t+=1;const i=t;let r=Zl(s),o="";for(;r.length>0;){const a=sqe.exec(r);if(!a){o+=r;break}o+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+i):(o+=a[0],a[0]==="("&&t++)}return o}).map(s=>`(${s})`).join(e)}const iqe=/\b\B/,H2="[a-zA-Z]\\w*",OE="[a-zA-Z_]\\w*",q2="\\b\\d+(\\.\\d+)?",$2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Y2="\\b(0b[01]+)",rqe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",oqe=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=go(e,/.*\b/,n.binary,/\b.*/)),pr({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,s)=>{t.index!==0&&s.ignoreMatch()}},n)},Jl={begin:"\\\\[\\s\\S]",relevance:0},aqe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Jl]},lqe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Jl]},cqe={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/},cp=function(n,e,t={}){const s=pr({scope:"comment",begin:n,end:e,contains:[]},t);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 i=AE("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:go(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},dqe=cp("//","$"),uqe=cp("/\\*","\\*/"),pqe=cp("#","$"),_qe={scope:"number",begin:q2,relevance:0},hqe={scope:"number",begin:$2,relevance:0},fqe={scope:"number",begin:Y2,relevance:0},mqe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Jl,{begin:/\[/,end:/\]/,relevance:0,contains:[Jl]}]},gqe={scope:"title",begin:H2,relevance:0},bqe={scope:"title",begin:OE,relevance:0},Eqe={begin:"\\.\\s*"+OE,relevance:0},yqe=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Bc=Object.freeze({__proto__:null,APOS_STRING_MODE:aqe,BACKSLASH_ESCAPE:Jl,BINARY_NUMBER_MODE:fqe,BINARY_NUMBER_RE:Y2,COMMENT:cp,C_BLOCK_COMMENT_MODE:uqe,C_LINE_COMMENT_MODE:dqe,C_NUMBER_MODE:hqe,C_NUMBER_RE:$2,END_SAME_AS_BEGIN:yqe,HASH_COMMENT_MODE:pqe,IDENT_RE:H2,MATCH_NOTHING_RE:iqe,METHOD_GUARD:Eqe,NUMBER_MODE:_qe,NUMBER_RE:q2,PHRASAL_WORDS_MODE:cqe,QUOTE_STRING_MODE:lqe,REGEXP_MODE:mqe,RE_STARTERS_RE:rqe,SHEBANG:oqe,TITLE_MODE:gqe,UNDERSCORE_IDENT_RE:OE,UNDERSCORE_TITLE_MODE:bqe});function vqe(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function Sqe(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function Tqe(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=vqe,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function xqe(n,e){Array.isArray(n.illegal)&&(n.illegal=AE(...n.illegal))}function Cqe(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function wqe(n,e){n.relevance===void 0&&(n.relevance=1)}const Rqe=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(s=>{delete n[s]}),n.keywords=t.keywords,n.begin=go(t.beforeMatch,V2(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},Aqe=["of","and","for","in","not","or","if","then","parent","list","value"],Nqe="keyword";function W2(n,e,t=Nqe){const s=Object.create(null);return typeof n=="string"?i(t,n.split(" ")):Array.isArray(n)?i(t,n):Object.keys(n).forEach(function(r){Object.assign(s,W2(n[r],e,r))}),s;function i(r,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const c=a.split("|");s[c[0]]=[r,Oqe(c[0],c[1])]})}}function Oqe(n,e){return e?Number(e):Mqe(n)?0:1}function Mqe(n){return Aqe.includes(n.toLowerCase())}const Z0={},Zr=n=>{console.error(n)},J0=(n,...e)=>{console.log(`WARN: ${n}`,...e)},Co=(n,e)=>{Z0[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Z0[`${n}/${e}`]=!0)},ou=new Error;function K2(n,e,{key:t}){let s=0;const i=n[t],r={},o={};for(let a=1;a<=e.length;a++)o[a+s]=i[a],r[a+s]=!0,s+=z2(e[a-1]);n[t]=o,n[t]._emit=r,n[t]._multi=!0}function Iqe(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw Zr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ou;if(typeof n.beginScope!="object"||n.beginScope===null)throw Zr("beginScope must be object"),ou;K2(n,n.begin,{key:"beginScope"}),n.begin=NE(n.begin,{joinWith:""})}}function kqe(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw Zr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ou;if(typeof n.endScope!="object"||n.endScope===null)throw Zr("endScope must be object"),ou;K2(n,n.end,{key:"endScope"}),n.end=NE(n.end,{joinWith:""})}}function Dqe(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function Lqe(n){Dqe(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Iqe(n),kqe(n)}function Pqe(n){function e(o,a){return new RegExp(Zl(o),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(a?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,a]),this.matchAt+=z2(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(c=>c[1]);this.matcherRe=e(NE(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(a);if(!c)return null;const d=c.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[d];return c.splice(0,d),Object.assign(c,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const c=new t;return this.rules.slice(a).forEach(([d,u])=>c.addRule(d,u)),c.compile(),this.multiRegexes[a]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,c){this.rules.push([a,c]),c.type==="begin"&&this.count++}exec(a){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let d=c.exec(a);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,d=u.exec(a)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function i(o){const a=new s;return o.contains.forEach(c=>a.addRule(c.begin,{rule:c,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function r(o,a){const c=o;if(o.isCompiled)return c;[Sqe,Cqe,Lqe,Rqe].forEach(u=>u(o,a)),n.compilerExtensions.forEach(u=>u(o,a)),o.__beforeBegin=null,[Tqe,xqe,wqe].forEach(u=>u(o,a)),o.isCompiled=!0;let d=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),d=o.keywords.$pattern,delete o.keywords.$pattern),d=d||/\w+/,o.keywords&&(o.keywords=W2(o.keywords,n.case_insensitive)),c.keywordPatternRe=e(d,!0),a&&(o.begin||(o.begin=/\B|\b/),c.beginRe=e(c.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(c.endRe=e(c.end)),c.terminatorEnd=Zl(c.end)||"",o.endsWithParent&&a.terminatorEnd&&(c.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(c.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return Fqe(u==="self"?o:u)})),o.contains.forEach(function(u){r(u,c)}),o.starts&&r(o.starts,a),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=pr(n.classNameAliases||{}),r(n)}function j2(n){return n?n.endsWithParent||j2(n.starts):!1}function Fqe(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return pr(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:j2(n)?pr(n,{starts:n.starts?pr(n.starts):null}):Object.isFrozen(n)?pr(n):n}var Uqe="11.9.0";class Bqe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const d_=G2,eS=pr,tS=Symbol("nomatch"),Gqe=7,Q2=function(n){const e=Object.create(null),t=Object.create(null),s=[];let i=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",o={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:Z7e};function c(F){return a.noHighlightRe.test(F)}function d(F){let W=F.className+" ";W+=F.parentNode?F.parentNode.className:"";const ne=a.languageDetectRe.exec(W);if(ne){const le=C(ne[1]);return le||(J0(r.replace("{}",ne[1])),J0("Falling back to no-highlight mode for this block.",F)),le?ne[1]:"no-highlight"}return W.split(/\s+/).find(le=>c(le)||C(le))}function u(F,W,ne){let le="",me="";typeof W=="object"?(le=F,ne=W.ignoreIllegals,me=W.language):(Co("10.7.0","highlight(lang, code, ...args) has been deprecated."),Co("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),me=F,le=W),ne===void 0&&(ne=!0);const Se={code:le,language:me};$("before:highlight",Se);const de=Se.result?Se.result:h(Se.language,Se.code,ne);return de.code=Se.code,$("after:highlight",de),de}function h(F,W,ne,le){const me=Object.create(null);function Se(X,se){return X.keywords[se]}function de(){if(!ie.keywords){ge.addText(De);return}let X=0;ie.keywordPatternRe.lastIndex=0;let se=ie.keywordPatternRe.exec(De),Ae="";for(;se;){Ae+=De.substring(X,se.index);const Ce=oe.case_insensitive?se[0].toLowerCase():se[0],Ue=Se(ie,Ce);if(Ue){const[Ze,ft]=Ue;if(ge.addText(Ae),Ae="",me[Ce]=(me[Ce]||0)+1,me[Ce]<=Gqe&&(L+=ft),Ze.startsWith("_"))Ae+=se[0];else{const Be=oe.classNameAliases[Ze]||Ze;ke(se[0],Be)}}else Ae+=se[0];X=ie.keywordPatternRe.lastIndex,se=ie.keywordPatternRe.exec(De)}Ae+=De.substring(X),ge.addText(Ae)}function Ee(){if(De==="")return;let X=null;if(typeof ie.subLanguage=="string"){if(!e[ie.subLanguage]){ge.addText(De);return}X=h(ie.subLanguage,De,!0,Re[ie.subLanguage]),Re[ie.subLanguage]=X._top}else X=m(De,ie.subLanguage.length?ie.subLanguage:null);ie.relevance>0&&(L+=X.relevance),ge.__addSublanguage(X._emitter,X.language)}function Me(){ie.subLanguage!=null?Ee():de(),De=""}function ke(X,se){X!==""&&(ge.startScope(se),ge.addText(X),ge.endScope())}function Z(X,se){let Ae=1;const Ce=se.length-1;for(;Ae<=Ce;){if(!X._emit[Ae]){Ae++;continue}const Ue=oe.classNameAliases[X[Ae]]||X[Ae],Ze=se[Ae];Ue?ke(Ze,Ue):(De=Ze,de(),De=""),Ae++}}function he(X,se){return X.scope&&typeof X.scope=="string"&&ge.openNode(oe.classNameAliases[X.scope]||X.scope),X.beginScope&&(X.beginScope._wrap?(ke(De,oe.classNameAliases[X.beginScope._wrap]||X.beginScope._wrap),De=""):X.beginScope._multi&&(Z(X.beginScope,se),De="")),ie=Object.create(X,{parent:{value:ie}}),ie}function _e(X,se,Ae){let Ce=nqe(X.endRe,Ae);if(Ce){if(X["on:end"]){const Ue=new j0(X);X["on:end"](se,Ue),Ue.isMatchIgnored&&(Ce=!1)}if(Ce){for(;X.endsParent&&X.parent;)X=X.parent;return X}}if(X.endsWithParent)return _e(X.parent,se,Ae)}function we(X){return ie.matcher.regexIndex===0?(De+=X[0],1):(ye=!0,0)}function Pe(X){const se=X[0],Ae=X.rule,Ce=new j0(Ae),Ue=[Ae.__beforeBegin,Ae["on:begin"]];for(const Ze of Ue)if(Ze&&(Ze(X,Ce),Ce.isMatchIgnored))return we(se);return Ae.skip?De+=se:(Ae.excludeBegin&&(De+=se),Me(),!Ae.returnBegin&&!Ae.excludeBegin&&(De=se)),he(Ae,X),Ae.returnBegin?0:se.length}function N(X){const se=X[0],Ae=W.substring(X.index),Ce=_e(ie,X,Ae);if(!Ce)return tS;const Ue=ie;ie.endScope&&ie.endScope._wrap?(Me(),ke(se,ie.endScope._wrap)):ie.endScope&&ie.endScope._multi?(Me(),Z(ie.endScope,X)):Ue.skip?De+=se:(Ue.returnEnd||Ue.excludeEnd||(De+=se),Me(),Ue.excludeEnd&&(De=se));do ie.scope&&ge.closeNode(),!ie.skip&&!ie.subLanguage&&(L+=ie.relevance),ie=ie.parent;while(ie!==Ce.parent);return Ce.starts&&he(Ce.starts,X),Ue.returnEnd?0:se.length}function z(){const X=[];for(let se=ie;se!==oe;se=se.parent)se.scope&&X.unshift(se.scope);X.forEach(se=>ge.openNode(se))}let Y={};function ce(X,se){const Ae=se&&se[0];if(De+=X,Ae==null)return Me(),0;if(Y.type==="begin"&&se.type==="end"&&Y.index===se.index&&Ae===""){if(De+=W.slice(se.index,se.index+1),!i){const Ce=new Error(`0 width match regex (${F})`);throw Ce.languageName=F,Ce.badRule=Y.rule,Ce}return 1}if(Y=se,se.type==="begin")return Pe(se);if(se.type==="illegal"&&!ne){const Ce=new Error('Illegal lexeme "'+Ae+'" for mode "'+(ie.scope||"")+'"');throw Ce.mode=ie,Ce}else if(se.type==="end"){const Ce=N(se);if(Ce!==tS)return Ce}if(se.type==="illegal"&&Ae==="")return 1;if(Q>1e5&&Q>se.index*3)throw new Error("potential infinite loop, way more iterations than matches");return De+=Ae,Ae.length}const oe=C(F);if(!oe)throw Zr(r.replace("{}",F)),new Error('Unknown language: "'+F+'"');const xe=Pqe(oe);let Ne="",ie=le||xe;const Re={},ge=new a.__emitter(a);z();let De="",L=0,M=0,Q=0,ye=!1;try{if(oe.__emitTokens)oe.__emitTokens(W,ge);else{for(ie.matcher.considerAll();;){Q++,ye?ye=!1:ie.matcher.considerAll(),ie.matcher.lastIndex=M;const X=ie.matcher.exec(W);if(!X)break;const se=W.substring(M,X.index),Ae=ce(se,X);M=X.index+Ae}ce(W.substring(M))}return ge.finalize(),Ne=ge.toHTML(),{language:F,value:Ne,relevance:L,illegal:!1,_emitter:ge,_top:ie}}catch(X){if(X.message&&X.message.includes("Illegal"))return{language:F,value:d_(W),illegal:!0,relevance:0,_illegalBy:{message:X.message,index:M,context:W.slice(M-100,M+100),mode:X.mode,resultSoFar:Ne},_emitter:ge};if(i)return{language:F,value:d_(W),illegal:!1,relevance:0,errorRaised:X,_emitter:ge,_top:ie};throw X}}function f(F){const W={value:d_(F),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return W._emitter.addText(F),W}function m(F,W){W=W||a.languages||Object.keys(e);const ne=f(F),le=W.filter(C).filter(B).map(Me=>h(Me,F,!1));le.unshift(ne);const me=le.sort((Me,ke)=>{if(Me.relevance!==ke.relevance)return ke.relevance-Me.relevance;if(Me.language&&ke.language){if(C(Me.language).supersetOf===ke.language)return 1;if(C(ke.language).supersetOf===Me.language)return-1}return 0}),[Se,de]=me,Ee=Se;return Ee.secondBest=de,Ee}function _(F,W,ne){const le=W&&t[W]||ne;F.classList.add("hljs"),F.classList.add(`language-${le}`)}function g(F){let W=null;const ne=d(F);if(c(ne))return;if($("before:highlightElement",{el:F,language:ne}),F.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",F);return}if(F.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(F)),a.throwUnescapedHTML))throw new Bqe("One of your code blocks includes unescaped HTML.",F.innerHTML);W=F;const le=W.textContent,me=ne?u(le,{language:ne,ignoreIllegals:!0}):m(le);F.innerHTML=me.value,F.dataset.highlighted="yes",_(F,ne,me.language),F.result={language:me.language,re:me.relevance,relevance:me.relevance},me.secondBest&&(F.secondBest={language:me.secondBest.language,relevance:me.secondBest.relevance}),$("after:highlightElement",{el:F,result:me,text:le})}function b(F){a=eS(a,F)}const E=()=>{S(),Co("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){S(),Co("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let v=!1;function S(){if(document.readyState==="loading"){v=!0;return}document.querySelectorAll(a.cssSelector).forEach(g)}function R(){v&&S()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function w(F,W){let ne=null;try{ne=W(n)}catch(le){if(Zr("Language definition for '{}' could not be registered.".replace("{}",F)),i)Zr(le);else throw le;ne=o}ne.name||(ne.name=F),e[F]=ne,ne.rawDefinition=W.bind(null,n),ne.aliases&&O(ne.aliases,{languageName:F})}function A(F){delete e[F];for(const W of Object.keys(t))t[W]===F&&delete t[W]}function I(){return Object.keys(e)}function C(F){return F=(F||"").toLowerCase(),e[F]||e[t[F]]}function O(F,{languageName:W}){typeof F=="string"&&(F=[F]),F.forEach(ne=>{t[ne.toLowerCase()]=W})}function B(F){const W=C(F);return W&&!W.disableAutodetect}function H(F){F["before:highlightBlock"]&&!F["before:highlightElement"]&&(F["before:highlightElement"]=W=>{F["before:highlightBlock"](Object.assign({block:W.el},W))}),F["after:highlightBlock"]&&!F["after:highlightElement"]&&(F["after:highlightElement"]=W=>{F["after:highlightBlock"](Object.assign({block:W.el},W))})}function te(F){H(F),s.push(F)}function k(F){const W=s.indexOf(F);W!==-1&&s.splice(W,1)}function $(F,W){const ne=F;s.forEach(function(le){le[ne]&&le[ne](W)})}function q(F){return Co("10.7.0","highlightBlock will be removed entirely in v12.0"),Co("10.7.0","Please use highlightElement now."),g(F)}Object.assign(n,{highlight:u,highlightAuto:m,highlightAll:S,highlightElement:g,highlightBlock:q,configure:b,initHighlighting:E,initHighlightingOnLoad:y,registerLanguage:w,unregisterLanguage:A,listLanguages:I,getLanguage:C,registerAliases:O,autoDetection:B,inherit:eS,addPlugin:te,removePlugin:k}),n.debugMode=function(){i=!1},n.safeMode=function(){i=!0},n.versionString=Uqe,n.regex={concat:go,lookahead:V2,either:AE,optional:eqe,anyNumberOfTimes:J7e};for(const F in Bc)typeof Bc[F]=="object"&&B2(Bc[F]);return Object.assign(n,Bc),n},_a=Q2({});_a.newInstance=()=>Q2({});var Vqe=_a;_a.HighlightJS=_a;_a.default=_a;var u_,nS;function zqe(){if(nS)return u_;nS=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",r="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",c="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",d="разделительстраниц разделительстрок символтабуляции ",u="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",h="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",f="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",m=d+u+h+f,_="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",g="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",b="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",E="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",y="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",v="отображениевремениэлементовпланировщика ",S="типфайлаформатированногодокумента ",R="обходрезультатазапроса типзаписизапроса ",w="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",A="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",I="типизмеренияпостроителязапроса ",C="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",O="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",B="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",H="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",te="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",k="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",$="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",q="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",F="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",W="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",ne="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",le=_+g+b+E+y+v+S+R+w+A+I+C+O+B+H+te+k+$+q+F+W+ne,de="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Ee="null истина ложь неопределено",Me=e.inherit(e.NUMBER_MODE),ke={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Z={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},he=e.inherit(e.C_LINE_COMMENT_MODE),_e={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:r+c},contains:[he]},we={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Pe={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:Ee},contains:[Me,ke,Z]},he]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:r,built_in:m,class:le,type:de,literal:Ee},contains:[_e,Pe,he,we,Me,ke,Z]}}return u_=n,u_}var p_,sS;function Hqe(){if(sS)return p_;sS=1;function n(e){const t=e.regex,s=/^[a-zA-Z][a-zA-Z0-9-]*/,i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],r=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},c={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},d={scope:"symbol",match:/%[si](?=".*")/},u={scope:"attribute",match:t.concat(s,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:i,contains:[{scope:"operator",match:/=\/?/},u,r,o,a,c,d,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return p_=n,p_}var __,iS;function qqe(){if(iS)return __;iS=1;function n(e){const t=e.regex,s=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...s)),end:/"/,keywords:s,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return __=n,__}var h_,rS;function $qe(){if(rS)return h_;rS=1;function n(e){const t=e.regex,s=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=t.concat(s,t.concat("(\\.",s,")*")),r=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:s,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,s],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,r)}]},e.METHOD_GUARD],illegal:/#/}}return h_=n,h_}var f_,oS;function Yqe(){if(oS)return f_;oS=1;function n(e){const t="\\d(_|\\d)*",s="[eE][-+]?"+t,i=t+"(\\."+t+")?("+s+")?",r="\\w+",a="\\b("+(t+"#"+r+"(\\."+r+")?#("+s+")?")+"|"+i+")",c="[A-Za-z](_?[A-Za-z0-9.])*",d=`[]\\{\\}%#'"`,u=e.COMMENT("--","$"),h={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:d,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:c,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[u,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+c},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:d},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[u,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:d},h,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:d}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:d},h]}}return f_=n,f_}var m_,aS;function Wqe(){if(aS)return m_;aS=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},s={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[t,s]};return t.contains=[i],s.contains=[i],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,s,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return m_=n,m_}var g_,lS;function Kqe(){if(lS)return g_;lS=1;function n(e){const t={className:"number",begin:/[$%]\d+/},s={className:"number",begin:/\b\d+/},i={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},r={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[i,r,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},i,s,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return g_=n,g_}var b_,cS;function jqe(){if(cS)return b_;cS=1;function n(e){const t=e.regex,s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,s]},r=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),a=[r,o,e.HASH_COMMENT_MODE],c=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],d=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[s,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...d),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...c),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...a],illegal:/\/\/|->|=>|\[\[/}}return b_=n,b_}var E_,dS;function Qqe(){if(dS)return E_;dS=1;function n(e){const t="[A-Za-z_][0-9A-Za-z_]*",s={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},i={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},r={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},a={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,r,e.REGEXP_MODE];const c=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:s,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,r,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:c}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return E_=n,E_}var y_,uS;function Xqe(){if(uS)return y_;uS=1;function n(t){const s=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="<[^<>]+>",c="(?!struct)("+r+"|"+s.optional(o)+"[a-zA-Z_]\\w*"+s.optional(a)+")",d={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},m={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:s.optional(o)+t.IDENT_RE,relevance:0},g=s.optional(o)+t.IDENT_RE+"\\s*\\(",b=["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"],E=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],y=["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"],v=["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"],w={type:E,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:y},A={className:"function.dispatch",relevance:0,keywords:{_hint:v},begin:s.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,s.lookahead(/(<[^<>]+>|)\s*\(/))},I=[A,m,d,i,t.C_BLOCK_COMMENT_MODE,f,h],C={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:w,contains:I.concat([{begin:/\(/,end:/\)/,keywords:w,contains:I.concat(["self"]),relevance:0}]),relevance:0},O={className:"function",begin:"("+c+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:w,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:w,relevance:0},{begin:g,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,h,f,d,{begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,h,f,d]}]},d,i,t.C_BLOCK_COMMENT_MODE,m]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:w,illegal:"",keywords:w,contains:["self",d]},{begin:t.IDENT_RE+"::",keywords:w},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const s={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=n(t),r=i.keywords;return r.type=[...r.type,...s.type],r.literal=[...r.literal,...s.literal],r.built_in=[...r.built_in,...s.built_in],r._hints=s._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}return y_=e,y_}var v_,pS;function Zqe(){if(pS)return v_;pS=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return v_=n,v_}var S_,_S;function Jqe(){if(_S)return S_;_S=1;function n(e){const t=e.regex,s=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:"string"}),d=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,d,c,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,a,d,c]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return S_=n,S_}var T_,hS;function e$e(){if(hS)return T_;hS=1;function n(e){const t=e.regex,s={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],r=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},c={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},c,a,...i,...r,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},s,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return T_=n,T_}var x_,fS;function t$e(){if(fS)return x_;fS=1;function n(e){const t=e.regex,s=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],i=["get","set","args","call"];return{name:"AspectJ",keywords:s,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:s.concat(i),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:s,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:s.concat(i),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:s,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:s,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return x_=n,x_}var C_,mS;function n$e(){if(mS)return C_;mS=1;function n(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return C_=n,C_}var w_,gS;function s$e(){if(gS)return w_;gS=1;function n(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",s=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],i="True False And Null Not Or Default",r="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},c={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},d={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},u={className:"meta",begin:"#",end:"$",keywords:{keyword:s},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[c,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},c,o]},h={className:"symbol",begin:"@[A-z0-9_]+"},f={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,c,d]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:r,literal:i},contains:[o,a,c,d,u,h,f]}}return w_=n,w_}var R_,bS;function i$e(){if(bS)return R_;bS=1;function n(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return R_=n,R_}var A_,ES;function r$e(){if(ES)return A_;ES=1;function n(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:s},contains:[t,i,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return A_=n,A_}var N_,yS;function o$e(){if(yS)return N_;yS=1;function n(e){const t=e.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}return N_=n,N_}var O_,vS;function a$e(){if(vS)return O_;vS=1;function n(e){const t=e.regex,s={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={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 c={match:/\\"/},d={className:"string",begin:/'/,end:/'/},u={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],b=["true","false"],E={match:/(\/[a-z._-]+)+/},y=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],v=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],S=["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"],R=["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:g,literal:b,built_in:[...y,...v,"set","shopt",...S,...R]},contains:[m,e.SHEBANG(),_,h,e.HASH_COMMENT_MODE,o,E,a,c,d,u,s]}}return O_=n,O_}var M_,SS;function l$e(){if(SS)return M_;SS=1;function n(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return M_=n,M_}var I_,TS;function c$e(){if(TS)return I_;TS=1;function n(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return I_=n,I_}var k_,xS;function d$e(){if(xS)return k_;xS=1;function n(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return k_=n,k_}var D_,CS;function u$e(){if(CS)return D_;CS=1;function n(e){const t=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(o)+")",c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},m={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",E={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,c,s,e.C_BLOCK_COMMENT_MODE,h,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:y.concat([{begin:/\(/,end:/\)/,keywords:E,contains:y.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:E,relevance:0},{begin:_,returnBegin:!0,contains:[e.inherit(m,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,c,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,c]}]},c,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:E,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:E}}}return D_=n,D_}var L_,wS;function p$e(){if(wS)return L_;wS=1;function n(e){const t=e.regex,s=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],i="false true",r=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},c={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},d={className:"string",begin:'"',end:'"'},u={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:s,contains:[o,a,e.NUMBER_MODE]},...r]},h=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],f={match:[/OBJECT/,/\s+/,t.either(...h),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:s,literal:i},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,c,d,e.NUMBER_MODE,f,u]}}return L_=n,L_}var P_,RS;function _$e(){if(RS)return P_;RS=1;function n(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],s=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],i=["true","false"],r={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:s,literal:i},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},r]}}return P_=n,P_}var F_,AS;function h$e(){if(AS)return F_;AS=1;function n(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],s=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],i=["doc","by","license","see","throws","tagged"],r={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[r]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return r.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(s),meta:i},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return F_=n,F_}var U_,NS;function f$e(){if(NS)return U_;NS=1;function n(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return U_=n,U_}var B_,OS;function m$e(){if(OS)return B_;OS=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&'",s="[#]?["+t+"]["+t+"0-9/;:$#]*",i="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:s,built_in:i+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:s,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},c={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},d={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),h={scope:"punctuation",match:/,/,relevance:0},f=e.COMMENT(";","$",{relevance:0}),m={className:"literal",begin:/\b(true|false|nil)\b/},_={begin:"\\[|(#::?"+s+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+s},b={begin:"\\(",end:"\\)"},E={endsWithParent:!0,relevance:0},y={keywords:r,className:"name",begin:s,relevance:0,starts:E},v=[h,b,c,d,u,f,g,_,a,m,o],S={beginKeywords:i,keywords:{$pattern:s,keyword:i},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:s,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)};return b.contains=[S,y,E],E.contains=v,_.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[h,b,c,d,u,f,g,_,a,m]}}return B_=n,B_}var G_,MS;function g$e(){if(MS)return G_;MS=1;function n(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return G_=n,G_}var V_,IS;function b$e(){if(IS)return V_;IS=1;function n(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return V_=n,V_}var z_,kS;function E$e(){if(kS)return z_;kS=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],r=[].concat(i,t,s);function o(a){const c=["npm","print"],d=["yes","no","on","off"],u=["then","unless","until","loop","by","when","and","or","is","isnt","not"],h=["var","const","let","function","static"],f=R=>w=>!R.includes(w),m={keyword:n.concat(u).filter(f(h)),literal:e.concat(d),built_in:r.concat(c)},_="[A-Za-z$_][0-9A-Za-z$_]*",g={className:"subst",begin:/#\{/,end:/\}/,keywords:m},b=[a.BINARY_NUMBER_MODE,a.inherit(a.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,g]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,g]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[g,a.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+_},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];g.contains=b;const E=a.inherit(a.TITLE_MODE,{begin:_}),y="(\\(.*\\)\\s*)?\\B[-=]>",v={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:m,contains:["self"].concat(b)}]},S={variants:[{match:[/class\s+/,_,/\s+extends\s+/,_]},{match:[/class\s+/,_]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:m};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:m,illegal:/\/\*/,contains:[...b,a.COMMENT("###","###"),a.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+_+"\\s*=\\s*"+y,end:"[-=]>",returnBegin:!0,contains:[E,v]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:y,end:"[-=]>",returnBegin:!0,contains:[v]}]},S,{begin:_+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return z_=o,z_}var H_,DS;function y$e(){if(DS)return H_;DS=1;function n(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return H_=n,H_}var q_,LS;function v$e(){if(LS)return q_;LS=1;function n(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return q_=n,q_}var $_,PS;function S$e(){if(PS)return $_;PS=1;function n(e){const t=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="(?!struct)("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(o)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},m={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],E=["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:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:E},w={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},A=[w,f,c,s,e.C_BLOCK_COMMENT_MODE,h,u],I={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:A.concat([{begin:/\(/,end:/\)/,keywords:R,contains:A.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:R,relevance:0},{begin:_,returnBegin:!0,contains:[m],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,c,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,c]}]},c,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",c]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return $_=n,$_}var Y_,FS;function T$e(){if(FS)return Y_;FS=1;function n(e){const t="primitive rsc_template",s="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",i="property rsc_defaults op_defaults",r="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",a="number string",c="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:r+" "+o+" "+a,literal:c},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+s.split(" ").join("|")+")\\s+",keywords:s,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:i,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return Y_=n,Y_}var W_,US;function x$e(){if(US)return W_;US=1;function n(e){const t="(_?[ui](8|16|32|64|128))?",s="(_?f(32|64))?",i="[a-zA-Z_]\\w*[!?=]?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:i,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},d={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function h(y,v){const S=[{begin:y,end:v}];return S[0].contains=S,S}const f={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:h("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},m={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%q<",end:">",contains:h("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},_={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:"%r\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%r<",end:">",contains:h("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},b={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},E=[u,f,m,g,_,b,d,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[f,{begin:r}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+s+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return c.contains=E,u.contains=E.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:E}}return W_=n,W_}var K_,BS;function C$e(){if(BS)return K_;BS=1;function n(e){const t=["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"],i=["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"],o=["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(o),built_in:t,literal:i},c=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},m=e.inherit(f,{illegal:/\n/}),_={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,m]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},b=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});f.contains=[g,_,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],m.contains=[b,_,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const E={variants:[g,_,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},c]},v=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",S={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"}},E,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},c,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[c,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:"("+v+"\\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:[E,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},S]}}return K_=n,K_}var j_,GS;function w$e(){if(GS)return j_;GS=1;function n(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return j_=n,j_}var Q_,VS;function R$e(){if(VS)return Q_;VS=1;const n=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"],t=["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"],i=["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 o(a){const c=a.regex,d=n(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,m="[a-zA-Z-][a-zA-Z0-9_-]*",_=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,u,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+m,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+i.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,..._,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[..._,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:c.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:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},..._,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Q_=o,Q_}var X_,zS;function A$e(){if(zS)return X_;zS=1;function n(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},s="(0|[1-9][\\d_]*)",i="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",r="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,c="([eE][+-]?"+i+")",d="("+i+"(\\.\\d*|"+c+")|\\d+\\."+i+"|\\."+s+c+"?)",u="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+i+")",h="("+s+"|"+r+"|"+a+")",f="("+u+"|"+d+")",m=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,_={className:"number",begin:"\\b"+h+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},g={className:"number",begin:"\\b("+f+"([fF]|L|i|[fF]i|Li)?|"+h+"(i|[fF]i|Li))",relevance:0},b={className:"string",begin:"'("+m+"|.)",end:"'",illegal:"."},y={className:"string",begin:'"',contains:[{begin:m,relevance:0}],end:'"[cwd]?'},v={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},S={className:"string",begin:"`",end:"`[cwd]?"},R={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},w={className:"string",begin:'q"\\{',end:'\\}"'},A={className:"meta",begin:"^#!",end:"$",relevance:5},I={className:"meta",begin:"#(line)",end:"$",relevance:5},C={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},O=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,O,R,y,v,S,w,g,_,b,A,I,C]}}return X_=n,X_}var Z_,HS;function N$e(){if(HS)return Z_;HS=1;function n(e){const t=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={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}]},o={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}]},c=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,c,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),m=e.inherit(h,{contains:[]});u.contains.push(m),h.contains.push(f);let _=[s,d];return[u,h,f,m].forEach(E=>{E.contains=E.contains.concat(_)}),_=_.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:_},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:_}]}]},s,o,u,h,{className:"quote",begin:"^>\\s+",contains:_,end:"$"},r,i,d,a]}}return Z_=n,Z_}var J_,qS;function O$e(){if(qS)return J_;qS=1;function n(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},s={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,s]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,s]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,s]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,s]}]};s.contains=[e.C_NUMBER_MODE,i];const r=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=r.map(d=>`${d}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:r.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return J_=n,J_}var eh,$S;function M$e(){if($S)return eh;$S=1;function n(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],s=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},c={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},d={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,a,i].concat(s)},i].concat(s)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[r,a,e.NUMBER_MODE,o,c,d,i].concat(s)}}return eh=n,eh}var th,YS;function I$e(){if(YS)return th;YS=1;function n(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.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 th=n,th}var nh,WS;function k$e(){if(WS)return nh;WS=1;function n(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return nh=n,nh}var sh,KS;function D$e(){if(KS)return sh;KS=1;function n(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return sh=n,sh}var ih,jS;function L$e(){if(jS)return ih;jS=1;function n(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},c={className:"params",relevance:0,begin:"<",end:">",contains:[s,r]},d={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},u={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},h={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},f={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},m={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[u,r,o,a,d,f,h,c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,t,i,m,{begin:e.IDENT_RE+"::",keywords:""}]}}return ah=n,ah}var lh,JS;function B$e(){if(JS)return lh;JS=1;function n(e){const t="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}return lh=n,lh}var ch,eT;function G$e(){if(eT)return ch;eT=1;function n(e){const t=e.COMMENT(/\(\*/,/\*\)/),s={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},r={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,s,r]}}return ch=n,ch}var dh,tT;function V$e(){if(tT)return dh;tT=1;function n(e){const t=e.regex,s="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:s,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},d={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},h={match:/\\[\s\S]/,scope:"char.escape",relevance:0},f=`[/|([{<"']`,m=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],_=w=>({scope:"char.escape",begin:t.concat(/\\/,w),relevance:0}),g={className:"string",begin:"~[a-z](?="+f+")",contains:m.map(w=>e.inherit(w,{contains:[_(w.end),h,c]}))},b={className:"string",begin:"~[A-Z](?="+f+")",contains:m.map(w=>e.inherit(w,{contains:[_(w.end)]}))},E={className:"regex",variants:[{begin:"~r(?="+f+")",contains:m.map(w=>e.inherit(w,{end:t.concat(w.end,/[uismxfU]{0,7}/),contains:[_(w.end),h,c]}))},{begin:"~R(?="+f+")",contains:m.map(w=>e.inherit(w,{end:t.concat(w.end,/[uismxfU]{0,7}/),contains:[_(w.end)]}))}]},y={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},v={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:s,endsParent:!0})]},S=e.inherit(v,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),R=[y,E,b,g,e.HASH_COMMENT_MODE,S,v,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[y,{begin:i}],relevance:0},{className:"symbol",begin:s+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return c.contains=R,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:R}}return dh=n,dh}var uh,nT;function z$e(){if(nT)return uh;nT=1;function n(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},r={begin:/\{/,end:/\}/,contains:i.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[s,i,r,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return uh=n,uh}var ph,sT;function H$e(){if(sT)return ph;sT=1;function n(e){const t=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=t.concat(i,/(::\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"]},c={className:"doctag",begin:"@[A-Za-z]+"},d={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[c]}),e.COMMENT("^=begin","^=end",{contains:[c],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:t.concat(/<<[-~]?'?/,t.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]})]}]},m="[1-9](_?[0-9])*|0",_="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${m})(\\.(${_}))?([eE][+-]?(${_})|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}]},A=[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:i,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},g,{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(d,u),relevance:0}].concat(d,u);h.contains=A,b.contains=A;const I="[>?]>",C="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",O="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",B=[{begin:/^\s*=>/,starts:{end:"$",contains:A}},{className:"meta.prompt",begin:"^("+I+"|"+C+"|"+O+")(?=[ ])",starts:{end:"$",keywords:a,contains:A}}];return u.unshift(d),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(B).concat(u).concat(A)}}return ph=n,ph}var _h,iT;function q$e(){if(iT)return _h;iT=1;function n(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return _h=n,_h}var hh,rT;function $$e(){if(rT)return hh;rT=1;function n(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return hh=n,hh}var fh,oT;function Y$e(){if(oT)return fh;oT=1;function n(e){const t="[a-z'][a-zA-Z0-9_']*",s="("+t+":"+t+"|"+t+")",i={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},r=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},c={begin:s+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:s,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},d={begin:/\{/,end:/\}/,relevance:0},u={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},h={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},m={beginKeywords:"fun receive if try case",end:"end",keywords:i};m.contains=[r,a,e.inherit(e.APOS_STRING_MODE,{className:""}),m,c,e.QUOTE_STRING_MODE,o,d,u,h,f];const _=[r,a,m,c,e.QUOTE_STRING_MODE,o,d,u,h,f];c.contains[1].contains=_,d.contains=_,f.contains[1].contains=_;const g=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],b={className:"params",begin:"\\(",end:"\\)",contains:_};return{name:"Erlang",aliases:["erl"],keywords:i,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[b,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:i,contains:_}},r,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:g.map(E=>`${E}|1.5`).join(" ")},contains:[b]},o,e.QUOTE_STRING_MODE,f,u,h,d,{begin:/\.$/}]}}return fh=n,fh}var mh,aT;function W$e(){if(aT)return mh;aT=1;function n(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return mh=n,mh}var gh,lT;function K$e(){if(lT)return gh;lT=1;function n(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return gh=n,gh}var bh,cT;function j$e(){if(cT)return bh;cT=1;function n(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},s={className:"string",variants:[{begin:'"',end:'"'}]},r={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,s,r,e.C_NUMBER_MODE]}}return bh=n,bh}var Eh,dT;function Q$e(){if(dT)return Eh;dT=1;function n(e){const t=e.regex,s={className:"params",begin:"\\(",end:"\\)"},i={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},r=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,r)},{begin:t.concat(/\b\d+/,o,r)},{begin:t.concat(/\.\d+/,o,r)}],relevance:0},c={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,s]},d={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[d,c,{begin:/^C\s*=(?!=)/,relevance:0},i,a]}}return Eh=n,Eh}var yh,uT;function X$e(){if(uT)return yh;uT=1;function n(a){return new RegExp(a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return s("(?=",a,")")}function s(...a){return a.map(d=>e(d)).join("")}function i(a){const c=a[a.length-1];return typeof c=="object"&&c.constructor===Object?(a.splice(a.length-1,1),c):{}}function r(...a){return"("+(i(a).capture?"":"?:")+a.map(u=>e(u)).join("|")+")"}function o(a){const c=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],d={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},u=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],h=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],f=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],m=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],g={keyword:c,literal:h,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":f},E={variants:[a.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),a.C_LINE_COMMENT_MODE]},y=/[a-zA-Z_](\w|')*/,v={scope:"variable",begin:/``/,end:/``/},S=/\B('|\^)/,R={scope:"symbol",variants:[{match:s(S,/``.*?``/)},{match:s(S,a.UNDERSCORE_IDENT_RE)}],relevance:0},w=function({includeEqual:Me}){let ke;Me?ke="!%&*+-/<=>@^|~?":ke="!%&*+-/<>@^|~?";const Z=Array.from(ke),he=s("[",...Z.map(n),"]"),_e=r(he,/\./),we=s(_e,t(_e)),Pe=r(s(we,_e,"*"),s(he,"+"));return{scope:"operator",match:r(Pe,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},A=w({includeEqual:!0}),I=w({includeEqual:!1}),C=function(Me,ke){return{begin:s(Me,t(s(/\s*/,r(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ke,end:t(r(/\n/,/=/)),relevance:0,keywords:a.inherit(g,{type:m}),contains:[E,R,a.inherit(v,{scope:null}),I]}},O=C(/:/,"operator"),B=C(/\bof\b/,"keyword"),H={begin:[/(^|\s+)/,/type/,/\s+/,y],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:g,contains:[E,a.inherit(v,{scope:null}),R,{scope:"operator",match:/<|>/},O]},te={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},k={begin:[/^\s*/,s(/#/,r(...u)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},$={variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]},q={scope:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE]},F={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},a.BACKSLASH_ESCAPE]},W={scope:"string",begin:/"""/,end:/"""/,relevance:2},ne={scope:"subst",begin:/\{/,end:/\}/,keywords:g},le={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},a.BACKSLASH_ESCAPE,ne]},me={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},a.BACKSLASH_ESCAPE,ne]},Se={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},ne],relevance:2},de={scope:"string",match:s(/'/,r(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return ne.contains=[me,le,F,q,de,d,E,v,O,te,k,$,R,A],{name:"F#",aliases:["fs","f#"],keywords:g,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[d,{variants:[Se,me,le,W,F,q,de]},E,v,H,{scope:"meta",begin:/\[\]/,relevance:2,contains:[v,W,F,q,de,$]},B,O,te,k,$,R,A]}}return yh=o,yh}var vh,pT;function Z$e(){if(pT)return vh;pT=1;function n(e){const t=e.regex,s={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:s,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},c=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,d={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:t.concat(c,t.anyNumberOfTimes(t.concat(/[ ]+/,c))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:s,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,d]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[d]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},i,r]},e.C_NUMBER_MODE,r]}}return vh=n,vh}var Sh,_T;function J$e(){if(_T)return Sh;_T=1;function n(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},s=e.COMMENT("@","@"),i={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},r={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,r]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},c=function(m,_,g){const b=e.inherit({className:"function",beginKeywords:m,end:_,excludeEnd:!0,contains:[].concat(o)},g||{});return b.contains.push(a),b.contains.push(e.C_NUMBER_MODE),b.contains.push(e.C_BLOCK_COMMENT_MODE),b.contains.push(s),b},d={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},u={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},h={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},d,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},f={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,d,h,u,"self"]};return h.contains.push(f),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,u,i,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},c("proc keyword",";"),c("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,s,f]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},h,r]}}return Sh=n,Sh}var Th,hT;function eYe(){if(hT)return Th;hT=1;function n(e){const t="[A-Z_][A-Z0-9_.]*",s="%",i={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},r={className:"meta",begin:"([O])([0-9]+)"},o=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),o,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:s},r].concat(a)}}return Th=n,Th}var xh,fT;function tYe(){if(fT)return xh;fT=1;function n(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return xh=n,xh}var Ch,mT;function nYe(){if(mT)return Ch;mT=1;function n(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return Ch=n,Ch}var wh,gT;function sYe(){if(gT)return wh;gT=1;function n(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return wh=n,wh}var Rh,bT;function iYe(){if(bT)return Rh;bT=1;function n(e){const o={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:o,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Ih=n,Ih}var kh,xT;function dYe(){if(xT)return kh;xT=1;function n(e){const t=e.regex,s={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},r=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,c=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,d=/(\.|\/)/,u=t.either(r,o,a,c),h=t.concat(t.optional(/\.|\.\/|\//),u,t.anyNumberOfTimes(t.concat(d,u))),f=t.concat("(",a,"|",c,")(?==)"),m={begin:h},_=e.inherit(m,{keywords:i}),g={begin:/\(/,end:/\)/},b={className:"attr",begin:f,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,_,g]}}},E={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},y={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,b,_,g],returnEnd:!0},v=e.inherit(m,{className:"name",keywords:s,starts:e.inherit(y,{end:/\)/})});g.contains=[v];const S=e.inherit(m,{keywords:s,className:"name",starts:e.inherit(y,{end:/\}\}/})}),R=e.inherit(m,{keywords:s,className:"name"}),w=e.inherit(m,{className:"name",keywords:s,starts:e.inherit(y,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[S],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[R]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[S]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[R]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[w]}]}}return kh=n,kh}var Dh,CT;function uYe(){if(CT)return Dh;CT=1;function n(e){const t="([0-9]_*)+",s="([0-9a-fA-F]_*)+",i="([01]_*)+",r="([0-7]_*)+",d="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",u={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},h={className:"meta",begin:/\{-#/,end:/#-\}/},f={className:"meta",begin:"^#",end:"$"},m={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},_={begin:"\\(",end:"\\)",illegal:'"',contains:[h,f,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),u]},g={begin:/\{/,end:/\}/,contains:_.contains},b={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${s})(\\.(${s}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${r})\\b`},{match:`\\b0[bB](${i})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[_,u],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[_,u],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[m,_,u]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[h,m,_,g,u]},{beginKeywords:"default",end:"$",contains:[m,_,u]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,u]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[m,e.QUOTE_STRING_MODE,u]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},h,f,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,b,m,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${d}--+|--+(?!-)${d}`},u,{begin:"->|<-"}]}}return Dh=n,Dh}var Lh,wT;function pYe(){if(wT)return Lh;wT=1;function n(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",s=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:s,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return Lh=n,Lh}var Ph,RT;function _Ye(){if(RT)return Ph;RT=1;function n(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return Ph=n,Ph}var Fh,AT;function hYe(){if(AT)return Fh;AT=1;function n(e){const t=e.regex,s="HTTP/([32]|1\\.[01])",i=/[A-Za-z][A-Za-z0-9-]*/,r={className:"attribute",begin:t.concat("^",i,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(r,{relevance:0})]}}return Fh=n,Fh}var Uh,NT;function fYe(){if(NT)return Uh;NT=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&#'",s="["+t+"]["+t+"0-9/;:]*",i={$pattern:s,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},r="[-+]?\\d+(\\.\\d+)?",o={begin:s,relevance:0},a={className:"number",begin:r,relevance:0},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d=e.COMMENT(";","$",{relevance:0}),u={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},h={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},f={className:"comment",begin:"\\^"+s},m=e.COMMENT("\\^\\{","\\}"),_={className:"symbol",begin:"[:]{1,2}"+s},g={begin:"\\(",end:"\\)"},b={endsWithParent:!0,relevance:0},E={className:"name",relevance:0,keywords:i,begin:s,starts:b},y=[g,c,f,m,d,_,h,a,u,o];return g.contains=[e.COMMENT("comment",""),E,b],b.contains=y,h.contains=y,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),g,c,f,m,d,_,h,a,u]}}return Uh=n,Uh}var Bh,OT;function mYe(){if(OT)return Bh;OT=1;function n(e){const t="\\[",s="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:s}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:s,contains:["self"]}]}}return Bh=n,Bh}var Gh,MT;function gYe(){if(MT)return Gh;MT=1;function n(e){const t=e.regex,s={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},c={begin:/\[/,end:/\]/,contains:[i,o,r,a,s,"self"],relevance:0},d=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,h=/'[^']*'/,f=t.either(d,u,h),m=t.concat(f,"(\\s*\\.\\s*",f,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:m,className:"attr",starts:{end:/$/,contains:[i,c,o,r,a,s]}}]}}return Gh=n,Gh}var Vh,IT;function bYe(){if(IT)return Vh;IT=1;function n(e){const t=e.regex,s={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,r,i)},{begin:t.concat(/\b\d+/,r,i)},{begin:t.concat(/\.\d+/,r,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,s]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}return Vh=n,Vh}var zh,kT;function EYe(){if(kT)return zh;kT=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",s="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",i="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",r="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",a="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",c="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",d="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",u="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",h="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",f="smHidden smMaximized smMinimized smNormal wmNo wmYes ",m="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",_="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",g="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",b="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",E="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",y="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",v="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",S="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",R="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",w="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",A="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",I="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",C="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",O="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",B="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",H="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",te="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",k="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",$="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",q="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",F="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",W="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",ne="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",le="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",me="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",Se="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",de="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",Ee="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Me=r+o+a+c+d+u+h+f+m+_+g+b+E+y+v+S+R+w+A+I+C+O+B+H+te+k+$+q+F+W+ne+le+me+Se+de+Ee,ke="atUser atGroup atRole ",Z="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",he="apBegin apEnd ",_e="alLeft alRight ",we="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Pe="cirCommon cirRevoked ",N="ctSignature ctEncode ctSignatureEncode ",z="clbUnchecked clbChecked clbGrayed ",Y="ceISB ceAlways ceNever ",ce="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",oe="cfInternal cfDisplay ",xe="ciUnspecified ciWrite ciRead ",Ne="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",ie="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",Re="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ge="cltInternal cltPrimary cltGUI ",De="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",L="dssEdit dssInsert dssBrowse dssInActive ",M="dftDate dftShortDate dftDateTime dftTimeStamp ",Q="dotDays dotHours dotMinutes dotSeconds ",ye="dtkndLocal dtkndUTC ",X="arNone arView arEdit arFull ",se="ddaView ddaEdit ",Ae="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Ce="ecotFile ecotProcess ",Ue="eaGet eaCopy eaCreate eaCreateStandardRoute ",Ze="edltAll edltNothing edltQuery ",ft="essmText essmCard ",Be="esvtLast esvtLastActive esvtSpecified ",pt="edsfExecutive edsfArchive ",st="edstSQLServer edstFile ",Ye="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",nt="vsDefault vsDesign vsActive vsObsolete ",je="etNone etCertificate etPassword etCertificatePassword ",yt="ecException ecWarning ecInformation ",ee="estAll estApprovingOnly ",Qe="evtLast evtLastActive evtQuery ",Ve="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Oe="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",He="grhAuto grhX1 grhX2 grhX3 ",lt="hltText hltRTF hltHTML ",Nt="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",an="im8bGrayscale im24bRGB im1bMonochrome ",Sn="itBMP itJPEG itWMF itPNG ",Vt="ikhInformation ikhWarning ikhError ikhNoIcon ",Tn="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",cs="isShow isHide isByUserSettings ",Sc="jkJob jkNotice jkControlJob ",Rp="jtInner jtLeft jtRight jtFull jtCross ",Eo="lbpAbove lbpBelow lbpLeft lbpRight ",Tc="eltPerConnection eltPerUser ",yo="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",xc="sfsItalic sfsStrikeout sfsNormal ",Cc="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Ap="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Np="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",Op="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",U="rdWindow rdFile rdPrinter ",ue="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",be="reOnChange reOnChangeValues ",ve="ttGlobal ttLocal ttUser ttSystem ",fe="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",Xe="smSelect smLike smCard ",it="stNone stAuthenticating stApproving ",at="sctString sctStream ",ut="sstAnsiSort sstNaturalSort ",Et="svtEqual svtContain ",ht="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",mt="tarAbortByUser tarAbortByWorkflowException ",tn="tvtAllWords tvtExactPhrase tvtAnyWord ",Pn="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",ln="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",Is="btAnd btDetailAnd btOr btNotOr btOnly ",Qt="vmView vmSelect vmNavigation ",vt="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Xa="wfatPrevious wfatNext wfatCancel wfatFinish ",Jt="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",vi="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",wc="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",Rr="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Za="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",bn="waAll waPerformers waManual ",Si="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Ja="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Hn="wiLow wiNormal wiHigh ",el="wrtSoft wrtHard ",Mp="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Rc="wtmFull wtmFromCurrent wtmOnlyCurrent ",RM=ke+Z+he+_e+we+Pe+N+z+Y+ce+oe+xe+Ne+ie+Re+ge+De+L+M+Q+ye+X+se+Ae+Ce+Ue+Ze+ft+Be+pt+st+Ye+nt+je+yt+ee+Qe+Ve+Oe+He+lt+Nt+an+Sn+Vt+Tn+cs+Sc+Rp+Eo+Tc+yo+xc+Cc+Ap+Np+Op+U+ue+be+ve+fe+Xe+it+at+ut+Et+ht+mt+tn+Pn+ln+Is+Qt+vt+Xa+Jt+vi+wc+Rr+Za+bn+Si+Ja+Hn+el+Mp+Rc,AM="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",NM="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",OM="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",MM=Me+RM,IM=NM,kM="null true false nil ",Py={className:"number",begin:e.NUMBER_RE,relevance:0},Fy={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Uy={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},DM={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Uy]},LM={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Uy]},By={variants:[DM,LM]},Ac={$pattern:t,keyword:i,built_in:MM,class:IM,literal:kM},Ip={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Ac,relevance:0},Gy={className:"type",begin:":[ \\t]*("+OM.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Vy={className:"variable",keywords:Ac,begin:t,relevance:0,contains:[Gy,Ip]},zy=s+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Ac,illegal:"\\$|\\?|%|,|;$|~|#|@|i(o,a,c-1))}function r(o){const a=o.regex,c="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",d=c+i("(?:<"+c+"~~~(?:\\s*,\\s*"+c+"~~~)*>)?",/~~~/g,2),_={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"]},g={className:"meta",begin:"@"+c,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[o.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:_,illegal:/<\/|#/,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[o.BACKSLASH_ESCAPE]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,c],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,c),/\s+/,c,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,c],className:{1:"keyword",3:"title.class"},contains:[b,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+d+"\\s+)",o.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:_,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[g,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,s,o.C_BLOCK_COMMENT_MODE]},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},s,g]}}return Hh=r,Hh}var qh,LT;function vYe(){if(LT)return qh;LT=1;const n="[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"],t=["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"],i=["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"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,i);function c(d){const u=d.regex,h=(Z,{after:he})=>{const _e="",end:""},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,he)=>{const _e=Z[0].length+Z.index,we=Z.input[_e];if(we==="<"||we===","){he.ignoreMatch();return}we===">"&&(h(Z,{after:_e})||he.ignoreMatch());let Pe;const N=Z.input.substring(_e);if(Pe=N.match(/^\s*=/)){he.ignoreMatch();return}if((Pe=N.match(/^\s+extends\s+/))&&Pe.index===0){he.ignoreMatch();return}}},b={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},E="[0-9](_?[0-9])*",y=`\\.(${E})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${v})((${y})|\\.)?|(${y}))[eE][+-]?(${E})\\b`},{begin:`\\b(${v})\\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:[]},w={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},A={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"css"}},I={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,R]},B={className:"comment",variants:[d.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},H=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,w,A,I,C,{match:/\$\d+/},S];R.contains=H.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(H)});const te=[].concat(B,R.contains),k=te.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(te)}]),$={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:k},q={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},F={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...i]}},W={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[$],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function me(Z){return u.concat("(?!",Z.join("|"),")")}const Se={match:u.concat(/\b/,me([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},de={begin:u.concat(/\./,u.lookahead(u.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:/\(\)/},$]},Me="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",ke={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Me)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[$]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),W,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,w,A,I,C,B,{match:/\$\d+/},S,F,{className:"attr",begin:f+u.lookahead(":"),relevance:0},ke,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,d.REGEXP_MODE,{className:"function",begin:Me,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},ne,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[$,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},de,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[$]},Se,le,q,Ee,{match:/\$[(.]/}]}}return qh=c,qh}var $h,PT;function SYe(){if(PT)return $h;PT=1;function n(e){const s={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},i={className:"function",begin:/:[\w\-.]+/,relevance:0},r={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,o,i,r,s]}}return $h=n,$h}var Yh,FT;function TYe(){if(FT)return Yh;FT=1;function n(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],r={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",keywords:{literal:i},contains:[t,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Yh=n,Yh}var Wh,UT;function xYe(){if(UT)return Wh;UT=1;function n(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",o={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:o,illegal:/<\//},c={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},d={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},u={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},h={className:"variable",begin:"\\$"+t},f={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},m={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],begin:"`",end:"`"},_={className:"meta",begin:"@"+t},g={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return a.name="Julia",a.contains=[c,d,f,m,_,g,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],u.contains=a.contains,a}return Wh=n,Wh}var Kh,BT;function CYe(){if(BT)return Kh;BT=1;function n(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Kh=n,Kh}var jh,GT;function wYe(){if(GT)return jh;GT=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(r){const o={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+/}]}},c={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},d={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,d]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,d]}]};d.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},m={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},_=s,g=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},E=b;return E.variants[1].contains=[b],b.variants[1].contains=[E],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,g,a,c,f,m,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,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:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,r.C_LINE_COMMENT_MODE,g],relevance:0},r.C_LINE_COMMENT_MODE,g,f,m,h,r.C_NUMBER_MODE]},g]},{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,m]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},_]}}return jh=i,jh}var Qh,VT;function RYe(){if(VT)return Qh;VT=1;function n(e){const t="[a-zA-Z_][\\w.]*",s="<\\?(lasso(script)?|=)",i="\\]|\\?>",r={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},c={className:"meta",begin:"\\[/noprocess|"+s},d={className:"symbol",begin:"'"+t+"'"},u=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[d]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[|"+s,returnEnd:!0,relevance:0,contains:[o]}},a,c,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:r,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[noprocess\\]|"+s,returnEnd:!0,contains:[o]}},a,c].concat(u)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(u)}}return Qh=n,Qh}var Xh,zT;function AYe(){if(zT)return Xh;zT=1;function n(e){const s=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(B=>B+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(B=>B+"(?![a-zA-Z:_])").join("|")),r=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:s},{endsParent:!0,begin:i},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:r}]},c={className:"params",relevance:0,begin:/#+\d?/},d={variants:o},u={className:"built_in",relevance:0,begin:/[$&^_]/},h={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},f=e.COMMENT("%","$",{relevance:0}),m=[a,c,d,u,h,f],_={begin:/\{/,end:/\}/,relevance:0,contains:["self",...m]},g=e.inherit(_,{relevance:0,endsParent:!0,contains:[_,...m]}),b={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[_,...m]},E={begin:/\s+/,relevance:0},y=[g],v=[b],S=function(B,H){return{contains:[E],starts:{relevance:0,contains:B,starts:H}}},R=function(B,H){return{begin:"\\\\"+B+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+B},relevance:0,contains:[E],starts:H}},w=function(B,H){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+B+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},S(y,H))},A=(B="string")=>e.END_SAME_AS_BEGIN({className:B,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),I=function(B){return{className:"string",end:"(?=\\\\end\\{"+B+"\\})"}},C=(B="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:B,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(B=>R(B,{contains:[A()]})),R("mint",S(y,{contains:[A()]})),R("mintinline",S(y,{contains:[C(),A()]})),R("url",{contains:[C("link"),C("link")]}),R("hyperref",{contains:[C("link")]}),R("href",S(v,{contains:[C("link")]})),...[].concat(...["","\\*"].map(B=>[w("verbatim"+B,I("verbatim"+B)),w("filecontents"+B,S(y,I("filecontents"+B))),...["","B","L"].map(H=>w(H+"Verbatim"+B,S(v,I(H+"Verbatim"+B))))])),w("minted",S(v,S(y,I("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...m]}}return Xh=n,Xh}var Zh,HT;function NYe(){if(HT)return Zh;HT=1;function n(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Zh=n,Zh}var Jh,qT;function OYe(){if(qT)return Jh;qT=1;function n(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,i={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},r={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[i]};return i.contains.unshift(r),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[i]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return Jh=n,Jh}var ef,$T;function MYe(){if($T)return ef;$T=1;const n=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.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:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.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"],t=["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"],i=["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(),o=s.concat(i);function a(c){const d=n(c),u=o,h="and or not only",f="[\\w-]+",m="("+f+"|@\\{"+f+"\\})",_=[],g=[],b=function(B){return{className:"string",begin:"~?"+B+".*?"+B}},E=function(B,H,te){return{className:B,begin:H,relevance:te}},y={$pattern:/[a-z-]+/,keyword:h,attribute:t.join(" ")},v={begin:"\\(",end:"\\)",contains:g,keywords:y,relevance:0};g.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,b("'"),b('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,v,E("variable","@@?"+f,10),E("variable","@\\{"+f+"\\}"),E("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const S=g.concat({begin:/\{/,end:/\}/,contains:_}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(g)},w={begin:m+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:g}}]},A={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:g,relevance:0}},I={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:S}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:m,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,R,E("keyword","all\\b"),E("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,E("selector-tag",m,0),E("selector-id","#"+m),E("selector-class","\\."+m,0),E("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:S},{begin:"!important"},d.FUNCTION_DISPATCH]},O={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[C]};return _.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,A,I,O,w,C,R,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:_}}return ef=a,ef}var tf,YT;function IYe(){if(YT)return tf;YT=1;function n(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",s="\\|[^]*?\\|",i="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",r={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:i,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+i+" +"+i,end:"\\)"}]},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),d={begin:"\\*",end:"\\*"},u={className:"symbol",begin:"[:&]"+t},h={begin:t,relevance:0},f={begin:s},_={contains:[o,a,d,u,{begin:"\\(",end:"\\)",contains:["self",r,a,o,h]},h],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+s}]},g={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},b={begin:"\\(\\s*",end:"\\)"},E={endsWithParent:!0,relevance:0};return b.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:s}]},E],E.contains=[_,g,b,r,o,a,c,d,u,f,h],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),r,a,c,_,g,b,h]}}return tf=n,tf}var nf,WT;function kYe(){if(WT)return nf;WT=1;function n(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},s=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],i=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),r=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[r,i],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i].concat(s),illegal:";$|^\\[|^=|&|\\{"}}return nf=n,nf}var sf,KT;function DYe(){if(KT)return sf;KT=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],r=[].concat(i,t,s);function o(a){const c=["npm","print"],d=["yes","no","on","off","it","that","void"],u=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],h={keyword:n.concat(u),literal:e.concat(d),built_in:r.concat(c)},f="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",m=a.inherit(a.TITLE_MODE,{begin:f}),_={className:"subst",begin:/#\{/,end:/\}/,keywords:h},g={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:h},b=[a.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,_,g]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,_,g]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[_,a.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+f},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];_.contains=b;const E={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:h,contains:["self"].concat(b)}]},y={begin:"(#=>|=>|\\|>>|-?->|!->)"},v={variants:[{match:[/class\s+/,f,/\s+extends\s+/,f]},{match:[/class\s+/,f]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:h};return{name:"LiveScript",aliases:["ls"],keywords:h,illegal:/\/\*/,contains:b.concat([a.COMMENT("\\/\\*","\\*\\/"),a.HASH_COMMENT_MODE,y,{className:"function",contains:[m,E],returnBegin:!0,variants:[{begin:"("+f+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+f+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+f+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},v,{begin:f+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return sf=o,sf}var rf,jT;function LYe(){if(jT)return rf;jT=1;function n(e){const t=e.regex,s=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},r={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},c={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},d={className:"variable",variants:[{begin:t.concat(/%/,s)},{begin:/%\d+/},{begin:/#\d+/}]},u={className:"title",variants:[{begin:t.concat(/@/,s)},{begin:/@\d+/},{begin:t.concat(/!/,s)},{begin:t.concat(/!\d+/,s)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},u,o,r,d,c,a]}}return rf=n,rf}var of,QT;function PYe(){if(QT)return of;QT=1;function n(e){const s={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},i={className:"number",relevance:0,begin:e.C_NUMBER_RE},r={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[s,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},i,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,r,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return of=n,of}var af,XT;function FYe(){if(XT)return af;XT=1;function n(e){const t="\\[=*\\[",s="\\]=*\\]",i={begin:t,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,s,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:s,contains:[i],relevance:5}])}}return af=n,af}var lf,ZT;function UYe(){if(ZT)return lf;ZT=1;function n(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{g.has(A[0])||I.ignoreMatch()}},{className:"symbol",relevance:0,begin:_}]},E={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},y={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},v={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},S={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},R={className:"brace",relevance:0,begin:/[[\](){}]/},w={className:"message-name",relevance:0,begin:s.concat("::",_)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),v,S,w,b,E,t.QUOTE_STRING_MODE,m,y,R]}}return cf=e,cf}var df,ex;function GYe(){if(ex)return df;ex=1;function n(e){const t="('|\\.')+",s={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:s},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:s},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:s},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:s},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return df=n,df}var uf,tx;function VYe(){if(tx)return uf;tx=1;function n(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return uf=n,uf}var pf,nx;function zYe(){if(nx)return pf;nx=1;function n(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},s,e.C_BLOCK_COMMENT_MODE,i,e.NUMBER_MODE,r,o,{begin:/:-/},{begin:/\.$/}]}}return _f=n,_f}var hf,ix;function qYe(){if(ix)return hf;ix=1;function n(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return hf=n,hf}var ff,rx;function $Ye(){if(rx)return ff;rx=1;function n(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return ff=n,ff}var mf,ox;function YYe(){if(ox)return mf;ox=1;function n(e){const t=e.regex,s=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:s.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},c={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},d=[e.BACKSLASH_ESCAPE,o,c],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(_,g,b="\\1")=>{const E=b==="\\1"?b:t.concat(b,g);return t.concat(t.concat("(?:",_,")"),g,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,b,i)},f=(_,g,b)=>t.concat(t.concat("(?:",_,")"),g,/(?:\\.|[^\\\/])*?/,b,i),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",t.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=m,a.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:m}}return mf=n,mf}var gf,ax;function WYe(){if(ax)return gf;ax=1;function n(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return gf=n,gf}var bf,lx;function KYe(){if(lx)return bf;lx=1;function n(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},s={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},i={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),s,i,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return bf=n,bf}var Ef,cx;function jYe(){if(cx)return Ef;cx=1;function n(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},s="[A-Za-z$_][0-9A-Za-z$_]*",i={className:"subst",begin:/#\{/,end:/\}/,keywords:t},r=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];i.contains=r;const o=e.inherit(e.TITLE_MODE,{begin:s}),a="(\\(.*\\)\\s*)?\\B[-=]>",c={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(r)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:r.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,c]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[c]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Ef=n,Ef}var yf,dx;function QYe(){if(dx)return yf;dx=1;function n(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return yf=n,yf}var vf,ux;function XYe(){if(ux)return vf;ux=1;function n(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},s={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},i={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},r={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),r,i,t,s]}}return vf=n,vf}var Sf,px;function ZYe(){if(px)return Sf;px=1;function n(e){const t=e.regex,s={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[s]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},s]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Sf=n,Sf}var Tf,_x;function JYe(){if(_x)return Tf;_x=1;function n(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return Tf=n,Tf}var xf,hx;function eWe(){if(hx)return xf;hx=1;function n(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},s={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},i={className:"char.escape",begin:/''\$/},r={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[i,s],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,r];return s.contains=a,{name:"Nix",aliases:["nixos"],keywords:t,contains:a}}return xf=n,xf}var Cf,fx;function tWe(){if(fx)return Cf;fx=1;function n(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Cf=n,Cf}var wf,mx;function nWe(){if(mx)return wf;mx=1;function n(e){const t=e.regex,s=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],i=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],r=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...s))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},c={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},d={className:"variable",begin:/\$+\([\w^.:!-]+\)/},u={className:"params",begin:t.either(...i)},h={className:"keyword",begin:t.concat(/!/,t.either(...r))},f={className:"char.escape",begin:/\$(\\[nrt]|\$)/},m={className:"title.function",begin:/\w+::\w+/},_={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[f,o,a,c,d]},g=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],b=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],E={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},v={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:g,literal:b},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),v,E,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},_,h,a,c,d,u,m,e.NUMBER_MODE]}}return wf=n,wf}var Rf,gx;function sWe(){if(gx)return Rf;gx=1;function n(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,c={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},d={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:c,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+d.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Rf=n,Rf}var Af,bx;function iWe(){if(bx)return Af;bx=1;function n(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return Af=n,Af}var Nf,Ex;function rWe(){if(Ex)return Nf;Ex=1;function n(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},s={className:"literal",begin:"false|true|PI|undef"},i={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",i,r,t,s]},c={begin:"[*!#%]",relevance:0},d={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,r,t,c,d]}}return Nf=n,Nf}var Of,yx;function oWe(){if(yx)return Of;yx=1;function n(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},s=e.COMMENT(/\{/,/\}/,{relevance:0}),i=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),r={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[r,o]},s,i]},c={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[s,i,e.C_LINE_COMMENT_MODE,r,o,e.NUMBER_MODE,a,c]}}return Of=n,Of}var Mf,vx;function aWe(){if(vx)return Mf;vx=1;function n(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return Mf=n,Mf}var If,Sx;function lWe(){if(Sx)return If;Sx=1;function n(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},s={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,s]}}return If=n,If}var kf,Tx;function cWe(){if(Tx)return kf;Tx=1;function n(e){const t=e.COMMENT("--","$"),s="[a-zA-Z_][a-zA-Z_0-9$]*",i="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",r="<<\\s*"+s+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",c="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",d="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",u=d.trim().split(" ").map(function(b){return b.split("|")[0]}).join("|"),h="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",f="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",m="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",g="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(b){return b.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+c+a,built_in:h+f+m},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+g+")\\s*\\("},{begin:"\\.("+u+")\\b"},{begin:"\\b("+u+")\\s+PATH\\b",keywords:{keyword:"PATH",type:d.replace("PATH ","")}},{className:"type",begin:"\\b("+u+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:i,end:i,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:r,relevance:10}]}}return kf=n,kf}var Df,xx;function dWe(){if(xx)return Df;xx=1;function n(e){const t=e.regex,s=/(?![A-Za-z0-9])(?![$])/,i=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),o={scope:"variable",match:"\\$+"+i},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},d=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(k,$)=>{$.data._beginMatch=k[1]||k[2]},"on:end":(k,$)=>{$.data._beginMatch!==k[1]&&$.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),m=`[ -]`,_={scope:"string",variants:[u,d,h,f]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},b=["false","null","true"],E=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],y=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],S={keyword:E,literal:(k=>{const $=[];return k.forEach(q=>{$.push(q),q.toLowerCase()===q?$.push(q.toUpperCase()):$.push(q.toLowerCase())}),$})(b),built_in:y},R=k=>k.map($=>$.replace(/\|\d+$/,"")),w={variants:[{match:[/new/,t.concat(m,"+"),t.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},A=t.concat(i,"\\b(?!\\()"),I={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),A],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,t.concat(/::/,t.lookahead(/(?!class\b)/)),A],scope:{1:"title.class",3:"variable.constant"}},{match:[r,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},C={scope:"attr",match:t.concat(i,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:S,contains:[C,o,I,e.C_BLOCK_COMMENT_MODE,_,g,w]},B={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",R(E).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),i,t.concat(m,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(B);const H=[C,I,e.C_BLOCK_COMMENT_MODE,_,g,w],te={begin:t.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:b,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:b,keyword:["new","array"]},contains:["self",...H]},...H,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:S,contains:[te,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},o,B,I,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},w,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:S,contains:["self",o,I,e.C_BLOCK_COMMENT_MODE,_,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},_,g]}}return Df=n,Df}var Lf,Cx;function uWe(){if(Cx)return Lf;Cx=1;function n(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Lf=n,Lf}var Pf,wx;function pWe(){if(wx)return Pf;wx=1;function n(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Pf=n,Pf}var Ff,Rx;function _We(){if(Rx)return Ff;Rx=1;function n(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},s={className:"string",begin:'"""',end:'"""',relevance:10},i={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},r={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,s,i,r,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Ff=n,Ff}var Uf,Ax;function hWe(){if(Ax)return Uf;Ax=1;function n(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],s="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",i="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",r={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},c={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},d={className:"literal",begin:/\$(null|true|false)\b/},u={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,c,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},h={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},f={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},m=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[f]}),_={className:"built_in",variants:[{begin:"(".concat(s,")+(-)[\\w\\d]+")}]},g={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},b={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[c]}]},E={begin:/using\s/,end:/$/,returnBegin:!0,contains:[u,h,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},y={variants:[{className:"operator",begin:"(".concat(i,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},v={className:"selector-tag",begin:/@\B/,relevance:0},S={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(r.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},R=[S,m,a,e.NUMBER_MODE,u,h,_,c,d,v],w={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",R,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return S.contains.unshift(w),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:r,contains:R.concat(g,b,E,y,w)}}return Uf=n,Uf}var Bf,Nx;function fWe(){if(Nx)return Bf;Nx=1;function n(e){const t=e.regex,s=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],i=e.IDENT_RE,r={variants:[{match:t.concat(t.either(...s),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,i,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,i],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,i],className:{2:"property"}},c={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,i]},{match:[/class/,/\s+/,i]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},d=["boolean","byte","char","color","double","float","int","long","short"],u=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...s,...u],type:d},contains:[c,o,r,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Bf=n,Bf}var Gf,Ox;function mWe(){if(Ox)return Gf;Ox=1;function n(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Gf=n,Gf}var Vf,Mx;function gWe(){if(Mx)return Vf;Mx=1;function n(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},s={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},i={begin:/\(/,end:/\)/,relevance:0},r={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},c={className:"string",begin:/0'(\\'|.)/},d={className:"string",begin:/0'\\s/},h=[t,s,i,{begin:/:-/},r,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,c,d,e.C_NUMBER_MODE];return i.contains=h,r.contains=h,{name:"Prolog",contains:h.concat([{begin:/\.$/}])}}return Vf=n,Vf}var zf,Ix;function bWe(){if(Ix)return zf;Ix=1;function n(e){const t="[ \\t\\f]*",s="[ \\t\\f]+",i=t+"[:=]"+t,r=s,o="("+i+"|"+r+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",c={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+i},{begin:a+r}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:c},{className:"attr",begin:a+t+"$"}]}}return zf=n,zf}var Hf,kx;function EWe(){if(kx)return Hf;kx=1;function n(e){const t=["package","import","option","optional","required","repeated","group","oneof"],s=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:s,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return Hf=n,Hf}var qf,Dx;function yWe(){if(Dx)return qf;Dx=1;function n(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},s=e.COMMENT("#","$"),i="([A-Za-z_]|::)(\\w|::)*",r=e.inherit(e.TITLE_MODE,{begin:i}),o={className:"variable",begin:"\\$"+i},a={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[s,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[r,s]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[a,s,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return qf=n,qf}var $f,Lx;function vWe(){if(Lx)return $f;Lx=1;function n(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},s={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,s]}}return $f=n,$f}var Yf,Px;function SWe(){if(Px)return Yf;Px=1;function n(e){const t=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],c={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:c,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m="[0-9](_?[0-9])*",_=`(\\b(${m}))?\\.(${m})|\\b(${m})\\.`,g=`\\b|${i.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${m})|(${_}))[eE][+-]?(${m})[jJ]?(?=${g})`},{begin:`(${_})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${m})[jJ](?=${g})`}]},E={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},y={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",d,b,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,b,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:c,illegal:/(<\/|\?)|=>/,contains:[d,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,E,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,y,f]}]}}return Yf=n,Yf}var Wf,Fx;function TWe(){if(Fx)return Wf;Fx=1;function n(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Wf=n,Wf}var Kf,Ux;function xWe(){if(Ux)return Kf;Ux=1;function n(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Kf=n,Kf}var jf,Bx;function CWe(){if(Bx)return jf;Bx=1;function n(e){const t=e.regex,s={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",r={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},c={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},d={begin:t.concat(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:s,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,r,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,c,d],illegal:/#/}}return jf=n,jf}var Qf,Gx;function wWe(){if(Gx)return Qf;Gx=1;function n(e){const t=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[o,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Qf=n,Qf}var Xf,Vx;function RWe(){if(Vx)return Xf;Vx=1;function n(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return Xf=n,Xf}var Zf,zx;function AWe(){if(zx)return Zf;zx=1;function n(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),c,d,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[c,d,a,{className:"literal",begin:"\\b("+r.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+i.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return em=n,em}var tm,$x;function MWe(){if($x)return tm;$x=1;function n(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],s=["matrix","float","color","point","normal","vector"],i=["while","for","if","do","return","else","break","extern","continue"],r={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:i,built_in:t,type:s},illegal:""},s]}}return sm=n,sm}var im,Kx;function DWe(){if(Kx)return im;Kx=1;function n(e){const t=e.regex,s=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],i=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],r=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:s},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...r)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...i)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return im=n,im}var rm,jx;function LWe(){if(jx)return rm;jx=1;function n(e){const t=e.regex,s={className:"meta",begin:"@[A-Za-z]+"},i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},r={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[i],relevance:10}]},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},c={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a]},d={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[a]},u={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},h={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},f=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],m={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,o,d,c,e.C_NUMBER_MODE,u,h,...f,m,s]}}return rm=n,rm}var om,Qx;function PWe(){if(Qx)return om;Qx=1;function n(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",s="(-|\\+)?\\d+([./]\\d+)?",i=s+"[+\\-]"+s+"i",r={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:s,relevance:0},{begin:i,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},c=e.QUOTE_STRING_MODE,d=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],u={begin:t,relevance:0},h={className:"symbol",begin:"'"+t},f={endsWithParent:!0,relevance:0},m={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,c,a,u,h]}]},_={className:"name",relevance:0,begin:t,keywords:r},b={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[_,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[u]}]},_,f]};return f.contains=[o,a,c,u,h,m,b].concat(d),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),a,c,h,m,b].concat(d)}}return om=n,om}var am,Xx;function FWe(){if(Xx)return am;Xx=1;function n(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}return am=n,am}var lm,Zx;function UWe(){if(Zx)return lm;Zx=1;const n=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"],t=["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"],i=["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 o(a){const c=n(a),d=i,u=s,h="@[a-z-]+",f="and or not only",_={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,c.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},_,{begin:/\(/,end:/\)/,contains:[c.CSS_NUMBER_MODE]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[c.BLOCK_COMMENT,_,c.HEXCOLOR,c.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,c.IMPORTANT,c.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:t.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},_,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,c.HEXCOLOR,c.CSS_NUMBER_MODE]},c.FUNCTION_DISPATCH]}}return lm=o,lm}var cm,Jx;function BWe(){if(Jx)return cm;Jx=1;function n(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return cm=n,cm}var dm,e1;function GWe(){if(e1)return dm;e1=1;function n(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],s=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],i=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+i.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+s.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return dm=n,dm}var um,t1;function VWe(){if(t1)return um;t1=1;function n(e){const t="[a-z][a-zA-Z0-9_]*",s={className:"string",begin:"\\$.{1}"},i={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,i,s,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,s,e.C_NUMBER_MODE,i]}]}}return um=n,um}var pm,n1;function zWe(){if(n1)return pm;n1=1;function n(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return pm=n,pm}var _m,s1;function HWe(){if(s1)return _m;s1=1;function n(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},s={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},i={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},r=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:r,built_in:a,literal:o},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,s,i,c],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return _m=n,_m}var hm,i1;function qWe(){if(i1)return hm;i1=1;function n(e){const t=e.regex,s=e.COMMENT("--","$"),i={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],c=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],d=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],m=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],_=h,g=[...u,...d].filter(S=>!h.includes(S)),b={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:t.concat(/\b/,t.either(..._),/\s*\(/),relevance:0,keywords:{built_in:_}};function v(S,{exceptions:R,when:w}={}){const A=w;return R=R||[],S.map(I=>I.match(/\|\d+$/)||R.includes(I)?I:A(I)?`${I}|0`:I)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:v(g,{when:S=>S.length<3}),literal:o,type:c,built_in:f},contains:[{begin:t.either(...m),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(m),literal:o,type:c}},{className:"type",begin:t.either(...a)},y,b,i,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,E]}}return hm=n,hm}var fm,r1;function $We(){if(r1)return fm;r1=1;function n(e){const t=e.regex,s=["functions","model","data","parameters","quantities","transformed","generated"],i=["for","in","if","else","while","break","continue","return"],r=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],c=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),d={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},u=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:s,type:r,keyword:i,built_in:o},contains:[e.C_LINE_COMMENT_MODE,d,e.HASH_COMMENT_MODE,c,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...u),/\s*=/),keywords:u},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return fm=n,fm}var mm,o1;function YWe(){if(o1)return mm;o1=1;function n(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r +`})))});function WS(n,e,t,s){var i=n,r=s;if(t&&Object.prototype.hasOwnProperty.call(e,i))throw new Error("User defined `id` attribute `"+n+"` is not unique. Please fix it in your Markdown to continue.");for(;Object.prototype.hasOwnProperty.call(e,i);)i=n+"-"+r,r+=1;return e[i]=!0,i}function Yo(n,e){e=Object.assign({},Yo.defaults,e),n.core.ruler.push("anchor",function(t){for(var s,i={},r=t.tokens,o=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;a0&&!(t&i&&this.__match_alphabets__[i].call(this,s,t,i));i>>=4);if(this.__actions__(s,t,i),i===0)break;t=this.__transitions__[t][i]||0}return!!this.__accept_states__[t]};var O7e=Hi,I7e=O7e,M7e=function(e,t){var s={multiline:!1,rowspan:!1,headerless:!1,multibody:!0,autolabel:!0};t=e.utils.assign({},s,t||{});function i(u,h){var f=u.bMarks[h]+u.sCount[h],m=u.bMarks[h]+u.blkIndent,_=u.skipSpacesBack(u.eMarks[h],m),g=[],b,E,y=!1,v=!1,S=0;for(b=f;b<_;b++)switch(u.src.charCodeAt(b)){case 92:y=!0;break;case 96:E=u.skipChars(b,96)-1,E>b?(v||(S===0?S=E-b:S===E-b&&(S=0)),b=E):(v||!y&&!S)&&(v=!v),y=!1;break;case 124:!v&&!y&&g.push(b),y=!1;break;default:y=!1;break}return g.length===0||(g[0]>m&&g.unshift(m-1),g[g.length-1]<_-1&&g.push(_)),g}function r(u,h,f){var m={text:null,label:null},_=u.bMarks[f]+u.sCount[f],g=u.eMarks[f],b=/^\[(.+?)\](\[([^\[\]]+)\])?\s*$/,E=u.src.slice(_,g).match(b);return E?h?!0:(m.text=E[1],!t.autolabel&&!E[2]||(m.label=E[2]||E[1],m.label=m.label.toLowerCase().replace(/\W+/g,"")),m):!1}function o(u,h,f){var m={bounds:null,multiline:null},_=i(u,f),g,b,E;return _.length<2?!1:h?!0:(m.bounds=_,t.multiline&&(g=u.bMarks[f]+u.sCount[f],b=u.eMarks[f]-1,m.multiline=u.src.charCodeAt(b)===92,m.multiline&&(E=u.eMarks[f],u.eMarks[f]=u.skipSpacesBack(b,g),m.bounds=i(u,f),u.eMarks[f]=E)),m)}function a(u,h,f){var m={aligns:[],wraps:[]},_=i(u,f),g=/^:?(-+|=+):?\+?$/,b,E,y;if(u.sCount[f]-u.blkIndent>=4||_.length===0)return!1;for(b=0;b<_.length-1;b++){if(E=u.src.slice(_[b]+1,_[b+1]).trim(),!g.test(E))return!1;switch(m.wraps.push(E.charCodeAt(E.length-1)===43),y=(E.charCodeAt(0)===58)<<4|E.charCodeAt(E.length-1-m.wraps[b])===58,y){case 0:m.aligns.push("");break;case 1:m.aligns.push("right");break;case 16:m.aligns.push("left");break;case 17:m.aligns.push("center");break}}return h?!0:m}function c(u,h,f){return u.isEmpty(f)}function d(u,h,f,m){var _=new I7e,g=16,b=-1,E,y,v,S,R,w,A=[],M,x,O,B,H,te,k,$,q,F;if(h+2>f||(y=new u.Token("table_open","table",1),y.meta={sep:null,cap:null,tr:[]},_.set_highest_alphabet(65536),_.set_initial_state(65792),_.set_accept_states([65552,65553,0]),_.set_match_alphabets({65536:r.bind(this,u,!0),4096:a.bind(this,u,!0),256:o.bind(this,u,!0),16:o.bind(this,u,!0),1:c.bind(this,u,!0)}),_.set_transitions({65792:{65536:256,256:4352},256:{256:4352},4352:{4096:65552,256:4352},65552:{65536:0,16:65553},65553:{65536:0,16:65553,1:65552}}),t.headerless&&(_.set_initial_state(69888),_.update_transition(69888,{65536:4352,4096:65552,256:4352}),v=new u.Token("tr_placeholder","tr",0),v.meta=Object()),t.multibody||_.update_transition(65552,{65536:0,16:65552}),_.set_actions(function(le,me,Se){switch(Se){case 65536:if(y.meta.cap)break;y.meta.cap=r(u,!1,le),y.meta.cap.map=[le,le+1],y.meta.cap.first=le===h;break;case 4096:y.meta.sep=a(u,!1,le),y.meta.sep.map=[le,le+1],v.meta.grp|=1,g=16;break;case 256:case 16:v=new u.Token("tr_open","tr",1),v.map=[le,le+1],v.meta=o(u,!1,le),v.meta.type=Se,v.meta.grp=g,g=0,y.meta.tr.push(v),t.multiline&&(v.meta.multiline&&b<0?b=y.meta.tr.length-1:!v.meta.multiline&&b>=0&&(E=y.meta.tr[b],E.meta.mbounds=y.meta.tr.slice(b).map(function(de){return de.meta.bounds}),E.map[1]=v.map[1],y.meta.tr=y.meta.tr.slice(0,b+1),b=-1));break;case 1:v.meta.grp|=1,g=16;break}}),_.execute(h,f)===!1)||!y.meta.tr.length)return!1;if(m)return!0;if(y.meta.tr[y.meta.tr.length-1].meta.grp|=1,y.map=M=[h,0],y.block=!0,y.level=u.level++,u.tokens.push(y),y.meta.cap){E=u.push("caption_open","caption",1),E.map=y.meta.cap.map;var W=[],ne=y.meta.cap.first?"top":"bottom";y.meta.cap.label!==null&&W.push(["id",y.meta.cap.label]),ne!=="top"&&W.push(["style","caption-side: "+ne]),E.attrs=W,E=u.push("inline","",0),E.content=y.meta.cap.text,E.map=y.meta.cap.map,E.children=[],E=u.push("caption_close","caption",-1)}for(te=0;tev.meta.mbounds[$].length-2||(H=[v.meta.mbounds[$][k]+1,v.meta.mbounds[$][k+1]],B.push(u.src.slice.apply(u.src,H).trimRight()));for(F=new u.md.block.State(B.join(` +`),u.md,u.env,[]),F.level=v.level+1,u.md.block.tokenize(F,v.map[0],F.lineMax),q=0;qf.match(h))}t.tabindex==!0&&(i.tokens[o-1].attrPush(["tabindex",r]),r++),t.lazyLoading==!0&&u.attrPush(["loading","lazy"])}}}e.core.ruler.before("linkify","implicit_figures",s)};const L7e=Tr(D7e);var xr={};xr.getAttrs=function(n,e,t){const s=/[^\t\n\f />"'=]/,i=" ",r="=",o=".",a="#",c=[];let d="",u="",h=!0,f=!1;for(let m=e+t.leftDelimiter.length;m=s+1:u.length>=s}let r,o,a,c;const d=s-e.rightDelimiter.length;switch(n){case"start":a=t.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,o=r===-1?-1:t.indexOf(e.rightDelimiter,d),c=t.charAt(o+e.rightDelimiter.length),c&&e.rightDelimiter.indexOf(c)!==-1&&(o=-1);break;case"end":r=t.lastIndexOf(e.leftDelimiter),o=r===-1?-1:t.indexOf(e.rightDelimiter,r+d),o=o===t.length-e.rightDelimiter.length?o:-1;break;case"only":a=t.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=t.slice(t.length-e.rightDelimiter.length),o=a===e.rightDelimiter?t.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${n}, expected 'start', 'end' or 'only'`)}return r!==-1&&o!==-1&&i(t.substring(r,o+e.rightDelimiter.length))}};xr.removeDelimiter=function(n,e){const t=nb(e.leftDelimiter),s=nb(e.rightDelimiter),i=new RegExp("[ \\n]?"+t+"[^"+t+s+"]+"+s+"$"),r=n.search(i);return r!==-1?n.slice(0,r):n};function nb(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}xr.escapeRegExp=nb;xr.getMatchingOpeningToken=function(n,e){if(n[e].type==="softbreak")return!1;if(n[e].nesting===0)return n[e];const t=n[e].level,s=n[e].type.replace("_close","_open");for(;e>=0;--e)if(n[e].type===s&&n[e].level===t)return n[e];return!1};const P7e=/[&<>"]/,F7e=/[&<>"]/g,U7e={"&":"&","<":"<",">":">",'"':"""};function B7e(n){return U7e[n]}xr.escapeHtml=function(n){return P7e.test(n)?n.replace(F7e,B7e):n};const Ct=xr;var G7e=n=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Ct.escapeRegExp(n.leftDelimiter)+"[^"+Ct.escapeRegExp(n.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Ct.hasDelimiters("end",n)}],transform:(t,s)=>{const i=t[s],r=i.info.lastIndexOf(n.leftDelimiter),o=Ct.getAttrs(i.info,r,n);Ct.addAttrs(o,i),i.info=Ct.removeDelimiter(i.info,n)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:t=>t==="image"||t==="code_inline"},{shift:0,type:"text",content:Ct.hasDelimiters("start",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content.indexOf(n.rightDelimiter),a=t[s].children[i-1],c=Ct.getAttrs(r.content,0,n);Ct.addAttrs(c,a),r.content.length===o+n.rightDelimiter.length?t[s].children.splice(i,1):r.content=r.content.slice(o+n.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Ct.hasDelimiters("only",n)}],transform:(t,s)=>{const i=t[s+2],r=Ct.getMatchingOpeningToken(t,s),o=Ct.getAttrs(i.content,0,n);Ct.addAttrs(o,r),t.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Ct.hasDelimiters("start",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content,a=Ct.getAttrs(o,0,n),c=Ct.getMatchingOpeningToken(t[s].children,i-1);Ct.addAttrs(a,c),r.content=o.slice(o.indexOf(n.rightDelimiter)+n.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Ct.hasDelimiters("only",n)}]}],transform:(t,s,i)=>{const o=t[s].children[i].content,a=Ct.getAttrs(o,0,n);let c=s-2;for(;t[c-1]&&t[c-1].type!=="ordered_list_open"&&t[c-1].type!=="bullet_list_open";)c--;Ct.addAttrs(a,t[c-1]),t[s].children=t[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:t=>t==="bullet_list_close"||t==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Ct.hasDelimiters("only",n),children:t=>t.length===1},{shift:3,type:"paragraph_close"}],transform:(t,s)=>{const r=t[s+2].content,o=Ct.getAttrs(r,0,n),a=Ct.getMatchingOpeningToken(t,s);Ct.addAttrs(o,a),t.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Ct.hasDelimiters("end",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content,a=Ct.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);Ct.addAttrs(a,t[s-2]);const c=o.slice(0,o.lastIndexOf(n.leftDelimiter));r.content=KS(c)!==" "?c:c.slice(0,-1)}},{name:` +{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Ct.hasDelimiters("only",n)}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=Ct.getAttrs(r.content,0,n);let a=s+1;for(;t[a+1]&&t[a+1].nesting===-1;)a++;const c=Ct.getMatchingOpeningToken(t,a);Ct.addAttrs(o,c),t[s].children=t[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:t=>t.length===1,content:t=>t.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(t,s)=>{const i=t[s];i.type="hr",i.tag="hr",i.nesting=0;const r=t[s+1].content,o=r.lastIndexOf(n.leftDelimiter),a=Ct.getAttrs(r,o,n);Ct.addAttrs(a,i),i.markup=r,t.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Ct.hasDelimiters("end",n),type:t=>t!=="code_inline"&&t!=="math_inline"}]}],transform:(t,s,i)=>{const r=t[s].children[i],o=r.content,a=Ct.getAttrs(o,o.lastIndexOf(n.leftDelimiter),n);let c=s+1;for(;t[c+1]&&t[c+1].nesting===-1;)c++;const d=Ct.getMatchingOpeningToken(t,c);Ct.addAttrs(a,d);const u=o.slice(0,o.lastIndexOf(n.leftDelimiter));r.content=KS(u)!==" "?u:u.slice(0,-1)}}]};function KS(n){return n.slice(-1)[0]}const V7e=G7e,z7e={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var H7e=function(e,t){let s=Object.assign({},z7e);s=Object.assign(s,t);const i=V7e(s);function r(o){const a=o.tokens;for(let c=0;c{const _=sb(a,c,m);return _.j!==null&&(h=_.j),_.match})&&(u.transform(a,c,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&d--)}}e.core.ruler.before("linkify","curly_attributes",r)};function sb(n,e,t){const s={match:!1,j:null},i=t.shift!==void 0?e+t.shift:t.position;if(t.shift!==void 0&&i<0)return s;const r=Y7e(n,i);if(r===void 0)return s;for(const o of Object.keys(t))if(!(o==="shift"||o==="position")){if(r[o]===void 0)return s;if(o==="children"&&q7e(t.children)){if(r.children.length===0)return s;let a;const c=t.children,d=r.children;if(c.every(u=>u.position!==void 0)){if(a=c.every(u=>sb(d,u.position,u).match),a){const u=W7e(c).position;s.j=u>=0?u:d.length+u}}else for(let u=0;usb(d,u,h).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof t[o]){case"boolean":case"number":case"string":if(r[o]!==t[o])return s;break;case"function":if(!t[o](r[o]))return s;break;case"object":if($7e(t[o])){if(t[o].every(c=>c(r[o]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${o}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function q7e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="object")}function $7e(n){return Array.isArray(n)&&n.length&&n.every(e=>typeof e=="function")}function Y7e(n,e){return e>=0?n[e]:n[n.length+e]}function W7e(n){return n.slice(-1)[0]||{}}const K7e=Tr(H7e);function B2(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],s=typeof t;(s==="object"||s==="function")&&!Object.isFrozen(t)&&B2(t)}),n}let jS=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function G2(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function pr(n,...e){const t=Object.create(null);for(const s in n)t[s]=n[s];return e.forEach(function(s){for(const i in s)t[i]=s[i]}),t}const j7e="",QS=n=>!!n.scope,Q7e=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((s,i)=>`${s}${"_".repeat(i+1)}`)].join(" ")}return`${e}${n}`};class X7e{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=G2(e)}openNode(e){if(!QS(e))return;const t=Q7e(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){QS(e)&&(this.buffer+=j7e)}value(){return this.buffer}span(e){this.buffer+=``}}const XS=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class RE{constructor(){this.rootNode=XS(),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 t=XS({scope:e});this.add(t),this.stack.push(t)}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,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(s=>this._walk(e,s)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{RE._collapse(t)}))}}class Z7e extends RE{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const s=e.root;t&&(s.scope=`language:${t}`),this.add(s)}toHTML(){return new X7e(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Zl(n){return n?typeof n=="string"?n:n.source:null}function V2(n){return bo("(?=",n,")")}function J7e(n){return bo("(?:",n,")*")}function eqe(n){return bo("(?:",n,")?")}function bo(...n){return n.map(t=>Zl(t)).join("")}function tqe(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function AE(...n){return"("+(tqe(n).capture?"":"?:")+n.map(s=>Zl(s)).join("|")+")"}function z2(n){return new RegExp(n.toString()+"|").exec("").length-1}function nqe(n,e){const t=n&&n.exec(e);return t&&t.index===0}const sqe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function NE(n,{joinWith:e}){let t=0;return n.map(s=>{t+=1;const i=t;let r=Zl(s),o="";for(;r.length>0;){const a=sqe.exec(r);if(!a){o+=r;break}o+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?o+="\\"+String(Number(a[1])+i):(o+=a[0],a[0]==="("&&t++)}return o}).map(s=>`(${s})`).join(e)}const iqe=/\b\B/,H2="[a-zA-Z]\\w*",OE="[a-zA-Z_]\\w*",q2="\\b\\d+(\\.\\d+)?",$2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Y2="\\b(0b[01]+)",rqe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",oqe=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=bo(e,/.*\b/,n.binary,/\b.*/)),pr({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,s)=>{t.index!==0&&s.ignoreMatch()}},n)},Jl={begin:"\\\\[\\s\\S]",relevance:0},aqe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Jl]},lqe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Jl]},cqe={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/},cp=function(n,e,t={}){const s=pr({scope:"comment",begin:n,end:e,contains:[]},t);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 i=AE("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:bo(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},dqe=cp("//","$"),uqe=cp("/\\*","\\*/"),pqe=cp("#","$"),_qe={scope:"number",begin:q2,relevance:0},hqe={scope:"number",begin:$2,relevance:0},fqe={scope:"number",begin:Y2,relevance:0},mqe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Jl,{begin:/\[/,end:/\]/,relevance:0,contains:[Jl]}]},gqe={scope:"title",begin:H2,relevance:0},bqe={scope:"title",begin:OE,relevance:0},Eqe={begin:"\\.\\s*"+OE,relevance:0},yqe=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var Bc=Object.freeze({__proto__:null,APOS_STRING_MODE:aqe,BACKSLASH_ESCAPE:Jl,BINARY_NUMBER_MODE:fqe,BINARY_NUMBER_RE:Y2,COMMENT:cp,C_BLOCK_COMMENT_MODE:uqe,C_LINE_COMMENT_MODE:dqe,C_NUMBER_MODE:hqe,C_NUMBER_RE:$2,END_SAME_AS_BEGIN:yqe,HASH_COMMENT_MODE:pqe,IDENT_RE:H2,MATCH_NOTHING_RE:iqe,METHOD_GUARD:Eqe,NUMBER_MODE:_qe,NUMBER_RE:q2,PHRASAL_WORDS_MODE:cqe,QUOTE_STRING_MODE:lqe,REGEXP_MODE:mqe,RE_STARTERS_RE:rqe,SHEBANG:oqe,TITLE_MODE:gqe,UNDERSCORE_IDENT_RE:OE,UNDERSCORE_TITLE_MODE:bqe});function vqe(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function Sqe(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function Tqe(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=vqe,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function xqe(n,e){Array.isArray(n.illegal)&&(n.illegal=AE(...n.illegal))}function Cqe(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function wqe(n,e){n.relevance===void 0&&(n.relevance=1)}const Rqe=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(s=>{delete n[s]}),n.keywords=t.keywords,n.begin=bo(t.beforeMatch,V2(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},Aqe=["of","and","for","in","not","or","if","then","parent","list","value"],Nqe="keyword";function W2(n,e,t=Nqe){const s=Object.create(null);return typeof n=="string"?i(t,n.split(" ")):Array.isArray(n)?i(t,n):Object.keys(n).forEach(function(r){Object.assign(s,W2(n[r],e,r))}),s;function i(r,o){e&&(o=o.map(a=>a.toLowerCase())),o.forEach(function(a){const c=a.split("|");s[c[0]]=[r,Oqe(c[0],c[1])]})}}function Oqe(n,e){return e?Number(e):Iqe(n)?0:1}function Iqe(n){return Aqe.includes(n.toLowerCase())}const ZS={},Zr=n=>{console.error(n)},JS=(n,...e)=>{console.log(`WARN: ${n}`,...e)},wo=(n,e)=>{ZS[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),ZS[`${n}/${e}`]=!0)},ou=new Error;function K2(n,e,{key:t}){let s=0;const i=n[t],r={},o={};for(let a=1;a<=e.length;a++)o[a+s]=i[a],r[a+s]=!0,s+=z2(e[a-1]);n[t]=o,n[t]._emit=r,n[t]._multi=!0}function Mqe(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw Zr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ou;if(typeof n.beginScope!="object"||n.beginScope===null)throw Zr("beginScope must be object"),ou;K2(n,n.begin,{key:"beginScope"}),n.begin=NE(n.begin,{joinWith:""})}}function kqe(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw Zr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ou;if(typeof n.endScope!="object"||n.endScope===null)throw Zr("endScope must be object"),ou;K2(n,n.end,{key:"endScope"}),n.end=NE(n.end,{joinWith:""})}}function Dqe(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function Lqe(n){Dqe(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Mqe(n),kqe(n)}function Pqe(n){function e(o,a){return new RegExp(Zl(o),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(a?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,c){c.position=this.position++,this.matchIndexes[this.matchAt]=c,this.regexes.push([c,a]),this.matchAt+=z2(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(c=>c[1]);this.matcherRe=e(NE(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const c=this.matcherRe.exec(a);if(!c)return null;const d=c.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[d];return c.splice(0,d),Object.assign(c,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const c=new t;return this.rules.slice(a).forEach(([d,u])=>c.addRule(d,u)),c.compile(),this.multiRegexes[a]=c,c}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,c){this.rules.push([a,c]),c.type==="begin"&&this.count++}exec(a){const c=this.getMatcher(this.regexIndex);c.lastIndex=this.lastIndex;let d=c.exec(a);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,d=u.exec(a)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function i(o){const a=new s;return o.contains.forEach(c=>a.addRule(c.begin,{rule:c,type:"begin"})),o.terminatorEnd&&a.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&a.addRule(o.illegal,{type:"illegal"}),a}function r(o,a){const c=o;if(o.isCompiled)return c;[Sqe,Cqe,Lqe,Rqe].forEach(u=>u(o,a)),n.compilerExtensions.forEach(u=>u(o,a)),o.__beforeBegin=null,[Tqe,xqe,wqe].forEach(u=>u(o,a)),o.isCompiled=!0;let d=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),d=o.keywords.$pattern,delete o.keywords.$pattern),d=d||/\w+/,o.keywords&&(o.keywords=W2(o.keywords,n.case_insensitive)),c.keywordPatternRe=e(d,!0),a&&(o.begin||(o.begin=/\B|\b/),c.beginRe=e(c.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(c.endRe=e(c.end)),c.terminatorEnd=Zl(c.end)||"",o.endsWithParent&&a.terminatorEnd&&(c.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),o.illegal&&(c.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return Fqe(u==="self"?o:u)})),o.contains.forEach(function(u){r(u,c)}),o.starts&&r(o.starts,a),c.matcher=i(c),c}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=pr(n.classNameAliases||{}),r(n)}function j2(n){return n?n.endsWithParent||j2(n.starts):!1}function Fqe(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return pr(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:j2(n)?pr(n,{starts:n.starts?pr(n.starts):null}):Object.isFrozen(n)?pr(n):n}var Uqe="11.9.0";class Bqe extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const d_=G2,e0=pr,t0=Symbol("nomatch"),Gqe=7,Q2=function(n){const e=Object.create(null),t=Object.create(null),s=[];let i=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",o={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:Z7e};function c(F){return a.noHighlightRe.test(F)}function d(F){let W=F.className+" ";W+=F.parentNode?F.parentNode.className:"";const ne=a.languageDetectRe.exec(W);if(ne){const le=x(ne[1]);return le||(JS(r.replace("{}",ne[1])),JS("Falling back to no-highlight mode for this block.",F)),le?ne[1]:"no-highlight"}return W.split(/\s+/).find(le=>c(le)||x(le))}function u(F,W,ne){let le="",me="";typeof W=="object"?(le=F,ne=W.ignoreIllegals,me=W.language):(wo("10.7.0","highlight(lang, code, ...args) has been deprecated."),wo("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),me=F,le=W),ne===void 0&&(ne=!0);const Se={code:le,language:me};$("before:highlight",Se);const de=Se.result?Se.result:h(Se.language,Se.code,ne);return de.code=Se.code,$("after:highlight",de),de}function h(F,W,ne,le){const me=Object.create(null);function Se(X,se){return X.keywords[se]}function de(){if(!ie.keywords){ge.addText(De);return}let X=0;ie.keywordPatternRe.lastIndex=0;let se=ie.keywordPatternRe.exec(De),Ae="";for(;se;){Ae+=De.substring(X,se.index);const Ce=oe.case_insensitive?se[0].toLowerCase():se[0],Fe=Se(ie,Ce);if(Fe){const[Ze,ft]=Fe;if(ge.addText(Ae),Ae="",me[Ce]=(me[Ce]||0)+1,me[Ce]<=Gqe&&(L+=ft),Ze.startsWith("_"))Ae+=se[0];else{const Ue=oe.classNameAliases[Ze]||Ze;ke(se[0],Ue)}}else Ae+=se[0];X=ie.keywordPatternRe.lastIndex,se=ie.keywordPatternRe.exec(De)}Ae+=De.substring(X),ge.addText(Ae)}function Ee(){if(De==="")return;let X=null;if(typeof ie.subLanguage=="string"){if(!e[ie.subLanguage]){ge.addText(De);return}X=h(ie.subLanguage,De,!0,Re[ie.subLanguage]),Re[ie.subLanguage]=X._top}else X=m(De,ie.subLanguage.length?ie.subLanguage:null);ie.relevance>0&&(L+=X.relevance),ge.__addSublanguage(X._emitter,X.language)}function Ie(){ie.subLanguage!=null?Ee():de(),De=""}function ke(X,se){X!==""&&(ge.startScope(se),ge.addText(X),ge.endScope())}function Z(X,se){let Ae=1;const Ce=se.length-1;for(;Ae<=Ce;){if(!X._emit[Ae]){Ae++;continue}const Fe=oe.classNameAliases[X[Ae]]||X[Ae],Ze=se[Ae];Fe?ke(Ze,Fe):(De=Ze,de(),De=""),Ae++}}function he(X,se){return X.scope&&typeof X.scope=="string"&&ge.openNode(oe.classNameAliases[X.scope]||X.scope),X.beginScope&&(X.beginScope._wrap?(ke(De,oe.classNameAliases[X.beginScope._wrap]||X.beginScope._wrap),De=""):X.beginScope._multi&&(Z(X.beginScope,se),De="")),ie=Object.create(X,{parent:{value:ie}}),ie}function _e(X,se,Ae){let Ce=nqe(X.endRe,Ae);if(Ce){if(X["on:end"]){const Fe=new jS(X);X["on:end"](se,Fe),Fe.isMatchIgnored&&(Ce=!1)}if(Ce){for(;X.endsParent&&X.parent;)X=X.parent;return X}}if(X.endsWithParent)return _e(X.parent,se,Ae)}function we(X){return ie.matcher.regexIndex===0?(De+=X[0],1):(ye=!0,0)}function Pe(X){const se=X[0],Ae=X.rule,Ce=new jS(Ae),Fe=[Ae.__beforeBegin,Ae["on:begin"]];for(const Ze of Fe)if(Ze&&(Ze(X,Ce),Ce.isMatchIgnored))return we(se);return Ae.skip?De+=se:(Ae.excludeBegin&&(De+=se),Ie(),!Ae.returnBegin&&!Ae.excludeBegin&&(De=se)),he(Ae,X),Ae.returnBegin?0:se.length}function N(X){const se=X[0],Ae=W.substring(X.index),Ce=_e(ie,X,Ae);if(!Ce)return t0;const Fe=ie;ie.endScope&&ie.endScope._wrap?(Ie(),ke(se,ie.endScope._wrap)):ie.endScope&&ie.endScope._multi?(Ie(),Z(ie.endScope,X)):Fe.skip?De+=se:(Fe.returnEnd||Fe.excludeEnd||(De+=se),Ie(),Fe.excludeEnd&&(De=se));do ie.scope&&ge.closeNode(),!ie.skip&&!ie.subLanguage&&(L+=ie.relevance),ie=ie.parent;while(ie!==Ce.parent);return Ce.starts&&he(Ce.starts,X),Fe.returnEnd?0:se.length}function z(){const X=[];for(let se=ie;se!==oe;se=se.parent)se.scope&&X.unshift(se.scope);X.forEach(se=>ge.openNode(se))}let Y={};function ce(X,se){const Ae=se&&se[0];if(De+=X,Ae==null)return Ie(),0;if(Y.type==="begin"&&se.type==="end"&&Y.index===se.index&&Ae===""){if(De+=W.slice(se.index,se.index+1),!i){const Ce=new Error(`0 width match regex (${F})`);throw Ce.languageName=F,Ce.badRule=Y.rule,Ce}return 1}if(Y=se,se.type==="begin")return Pe(se);if(se.type==="illegal"&&!ne){const Ce=new Error('Illegal lexeme "'+Ae+'" for mode "'+(ie.scope||"")+'"');throw Ce.mode=ie,Ce}else if(se.type==="end"){const Ce=N(se);if(Ce!==t0)return Ce}if(se.type==="illegal"&&Ae==="")return 1;if(Q>1e5&&Q>se.index*3)throw new Error("potential infinite loop, way more iterations than matches");return De+=Ae,Ae.length}const oe=x(F);if(!oe)throw Zr(r.replace("{}",F)),new Error('Unknown language: "'+F+'"');const xe=Pqe(oe);let Ne="",ie=le||xe;const Re={},ge=new a.__emitter(a);z();let De="",L=0,I=0,Q=0,ye=!1;try{if(oe.__emitTokens)oe.__emitTokens(W,ge);else{for(ie.matcher.considerAll();;){Q++,ye?ye=!1:ie.matcher.considerAll(),ie.matcher.lastIndex=I;const X=ie.matcher.exec(W);if(!X)break;const se=W.substring(I,X.index),Ae=ce(se,X);I=X.index+Ae}ce(W.substring(I))}return ge.finalize(),Ne=ge.toHTML(),{language:F,value:Ne,relevance:L,illegal:!1,_emitter:ge,_top:ie}}catch(X){if(X.message&&X.message.includes("Illegal"))return{language:F,value:d_(W),illegal:!0,relevance:0,_illegalBy:{message:X.message,index:I,context:W.slice(I-100,I+100),mode:X.mode,resultSoFar:Ne},_emitter:ge};if(i)return{language:F,value:d_(W),illegal:!1,relevance:0,errorRaised:X,_emitter:ge,_top:ie};throw X}}function f(F){const W={value:d_(F),illegal:!1,relevance:0,_top:o,_emitter:new a.__emitter(a)};return W._emitter.addText(F),W}function m(F,W){W=W||a.languages||Object.keys(e);const ne=f(F),le=W.filter(x).filter(B).map(Ie=>h(Ie,F,!1));le.unshift(ne);const me=le.sort((Ie,ke)=>{if(Ie.relevance!==ke.relevance)return ke.relevance-Ie.relevance;if(Ie.language&&ke.language){if(x(Ie.language).supersetOf===ke.language)return 1;if(x(ke.language).supersetOf===Ie.language)return-1}return 0}),[Se,de]=me,Ee=Se;return Ee.secondBest=de,Ee}function _(F,W,ne){const le=W&&t[W]||ne;F.classList.add("hljs"),F.classList.add(`language-${le}`)}function g(F){let W=null;const ne=d(F);if(c(ne))return;if($("before:highlightElement",{el:F,language:ne}),F.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",F);return}if(F.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(F)),a.throwUnescapedHTML))throw new Bqe("One of your code blocks includes unescaped HTML.",F.innerHTML);W=F;const le=W.textContent,me=ne?u(le,{language:ne,ignoreIllegals:!0}):m(le);F.innerHTML=me.value,F.dataset.highlighted="yes",_(F,ne,me.language),F.result={language:me.language,re:me.relevance,relevance:me.relevance},me.secondBest&&(F.secondBest={language:me.secondBest.language,relevance:me.secondBest.relevance}),$("after:highlightElement",{el:F,result:me,text:le})}function b(F){a=e0(a,F)}const E=()=>{S(),wo("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){S(),wo("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let v=!1;function S(){if(document.readyState==="loading"){v=!0;return}document.querySelectorAll(a.cssSelector).forEach(g)}function R(){v&&S()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",R,!1);function w(F,W){let ne=null;try{ne=W(n)}catch(le){if(Zr("Language definition for '{}' could not be registered.".replace("{}",F)),i)Zr(le);else throw le;ne=o}ne.name||(ne.name=F),e[F]=ne,ne.rawDefinition=W.bind(null,n),ne.aliases&&O(ne.aliases,{languageName:F})}function A(F){delete e[F];for(const W of Object.keys(t))t[W]===F&&delete t[W]}function M(){return Object.keys(e)}function x(F){return F=(F||"").toLowerCase(),e[F]||e[t[F]]}function O(F,{languageName:W}){typeof F=="string"&&(F=[F]),F.forEach(ne=>{t[ne.toLowerCase()]=W})}function B(F){const W=x(F);return W&&!W.disableAutodetect}function H(F){F["before:highlightBlock"]&&!F["before:highlightElement"]&&(F["before:highlightElement"]=W=>{F["before:highlightBlock"](Object.assign({block:W.el},W))}),F["after:highlightBlock"]&&!F["after:highlightElement"]&&(F["after:highlightElement"]=W=>{F["after:highlightBlock"](Object.assign({block:W.el},W))})}function te(F){H(F),s.push(F)}function k(F){const W=s.indexOf(F);W!==-1&&s.splice(W,1)}function $(F,W){const ne=F;s.forEach(function(le){le[ne]&&le[ne](W)})}function q(F){return wo("10.7.0","highlightBlock will be removed entirely in v12.0"),wo("10.7.0","Please use highlightElement now."),g(F)}Object.assign(n,{highlight:u,highlightAuto:m,highlightAll:S,highlightElement:g,highlightBlock:q,configure:b,initHighlighting:E,initHighlightingOnLoad:y,registerLanguage:w,unregisterLanguage:A,listLanguages:M,getLanguage:x,registerAliases:O,autoDetection:B,inherit:e0,addPlugin:te,removePlugin:k}),n.debugMode=function(){i=!1},n.safeMode=function(){i=!0},n.versionString=Uqe,n.regex={concat:bo,lookahead:V2,either:AE,optional:eqe,anyNumberOfTimes:J7e};for(const F in Bc)typeof Bc[F]=="object"&&B2(Bc[F]);return Object.assign(n,Bc),n},ha=Q2({});ha.newInstance=()=>Q2({});var Vqe=ha;ha.HighlightJS=ha;ha.default=ha;var u_,n0;function zqe(){if(n0)return u_;n0=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",r="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",c="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",d="разделительстраниц разделительстрок символтабуляции ",u="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",h="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",f="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",m=d+u+h+f,_="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",g="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",b="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",E="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",y="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",v="отображениевремениэлементовпланировщика ",S="типфайлаформатированногодокумента ",R="обходрезультатазапроса типзаписизапроса ",w="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",A="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",M="типизмеренияпостроителязапроса ",x="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",O="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",B="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",H="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",te="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",k="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",$="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",q="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",F="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",W="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",ne="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",le=_+g+b+E+y+v+S+R+w+A+M+x+O+B+H+te+k+$+q+F+W+ne,de="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",Ee="null истина ложь неопределено",Ie=e.inherit(e.NUMBER_MODE),ke={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Z={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},he=e.inherit(e.C_LINE_COMMENT_MODE),_e={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:r+c},contains:[he]},we={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Pe={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:Ee},contains:[Ie,ke,Z]},he]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:r,built_in:m,class:le,type:de,literal:Ee},contains:[_e,Pe,he,we,Ie,ke,Z]}}return u_=n,u_}var p_,s0;function Hqe(){if(s0)return p_;s0=1;function n(e){const t=e.regex,s=/^[a-zA-Z][a-zA-Z0-9-]*/,i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],r=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},c={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},d={scope:"symbol",match:/%[si](?=".*")/},u={scope:"attribute",match:t.concat(s,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:i,contains:[{scope:"operator",match:/=\/?/},u,r,o,a,c,d,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return p_=n,p_}var __,i0;function qqe(){if(i0)return __;i0=1;function n(e){const t=e.regex,s=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...s)),end:/"/,keywords:s,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return __=n,__}var h_,r0;function $qe(){if(r0)return h_;r0=1;function n(e){const t=e.regex,s=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=t.concat(s,t.concat("(\\.",s,")*")),r=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:s,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,s],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,r)}]},e.METHOD_GUARD],illegal:/#/}}return h_=n,h_}var f_,o0;function Yqe(){if(o0)return f_;o0=1;function n(e){const t="\\d(_|\\d)*",s="[eE][-+]?"+t,i=t+"(\\."+t+")?("+s+")?",r="\\w+",a="\\b("+(t+"#"+r+"(\\."+r+")?#("+s+")?")+"|"+i+")",c="[A-Za-z](_?[A-Za-z0-9.])*",d=`[]\\{\\}%#'"`,u=e.COMMENT("--","$"),h={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:d,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:c,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[u,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:a,relevance:0},{className:"symbol",begin:"'"+c},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:d},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[u,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:d},h,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:d}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:d},h]}}return f_=n,f_}var m_,a0;function Wqe(){if(a0)return m_;a0=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},s={className:"symbol",begin:"[a-zA-Z0-9_]+@"},i={className:"keyword",begin:"<",end:">",contains:[t,s]};return t.contains=[i],s.contains=[i],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,s,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return m_=n,m_}var g_,l0;function Kqe(){if(l0)return g_;l0=1;function n(e){const t={className:"number",begin:/[$%]\d+/},s={className:"number",begin:/\b\d+/},i={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},r={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[i,r,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},i,s,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return g_=n,g_}var b_,c0;function jqe(){if(c0)return b_;c0=1;function n(e){const t=e.regex,s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,s]},r=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",r]}),a=[r,o,e.HASH_COMMENT_MODE],c=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],d=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[s,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...d),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...c),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},...a],illegal:/\/\/|->|=>|\[\[/}}return b_=n,b_}var E_,d0;function Qqe(){if(d0)return E_;d0=1;function n(e){const t="[A-Za-z_][0-9A-Za-z_]*",s={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},i={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},r={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},a={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,r,e.REGEXP_MODE];const c=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:s,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,r,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:c}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return E_=n,E_}var y_,u0;function Xqe(){if(u0)return y_;u0=1;function n(t){const s=t.regex,i=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="<[^<>]+>",c="(?!struct)("+r+"|"+s.optional(o)+"[a-zA-Z_]\\w*"+s.optional(a)+")",d={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},m={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},i,t.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:s.optional(o)+t.IDENT_RE,relevance:0},g=s.optional(o)+t.IDENT_RE+"\\s*\\(",b=["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"],E=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],y=["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"],v=["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"],w={type:E,keyword:b,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:y},A={className:"function.dispatch",relevance:0,keywords:{_hint:v},begin:s.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,s.lookahead(/(<[^<>]+>|)\s*\(/))},M=[A,m,d,i,t.C_BLOCK_COMMENT_MODE,f,h],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:w,contains:M.concat([{begin:/\(/,end:/\)/,keywords:w,contains:M.concat(["self"]),relevance:0}]),relevance:0},O={className:"function",begin:"("+c+"[\\*&\\s]+)+"+g,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:w,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:w,relevance:0},{begin:g,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:[i,t.C_BLOCK_COMMENT_MODE,h,f,d,{begin:/\(/,end:/\)/,keywords:w,relevance:0,contains:["self",i,t.C_BLOCK_COMMENT_MODE,h,f,d]}]},d,i,t.C_BLOCK_COMMENT_MODE,m]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:w,illegal:"",keywords:w,contains:["self",d]},{begin:t.IDENT_RE+"::",keywords:w},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const s={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},i=n(t),r=i.keywords;return r.type=[...r.type,...s.type],r.literal=[...r.literal,...s.literal],r.built_in=[...r.built_in,...s.built_in],r._hints=s._hints,i.name="Arduino",i.aliases=["ino"],i.supersetOf="cpp",i}return y_=e,y_}var v_,p0;function Zqe(){if(p0)return v_;p0=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return v_=n,v_}var S_,_0;function Jqe(){if(_0)return S_;_0=1;function n(e){const t=e.regex,s=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:"string"}),d=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,d,c,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,a,d,c]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[d]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:u}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return S_=n,S_}var T_,h0;function e$e(){if(h0)return T_;h0=1;function n(e){const t=e.regex,s={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],r=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},c={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},c,a,...i,...r,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},s,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return T_=n,T_}var x_,f0;function t$e(){if(f0)return x_;f0=1;function n(e){const t=e.regex,s=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],i=["get","set","args","call"];return{name:"AspectJ",keywords:s,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:s.concat(i),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:s,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:s.concat(i),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:s,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:s,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return x_=n,x_}var C_,m0;function n$e(){if(m0)return C_;m0=1;function n(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return C_=n,C_}var w_,g0;function s$e(){if(g0)return w_;g0=1;function n(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",s=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],i="True False And Null Not Or Default",r="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},c={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},d={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},u={className:"meta",begin:"#",end:"$",keywords:{keyword:s},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[c,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},c,o]},h={className:"symbol",begin:"@[A-z0-9_]+"},f={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,c,d]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:r,literal:i},contains:[o,a,c,d,u,h,f]}}return w_=n,w_}var R_,b0;function i$e(){if(b0)return R_;b0=1;function n(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return R_=n,R_}var A_,E0;function r$e(){if(E0)return A_;E0=1;function n(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:s},contains:[t,i,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return A_=n,A_}var N_,y0;function o$e(){if(y0)return N_;y0=1;function n(e){const t=e.UNDERSCORE_IDENT_RE,o={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},a={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o};return{name:"X++",aliases:["x++"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},a]}}return N_=n,N_}var O_,v0;function a$e(){if(v0)return O_;v0=1;function n(e){const t=e.regex,s={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const r={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={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 c={match:/\\"/},d={className:"string",begin:/'/,end:/'/},u={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,s]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],b=["true","false"],E={match:/(\/[a-z._-]+)+/},y=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],v=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],S=["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"],R=["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:g,literal:b,built_in:[...y,...v,"set","shopt",...S,...R]},contains:[m,e.SHEBANG(),_,h,e.HASH_COMMENT_MODE,o,E,a,c,d,u,s]}}return O_=n,O_}var I_,S0;function l$e(){if(S0)return I_;S0=1;function n(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return I_=n,I_}var M_,T0;function c$e(){if(T0)return M_;T0=1;function n(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return M_=n,M_}var k_,x0;function d$e(){if(x0)return k_;x0=1;function n(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return k_=n,k_}var D_,C0;function u$e(){if(C0)return D_;C0=1;function n(e){const t=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(o)+")",c={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},m={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",E={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,c,s,e.C_BLOCK_COMMENT_MODE,h,u],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:y.concat([{begin:/\(/,end:/\)/,keywords:E,contains:y.concat(["self"]),relevance:0}]),relevance:0},S={begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:E,relevance:0},{begin:_,returnBegin:!0,contains:[e.inherit(m,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,c,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,c]}]},c,s,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:E,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:u,keywords:E}}}return D_=n,D_}var L_,w0;function p$e(){if(w0)return L_;w0=1;function n(e){const t=e.regex,s=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],i="false true",r=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},c={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},d={className:"string",begin:'"',end:'"'},u={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:s,contains:[o,a,e.NUMBER_MODE]},...r]},h=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],f={match:[/OBJECT/,/\s+/,t.either(...h),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:s,literal:i},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,c,d,e.NUMBER_MODE,f,u]}}return L_=n,L_}var P_,R0;function _$e(){if(R0)return P_;R0=1;function n(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],s=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],i=["true","false"],r={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:s,literal:i},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},r]}}return P_=n,P_}var F_,A0;function h$e(){if(A0)return F_;A0=1;function n(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],s=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],i=["doc","by","license","see","throws","tagged"],r={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[r]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return r.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(s),meta:i},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return F_=n,F_}var U_,N0;function f$e(){if(N0)return U_;N0=1;function n(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return U_=n,U_}var B_,O0;function m$e(){if(O0)return B_;O0=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&'",s="[#]?["+t+"]["+t+"0-9/;:$#]*",i="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:s,built_in:i+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:s,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},c={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},d={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),h={scope:"punctuation",match:/,/,relevance:0},f=e.COMMENT(";","$",{relevance:0}),m={className:"literal",begin:/\b(true|false|nil)\b/},_={begin:"\\[|(#::?"+s+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+s},b={begin:"\\(",end:"\\)"},E={endsWithParent:!0,relevance:0},y={keywords:r,className:"name",begin:s,relevance:0,starts:E},v=[h,b,c,d,u,f,g,_,a,m,o],S={beginKeywords:i,keywords:{$pattern:s,keyword:i},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:s,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)};return b.contains=[S,y,E],E.contains=v,_.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[h,b,c,d,u,f,g,_,a,m]}}return B_=n,B_}var G_,I0;function g$e(){if(I0)return G_;I0=1;function n(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return G_=n,G_}var V_,M0;function b$e(){if(M0)return V_;M0=1;function n(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return V_=n,V_}var z_,k0;function E$e(){if(k0)return z_;k0=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],r=[].concat(i,t,s);function o(a){const c=["npm","print"],d=["yes","no","on","off"],u=["then","unless","until","loop","by","when","and","or","is","isnt","not"],h=["var","const","let","function","static"],f=R=>w=>!R.includes(w),m={keyword:n.concat(u).filter(f(h)),literal:e.concat(d),built_in:r.concat(c)},_="[A-Za-z$_][0-9A-Za-z$_]*",g={className:"subst",begin:/#\{/,end:/\}/,keywords:m},b=[a.BINARY_NUMBER_MODE,a.inherit(a.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,g]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,g]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[g,a.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+_},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];g.contains=b;const E=a.inherit(a.TITLE_MODE,{begin:_}),y="(\\(.*\\)\\s*)?\\B[-=]>",v={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:m,contains:["self"].concat(b)}]},S={variants:[{match:[/class\s+/,_,/\s+extends\s+/,_]},{match:[/class\s+/,_]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:m};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:m,illegal:/\/\*/,contains:[...b,a.COMMENT("###","###"),a.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+_+"\\s*=\\s*"+y,end:"[-=]>",returnBegin:!0,contains:[E,v]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:y,end:"[-=]>",returnBegin:!0,contains:[v]}]},S,{begin:_+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return z_=o,z_}var H_,D0;function y$e(){if(D0)return H_;D0=1;function n(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return H_=n,H_}var q_,L0;function v$e(){if(L0)return q_;L0=1;function n(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return q_=n,q_}var $_,P0;function S$e(){if(P0)return $_;P0=1;function n(e){const t=e.regex,s=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",o="<[^<>]+>",a="(?!struct)("+i+"|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional(o)+")",c={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",u={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+d+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(u,{className:"string"}),{className:"string",begin:/<.*?>/},s,e.C_BLOCK_COMMENT_MODE]},m={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},_=t.optional(r)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],E=["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:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:E},w={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},A=[w,f,c,s,e.C_BLOCK_COMMENT_MODE,h,u],M={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:A.concat([{begin:/\(/,end:/\)/,keywords:R,contains:A.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+a+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:R,relevance:0},{begin:_,returnBegin:!0,contains:[m],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[u,h]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[s,e.C_BLOCK_COMMENT_MODE,u,h,c,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",s,e.C_BLOCK_COMMENT_MODE,u,h,c]}]},c,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",c]},{begin:e.IDENT_RE+"::",keywords:R},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return $_=n,$_}var Y_,F0;function T$e(){if(F0)return Y_;F0=1;function n(e){const t="primitive rsc_template",s="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",i="property rsc_defaults op_defaults",r="params meta operations op rule attributes utilization",o="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",a="number string",c="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:r+" "+o+" "+a,literal:c},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+s.split(" ").join("|")+")\\s+",keywords:s,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:i,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return Y_=n,Y_}var W_,U0;function x$e(){if(U0)return W_;U0=1;function n(e){const t="(_?[ui](8|16|32|64|128))?",s="(_?f(32|64))?",i="[a-zA-Z_]\\w*[!?=]?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:i,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},d={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function h(y,v){const S=[{begin:y,end:v}];return S[0].contains=S,S}const f={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:h("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},m={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%q<",end:">",contains:h("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},_={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:"%r\\(",end:"\\)",contains:h("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:h("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:h(/\{/,/\}/)},{begin:"%r<",end:">",contains:h("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},b={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},E=[u,f,m,g,_,b,d,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:r,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[f,{begin:r}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+s+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return c.contains=E,u.contains=E.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:E}}return W_=n,W_}var K_,B0;function C$e(){if(B0)return K_;B0=1;function n(e){const t=["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"],i=["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"],o=["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(o),built_in:t,literal:i},c=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),d={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},h=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},m=e.inherit(f,{illegal:/\n/}),_={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,m]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},b=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});f.contains=[g,_,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],m.contains=[b,_,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const E={variants:[g,_,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},c]},v=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",S={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"}},E,d,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},c,y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[c,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:"("+v+"\\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:[E,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},S]}}return K_=n,K_}var j_,G0;function w$e(){if(G0)return j_;G0=1;function n(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return j_=n,j_}var Q_,V0;function R$e(){if(V0)return Q_;V0=1;const n=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"],t=["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"],i=["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 o(a){const c=a.regex,d=n(a),u={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},h="and or not only",f=/@-?\w[\w]*(-\w+)*/,m="[a-zA-Z-][a-zA-Z0-9_-]*",_=[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,u,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+m,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+s.join("|")+")"},{begin:":(:)?("+i.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,..._,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[..._,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:c.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:t.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},..._,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}return Q_=o,Q_}var X_,z0;function A$e(){if(z0)return X_;z0=1;function n(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},s="(0|[1-9][\\d_]*)",i="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",r="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,c="([eE][+-]?"+i+")",d="("+i+"(\\.\\d*|"+c+")|\\d+\\."+i+"|\\."+s+c+"?)",u="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+i+")",h="("+s+"|"+r+"|"+a+")",f="("+u+"|"+d+")",m=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,_={className:"number",begin:"\\b"+h+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},g={className:"number",begin:"\\b("+f+"([fF]|L|i|[fF]i|Li)?|"+h+"(i|[fF]i|Li))",relevance:0},b={className:"string",begin:"'("+m+"|.)",end:"'",illegal:"."},y={className:"string",begin:'"',contains:[{begin:m,relevance:0}],end:'"[cwd]?'},v={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},S={className:"string",begin:"`",end:"`[cwd]?"},R={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},w={className:"string",begin:'q"\\{',end:'\\}"'},A={className:"meta",begin:"^#!",end:"$",relevance:5},M={className:"meta",begin:"#(line)",end:"$",relevance:5},x={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},O=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,O,R,y,v,S,w,g,_,b,A,M,x]}}return X_=n,X_}var Z_,H0;function N$e(){if(H0)return Z_;H0=1;function n(e){const t=e.regex,s={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={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}]},o={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}]},c=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,c,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},u={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(u,{contains:[]}),m=e.inherit(h,{contains:[]});u.contains.push(m),h.contains.push(f);let _=[s,d];return[u,h,f,m].forEach(E=>{E.contains=E.contains.concat(_)}),_=_.concat(u,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:_},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:_}]}]},s,o,u,h,{className:"quote",begin:"^>\\s+",contains:_,end:"$"},r,i,d,a]}}return Z_=n,Z_}var J_,q0;function O$e(){if(q0)return J_;q0=1;function n(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},s={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,s]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,s]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,s]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,s]}]};s.contains=[e.C_NUMBER_MODE,i];const r=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=r.map(d=>`${d}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:r.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return J_=n,J_}var eh,$0;function I$e(){if($0)return eh;$0=1;function n(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],s=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},a={className:"string",begin:/(#\d+)+/},c={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},d={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,a,i].concat(s)},i].concat(s)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[r,a,e.NUMBER_MODE,o,c,d,i].concat(s)}}return eh=n,eh}var th,Y0;function M$e(){if(Y0)return th;Y0=1;function n(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.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 th=n,th}var nh,W0;function k$e(){if(W0)return nh;W0=1;function n(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return nh=n,nh}var sh,K0;function D$e(){if(K0)return sh;K0=1;function n(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return sh=n,sh}var ih,j0;function L$e(){if(j0)return ih;j0=1;function n(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},c={className:"params",relevance:0,begin:"<",end:">",contains:[s,r]},d={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},u={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},h={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},f={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},m={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[u,r,o,a,d,f,h,c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,t,i,m,{begin:e.IDENT_RE+"::",keywords:""}]}}return ah=n,ah}var lh,J0;function B$e(){if(J0)return lh;J0=1;function n(e){const t="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:t}]}}return lh=n,lh}var ch,eT;function G$e(){if(eT)return ch;eT=1;function n(e){const t=e.COMMENT(/\(\*/,/\*\)/),s={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},r={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,s,r]}}return ch=n,ch}var dh,tT;function V$e(){if(tT)return dh;tT=1;function n(e){const t=e.regex,s="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:s,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},c={className:"subst",begin:/#\{/,end:/\}/,keywords:a},d={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},h={match:/\\[\s\S]/,scope:"char.escape",relevance:0},f=`[/|([{<"']`,m=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],_=w=>({scope:"char.escape",begin:t.concat(/\\/,w),relevance:0}),g={className:"string",begin:"~[a-z](?="+f+")",contains:m.map(w=>e.inherit(w,{contains:[_(w.end),h,c]}))},b={className:"string",begin:"~[A-Z](?="+f+")",contains:m.map(w=>e.inherit(w,{contains:[_(w.end)]}))},E={className:"regex",variants:[{begin:"~r(?="+f+")",contains:m.map(w=>e.inherit(w,{end:t.concat(w.end,/[uismxfU]{0,7}/),contains:[_(w.end),h,c]}))},{begin:"~R(?="+f+")",contains:m.map(w=>e.inherit(w,{end:t.concat(w.end,/[uismxfU]{0,7}/),contains:[_(w.end)]}))}]},y={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},v={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:s,endsParent:!0})]},S=e.inherit(v,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),R=[y,E,b,g,e.HASH_COMMENT_MODE,S,v,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[y,{begin:i}],relevance:0},{className:"symbol",begin:s+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},d,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return c.contains=R,{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:R}}return dh=n,dh}var uh,nT;function z$e(){if(nT)return uh;nT=1;function n(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},r={begin:/\{/,end:/\}/,contains:i.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[i,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[s,i,r,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return uh=n,uh}var ph,sT;function H$e(){if(sT)return ph;sT=1;function n(e){const t=e.regex,s="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),r=t.concat(i,/(::\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"]},c={className:"doctag",begin:"@[A-Za-z]+"},d={begin:"#<",end:">"},u=[e.COMMENT("#","$",{contains:[c]}),e.COMMENT("^=begin","^=end",{contains:[c],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:t.concat(/<<[-~]?'?/,t.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]})]}]},m="[1-9](_?[0-9])*|0",_="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${m})(\\.(${_}))?([eE][+-]?(${_})|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}]},A=[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:i,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},g,{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(d,u),relevance:0}].concat(d,u);h.contains=A,b.contains=A;const M="[>?]>",x="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",O="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",B=[{begin:/^\s*=>/,starts:{end:"$",contains:A}},{className:"meta.prompt",begin:"^("+M+"|"+x+"|"+O+")(?=[ ])",starts:{end:"$",keywords:a,contains:A}}];return u.unshift(d),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(B).concat(u).concat(A)}}return ph=n,ph}var _h,iT;function q$e(){if(iT)return _h;iT=1;function n(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return _h=n,_h}var hh,rT;function $$e(){if(rT)return hh;rT=1;function n(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return hh=n,hh}var fh,oT;function Y$e(){if(oT)return fh;oT=1;function n(e){const t="[a-z'][a-zA-Z0-9_']*",s="("+t+":"+t+"|"+t+")",i={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},r=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},c={begin:s+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:s,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},d={begin:/\{/,end:/\}/,relevance:0},u={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},h={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},m={beginKeywords:"fun receive if try case",end:"end",keywords:i};m.contains=[r,a,e.inherit(e.APOS_STRING_MODE,{className:""}),m,c,e.QUOTE_STRING_MODE,o,d,u,h,f];const _=[r,a,m,c,e.QUOTE_STRING_MODE,o,d,u,h,f];c.contains[1].contains=_,d.contains=_,f.contains[1].contains=_;const g=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],b={className:"params",begin:"\\(",end:"\\)",contains:_};return{name:"Erlang",aliases:["erl"],keywords:i,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[b,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:i,contains:_}},r,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:g.map(E=>`${E}|1.5`).join(" ")},contains:[b]},o,e.QUOTE_STRING_MODE,f,u,h,d,{begin:/\.$/}]}}return fh=n,fh}var mh,aT;function W$e(){if(aT)return mh;aT=1;function n(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return mh=n,mh}var gh,lT;function K$e(){if(lT)return gh;lT=1;function n(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return gh=n,gh}var bh,cT;function j$e(){if(cT)return bh;cT=1;function n(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},s={className:"string",variants:[{begin:'"',end:'"'}]},r={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,s,r,e.C_NUMBER_MODE]}}return bh=n,bh}var Eh,dT;function Q$e(){if(dT)return Eh;dT=1;function n(e){const t=e.regex,s={className:"params",begin:"\\(",end:"\\)"},i={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},r=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,r)},{begin:t.concat(/\b\d+/,o,r)},{begin:t.concat(/\.\d+/,o,r)}],relevance:0},c={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,s]},d={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[d,c,{begin:/^C\s*=(?!=)/,relevance:0},i,a]}}return Eh=n,Eh}var yh,uT;function X$e(){if(uT)return yh;uT=1;function n(a){return new RegExp(a.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return s("(?=",a,")")}function s(...a){return a.map(d=>e(d)).join("")}function i(a){const c=a[a.length-1];return typeof c=="object"&&c.constructor===Object?(a.splice(a.length-1,1),c):{}}function r(...a){return"("+(i(a).capture?"":"?:")+a.map(u=>e(u)).join("|")+")"}function o(a){const c=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],d={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},u=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],h=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],f=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],m=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],g={keyword:c,literal:h,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":f},E={variants:[a.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),a.C_LINE_COMMENT_MODE]},y=/[a-zA-Z_](\w|')*/,v={scope:"variable",begin:/``/,end:/``/},S=/\B('|\^)/,R={scope:"symbol",variants:[{match:s(S,/``.*?``/)},{match:s(S,a.UNDERSCORE_IDENT_RE)}],relevance:0},w=function({includeEqual:Ie}){let ke;Ie?ke="!%&*+-/<=>@^|~?":ke="!%&*+-/<>@^|~?";const Z=Array.from(ke),he=s("[",...Z.map(n),"]"),_e=r(he,/\./),we=s(_e,t(_e)),Pe=r(s(we,_e,"*"),s(he,"+"));return{scope:"operator",match:r(Pe,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},A=w({includeEqual:!0}),M=w({includeEqual:!1}),x=function(Ie,ke){return{begin:s(Ie,t(s(/\s*/,r(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:ke,end:t(r(/\n/,/=/)),relevance:0,keywords:a.inherit(g,{type:m}),contains:[E,R,a.inherit(v,{scope:null}),M]}},O=x(/:/,"operator"),B=x(/\bof\b/,"keyword"),H={begin:[/(^|\s+)/,/type/,/\s+/,y],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:g,contains:[E,a.inherit(v,{scope:null}),R,{scope:"operator",match:/<|>/},O]},te={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},k={begin:[/^\s*/,s(/#/,r(...u)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},$={variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]},q={scope:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE]},F={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},a.BACKSLASH_ESCAPE]},W={scope:"string",begin:/"""/,end:/"""/,relevance:2},ne={scope:"subst",begin:/\{/,end:/\}/,keywords:g},le={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},a.BACKSLASH_ESCAPE,ne]},me={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},a.BACKSLASH_ESCAPE,ne]},Se={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},ne],relevance:2},de={scope:"string",match:s(/'/,r(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return ne.contains=[me,le,F,q,de,d,E,v,O,te,k,$,R,A],{name:"F#",aliases:["fs","f#"],keywords:g,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[d,{variants:[Se,me,le,W,F,q,de]},E,v,H,{scope:"meta",begin:/\[\]/,relevance:2,contains:[v,W,F,q,de,$]},B,O,te,k,$,R,A]}}return yh=o,yh}var vh,pT;function Z$e(){if(pT)return vh;pT=1;function n(e){const t=e.regex,s={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},i={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:s,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},c=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,d={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:t.concat(c,t.anyNumberOfTimes(t.concat(/[ ]+/,c))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:s,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,d]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[d]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},i,r]},e.C_NUMBER_MODE,r]}}return vh=n,vh}var Sh,_T;function J$e(){if(_T)return Sh;_T=1;function n(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},s=e.COMMENT("@","@"),i={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},r={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,r]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},c=function(m,_,g){const b=e.inherit({className:"function",beginKeywords:m,end:_,excludeEnd:!0,contains:[].concat(o)},g||{});return b.contains.push(a),b.contains.push(e.C_NUMBER_MODE),b.contains.push(e.C_BLOCK_COMMENT_MODE),b.contains.push(s),b},d={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},u={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},h={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},d,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},f={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,d,h,u,"self"]};return h.contains.push(f),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,u,i,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},c("proc keyword",";"),c("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,s,f]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},h,r]}}return Sh=n,Sh}var Th,hT;function eYe(){if(hT)return Th;hT=1;function n(e){const t="[A-Z_][A-Z0-9_.]*",s="%",i={$pattern:t,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},r={className:"meta",begin:"([O])([0-9]+)"},o=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),o,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:s},r].concat(a)}}return Th=n,Th}var xh,fT;function tYe(){if(fT)return xh;fT=1;function n(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return xh=n,xh}var Ch,mT;function nYe(){if(mT)return Ch;mT=1;function n(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return Ch=n,Ch}var wh,gT;function sYe(){if(gT)return wh;gT=1;function n(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return wh=n,wh}var Rh,bT;function iYe(){if(bT)return Rh;bT=1;function n(e){const o={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:o,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return Mh=n,Mh}var kh,xT;function dYe(){if(xT)return kh;xT=1;function n(e){const t=e.regex,s={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},i={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},r=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,c=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,d=/(\.|\/)/,u=t.either(r,o,a,c),h=t.concat(t.optional(/\.|\.\/|\//),u,t.anyNumberOfTimes(t.concat(d,u))),f=t.concat("(",a,"|",c,")(?==)"),m={begin:h},_=e.inherit(m,{keywords:i}),g={begin:/\(/,end:/\)/},b={className:"attr",begin:f,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,_,g]}}},E={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},y={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,E,b,_,g],returnEnd:!0},v=e.inherit(m,{className:"name",keywords:s,starts:e.inherit(y,{end:/\)/})});g.contains=[v];const S=e.inherit(m,{keywords:s,className:"name",starts:e.inherit(y,{end:/\}\}/})}),R=e.inherit(m,{keywords:s,className:"name"}),w=e.inherit(m,{className:"name",keywords:s,starts:e.inherit(y,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[S],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[R]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[S]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[R]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[w]}]}}return kh=n,kh}var Dh,CT;function uYe(){if(CT)return Dh;CT=1;function n(e){const t="([0-9]_*)+",s="([0-9a-fA-F]_*)+",i="([01]_*)+",r="([0-7]_*)+",d="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",u={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},h={className:"meta",begin:/\{-#/,end:/#-\}/},f={className:"meta",begin:"^#",end:"$"},m={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},_={begin:"\\(",end:"\\)",illegal:'"',contains:[h,f,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),u]},g={begin:/\{/,end:/\}/,contains:_.contains},b={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${s})(\\.(${s}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${r})\\b`},{match:`\\b0[bB](${i})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[_,u],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[_,u],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[m,_,u]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[h,m,_,g,u]},{beginKeywords:"default",end:"$",contains:[m,_,u]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,u]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[m,e.QUOTE_STRING_MODE,u]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},h,f,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,b,m,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${d}--+|--+(?!-)${d}`},u,{begin:"->|<-"}]}}return Dh=n,Dh}var Lh,wT;function pYe(){if(wT)return Lh;wT=1;function n(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",s=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:s,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return Lh=n,Lh}var Ph,RT;function _Ye(){if(RT)return Ph;RT=1;function n(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return Ph=n,Ph}var Fh,AT;function hYe(){if(AT)return Fh;AT=1;function n(e){const t=e.regex,s="HTTP/([32]|1\\.[01])",i=/[A-Za-z][A-Za-z0-9-]*/,r={className:"attribute",begin:t.concat("^",i,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[r,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(r,{relevance:0})]}}return Fh=n,Fh}var Uh,NT;function fYe(){if(NT)return Uh;NT=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&#'",s="["+t+"]["+t+"0-9/;:]*",i={$pattern:s,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},r="[-+]?\\d+(\\.\\d+)?",o={begin:s,relevance:0},a={className:"number",begin:r,relevance:0},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d=e.COMMENT(";","$",{relevance:0}),u={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},h={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},f={className:"comment",begin:"\\^"+s},m=e.COMMENT("\\^\\{","\\}"),_={className:"symbol",begin:"[:]{1,2}"+s},g={begin:"\\(",end:"\\)"},b={endsWithParent:!0,relevance:0},E={className:"name",relevance:0,keywords:i,begin:s,starts:b},y=[g,c,f,m,d,_,h,a,u,o];return g.contains=[e.COMMENT("comment",""),E,b],b.contains=y,h.contains=y,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),g,c,f,m,d,_,h,a,u]}}return Uh=n,Uh}var Bh,OT;function mYe(){if(OT)return Bh;OT=1;function n(e){const t="\\[",s="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:s}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:s,contains:["self"]}]}}return Bh=n,Bh}var Gh,IT;function gYe(){if(IT)return Gh;IT=1;function n(e){const t=e.regex,s={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},c={begin:/\[/,end:/\]/,contains:[i,o,r,a,s,"self"],relevance:0},d=/[A-Za-z0-9_-]+/,u=/"(\\"|[^"])*"/,h=/'[^']*'/,f=t.either(d,u,h),m=t.concat(f,"(\\s*\\.\\s*",f,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:m,className:"attr",starts:{end:/$/,contains:[i,c,o,r,a,s]}}]}}return Gh=n,Gh}var Vh,MT;function bYe(){if(MT)return Vh;MT=1;function n(e){const t=e.regex,s={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,r=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,r,i)},{begin:t.concat(/\b\d+/,r,i)},{begin:t.concat(/\.\d+/,r,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,s]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}return Vh=n,Vh}var zh,kT;function EYe(){if(kT)return zh;kT=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",s="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",i="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",r="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",o="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",a="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",c="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",d="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",u="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",h="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",f="smHidden smMaximized smMinimized smNormal wmNo wmYes ",m="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",_="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",g="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",b="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",E="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",y="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",v="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",S="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",R="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",w="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",A="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",M="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",x="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",O="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",B="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",H="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",te="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",k="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",$="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",q="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",F="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",W="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",ne="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",le="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",me="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",Se="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",de="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",Ee="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Ie=r+o+a+c+d+u+h+f+m+_+g+b+E+y+v+S+R+w+A+M+x+O+B+H+te+k+$+q+F+W+ne+le+me+Se+de+Ee,ke="atUser atGroup atRole ",Z="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",he="apBegin apEnd ",_e="alLeft alRight ",we="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Pe="cirCommon cirRevoked ",N="ctSignature ctEncode ctSignatureEncode ",z="clbUnchecked clbChecked clbGrayed ",Y="ceISB ceAlways ceNever ",ce="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",oe="cfInternal cfDisplay ",xe="ciUnspecified ciWrite ciRead ",Ne="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",ie="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",Re="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ge="cltInternal cltPrimary cltGUI ",De="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",L="dssEdit dssInsert dssBrowse dssInActive ",I="dftDate dftShortDate dftDateTime dftTimeStamp ",Q="dotDays dotHours dotMinutes dotSeconds ",ye="dtkndLocal dtkndUTC ",X="arNone arView arEdit arFull ",se="ddaView ddaEdit ",Ae="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Ce="ecotFile ecotProcess ",Fe="eaGet eaCopy eaCreate eaCreateStandardRoute ",Ze="edltAll edltNothing edltQuery ",ft="essmText essmCard ",Ue="esvtLast esvtLastActive esvtSpecified ",pt="edsfExecutive edsfArchive ",st="edstSQLServer edstFile ",Ye="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",nt="vsDefault vsDesign vsActive vsObsolete ",Ke="etNone etCertificate etPassword etCertificatePassword ",yt="ecException ecWarning ecInformation ",ee="estAll estApprovingOnly ",je="evtLast evtLastActive evtQuery ",Ve="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Oe="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",He="grhAuto grhX1 grhX2 grhX3 ",lt="hltText hltRTF hltHTML ",Nt="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",an="im8bGrayscale im24bRGB im1bMonochrome ",Sn="itBMP itJPEG itWMF itPNG ",Vt="ikhInformation ikhWarning ikhError ikhNoIcon ",Tn="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",cs="isShow isHide isByUserSettings ",Sc="jkJob jkNotice jkControlJob ",Rp="jtInner jtLeft jtRight jtFull jtCross ",yo="lbpAbove lbpBelow lbpLeft lbpRight ",Tc="eltPerConnection eltPerUser ",vo="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",xc="sfsItalic sfsStrikeout sfsNormal ",Cc="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",Ap="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Np="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",Op="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",U="rdWindow rdFile rdPrinter ",ue="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",be="reOnChange reOnChangeValues ",ve="ttGlobal ttLocal ttUser ttSystem ",fe="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",Qe="smSelect smLike smCard ",it="stNone stAuthenticating stApproving ",at="sctString sctStream ",ut="sstAnsiSort sstNaturalSort ",Et="svtEqual svtContain ",ht="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",mt="tarAbortByUser tarAbortByWorkflowException ",tn="tvtAllWords tvtExactPhrase tvtAnyWord ",Pn="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",ln="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",Ms="btAnd btDetailAnd btOr btNotOr btOnly ",Qt="vmView vmSelect vmNavigation ",vt="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Xa="wfatPrevious wfatNext wfatCancel wfatFinish ",Jt="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",vi="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",wc="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",Rr="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Za="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",bn="waAll waPerformers waManual ",Si="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",Ja="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Hn="wiLow wiNormal wiHigh ",el="wrtSoft wrtHard ",Ip="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",Rc="wtmFull wtmFromCurrent wtmOnlyCurrent ",RI=ke+Z+he+_e+we+Pe+N+z+Y+ce+oe+xe+Ne+ie+Re+ge+De+L+I+Q+ye+X+se+Ae+Ce+Fe+Ze+ft+Ue+pt+st+Ye+nt+Ke+yt+ee+je+Ve+Oe+He+lt+Nt+an+Sn+Vt+Tn+cs+Sc+Rp+yo+Tc+vo+xc+Cc+Ap+Np+Op+U+ue+be+ve+fe+Qe+it+at+ut+Et+ht+mt+tn+Pn+ln+Ms+Qt+vt+Xa+Jt+vi+wc+Rr+Za+bn+Si+Ja+Hn+el+Ip+Rc,AI="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",NI="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",OI="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",II=Ie+RI,MI=NI,kI="null true false nil ",Py={className:"number",begin:e.NUMBER_RE,relevance:0},Fy={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Uy={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},DI={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Uy]},LI={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Uy]},By={variants:[DI,LI]},Ac={$pattern:t,keyword:i,built_in:II,class:MI,literal:kI},Mp={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:Ac,relevance:0},Gy={className:"type",begin:":[ \\t]*("+OI.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Vy={className:"variable",keywords:Ac,begin:t,relevance:0,contains:[Gy,Mp]},zy=s+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Ac,illegal:"\\$|\\?|%|,|;$|~|#|@|i(o,a,c-1))}function r(o){const a=o.regex,c="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",d=c+i("(?:<"+c+"~~~(?:\\s*,\\s*"+c+"~~~)*>)?",/~~~/g,2),_={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"]},g={className:"meta",begin:"@"+c,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},b={className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[o.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:_,illegal:/<\/|#/,contains:[o.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[o.BACKSLASH_ESCAPE]},o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,c],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[a.concat(/(?!else)/,c),/\s+/,c,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,c],className:{1:"keyword",3:"title.class"},contains:[b,o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+d+"\\s+)",o.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:_,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:_,relevance:0,contains:[g,o.APOS_STRING_MODE,o.QUOTE_STRING_MODE,s,o.C_BLOCK_COMMENT_MODE]},o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE]},s,g]}}return Hh=r,Hh}var qh,LT;function vYe(){if(LT)return qh;LT=1;const n="[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"],t=["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"],i=["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"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,i);function c(d){const u=d.regex,h=(Z,{after:he})=>{const _e="",end:""},_=/<[A-Za-z0-9\\._:-]+\s*\/>/,g={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,he)=>{const _e=Z[0].length+Z.index,we=Z.input[_e];if(we==="<"||we===","){he.ignoreMatch();return}we===">"&&(h(Z,{after:_e})||he.ignoreMatch());let Pe;const N=Z.input.substring(_e);if(Pe=N.match(/^\s*=/)){he.ignoreMatch();return}if((Pe=N.match(/^\s+extends\s+/))&&Pe.index===0){he.ignoreMatch();return}}},b={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},E="[0-9](_?[0-9])*",y=`\\.(${E})`,v="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${v})((${y})|\\.)?|(${y}))[eE][+-]?(${E})\\b`},{begin:`\\b(${v})\\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:[]},w={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"xml"}},A={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"css"}},M={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,R],subLanguage:"graphql"}},x={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,R]},B={className:"comment",variants:[d.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:f+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},H=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,w,A,M,x,{match:/\$\d+/},S];R.contains=H.concat({begin:/\{/,end:/\}/,keywords:b,contains:["self"].concat(H)});const te=[].concat(B,R.contains),k=te.concat([{begin:/\(/,end:/\)/,keywords:b,contains:["self"].concat(te)}]),$={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:k},q={variants:[{match:[/class/,/\s+/,f,/\s+/,/extends/,/\s+/,u.concat(f,"(",u.concat(/\./,f),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,f],scope:{1:"keyword",3:"title.class"}}]},F={relevance:0,match:u.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...i]}},W={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,f,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[$],illegal:/%/},le={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function me(Z){return u.concat("(?!",Z.join("|"),")")}const Se={match:u.concat(/\b/,me([...r,"super","import"]),f,u.lookahead(/\(/)),className:"title.function",relevance:0},de={begin:u.concat(/\./,u.lookahead(u.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:/\(\)/},$]},Ie="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",ke={match:[/const|var|let/,/\s+/,f,/\s*/,/=\s*/,/(async\s*)?/,u.lookahead(Ie)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[$]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:b,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),W,d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,w,A,M,x,B,{match:/\$\d+/},S,F,{className:"attr",begin:f+u.lookahead(":"),relevance:0},ke,{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[B,d.REGEXP_MODE,{className:"function",begin:Ie,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:b,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:m.begin,end:m.end},{match:_},{begin:g.begin,"on:begin":g.isTrulyOpeningTag,end:g.end}],subLanguage:"xml",contains:[{begin:g.begin,end:g.end,skip:!0,contains:["self"]}]}]},ne,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[$,d.inherit(d.TITLE_MODE,{begin:f,className:"title.function"})]},{match:/\.\.\./,relevance:0},de,{match:"\\$"+f,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[$]},Se,le,q,Ee,{match:/\$[(.]/}]}}return qh=c,qh}var $h,PT;function SYe(){if(PT)return $h;PT=1;function n(e){const s={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},i={className:"function",begin:/:[\w\-.]+/,relevance:0},r={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,o,i,r,s]}}return $h=n,$h}var Yh,FT;function TYe(){if(FT)return Yh;FT=1;function n(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},s={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],r={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",keywords:{literal:i},contains:[t,s,e.QUOTE_STRING_MODE,r,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return Yh=n,Yh}var Wh,UT;function xYe(){if(UT)return Wh;UT=1;function n(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",o={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},a={keywords:o,illegal:/<\//},c={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},d={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},u={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},h={className:"variable",begin:"\\$"+t},f={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},m={className:"string",contains:[e.BACKSLASH_ESCAPE,u,h],begin:"`",end:"`"},_={className:"meta",begin:"@"+t},g={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return a.name="Julia",a.contains=[c,d,f,m,_,g,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],u.contains=a.contains,a}return Wh=n,Wh}var Kh,BT;function CYe(){if(BT)return Kh;BT=1;function n(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Kh=n,Kh}var jh,GT;function wYe(){if(GT)return jh;GT=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",s={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function i(r){const o={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+/}]}},c={className:"symbol",begin:r.UNDERSCORE_IDENT_RE+"@"},d={className:"subst",begin:/\$\{/,end:/\}/,contains:[r.C_NUMBER_MODE]},u={className:"variable",begin:"\\$"+r.UNDERSCORE_IDENT_RE},h={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,d]},{begin:"'",end:"'",illegal:/\n/,contains:[r.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[r.BACKSLASH_ESCAPE,u,d]}]};d.contains.push(h);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+r.UNDERSCORE_IDENT_RE+")?"},m={className:"meta",begin:"@"+r.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[r.inherit(h,{className:"string"}),"self"]}]},_=s,g=r.COMMENT("/\\*","\\*/",{contains:[r.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:r.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},E=b;return E.variants[1].contains=[b],b.variants[1].contains=[E],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[r.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),r.C_LINE_COMMENT_MODE,g,a,c,f,m,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,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:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,r.C_LINE_COMMENT_MODE,g],relevance:0},r.C_LINE_COMMENT_MODE,g,f,m,h,r.C_NUMBER_MODE]},g]},{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,m]},h,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},_]}}return jh=i,jh}var Qh,VT;function RYe(){if(VT)return Qh;VT=1;function n(e){const t="[a-zA-Z_][\\w.]*",s="<\\?(lasso(script)?|=)",i="\\]|\\?>",r={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},c={className:"meta",begin:"\\[/noprocess|"+s},d={className:"symbol",begin:"'"+t+"'"},u=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[d]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:r,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[|"+s,returnEnd:!0,relevance:0,contains:[o]}},a,c,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:r,contains:[{className:"meta",begin:i,relevance:0,starts:{end:"\\[noprocess\\]|"+s,returnEnd:!0,contains:[o]}},a,c].concat(u)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(u)}}return Qh=n,Qh}var Xh,zT;function AYe(){if(zT)return Xh;zT=1;function n(e){const s=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(B=>B+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(B=>B+"(?![a-zA-Z:_])").join("|")),r=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],o=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],a={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:s},{endsParent:!0,begin:i},{endsParent:!0,variants:o},{endsParent:!0,relevance:0,variants:r}]},c={className:"params",relevance:0,begin:/#+\d?/},d={variants:o},u={className:"built_in",relevance:0,begin:/[$&^_]/},h={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},f=e.COMMENT("%","$",{relevance:0}),m=[a,c,d,u,h,f],_={begin:/\{/,end:/\}/,relevance:0,contains:["self",...m]},g=e.inherit(_,{relevance:0,endsParent:!0,contains:[_,...m]}),b={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[_,...m]},E={begin:/\s+/,relevance:0},y=[g],v=[b],S=function(B,H){return{contains:[E],starts:{relevance:0,contains:B,starts:H}}},R=function(B,H){return{begin:"\\\\"+B+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+B},relevance:0,contains:[E],starts:H}},w=function(B,H){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+B+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},S(y,H))},A=(B="string")=>e.END_SAME_AS_BEGIN({className:B,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),M=function(B){return{className:"string",end:"(?=\\\\end\\{"+B+"\\})"}},x=(B="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:B,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(B=>R(B,{contains:[A()]})),R("mint",S(y,{contains:[A()]})),R("mintinline",S(y,{contains:[x(),A()]})),R("url",{contains:[x("link"),x("link")]}),R("hyperref",{contains:[x("link")]}),R("href",S(v,{contains:[x("link")]})),...[].concat(...["","\\*"].map(B=>[w("verbatim"+B,M("verbatim"+B)),w("filecontents"+B,S(y,M("filecontents"+B))),...["","B","L"].map(H=>w(H+"Verbatim"+B,S(v,M(H+"Verbatim"+B))))])),w("minted",S(v,S(y,M("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...m]}}return Xh=n,Xh}var Zh,HT;function NYe(){if(HT)return Zh;HT=1;function n(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return Zh=n,Zh}var Jh,qT;function OYe(){if(qT)return Jh;qT=1;function n(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,i={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},r={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[i]};return i.contains.unshift(r),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[i]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return Jh=n,Jh}var ef,$T;function IYe(){if($T)return ef;$T=1;const n=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.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:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.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"],t=["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"],i=["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(),o=s.concat(i);function a(c){const d=n(c),u=o,h="and or not only",f="[\\w-]+",m="("+f+"|@\\{"+f+"\\})",_=[],g=[],b=function(B){return{className:"string",begin:"~?"+B+".*?"+B}},E=function(B,H,te){return{className:B,begin:H,relevance:te}},y={$pattern:/[a-z-]+/,keyword:h,attribute:t.join(" ")},v={begin:"\\(",end:"\\)",contains:g,keywords:y,relevance:0};g.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,b("'"),b('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,v,E("variable","@@?"+f,10),E("variable","@\\{"+f+"\\}"),E("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const S=g.concat({begin:/\{/,end:/\}/,contains:_}),R={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(g)},w={begin:m+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:g}}]},A={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:y,returnEnd:!0,contains:g,relevance:0}},M={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:S}},x={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:m,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,R,E("keyword","all\\b"),E("variable","@\\{"+f+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,E("selector-tag",m,0),E("selector-id","#"+m),E("selector-class","\\."+m,0),E("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+s.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+i.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:S},{begin:"!important"},d.FUNCTION_DISPATCH]},O={begin:f+`:(:)?(${u.join("|")})`,returnBegin:!0,contains:[x]};return _.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,A,M,O,w,x,R,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:_}}return ef=a,ef}var tf,YT;function MYe(){if(YT)return tf;YT=1;function n(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",s="\\|[^]*?\\|",i="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",r={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:i,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+i+" +"+i,end:"\\)"}]},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),d={begin:"\\*",end:"\\*"},u={className:"symbol",begin:"[:&]"+t},h={begin:t,relevance:0},f={begin:s},_={contains:[o,a,d,u,{begin:"\\(",end:"\\)",contains:["self",r,a,o,h]},h],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+s}]},g={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},b={begin:"\\(\\s*",end:"\\)"},E={endsWithParent:!0,relevance:0};return b.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:s}]},E],E.contains=[_,g,b,r,o,a,c,d,u,f,h],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),r,a,c,_,g,b,h]}}return tf=n,tf}var nf,WT;function kYe(){if(WT)return nf;WT=1;function n(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},s=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],i=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),r=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[r,i],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,i].concat(s),illegal:";$|^\\[|^=|&|\\{"}}return nf=n,nf}var sf,KT;function DYe(){if(KT)return sf;KT=1;const n=["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"],e=["true","false","null","undefined","NaN","Infinity"],t=["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"],s=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],r=[].concat(i,t,s);function o(a){const c=["npm","print"],d=["yes","no","on","off","it","that","void"],u=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],h={keyword:n.concat(u),literal:e.concat(d),built_in:r.concat(c)},f="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",m=a.inherit(a.TITLE_MODE,{begin:f}),_={className:"subst",begin:/#\{/,end:/\}/,keywords:h},g={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:h},b=[a.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[a.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,_,g]},{begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,_,g]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[_,a.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+f},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];_.contains=b;const E={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:h,contains:["self"].concat(b)}]},y={begin:"(#=>|=>|\\|>>|-?->|!->)"},v={variants:[{match:[/class\s+/,f,/\s+extends\s+/,f]},{match:[/class\s+/,f]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:h};return{name:"LiveScript",aliases:["ls"],keywords:h,illegal:/\/\*/,contains:b.concat([a.COMMENT("\\/\\*","\\*\\/"),a.HASH_COMMENT_MODE,y,{className:"function",contains:[m,E],returnBegin:!0,variants:[{begin:"("+f+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+f+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+f+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},v,{begin:f+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return sf=o,sf}var rf,jT;function LYe(){if(jT)return rf;jT=1;function n(e){const t=e.regex,s=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},r={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},c={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},d={className:"variable",variants:[{begin:t.concat(/%/,s)},{begin:/%\d+/},{begin:/#\d+/}]},u={className:"title",variants:[{begin:t.concat(/@/,s)},{begin:/@\d+/},{begin:t.concat(/!/,s)},{begin:t.concat(/!\d+/,s)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},u,o,r,d,c,a]}}return rf=n,rf}var of,QT;function PYe(){if(QT)return of;QT=1;function n(e){const s={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},i={className:"number",relevance:0,begin:e.C_NUMBER_RE},r={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[s,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},i,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,r,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return of=n,of}var af,XT;function FYe(){if(XT)return af;XT=1;function n(e){const t="\\[=*\\[",s="\\]=*\\]",i={begin:t,end:s,contains:["self"]},r=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,s,{contains:[i],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:r.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:r}].concat(r)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:s,contains:[i],relevance:5}])}}return af=n,af}var lf,ZT;function UYe(){if(ZT)return lf;ZT=1;function n(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{g.has(A[0])||M.ignoreMatch()}},{className:"symbol",relevance:0,begin:_}]},E={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},y={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},v={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},S={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},R={className:"brace",relevance:0,begin:/[[\](){}]/},w={className:"message-name",relevance:0,begin:s.concat("::",_)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),v,S,w,b,E,t.QUOTE_STRING_MODE,m,y,R]}}return cf=e,cf}var df,ex;function GYe(){if(ex)return df;ex=1;function n(e){const t="('|\\.')+",s={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:s},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:s},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:s},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:s},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return df=n,df}var uf,tx;function VYe(){if(tx)return uf;tx=1;function n(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return uf=n,uf}var pf,nx;function zYe(){if(nx)return pf;nx=1;function n(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},s,e.C_BLOCK_COMMENT_MODE,i,e.NUMBER_MODE,r,o,{begin:/:-/},{begin:/\.$/}]}}return _f=n,_f}var hf,ix;function qYe(){if(ix)return hf;ix=1;function n(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return hf=n,hf}var ff,rx;function $Ye(){if(rx)return ff;rx=1;function n(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return ff=n,ff}var mf,ox;function YYe(){if(ox)return mf;ox=1;function n(e){const t=e.regex,s=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],i=/[dualxmsipngr]{0,12}/,r={$pattern:/[\w.]+/,keyword:s.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:r},a={begin:/->\{/,end:/\}/},c={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},d=[e.BACKSLASH_ESCAPE,o,c],u=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],h=(_,g,b="\\1")=>{const E=b==="\\1"?b:t.concat(b,g);return t.concat(t.concat("(?:",_,")"),g,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,b,i)},f=(_,g,b)=>t.concat(t.concat("(?:",_,")"),g,/(?:\\.|[^\\\/])*?/,b,i),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:h("s|tr|y",t.either(...u,{capture:!0}))},{begin:h("s|tr|y","\\(","\\)")},{begin:h("s|tr|y","\\[","\\]")},{begin:h("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",t.either(...u,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=m,a.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:r,contains:m}}return mf=n,mf}var gf,ax;function WYe(){if(ax)return gf;ax=1;function n(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return gf=n,gf}var bf,lx;function KYe(){if(lx)return bf;lx=1;function n(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},s={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},i={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),s,i,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return bf=n,bf}var Ef,cx;function jYe(){if(cx)return Ef;cx=1;function n(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},s="[A-Za-z$_][0-9A-Za-z$_]*",i={className:"subst",begin:/#\{/,end:/\}/,keywords:t},r=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];i.contains=r;const o=e.inherit(e.TITLE_MODE,{begin:s}),a="(\\(.*\\)\\s*)?\\B[-=]>",c={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(r)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:r.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,c]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[c]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Ef=n,Ef}var yf,dx;function QYe(){if(dx)return yf;dx=1;function n(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return yf=n,yf}var vf,ux;function XYe(){if(ux)return vf;ux=1;function n(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},s={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},i={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},r={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),r,i,t,s]}}return vf=n,vf}var Sf,px;function ZYe(){if(px)return Sf;px=1;function n(e){const t=e.regex,s={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[s]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},s]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Sf=n,Sf}var Tf,_x;function JYe(){if(_x)return Tf;_x=1;function n(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return Tf=n,Tf}var xf,hx;function eWe(){if(hx)return xf;hx=1;function n(e){const t={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},s={className:"subst",begin:/\$\{/,end:/\}/,keywords:t},i={className:"char.escape",begin:/''\$/},r={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},o={className:"string",contains:[i,s],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},a=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,r];return s.contains=a,{name:"Nix",aliases:["nixos"],keywords:t,contains:a}}return xf=n,xf}var Cf,fx;function tWe(){if(fx)return Cf;fx=1;function n(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Cf=n,Cf}var wf,mx;function nWe(){if(mx)return wf;mx=1;function n(e){const t=e.regex,s=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],i=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],r=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...s))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},c={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},d={className:"variable",begin:/\$+\([\w^.:!-]+\)/},u={className:"params",begin:t.either(...i)},h={className:"keyword",begin:t.concat(/!/,t.either(...r))},f={className:"char.escape",begin:/\$(\\[nrt]|\$)/},m={className:"title.function",begin:/\w+::\w+/},_={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[f,o,a,c,d]},g=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],b=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],E={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},v={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:g,literal:b},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),v,E,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},_,h,a,c,d,u,m,e.NUMBER_MODE]}}return wf=n,wf}var Rf,gx;function sWe(){if(gx)return Rf;gx=1;function n(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},s=/[a-zA-Z@][a-zA-Z0-9_]*/,c={"variable.language":["this","super"],$pattern:s,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},d={$pattern:s,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:c,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+d.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Rf=n,Rf}var Af,bx;function iWe(){if(bx)return Af;bx=1;function n(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return Af=n,Af}var Nf,Ex;function rWe(){if(Ex)return Nf;Ex=1;function n(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},s={className:"literal",begin:"false|true|PI|undef"},i={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",i,r,t,s]},c={begin:"[*!#%]",relevance:0},d={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,r,t,c,d]}}return Nf=n,Nf}var Of,yx;function oWe(){if(yx)return Of;yx=1;function n(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},s=e.COMMENT(/\{/,/\}/,{relevance:0}),i=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),r={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[r,o]},s,i]},c={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[s,i,e.C_LINE_COMMENT_MODE,r,o,e.NUMBER_MODE,a,c]}}return Of=n,Of}var If,vx;function aWe(){if(vx)return If;vx=1;function n(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return If=n,If}var Mf,Sx;function lWe(){if(Sx)return Mf;Sx=1;function n(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},s={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,s]}}return Mf=n,Mf}var kf,Tx;function cWe(){if(Tx)return kf;Tx=1;function n(e){const t=e.COMMENT("--","$"),s="[a-zA-Z_][a-zA-Z_0-9$]*",i="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",r="<<\\s*"+s+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",c="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",d="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",u=d.trim().split(" ").map(function(b){return b.split("|")[0]}).join("|"),h="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",f="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",m="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",g="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(b){return b.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+c+a,built_in:h+f+m},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+g+")\\s*\\("},{begin:"\\.("+u+")\\b"},{begin:"\\b("+u+")\\s+PATH\\b",keywords:{keyword:"PATH",type:d.replace("PATH ","")}},{className:"type",begin:"\\b("+u+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:i,end:i,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:r,relevance:10}]}}return kf=n,kf}var Df,xx;function dWe(){if(xx)return Df;xx=1;function n(e){const t=e.regex,s=/(?![A-Za-z0-9])(?![$])/,i=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,s),r=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,s),o={scope:"variable",match:"\\$+"+i},a={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},d=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),h={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(k,$)=>{$.data._beginMatch=k[1]||k[2]},"on:end":(k,$)=>{$.data._beginMatch!==k[1]&&$.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),m=`[ +]`,_={scope:"string",variants:[u,d,h,f]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},b=["false","null","true"],E=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],y=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],S={keyword:E,literal:(k=>{const $=[];return k.forEach(q=>{$.push(q),q.toLowerCase()===q?$.push(q.toUpperCase()):$.push(q.toLowerCase())}),$})(b),built_in:y},R=k=>k.map($=>$.replace(/\|\d+$/,"")),w={variants:[{match:[/new/,t.concat(m,"+"),t.concat("(?!",R(y).join("\\b|"),"\\b)"),r],scope:{1:"keyword",4:"title.class"}}]},A=t.concat(i,"\\b(?!\\()"),M={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),A],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[r,t.concat(/::/,t.lookahead(/(?!class\b)/)),A],scope:{1:"title.class",3:"variable.constant"}},{match:[r,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[r,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},x={scope:"attr",match:t.concat(i,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:S,contains:[x,o,M,e.C_BLOCK_COMMENT_MODE,_,g,w]},B={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",R(E).join("\\b|"),"|",R(y).join("\\b|"),"\\b)"),i,t.concat(m,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(B);const H=[x,M,e.C_BLOCK_COMMENT_MODE,_,g,w],te={begin:t.concat(/#\[\s*/,r),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:b,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:b,keyword:["new","array"]},contains:["self",...H]},...H,{scope:"meta",match:r}]};return{case_insensitive:!1,keywords:S,contains:[te,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},a,{scope:"variable.language",match:/\$this\b/},o,B,M,{match:[/const/,/\s/,i],scope:{1:"keyword",3:"variable.constant"}},w,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:S,contains:["self",o,M,e.C_BLOCK_COMMENT_MODE,_,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},_,g]}}return Df=n,Df}var Lf,Cx;function uWe(){if(Cx)return Lf;Cx=1;function n(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return Lf=n,Lf}var Pf,wx;function pWe(){if(wx)return Pf;wx=1;function n(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return Pf=n,Pf}var Ff,Rx;function _We(){if(Rx)return Ff;Rx=1;function n(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},s={className:"string",begin:'"""',end:'"""',relevance:10},i={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},r={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,s,i,r,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return Ff=n,Ff}var Uf,Ax;function hWe(){if(Ax)return Uf;Ax=1;function n(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],s="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",i="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",r={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},c={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},d={className:"literal",begin:/\$(null|true|false)\b/},u={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,c,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},h={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},f={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},m=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[f]}),_={className:"built_in",variants:[{begin:"(".concat(s,")+(-)[\\w\\d]+")}]},g={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},b={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[c]}]},E={begin:/using\s/,end:/$/,returnBegin:!0,contains:[u,h,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},y={variants:[{className:"operator",begin:"(".concat(i,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},v={className:"selector-tag",begin:/@\B/,relevance:0},S={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(r.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},R=[S,m,a,e.NUMBER_MODE,u,h,_,c,d,v],w={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",R,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return S.contains.unshift(w),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:r,contains:R.concat(g,b,E,y,w)}}return Uf=n,Uf}var Bf,Nx;function fWe(){if(Nx)return Bf;Nx=1;function n(e){const t=e.regex,s=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],i=e.IDENT_RE,r={variants:[{match:t.concat(t.either(...s),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,i,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,i],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,i],className:{2:"property"}},c={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,i]},{match:[/class/,/\s+/,i]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},d=["boolean","byte","char","color","double","float","int","long","short"],u=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...s,...u],type:d},contains:[c,o,r,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Bf=n,Bf}var Gf,Ox;function mWe(){if(Ox)return Gf;Ox=1;function n(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return Gf=n,Gf}var Vf,Ix;function gWe(){if(Ix)return Vf;Ix=1;function n(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},s={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},i={begin:/\(/,end:/\)/,relevance:0},r={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},c={className:"string",begin:/0'(\\'|.)/},d={className:"string",begin:/0'\\s/},h=[t,s,i,{begin:/:-/},r,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,c,d,e.C_NUMBER_MODE];return i.contains=h,r.contains=h,{name:"Prolog",contains:h.concat([{begin:/\.$/}])}}return Vf=n,Vf}var zf,Mx;function bWe(){if(Mx)return zf;Mx=1;function n(e){const t="[ \\t\\f]*",s="[ \\t\\f]+",i=t+"[:=]"+t,r=s,o="("+i+"|"+r+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",c={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+i},{begin:a+r}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:c},{className:"attr",begin:a+t+"$"}]}}return zf=n,zf}var Hf,kx;function EWe(){if(kx)return Hf;kx=1;function n(e){const t=["package","import","option","optional","required","repeated","group","oneof"],s=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],i={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:s,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return Hf=n,Hf}var qf,Dx;function yWe(){if(Dx)return qf;Dx=1;function n(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},s=e.COMMENT("#","$"),i="([A-Za-z_]|::)(\\w|::)*",r=e.inherit(e.TITLE_MODE,{begin:i}),o={className:"variable",begin:"\\$"+i},a={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[s,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[r,s]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[a,s,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return qf=n,qf}var $f,Lx;function vWe(){if(Lx)return $f;Lx=1;function n(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},s={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,s]}}return $f=n,$f}var Yf,Px;function SWe(){if(Px)return Yf;Px=1;function n(e){const t=e.regex,s=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],c={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:c,illegal:/#/},h={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,d,h,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,h,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,h,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m="[0-9](_?[0-9])*",_=`(\\b(${m}))?\\.(${m})|\\b(${m})\\.`,g=`\\b|${i.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${m})|(${_}))[eE][+-]?(${m})[jJ]?(?=${g})`},{begin:`(${_})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${m})[jJ](?=${g})`}]},E={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},y={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",d,b,f,e.HASH_COMMENT_MODE]}]};return u.contains=[f,b,d],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:c,illegal:/(<\/|\?)|=>/,contains:[d,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,E,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,s],scope:{1:"keyword",3:"title.function"},contains:[y]},{variants:[{match:[/\bclass/,/\s+/,s,/\s*/,/\(\s*/,s,/\s*\)/]},{match:[/\bclass/,/\s+/,s]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,y,f]}]}}return Yf=n,Yf}var Wf,Fx;function TWe(){if(Fx)return Wf;Fx=1;function n(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Wf=n,Wf}var Kf,Ux;function xWe(){if(Ux)return Kf;Ux=1;function n(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return Kf=n,Kf}var jf,Bx;function CWe(){if(Bx)return jf;Bx=1;function n(e){const t=e.regex,s={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",r={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},c={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},d={begin:t.concat(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:s,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,r,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,c,d],illegal:/#/}}return jf=n,jf}var Qf,Gx;function wWe(){if(Gx)return Qf;Gx=1;function n(e){const t=e.regex,s=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),r=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:s,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:s},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[r,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[o,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[s,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:r},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return Qf=n,Qf}var Xf,Vx;function RWe(){if(Vx)return Xf;Vx=1;function n(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return Xf=n,Xf}var Zf,zx;function AWe(){if(zx)return Zf;zx=1;function n(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),c,d,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[c,d,a,{className:"literal",begin:"\\b("+r.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+i.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return em=n,em}var tm,$x;function IWe(){if($x)return tm;$x=1;function n(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],s=["matrix","float","color","point","normal","vector"],i=["while","for","if","do","return","else","break","extern","continue"],r={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:i,built_in:t,type:s},illegal:""},s]}}return sm=n,sm}var im,Kx;function DWe(){if(Kx)return im;Kx=1;function n(e){const t=e.regex,s=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],i=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],r=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:s},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+t.either(...r)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:t.either(...i)+"(?=\\()"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}return im=n,im}var rm,jx;function LWe(){if(jx)return rm;jx=1;function n(e){const t=e.regex,s={className:"meta",begin:"@[A-Za-z]+"},i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},r={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[i],relevance:10}]},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},c={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a]},d={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[a]},u={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},h={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},f=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],m={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,o,d,c,e.C_NUMBER_MODE,u,h,...f,m,s]}}return rm=n,rm}var om,Qx;function PWe(){if(Qx)return om;Qx=1;function n(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",s="(-|\\+)?\\d+([./]\\d+)?",i=s+"[+\\-]"+s+"i",r={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:s,relevance:0},{begin:i,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},c=e.QUOTE_STRING_MODE,d=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],u={begin:t,relevance:0},h={className:"symbol",begin:"'"+t},f={endsWithParent:!0,relevance:0},m={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,c,a,u,h]}]},_={className:"name",relevance:0,begin:t,keywords:r},b={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[_,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[u]}]},_,f]};return f.contains=[o,a,c,u,h,m,b].concat(d),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),a,c,h,m,b].concat(d)}}return om=n,om}var am,Xx;function FWe(){if(Xx)return am;Xx=1;function n(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}return am=n,am}var lm,Zx;function UWe(){if(Zx)return lm;Zx=1;const n=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"],t=["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"],i=["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 o(a){const c=n(a),d=i,u=s,h="@[a-z-]+",f="and or not only",_={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,c.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},c.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+u.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+d.join("|")+")"},_,{begin:/\(/,end:/\)/,contains:[c.CSS_NUMBER_MODE]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[c.BLOCK_COMMENT,_,c.HEXCOLOR,c.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,c.IMPORTANT,c.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:h,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:t.join(" ")},contains:[{begin:h,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},_,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,c.HEXCOLOR,c.CSS_NUMBER_MODE]},c.FUNCTION_DISPATCH]}}return lm=o,lm}var cm,Jx;function BWe(){if(Jx)return cm;Jx=1;function n(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return cm=n,cm}var dm,e1;function GWe(){if(e1)return dm;e1=1;function n(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],s=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],i=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+i.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+s.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return dm=n,dm}var um,t1;function VWe(){if(t1)return um;t1=1;function n(e){const t="[a-z][a-zA-Z0-9_]*",s={className:"string",begin:"\\$.{1}"},i={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,i,s,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,s,e.C_NUMBER_MODE,i]}]}}return um=n,um}var pm,n1;function zWe(){if(n1)return pm;n1=1;function n(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return pm=n,pm}var _m,s1;function HWe(){if(s1)return _m;s1=1;function n(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},s={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},i={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},r=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(i,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:r,built_in:a,literal:o},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,s,i,c],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return _m=n,_m}var hm,i1;function qWe(){if(i1)return hm;i1=1;function n(e){const t=e.regex,s=e.COMMENT("--","$"),i={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},r={begin:/"/,end:/"/,contains:[{begin:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],c=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],d=["add","asc","collation","desc","final","first","last","view"],u=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],m=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],_=h,g=[...u,...d].filter(S=>!h.includes(S)),b={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:t.concat(/\b/,t.either(..._),/\s*\(/),relevance:0,keywords:{built_in:_}};function v(S,{exceptions:R,when:w}={}){const A=w;return R=R||[],S.map(M=>M.match(/\|\d+$/)||R.includes(M)?M:A(M)?`${M}|0`:M)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:v(g,{when:S=>S.length<3}),literal:o,type:c,built_in:f},contains:[{begin:t.either(...m),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(m),literal:o,type:c}},{className:"type",begin:t.either(...a)},y,b,i,r,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,s,E]}}return hm=n,hm}var fm,r1;function $We(){if(r1)return fm;r1=1;function n(e){const t=e.regex,s=["functions","model","data","parameters","quantities","transformed","generated"],i=["for","in","if","else","while","break","continue","return"],r=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],c=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),d={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},u=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:s,type:r,keyword:i,built_in:o},contains:[e.C_LINE_COMMENT_MODE,d,e.HASH_COMMENT_MODE,c,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...u),/\s*=/),keywords:u},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return fm=n,fm}var mm,o1;function YWe(){if(o1)return mm;o1=1;function n(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{begin:`"[^\r "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}return mm=n,mm}var gm,a1;function WWe(){if(a1)return gm;a1=1;function n(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return gm=n,gm}var bm,l1;function KWe(){if(l1)return bm;l1=1;const n=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"],t=["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"],i=["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 o(a){const c=n(a),d="and or not only",u={className:"variable",begin:"\\$"+a.IDENT_RE},h=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],f="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,c.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+f,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+s.join("|")+")"+f},{className:"selector-pseudo",begin:"&?:(:)?("+i.join("|")+")"+f},c.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:d,attribute:t.join(" ")},contains:[c.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+h.join("|")+"))\\b"},u,c.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[c.HEXCOLOR,u,a.APOS_STRING_MODE,c.CSS_NUMBER_MODE,a.QUOTE_STRING_MODE]}]},c.CSS_VARIABLE,{className:"attribute",begin:"\\b("+r.join("|")+")\\b",starts:{end:/;|$/,contains:[c.HEXCOLOR,u,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,c.CSS_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,c.IMPORTANT,c.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},c.FUNCTION_DISPATCH]}}return bm=o,bm}var Em,c1;function jWe(){if(c1)return Em;c1=1;function n(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return Em=n,Em}var ym,d1;function QWe(){if(d1)return ym;d1=1;function n(I){return I?typeof I=="string"?I:I.source:null}function e(I){return t("(?=",I,")")}function t(...I){return I.map(O=>n(O)).join("")}function s(I){const C=I[I.length-1];return typeof C=="object"&&C.constructor===Object?(I.splice(I.length-1,1),C):{}}function i(...I){return"("+(s(I).capture?"":"?:")+I.map(B=>n(B)).join("|")+")"}const r=I=>t(/\b/,I,/\w$/.test(I)?/\b/:/\B/),o=["Protocol","Type"].map(r),a=["init","self"].map(r),c=["Any","Self"],d=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],m=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],_=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=i(_,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=t(_,g,"*"),E=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),y=i(E,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),v=t(E,y,"*"),S=t(/[A-Z]/,y,"*"),R=["attached","autoclosure",t(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",t(/objc\(/,v,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],w=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function A(I){const C={match:/\s+/,relevance:0},O=I.COMMENT("/\\*","\\*/",{contains:["self"]}),B=[I.C_LINE_COMMENT_MODE,O],H={match:[/\./,i(...o,...a)],className:{2:"keyword"}},te={match:t(/\./,i(...d)),relevance:0},k=d.filter(Ye=>typeof Ye=="string").concat(["_|0"]),$=d.filter(Ye=>typeof Ye!="string").concat(c).map(r),q={variants:[{className:"keyword",match:i(...$,...a)}]},F={$pattern:i(/\b\w+/,/#\w+/),keyword:k.concat(f),literal:u},W=[H,te,q],ne={match:t(/\./,i(...m)),relevance:0},le={className:"built_in",match:t(/\b/,i(...m),/(?=\()/)},me=[ne,le],Se={match:/->/,relevance:0},de={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${g})+`}]},Ee=[Se,de],Me="([0-9]_*)+",ke="([0-9a-fA-F]_*)+",Z={className:"number",relevance:0,variants:[{match:`\\b(${Me})(\\.(${Me}))?([eE][+-]?(${Me}))?\\b`},{match:`\\b0x(${ke})(\\.(${ke}))?([pP][+-]?(${Me}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},he=(Ye="")=>({className:"subst",variants:[{match:t(/\\/,Ye,/[0\\tnr"']/)},{match:t(/\\/,Ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_e=(Ye="")=>({className:"subst",match:t(/\\/,Ye,/[\t ]*(?:[\r\n]|\r\n)/)}),we=(Ye="")=>({className:"subst",label:"interpol",begin:t(/\\/,Ye,/\(/),end:/\)/}),Pe=(Ye="")=>({begin:t(Ye,/"""/),end:t(/"""/,Ye),contains:[he(Ye),_e(Ye),we(Ye)]}),N=(Ye="")=>({begin:t(Ye,/"/),end:t(/"/,Ye),contains:[he(Ye),we(Ye)]}),z={className:"string",variants:[Pe(),Pe("#"),Pe("##"),Pe("###"),N(),N("#"),N("##"),N("###")]},Y=[I.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[I.BACKSLASH_ESCAPE]}],ce={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Y},oe=Ye=>{const nt=t(Ye,/\//),je=t(/\//,Ye);return{begin:nt,end:je,contains:[...Y,{scope:"comment",begin:`#(?!.*${je})`,end:/$/}]}},xe={scope:"regexp",variants:[oe("###"),oe("##"),oe("#"),ce]},Ne={match:t(/`/,v,/`/)},ie={className:"variable",match:/\$\d+/},Re={className:"variable",match:`\\$${y}+`},ge=[Ne,ie,Re],De={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:w,contains:[...Ee,Z,z]}]}},L={scope:"keyword",match:t(/@/,i(...R))},M={scope:"meta",match:t(/@/,v)},Q=[De,L,M],ye={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,y,"+")},{className:"type",match:S,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:t(/\s+&\s+/,e(S)),relevance:0}]},X={begin://,keywords:F,contains:[...B,...W,...Q,Se,ye]};ye.contains.push(X);const se={match:t(v,/\s*:/),keywords:"_|0",relevance:0},Ae={begin:/\(/,end:/\)/,relevance:0,keywords:F,contains:["self",se,...B,xe,...W,...me,...Ee,Z,z,...ge,...Q,ye]},Ce={begin://,keywords:"repeat each",contains:[...B,ye]},Ue={begin:i(e(t(v,/\s*:/)),e(t(v,/\s+/,v,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:v}]},Ze={begin:/\(/,end:/\)/,keywords:F,contains:[Ue,...B,...W,...Ee,Z,z,...Q,ye,Ae],endsParent:!0,illegal:/["']/},ft={match:[/(func|macro)/,/\s+/,i(Ne.match,v,b)],className:{1:"keyword",3:"title.function"},contains:[Ce,Ze,C],illegal:[/\[/,/%/]},Be={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ce,Ze,C],illegal:/\[|%/},pt={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},st={begin:[/precedencegroup/,/\s+/,S],className:{1:"keyword",3:"title"},contains:[ye],keywords:[...h,...u],end:/}/};for(const Ye of z.variants){const nt=Ye.contains.find(yt=>yt.label==="interpol");nt.keywords=F;const je=[...W,...me,...Ee,Z,z,...ge];nt.contains=[...je,{begin:/\(/,end:/\)/,contains:["self",...je]}]}return{name:"Swift",keywords:F,contains:[...B,ft,Be,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:F,contains:[I.inherit(I.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...W]},pt,st,{beginKeywords:"import",end:/$/,contains:[...B],relevance:0},xe,...W,...me,...Ee,Z,z,...ge,...Q,ye,Ae]}}return ym=A,ym}var vm,u1;function XWe(){if(u1)return vm;u1=1;function n(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return vm=n,vm}var Sm,p1;function ZWe(){if(p1)return Sm;p1=1;function n(e){const t="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c="[0-9]{4}(-[0-9][0-9]){0,2}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+c+d+u+h+"\\b"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},_={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},b=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},_,g,o],E=[...b];return E.pop(),E.push(a),m.contains=E,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}return Sm=n,Sm}var Tm,_1;function JWe(){if(_1)return Tm;_1=1;function n(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return Tm=n,Tm}var xm,h1;function eKe(){if(h1)return xm;h1=1;function n(e){const t=e.regex,s=/[a-zA-Z_][a-zA-Z0-9_]*/,i={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),s,"(::",s,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[i]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i]}}return xm=n,xm}var Cm,f1;function tKe(){if(f1)return Cm;f1=1;function n(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}return Cm=n,Cm}var wm,m1;function nKe(){if(m1)return wm;m1=1;function n(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},s={className:"symbol",begin:":[^\\]]+"},i={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,s]},r={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,s]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[i,r,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return wm=n,wm}var Rm,g1;function sKe(){if(g1)return Rm;g1=1;function n(e){const t=e.regex,s=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],i=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let r=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];r=r.concat(r.map(g=>`end${g}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},c={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,a]},d={beginKeywords:s.join(" "),keywords:{name:s},relevance:0,contains:[c]},u={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:i}]},h=(g,{relevance:b})=>({beginScope:{1:"template-tag",3:"name"},relevance:b||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...g)],end:/%\}/,keywords:"in",contains:[u,d,o,a]}),f=/[a-z_]+/,m=h(r,{relevance:2}),_=h([f],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),m,_,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",u,d,o,a]}]}}return Rm=n,Rm}var Am,b1;function iKe(){if(b1)return Am;b1=1;const n="[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"],t=["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"],i=["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"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,i);function c(u){const h=u.regex,f=(he,{after:_e})=>{const we="",end:""},g=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(he,_e)=>{const we=he[0].length+he.index,Pe=he.input[we];if(Pe==="<"||Pe===","){_e.ignoreMatch();return}Pe===">"&&(f(he,{after:we})||_e.ignoreMatch());let N;const z=he.input.substring(we);if(N=z.match(/^\s*=/)){_e.ignoreMatch();return}if((N=z.match(/^\s+extends\s+/))&&N.index===0){_e.ignoreMatch();return}}},E={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},y="[0-9](_?[0-9])*",v=`\\.(${y})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${S})((${v})|\\.)?|(${v}))[eE][+-]?(${y})\\b`},{begin:`\\b(${S})\\b((${v})\\b|\\.)?|(${v})\\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},w={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},A={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,w],subLanguage:"xml"}},I={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,w],subLanguage:"css"}},C={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,w],subLanguage:"graphql"}},O={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,w]},H={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:m+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},te=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,A,I,C,O,{match:/\$\d+/},R];w.contains=te.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(te)});const k=[].concat(H,w.contains),$=k.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(k)}]),q={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:$},F={variants:[{match:[/class/,/\s+/,m,/\s+/,/extends/,/\s+/,h.concat(m,"(",h.concat(/\./,m),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,m],scope:{1:"keyword",3:"title.class"}}]},W={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...i]}},ne={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},le={variants:[{match:[/function/,/\s+/,m,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[q],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Se(he){return h.concat("(?!",he.join("|"),")")}const de={match:h.concat(/\b/,Se([...r,"super","import"]),m,h.lookahead(/\(/)),className:"title.function",relevance:0},Ee={begin:h.concat(/\./,h.lookahead(h.concat(m,/(?![0-9A-Za-z$_(])/))),end:m,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Me={match:[/get|set/,/\s+/,m,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},q]},ke="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",Z={match:[/const|var|let/,/\s+/,m,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(ke)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[q]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:W},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),ne,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,A,I,C,O,H,{match:/\$\d+/},R,W,{className:"attr",begin:m+h.lookahead(":"),relevance:0},Z,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[H,u.REGEXP_MODE,{className:"function",begin:ke,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:$}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:g},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},le,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[q,u.inherit(u.TITLE_MODE,{begin:m,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+m,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[q]},de,me,F,Me,{match:/\$[(.]/}]}}function d(u){const h=c(u),f=n,m=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],_={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},g={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:m},contains:[h.exports.CLASS_REFERENCE]},b={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},E=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:n,keyword:e.concat(E),literal:t,built_in:a.concat(m),"variable.language":o},v={className:"meta",begin:"@"+f},S=(w,A,I)=>{const C=w.contains.findIndex(O=>O.label===A);if(C===-1)throw new Error("can not find mode to replace");w.contains.splice(C,1,I)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(v),h.contains=h.contains.concat([v,_,g]),S(h,"shebang",u.SHEBANG()),S(h,"use_strict",b);const R=h.contains.find(w=>w.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Am=d,Am}var Nm,E1;function rKe(){if(E1)return Nm;E1=1;function n(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return Nm=n,Nm}var Om,y1;function oKe(){if(y1)return Om;y1=1;function n(e){const t=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,c=/\d{1,2}(:\d{1,2}){1,2}/,d={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,r),/ *#/)},{begin:t.concat(/# */,c,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,r),/ +/,t.either(a,c),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),m=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,i,d,u,h,f,m,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[m]}]}}return Om=n,Om}var Mm,v1;function aKe(){if(v1)return Mm;v1=1;function n(e){const t=e.regex,s=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],i=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],r={begin:t.concat(t.either(...s),"\\s*\\("),relevance:0,keywords:{built_in:s}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:i,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[r,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return Mm=n,Mm}var Im,S1;function lKe(){if(S1)return Im;S1=1;function n(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return Im=n,Im}var km,T1;function cKe(){if(T1)return km;T1=1;function n(e){const t=e.regex,s={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},i=["__FILE__","__LINE__"],r=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:s,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...i))},{scope:"meta",begin:t.concat(/`/,t.either(...r)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:r}]}}return km=n,km}var Dm,x1;function dKe(){if(x1)return Dm;x1=1;function n(e){const t="\\d(_|\\d)*",s="[eE][-+]?"+t,i=t+"(\\."+t+")?("+s+")?",r="\\w+",a="\\b("+(t+"#"+r+"(\\."+r+")?#("+s+")?")+"|"+i+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:a,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return Dm=n,Dm}var Lm,C1;function uKe(){if(C1)return Lm;C1=1;function n(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return Lm=n,Lm}var Pm,w1;function pKe(){if(w1)return Pm;w1=1;function n(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const s=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},c={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},d={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[s,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,r,e.QUOTE_STRING_MODE,d,u,c]}}return Pm=n,Pm}var Fm,R1;function _Ke(){if(R1)return Fm;R1=1;function n(e){const t=e.regex,s=/[a-zA-Z]\w*/,i=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],r=["true","false","null"],o=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],c=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],d={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,s,/(?=\s*[({])/),className:"title.function"},u={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,s),t.either(...c)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:s}]}]}},h={variants:[{match:[/class\s+/,s,/\s+is\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},f={relevance:0,match:t.either(...c),className:"operator"},m={className:"string",begin:/"""/,end:/"""/},_={className:"property",begin:t.concat(/\./,t.lookahead(s)),end:s,excludeBegin:!0,relevance:0},g={relevance:0,match:t.concat(/\b_/,s),scope:"variable"},b={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},E=e.C_NUMBER_MODE,y={match:[s,/\s*/,/=/,/\s*/,/\(/,s,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},v=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),S={scope:"subst",begin:/%\(/,end:/\)/,contains:[E,b,d,g,f]},R={scope:"string",begin:/"/,end:/"/,contains:[S,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};S.contains.push(R);const w=[...i,...o,...r],A={relevance:0,match:t.concat("\\b(?!",w.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:i,"variable.language":o,literal:r},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:r},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},E,R,m,v,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,h,y,u,d,f,g,_,A]}}return Fm=n,Fm}var Um,A1;function hKe(){if(A1)return Um;A1=1;function n(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return Um=n,Um}var Bm,N1;function fKe(){if(N1)return Bm;N1=1;function n(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],s=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],i=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],o={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:s.concat(i)},a={className:"string",begin:'"',end:'"',illegal:"\\n"},c={className:"string",begin:"'",end:"'",illegal:"\\n"},d={className:"string",begin:"<<",end:">>"},u={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},h={beginKeywords:"import",end:"$",keywords:o,contains:[a]},f={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:o}})]};return{name:"XL",aliases:["tao"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,c,d,f,h,u,e.NUMBER_MODE]}}return Bm=n,Bm}var Gm,O1;function mKe(){if(O1)return Gm;O1=1;function n(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Gm=n,Gm}var Vm,M1;function gKe(){if(M1)return Vm;M1=1;function n(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},s=e.UNDERSCORE_TITLE_MODE,i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},r="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[s,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:["self",e.C_BLOCK_COMMENT_MODE,t,i]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},s]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[s]},{beginKeywords:"use",end:/;/,contains:[s]},{begin:/=>/},t,i]}}return Vm=n,Vm}var J=Vqe;J.registerLanguage("1c",zqe());J.registerLanguage("abnf",Hqe());J.registerLanguage("accesslog",qqe());J.registerLanguage("actionscript",$qe());J.registerLanguage("ada",Yqe());J.registerLanguage("angelscript",Wqe());J.registerLanguage("apache",Kqe());J.registerLanguage("applescript",jqe());J.registerLanguage("arcade",Qqe());J.registerLanguage("arduino",Xqe());J.registerLanguage("armasm",Zqe());J.registerLanguage("xml",Jqe());J.registerLanguage("asciidoc",e$e());J.registerLanguage("aspectj",t$e());J.registerLanguage("autohotkey",n$e());J.registerLanguage("autoit",s$e());J.registerLanguage("avrasm",i$e());J.registerLanguage("awk",r$e());J.registerLanguage("axapta",o$e());J.registerLanguage("bash",a$e());J.registerLanguage("basic",l$e());J.registerLanguage("bnf",c$e());J.registerLanguage("brainfuck",d$e());J.registerLanguage("c",u$e());J.registerLanguage("cal",p$e());J.registerLanguage("capnproto",_$e());J.registerLanguage("ceylon",h$e());J.registerLanguage("clean",f$e());J.registerLanguage("clojure",m$e());J.registerLanguage("clojure-repl",g$e());J.registerLanguage("cmake",b$e());J.registerLanguage("coffeescript",E$e());J.registerLanguage("coq",y$e());J.registerLanguage("cos",v$e());J.registerLanguage("cpp",S$e());J.registerLanguage("crmsh",T$e());J.registerLanguage("crystal",x$e());J.registerLanguage("csharp",C$e());J.registerLanguage("csp",w$e());J.registerLanguage("css",R$e());J.registerLanguage("d",A$e());J.registerLanguage("markdown",N$e());J.registerLanguage("dart",O$e());J.registerLanguage("delphi",M$e());J.registerLanguage("diff",I$e());J.registerLanguage("django",k$e());J.registerLanguage("dns",D$e());J.registerLanguage("dockerfile",L$e());J.registerLanguage("dos",P$e());J.registerLanguage("dsconfig",F$e());J.registerLanguage("dts",U$e());J.registerLanguage("dust",B$e());J.registerLanguage("ebnf",G$e());J.registerLanguage("elixir",V$e());J.registerLanguage("elm",z$e());J.registerLanguage("ruby",H$e());J.registerLanguage("erb",q$e());J.registerLanguage("erlang-repl",$$e());J.registerLanguage("erlang",Y$e());J.registerLanguage("excel",W$e());J.registerLanguage("fix",K$e());J.registerLanguage("flix",j$e());J.registerLanguage("fortran",Q$e());J.registerLanguage("fsharp",X$e());J.registerLanguage("gams",Z$e());J.registerLanguage("gauss",J$e());J.registerLanguage("gcode",eYe());J.registerLanguage("gherkin",tYe());J.registerLanguage("glsl",nYe());J.registerLanguage("gml",sYe());J.registerLanguage("go",iYe());J.registerLanguage("golo",rYe());J.registerLanguage("gradle",oYe());J.registerLanguage("graphql",aYe());J.registerLanguage("groovy",lYe());J.registerLanguage("haml",cYe());J.registerLanguage("handlebars",dYe());J.registerLanguage("haskell",uYe());J.registerLanguage("haxe",pYe());J.registerLanguage("hsp",_Ye());J.registerLanguage("http",hYe());J.registerLanguage("hy",fYe());J.registerLanguage("inform7",mYe());J.registerLanguage("ini",gYe());J.registerLanguage("irpf90",bYe());J.registerLanguage("isbl",EYe());J.registerLanguage("java",yYe());J.registerLanguage("javascript",vYe());J.registerLanguage("jboss-cli",SYe());J.registerLanguage("json",TYe());J.registerLanguage("julia",xYe());J.registerLanguage("julia-repl",CYe());J.registerLanguage("kotlin",wYe());J.registerLanguage("lasso",RYe());J.registerLanguage("latex",AYe());J.registerLanguage("ldif",NYe());J.registerLanguage("leaf",OYe());J.registerLanguage("less",MYe());J.registerLanguage("lisp",IYe());J.registerLanguage("livecodeserver",kYe());J.registerLanguage("livescript",DYe());J.registerLanguage("llvm",LYe());J.registerLanguage("lsl",PYe());J.registerLanguage("lua",FYe());J.registerLanguage("makefile",UYe());J.registerLanguage("mathematica",BYe());J.registerLanguage("matlab",GYe());J.registerLanguage("maxima",VYe());J.registerLanguage("mel",zYe());J.registerLanguage("mercury",HYe());J.registerLanguage("mipsasm",qYe());J.registerLanguage("mizar",$Ye());J.registerLanguage("perl",YYe());J.registerLanguage("mojolicious",WYe());J.registerLanguage("monkey",KYe());J.registerLanguage("moonscript",jYe());J.registerLanguage("n1ql",QYe());J.registerLanguage("nestedtext",XYe());J.registerLanguage("nginx",ZYe());J.registerLanguage("nim",JYe());J.registerLanguage("nix",eWe());J.registerLanguage("node-repl",tWe());J.registerLanguage("nsis",nWe());J.registerLanguage("objectivec",sWe());J.registerLanguage("ocaml",iWe());J.registerLanguage("openscad",rWe());J.registerLanguage("oxygene",oWe());J.registerLanguage("parser3",aWe());J.registerLanguage("pf",lWe());J.registerLanguage("pgsql",cWe());J.registerLanguage("php",dWe());J.registerLanguage("php-template",uWe());J.registerLanguage("plaintext",pWe());J.registerLanguage("pony",_We());J.registerLanguage("powershell",hWe());J.registerLanguage("processing",fWe());J.registerLanguage("profile",mWe());J.registerLanguage("prolog",gWe());J.registerLanguage("properties",bWe());J.registerLanguage("protobuf",EWe());J.registerLanguage("puppet",yWe());J.registerLanguage("purebasic",vWe());J.registerLanguage("python",SWe());J.registerLanguage("python-repl",TWe());J.registerLanguage("q",xWe());J.registerLanguage("qml",CWe());J.registerLanguage("r",wWe());J.registerLanguage("reasonml",RWe());J.registerLanguage("rib",AWe());J.registerLanguage("roboconf",NWe());J.registerLanguage("routeros",OWe());J.registerLanguage("rsl",MWe());J.registerLanguage("ruleslanguage",IWe());J.registerLanguage("rust",kWe());J.registerLanguage("sas",DWe());J.registerLanguage("scala",LWe());J.registerLanguage("scheme",PWe());J.registerLanguage("scilab",FWe());J.registerLanguage("scss",UWe());J.registerLanguage("shell",BWe());J.registerLanguage("smali",GWe());J.registerLanguage("smalltalk",VWe());J.registerLanguage("sml",zWe());J.registerLanguage("sqf",HWe());J.registerLanguage("sql",qWe());J.registerLanguage("stan",$We());J.registerLanguage("stata",YWe());J.registerLanguage("step21",WWe());J.registerLanguage("stylus",KWe());J.registerLanguage("subunit",jWe());J.registerLanguage("swift",QWe());J.registerLanguage("taggerscript",XWe());J.registerLanguage("yaml",ZWe());J.registerLanguage("tap",JWe());J.registerLanguage("tcl",eKe());J.registerLanguage("thrift",tKe());J.registerLanguage("tp",nKe());J.registerLanguage("twig",sKe());J.registerLanguage("typescript",iKe());J.registerLanguage("vala",rKe());J.registerLanguage("vbnet",oKe());J.registerLanguage("vbscript",aKe());J.registerLanguage("vbscript-html",lKe());J.registerLanguage("verilog",cKe());J.registerLanguage("vhdl",dKe());J.registerLanguage("vim",uKe());J.registerLanguage("wasm",pKe());J.registerLanguage("wren",_Ke());J.registerLanguage("x86asm",hKe());J.registerLanguage("xl",fKe());J.registerLanguage("xquery",mKe());J.registerLanguage("zephir",gKe());J.HighlightJS=J;J.default=J;var bKe=J;const ao=Tr(bKe),EKe="/assets/vscode_black-c05c76d9.svg",yKe="/assets/vscode-b22df1bb.svg";ao.configure({languages:[]});ao.configure({languages:["bash"]});ao.highlightAll();const vKe={props:{host:{type:String,required:!1,default:"http://localhost:9600"},language:{type:String,required:!0},client_id:{type:String,required:!0},code:{type:String,required:!0},discussion_id:{type:[String,Number],required:!0},message_id:{type:[String,Number],required:!0}},data(){return{isExecuting:!1,isCopied:!1,executionOutput:""}},mounted(){Le(()=>{ze.replace()})},computed:{highlightedCode(){let n;this.language==="vue"||this.language==="vue.js"?n="javascript":this.language==="function"?n="json":n=ao.getLanguage(this.language)?this.language:"plaintext";const e=this.code.trim(),t=e.split(` -`),s=t.length.toString().length,i=t.map((d,u)=>(u+1).toString().padStart(s," ")),r=document.createElement("div");r.classList.add("line-numbers"),r.innerHTML=i.join("
");const o=document.createElement("div");o.classList.add("code-container");const a=document.createElement("pre"),c=document.createElement("code");return c.classList.add("code-content"),c.innerHTML=ao.highlight(e,{language:n,ignoreIllegals:!0}).value,a.appendChild(c),o.appendChild(r),o.appendChild(a),o.outerHTML}},methods:{copyCode(){this.isCopied=!0,console.log("Copying code");const n=document.createElement("textarea");n.value=this.code,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),Le(()=>{ze.replace()})},executeCode(){this.isExecuting=!0;const n=JSON.stringify({client_id:this.client_id,code:this.code,discussion_id:this.discussion_id?this.discussion_id:0,message_id:this.message_id?this.message_id:0,language:this.language});console.log(n),fetch(`${this.host}/execute_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>(this.isExecuting=!1,e.json())).then(e=>{console.log(e),this.executionOutput=e.output}).catch(e=>{this.isExecuting=!1,console.error("Fetch error:",e)})},executeCode_in_new_tab(){this.isExecuting=!0;const n=JSON.stringify({client_id:this.client_id,code:this.code,discussion_id:this.discussion_id,message_id:this.message_id,language:this.language});console.log(n),fetch(`${this.host}/execute_code_in_new_tab`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>(this.isExecuting=!1,e.json())).then(e=>{console.log(e),this.executionOutput=e.output}).catch(e=>{this.isExecuting=!1,console.error("Fetch error:",e)})},openFolderVsCode(){const n=JSON.stringify({client_id:this.client_id,code:this.code,discussion_id:this.discussion_id,message_id:this.message_id});console.log(n),fetch(`${this.host}/open_discussion_folder_in_vs_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})},openVsCode(){const n=JSON.stringify({client_id:this.client_id,discussion_id:typeof this.discussion_id=="string"?parseInt(this.discussion_id):this.discussion_id,message_id:this.message_id,code:this.code});console.log(n),fetch(`${this.host}/open_code_in_vs_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})},openFolder(){const n=JSON.stringify({client_id:this.client_id,discussion_id:this.discussion_id});console.log(n),fetch(`${this.host}/open_discussion_folder`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})}}},SKe={class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},TKe={class:"hljs p-1 rounded-md break-all grid grid-cols-1"},xKe={class:"code-container"},CKe=["innerHTML"],wKe={class:"flex flex-row bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},RKe={class:"text-2xl mr-2"},AKe=["title"],NKe=l("i",{"data-feather":"copy"},null,-1),OKe=[NKe],MKe=l("i",{"data-feather":"play-circle"},null,-1),IKe=[MKe],kKe=l("i",{"data-feather":"airplay"},null,-1),DKe=[kKe],LKe=l("i",{"data-feather":"folder"},null,-1),PKe=[LKe],FKe=l("img",{src:EKe,width:"25",height:"25"},null,-1),UKe=[FKe],BKe=l("img",{src:yKe,width:"25",height:"25"},null,-1),GKe=[BKe],VKe={key:0,class:"text-2xl"},zKe={key:1,class:"hljs mt-0 p-1 rounded-md break-all grid grid-cols-1"},HKe={class:"container h-[200px] overflow-x-auto break-all scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},qKe=["innerHTML"];function $Ke(n,e,t,s,i,r){return T(),x("div",SKe,[l("pre",TKe,[Je(" "),l("div",xKe,[Je(` +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return Em=n,Em}var ym,d1;function QWe(){if(d1)return ym;d1=1;function n(M){return M?typeof M=="string"?M:M.source:null}function e(M){return t("(?=",M,")")}function t(...M){return M.map(O=>n(O)).join("")}function s(M){const x=M[M.length-1];return typeof x=="object"&&x.constructor===Object?(M.splice(M.length-1,1),x):{}}function i(...M){return"("+(s(M).capture?"":"?:")+M.map(B=>n(B)).join("|")+")"}const r=M=>t(/\b/,M,/\w$/.test(M)?/\b/:/\B/),o=["Protocol","Type"].map(r),a=["init","self"].map(r),c=["Any","Self"],d=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],h=["assignment","associativity","higherThan","left","lowerThan","none","right"],f=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],m=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],_=i(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=i(_,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),b=t(_,g,"*"),E=i(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),y=i(E,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),v=t(E,y,"*"),S=t(/[A-Z]/,y,"*"),R=["attached","autoclosure",t(/convention\(/,i("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",t(/objc\(/,v,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],w=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function A(M){const x={match:/\s+/,relevance:0},O=M.COMMENT("/\\*","\\*/",{contains:["self"]}),B=[M.C_LINE_COMMENT_MODE,O],H={match:[/\./,i(...o,...a)],className:{2:"keyword"}},te={match:t(/\./,i(...d)),relevance:0},k=d.filter(Ye=>typeof Ye=="string").concat(["_|0"]),$=d.filter(Ye=>typeof Ye!="string").concat(c).map(r),q={variants:[{className:"keyword",match:i(...$,...a)}]},F={$pattern:i(/\b\w+/,/#\w+/),keyword:k.concat(f),literal:u},W=[H,te,q],ne={match:t(/\./,i(...m)),relevance:0},le={className:"built_in",match:t(/\b/,i(...m),/(?=\()/)},me=[ne,le],Se={match:/->/,relevance:0},de={className:"operator",relevance:0,variants:[{match:b},{match:`\\.(\\.|${g})+`}]},Ee=[Se,de],Ie="([0-9]_*)+",ke="([0-9a-fA-F]_*)+",Z={className:"number",relevance:0,variants:[{match:`\\b(${Ie})(\\.(${Ie}))?([eE][+-]?(${Ie}))?\\b`},{match:`\\b0x(${ke})(\\.(${ke}))?([pP][+-]?(${Ie}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},he=(Ye="")=>({className:"subst",variants:[{match:t(/\\/,Ye,/[0\\tnr"']/)},{match:t(/\\/,Ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_e=(Ye="")=>({className:"subst",match:t(/\\/,Ye,/[\t ]*(?:[\r\n]|\r\n)/)}),we=(Ye="")=>({className:"subst",label:"interpol",begin:t(/\\/,Ye,/\(/),end:/\)/}),Pe=(Ye="")=>({begin:t(Ye,/"""/),end:t(/"""/,Ye),contains:[he(Ye),_e(Ye),we(Ye)]}),N=(Ye="")=>({begin:t(Ye,/"/),end:t(/"/,Ye),contains:[he(Ye),we(Ye)]}),z={className:"string",variants:[Pe(),Pe("#"),Pe("##"),Pe("###"),N(),N("#"),N("##"),N("###")]},Y=[M.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[M.BACKSLASH_ESCAPE]}],ce={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Y},oe=Ye=>{const nt=t(Ye,/\//),Ke=t(/\//,Ye);return{begin:nt,end:Ke,contains:[...Y,{scope:"comment",begin:`#(?!.*${Ke})`,end:/$/}]}},xe={scope:"regexp",variants:[oe("###"),oe("##"),oe("#"),ce]},Ne={match:t(/`/,v,/`/)},ie={className:"variable",match:/\$\d+/},Re={className:"variable",match:`\\$${y}+`},ge=[Ne,ie,Re],De={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:w,contains:[...Ee,Z,z]}]}},L={scope:"keyword",match:t(/@/,i(...R))},I={scope:"meta",match:t(/@/,v)},Q=[De,L,I],ye={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:t(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,y,"+")},{className:"type",match:S,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:t(/\s+&\s+/,e(S)),relevance:0}]},X={begin://,keywords:F,contains:[...B,...W,...Q,Se,ye]};ye.contains.push(X);const se={match:t(v,/\s*:/),keywords:"_|0",relevance:0},Ae={begin:/\(/,end:/\)/,relevance:0,keywords:F,contains:["self",se,...B,xe,...W,...me,...Ee,Z,z,...ge,...Q,ye]},Ce={begin://,keywords:"repeat each",contains:[...B,ye]},Fe={begin:i(e(t(v,/\s*:/)),e(t(v,/\s+/,v,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:v}]},Ze={begin:/\(/,end:/\)/,keywords:F,contains:[Fe,...B,...W,...Ee,Z,z,...Q,ye,Ae],endsParent:!0,illegal:/["']/},ft={match:[/(func|macro)/,/\s+/,i(Ne.match,v,b)],className:{1:"keyword",3:"title.function"},contains:[Ce,Ze,x],illegal:[/\[/,/%/]},Ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ce,Ze,x],illegal:/\[|%/},pt={match:[/operator/,/\s+/,b],className:{1:"keyword",3:"title"}},st={begin:[/precedencegroup/,/\s+/,S],className:{1:"keyword",3:"title"},contains:[ye],keywords:[...h,...u],end:/}/};for(const Ye of z.variants){const nt=Ye.contains.find(yt=>yt.label==="interpol");nt.keywords=F;const Ke=[...W,...me,...Ee,Z,z,...ge];nt.contains=[...Ke,{begin:/\(/,end:/\)/,contains:["self",...Ke]}]}return{name:"Swift",keywords:F,contains:[...B,ft,Ue,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:F,contains:[M.inherit(M.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...W]},pt,st,{beginKeywords:"import",end:/$/,contains:[...B],relevance:0},xe,...W,...me,...Ee,Z,z,...ge,...Q,ye,Ae]}}return ym=A,ym}var vm,u1;function XWe(){if(u1)return vm;u1=1;function n(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return vm=n,vm}var Sm,p1;function ZWe(){if(p1)return Sm;p1=1;function n(e){const t="true false yes no null",s="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},a=e.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c="[0-9]{4}(-[0-9][0-9]){0,2}",d="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",u="(\\.[0-9]*)?",h="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+c+d+u+h+"\\b"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},_={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},b=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+s},{className:"type",begin:"!<"+s+">"},{className:"type",begin:"!"+s},{className:"type",begin:"!!"+s},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},_,g,o],E=[...b];return E.pop(),E.push(a),m.contains=E,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:b}}return Sm=n,Sm}var Tm,_1;function JWe(){if(_1)return Tm;_1=1;function n(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return Tm=n,Tm}var xm,h1;function eKe(){if(h1)return xm;h1=1;function n(e){const t=e.regex,s=/[a-zA-Z_][a-zA-Z0-9_]*/,i={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),s,"(::",s,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[i]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i]}}return xm=n,xm}var Cm,f1;function tKe(){if(f1)return Cm;f1=1;function n(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}return Cm=n,Cm}var wm,m1;function nKe(){if(m1)return wm;m1=1;function n(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},s={className:"symbol",begin:":[^\\]]+"},i={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,s]},r={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,s]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[i,r,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return wm=n,wm}var Rm,g1;function sKe(){if(g1)return Rm;g1=1;function n(e){const t=e.regex,s=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],i=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let r=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];r=r.concat(r.map(g=>`end${g}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},c={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,a]},d={beginKeywords:s.join(" "),keywords:{name:s},relevance:0,contains:[c]},u={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:i}]},h=(g,{relevance:b})=>({beginScope:{1:"template-tag",3:"name"},relevance:b||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...g)],end:/%\}/,keywords:"in",contains:[u,d,o,a]}),f=/[a-z_]+/,m=h(r,{relevance:2}),_=h([f],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),m,_,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",u,d,o,a]}]}}return Rm=n,Rm}var Am,b1;function iKe(){if(b1)return Am;b1=1;const n="[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"],t=["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"],i=["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"],o=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],a=[].concat(r,s,i);function c(u){const h=u.regex,f=(he,{after:_e})=>{const we="",end:""},g=/<[A-Za-z0-9\\._:-]+\s*\/>/,b={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(he,_e)=>{const we=he[0].length+he.index,Pe=he.input[we];if(Pe==="<"||Pe===","){_e.ignoreMatch();return}Pe===">"&&(f(he,{after:we})||_e.ignoreMatch());let N;const z=he.input.substring(we);if(N=z.match(/^\s*=/)){_e.ignoreMatch();return}if((N=z.match(/^\s+extends\s+/))&&N.index===0){_e.ignoreMatch();return}}},E={$pattern:n,keyword:e,literal:t,built_in:a,"variable.language":o},y="[0-9](_?[0-9])*",v=`\\.(${y})`,S="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",R={className:"number",variants:[{begin:`(\\b(${S})((${v})|\\.)?|(${v}))[eE][+-]?(${y})\\b`},{begin:`\\b(${S})\\b((${v})\\b|\\.)?|(${v})\\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},w={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},A={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,w],subLanguage:"xml"}},M={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,w],subLanguage:"css"}},x={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[u.BACKSLASH_ESCAPE,w],subLanguage:"graphql"}},O={className:"string",begin:"`",end:"`",contains:[u.BACKSLASH_ESCAPE,w]},H={className:"comment",variants:[u.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:m+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),u.C_BLOCK_COMMENT_MODE,u.C_LINE_COMMENT_MODE]},te=[u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,A,M,x,O,{match:/\$\d+/},R];w.contains=te.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(te)});const k=[].concat(H,w.contains),$=k.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(k)}]),q={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:$},F={variants:[{match:[/class/,/\s+/,m,/\s+/,/extends/,/\s+/,h.concat(m,"(",h.concat(/\./,m),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,m],scope:{1:"keyword",3:"title.class"}}]},W={relevance:0,match:h.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...s,...i]}},ne={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},le={variants:[{match:[/function/,/\s+/,m,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[q],illegal:/%/},me={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Se(he){return h.concat("(?!",he.join("|"),")")}const de={match:h.concat(/\b/,Se([...r,"super","import"]),m,h.lookahead(/\(/)),className:"title.function",relevance:0},Ee={begin:h.concat(/\./,h.lookahead(h.concat(m,/(?![0-9A-Za-z$_(])/))),end:m,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ie={match:[/get|set/,/\s+/,m,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},q]},ke="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+u.UNDERSCORE_IDENT_RE+")\\s*=>",Z={match:[/const|var|let/,/\s+/,m,/\s*/,/=\s*/,/(async\s*)?/,h.lookahead(ke)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[q]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:W},illegal:/#(?![$_A-z])/,contains:[u.SHEBANG({label:"shebang",binary:"node",relevance:5}),ne,u.APOS_STRING_MODE,u.QUOTE_STRING_MODE,A,M,x,O,H,{match:/\$\d+/},R,W,{className:"attr",begin:m+h.lookahead(":"),relevance:0},Z,{begin:"("+u.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[H,u.REGEXP_MODE,{className:"function",begin:ke,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:u.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:$}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:g},{begin:b.begin,"on:begin":b.isTrulyOpeningTag,end:b.end}],subLanguage:"xml",contains:[{begin:b.begin,end:b.end,skip:!0,contains:["self"]}]}]},le,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+u.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[q,u.inherit(u.TITLE_MODE,{begin:m,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ee,{match:"\\$"+m,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[q]},de,me,F,Ie,{match:/\$[(.]/}]}}function d(u){const h=c(u),f=n,m=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],_={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[h.exports.CLASS_REFERENCE]},g={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:m},contains:[h.exports.CLASS_REFERENCE]},b={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},E=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],y={$pattern:n,keyword:e.concat(E),literal:t,built_in:a.concat(m),"variable.language":o},v={className:"meta",begin:"@"+f},S=(w,A,M)=>{const x=w.contains.findIndex(O=>O.label===A);if(x===-1)throw new Error("can not find mode to replace");w.contains.splice(x,1,M)};Object.assign(h.keywords,y),h.exports.PARAMS_CONTAINS.push(v),h.contains=h.contains.concat([v,_,g]),S(h,"shebang",u.SHEBANG()),S(h,"use_strict",b);const R=h.contains.find(w=>w.label==="func.def");return R.relevance=0,Object.assign(h,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),h}return Am=d,Am}var Nm,E1;function rKe(){if(E1)return Nm;E1=1;function n(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return Nm=n,Nm}var Om,y1;function oKe(){if(y1)return Om;y1=1;function n(e){const t=e.regex,s={className:"string",begin:/"(""|[^/n])"C\b/},i={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},r=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,c=/\d{1,2}(:\d{1,2}){1,2}/,d={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,r),/ *#/)},{begin:t.concat(/# */,c,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,r),/ +/,t.either(a,c),/ *#/)}]},u={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},h={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),m=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[s,i,d,u,h,f,m,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[m]}]}}return Om=n,Om}var Im,v1;function aKe(){if(v1)return Im;v1=1;function n(e){const t=e.regex,s=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],i=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],r={begin:t.concat(t.either(...s),"\\s*\\("),relevance:0,keywords:{built_in:s}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:i,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[r,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}return Im=n,Im}var Mm,S1;function lKe(){if(S1)return Mm;S1=1;function n(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return Mm=n,Mm}var km,T1;function cKe(){if(T1)return km;T1=1;function n(e){const t=e.regex,s={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},i=["__FILE__","__LINE__"],r=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:s,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...i))},{scope:"meta",begin:t.concat(/`/,t.either(...r)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:r}]}}return km=n,km}var Dm,x1;function dKe(){if(x1)return Dm;x1=1;function n(e){const t="\\d(_|\\d)*",s="[eE][-+]?"+t,i=t+"(\\."+t+")?("+s+")?",r="\\w+",a="\\b("+(t+"#"+r+"(\\."+r+")?#("+s+")?")+"|"+i+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:a,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}return Dm=n,Dm}var Lm,C1;function uKe(){if(C1)return Lm;C1=1;function n(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return Lm=n,Lm}var Pm,w1;function pKe(){if(w1)return Pm;w1=1;function n(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const s=e.COMMENT(/;;/,/$/),i=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],r={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},c={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},d={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},u={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:i},contains:[s,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,r,e.QUOTE_STRING_MODE,d,u,c]}}return Pm=n,Pm}var Fm,R1;function _Ke(){if(R1)return Fm;R1=1;function n(e){const t=e.regex,s=/[a-zA-Z]\w*/,i=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],r=["true","false","null"],o=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],c=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],d={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,s,/(?=\s*[({])/),className:"title.function"},u={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,s),t.either(...c)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:s}]}]}},h={variants:[{match:[/class\s+/,s,/\s+is\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},f={relevance:0,match:t.either(...c),className:"operator"},m={className:"string",begin:/"""/,end:/"""/},_={className:"property",begin:t.concat(/\./,t.lookahead(s)),end:s,excludeBegin:!0,relevance:0},g={relevance:0,match:t.concat(/\b_/,s),scope:"variable"},b={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},E=e.C_NUMBER_MODE,y={match:[s,/\s*/,/=/,/\s*/,/\(/,s,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},v=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),S={scope:"subst",begin:/%\(/,end:/\)/,contains:[E,b,d,g,f]},R={scope:"string",begin:/"/,end:/"/,contains:[S,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};S.contains.push(R);const w=[...i,...o,...r],A={relevance:0,match:t.concat("\\b(?!",w.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:i,"variable.language":o,literal:r},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:r},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},E,R,m,v,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,h,y,u,d,f,g,_,A]}}return Fm=n,Fm}var Um,A1;function hKe(){if(A1)return Um;A1=1;function n(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return Um=n,Um}var Bm,N1;function fKe(){if(N1)return Bm;N1=1;function n(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],s=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],i=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],o={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:s.concat(i)},a={className:"string",begin:'"',end:'"',illegal:"\\n"},c={className:"string",begin:"'",end:"'",illegal:"\\n"},d={className:"string",begin:"<<",end:">>"},u={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},h={beginKeywords:"import",end:"$",keywords:o,contains:[a]},f={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:o}})]};return{name:"XL",aliases:["tao"],keywords:o,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,c,d,f,h,u,e.NUMBER_MODE]}}return Bm=n,Bm}var Gm,O1;function mKe(){if(O1)return Gm;O1=1;function n(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Gm=n,Gm}var Vm,I1;function gKe(){if(I1)return Vm;I1=1;function n(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},s=e.UNDERSCORE_TITLE_MODE,i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},r="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:r,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[s,{className:"params",begin:/\(/,end:/\)/,keywords:r,contains:["self",e.C_BLOCK_COMMENT_MODE,t,i]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},s]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[s]},{beginKeywords:"use",end:/;/,contains:[s]},{begin:/=>/},t,i]}}return Vm=n,Vm}var J=Vqe;J.registerLanguage("1c",zqe());J.registerLanguage("abnf",Hqe());J.registerLanguage("accesslog",qqe());J.registerLanguage("actionscript",$qe());J.registerLanguage("ada",Yqe());J.registerLanguage("angelscript",Wqe());J.registerLanguage("apache",Kqe());J.registerLanguage("applescript",jqe());J.registerLanguage("arcade",Qqe());J.registerLanguage("arduino",Xqe());J.registerLanguage("armasm",Zqe());J.registerLanguage("xml",Jqe());J.registerLanguage("asciidoc",e$e());J.registerLanguage("aspectj",t$e());J.registerLanguage("autohotkey",n$e());J.registerLanguage("autoit",s$e());J.registerLanguage("avrasm",i$e());J.registerLanguage("awk",r$e());J.registerLanguage("axapta",o$e());J.registerLanguage("bash",a$e());J.registerLanguage("basic",l$e());J.registerLanguage("bnf",c$e());J.registerLanguage("brainfuck",d$e());J.registerLanguage("c",u$e());J.registerLanguage("cal",p$e());J.registerLanguage("capnproto",_$e());J.registerLanguage("ceylon",h$e());J.registerLanguage("clean",f$e());J.registerLanguage("clojure",m$e());J.registerLanguage("clojure-repl",g$e());J.registerLanguage("cmake",b$e());J.registerLanguage("coffeescript",E$e());J.registerLanguage("coq",y$e());J.registerLanguage("cos",v$e());J.registerLanguage("cpp",S$e());J.registerLanguage("crmsh",T$e());J.registerLanguage("crystal",x$e());J.registerLanguage("csharp",C$e());J.registerLanguage("csp",w$e());J.registerLanguage("css",R$e());J.registerLanguage("d",A$e());J.registerLanguage("markdown",N$e());J.registerLanguage("dart",O$e());J.registerLanguage("delphi",I$e());J.registerLanguage("diff",M$e());J.registerLanguage("django",k$e());J.registerLanguage("dns",D$e());J.registerLanguage("dockerfile",L$e());J.registerLanguage("dos",P$e());J.registerLanguage("dsconfig",F$e());J.registerLanguage("dts",U$e());J.registerLanguage("dust",B$e());J.registerLanguage("ebnf",G$e());J.registerLanguage("elixir",V$e());J.registerLanguage("elm",z$e());J.registerLanguage("ruby",H$e());J.registerLanguage("erb",q$e());J.registerLanguage("erlang-repl",$$e());J.registerLanguage("erlang",Y$e());J.registerLanguage("excel",W$e());J.registerLanguage("fix",K$e());J.registerLanguage("flix",j$e());J.registerLanguage("fortran",Q$e());J.registerLanguage("fsharp",X$e());J.registerLanguage("gams",Z$e());J.registerLanguage("gauss",J$e());J.registerLanguage("gcode",eYe());J.registerLanguage("gherkin",tYe());J.registerLanguage("glsl",nYe());J.registerLanguage("gml",sYe());J.registerLanguage("go",iYe());J.registerLanguage("golo",rYe());J.registerLanguage("gradle",oYe());J.registerLanguage("graphql",aYe());J.registerLanguage("groovy",lYe());J.registerLanguage("haml",cYe());J.registerLanguage("handlebars",dYe());J.registerLanguage("haskell",uYe());J.registerLanguage("haxe",pYe());J.registerLanguage("hsp",_Ye());J.registerLanguage("http",hYe());J.registerLanguage("hy",fYe());J.registerLanguage("inform7",mYe());J.registerLanguage("ini",gYe());J.registerLanguage("irpf90",bYe());J.registerLanguage("isbl",EYe());J.registerLanguage("java",yYe());J.registerLanguage("javascript",vYe());J.registerLanguage("jboss-cli",SYe());J.registerLanguage("json",TYe());J.registerLanguage("julia",xYe());J.registerLanguage("julia-repl",CYe());J.registerLanguage("kotlin",wYe());J.registerLanguage("lasso",RYe());J.registerLanguage("latex",AYe());J.registerLanguage("ldif",NYe());J.registerLanguage("leaf",OYe());J.registerLanguage("less",IYe());J.registerLanguage("lisp",MYe());J.registerLanguage("livecodeserver",kYe());J.registerLanguage("livescript",DYe());J.registerLanguage("llvm",LYe());J.registerLanguage("lsl",PYe());J.registerLanguage("lua",FYe());J.registerLanguage("makefile",UYe());J.registerLanguage("mathematica",BYe());J.registerLanguage("matlab",GYe());J.registerLanguage("maxima",VYe());J.registerLanguage("mel",zYe());J.registerLanguage("mercury",HYe());J.registerLanguage("mipsasm",qYe());J.registerLanguage("mizar",$Ye());J.registerLanguage("perl",YYe());J.registerLanguage("mojolicious",WYe());J.registerLanguage("monkey",KYe());J.registerLanguage("moonscript",jYe());J.registerLanguage("n1ql",QYe());J.registerLanguage("nestedtext",XYe());J.registerLanguage("nginx",ZYe());J.registerLanguage("nim",JYe());J.registerLanguage("nix",eWe());J.registerLanguage("node-repl",tWe());J.registerLanguage("nsis",nWe());J.registerLanguage("objectivec",sWe());J.registerLanguage("ocaml",iWe());J.registerLanguage("openscad",rWe());J.registerLanguage("oxygene",oWe());J.registerLanguage("parser3",aWe());J.registerLanguage("pf",lWe());J.registerLanguage("pgsql",cWe());J.registerLanguage("php",dWe());J.registerLanguage("php-template",uWe());J.registerLanguage("plaintext",pWe());J.registerLanguage("pony",_We());J.registerLanguage("powershell",hWe());J.registerLanguage("processing",fWe());J.registerLanguage("profile",mWe());J.registerLanguage("prolog",gWe());J.registerLanguage("properties",bWe());J.registerLanguage("protobuf",EWe());J.registerLanguage("puppet",yWe());J.registerLanguage("purebasic",vWe());J.registerLanguage("python",SWe());J.registerLanguage("python-repl",TWe());J.registerLanguage("q",xWe());J.registerLanguage("qml",CWe());J.registerLanguage("r",wWe());J.registerLanguage("reasonml",RWe());J.registerLanguage("rib",AWe());J.registerLanguage("roboconf",NWe());J.registerLanguage("routeros",OWe());J.registerLanguage("rsl",IWe());J.registerLanguage("ruleslanguage",MWe());J.registerLanguage("rust",kWe());J.registerLanguage("sas",DWe());J.registerLanguage("scala",LWe());J.registerLanguage("scheme",PWe());J.registerLanguage("scilab",FWe());J.registerLanguage("scss",UWe());J.registerLanguage("shell",BWe());J.registerLanguage("smali",GWe());J.registerLanguage("smalltalk",VWe());J.registerLanguage("sml",zWe());J.registerLanguage("sqf",HWe());J.registerLanguage("sql",qWe());J.registerLanguage("stan",$We());J.registerLanguage("stata",YWe());J.registerLanguage("step21",WWe());J.registerLanguage("stylus",KWe());J.registerLanguage("subunit",jWe());J.registerLanguage("swift",QWe());J.registerLanguage("taggerscript",XWe());J.registerLanguage("yaml",ZWe());J.registerLanguage("tap",JWe());J.registerLanguage("tcl",eKe());J.registerLanguage("thrift",tKe());J.registerLanguage("tp",nKe());J.registerLanguage("twig",sKe());J.registerLanguage("typescript",iKe());J.registerLanguage("vala",rKe());J.registerLanguage("vbnet",oKe());J.registerLanguage("vbscript",aKe());J.registerLanguage("vbscript-html",lKe());J.registerLanguage("verilog",cKe());J.registerLanguage("vhdl",dKe());J.registerLanguage("vim",uKe());J.registerLanguage("wasm",pKe());J.registerLanguage("wren",_Ke());J.registerLanguage("x86asm",hKe());J.registerLanguage("xl",fKe());J.registerLanguage("xquery",mKe());J.registerLanguage("zephir",gKe());J.HighlightJS=J;J.default=J;var bKe=J;const ao=Tr(bKe),EKe="/assets/vscode_black-c05c76d9.svg",yKe="/assets/vscode-b22df1bb.svg";ao.configure({languages:[]});ao.configure({languages:["bash"]});ao.highlightAll();const vKe={props:{host:{type:String,required:!1,default:"http://localhost:9600"},language:{type:String,required:!0},client_id:{type:String,required:!0},code:{type:String,required:!0},discussion_id:{type:[String,Number],required:!0},message_id:{type:[String,Number],required:!0}},data(){return{isExecuting:!1,isCopied:!1,executionOutput:""}},mounted(){Le(()=>{ze.replace()})},computed:{highlightedCode(){let n;this.language==="vue"||this.language==="vue.js"?n="javascript":this.language==="function"?n="json":n=ao.getLanguage(this.language)?this.language:"plaintext";const e=this.code.trim(),t=e.split(` +`),s=t.length.toString().length,i=t.map((d,u)=>(u+1).toString().padStart(s," ")),r=document.createElement("div");r.classList.add("line-numbers"),r.innerHTML=i.join("
");const o=document.createElement("div");o.classList.add("code-container");const a=document.createElement("pre"),c=document.createElement("code");return c.classList.add("code-content"),c.innerHTML=ao.highlight(e,{language:n,ignoreIllegals:!0}).value,a.appendChild(c),o.appendChild(r),o.appendChild(a),o.outerHTML}},methods:{copyCode(){this.isCopied=!0,console.log("Copying code");const n=document.createElement("textarea");n.value=this.code,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),Le(()=>{ze.replace()})},executeCode(){this.isExecuting=!0;const n=JSON.stringify({client_id:this.client_id,code:this.code,discussion_id:this.discussion_id?this.discussion_id:0,message_id:this.message_id?this.message_id:0,language:this.language});console.log(n),fetch(`${this.host}/execute_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>(this.isExecuting=!1,e.json())).then(e=>{console.log(e),this.executionOutput=e.output}).catch(e=>{this.isExecuting=!1,console.error("Fetch error:",e)})},executeCode_in_new_tab(){this.isExecuting=!0;const n=JSON.stringify({client_id:this.client_id,code:this.code,discussion_id:this.discussion_id,message_id:this.message_id,language:this.language});console.log(n),fetch(`${this.host}/execute_code_in_new_tab`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>(this.isExecuting=!1,e.json())).then(e=>{console.log(e),this.executionOutput=e.output}).catch(e=>{this.isExecuting=!1,console.error("Fetch error:",e)})},openFolderVsCode(){const n=JSON.stringify({client_id:this.client_id,code:this.code,discussion_id:this.discussion_id,message_id:this.message_id});console.log(n),fetch(`${this.host}/open_discussion_folder_in_vs_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})},openVsCode(){const n=JSON.stringify({client_id:this.client_id,discussion_id:typeof this.discussion_id=="string"?parseInt(this.discussion_id):this.discussion_id,message_id:this.message_id,code:this.code});console.log(n),fetch(`${this.host}/open_code_in_vs_code`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})},openFolder(){const n=JSON.stringify({client_id:this.client_id,discussion_id:this.discussion_id});console.log(n),fetch(`${this.host}/open_discussion_folder`,{method:"POST",headers:{"Content-Type":"application/json"},body:n}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{console.error("Fetch error:",e)})}}},SKe={class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},TKe={class:"hljs p-1 rounded-md break-all grid grid-cols-1"},xKe={class:"code-container"},CKe=["innerHTML"],wKe={class:"flex flex-row bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel p-2 rounded-lg shadow-sm"},RKe={class:"text-2xl mr-2"},AKe=["title"],NKe=l("i",{"data-feather":"copy"},null,-1),OKe=[NKe],IKe=l("i",{"data-feather":"play-circle"},null,-1),MKe=[IKe],kKe=l("i",{"data-feather":"airplay"},null,-1),DKe=[kKe],LKe=l("i",{"data-feather":"folder"},null,-1),PKe=[LKe],FKe=l("img",{src:EKe,width:"25",height:"25"},null,-1),UKe=[FKe],BKe=l("img",{src:yKe,width:"25",height:"25"},null,-1),GKe=[BKe],VKe={key:0,class:"text-2xl"},zKe={key:1,class:"hljs mt-0 p-1 rounded-md break-all grid grid-cols-1"},HKe={class:"container h-[200px] overflow-x-auto break-all scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},qKe=["innerHTML"];function $Ke(n,e,t,s,i,r){return T(),C("div",SKe,[l("pre",TKe,[Je(" "),l("div",xKe,[Je(` `),l("div",{class:"code-content overflow-x-auto break-all scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",innerHTML:r.highlightedCode,contenteditable:"true",onInput:e[0]||(e[0]=(...o)=>n.updateCode&&n.updateCode(...o))},null,40,CKe),Je(` `)]),Je(` - `)]),l("div",wKe,[l("span",RKe,K(t.language.trim()),1),l("button",{onClick:e[1]||(e[1]=(...o)=>r.copyCode&&r.copyCode(...o)),title:i.isCopied?"Copied!":"Copy code",class:Ge([i.isCopied?"bg-green-500":"","px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"])},OKe,10,AKe),["function","python","sh","shell","bash","cmd","powershell","latex","mermaid","graphviz","dot","javascript","html","html5","svg"].includes(t.language)?(T(),x("button",{key:0,ref:"btn_code_exec",onClick:e[2]||(e[2]=(...o)=>r.executeCode&&r.executeCode(...o)),title:"execute",class:Ge(["px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200",i.isExecuting?"bg-green-500":""])},IKe,2)):G("",!0),["airplay","mermaid","graphviz","dot","javascript","html","html5","svg","css"].includes(t.language.trim())?(T(),x("button",{key:1,ref:"btn_code_exec_in_new_tab",onClick:e[3]||(e[3]=(...o)=>r.executeCode_in_new_tab&&r.executeCode_in_new_tab(...o)),title:"execute",class:Ge(["px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200",i.isExecuting?"bg-green-500":""])},DKe,2)):G("",!0),l("button",{onClick:e[4]||(e[4]=(...o)=>r.openFolder&&r.openFolder(...o)),title:"open code project folder",class:"px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"},PKe),["python","latex","html"].includes(t.language.trim())?(T(),x("button",{key:2,onClick:e[5]||(e[5]=(...o)=>r.openFolderVsCode&&r.openFolderVsCode(...o)),title:"open code project folder in vscode",class:"px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"},UKe)):G("",!0),["python","latex","html"].includes(t.language.trim())?(T(),x("button",{key:3,onClick:e[6]||(e[6]=(...o)=>r.openVsCode&&r.openVsCode(...o)),title:"open code in vscode",class:"px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"},GKe)):G("",!0)]),i.executionOutput?(T(),x("span",VKe,"Execution output")):G("",!0),i.executionOutput?(T(),x("pre",zKe,[Je(" "),l("div",HKe,[Je(` + `)]),l("div",wKe,[l("span",RKe,K(t.language.trim()),1),l("button",{onClick:e[1]||(e[1]=(...o)=>r.copyCode&&r.copyCode(...o)),title:i.isCopied?"Copied!":"Copy code",class:Be([i.isCopied?"bg-green-500":"","px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"])},OKe,10,AKe),["function","python","sh","shell","bash","cmd","powershell","latex","mermaid","graphviz","dot","javascript","html","html5","svg"].includes(t.language)?(T(),C("button",{key:0,ref:"btn_code_exec",onClick:e[2]||(e[2]=(...o)=>r.executeCode&&r.executeCode(...o)),title:"execute",class:Be(["px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200",i.isExecuting?"bg-green-500":""])},MKe,2)):G("",!0),["airplay","mermaid","graphviz","dot","javascript","html","html5","svg","css"].includes(t.language.trim())?(T(),C("button",{key:1,ref:"btn_code_exec_in_new_tab",onClick:e[3]||(e[3]=(...o)=>r.executeCode_in_new_tab&&r.executeCode_in_new_tab(...o)),title:"execute",class:Be(["px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200",i.isExecuting?"bg-green-500":""])},DKe,2)):G("",!0),l("button",{onClick:e[4]||(e[4]=(...o)=>r.openFolder&&r.openFolder(...o)),title:"open code project folder",class:"px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"},PKe),["python","latex","html"].includes(t.language.trim())?(T(),C("button",{key:2,onClick:e[5]||(e[5]=(...o)=>r.openFolderVsCode&&r.openFolderVsCode(...o)),title:"open code project folder in vscode",class:"px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"},UKe)):G("",!0),["python","latex","html"].includes(t.language.trim())?(T(),C("button",{key:3,onClick:e[6]||(e[6]=(...o)=>r.openVsCode&&r.openVsCode(...o)),title:"open code in vscode",class:"px-2 py-1 mr-2 mb-2 text-left text-sm font-medium rounded-lg hover:bg-primary dark:hover:bg-primary text-white transition-colors duration-200"},GKe)):G("",!0)]),i.executionOutput?(T(),C("span",VKe,"Execution output")):G("",!0),i.executionOutput?(T(),C("pre",zKe,[Je(" "),l("div",HKe,[Je(` `),l("div",{ref:"execution_output",class:"w-full h-full 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",innerHTML:i.executionOutput},null,8,qKe),Je(` `)]),Je(` - `)])):G("",!0)])}const YKe=ot(vKe,[["render",$Ke]]);var X2={exports:{}};(function(n,e){(function(t,s){n.exports=s()})(_2,function(){function t(a,c){var d=a.pos;if(a.src.charCodeAt(d)!==92)return!1;var u=a.src.slice(++d).match(/^(?:\\\[|\\\(|begin\{([^}]*)\})/);if(!u)return!1;d+=u[0].length;var h,f,m;u[0]==="\\["?(h="display_math",f="\\\\]"):u[0]==="\\("?(h="inline_math",f="\\\\)"):u[1]&&(h="math",f="\\end{"+u[1]+"}",m=!0);var _=a.src.indexOf(f,d);if(_===-1)return!1;var g=_+f.length;if(!c){var b=a.push(h,"",0);b.content=m?a.src.slice(a.pos,g):a.src.slice(d,_)}return a.pos=g,!0}function s(a,c){var d=a.pos;if(a.src.charCodeAt(d)!==36)return!1;var u="$",h=a.src.charCodeAt(++d);if(h===36){if(u="$$",a.src.charCodeAt(++d)===36)return!1}else if(h===32||h===9||h===10)return!1;var f=a.src.indexOf(u,d);if(f===-1||a.src.charCodeAt(f-1)===92)return!1;var m=f+u.length;if(u.length===1){var _=a.src.charCodeAt(f-1);if(_===32||_===9||_===10)return!1;var g=a.src.charCodeAt(m);if(g>=48&&g<58)return!1}if(!c){var b=a.push(u.length===1?"inline_math":"display_math","",0);b.content=a.src.slice(d,f)}return a.pos=m,!0}function i(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const QKe={name:"MarkdownRenderer",props:{host:{type:String,required:!1,default:"http://localhost:9600"},client_id:{type:String,required:!0},markdownText:{type:String,required:!0},discussion_id:{type:[String,Number],default:"0",required:!1},message_id:{value:"0",type:[String,Number],required:!1}},components:{CodeBlock:YKe},setup(n){const e=new xEe({html:!0,highlight:(r,o)=>{const a=o&&ao.getLanguage(o)?o:"plaintext";return ao.highlight(a,r).value},renderInline:!0,breaks:!0}).use(A7e).use($o).use(L7e,{figcaption:!0}).use(K7e).use(k7e,{enableRowspan:!0,enableColspan:!0,enableGridTables:!0,enableGridTablesExtra:!0,enableTableIndentation:!0,tableCellPadding:" ",tableCellJoiner:"|",multilineCellStartMarker:"|>",multilineCellEndMarker:"<|",multilineCellPadding:" ",multilineCellJoiner:` -`}).use(KKe({inlineMath:[["$","$"],["\\(","\\)"]],blockMath:[["$$","$$"],["\\[","\\]"]]})),t=ct([]),s=()=>{if(n.markdownText){let r=e.parse(n.markdownText,{}),o=[];t.value=[];for(let a=0;a0&&(t.value.push({type:"html",html:e.renderer.render(o,e.options,{})}),o=[]),t.value.push({type:"code",language:jKe(r[a].info),code:r[a].content}));o.length>0&&(t.value.push({type:"html",html:e.renderer.render(o,e.options,{})}),o=[])}else t.value=[];Le(()=>{ze.replace()})},i=(r,o)=>{t.value[r].code=o};return Ln(()=>n.markdownText,s),fi(()=>{s(),Le(()=>{window.MathJax&&window.MathJax.typesetPromise()})}),{markdownItems:t,updateCode:i}}},XKe={class:"break-all container w-full"},ZKe={ref:"mdRender",class:"markdown-content"},JKe=["innerHTML"];function eje(n,e,t,s,i,r){const o=tt("code-block");return T(),x("div",XKe,[l("div",ZKe,[(T(!0),x(Fe,null,Ke(s.markdownItems,(a,c)=>(T(),x("div",{key:c},[a.type==="code"?(T(),dt(o,{key:0,host:t.host,language:a.language,code:a.code,discussion_id:t.discussion_id,message_id:t.message_id,client_id:t.client_id,onUpdateCode:d=>s.updateCode(c,d)},null,8,["host","language","code","discussion_id","message_id","client_id","onUpdateCode"])):(T(),x("div",{key:1,innerHTML:a.html},null,8,JKe))]))),128))],512)])}const dp=ot(QKe,[["render",eje]]),tje={data(){return{show:!1,has_button:!0,message:""}},components:{MarkdownRenderer:dp},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(n){this.message=n,this.has_button=!0,this.show=!0},showBlockingMessage(n){this.message=n,this.has_button=!1,this.show=!0},updateMessage(n){this.message=n,this.show=!0},hideMessage(){this.show=!1}}},nje={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 z-50"},sje={class:"pl-10 pr-10 bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},ije={class:"container max-h-500 overflow-y-auto"},rje={class:"text-lg font-medium"},oje={class:"mt-4 flex justify-center"},aje={key:1,"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"},lje=l("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"},null,-1),cje=l("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"},null,-1),dje=[lje,cje];function uje(n,e,t,s,i,r){const o=tt("MarkdownRenderer");return i.show?(T(),x("div",nje,[l("div",sje,[l("div",ije,[l("div",rje,[V(o,{ref:"mdRender",host:"","markdown-text":i.message,message_id:0,discussion_id:0},null,8,["markdown-text"])])]),l("div",oje,[i.has_button?(T(),x("button",{key:0,onClick:e[0]||(e[0]=(...a)=>r.hide&&r.hide(...a)),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 ")):G("",!0),i.has_button?G("",!0):(T(),x("svg",aje,dje))])])])):G("",!0)}const Z2=ot(tje,[["render",uje]]);const pje={props:{progress:{type:Number,required:!0}}},_je={class:"progress-bar-container"};function hje(n,e,t,s,i,r){return T(),x("div",_je,[l("div",{class:"progress-bar",style:Kt({width:`${t.progress}%`})},null,4)])}const up=ot(pje,[["render",hje]]),fje={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){Le(()=>{ze.replace()})},methods:{btn_clicked(n){console.log(n)},hide(n){this.show=!1,this.resolve&&n&&(this.resolve(this.controls_array),this.resolve=null)},showForm(n,e,t,s){this.ConfirmButtonText=t||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let i=0;i{this.controls_array=n,this.show=!0,this.title=e||this.title,this.resolve=i,console.log("show form",this.controls_array)})}},watch:{controls_array:{deep:!0,handler(n){n.forEach(e=>{e.type==="int"?e.value=parseInt(e.value):e.type==="float"&&(e.value=parseFloat(e.value))})}},show(){Le(()=>{ze.replace()})}}},mje={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},gje={class:"relative w-full max-w-md"},bje={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Eje={class:"flex flex-row flex-grow items-center m-2 p-1"},yje={class:"grow flex items-center"},vje=l("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Sje={class:"text-lg font-semibold select-none mr-2"},Tje={class:"items-end"},xje=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),Cje=l("span",{class:"sr-only"},"Close form modal",-1),wje=[xje,Cje],Rje={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},Aje={class:"px-2"},Nje={key:0},Oje={key:0},Mje={class:"text-base font-semibold"},Ije={key:0,class:"relative inline-flex"},kje=["onUpdate:modelValue"],Dje=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Lje={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Pje=["onUpdate:modelValue"],Fje={key:1},Uje={class:"text-base font-semibold"},Bje={key:0,class:"relative inline-flex"},Gje=["onUpdate:modelValue"],Vje=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),zje={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Hje=["onUpdate:modelValue"],qje=["value","selected"],$je={key:1},Yje={class:"",onclick:"btn_clicked(item)"},Wje={key:2},Kje={key:0},jje={class:"text-base font-semibold"},Qje={key:0,class:"relative inline-flex"},Xje=["onUpdate:modelValue"],Zje=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Jje={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},eQe=["onUpdate:modelValue"],tQe={key:1},nQe={class:"text-base font-semibold"},sQe={key:0,class:"relative inline-flex"},iQe=["onUpdate:modelValue"],rQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),oQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},aQe=["onUpdate:modelValue"],lQe=["value","selected"],cQe={key:3},dQe={class:"text-base font-semibold"},uQe={key:0,class:"relative inline-flex"},pQe=["onUpdate:modelValue"],_Qe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),hQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},fQe=["onUpdate:modelValue"],mQe=["onUpdate:modelValue","min","max"],gQe={key:4},bQe={class:"text-base font-semibold"},EQe={key:0,class:"relative inline-flex"},yQe=["onUpdate:modelValue"],vQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),SQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},TQe=["onUpdate:modelValue"],xQe=["onUpdate:modelValue","min","max"],CQe={key:5},wQe={class:"mb-2 relative flex items-center gap-2"},RQe={for:"default-checkbox",class:"text-base font-semibold"},AQe=["onUpdate:modelValue"],NQe={key:0,class:"relative inline-flex"},OQe=["onUpdate:modelValue"],MQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),IQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},kQe={key:6},DQe={class:"text-base font-semibold"},LQe={key:0,class:"relative inline-flex"},PQe=["onUpdate:modelValue"],FQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),UQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},BQe=["onUpdate:modelValue"],GQe=l("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),VQe={class:"flex flex-row flex-grow gap-3"},zQe={class:"p-2 text-center grow"};function HQe(n,e,t,s,i,r){return i.show?(T(),x("div",mje,[l("div",gje,[l("div",bje,[l("div",Eje,[l("div",yje,[vje,l("h3",Sje,K(i.title),1)]),l("div",Tje,[l("button",{type:"button",onClick:e[0]||(e[0]=j(o=>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"},wje)])]),l("div",Rje,[(T(!0),x(Fe,null,Ke(i.controls_array,(o,a)=>(T(),x("div",Aje,[o.type=="str"||o.type=="string"?(T(),x("div",Nje,[o.options?G("",!0):(T(),x("div",Oje,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",Mje,K(o.name)+": ",1),o.help?(T(),x("label",Ije,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,kje),[[$e,o.isHelp]]),Dje])):G("",!0)],2),o.isHelp?(T(),x("p",Lje,K(o.help),1)):G("",!0),P(l("input",{type:"text","onUpdate:modelValue":c=>o.value=c,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,Pje),[[pe,o.value]])])),o.options?(T(),x("div",Fje,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",Uje,K(o.name)+": ",1),o.help?(T(),x("label",Bje,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,Gje),[[$e,o.isHelp]]),Vje])):G("",!0)],2),o.isHelp?(T(),x("p",zje,K(o.help),1)):G("",!0),P(l("select",{"onUpdate:modelValue":c=>o.value=c,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),x(Fe,null,Ke(o.options,c=>(T(),x("option",{value:c,selected:o.value===c},K(c),9,qje))),256))],8,Hje),[[Dt,o.value]])])):G("",!0)])):G("",!0),o.type=="btn"?(T(),x("div",$je,[l("button",Yje,K(o.name),1)])):G("",!0),o.type=="text"?(T(),x("div",Wje,[o.options?G("",!0):(T(),x("div",Kje,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",jje,K(o.name)+": ",1),o.help?(T(),x("label",Qje,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,Xje),[[$e,o.isHelp]]),Zje])):G("",!0)],2),o.isHelp?(T(),x("p",Jje,K(o.help),1)):G("",!0),P(l("textarea",{"onUpdate:modelValue":c=>o.value=c,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,eQe),[[pe,o.value]])])),o.options?(T(),x("div",tQe,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",nQe,K(o.name)+": ",1),o.help?(T(),x("label",sQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,iQe),[[$e,o.isHelp]]),rQe])):G("",!0)],2),o.isHelp?(T(),x("p",oQe,K(o.help),1)):G("",!0),P(l("select",{"onUpdate:modelValue":c=>o.value=c,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),x(Fe,null,Ke(o.options,c=>(T(),x("option",{value:c,selected:o.value===c},K(c),9,lQe))),256))],8,aQe),[[Dt,o.value]])])):G("",!0)])):G("",!0),o.type=="int"?(T(),x("div",cQe,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",dQe,K(o.name)+": ",1),o.help?(T(),x("label",uQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,pQe),[[$e,o.isHelp]]),_Qe])):G("",!0)],2),o.isHelp?(T(),x("p",hQe,K(o.help),1)):G("",!0),P(l("input",{type:"number","onUpdate:modelValue":c=>o.value=c,step:"1",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,fQe),[[pe,o.value]]),o.min!=null&&o.max!=null?P((T(),x("input",{key:1,type:"range","onUpdate:modelValue":c=>o.value=c,min:o.min,max:o.max,step:"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,mQe)),[[pe,o.value]]):G("",!0)])):G("",!0),o.type=="float"?(T(),x("div",gQe,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",bQe,K(o.name)+": ",1),o.help?(T(),x("label",EQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,yQe),[[$e,o.isHelp]]),vQe])):G("",!0)],2),o.isHelp?(T(),x("p",SQe,K(o.help),1)):G("",!0),P(l("input",{type:"number","onUpdate:modelValue":c=>o.value=c,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,TQe),[[pe,o.value]]),o.min!=null&&o.max!=null?P((T(),x("input",{key:1,type:"range","onUpdate:modelValue":c=>o.value=c,min:o.min,max:o.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,xQe)),[[pe,o.value]]):G("",!0)])):G("",!0),o.type=="bool"?(T(),x("div",CQe,[l("div",wQe,[l("label",RQe,K(o.name)+": ",1),P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.value=c,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,AQe),[[$e,o.value]]),o.help?(T(),x("label",NQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,OQe),[[$e,o.isHelp]]),MQe])):G("",!0)]),o.isHelp?(T(),x("p",IQe,K(o.help),1)):G("",!0)])):G("",!0),o.type=="list"?(T(),x("div",kQe,[l("label",{class:Ge(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",DQe,K(o.name)+": ",1),o.help?(T(),x("label",LQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,PQe),[[$e,o.isHelp]]),FQe])):G("",!0)],2),o.isHelp?(T(),x("p",UQe,K(o.help),1)):G("",!0),P(l("input",{type:"text","onUpdate:modelValue":c=>o.value=c,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,BQe),[[pe,o.value]])])):G("",!0),GQe]))),256)),l("div",VQe,[l("div",zQe,[l("button",{onClick:e[1]||(e[1]=j(o=>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"},K(i.ConfirmButtonText),1),l("button",{onClick:e[2]||(e[2]=j(o=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-11 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},K(i.DenyButtonText),1)])])])])])])):G("",!0)}const hc=ot(fje,[["render",HQe]]),qQe={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},askQuestion(n,e,t){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=t||this.DenyButtonText,new Promise(s=>{this.message=n,this.show=!0,this.resolve=s})}}},$Qe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},YQe={class:"relative w-full max-w-md max-h-full"},WQe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},KQe=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),jQe=l("span",{class:"sr-only"},"Close modal",-1),QQe=[KQe,jQe],XQe={class:"p-4 text-center"},ZQe=l("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"},[l("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),JQe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function eXe(n,e,t,s,i,r){return i.show?(T(),x("div",$Qe,[l("div",YQe,[l("div",WQe,[l("button",{type:"button",onClick:e[0]||(e[0]=o=>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"},QQe),l("div",XQe,[ZQe,l("h3",JQe,K(i.message),1),l("button",{onClick:e[1]||(e[1]=o=>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"},K(i.ConfirmButtonText),1),l("button",{onClick:e[2]||(e[2]=o=>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"},K(i.DenyButtonText),1)])])])])):G("",!0)}const J2=ot(qQe,[["render",eXe]]),tXe={props:{personality:{type:Object,required:!0},config:{type:Object,required:!0}},data(){return{show:!1,title:"Add AI Agent",iconUrl:"",file:null,tempConfig:{}}},methods:{showForm(){this.showDialog=!0},hideForm(){this.showDialog=!1},selectIcon(n){n.target.files&&(this.file=n.target.files[0],this.iconUrl=URL.createObjectURL(this.file))},showPanel(){this.show=!0},hide(){this.show=!1},submitForm(){re.post("/set_personality_config",{client_id:this.$store.state.client_id,category:this.personality.category,name:this.personality.folder,config:this.config}).then(n=>{const e=n.data;console.log("Done"),e.status?(this.currentPersonConfig=e.config,this.showPersonalityEditor=!0):console.error(e.error)}).catch(n=>{console.error(n)})}}},nXe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 z-20"},sXe={class:"relative w-full max-h-full bg-bg-light dark:bg-bg-dark"},iXe={class:"w-full h-full relative items-center gap-2 rounded-lg border bg-bg-light dark:bg-bg-dark p-1.5 shadow-sm hover:shadow-none dark:border-gray-800 dark:bg-gray-900"},rXe=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),oXe=l("span",{class:"sr-only"},"Close modal",-1),aXe=[rXe,oXe],lXe={class:"justify-center text-center items-center w-full bg-bg-light dark:bg-bg-dark"},cXe={class:"w-full flex flex-row mt-4 text-center justify-center"},dXe={class:"w-full max-h-full container bg-bg-light dark:bg-bg-dark"},uXe={class:"mb-4 w-full"},pXe={class:"w-full bg-bg-light dark:bg-bg-dark"},_Xe=l("td",null,[l("label",{for:"personalityConditioning"},"Personality Conditioning:")],-1),hXe=l("td",null,[l("label",{for:"userMessagePrefix"},"User Message Prefix:")],-1),fXe=l("td",null,[l("label",{for:"aiMessagePrefix"},"AI Message Prefix:")],-1),mXe=l("td",null,[l("label",{for:"linkText"},"Link Text:")],-1),gXe=l("td",null,[l("label",{for:"welcomeMessage"},"Welcome Message:")],-1),bXe=l("td",null,[l("label",{for:"modelTemperature"},"Model Temperature:")],-1),EXe=l("td",null,[l("label",{for:"modelTopK"},"Model Top K:")],-1),yXe=l("td",null,[l("label",{for:"modelTopP"},"Model Top P:")],-1),vXe=l("td",null,[l("label",{for:"modelRepeatPenalty"},"Model Repeat Penalty:")],-1),SXe=l("td",null,[l("label",{for:"modelRepeatLastN"},"Model Repeat Last N:")],-1),TXe=l("td",null,[l("label",{for:"recommendedBinding"},"Recommended Binding:")],-1),xXe=l("td",null,[l("label",{for:"recommendedModel"},"Recommended Model:")],-1),CXe=l("td",null,[l("label",{class:"dark:bg-black dark:text-primary w-full",for:"dependencies"},"Dependencies:")],-1),wXe=l("td",null,[l("label",{for:"antiPrompts"},"Anti Prompts:")],-1);function RXe(n,e,t,s,i,r){return i.show?(T(),x("div",nXe,[l("div",sXe,[l("div",iXe,[l("button",{type:"button",onClick:e[0]||(e[0]=o=>r.hide()),class:"absolute top-1 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"},aXe),l("div",lXe,[l("div",cXe,[l("button",{type:"submit",onClick:e[1]||(e[1]=j((...o)=>r.submitForm&&r.submitForm(...o),["prevent"])),class:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"}," Commit AI to Server "),l("button",{onClick:e[2]||(e[2]=j(o=>r.hide(),["prevent"])),class:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"}," Close ")]),l("div",dXe,[l("form",uXe,[l("table",pXe,[l("tr",null,[_Xe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"personalityConditioning","onUpdate:modelValue":e[3]||(e[3]=o=>t.config.personality_conditioning=o)},null,512),[[pe,t.config.personality_conditioning]])])]),l("tr",null,[hXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"userMessagePrefix","onUpdate:modelValue":e[4]||(e[4]=o=>t.config.user_message_prefix=o)},null,512),[[pe,t.config.user_message_prefix]])])]),l("tr",null,[fXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"aiMessagePrefix","onUpdate:modelValue":e[5]||(e[5]=o=>t.config.ai_message_prefix=o)},null,512),[[pe,t.config.ai_message_prefix]])])]),l("tr",null,[mXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"linkText","onUpdate:modelValue":e[6]||(e[6]=o=>t.config.link_text=o)},null,512),[[pe,t.config.link_text]])])]),l("tr",null,[gXe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"welcomeMessage","onUpdate:modelValue":e[7]||(e[7]=o=>t.config.welcome_message=o)},null,512),[[pe,t.config.welcome_message]])])]),l("tr",null,[bXe,l("td",null,[P(l("input",{type:"number",id:"modelTemperature","onUpdate:modelValue":e[8]||(e[8]=o=>t.config.model_temperature=o)},null,512),[[pe,t.config.model_temperature]])])]),l("tr",null,[EXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelTopK","onUpdate:modelValue":e[9]||(e[9]=o=>t.config.model_top_k=o)},null,512),[[pe,t.config.model_top_k]])])]),l("tr",null,[yXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelTopP","onUpdate:modelValue":e[10]||(e[10]=o=>t.config.model_top_p=o)},null,512),[[pe,t.config.model_top_p]])])]),l("tr",null,[vXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelRepeatPenalty","onUpdate:modelValue":e[11]||(e[11]=o=>t.config.model_repeat_penalty=o)},null,512),[[pe,t.config.model_repeat_penalty]])])]),l("tr",null,[SXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelRepeatLastN","onUpdate:modelValue":e[12]||(e[12]=o=>t.config.model_repeat_last_n=o)},null,512),[[pe,t.config.model_repeat_last_n]])])]),l("tr",null,[TXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"recommendedBinding","onUpdate:modelValue":e[13]||(e[13]=o=>t.config.recommended_binding=o)},null,512),[[pe,t.config.recommended_binding]])])]),l("tr",null,[xXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"recommendedModel","onUpdate:modelValue":e[14]||(e[14]=o=>t.config.recommended_model=o)},null,512),[[pe,t.config.recommended_model]])])]),l("tr",null,[CXe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"dependencies","onUpdate:modelValue":e[15]||(e[15]=o=>t.config.dependencies=o)},null,512),[[pe,t.config.dependencies]])])]),l("tr",null,[wXe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"antiPrompts","onUpdate:modelValue":e[16]||(e[16]=o=>t.config.anti_prompts=o)},null,512),[[pe,t.config.anti_prompts]])])])])])])])])])])):G("",!0)}const eN=ot(tXe,[["render",RXe]]);const AXe={data(){return{showPopup:!1,webpageUrl:"https://lollms.com/"}},methods:{show(){this.showPopup=!0},hide(){this.showPopup=!1},save_configuration(){re.post("/apply_settings",{client_id:this.$store.state.client_id,config:this.$store.state.config}).then(n=>{this.isLoading=!1,n.data.status?(this.$store.state.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1)})}}},NXe=n=>(Rs("data-v-d504dfc9"),n=n(),As(),n),OXe={key:0,class:"fixed inset-0 flex items-center justify-center z-50"},MXe={class:"popup-container"},IXe=["src"],kXe={class:"checkbox-container"},DXe=NXe(()=>l("label",{for:"startup",class:"checkbox-label"},"Show at startup",-1));function LXe(n,e,t,s,i,r){return T(),dt(Hs,{name:"fade"},{default:Ie(()=>[i.showPopup?(T(),x("div",OXe,[l("div",MXe,[l("button",{onClick:e[0]||(e[0]=(...o)=>r.hide&&r.hide(...o)),class:"close-button"}," X "),l("iframe",{src:i.webpageUrl,class:"iframe-content"},null,8,IXe),l("div",kXe,[P(l("input",{type:"checkbox",id:"startup",class:"styled-checkbox","onUpdate:modelValue":e[1]||(e[1]=o=>this.$store.state.config.show_news_panel=o),onChange:e[2]||(e[2]=(...o)=>r.save_configuration&&r.save_configuration(...o))},null,544),[[$e,this.$store.state.config.show_news_panel]]),DXe])])])):G("",!0)]),_:1})}const tN=ot(AXe,[["render",LXe],["__scopeId","data-v-d504dfc9"]]),PXe={props:{href:{type:String,default:"#"},icon:{type:String,required:!0},title:{type:String,default:""}},methods:{onClick(n){this.href==="#"&&(n.preventDefault(),this.$emit("click"))}}},FXe=["href","title"],UXe=["data-feather"];function BXe(n,e,t,s,i,r){return T(),x("a",{href:t.href,onClick:e[0]||(e[0]=(...o)=>r.onClick&&r.onClick(...o)),class:"text-2xl hover:text-primary transition duration-150 ease-in-out",title:t.title},[l("i",{"data-feather":t.icon},null,8,UXe)],8,FXe)}const Dd=ot(PXe,[["render",BXe]]),GXe={props:{href:{type:String,required:!0},icon:{type:String,required:!0},title:{type:String,default:"Visit our social media"}}},VXe=["href","title"],zXe=["data-feather"],HXe={key:1,class:"w-6 h-6 fill-current",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},qXe=l("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"},null,-1),$Xe=[qXe],YXe={key:2,class:"w-6 h-6 fill-current",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},WXe=l("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"},null,-1),KXe=[WXe];function jXe(n,e,t,s,i,r){return T(),x("a",{href:t.href,target:"_blank",class:"text-2xl hover:text-primary transition duration-150 ease-in-out",title:t.title},[t.icon!=="x"&&t.icon!=="discord"?(T(),x("i",{key:0,"data-feather":t.icon},null,8,zXe)):t.icon==="x"?(T(),x("svg",HXe,$Xe)):t.icon==="discord"?(T(),x("svg",YXe,KXe)):G("",!0)],8,VXe)}const yl=ot(GXe,[["render",jXe]]),QXe="/assets/fastapi-4a6542d0.png",XXe="/assets/discord-6817c341.svg",ZXe={key:0,class:"navbar-container z-60"},JXe={class:"game-menu"},eZe={key:0,class:"feather-emoji"},tZe={name:"Navigation",computed:{filteredNavLinks(){return filteredNavLinks.value}}},nN=Object.assign(tZe,{setup(n){const e=D3(),t=ct(0),s=ct([]),i=[{active:!0,route:"discussions",text:"Discussions"},{active:!0,route:"playground",text:"Playground"},{active:!0,route:"PersonalitiesZoo",text:"Personalities Zoo"},{active:!0,route:"AppsZoo",text:"Apps Zoo"},{active:!1,route:"AutoSD",text:"Auto111-SD",condition:()=>Fs.state.config.enable_sd_service||Fs.state.config.active_tti_service==="autosd"},{active:!1,route:"ComfyUI",text:"ComfyUI",condition:()=>Fs.state.config.enable_comfyui_service||Fs.state.config.active_tti_service==="comfyui"},{active:!1,route:"interactive",text:"Interactive",condition:()=>Fs.state.config.active_tts_service!=="None"&&Fs.state.config.active_stt_service!=="None"},{active:!0,route:"settings",text:"Settings"},{active:!0,route:"help_view",text:"Help"}],r=et(()=>Fs.state.ready?i.filter(d=>d.condition?d.condition():d.active):i.filter(d=>d.active));fi(()=>{o()}),Ln(()=>e.name,o);function o(){const d=r.value.findIndex(u=>u.route===e.name);d!==-1&&(t.value=d)}function a(d){return e.name===d}function c(d){t.value=d}return(d,u)=>d.$store.state.ready?(T(),x("div",ZXe,[l("nav",JXe,[(T(!0),x(Fe,null,Ke(r.value,(h,f)=>(T(),dt(Lt(mE),{key:f,to:{name:h.route},class:Ge(["menu-item",{"active-link":a(h.route)}]),onClick:m=>c(f),ref_for:!0,ref_key:"menuItems",ref:s},{default:Ie(()=>[Je(K(h.text)+" ",1),a(h.route)?(T(),x("span",eZe,"🪶")):G("",!0)]),_:2},1032,["to","class","onClick"]))),128))])])):G("",!0)}}),nZe="/assets/static_info-b284ded1.svg",sZe="/assets/animated_info-7edcb0f9.svg",$s="/assets/logo-360e020b.png",iZe="/assets/fun_mode-14669a57.svg",rZe="/assets/normal_mode-f539f08d.svg";const oZe={class:"top-0 shadow-lg navbar-container"},aZe={class:"container flex flex-col lg:flex-row items-center gap-2 pb-0"},lZe={class:"logo-container"},cZe=["src"],dZe=l("div",{class:"flex flex-col justify-center"},[l("div",{class:"text-6xl md:text-2xl font-bold text-amber-500 mb-2",style:{"text-shadow":"2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white"}}," L🪶LLMS "),l("p",{class:"text-gray-400 text-sm"},"One tool to rule them all")],-1),uZe={class:"flex gap-3 flex-1 items-center justify-end"},pZe={key:0,title:"Model is ok",class:"text-green-500 dark:text-green-400 cursor-pointer transition-transform hover:scale-110"},_Ze=l("svg",{class:"w-8 h-8",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M9 12L11 14L15 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),hZe=[_Ze],fZe={key:1,title:"Model is not ok",class:"text-red-500 dark:text-red-400 cursor-pointer transition-transform hover:scale-110"},mZe=l("svg",{class:"w-8 h-8",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M15 9L9 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M9 9L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),gZe=[mZe],bZe={key:2,title:"Text is not being generated. Ready to generate",class:"text-green-500 dark:text-green-400 cursor-pointer transition-transform hover:scale-110"},EZe=l("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 21v-4m0 0V5a2 2 0 012-2h6.5l1 1H21l-3 6 3 6h-8.5l-1-1H5a2 2 0 00-2 2zm9-13.5V9"})],-1),yZe=[EZe],vZe={key:3,title:"Generation in progress...",class:"text-yellow-500 dark:text-yellow-400 cursor-pointer transition-transform hover:scale-110"},SZe=l("svg",{class:"w-6 h-6 animate-spin",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),TZe=[SZe],xZe={key:4,title:"Connection status: Connected",class:"text-green-500 dark:text-green-400 cursor-pointer transition-transform hover:scale-110"},CZe=l("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})],-1),wZe=[CZe],RZe={key:5,title:"Connection status: Not connected",class:"text-red-500 dark:text-red-400 cursor-pointer transition-transform hover:scale-110"},AZe=l("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"})],-1),NZe=[AZe],OZe={class:"flex items-center space-x-4"},MZe={class:"flex items-center space-x-4"},IZe={class:"relative group",title:"Lollms News"},kZe=l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"w-full h-full"},[l("path",{d:"M19 20H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1m2 13a2 2 0 0 1-2-2V7m2 13a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"})],-1),DZe=[kZe],LZe=l("span",{class:"absolute hidden group-hover:block bg-gray-800 text-white text-xs rounded py-1 px-2 top-full left-1/2 transform -translate-x-1/2 mt-2 whitespace-nowrap"}," Lollms News ",-1),PZe={class:"relative group"},FZe=Fa('',1),UZe=[FZe],BZe=Fa('',1),GZe=[BZe],VZe={class:"absolute hidden group-hover:block bg-gray-800 text-white text-xs rounded py-1 px-2 top-full left-1/2 transform -translate-x-1/2 mb-2 whitespace-nowrap"},zZe={class:"language-selector relative"},HZe={key:0,ref:"languageMenu",class:"container language-menu absolute left-0 mt-1 bg-white dark:bg-bg-dark-tone rounded shadow-lg z-10 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",style:{position:"absolute",top:"100%",width:"200px","max-height":"300px","overflow-y":"auto"}},qZe={style:{"list-style-type":"none","padding-left":"0","margin-left":"0"}},$Ze=["onClick"],YZe=["onClick"],WZe={class:"cursor-pointer hover:text-white py-0 px-0 block whitespace-no-wrap"},KZe=l("i",{"data-feather":"sun"},null,-1),jZe=[KZe],QZe=l("i",{"data-feather":"moon"},null,-1),XZe=[QZe],ZZe={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},JZe={class:"text-2xl animate-pulse mt-2 text-white"},eJe={id:"app"},tJe={name:"TopBar",computed:{storeLogo(){return this.$store.state.config?$s:this.$store.state.config.app_custom_logo!=""?"/user_infos/"+this.$store.state.config.app_custom_logo:$s},languages:{get(){return console.log("searching languages",this.$store.state.languages),this.$store.state.languages}},language:{get(){return console.log("searching language",this.$store.state.language),this.$store.state.language}},currentPersonConfig(){try{return this.$store.state.currentPersonConfig}catch{console.log("Error finding current personality configuration");return}},selectedPersonality(){try{return this.$store.state.selectedPersonality}catch{console.log("Error finding current personality configuration");return}},loading_infos(){return this.$store.state.loading_infos},is_fun_mode(){try{return this.$store.state.config?this.$store.state.config.fun_mode:!1}catch(n){return console.error("Oopsie! Looks like we hit a snag: ",n),!1}},isModelOK(){return this.$store.state.isModelOk},isGenerating(){return this.$store.state.isGenerating},isConnected(){return this.$store.state.isConnected}},components:{Toast:dc,MessageBox:Z2,ProgressBar:up,UniversalForm:hc,YesNoDialog:J2,Navigation:nN,PersonalityEditor:eN,PopupViewer:tN,ActionButton:Dd,SocialIcon:yl},watch:{"$store.state.config.fun_mode":function(n,e){console.log(`Fun mode changed from ${e} to ${n}! 🎉`)},"$store.state.isConnected":function(n,e){this.isConnected?(console.log("this.is_first_connection"),console.log(this.is_first_connection),this.is_first_connection||(this.$store.state.messageBox.hideMessage(),this.$store.state.messageBox.showMessage("Server connected."),this.$store.state.config.activate_audio_infos&&this.connection_recovered_audio.play())):(this.$store.state.messageBox.showBlockingMessage("Server suddenly disconnected. Please reboot the server to recover the connection"),this.is_first_connection=!1,console.log("this.is_first_connection set to false"),console.log(this.is_first_connection),this.$store.state.config.activate_audio_infos&&this.connection_lost_audio.play()),Le(()=>{ze.replace()})}},data(){return{customLanguage:"",selectedLanguage:"",isLanguageMenuVisible:!1,static_info:nZe,animated_info:sZe,normal_mode:rZe,fun_mode:iZe,is_first_connection:!0,discord:XXe,FastAPI:QXe,rebooting_audio:new Audio("rebooting.wav"),connection_lost_audio:new Audio("connection_lost.wav"),connection_recovered_audio:new Audio("connection_recovered.wav"),database_selectorDialogVisible:!1,progress_visibility:!1,progress_value:0,codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches,posts_headers:{accept:"application/json","Content-Type":"application/json"}}},async mounted(){this.$store.state.toast=this.$refs.toast,this.$store.state.news=this.$refs.news,this.$store.state.messageBox=this.$refs.messageBox,this.$store.state.universalForm=this.$refs.universalForm,this.$store.state.yesNoDialog=this.$refs.yesNoDialog,this.$store.state.personality_editor=this.$refs.personality_editor,this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),Le(()=>{ze.replace()}),window.addEventListener("resize",this.adjustMenuPosition)},beforeUnmount(){window.removeEventListener("resize",this.adjustMenuPosition)},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{adjustMenuPosition(){const n=this.$refs.languageMenu;if(n){const e=n.getBoundingClientRect(),t=window.innerWidth;e.right>t?(n.style.left="auto",n.style.right="0"):(n.style.left="0",n.style.right="auto")}},addCustomLanguage(){this.customLanguage.trim()!==""&&(this.selectLanguage(this.customLanguage),this.customLanguage="")},async selectLanguage(n){await this.$store.dispatch("changeLanguage",n),this.toggleLanguageMenu(),this.language=n},async deleteLanguage(n){await this.$store.dispatch("deleteLanguage",n),this.toggleLanguageMenu(),this.language=n},toggleLanguageMenu(){console.log("Toggling language ",this.isLanguageMenuVisible),this.isLanguageMenuVisible=!this.isLanguageMenuVisible},restartProgram(n){n.preventDefault(),this.$store.state.api_post_req("restart_program",this.$store.state.client_id),this.rebooting_audio.play(),this.$store.state.toast.showToast("Rebooting the app. Please wait...",410,!1),console.log("this.$store.state.api_get_req",this.$store.state.api_get_req),setTimeout(()=>{window.close()},2e3)},refreshPage(){window.location.href.split("/").length>4?window.location.href="/":window.location.reload(!0)},handleOk(n){console.log("Input text:",n)},applyConfiguration(){this.isLoading=!0,console.log(this.$store.state.config),re.post("/apply_settings",{client_id:this.$store.state.client_id,config:this.$store.state.config},{headers:this.posts_headers}).then(n=>{this.isLoading=!1,n.data.status?(this.$store.state.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1),Le(()=>{ze.replace()})})},fun_mode_on(){console.log("Turning on fun mode"),this.$store.state.config.fun_mode=!0,this.applyConfiguration()},fun_mode_off(){console.log("Turning off fun mode"),this.$store.state.config.fun_mode=!1,this.applyConfiguration()},showNews(){this.$store.state.news.show()},themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),Le(()=>{jp(()=>Promise.resolve({}),["assets/stackoverflow-dark-57af98f5.css"])});return}Le(()=>{jp(()=>Promise.resolve({}),["assets/stackoverflow-light-077a2b3c.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}jp(()=>Promise.resolve({}),["assets/tokyo-night-dark-f9656fc4.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle(),window.dispatchEvent(new Event("themeChanged"))},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}}},nJe=Object.assign(tJe,{setup(n){return(e,t)=>(T(),x("header",oZe,[l("nav",aZe,[V(Lt(mE),{to:{name:"discussions"},class:"flex items-center space-x-2"},{default:Ie(()=>[l("div",lZe,[l("img",{class:"w-12 h-12 rounded-full object-cover logo-image",src:e.$store.state.config==null?Lt($s):e.$store.state.config.app_custom_logo!=""?"/user_infos/"+e.$store.state.config.app_custom_logo:Lt($s),alt:"Logo",title:"LoLLMS WebUI"},null,8,cZe)]),dZe]),_:1}),l("div",uZe,[e.isModelOK?(T(),x("div",pZe,hZe)):(T(),x("div",fZe,gZe)),e.isGenerating?(T(),x("div",vZe,TZe)):(T(),x("div",bZe,yZe)),e.isConnected?(T(),x("div",xZe,wZe)):(T(),x("div",RZe,NZe))]),l("div",OZe,[V(Dd,{onClick:e.restartProgram,icon:"power",title:"restart program"},null,8,["onClick"]),V(Dd,{onClick:e.refreshPage,icon:"refresh-ccw",title:"refresh page"},null,8,["onClick"]),V(Dd,{href:"/docs",icon:"file-text",title:"Fast API doc"})]),l("div",MZe,[V(yl,{href:"https://github.com/ParisNeo/lollms-webui",icon:"github"}),V(yl,{href:"https://www.youtube.com/channel/UCJzrg0cyQV2Z30SQ1v2FdSQ",icon:"youtube"}),V(yl,{href:"https://x.com/ParisNeo_AI",icon:"x"}),V(yl,{href:"https://discord.com/channels/1092918764925882418",icon:"discord"})]),l("div",IZe,[l("div",{onClick:t[0]||(t[0]=s=>e.showNews()),class:"text-2xl w-8 h-8 cursor-pointer transition-colors duration-300 text-gray-600 hover:text-primary dark:text-gray-300 dark:hover:text-primary"},DZe),LZe]),l("div",PZe,[e.is_fun_mode?(T(),x("div",{key:0,title:"Fun mode is on, press to turn off",class:"w-8 h-8 cursor-pointer text-green-500 dark:text-green-400 hover:text-green-600 dark:hover:text-green-300 transition-colors duration-300",onClick:t[1]||(t[1]=s=>e.fun_mode_off())},UZe)):(T(),x("div",{key:1,title:"Fun mode is off, press to turn on",class:"w-8 h-8 cursor-pointer text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-300",onClick:t[2]||(t[2]=s=>e.fun_mode_on())},GZe)),l("span",VZe,K(e.is_fun_mode?"Turn off fun mode":"Turn on fun mode"),1)]),l("div",zZe,[l("button",{onClick:t[3]||(t[3]=(...s)=>e.toggleLanguageMenu&&e.toggleLanguageMenu(...s)),class:"bg-transparent text-black dark:text-white py-1 px-1 rounded font-bold uppercase transition-colors duration-300 hover:bg-blue-500"},K(e.$store.state.language.slice(0,2)),1),e.isLanguageMenuVisible?(T(),x("div",HZe,[l("ul",qZe,[(T(!0),x(Fe,null,Ke(e.languages,s=>(T(),x("li",{key:s,class:"relative flex items-center",style:{"padding-left":"0","margin-left":"0"}},[l("button",{onClick:i=>e.deleteLanguage(s),class:"mr-2 text-red-500 hover:text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-opacity-50 rounded-full"},"✕",8,$Ze),l("div",{onClick:i=>e.selectLanguage(s),class:Ge({"cursor-pointer hover:bg-blue-500 hover:text-white py-2 px-4 block whitespace-no-wrap":!0,"bg-blue-500 text-white":s===e.$store.state.language,"flex-grow":!0})},K(s),11,YZe)]))),128)),l("li",WZe,[P(l("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=s=>e.customLanguage=s),onKeyup:t[5]||(t[5]=Ks(j((...s)=>e.addCustomLanguage&&e.addCustomLanguage(...s),["prevent"]),["enter"])),placeholder:"Enter language...",class:"bg-transparent border border-gray-300 rounded py-0 px-0 mx-0 my-1 w-full"},null,544),[[pe,e.customLanguage]])])])],512)):G("",!0)]),l("div",{class:"sun text-2xl w-6 hover:text-primary duration-150 cursor-pointer",title:"Switch to Light theme",onClick:t[6]||(t[6]=s=>e.themeSwitch())},jZe),l("div",{class:"moon text-2xl w-6 hover:text-primary duration-150 cursor-pointer",title:"Switch to Dark theme",onClick:t[7]||(t[7]=s=>e.themeSwitch())},XZe)]),V(nN),V(dc,{ref:"toast"},null,512),V(Z2,{ref:"messageBox"},null,512),P(l("div",ZZe,[V(up,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),l("p",JZe,K(e.loading_infos)+" ...",1)],512),[[wt,e.progress_visibility]]),V(hc,{ref:"universalForm",class:"z-20"},null,512),V(J2,{ref:"yesNoDialog",class:"z-20"},null,512),V(eN,{ref:"personality_editor",config:e.currentPersonConfig,personality:e.selectedPersonality},null,8,["config","personality"]),l("div",eJe,[V(tN,{ref:"news"},null,512)])]))}}),sJe={class:"flex overflow-hidden flex-grow w-full"},iJe={__name:"App",setup(n){return(e,t)=>(T(),x("div",{class:Ge([e.currentTheme,"flex flex-col h-screen font-sans background-color text-slate-950 dark:bg-bg-dark dark:text-slate-50 w-full overflow-hidden"])},[V(nJe),l("div",sJe,[V(Lt(p2),null,{default:Ie(({Component:s})=>[(T(),dt(nk,null,[(T(),dt(Vu(s)))],1024))]),_:1})])],2))}},_i=Object.create(null);_i.open="0";_i.close="1";_i.ping="2";_i.pong="3";_i.message="4";_i.upgrade="5";_i.noop="6";const Ld=Object.create(null);Object.keys(_i).forEach(n=>{Ld[_i[n]]=n});const ib={type:"error",data:"parser error"},sN=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",iN=typeof ArrayBuffer=="function",rN=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,ME=({type:n,data:e},t,s)=>sN&&e instanceof Blob?t?s(e):I1(e,s):iN&&(e instanceof ArrayBuffer||rN(e))?t?s(e):I1(new Blob([e]),s):s(_i[n]+(e||"")),I1=(n,e)=>{const t=new FileReader;return t.onload=function(){const s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(n)};function k1(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let zm;function rJe(n,e){if(sN&&n.data instanceof Blob)return n.data.arrayBuffer().then(k1).then(e);if(iN&&(n.data instanceof ArrayBuffer||rN(n.data)))return e(k1(n.data));ME(n,!1,t=>{zm||(zm=new TextEncoder),e(zm.encode(t))})}const D1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n{let e=n.length*.75,t=n.length,s,i=0,r,o,a,c;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const d=new ArrayBuffer(e),u=new Uint8Array(d);for(s=0;s>4,u[i++]=(o&15)<<4|a>>2,u[i++]=(a&3)<<6|c&63;return d},aJe=typeof ArrayBuffer=="function",IE=(n,e)=>{if(typeof n!="string")return{type:"message",data:oN(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:lJe(n.substring(1),e)}:Ld[t]?n.length>1?{type:Ld[t],data:n.substring(1)}:{type:Ld[t]}:ib},lJe=(n,e)=>{if(aJe){const t=oJe(n);return oN(t,e)}else return{base64:!0,data:n}},oN=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},aN=String.fromCharCode(30),cJe=(n,e)=>{const t=n.length,s=new Array(t);let i=0;n.forEach((r,o)=>{ME(r,!1,a=>{s[o]=a,++i===t&&e(s.join(aN))})})},dJe=(n,e)=>{const t=n.split(aN),s=[];for(let i=0;i{const s=t.length;let i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);const r=new DataView(i.buffer);r.setUint8(0,126),r.setUint16(1,s)}else{i=new Uint8Array(9);const r=new DataView(i.buffer);r.setUint8(0,127),r.setBigUint64(1,BigInt(s))}n.data&&typeof n.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}let Hm;function Gc(n){return n.reduce((e,t)=>e+t.length,0)}function Vc(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let s=0;for(let i=0;iMath.pow(2,53-32)-1){a.enqueue(ib);break}i=u*Math.pow(2,32)+d.getUint32(4),s=3}else{if(Gc(t)n){a.enqueue(ib);break}}}})}const lN=4;function dn(n){if(n)return _Je(n)}function _Je(n){for(var e in dn.prototype)n[e]=dn.prototype[e];return n}dn.prototype.on=dn.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};dn.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};dn.prototype.off=dn.prototype.removeListener=dn.prototype.removeAllListeners=dn.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s,i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function cN(n,...e){return e.reduce((t,s)=>(n.hasOwnProperty(s)&&(t[s]=n[s]),t),{})}const hJe=hs.setTimeout,fJe=hs.clearTimeout;function pp(n,e){e.useNativeTimers?(n.setTimeoutFn=hJe.bind(hs),n.clearTimeoutFn=fJe.bind(hs)):(n.setTimeoutFn=hs.setTimeout.bind(hs),n.clearTimeoutFn=hs.clearTimeout.bind(hs))}const mJe=1.33;function gJe(n){return typeof n=="string"?bJe(n):Math.ceil((n.byteLength||n.size)*mJe)}function bJe(n){let e=0,t=0;for(let s=0,i=n.length;s=57344?t+=3:(s++,t+=4);return t}function EJe(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function yJe(n){let e={},t=n.split("&");for(let s=0,i=t.length;s0);return e}function uN(){const n=F1(+new Date);return n!==P1?(L1=0,P1=n):n+"."+F1(L1++)}for(;zc{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=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)};dJe(e,this.socket.binaryType).forEach(t),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,cJe(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=uN()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new na(this.uri(),e)}doWrite(e,t){const s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,r)=>{this.onError("xhr post error",i,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}}let na=class Pd extends dn{constructor(e,t){super(),pp(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=t.data!==void 0?t.data:null,this.create()}create(){var e;const t=cN(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const s=this.xhr=new _N(t);try{s.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&s.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(e=this.opts.cookieJar)===null||e===void 0||e.addCookies(s),"withCredentials"in s&&(s.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(s.timeout=this.opts.requestTimeout),s.onreadystatechange=()=>{var i;s.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(s)),s.readyState===4&&(s.status===200||s.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof s.status=="number"?s.status:0)},0))},s.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=Pd.requestsCount++,Pd.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=xJe,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Pd.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()}};na.requestsCount=0;na.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",U1);else if(typeof addEventListener=="function"){const n="onpagehide"in hs?"pagehide":"unload";addEventListener(n,U1,!1)}}function U1(){for(let n in na.requests)na.requests.hasOwnProperty(n)&&na.requests[n].abort()}const DE=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0))(),Hc=hs.WebSocket||hs.MozWebSocket,B1=!0,RJe="arraybuffer",G1=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class AJe extends kE{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,s=G1?{}:cN(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=B1&&!G1?t?new Hc(e,t):new Hc(e):new Hc(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,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 t=0;t{const o={};try{B1&&this.ws.send(r)}catch{}i&&DE(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=uN()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!Hc}}class NJe extends kE{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(e=>{const t=pJe(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=uJe();i.readable.pipeTo(e.writable),this.writer=i.writable.getWriter();const r=()=>{s.read().then(({done:a,value:c})=>{a||(this.onPacket(c),r())}).catch(a=>{})};r();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then(()=>this.onOpen())})}))}write(e){this.writable=!1;for(let t=0;t{i&&DE(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this.transport)===null||e===void 0||e.close()}}const OJe={websocket:AJe,webtransport:NJe,polling:wJe},MJe=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,IJe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ob(n){if(n.length>2e3)throw"URI too long";const e=n,t=n.indexOf("["),s=n.indexOf("]");t!=-1&&s!=-1&&(n=n.substring(0,t)+n.substring(t,s).replace(/:/g,";")+n.substring(s,n.length));let i=MJe.exec(n||""),r={},o=14;for(;o--;)r[IJe[o]]=i[o]||"";return t!=-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=kJe(r,r.path),r.queryKey=DJe(r,r.query),r}function kJe(n,e){const t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function DJe(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,r){i&&(t[i]=r)}),t}let hN=class qo extends dn{constructor(e,t={}){super(),this.binaryType=RJe,this.writeBuffer=[],e&&typeof e=="object"&&(t=e,e=null),e?(e=ob(e),t.hostname=e.host,t.secure=e.protocol==="https"||e.protocol==="wss",t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=ob(t.host).host),pp(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],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:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=yJe(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 t=Object.assign({},this.opts.query);t.EIO=lN,t.transport=e,this.id&&(t.sid=this.id);const s=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new OJe[e](s)}open(){let e;if(this.opts.rememberUpgrade&&qo.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",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),s=!1;qo.priorWebsocketSuccess=!1;const i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;qo.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=t.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),t.close(),t=null)}const o=h=>{const f=new Error("probe error: "+h);f.transport=t.name,r(),this.emitReserved("upgradeError",f)};function a(){o("transport closed")}function c(){o("socket closed")}function d(h){t&&h.name!==t.name&&r()}const u=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",a),this.off("close",c),this.off("upgrading",d)};t.once("open",i),t.once("error",o),t.once("close",a),this.once("close",c),this.once("upgrading",d),this.upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onOpen(){if(this.readyState="open",qo.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const t=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 t=1;for(let s=0;s0&&t>this.maxPayload)return this.writeBuffer.slice(0,s);t+=2}return this.writeBuffer}write(e,t,s){return this.sendPacket("message",e,t,s),this}send(e,t,s){return this.sendPacket("message",e,t,s),this}sendPacket(e,t,s,i){if(typeof t=="function"&&(i=t,t=void 0),typeof s=="function"&&(i=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:t,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},s=()=>{this.once("upgrade",t),this.once("upgradeError",t)};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){qo.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){(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,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let s=0;const i=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,fN=Object.prototype.toString,UJe=typeof Blob=="function"||typeof Blob<"u"&&fN.call(Blob)==="[object BlobConstructor]",BJe=typeof File=="function"||typeof File<"u"&&fN.call(File)==="[object FileConstructor]";function LE(n){return PJe&&(n instanceof ArrayBuffer||FJe(n))||UJe&&n instanceof Blob||BJe&&n instanceof File}function Fd(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,s=n.length;t=0&&n.num{delete this.acks[e];for(let o=0;o{this.io.clearTimeoutFn(r),t.apply(this,[null,...o])}}emitWithAck(e,...t){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((i,r)=>{t.push((o,a)=>s?o?r(o):i(a):i(o)),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...r)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(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 t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.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:Ot.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,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Ot.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 Ot.EVENT:case Ot.BINARY_EVENT:this.onevent(e);break;case Ot.ACK:case Ot.BINARY_ACK:this.onack(e);break;case Ot.DISCONNECT:this.ondisconnect();break;case Ot.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 t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const s of t)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 t=this;let s=!1;return function(...i){s||(s=!0,t.packet({type:Ot.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,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:Ot.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 t=this._anyListeners;for(let s=0;s0&&n.jitter<=1?n.jitter:0,this.attempts=0}qa.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=Math.floor(e*10)&1?n+t:n-t}return Math.min(n,this.max)|0};qa.prototype.reset=function(){this.attempts=0};qa.prototype.setMin=function(n){this.ms=n};qa.prototype.setMax=function(n){this.max=n};qa.prototype.setJitter=function(n){this.jitter=n};class cb extends dn{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,pp(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new qa({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||YJe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.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 t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.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 hN(this.uri,this.opts);const t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const i=Ps(t,"open",function(){s.onopen(),e&&e()}),r=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),e?e(a):this.maybeReconnectOnOpen()},o=Ps(t,"error",r);if(this._timeout!==!1){const a=this._timeout,c=this.setTimeoutFn(()=>{i(),r(new Error("timeout")),t.close()},a);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Ps(e,"ping",this.onping.bind(this)),Ps(e,"data",this.ondata.bind(this)),Ps(e,"error",this.onerror.bind(this)),Ps(e,"close",this.onclose.bind(this)),Ps(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){DE(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new mN(this,e,t),this.nsps[e]=s),s}_destroy(e){const t=Object.keys(this.nsps);for(const s of t)if(this.nsps[s].active)return;this._close()}_packet(e){const t=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,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),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 t=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const rl={};function Ud(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=LJe(n,e.path||"/socket.io"),s=t.source,i=t.id,r=t.path,o=rl[i]&&r in rl[i].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let c;return a?c=new cb(s,e):(rl[i]||(rl[i]=new cb(s,e)),c=rl[i]),t.query&&!e.query&&(e.query=t.queryKey),c.socket(t.path,e)}Object.assign(Ud,{Manager:cb,Socket:mN,io:Ud,connect:Ud});const gN="/";console.log(gN);const qe=new Ud(gN,{reconnection:!0,reconnectionAttempts:10,reconnectionDelay:1e3});const KJe={props:{value:String,inputType:{type:String,default:"text",validator:n=>["text","email","password","file","path","integer","float"].includes(n)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(n){console.log("Changing value to ",n),this.inputValue=n}},mounted(){Le(()=>{ze.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(n){this.inputValue=n.target.value,this.$emit("input",n.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(n){if(this.inputType==="integer"){const e=n.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",n.target.value),this.$emit("input",n.target.value)},async pasteFromClipboard(){try{const n=await navigator.clipboard.readText();this.handleClipboardData(n)}catch(n){console.error("Failed to read from clipboard:",n)}},handlePaste(n){const e=n.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(n){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(n)?n:"";break;case"password":this.inputValue=n;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(n);break;case"float":this.inputValue=this.parseFloat(n);break;default:this.inputValue=n;break}},isValidEmail(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)},parseInteger(n){const e=parseInt(n);return isNaN(e)?"":e},parseFloat(n){const e=parseFloat(n);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(n){const e=n.target.files[0];e&&(this.inputValue=e.name)}}},jJe={class:"flex items-center space-x-2"},QJe=["value","type","placeholder"],XJe=["value","min","max"],ZJe=l("i",{"data-feather":"clipboard"},null,-1),JJe=[ZJe],eet=l("i",{"data-feather":"upload"},null,-1),tet=[eet],net=["accept"];function set(n,e,t,s,i,r){return T(),x("div",jJe,[n.useSlider?(T(),x("input",{key:1,type:"range",value:parseInt(i.inputValue),min:n.minSliderValue,max:n.maxSliderValue,onInput:e[2]||(e[2]=(...o)=>r.handleSliderInput&&r.handleSliderInput(...o)),class:"flex-1 px-4 py-2 text-lg border dark:bg-gray-600 border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,XJe)):(T(),x("input",{key:0,value:i.inputValue,type:t.inputType,placeholder:i.placeholderText,onInput:e[0]||(e[0]=(...o)=>r.handleInput&&r.handleInput(...o)),onPaste:e[1]||(e[1]=(...o)=>r.handlePaste&&r.handlePaste(...o)),class:"flex-1 px-4 py-2 text-lg dark:bg-gray-600 border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,QJe)),l("button",{onClick:e[3]||(e[3]=(...o)=>r.pasteFromClipboard&&r.pasteFromClipboard(...o)),class:"p-2 bg-blue-500 dark:bg-gray-600 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},JJe),t.inputType==="file"?(T(),x("button",{key:2,onClick:e[4]||(e[4]=(...o)=>r.openFileInput&&r.openFileInput(...o)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},tet)):G("",!0),t.inputType==="file"?(T(),x("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:t.fileAccept,onChange:e[5]||(e[5]=(...o)=>r.handleFileInputChange&&r.handleFileInputChange(...o))},null,40,net)):G("",!0)])}const FE=ot(KJe,[["render",set]]),iet={name:"TokensHighlighter",props:{namedTokens:{type:Object,required:!0}},data(){return{colors:["#FF6633","#FFB399","#FF33FF","#FFFF99","#00B3E6","#E6B333","#3366E6","#999966","#99FF99","#B34D4D","#80B300","#809900","#E6B3B3","#6680B3","#66991A","#FF99E6","#CCFF1A","#FF1A66","#E6331A","#33FFCC","#66994D","#B366CC","#4D8000","#B33300","#CC80CC","#66664D","#991AFF","#E666FF","#4DB3FF","#1AB399","#E666B3","#33991A","#CC9999","#B3B31A","#00E680","#4D8066","#809980","#E6FF80","#1AFF33","#999933","#FF3380","#CCCC00","#66E64D","#4D80CC","#9900B3","#E64D66","#4DB380","#FF4D4D","#99E6E6","#6666FF"]}}},ret={class:"w-full"},oet={class:"break-words"},aet={class:"break-words mt-2"},cet={class:"mt-4"};function det(n,e,t,s,i,r){return T(),x("div",ret,[l("div",oet,[(T(!0),x(Fe,null,Ke(t.namedTokens,(o,a)=>(T(),x("span",{key:a},[l("span",{class:"inline-block whitespace-pre-wrap",style:Kt({backgroundColor:i.colors[a%i.colors.length]})},K(o[0]),5)]))),128))]),l("div",aet,[(T(!0),x(Fe,null,Ke(t.namedTokens,(o,a)=>(T(),x("span",{key:a},[l("span",{class:"inline-block px-1 whitespace-pre-wrap",style:Kt({backgroundColor:i.colors[a%i.colors.length]})},K(o[1]),5)]))),128))]),l("div",cet,[l("strong",null,"Total Tokens: "+K(t.namedTokens.length),1)])])}const uet=ot(iet,[["render",det]]),pet={name:"ChatBarButton",props:{buttonClass:{type:String,default:"text-gray-600 dark:text-gray-300"}}};function _et(n,e,t,s,i,r){return T(),x("button",cA({class:["p-2 rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",[t.buttonClass,"hover:bg-gray-200 dark:hover:bg-gray-700","active:bg-gray-300 dark:active:bg-gray-600"]]},n.$attrs,pk(n.$listeners,!0)),[hn(n.$slots,"icon"),hn(n.$slots,"default")],16)}const bN=ot(pet,[["render",_et]]);const het={props:{is_subcard:{type:Boolean,default:!1},is_shrunk:{type:Boolean,default:!1},title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!0},disableFocus:{type:Boolean,default:!1}},data(){return{shrink:this.is_shrunk,isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","w-full","p-2.5","dark:bg-gray-500","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:ring-blue-500","dark:focus:border-blue-500",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},fet={key:1,class:"flex flex-wrap"},met={key:2,class:"mb-2"};function get(n,e,t,s,i,r){return T(),x("div",null,[i.isActive?(T(),x("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...o)=>r.toggleCard&&r.toggleCard(...o))})):G("",!0),P(l("div",{class:Ge(["border-blue-300 rounded-lg shadow-lg p-2",r.cardWidthClass,"m-2",{subcard:t.is_subcard},{"bg-white dark:bg-gray-900":!t.is_subcard},{hovered:!t.disableHoverAnimation&&i.isHovered,active:i.isActive}]),onMouseenter:e[2]||(e[2]=o=>i.isHovered=!0),onMouseleave:e[3]||(e[3]=o=>i.isHovered=!1),onClick:e[4]||(e[4]=j((...o)=>r.toggleCard&&r.toggleCard(...o),["self"])),style:Kt({cursor:this.disableFocus?"":"pointer"})},[t.title?(T(),x("div",{key:0,onClick:e[1]||(e[1]=o=>i.shrink=!0),class:Ge([{"text-center p-2 m-2 bg-gray-200":!t.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},K(t.title),3)):G("",!0),t.isHorizontal?(T(),x("div",fet,[hn(n.$slots,"default")])):(T(),x("div",met,[hn(n.$slots,"default")]))],38),[[wt,i.shrink===!1]]),t.is_subcard?P((T(),x("div",{key:1,onClick:e[5]||(e[5]=o=>i.shrink=!1),class:"bg-white text-center text-xl bold dark:bg-gray-500 border-blue-300 rounded-lg shadow-lg p-2 h-10 cursor-pointer m-2"},K(t.title),513)),[[wt,i.shrink===!0]]):P((T(),x("div",{key:2,onClick:e[6]||(e[6]=o=>i.shrink=!1),class:"bg-white text-center text-2xl dark:bg-gray-500 border-2 border-blue-300 rounded-lg shadow-lg p-0 h-7 cursor-pointer hover:h-8 hover:bg-blue-300"}," + ",512)),[[wt,i.shrink===!0]])])}const _p=ot(het,[["render",get]]),EN="/assets/code_block-e2753d3f.svg",yN="/assets/python_block-4008a934.png",vN="/assets/javascript_block-5e59df30.svg",SN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAOeSURBVGhD7ZhNaBNBGIZHW/EPbSioRSpi0FRpVdRSjQfxkFilB5UciuChIL0JLaKIhR5KIYKIiBSF0mLVS7AIavUgPQjiT4+KB0EP3gwS8VDBgj8d33d2ZrNJt2lCppKWfeBh5pvdncyXmZ3sZokQQsIFz1JdLni8M8L6QkSNf9HMSJBIpREkUmkEiVQaQSKVRpCIH8lkUtbW1sre3l7fB9FoNCrD4fC8PaSyYyudNzU1yZGRkYJ9dXV1yUQiYTMZNX6rM5LJZERHR0fBh0/MmJDSZh4OVhOZmprStf+P1UQmJyd1zaGvr09NuxM5VFVViYmJCR3Zw1oiPT09koP00tjYKNrb23XkEIlERHV1tY7sMuNbK5XR0VGJwcnBwcGi+uns7Cz7Mz24fVnpdGhoSDY0NBTbjxweHi77MzXu+N2KBebsh7PW0tJi6/OIGr/Vm72mpkbXssTj8ZxBp9NpUV9fryN7WE0kn1QqJcfHx3U0v1hNJBQKqXtFh2JsbEx0d3frKMv09LSu2UWtMadaHm1tberxQ+9Koq6uLqff1tZW2dzcLPXviy3c8bsVG/T398+6I8ViMTkwMGDtszRq/MEfdJVGkEilESRSaZSSyCa43anmsAPGII/7wWd7nnMEbmaDD2G41anmsA76tfui9mGnWpAPkOftVpEQuyDfkMz19Bv0cg56j9NP8AQ07IXm2Es2eHgK2b5RRf6Ya7OVOchP5D1kfA0m4GX4CxouQR7/A6/DC/CObqNRSA5A00Y7oeG/JMJBM65TUS7rIV/gefw4GzzchWx/rKJsIu90+REaik6knJv9hy5vw4NO1WU/XAG/w0ds8MABk326NLyGL+A2eJYNpVBOIhd1eRS+gs/hTjYAc4M+06WX+7rkt7zKqbrc0OV5WNIjUzmJDME9MKUiIQ5DvnyshOZfCL/+l+uSz/I/narLA8gvhLsb77miKScR8haegqfhb7gBcoa4M5G4Lr0069Kck88VXZ6B+TNWEHWzONWCpCHPM78lZhkZ3kAePwa36DpthQYulwxke5INwNzst1Tk8ASa66mVXYtLgFPOc7iVroUtOh6F3Gbv6fgLXAPJVWj65vU3IW9oxl+hWWJ+iRyC5lpqJZHP0JxjbnBO+UP4F5pjXNsnoRf+IJqZpNySmRSXoMEvEeL9Iqwkwm20Cfqt12UwAleraHZCcLbHEzLz75fiUeMP3hArjUWTiHdpLWgWyYwI8Q8rrSjH5vAr6AAAAABJRU5ErkJggg==",TN="/assets/cpp_block-109b2fbe.png",xN="/assets/html5_block-205d2852.png",CN="/assets/LaTeX_block-06b165c0.png",wN="/assets/bash_block-7ca80e4e.png",bet="/assets/tokenize_icon-0553c60f.svg",Eet="/assets/deaf_on-7481cb29.svg",yet="/assets/deaf_off-c2c46908.svg",vet="/assets/rec_on-3b37b566.svg",Tet="/assets/rec_off-2c08e836.svg",RN="/assets/loading-c3bdfb0a.svg",xet={props:{icon:{type:String,required:!0},title:{type:String,required:!0}},computed:{iconPath(){return this.getIconPath()}},methods:{getIconPath(){switch(this.icon){case"x":return'';case"check":return'';case"code":return'';case"python":return'';case"js":return'JS';case"typescript":return'TS';case"braces":return'';case"cplusplus":case"c++":return'C++';case"csharp":return'C#';case"go":return'Go';case"r-project":return'R';case"rust":return'';case"swift":return'';case"kotlin":return'';case"java":return'';case"html5":return'';case"css3":return'';case"vuejs":return'';case"react":return'';case"angular":return'';case"xml":return'';case"json":return'';case"yaml":return'';case"markdown":return'';case"latex":return'TEX';case"bash":return'';case"powershell":return'';case"perl":return'';case"mermaid":return'';case"graphviz":return'';case"plantuml":return'';case"sql":return'';case"mongodb":return'';case"mathFunction":return'';case"terminal":return'';case"edit":return'';case"copy":return'';case"send":return'';case"globe":return'';case"fastForward":return'';case"sendSimple":return'';default:return""}}}},Cet=["title"],wet={class:"w-6 h-6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},Ret=["innerHTML"];function Aet(n,e,t,s,i,r){return T(),x("button",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:t.title,onClick:e[0]||(e[0]=o=>n.$emit("click"))},[(T(),x("svg",wet,[l("g",{innerHTML:r.iconPath},null,8,Ret)]))],8,Cet)}const UE=ot(xet,[["render",Aet]]);var Yn="top",Cs="bottom",ws="right",Wn="left",BE="auto",fc=[Yn,Cs,ws,Wn],ha="start",ec="end",Net="clippingParents",AN="viewport",ol="popper",Oet="reference",z1=fc.reduce(function(n,e){return n.concat([e+"-"+ha,e+"-"+ec])},[]),NN=[].concat(fc,[BE]).reduce(function(n,e){return n.concat([e,e+"-"+ha,e+"-"+ec])},[]),Met="beforeRead",Iet="read",ket="afterRead",Det="beforeMain",Let="main",Pet="afterMain",Fet="beforeWrite",Uet="write",Bet="afterWrite",Get=[Met,Iet,ket,Det,Let,Pet,Fet,Uet,Bet];function hi(n){return n?(n.nodeName||"").toLowerCase():null}function os(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function lo(n){var e=os(n).Element;return n instanceof e||n instanceof Element}function Ts(n){var e=os(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function GE(n){if(typeof ShadowRoot>"u")return!1;var e=os(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function Vet(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var s=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!Ts(r)||!hi(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(o){var a=i[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function zet(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(s){var i=e.elements[s],r=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:t[s]),a=o.reduce(function(c,d){return c[d]="",c},{});!Ts(i)||!hi(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(c){i.removeAttribute(c)}))})}}const Het={name:"applyStyles",enabled:!0,phase:"write",fn:Vet,effect:zet,requires:["computeStyles"]};function ui(n){return n.split("-")[0]}var Jr=Math.max,au=Math.min,fa=Math.round;function db(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ON(){return!/^((?!chrome|android).)*safari/i.test(db())}function ma(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var s=n.getBoundingClientRect(),i=1,r=1;e&&Ts(n)&&(i=n.offsetWidth>0&&fa(s.width)/n.offsetWidth||1,r=n.offsetHeight>0&&fa(s.height)/n.offsetHeight||1);var o=lo(n)?os(n):window,a=o.visualViewport,c=!ON()&&t,d=(s.left+(c&&a?a.offsetLeft:0))/i,u=(s.top+(c&&a?a.offsetTop:0))/r,h=s.width/i,f=s.height/r;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function VE(n){var e=ma(n),t=n.offsetWidth,s=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:s}}function MN(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&GE(t)){var s=e;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Gi(n){return os(n).getComputedStyle(n)}function qet(n){return["table","td","th"].indexOf(hi(n))>=0}function Cr(n){return((lo(n)?n.ownerDocument:n.document)||window.document).documentElement}function hp(n){return hi(n)==="html"?n:n.assignedSlot||n.parentNode||(GE(n)?n.host:null)||Cr(n)}function H1(n){return!Ts(n)||Gi(n).position==="fixed"?null:n.offsetParent}function $et(n){var e=/firefox/i.test(db()),t=/Trident/i.test(db());if(t&&Ts(n)){var s=Gi(n);if(s.position==="fixed")return null}var i=hp(n);for(GE(i)&&(i=i.host);Ts(i)&&["html","body"].indexOf(hi(i))<0;){var r=Gi(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function mc(n){for(var e=os(n),t=H1(n);t&&qet(t)&&Gi(t).position==="static";)t=H1(t);return t&&(hi(t)==="html"||hi(t)==="body"&&Gi(t).position==="static")?e:t||$et(n)||e}function zE(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ol(n,e,t){return Jr(n,au(e,t))}function Yet(n,e,t){var s=Ol(n,e,t);return s>t?t:s}function IN(){return{top:0,right:0,bottom:0,left:0}}function kN(n){return Object.assign({},IN(),n)}function DN(n,e){return e.reduce(function(t,s){return t[s]=n,t},{})}var Wet=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kN(typeof e!="number"?e:DN(e,fc))};function Ket(n){var e,t=n.state,s=n.name,i=n.options,r=t.elements.arrow,o=t.modifiersData.popperOffsets,a=ui(t.placement),c=zE(a),d=[Wn,ws].indexOf(a)>=0,u=d?"height":"width";if(!(!r||!o)){var h=Wet(i.padding,t),f=VE(r),m=c==="y"?Yn:Wn,_=c==="y"?Cs:ws,g=t.rects.reference[u]+t.rects.reference[c]-o[c]-t.rects.popper[u],b=o[c]-t.rects.reference[c],E=mc(r),y=E?c==="y"?E.clientHeight||0:E.clientWidth||0:0,v=g/2-b/2,S=h[m],R=y-f[u]-h[_],w=y/2-f[u]/2+v,A=Ol(S,w,R),I=c;t.modifiersData[s]=(e={},e[I]=A,e.centerOffset=A-w,e)}}function jet(n){var e=n.state,t=n.options,s=t.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||MN(e.elements.popper,i)&&(e.elements.arrow=i))}const Qet={name:"arrow",enabled:!0,phase:"main",fn:Ket,effect:jet,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ga(n){return n.split("-")[1]}var Xet={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Zet(n,e){var t=n.x,s=n.y,i=e.devicePixelRatio||1;return{x:fa(t*i)/i||0,y:fa(s*i)/i||0}}function q1(n){var e,t=n.popper,s=n.popperRect,i=n.placement,r=n.variation,o=n.offsets,a=n.position,c=n.gpuAcceleration,d=n.adaptive,u=n.roundOffsets,h=n.isFixed,f=o.x,m=f===void 0?0:f,_=o.y,g=_===void 0?0:_,b=typeof u=="function"?u({x:m,y:g}):{x:m,y:g};m=b.x,g=b.y;var E=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=Wn,S=Yn,R=window;if(d){var w=mc(t),A="clientHeight",I="clientWidth";if(w===os(t)&&(w=Cr(t),Gi(w).position!=="static"&&a==="absolute"&&(A="scrollHeight",I="scrollWidth")),w=w,i===Yn||(i===Wn||i===ws)&&r===ec){S=Cs;var C=h&&w===R&&R.visualViewport?R.visualViewport.height:w[A];g-=C-s.height,g*=c?1:-1}if(i===Wn||(i===Yn||i===Cs)&&r===ec){v=ws;var O=h&&w===R&&R.visualViewport?R.visualViewport.width:w[I];m-=O-s.width,m*=c?1:-1}}var B=Object.assign({position:a},d&&Xet),H=u===!0?Zet({x:m,y:g},os(t)):{x:m,y:g};if(m=H.x,g=H.y,c){var te;return Object.assign({},B,(te={},te[S]=y?"0":"",te[v]=E?"0":"",te.transform=(R.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",te))}return Object.assign({},B,(e={},e[S]=y?g+"px":"",e[v]=E?m+"px":"",e.transform="",e))}function Jet(n){var e=n.state,t=n.options,s=t.gpuAcceleration,i=s===void 0?!0:s,r=t.adaptive,o=r===void 0?!0:r,a=t.roundOffsets,c=a===void 0?!0:a,d={placement:ui(e.placement),variation:ga(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,q1(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,q1(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ett={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jet,data:{}};var qc={passive:!0};function ttt(n){var e=n.state,t=n.instance,s=n.options,i=s.scroll,r=i===void 0?!0:i,o=s.resize,a=o===void 0?!0:o,c=os(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach(function(u){u.addEventListener("scroll",t.update,qc)}),a&&c.addEventListener("resize",t.update,qc),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",t.update,qc)}),a&&c.removeEventListener("resize",t.update,qc)}}const ntt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ttt,data:{}};var stt={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(n){return n.replace(/left|right|bottom|top/g,function(e){return stt[e]})}var itt={start:"end",end:"start"};function $1(n){return n.replace(/start|end/g,function(e){return itt[e]})}function HE(n){var e=os(n),t=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:t,scrollTop:s}}function qE(n){return ma(Cr(n)).left+HE(n).scrollLeft}function rtt(n,e){var t=os(n),s=Cr(n),i=t.visualViewport,r=s.clientWidth,o=s.clientHeight,a=0,c=0;if(i){r=i.width,o=i.height;var d=ON();(d||!d&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:r,height:o,x:a+qE(n),y:c}}function ott(n){var e,t=Cr(n),s=HE(n),i=(e=n.ownerDocument)==null?void 0:e.body,r=Jr(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Jr(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+qE(n),c=-s.scrollTop;return Gi(i||t).direction==="rtl"&&(a+=Jr(t.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:a,y:c}}function $E(n){var e=Gi(n),t=e.overflow,s=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+s)}function LN(n){return["html","body","#document"].indexOf(hi(n))>=0?n.ownerDocument.body:Ts(n)&&$E(n)?n:LN(hp(n))}function Ml(n,e){var t;e===void 0&&(e=[]);var s=LN(n),i=s===((t=n.ownerDocument)==null?void 0:t.body),r=os(s),o=i?[r].concat(r.visualViewport||[],$E(s)?s:[]):s,a=e.concat(o);return i?a:a.concat(Ml(hp(o)))}function ub(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function att(n,e){var t=ma(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Y1(n,e,t){return e===AN?ub(rtt(n,t)):lo(e)?att(e,t):ub(ott(Cr(n)))}function ltt(n){var e=Ml(hp(n)),t=["absolute","fixed"].indexOf(Gi(n).position)>=0,s=t&&Ts(n)?mc(n):n;return lo(s)?e.filter(function(i){return lo(i)&&MN(i,s)&&hi(i)!=="body"}):[]}function ctt(n,e,t,s){var i=e==="clippingParents"?ltt(n):[].concat(e),r=[].concat(i,[t]),o=r[0],a=r.reduce(function(c,d){var u=Y1(n,d,s);return c.top=Jr(u.top,c.top),c.right=au(u.right,c.right),c.bottom=au(u.bottom,c.bottom),c.left=Jr(u.left,c.left),c},Y1(n,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function PN(n){var e=n.reference,t=n.element,s=n.placement,i=s?ui(s):null,r=s?ga(s):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,c;switch(i){case Yn:c={x:o,y:e.y-t.height};break;case Cs:c={x:o,y:e.y+e.height};break;case ws:c={x:e.x+e.width,y:a};break;case Wn:c={x:e.x-t.width,y:a};break;default:c={x:e.x,y:e.y}}var d=i?zE(i):null;if(d!=null){var u=d==="y"?"height":"width";switch(r){case ha:c[d]=c[d]-(e[u]/2-t[u]/2);break;case ec:c[d]=c[d]+(e[u]/2-t[u]/2);break}}return c}function tc(n,e){e===void 0&&(e={});var t=e,s=t.placement,i=s===void 0?n.placement:s,r=t.strategy,o=r===void 0?n.strategy:r,a=t.boundary,c=a===void 0?Net:a,d=t.rootBoundary,u=d===void 0?AN:d,h=t.elementContext,f=h===void 0?ol:h,m=t.altBoundary,_=m===void 0?!1:m,g=t.padding,b=g===void 0?0:g,E=kN(typeof b!="number"?b:DN(b,fc)),y=f===ol?Oet:ol,v=n.rects.popper,S=n.elements[_?y:f],R=ctt(lo(S)?S:S.contextElement||Cr(n.elements.popper),c,u,o),w=ma(n.elements.reference),A=PN({reference:w,element:v,strategy:"absolute",placement:i}),I=ub(Object.assign({},v,A)),C=f===ol?I:w,O={top:R.top-C.top+E.top,bottom:C.bottom-R.bottom+E.bottom,left:R.left-C.left+E.left,right:C.right-R.right+E.right},B=n.modifiersData.offset;if(f===ol&&B){var H=B[i];Object.keys(O).forEach(function(te){var k=[ws,Cs].indexOf(te)>=0?1:-1,$=[Yn,Cs].indexOf(te)>=0?"y":"x";O[te]+=H[$]*k})}return O}function dtt(n,e){e===void 0&&(e={});var t=e,s=t.placement,i=t.boundary,r=t.rootBoundary,o=t.padding,a=t.flipVariations,c=t.allowedAutoPlacements,d=c===void 0?NN:c,u=ga(s),h=u?a?z1:z1.filter(function(_){return ga(_)===u}):fc,f=h.filter(function(_){return d.indexOf(_)>=0});f.length===0&&(f=h);var m=f.reduce(function(_,g){return _[g]=tc(n,{placement:g,boundary:i,rootBoundary:r,padding:o})[ui(g)],_},{});return Object.keys(m).sort(function(_,g){return m[_]-m[g]})}function utt(n){if(ui(n)===BE)return[];var e=Bd(n);return[$1(n),e,$1(e)]}function ptt(n){var e=n.state,t=n.options,s=n.name;if(!e.modifiersData[s]._skip){for(var i=t.mainAxis,r=i===void 0?!0:i,o=t.altAxis,a=o===void 0?!0:o,c=t.fallbackPlacements,d=t.padding,u=t.boundary,h=t.rootBoundary,f=t.altBoundary,m=t.flipVariations,_=m===void 0?!0:m,g=t.allowedAutoPlacements,b=e.options.placement,E=ui(b),y=E===b,v=c||(y||!_?[Bd(b)]:utt(b)),S=[b].concat(v).reduce(function(Ee,Me){return Ee.concat(ui(Me)===BE?dtt(e,{placement:Me,boundary:u,rootBoundary:h,padding:d,flipVariations:_,allowedAutoPlacements:g}):Me)},[]),R=e.rects.reference,w=e.rects.popper,A=new Map,I=!0,C=S[0],O=0;O=0,$=k?"width":"height",q=tc(e,{placement:B,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),F=k?te?ws:Wn:te?Cs:Yn;R[$]>w[$]&&(F=Bd(F));var W=Bd(F),ne=[];if(r&&ne.push(q[H]<=0),a&&ne.push(q[F]<=0,q[W]<=0),ne.every(function(Ee){return Ee})){C=B,I=!1;break}A.set(B,ne)}if(I)for(var le=_?3:1,me=function(Me){var ke=S.find(function(Z){var he=A.get(Z);if(he)return he.slice(0,Me).every(function(_e){return _e})});if(ke)return C=ke,"break"},Se=le;Se>0;Se--){var de=me(Se);if(de==="break")break}e.placement!==C&&(e.modifiersData[s]._skip=!0,e.placement=C,e.reset=!0)}}const _tt={name:"flip",enabled:!0,phase:"main",fn:ptt,requiresIfExists:["offset"],data:{_skip:!1}};function W1(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function K1(n){return[Yn,ws,Cs,Wn].some(function(e){return n[e]>=0})}function htt(n){var e=n.state,t=n.name,s=e.rects.reference,i=e.rects.popper,r=e.modifiersData.preventOverflow,o=tc(e,{elementContext:"reference"}),a=tc(e,{altBoundary:!0}),c=W1(o,s),d=W1(a,i,r),u=K1(c),h=K1(d);e.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const ftt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:htt};function mtt(n,e,t){var s=ui(n),i=[Wn,Yn].indexOf(s)>=0?-1:1,r=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=r[0],a=r[1];return o=o||0,a=(a||0)*i,[Wn,ws].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function gtt(n){var e=n.state,t=n.options,s=n.name,i=t.offset,r=i===void 0?[0,0]:i,o=NN.reduce(function(u,h){return u[h]=mtt(h,e.rects,r),u},{}),a=o[e.placement],c=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=o}const btt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gtt};function Ett(n){var e=n.state,t=n.name;e.modifiersData[t]=PN({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ytt={name:"popperOffsets",enabled:!0,phase:"read",fn:Ett,data:{}};function vtt(n){return n==="x"?"y":"x"}function Stt(n){var e=n.state,t=n.options,s=n.name,i=t.mainAxis,r=i===void 0?!0:i,o=t.altAxis,a=o===void 0?!1:o,c=t.boundary,d=t.rootBoundary,u=t.altBoundary,h=t.padding,f=t.tether,m=f===void 0?!0:f,_=t.tetherOffset,g=_===void 0?0:_,b=tc(e,{boundary:c,rootBoundary:d,padding:h,altBoundary:u}),E=ui(e.placement),y=ga(e.placement),v=!y,S=zE(E),R=vtt(S),w=e.modifiersData.popperOffsets,A=e.rects.reference,I=e.rects.popper,C=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,O=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(w){if(r){var te,k=S==="y"?Yn:Wn,$=S==="y"?Cs:ws,q=S==="y"?"height":"width",F=w[S],W=F+b[k],ne=F-b[$],le=m?-I[q]/2:0,me=y===ha?A[q]:I[q],Se=y===ha?-I[q]:-A[q],de=e.elements.arrow,Ee=m&&de?VE(de):{width:0,height:0},Me=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:IN(),ke=Me[k],Z=Me[$],he=Ol(0,A[q],Ee[q]),_e=v?A[q]/2-le-he-ke-O.mainAxis:me-he-ke-O.mainAxis,we=v?-A[q]/2+le+he+Z+O.mainAxis:Se+he+Z+O.mainAxis,Pe=e.elements.arrow&&mc(e.elements.arrow),N=Pe?S==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,z=(te=B==null?void 0:B[S])!=null?te:0,Y=F+_e-z-N,ce=F+we-z,oe=Ol(m?au(W,Y):W,F,m?Jr(ne,ce):ne);w[S]=oe,H[S]=oe-F}if(a){var xe,Ne=S==="x"?Yn:Wn,ie=S==="x"?Cs:ws,Re=w[R],ge=R==="y"?"height":"width",De=Re+b[Ne],L=Re-b[ie],M=[Yn,Wn].indexOf(E)!==-1,Q=(xe=B==null?void 0:B[R])!=null?xe:0,ye=M?De:Re-A[ge]-I[ge]-Q+O.altAxis,X=M?Re+A[ge]+I[ge]-Q-O.altAxis:L,se=m&&M?Yet(ye,Re,X):Ol(m?ye:De,Re,m?X:L);w[R]=se,H[R]=se-Re}e.modifiersData[s]=H}}const Ttt={name:"preventOverflow",enabled:!0,phase:"main",fn:Stt,requiresIfExists:["offset"]};function xtt(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Ctt(n){return n===os(n)||!Ts(n)?HE(n):xtt(n)}function wtt(n){var e=n.getBoundingClientRect(),t=fa(e.width)/n.offsetWidth||1,s=fa(e.height)/n.offsetHeight||1;return t!==1||s!==1}function Rtt(n,e,t){t===void 0&&(t=!1);var s=Ts(e),i=Ts(e)&&wtt(e),r=Cr(e),o=ma(n,i,t),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!t)&&((hi(e)!=="body"||$E(r))&&(a=Ctt(e)),Ts(e)?(c=ma(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):r&&(c.x=qE(r))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function Att(n){var e=new Map,t=new Set,s=[];n.forEach(function(r){e.set(r.name,r)});function i(r){t.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var c=e.get(a);c&&i(c)}}),s.push(r)}return n.forEach(function(r){t.has(r.name)||i(r)}),s}function Ntt(n){var e=Att(n);return Get.reduce(function(t,s){return t.concat(e.filter(function(i){return i.phase===s}))},[])}function Ott(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Mtt(n){var e=n.reduce(function(t,s){var i=t[s.name];return t[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,t},{});return Object.keys(e).map(function(t){return e[t]})}var j1={placement:"bottom",modifiers:[],strategy:"absolute"};function Q1(){for(var n=arguments.length,e=new Array(n),t=0;t{this.createPopper()})},closeMenu(n){var e;!this.$el.contains(n.target)&&!((e=this.$refs.dropdown)!=null&&e.contains(n.target))&&(this.isOpen=!1)},createPopper(){const n=this.$el.querySelector("button"),e=this.$refs.dropdown;n&&e&&(this.popperInstance=fp(n,e,{placement:"bottom-end",modifiers:[{name:"flip",options:{fallbackPlacements:["top-end","bottom-start","top-start"]}},{name:"preventOverflow",options:{boundary:document.body}}]}))}}},Ltt={class:"relative inline-block text-left"},Ptt={key:0,ref:"dropdown",class:"z-50 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 dark:ring-white dark:ring-opacity-20 focus:outline-none dropdown-shadow text-gray-700 dark:text-white"},Ftt={class:"py-1",role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu"};function Utt(n,e,t,s,i,r){const o=tt("ToolbarButton");return T(),x("div",Ltt,[l("div",null,[V(o,{onClick:j(r.toggleMenu,["stop"]),title:t.title,icon:"code"},null,8,["onClick","title"])]),(T(),dt(Ik,{to:"body"},[i.isOpen?(T(),x("div",Ptt,[l("div",Ftt,[hn(n.$slots,"default",{},void 0,!0)])],512)):G("",!0)]))])}const FN=ot(Dtt,[["render",Utt],["__scopeId","data-v-6c3ea3a5"]]);async function X1(n,e="",t=[]){return new Promise((s,i)=>{const r=document.createElement("div");r.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",t.length===0?r.innerHTML=` + `)])):G("",!0)])}const YKe=ot(vKe,[["render",$Ke]]);var X2={exports:{}};(function(n,e){(function(t,s){n.exports=s()})(_2,function(){function t(a,c){var d=a.pos;if(a.src.charCodeAt(d)!==92)return!1;var u=a.src.slice(++d).match(/^(?:\\\[|\\\(|begin\{([^}]*)\})/);if(!u)return!1;d+=u[0].length;var h,f,m;u[0]==="\\["?(h="display_math",f="\\\\]"):u[0]==="\\("?(h="inline_math",f="\\\\)"):u[1]&&(h="math",f="\\end{"+u[1]+"}",m=!0);var _=a.src.indexOf(f,d);if(_===-1)return!1;var g=_+f.length;if(!c){var b=a.push(h,"",0);b.content=m?a.src.slice(a.pos,g):a.src.slice(d,_)}return a.pos=g,!0}function s(a,c){var d=a.pos;if(a.src.charCodeAt(d)!==36)return!1;var u="$",h=a.src.charCodeAt(++d);if(h===36){if(u="$$",a.src.charCodeAt(++d)===36)return!1}else if(h===32||h===9||h===10)return!1;var f=a.src.indexOf(u,d);if(f===-1||a.src.charCodeAt(f-1)===92)return!1;var m=f+u.length;if(u.length===1){var _=a.src.charCodeAt(f-1);if(_===32||_===9||_===10)return!1;var g=a.src.charCodeAt(m);if(g>=48&&g<58)return!1}if(!c){var b=a.push(u.length===1?"inline_math":"display_math","",0);b.content=a.src.slice(d,f)}return a.pos=m,!0}function i(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const QKe={name:"MarkdownRenderer",props:{host:{type:String,required:!1,default:"http://localhost:9600"},client_id:{type:String,required:!0},markdownText:{type:String,required:!0},discussion_id:{type:[String,Number],default:"0",required:!1},message_id:{value:"0",type:[String,Number],required:!1}},components:{CodeBlock:YKe},setup(n){const e=new xEe({html:!0,highlight:(r,o)=>{const a=o&&ao.getLanguage(o)?o:"plaintext";return ao.highlight(a,r).value},renderInline:!0,breaks:!0}).use(A7e).use(Yo).use(L7e,{figcaption:!0}).use(K7e).use(k7e,{enableRowspan:!0,enableColspan:!0,enableGridTables:!0,enableGridTablesExtra:!0,enableTableIndentation:!0,tableCellPadding:" ",tableCellJoiner:"|",multilineCellStartMarker:"|>",multilineCellEndMarker:"<|",multilineCellPadding:" ",multilineCellJoiner:` +`}).use(KKe({inlineMath:[["$","$"],["\\(","\\)"]],blockMath:[["$$","$$"],["\\[","\\]"]]})),t=ct([]),s=()=>{if(n.markdownText){let r=e.parse(n.markdownText,{}),o=[];t.value=[];for(let a=0;a0&&(t.value.push({type:"html",html:e.renderer.render(o,e.options,{})}),o=[]),t.value.push({type:"code",language:jKe(r[a].info),code:r[a].content}));o.length>0&&(t.value.push({type:"html",html:e.renderer.render(o,e.options,{})}),o=[])}else t.value=[];Le(()=>{ze.replace()})},i=(r,o)=>{t.value[r].code=o};return Ln(()=>n.markdownText,s),fi(()=>{s(),Le(()=>{window.MathJax&&window.MathJax.typesetPromise()})}),{markdownItems:t,updateCode:i}}},XKe={class:"break-all container w-full"},ZKe={ref:"mdRender",class:"markdown-content"},JKe=["innerHTML"];function eje(n,e,t,s,i,r){const o=tt("code-block");return T(),C("div",XKe,[l("div",ZKe,[(T(!0),C(Ge,null,Xe(s.markdownItems,(a,c)=>(T(),C("div",{key:c},[a.type==="code"?(T(),dt(o,{key:0,host:t.host,language:a.language,code:a.code,discussion_id:t.discussion_id,message_id:t.message_id,client_id:t.client_id,onUpdateCode:d=>s.updateCode(c,d)},null,8,["host","language","code","discussion_id","message_id","client_id","onUpdateCode"])):(T(),C("div",{key:1,innerHTML:a.html},null,8,JKe))]))),128))],512)])}const dp=ot(QKe,[["render",eje]]),tje={data(){return{show:!1,has_button:!0,message:""}},components:{MarkdownRenderer:dp},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(n){this.message=n,this.has_button=!0,this.show=!0},showBlockingMessage(n){this.message=n,this.has_button=!1,this.show=!0},updateMessage(n){this.message=n,this.show=!0},hideMessage(){this.show=!1}}},nje={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 z-50"},sje={class:"pl-10 pr-10 bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},ije={class:"container max-h-500 overflow-y-auto"},rje={class:"text-lg font-medium"},oje={class:"mt-4 flex justify-center"},aje={key:1,"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"},lje=l("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"},null,-1),cje=l("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"},null,-1),dje=[lje,cje];function uje(n,e,t,s,i,r){const o=tt("MarkdownRenderer");return i.show?(T(),C("div",nje,[l("div",sje,[l("div",ije,[l("div",rje,[V(o,{ref:"mdRender",host:"","markdown-text":i.message,message_id:0,discussion_id:0},null,8,["markdown-text"])])]),l("div",oje,[i.has_button?(T(),C("button",{key:0,onClick:e[0]||(e[0]=(...a)=>r.hide&&r.hide(...a)),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 ")):G("",!0),i.has_button?G("",!0):(T(),C("svg",aje,dje))])])])):G("",!0)}const Z2=ot(tje,[["render",uje]]);const pje={props:{progress:{type:Number,required:!0}}},_je={class:"progress-bar-container"};function hje(n,e,t,s,i,r){return T(),C("div",_je,[l("div",{class:"progress-bar",style:jt({width:`${t.progress}%`})},null,4)])}const up=ot(pje,[["render",hje]]),fje={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){Le(()=>{ze.replace()})},methods:{btn_clicked(n){console.log(n)},hide(n){this.show=!1,this.resolve&&n&&(this.resolve(this.controls_array),this.resolve=null)},showForm(n,e,t,s){this.ConfirmButtonText=t||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let i=0;i{this.controls_array=n,this.show=!0,this.title=e||this.title,this.resolve=i,console.log("show form",this.controls_array)})}},watch:{controls_array:{deep:!0,handler(n){n.forEach(e=>{e.type==="int"?e.value=parseInt(e.value):e.type==="float"&&(e.value=parseFloat(e.value))})}},show(){Le(()=>{ze.replace()})}}},mje={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},gje={class:"relative w-full max-w-md"},bje={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Eje={class:"flex flex-row flex-grow items-center m-2 p-1"},yje={class:"grow flex items-center"},vje=l("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Sje={class:"text-lg font-semibold select-none mr-2"},Tje={class:"items-end"},xje=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),Cje=l("span",{class:"sr-only"},"Close form modal",-1),wje=[xje,Cje],Rje={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},Aje={class:"px-2"},Nje={key:0},Oje={key:0},Ije={class:"text-base font-semibold"},Mje={key:0,class:"relative inline-flex"},kje=["onUpdate:modelValue"],Dje=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Lje={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Pje=["onUpdate:modelValue"],Fje={key:1},Uje={class:"text-base font-semibold"},Bje={key:0,class:"relative inline-flex"},Gje=["onUpdate:modelValue"],Vje=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),zje={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Hje=["onUpdate:modelValue"],qje=["value","selected"],$je={key:1},Yje={class:"",onclick:"btn_clicked(item)"},Wje={key:2},Kje={key:0},jje={class:"text-base font-semibold"},Qje={key:0,class:"relative inline-flex"},Xje=["onUpdate:modelValue"],Zje=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Jje={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},eQe=["onUpdate:modelValue"],tQe={key:1},nQe={class:"text-base font-semibold"},sQe={key:0,class:"relative inline-flex"},iQe=["onUpdate:modelValue"],rQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),oQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},aQe=["onUpdate:modelValue"],lQe=["value","selected"],cQe={key:3},dQe={class:"text-base font-semibold"},uQe={key:0,class:"relative inline-flex"},pQe=["onUpdate:modelValue"],_Qe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),hQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},fQe=["onUpdate:modelValue"],mQe=["onUpdate:modelValue","min","max"],gQe={key:4},bQe={class:"text-base font-semibold"},EQe={key:0,class:"relative inline-flex"},yQe=["onUpdate:modelValue"],vQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),SQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},TQe=["onUpdate:modelValue"],xQe=["onUpdate:modelValue","min","max"],CQe={key:5},wQe={class:"mb-2 relative flex items-center gap-2"},RQe={for:"default-checkbox",class:"text-base font-semibold"},AQe=["onUpdate:modelValue"],NQe={key:0,class:"relative inline-flex"},OQe=["onUpdate:modelValue"],IQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),MQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},kQe={key:6},DQe={class:"text-base font-semibold"},LQe={key:0,class:"relative inline-flex"},PQe=["onUpdate:modelValue"],FQe=l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[l("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),UQe={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},BQe=["onUpdate:modelValue"],GQe=l("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),VQe={class:"flex flex-row flex-grow gap-3"},zQe={class:"p-2 text-center grow"};function HQe(n,e,t,s,i,r){return i.show?(T(),C("div",mje,[l("div",gje,[l("div",bje,[l("div",Eje,[l("div",yje,[vje,l("h3",Sje,K(i.title),1)]),l("div",Tje,[l("button",{type:"button",onClick:e[0]||(e[0]=j(o=>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"},wje)])]),l("div",Rje,[(T(!0),C(Ge,null,Xe(i.controls_array,(o,a)=>(T(),C("div",Aje,[o.type=="str"||o.type=="string"?(T(),C("div",Nje,[o.options?G("",!0):(T(),C("div",Oje,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",Ije,K(o.name)+": ",1),o.help?(T(),C("label",Mje,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,kje),[[$e,o.isHelp]]),Dje])):G("",!0)],2),o.isHelp?(T(),C("p",Lje,K(o.help),1)):G("",!0),P(l("input",{type:"text","onUpdate:modelValue":c=>o.value=c,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,Pje),[[pe,o.value]])])),o.options?(T(),C("div",Fje,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",Uje,K(o.name)+": ",1),o.help?(T(),C("label",Bje,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,Gje),[[$e,o.isHelp]]),Vje])):G("",!0)],2),o.isHelp?(T(),C("p",zje,K(o.help),1)):G("",!0),P(l("select",{"onUpdate:modelValue":c=>o.value=c,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),C(Ge,null,Xe(o.options,c=>(T(),C("option",{value:c,selected:o.value===c},K(c),9,qje))),256))],8,Hje),[[Dt,o.value]])])):G("",!0)])):G("",!0),o.type=="btn"?(T(),C("div",$je,[l("button",Yje,K(o.name),1)])):G("",!0),o.type=="text"?(T(),C("div",Wje,[o.options?G("",!0):(T(),C("div",Kje,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",jje,K(o.name)+": ",1),o.help?(T(),C("label",Qje,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,Xje),[[$e,o.isHelp]]),Zje])):G("",!0)],2),o.isHelp?(T(),C("p",Jje,K(o.help),1)):G("",!0),P(l("textarea",{"onUpdate:modelValue":c=>o.value=c,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,eQe),[[pe,o.value]])])),o.options?(T(),C("div",tQe,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",nQe,K(o.name)+": ",1),o.help?(T(),C("label",sQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,iQe),[[$e,o.isHelp]]),rQe])):G("",!0)],2),o.isHelp?(T(),C("p",oQe,K(o.help),1)):G("",!0),P(l("select",{"onUpdate:modelValue":c=>o.value=c,class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),C(Ge,null,Xe(o.options,c=>(T(),C("option",{value:c,selected:o.value===c},K(c),9,lQe))),256))],8,aQe),[[Dt,o.value]])])):G("",!0)])):G("",!0),o.type=="int"?(T(),C("div",cQe,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",dQe,K(o.name)+": ",1),o.help?(T(),C("label",uQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,pQe),[[$e,o.isHelp]]),_Qe])):G("",!0)],2),o.isHelp?(T(),C("p",hQe,K(o.help),1)):G("",!0),P(l("input",{type:"number","onUpdate:modelValue":c=>o.value=c,step:"1",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,fQe),[[pe,o.value]]),o.min!=null&&o.max!=null?P((T(),C("input",{key:1,type:"range","onUpdate:modelValue":c=>o.value=c,min:o.min,max:o.max,step:"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,mQe)),[[pe,o.value]]):G("",!0)])):G("",!0),o.type=="float"?(T(),C("div",gQe,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",bQe,K(o.name)+": ",1),o.help?(T(),C("label",EQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,yQe),[[$e,o.isHelp]]),vQe])):G("",!0)],2),o.isHelp?(T(),C("p",SQe,K(o.help),1)):G("",!0),P(l("input",{type:"number","onUpdate:modelValue":c=>o.value=c,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,TQe),[[pe,o.value]]),o.min!=null&&o.max!=null?P((T(),C("input",{key:1,type:"range","onUpdate:modelValue":c=>o.value=c,min:o.min,max:o.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,xQe)),[[pe,o.value]]):G("",!0)])):G("",!0),o.type=="bool"?(T(),C("div",CQe,[l("div",wQe,[l("label",RQe,K(o.name)+": ",1),P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.value=c,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,AQe),[[$e,o.value]]),o.help?(T(),C("label",NQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,OQe),[[$e,o.isHelp]]),IQe])):G("",!0)]),o.isHelp?(T(),C("p",MQe,K(o.help),1)):G("",!0)])):G("",!0),o.type=="list"?(T(),C("div",kQe,[l("label",{class:Be(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",o.help?"cursor-pointer ":""])},[l("div",DQe,K(o.name)+": ",1),o.help?(T(),C("label",LQe,[P(l("input",{type:"checkbox","onUpdate:modelValue":c=>o.isHelp=c,class:"sr-only peer"},null,8,PQe),[[$e,o.isHelp]]),FQe])):G("",!0)],2),o.isHelp?(T(),C("p",UQe,K(o.help),1)):G("",!0),P(l("input",{type:"text","onUpdate:modelValue":c=>o.value=c,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,BQe),[[pe,o.value]])])):G("",!0),GQe]))),256)),l("div",VQe,[l("div",zQe,[l("button",{onClick:e[1]||(e[1]=j(o=>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"},K(i.ConfirmButtonText),1),l("button",{onClick:e[2]||(e[2]=j(o=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-11 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},K(i.DenyButtonText),1)])])])])])])):G("",!0)}const hc=ot(fje,[["render",HQe]]),qQe={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},askQuestion(n,e,t){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=t||this.DenyButtonText,new Promise(s=>{this.message=n,this.show=!0,this.resolve=s})}}},$Qe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},YQe={class:"relative w-full max-w-md max-h-full"},WQe={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},KQe=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),jQe=l("span",{class:"sr-only"},"Close modal",-1),QQe=[KQe,jQe],XQe={class:"p-4 text-center"},ZQe=l("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"},[l("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),JQe={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function eXe(n,e,t,s,i,r){return i.show?(T(),C("div",$Qe,[l("div",YQe,[l("div",WQe,[l("button",{type:"button",onClick:e[0]||(e[0]=o=>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"},QQe),l("div",XQe,[ZQe,l("h3",JQe,K(i.message),1),l("button",{onClick:e[1]||(e[1]=o=>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"},K(i.ConfirmButtonText),1),l("button",{onClick:e[2]||(e[2]=o=>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"},K(i.DenyButtonText),1)])])])])):G("",!0)}const J2=ot(qQe,[["render",eXe]]),tXe={props:{personality:{type:Object,required:!0},config:{type:Object,required:!0}},data(){return{show:!1,title:"Add AI Agent",iconUrl:"",file:null,tempConfig:{}}},methods:{showForm(){this.showDialog=!0},hideForm(){this.showDialog=!1},selectIcon(n){n.target.files&&(this.file=n.target.files[0],this.iconUrl=URL.createObjectURL(this.file))},showPanel(){this.show=!0},hide(){this.show=!1},submitForm(){re.post("/set_personality_config",{client_id:this.$store.state.client_id,category:this.personality.category,name:this.personality.folder,config:this.config}).then(n=>{const e=n.data;console.log("Done"),e.status?(this.currentPersonConfig=e.config,this.showPersonalityEditor=!0):console.error(e.error)}).catch(n=>{console.error(n)})}}},nXe={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 z-20"},sXe={class:"relative w-full max-h-full bg-bg-light dark:bg-bg-dark"},iXe={class:"w-full h-full relative items-center gap-2 rounded-lg border bg-bg-light dark:bg-bg-dark p-1.5 shadow-sm hover:shadow-none dark:border-gray-800 dark:bg-gray-900"},rXe=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),oXe=l("span",{class:"sr-only"},"Close modal",-1),aXe=[rXe,oXe],lXe={class:"justify-center text-center items-center w-full bg-bg-light dark:bg-bg-dark"},cXe={class:"w-full flex flex-row mt-4 text-center justify-center"},dXe={class:"w-full max-h-full container bg-bg-light dark:bg-bg-dark"},uXe={class:"mb-4 w-full"},pXe={class:"w-full bg-bg-light dark:bg-bg-dark"},_Xe=l("td",null,[l("label",{for:"personalityConditioning"},"Personality Conditioning:")],-1),hXe=l("td",null,[l("label",{for:"userMessagePrefix"},"User Message Prefix:")],-1),fXe=l("td",null,[l("label",{for:"aiMessagePrefix"},"AI Message Prefix:")],-1),mXe=l("td",null,[l("label",{for:"linkText"},"Link Text:")],-1),gXe=l("td",null,[l("label",{for:"welcomeMessage"},"Welcome Message:")],-1),bXe=l("td",null,[l("label",{for:"modelTemperature"},"Model Temperature:")],-1),EXe=l("td",null,[l("label",{for:"modelTopK"},"Model Top K:")],-1),yXe=l("td",null,[l("label",{for:"modelTopP"},"Model Top P:")],-1),vXe=l("td",null,[l("label",{for:"modelRepeatPenalty"},"Model Repeat Penalty:")],-1),SXe=l("td",null,[l("label",{for:"modelRepeatLastN"},"Model Repeat Last N:")],-1),TXe=l("td",null,[l("label",{for:"recommendedBinding"},"Recommended Binding:")],-1),xXe=l("td",null,[l("label",{for:"recommendedModel"},"Recommended Model:")],-1),CXe=l("td",null,[l("label",{class:"dark:bg-black dark:text-primary w-full",for:"dependencies"},"Dependencies:")],-1),wXe=l("td",null,[l("label",{for:"antiPrompts"},"Anti Prompts:")],-1);function RXe(n,e,t,s,i,r){return i.show?(T(),C("div",nXe,[l("div",sXe,[l("div",iXe,[l("button",{type:"button",onClick:e[0]||(e[0]=o=>r.hide()),class:"absolute top-1 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"},aXe),l("div",lXe,[l("div",cXe,[l("button",{type:"submit",onClick:e[1]||(e[1]=j((...o)=>r.submitForm&&r.submitForm(...o),["prevent"])),class:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"}," Commit AI to Server "),l("button",{onClick:e[2]||(e[2]=j(o=>r.hide(),["prevent"])),class:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"}," Close ")]),l("div",dXe,[l("form",uXe,[l("table",pXe,[l("tr",null,[_Xe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"personalityConditioning","onUpdate:modelValue":e[3]||(e[3]=o=>t.config.personality_conditioning=o)},null,512),[[pe,t.config.personality_conditioning]])])]),l("tr",null,[hXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"userMessagePrefix","onUpdate:modelValue":e[4]||(e[4]=o=>t.config.user_message_prefix=o)},null,512),[[pe,t.config.user_message_prefix]])])]),l("tr",null,[fXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"aiMessagePrefix","onUpdate:modelValue":e[5]||(e[5]=o=>t.config.ai_message_prefix=o)},null,512),[[pe,t.config.ai_message_prefix]])])]),l("tr",null,[mXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"linkText","onUpdate:modelValue":e[6]||(e[6]=o=>t.config.link_text=o)},null,512),[[pe,t.config.link_text]])])]),l("tr",null,[gXe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"welcomeMessage","onUpdate:modelValue":e[7]||(e[7]=o=>t.config.welcome_message=o)},null,512),[[pe,t.config.welcome_message]])])]),l("tr",null,[bXe,l("td",null,[P(l("input",{type:"number",id:"modelTemperature","onUpdate:modelValue":e[8]||(e[8]=o=>t.config.model_temperature=o)},null,512),[[pe,t.config.model_temperature]])])]),l("tr",null,[EXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelTopK","onUpdate:modelValue":e[9]||(e[9]=o=>t.config.model_top_k=o)},null,512),[[pe,t.config.model_top_k]])])]),l("tr",null,[yXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelTopP","onUpdate:modelValue":e[10]||(e[10]=o=>t.config.model_top_p=o)},null,512),[[pe,t.config.model_top_p]])])]),l("tr",null,[vXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelRepeatPenalty","onUpdate:modelValue":e[11]||(e[11]=o=>t.config.model_repeat_penalty=o)},null,512),[[pe,t.config.model_repeat_penalty]])])]),l("tr",null,[SXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelRepeatLastN","onUpdate:modelValue":e[12]||(e[12]=o=>t.config.model_repeat_last_n=o)},null,512),[[pe,t.config.model_repeat_last_n]])])]),l("tr",null,[TXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"recommendedBinding","onUpdate:modelValue":e[13]||(e[13]=o=>t.config.recommended_binding=o)},null,512),[[pe,t.config.recommended_binding]])])]),l("tr",null,[xXe,l("td",null,[P(l("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"recommendedModel","onUpdate:modelValue":e[14]||(e[14]=o=>t.config.recommended_model=o)},null,512),[[pe,t.config.recommended_model]])])]),l("tr",null,[CXe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"dependencies","onUpdate:modelValue":e[15]||(e[15]=o=>t.config.dependencies=o)},null,512),[[pe,t.config.dependencies]])])]),l("tr",null,[wXe,l("td",null,[P(l("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"antiPrompts","onUpdate:modelValue":e[16]||(e[16]=o=>t.config.anti_prompts=o)},null,512),[[pe,t.config.anti_prompts]])])])])])])])])])])):G("",!0)}const eN=ot(tXe,[["render",RXe]]);const AXe={data(){return{showPopup:!1,webpageUrl:"https://lollms.com/"}},methods:{show(){this.showPopup=!0},hide(){this.showPopup=!1},save_configuration(){re.post("/apply_settings",{client_id:this.$store.state.client_id,config:this.$store.state.config}).then(n=>{this.isLoading=!1,n.data.status?(this.$store.state.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1)})}}},NXe=n=>(Rs("data-v-d504dfc9"),n=n(),As(),n),OXe={key:0,class:"fixed inset-0 flex items-center justify-center z-50"},IXe={class:"popup-container"},MXe=["src"],kXe={class:"checkbox-container"},DXe=NXe(()=>l("label",{for:"startup",class:"checkbox-label"},"Show at startup",-1));function LXe(n,e,t,s,i,r){return T(),dt(Hs,{name:"fade"},{default:Me(()=>[i.showPopup?(T(),C("div",OXe,[l("div",IXe,[l("button",{onClick:e[0]||(e[0]=(...o)=>r.hide&&r.hide(...o)),class:"close-button"}," X "),l("iframe",{src:i.webpageUrl,class:"iframe-content"},null,8,MXe),l("div",kXe,[P(l("input",{type:"checkbox",id:"startup",class:"styled-checkbox","onUpdate:modelValue":e[1]||(e[1]=o=>this.$store.state.config.show_news_panel=o),onChange:e[2]||(e[2]=(...o)=>r.save_configuration&&r.save_configuration(...o))},null,544),[[$e,this.$store.state.config.show_news_panel]]),DXe])])])):G("",!0)]),_:1})}const tN=ot(AXe,[["render",LXe],["__scopeId","data-v-d504dfc9"]]),PXe={props:{href:{type:String,default:"#"},icon:{type:String,required:!0},title:{type:String,default:""}},methods:{onClick(n){this.href==="#"&&(n.preventDefault(),this.$emit("click"))}}},FXe=["href","title"],UXe=["data-feather"];function BXe(n,e,t,s,i,r){return T(),C("a",{href:t.href,onClick:e[0]||(e[0]=(...o)=>r.onClick&&r.onClick(...o)),class:"text-2xl hover:text-primary transition duration-150 ease-in-out",title:t.title},[l("i",{"data-feather":t.icon},null,8,UXe)],8,FXe)}const Dd=ot(PXe,[["render",BXe]]),GXe={props:{href:{type:String,required:!0},icon:{type:String,required:!0},title:{type:String,default:"Visit our social media"}}},VXe=["href","title"],zXe=["data-feather"],HXe={key:1,class:"w-6 h-6 fill-current",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},qXe=l("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"},null,-1),$Xe=[qXe],YXe={key:2,class:"w-6 h-6 fill-current",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},WXe=l("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"},null,-1),KXe=[WXe];function jXe(n,e,t,s,i,r){return T(),C("a",{href:t.href,target:"_blank",class:"text-2xl hover:text-primary transition duration-150 ease-in-out",title:t.title},[t.icon!=="x"&&t.icon!=="discord"?(T(),C("i",{key:0,"data-feather":t.icon},null,8,zXe)):t.icon==="x"?(T(),C("svg",HXe,$Xe)):t.icon==="discord"?(T(),C("svg",YXe,KXe)):G("",!0)],8,VXe)}const yl=ot(GXe,[["render",jXe]]),QXe="/assets/fastapi-4a6542d0.png",XXe="/assets/discord-6817c341.svg",ZXe={key:0,class:"navbar-container z-60"},JXe={class:"game-menu"},eZe={key:0,class:"feather-emoji"},tZe={name:"Navigation",computed:{filteredNavLinks(){return filteredNavLinks.value}}},nN=Object.assign(tZe,{setup(n){const e=DF(),t=ct(0),s=ct([]),i=[{active:!0,route:"discussions",text:"Discussions"},{active:!0,route:"playground",text:"Playground"},{active:!0,route:"PersonalitiesZoo",text:"Personalities Zoo"},{active:!0,route:"AppsZoo",text:"Apps Zoo"},{active:!1,route:"AutoSD",text:"Auto111-SD",condition:()=>Fs.state.config.enable_sd_service||Fs.state.config.active_tti_service==="autosd"},{active:!1,route:"ComfyUI",text:"ComfyUI",condition:()=>Fs.state.config.enable_comfyui_service||Fs.state.config.active_tti_service==="comfyui"},{active:!1,route:"interactive",text:"Interactive",condition:()=>Fs.state.config.active_tts_service!=="None"&&Fs.state.config.active_stt_service!=="None"},{active:!0,route:"settings",text:"Settings"},{active:!0,route:"help_view",text:"Help"}],r=et(()=>Fs.state.ready?i.filter(d=>d.condition?d.condition():d.active):i.filter(d=>d.active));fi(()=>{o()}),Ln(()=>e.name,o);function o(){const d=r.value.findIndex(u=>u.route===e.name);d!==-1&&(t.value=d)}function a(d){return e.name===d}function c(d){t.value=d}return(d,u)=>d.$store.state.ready?(T(),C("div",ZXe,[l("nav",JXe,[(T(!0),C(Ge,null,Xe(r.value,(h,f)=>(T(),dt(Lt(mE),{key:f,to:{name:h.route},class:Be(["menu-item",{"active-link":a(h.route)}]),onClick:m=>c(f),ref_for:!0,ref_key:"menuItems",ref:s},{default:Me(()=>[Je(K(h.text)+" ",1),a(h.route)?(T(),C("span",eZe,"🪶")):G("",!0)]),_:2},1032,["to","class","onClick"]))),128))])])):G("",!0)}}),nZe="/assets/static_info-b284ded1.svg",sZe="/assets/animated_info-7edcb0f9.svg",$s="/assets/logo-360e020b.png",iZe="/assets/fun_mode-14669a57.svg",rZe="/assets/normal_mode-f539f08d.svg";const oZe={class:"top-0 shadow-lg navbar-container"},aZe={class:"container flex flex-col lg:flex-row items-center gap-2 pb-0"},lZe={class:"logo-container"},cZe=["src"],dZe=l("div",{class:"flex flex-col justify-center"},[l("div",{class:"text-6xl md:text-2xl font-bold text-amber-500 mb-2",style:{"text-shadow":"2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white"}}," L🪶LLMS "),l("p",{class:"text-gray-400 text-sm"},"One tool to rule them all")],-1),uZe={class:"flex gap-3 flex-1 items-center justify-end"},pZe={key:0,title:"Model is ok",class:"text-green-500 dark:text-green-400 cursor-pointer transition-transform hover:scale-110"},_Ze=l("svg",{class:"w-8 h-8",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M9 12L11 14L15 10",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),hZe=[_Ze],fZe={key:1,title:"Model is not ok",class:"text-red-500 dark:text-red-400 cursor-pointer transition-transform hover:scale-110"},mZe=l("svg",{class:"w-8 h-8",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M15 9L9 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),l("path",{d:"M9 9L15 15",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),gZe=[mZe],bZe={key:2,title:"Text is not being generated. Ready to generate",class:"text-green-500 dark:text-green-400 cursor-pointer transition-transform hover:scale-110"},EZe=l("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 21v-4m0 0V5a2 2 0 012-2h6.5l1 1H21l-3 6 3 6h-8.5l-1-1H5a2 2 0 00-2 2zm9-13.5V9"})],-1),yZe=[EZe],vZe={key:3,title:"Generation in progress...",class:"text-yellow-500 dark:text-yellow-400 cursor-pointer transition-transform hover:scale-110"},SZe=l("svg",{class:"w-6 h-6 animate-spin",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),TZe=[SZe],xZe={key:4,title:"Connection status: Connected",class:"text-green-500 dark:text-green-400 cursor-pointer transition-transform hover:scale-110"},CZe=l("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 10V3L4 14h7v7l9-11h-7z"})],-1),wZe=[CZe],RZe={key:5,title:"Connection status: Not connected",class:"text-red-500 dark:text-red-400 cursor-pointer transition-transform hover:scale-110"},AZe=l("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"})],-1),NZe=[AZe],OZe={class:"flex items-center space-x-4"},IZe={class:"flex items-center space-x-4"},MZe={class:"relative group",title:"Lollms News"},kZe=l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"w-full h-full"},[l("path",{d:"M19 20H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1m2 13a2 2 0 0 1-2-2V7m2 13a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"})],-1),DZe=[kZe],LZe=l("span",{class:"absolute hidden group-hover:block bg-gray-800 text-white text-xs rounded py-1 px-2 top-full left-1/2 transform -translate-x-1/2 mt-2 whitespace-nowrap"}," Lollms News ",-1),PZe={class:"relative group"},FZe=mo('',1),UZe=[FZe],BZe=mo('',1),GZe=[BZe],VZe={class:"absolute hidden group-hover:block bg-gray-800 text-white text-xs rounded py-1 px-2 top-full left-1/2 transform -translate-x-1/2 mb-2 whitespace-nowrap"},zZe={class:"language-selector relative"},HZe={key:0,ref:"languageMenu",class:"container language-menu absolute left-0 mt-1 bg-white dark:bg-bg-dark-tone rounded shadow-lg z-10 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",style:{position:"absolute",top:"100%",width:"200px","max-height":"300px","overflow-y":"auto"}},qZe={style:{"list-style-type":"none","padding-left":"0","margin-left":"0"}},$Ze=["onClick"],YZe=["onClick"],WZe={class:"cursor-pointer hover:text-white py-0 px-0 block whitespace-no-wrap"},KZe=l("i",{"data-feather":"sun"},null,-1),jZe=[KZe],QZe=l("i",{"data-feather":"moon"},null,-1),XZe=[QZe],ZZe={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},JZe={class:"text-2xl animate-pulse mt-2 text-white"},eJe={id:"app"},tJe={name:"TopBar",computed:{storeLogo(){return this.$store.state.config?$s:this.$store.state.config.app_custom_logo!=""?"/user_infos/"+this.$store.state.config.app_custom_logo:$s},languages:{get(){return console.log("searching languages",this.$store.state.languages),this.$store.state.languages}},language:{get(){return console.log("searching language",this.$store.state.language),this.$store.state.language}},currentPersonConfig(){try{return this.$store.state.currentPersonConfig}catch{console.log("Error finding current personality configuration");return}},selectedPersonality(){try{return this.$store.state.selectedPersonality}catch{console.log("Error finding current personality configuration");return}},loading_infos(){return this.$store.state.loading_infos},is_fun_mode(){try{return this.$store.state.config?this.$store.state.config.fun_mode:!1}catch(n){return console.error("Oopsie! Looks like we hit a snag: ",n),!1}},isModelOK(){return this.$store.state.isModelOk},isGenerating(){return this.$store.state.isGenerating},isConnected(){return this.$store.state.isConnected}},components:{Toast:dc,MessageBox:Z2,ProgressBar:up,UniversalForm:hc,YesNoDialog:J2,Navigation:nN,PersonalityEditor:eN,PopupViewer:tN,ActionButton:Dd,SocialIcon:yl},watch:{"$store.state.config.fun_mode":function(n,e){console.log(`Fun mode changed from ${e} to ${n}! 🎉`)},"$store.state.isConnected":function(n,e){this.isConnected?(console.log("this.is_first_connection"),console.log(this.is_first_connection),this.is_first_connection||(this.$store.state.messageBox.hideMessage(),this.$store.state.messageBox.showMessage("Server connected."),this.$store.state.config.activate_audio_infos&&this.connection_recovered_audio.play())):(this.$store.state.messageBox.showBlockingMessage("Server suddenly disconnected. Please reboot the server to recover the connection"),this.is_first_connection=!1,console.log("this.is_first_connection set to false"),console.log(this.is_first_connection),this.$store.state.config.activate_audio_infos&&this.connection_lost_audio.play()),Le(()=>{ze.replace()})}},data(){return{customLanguage:"",selectedLanguage:"",isLanguageMenuVisible:!1,static_info:nZe,animated_info:sZe,normal_mode:rZe,fun_mode:iZe,is_first_connection:!0,discord:XXe,FastAPI:QXe,rebooting_audio:new Audio("rebooting.wav"),connection_lost_audio:new Audio("connection_lost.wav"),connection_recovered_audio:new Audio("connection_recovered.wav"),database_selectorDialogVisible:!1,progress_visibility:!1,progress_value:0,codeBlockStylesheet:"",sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches,posts_headers:{accept:"application/json","Content-Type":"application/json"}}},async mounted(){this.$store.state.toast=this.$refs.toast,this.$store.state.news=this.$refs.news,this.$store.state.messageBox=this.$refs.messageBox,this.$store.state.universalForm=this.$refs.universalForm,this.$store.state.yesNoDialog=this.$refs.yesNoDialog,this.$store.state.personality_editor=this.$refs.personality_editor,this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),Le(()=>{ze.replace()}),window.addEventListener("resize",this.adjustMenuPosition)},beforeUnmount(){window.removeEventListener("resize",this.adjustMenuPosition)},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{adjustMenuPosition(){const n=this.$refs.languageMenu;if(n){const e=n.getBoundingClientRect(),t=window.innerWidth;e.right>t?(n.style.left="auto",n.style.right="0"):(n.style.left="0",n.style.right="auto")}},addCustomLanguage(){this.customLanguage.trim()!==""&&(this.selectLanguage(this.customLanguage),this.customLanguage="")},async selectLanguage(n){await this.$store.dispatch("changeLanguage",n),this.toggleLanguageMenu(),this.language=n},async deleteLanguage(n){await this.$store.dispatch("deleteLanguage",n),this.toggleLanguageMenu(),this.language=n},toggleLanguageMenu(){console.log("Toggling language ",this.isLanguageMenuVisible),this.isLanguageMenuVisible=!this.isLanguageMenuVisible},restartProgram(n){n.preventDefault(),this.$store.state.api_post_req("restart_program",this.$store.state.client_id),this.rebooting_audio.play(),this.$store.state.toast.showToast("Rebooting the app. Please wait...",410,!1),console.log("this.$store.state.api_get_req",this.$store.state.api_get_req),setTimeout(()=>{window.close()},2e3)},refreshPage(){window.location.href.split("/").length>4?window.location.href="/":window.location.reload(!0)},handleOk(n){console.log("Input text:",n)},applyConfiguration(){this.isLoading=!0,console.log(this.$store.state.config),re.post("/apply_settings",{client_id:this.$store.state.client_id,config:this.$store.state.config},{headers:this.posts_headers}).then(n=>{this.isLoading=!1,n.data.status?(this.$store.state.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1),Le(()=>{ze.replace()})})},fun_mode_on(){console.log("Turning on fun mode"),this.$store.state.config.fun_mode=!0,this.applyConfiguration()},fun_mode_off(){console.log("Turning off fun mode"),this.$store.state.config.fun_mode=!1,this.applyConfiguration()},showNews(){this.$store.state.news.show()},themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none"),Le(()=>{jp(()=>Promise.resolve({}),["assets/stackoverflow-dark-57af98f5.css"])});return}Le(()=>{jp(()=>Promise.resolve({}),["assets/stackoverflow-light-077a2b3c.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}jp(()=>Promise.resolve({}),["assets/tokyo-night-dark-f9656fc4.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle(),window.dispatchEvent(new Event("themeChanged"))},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}}},nJe=Object.assign(tJe,{setup(n){return(e,t)=>(T(),C("header",oZe,[l("nav",aZe,[V(Lt(mE),{to:{name:"discussions"},class:"flex items-center space-x-2"},{default:Me(()=>[l("div",lZe,[l("img",{class:"w-12 h-12 rounded-full object-cover logo-image",src:e.$store.state.config==null?Lt($s):e.$store.state.config.app_custom_logo!=""?"/user_infos/"+e.$store.state.config.app_custom_logo:Lt($s),alt:"Logo",title:"LoLLMS WebUI"},null,8,cZe)]),dZe]),_:1}),l("div",uZe,[e.isModelOK?(T(),C("div",pZe,hZe)):(T(),C("div",fZe,gZe)),e.isGenerating?(T(),C("div",vZe,TZe)):(T(),C("div",bZe,yZe)),e.isConnected?(T(),C("div",xZe,wZe)):(T(),C("div",RZe,NZe))]),l("div",OZe,[V(Dd,{onClick:e.restartProgram,icon:"power",title:"restart program"},null,8,["onClick"]),V(Dd,{onClick:e.refreshPage,icon:"refresh-ccw",title:"refresh page"},null,8,["onClick"]),V(Dd,{href:"/docs",icon:"file-text",title:"Fast API doc"})]),l("div",IZe,[V(yl,{href:"https://github.com/ParisNeo/lollms-webui",icon:"github"}),V(yl,{href:"https://www.youtube.com/channel/UCJzrg0cyQV2Z30SQ1v2FdSQ",icon:"youtube"}),V(yl,{href:"https://x.com/ParisNeo_AI",icon:"x"}),V(yl,{href:"https://discord.com/channels/1092918764925882418",icon:"discord"})]),l("div",MZe,[l("div",{onClick:t[0]||(t[0]=s=>e.showNews()),class:"text-2xl w-8 h-8 cursor-pointer transition-colors duration-300 text-gray-600 hover:text-primary dark:text-gray-300 dark:hover:text-primary"},DZe),LZe]),l("div",PZe,[e.is_fun_mode?(T(),C("div",{key:0,title:"Fun mode is on, press to turn off",class:"w-8 h-8 cursor-pointer text-green-500 dark:text-green-400 hover:text-green-600 dark:hover:text-green-300 transition-colors duration-300",onClick:t[1]||(t[1]=s=>e.fun_mode_off())},UZe)):(T(),C("div",{key:1,title:"Fun mode is off, press to turn on",class:"w-8 h-8 cursor-pointer text-gray-500 dark:text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-300",onClick:t[2]||(t[2]=s=>e.fun_mode_on())},GZe)),l("span",VZe,K(e.is_fun_mode?"Turn off fun mode":"Turn on fun mode"),1)]),l("div",zZe,[l("button",{onClick:t[3]||(t[3]=(...s)=>e.toggleLanguageMenu&&e.toggleLanguageMenu(...s)),class:"bg-transparent text-black dark:text-white py-1 px-1 rounded font-bold uppercase transition-colors duration-300 hover:bg-blue-500"},K(e.$store.state.language.slice(0,2)),1),e.isLanguageMenuVisible?(T(),C("div",HZe,[l("ul",qZe,[(T(!0),C(Ge,null,Xe(e.languages,s=>(T(),C("li",{key:s,class:"relative flex items-center",style:{"padding-left":"0","margin-left":"0"}},[l("button",{onClick:i=>e.deleteLanguage(s),class:"mr-2 text-red-500 hover:text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-opacity-50 rounded-full"},"✕",8,$Ze),l("div",{onClick:i=>e.selectLanguage(s),class:Be({"cursor-pointer hover:bg-blue-500 hover:text-white py-2 px-4 block whitespace-no-wrap":!0,"bg-blue-500 text-white":s===e.$store.state.language,"flex-grow":!0})},K(s),11,YZe)]))),128)),l("li",WZe,[P(l("input",{type:"text","onUpdate:modelValue":t[4]||(t[4]=s=>e.customLanguage=s),onKeyup:t[5]||(t[5]=Ks(j((...s)=>e.addCustomLanguage&&e.addCustomLanguage(...s),["prevent"]),["enter"])),placeholder:"Enter language...",class:"bg-transparent border border-gray-300 rounded py-0 px-0 mx-0 my-1 w-full"},null,544),[[pe,e.customLanguage]])])])],512)):G("",!0)]),l("div",{class:"sun text-2xl w-6 hover:text-primary duration-150 cursor-pointer",title:"Switch to Light theme",onClick:t[6]||(t[6]=s=>e.themeSwitch())},jZe),l("div",{class:"moon text-2xl w-6 hover:text-primary duration-150 cursor-pointer",title:"Switch to Dark theme",onClick:t[7]||(t[7]=s=>e.themeSwitch())},XZe)]),V(nN),V(dc,{ref:"toast"},null,512),V(Z2,{ref:"messageBox"},null,512),P(l("div",ZZe,[V(up,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),l("p",JZe,K(e.loading_infos)+" ...",1)],512),[[wt,e.progress_visibility]]),V(hc,{ref:"universalForm",class:"z-20"},null,512),V(J2,{ref:"yesNoDialog",class:"z-20"},null,512),V(eN,{ref:"personality_editor",config:e.currentPersonConfig,personality:e.selectedPersonality},null,8,["config","personality"]),l("div",eJe,[V(tN,{ref:"news"},null,512)])]))}}),sJe={class:"flex overflow-hidden flex-grow w-full"},iJe={__name:"App",setup(n){return(e,t)=>(T(),C("div",{class:Be([e.currentTheme,"flex flex-col h-screen font-sans background-color text-slate-950 dark:bg-bg-dark dark:text-slate-50 w-full overflow-hidden"])},[V(nJe),l("div",sJe,[V(Lt(p2),null,{default:Me(({Component:s})=>[(T(),dt(nk,null,[(T(),dt(Vu(s)))],1024))]),_:1})])],2))}},_i=Object.create(null);_i.open="0";_i.close="1";_i.ping="2";_i.pong="3";_i.message="4";_i.upgrade="5";_i.noop="6";const Ld=Object.create(null);Object.keys(_i).forEach(n=>{Ld[_i[n]]=n});const ib={type:"error",data:"parser error"},sN=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",iN=typeof ArrayBuffer=="function",rN=n=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n&&n.buffer instanceof ArrayBuffer,IE=({type:n,data:e},t,s)=>sN&&e instanceof Blob?t?s(e):M1(e,s):iN&&(e instanceof ArrayBuffer||rN(e))?t?s(e):M1(new Blob([e]),s):s(_i[n]+(e||"")),M1=(n,e)=>{const t=new FileReader;return t.onload=function(){const s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(n)};function k1(n){return n instanceof Uint8Array?n:n instanceof ArrayBuffer?new Uint8Array(n):new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}let zm;function rJe(n,e){if(sN&&n.data instanceof Blob)return n.data.arrayBuffer().then(k1).then(e);if(iN&&(n.data instanceof ArrayBuffer||rN(n.data)))return e(k1(n.data));IE(n,!1,t=>{zm||(zm=new TextEncoder),e(zm.encode(t))})}const D1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let n=0;n{let e=n.length*.75,t=n.length,s,i=0,r,o,a,c;n[n.length-1]==="="&&(e--,n[n.length-2]==="="&&e--);const d=new ArrayBuffer(e),u=new Uint8Array(d);for(s=0;s>4,u[i++]=(o&15)<<4|a>>2,u[i++]=(a&3)<<6|c&63;return d},aJe=typeof ArrayBuffer=="function",ME=(n,e)=>{if(typeof n!="string")return{type:"message",data:oN(n,e)};const t=n.charAt(0);return t==="b"?{type:"message",data:lJe(n.substring(1),e)}:Ld[t]?n.length>1?{type:Ld[t],data:n.substring(1)}:{type:Ld[t]}:ib},lJe=(n,e)=>{if(aJe){const t=oJe(n);return oN(t,e)}else return{base64:!0,data:n}},oN=(n,e)=>{switch(e){case"blob":return n instanceof Blob?n:new Blob([n]);case"arraybuffer":default:return n instanceof ArrayBuffer?n:n.buffer}},aN=String.fromCharCode(30),cJe=(n,e)=>{const t=n.length,s=new Array(t);let i=0;n.forEach((r,o)=>{IE(r,!1,a=>{s[o]=a,++i===t&&e(s.join(aN))})})},dJe=(n,e)=>{const t=n.split(aN),s=[];for(let i=0;i{const s=t.length;let i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);const r=new DataView(i.buffer);r.setUint8(0,126),r.setUint16(1,s)}else{i=new Uint8Array(9);const r=new DataView(i.buffer);r.setUint8(0,127),r.setBigUint64(1,BigInt(s))}n.data&&typeof n.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}let Hm;function Gc(n){return n.reduce((e,t)=>e+t.length,0)}function Vc(n,e){if(n[0].length===e)return n.shift();const t=new Uint8Array(e);let s=0;for(let i=0;iMath.pow(2,53-32)-1){a.enqueue(ib);break}i=u*Math.pow(2,32)+d.getUint32(4),s=3}else{if(Gc(t)n){a.enqueue(ib);break}}}})}const lN=4;function dn(n){if(n)return _Je(n)}function _Je(n){for(var e in dn.prototype)n[e]=dn.prototype[e];return n}dn.prototype.on=dn.prototype.addEventListener=function(n,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+n]=this._callbacks["$"+n]||[]).push(e),this};dn.prototype.once=function(n,e){function t(){this.off(n,t),e.apply(this,arguments)}return t.fn=e,this.on(n,t),this};dn.prototype.off=dn.prototype.removeListener=dn.prototype.removeAllListeners=dn.prototype.removeEventListener=function(n,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+n];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+n],this;for(var s,i=0;itypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function cN(n,...e){return e.reduce((t,s)=>(n.hasOwnProperty(s)&&(t[s]=n[s]),t),{})}const hJe=hs.setTimeout,fJe=hs.clearTimeout;function pp(n,e){e.useNativeTimers?(n.setTimeoutFn=hJe.bind(hs),n.clearTimeoutFn=fJe.bind(hs)):(n.setTimeoutFn=hs.setTimeout.bind(hs),n.clearTimeoutFn=hs.clearTimeout.bind(hs))}const mJe=1.33;function gJe(n){return typeof n=="string"?bJe(n):Math.ceil((n.byteLength||n.size)*mJe)}function bJe(n){let e=0,t=0;for(let s=0,i=n.length;s=57344?t+=3:(s++,t+=4);return t}function EJe(n){let e="";for(let t in n)n.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(n[t]));return e}function yJe(n){let e={},t=n.split("&");for(let s=0,i=t.length;s0);return e}function uN(){const n=F1(+new Date);return n!==P1?(L1=0,P1=n):n+"."+F1(L1++)}for(;zc{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const t=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)};dJe(e,this.socket.binaryType).forEach(t),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,cJe(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=uN()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new sa(this.uri(),e)}doWrite(e,t){const s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,r)=>{this.onError("xhr post error",i,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}}let sa=class Pd extends dn{constructor(e,t){super(),pp(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=t.data!==void 0?t.data:null,this.create()}create(){var e;const t=cN(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd;const s=this.xhr=new _N(t);try{s.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&s.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(e=this.opts.cookieJar)===null||e===void 0||e.addCookies(s),"withCredentials"in s&&(s.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(s.timeout=this.opts.requestTimeout),s.onreadystatechange=()=>{var i;s.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(s)),s.readyState===4&&(s.status===200||s.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof s.status=="number"?s.status:0)},0))},s.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=Pd.requestsCount++,Pd.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=xJe,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Pd.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()}};sa.requestsCount=0;sa.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",U1);else if(typeof addEventListener=="function"){const n="onpagehide"in hs?"pagehide":"unload";addEventListener(n,U1,!1)}}function U1(){for(let n in sa.requests)sa.requests.hasOwnProperty(n)&&sa.requests[n].abort()}const DE=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0))(),Hc=hs.WebSocket||hs.MozWebSocket,B1=!0,RJe="arraybuffer",G1=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class AJe extends kE{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,s=G1?{}:cN(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=B1&&!G1?t?new Hc(e,t):new Hc(e):new Hc(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,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 t=0;t{const o={};try{B1&&this.ws.send(r)}catch{}i&&DE(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=uN()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!Hc}}class NJe extends kE{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(e=>{const t=pJe(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=uJe();i.readable.pipeTo(e.writable),this.writer=i.writable.getWriter();const r=()=>{s.read().then(({done:a,value:c})=>{a||(this.onPacket(c),r())}).catch(a=>{})};r();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this.writer.write(o).then(()=>this.onOpen())})}))}write(e){this.writable=!1;for(let t=0;t{i&&DE(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this.transport)===null||e===void 0||e.close()}}const OJe={websocket:AJe,webtransport:NJe,polling:wJe},IJe=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,MJe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ob(n){if(n.length>2e3)throw"URI too long";const e=n,t=n.indexOf("["),s=n.indexOf("]");t!=-1&&s!=-1&&(n=n.substring(0,t)+n.substring(t,s).replace(/:/g,";")+n.substring(s,n.length));let i=IJe.exec(n||""),r={},o=14;for(;o--;)r[MJe[o]]=i[o]||"";return t!=-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=kJe(r,r.path),r.queryKey=DJe(r,r.query),r}function kJe(n,e){const t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function DJe(n,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,r){i&&(t[i]=r)}),t}let hN=class $o extends dn{constructor(e,t={}){super(),this.binaryType=RJe,this.writeBuffer=[],e&&typeof e=="object"&&(t=e,e=null),e?(e=ob(e),t.hostname=e.host,t.secure=e.protocol==="https"||e.protocol==="wss",t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=ob(t.host).host),pp(this,t),this.secure=t.secure!=null?t.secure:typeof location<"u"&&location.protocol==="https:",t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=t.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],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:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=yJe(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 t=Object.assign({},this.opts.query);t.EIO=lN,t.transport=e,this.id&&(t.sid=this.id);const s=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new OJe[e](s)}open(){let e;if(this.opts.rememberUpgrade&&$o.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",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),s=!1;$o.priorWebsocketSuccess=!1;const i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;$o.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=t.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),t.close(),t=null)}const o=h=>{const f=new Error("probe error: "+h);f.transport=t.name,r(),this.emitReserved("upgradeError",f)};function a(){o("transport closed")}function c(){o("socket closed")}function d(h){t&&h.name!==t.name&&r()}const u=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",a),this.off("close",c),this.off("upgrading",d)};t.once("open",i),t.once("error",o),t.once("close",a),this.once("close",c),this.once("upgrading",d),this.upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onOpen(){if(this.readyState="open",$o.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const t=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 t=1;for(let s=0;s0&&t>this.maxPayload)return this.writeBuffer.slice(0,s);t+=2}return this.writeBuffer}write(e,t,s){return this.sendPacket("message",e,t,s),this}send(e,t,s){return this.sendPacket("message",e,t,s),this}sendPacket(e,t,s,i){if(typeof t=="function"&&(i=t,t=void 0),typeof s=="function"&&(i=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:t,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},s=()=>{this.once("upgrade",t),this.once("upgradeError",t)};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){$o.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){(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,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let s=0;const i=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(n):n.buffer instanceof ArrayBuffer,fN=Object.prototype.toString,UJe=typeof Blob=="function"||typeof Blob<"u"&&fN.call(Blob)==="[object BlobConstructor]",BJe=typeof File=="function"||typeof File<"u"&&fN.call(File)==="[object FileConstructor]";function LE(n){return PJe&&(n instanceof ArrayBuffer||FJe(n))||UJe&&n instanceof Blob||BJe&&n instanceof File}function Fd(n,e){if(!n||typeof n!="object")return!1;if(Array.isArray(n)){for(let t=0,s=n.length;t=0&&n.num{delete this.acks[e];for(let o=0;o{this.io.clearTimeoutFn(r),t.apply(this,[null,...o])}}emitWithAck(e,...t){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((i,r)=>{t.push((o,a)=>s?o?r(o):i(a):i(o)),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...r)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(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 t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.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:Ot.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,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Ot.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 Ot.EVENT:case Ot.BINARY_EVENT:this.onevent(e);break;case Ot.ACK:case Ot.BINARY_ACK:this.onack(e);break;case Ot.DISCONNECT:this.ondisconnect();break;case Ot.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 t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const s of t)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 t=this;let s=!1;return function(...i){s||(s=!0,t.packet({type:Ot.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];typeof t=="function"&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,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:Ot.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 t=this._anyListeners;for(let s=0;s0&&n.jitter<=1?n.jitter:0,this.attempts=0}qa.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*n);n=Math.floor(e*10)&1?n+t:n-t}return Math.min(n,this.max)|0};qa.prototype.reset=function(){this.attempts=0};qa.prototype.setMin=function(n){this.ms=n};qa.prototype.setMax=function(n){this.max=n};qa.prototype.setJitter=function(n){this.jitter=n};class cb extends dn{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,pp(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new qa({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||YJe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.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 t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.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 hN(this.uri,this.opts);const t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const i=Ps(t,"open",function(){s.onopen(),e&&e()}),r=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),e?e(a):this.maybeReconnectOnOpen()},o=Ps(t,"error",r);if(this._timeout!==!1){const a=this._timeout,c=this.setTimeoutFn(()=>{i(),r(new Error("timeout")),t.close()},a);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Ps(e,"ping",this.onping.bind(this)),Ps(e,"data",this.ondata.bind(this)),Ps(e,"error",this.onerror.bind(this)),Ps(e,"close",this.onclose.bind(this)),Ps(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){DE(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new mN(this,e,t),this.nsps[e]=s),s}_destroy(e){const t=Object.keys(this.nsps);for(const s of t)if(this.nsps[s].active)return;this._close()}_packet(e){const t=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,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),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 t=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const rl={};function Ud(n,e){typeof n=="object"&&(e=n,n=void 0),e=e||{};const t=LJe(n,e.path||"/socket.io"),s=t.source,i=t.id,r=t.path,o=rl[i]&&r in rl[i].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o;let c;return a?c=new cb(s,e):(rl[i]||(rl[i]=new cb(s,e)),c=rl[i]),t.query&&!e.query&&(e.query=t.queryKey),c.socket(t.path,e)}Object.assign(Ud,{Manager:cb,Socket:mN,io:Ud,connect:Ud});const gN="/";console.log(gN);const qe=new Ud(gN,{reconnection:!0,reconnectionAttempts:10,reconnectionDelay:1e3});const KJe={props:{value:String,inputType:{type:String,default:"text",validator:n=>["text","email","password","file","path","integer","float"].includes(n)},fileAccept:String},data(){return{inputValue:this.value,placeholderText:this.getPlaceholderText()}},watch:{value(n){console.log("Changing value to ",n),this.inputValue=n}},mounted(){Le(()=>{ze.replace()}),console.log("Changing value to ",this.value),this.inputValue=this.value},methods:{handleSliderInput(n){this.inputValue=n.target.value,this.$emit("input",n.target.value)},getPlaceholderText(){switch(this.inputType){case"text":return"Enter text here";case"email":return"Enter your email";case"password":return"Enter your password";case"file":case"path":return"Choose a file";case"integer":return"Enter an integer";case"float":return"Enter a float";default:return"Enter value here"}},handleInput(n){if(this.inputType==="integer"){const e=n.target.value.replace(/[^0-9]/g,"");this.inputValue=e}console.log("handling input : ",n.target.value),this.$emit("input",n.target.value)},async pasteFromClipboard(){try{const n=await navigator.clipboard.readText();this.handleClipboardData(n)}catch(n){console.error("Failed to read from clipboard:",n)}},handlePaste(n){const e=n.clipboardData.getData("text");this.handleClipboardData(e)},handleClipboardData(n){switch(this.inputType){case"email":this.inputValue=this.isValidEmail(n)?n:"";break;case"password":this.inputValue=n;break;case"file":case"path":this.inputValue="";break;case"integer":this.inputValue=this.parseInteger(n);break;case"float":this.inputValue=this.parseFloat(n);break;default:this.inputValue=n;break}},isValidEmail(n){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)},parseInteger(n){const e=parseInt(n);return isNaN(e)?"":e},parseFloat(n){const e=parseFloat(n);return isNaN(e)?"":e},openFileInput(){this.$refs.fileInput.click()},handleFileInputChange(n){const e=n.target.files[0];e&&(this.inputValue=e.name)}}},jJe={class:"flex items-center space-x-2"},QJe=["value","type","placeholder"],XJe=["value","min","max"],ZJe=l("i",{"data-feather":"clipboard"},null,-1),JJe=[ZJe],eet=l("i",{"data-feather":"upload"},null,-1),tet=[eet],net=["accept"];function set(n,e,t,s,i,r){return T(),C("div",jJe,[n.useSlider?(T(),C("input",{key:1,type:"range",value:parseInt(i.inputValue),min:n.minSliderValue,max:n.maxSliderValue,onInput:e[2]||(e[2]=(...o)=>r.handleSliderInput&&r.handleSliderInput(...o)),class:"flex-1 px-4 py-2 text-lg border dark:bg-gray-600 border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,XJe)):(T(),C("input",{key:0,value:i.inputValue,type:t.inputType,placeholder:i.placeholderText,onInput:e[0]||(e[0]=(...o)=>r.handleInput&&r.handleInput(...o)),onPaste:e[1]||(e[1]=(...o)=>r.handlePaste&&r.handlePaste(...o)),class:"flex-1 px-4 py-2 text-lg dark:bg-gray-600 border border-gray-300 rounded-md focus:outline-none focus:ring focus:border-blue-500"},null,40,QJe)),l("button",{onClick:e[3]||(e[3]=(...o)=>r.pasteFromClipboard&&r.pasteFromClipboard(...o)),class:"p-2 bg-blue-500 dark:bg-gray-600 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},JJe),t.inputType==="file"?(T(),C("button",{key:2,onClick:e[4]||(e[4]=(...o)=>r.openFileInput&&r.openFileInput(...o)),class:"p-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 focus:outline-none focus:ring focus:border-blue-300"},tet)):G("",!0),t.inputType==="file"?(T(),C("input",{key:3,ref:"fileInput",type:"file",style:{display:"none"},accept:t.fileAccept,onChange:e[5]||(e[5]=(...o)=>r.handleFileInputChange&&r.handleFileInputChange(...o))},null,40,net)):G("",!0)])}const FE=ot(KJe,[["render",set]]),iet={name:"TokensHighlighter",props:{namedTokens:{type:Object,required:!0}},data(){return{colors:["#FF6633","#FFB399","#FF33FF","#FFFF99","#00B3E6","#E6B333","#3366E6","#999966","#99FF99","#B34D4D","#80B300","#809900","#E6B3B3","#6680B3","#66991A","#FF99E6","#CCFF1A","#FF1A66","#E6331A","#33FFCC","#66994D","#B366CC","#4D8000","#B33300","#CC80CC","#66664D","#991AFF","#E666FF","#4DB3FF","#1AB399","#E666B3","#33991A","#CC9999","#B3B31A","#00E680","#4D8066","#809980","#E6FF80","#1AFF33","#999933","#FF3380","#CCCC00","#66E64D","#4D80CC","#9900B3","#E64D66","#4DB380","#FF4D4D","#99E6E6","#6666FF"]}}},ret={class:"w-full"},oet={class:"break-words"},aet={class:"break-words mt-2"},cet={class:"mt-4"};function det(n,e,t,s,i,r){return T(),C("div",ret,[l("div",oet,[(T(!0),C(Ge,null,Xe(t.namedTokens,(o,a)=>(T(),C("span",{key:a},[l("span",{class:"inline-block whitespace-pre-wrap",style:jt({backgroundColor:i.colors[a%i.colors.length]})},K(o[0]),5)]))),128))]),l("div",aet,[(T(!0),C(Ge,null,Xe(t.namedTokens,(o,a)=>(T(),C("span",{key:a},[l("span",{class:"inline-block px-1 whitespace-pre-wrap",style:jt({backgroundColor:i.colors[a%i.colors.length]})},K(o[1]),5)]))),128))]),l("div",cet,[l("strong",null,"Total Tokens: "+K(t.namedTokens.length),1)])])}const uet=ot(iet,[["render",det]]),pet={name:"ChatBarButton",props:{buttonClass:{type:String,default:"text-gray-600 dark:text-gray-300"}}};function _et(n,e,t,s,i,r){return T(),C("button",cA({class:["p-2 rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",[t.buttonClass,"hover:bg-gray-200 dark:hover:bg-gray-700","active:bg-gray-300 dark:active:bg-gray-600"]]},n.$attrs,pk(n.$listeners,!0)),[hn(n.$slots,"icon"),hn(n.$slots,"default")],16)}const bN=ot(pet,[["render",_et]]);const het={props:{is_subcard:{type:Boolean,default:!1},is_shrunk:{type:Boolean,default:!1},title:{type:String,default:""},isHorizontal:{type:Boolean,default:!1},cardWidth:{type:String,default:"w-3/4"},disableHoverAnimation:{type:Boolean,default:!0},disableFocus:{type:Boolean,default:!1}},data(){return{shrink:this.is_shrunk,isHovered:!1,isActive:!1}},computed:{cardClass(){return["bg-gray-50","border","border-gray-300","text-gray-900","text-sm","rounded-lg","focus:ring-blue-500","focus:border-blue-500","w-full","p-2.5","dark:bg-gray-500","dark:border-gray-600","dark:placeholder-gray-400","dark:text-white","dark:focus:ring-blue-500","dark:focus:border-blue-500",{"cursor-pointer":!this.isActive&&!this.disableFocus,"w-auto":!this.isActive}]},cardWidthClass(){return this.isActive?this.cardWidth:""}},methods:{toggleCard(){this.disableFocus||(this.isActive=!this.isActive)}}},fet={key:1,class:"flex flex-wrap"},met={key:2,class:"mb-2"};function get(n,e,t,s,i,r){return T(),C("div",null,[i.isActive?(T(),C("div",{key:0,class:"overlay",onClick:e[0]||(e[0]=(...o)=>r.toggleCard&&r.toggleCard(...o))})):G("",!0),P(l("div",{class:Be(["border-blue-300 rounded-lg shadow-lg p-2",r.cardWidthClass,"m-2",{subcard:t.is_subcard},{"bg-white dark:bg-gray-900":!t.is_subcard},{hovered:!t.disableHoverAnimation&&i.isHovered,active:i.isActive}]),onMouseenter:e[2]||(e[2]=o=>i.isHovered=!0),onMouseleave:e[3]||(e[3]=o=>i.isHovered=!1),onClick:e[4]||(e[4]=j((...o)=>r.toggleCard&&r.toggleCard(...o),["self"])),style:jt({cursor:this.disableFocus?"":"pointer"})},[t.title?(T(),C("div",{key:0,onClick:e[1]||(e[1]=o=>i.shrink=!0),class:Be([{"text-center p-2 m-2 bg-gray-200":!t.is_subcard},"bg-gray-100 dark:bg-gray-500 rounded-lg pl-2 pr-2 mb-2 font-bold cursor-pointer"])},K(t.title),3)):G("",!0),t.isHorizontal?(T(),C("div",fet,[hn(n.$slots,"default")])):(T(),C("div",met,[hn(n.$slots,"default")]))],38),[[wt,i.shrink===!1]]),t.is_subcard?P((T(),C("div",{key:1,onClick:e[5]||(e[5]=o=>i.shrink=!1),class:"bg-white text-center text-xl bold dark:bg-gray-500 border-blue-300 rounded-lg shadow-lg p-2 h-10 cursor-pointer m-2"},K(t.title),513)),[[wt,i.shrink===!0]]):P((T(),C("div",{key:2,onClick:e[6]||(e[6]=o=>i.shrink=!1),class:"bg-white text-center text-2xl dark:bg-gray-500 border-2 border-blue-300 rounded-lg shadow-lg p-0 h-7 cursor-pointer hover:h-8 hover:bg-blue-300"}," + ",512)),[[wt,i.shrink===!0]])])}const _p=ot(het,[["render",get]]),EN="/assets/code_block-e2753d3f.svg",yN="/assets/python_block-4008a934.png",vN="/assets/javascript_block-5e59df30.svg",SN="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAOeSURBVGhD7ZhNaBNBGIZHW/EPbSioRSpi0FRpVdRSjQfxkFilB5UciuChIL0JLaKIhR5KIYKIiBSF0mLVS7AIavUgPQjiT4+KB0EP3gwS8VDBgj8d33d2ZrNJt2lCppKWfeBh5pvdncyXmZ3sZokQQsIFz1JdLni8M8L6QkSNf9HMSJBIpREkUmkEiVQaQSKVRpCIH8lkUtbW1sre3l7fB9FoNCrD4fC8PaSyYyudNzU1yZGRkYJ9dXV1yUQiYTMZNX6rM5LJZERHR0fBh0/MmJDSZh4OVhOZmprStf+P1UQmJyd1zaGvr09NuxM5VFVViYmJCR3Zw1oiPT09koP00tjYKNrb23XkEIlERHV1tY7sMuNbK5XR0VGJwcnBwcGi+uns7Cz7Mz24fVnpdGhoSDY0NBTbjxweHi77MzXu+N2KBebsh7PW0tJi6/OIGr/Vm72mpkbXssTj8ZxBp9NpUV9fryN7WE0kn1QqJcfHx3U0v1hNJBQKqXtFh2JsbEx0d3frKMv09LSu2UWtMadaHm1tberxQ+9Koq6uLqff1tZW2dzcLPXviy3c8bsVG/T398+6I8ViMTkwMGDtszRq/MEfdJVGkEilESRSaZSSyCa43anmsAPGII/7wWd7nnMEbmaDD2G41anmsA76tfui9mGnWpAPkOftVpEQuyDfkMz19Bv0cg56j9NP8AQ07IXm2Es2eHgK2b5RRf6Ya7OVOchP5D1kfA0m4GX4CxouQR7/A6/DC/CObqNRSA5A00Y7oeG/JMJBM65TUS7rIV/gefw4GzzchWx/rKJsIu90+REaik6knJv9hy5vw4NO1WU/XAG/w0ds8MABk326NLyGL+A2eJYNpVBOIhd1eRS+gs/hTjYAc4M+06WX+7rkt7zKqbrc0OV5WNIjUzmJDME9MKUiIQ5DvnyshOZfCL/+l+uSz/I/narLA8gvhLsb77miKScR8haegqfhb7gBcoa4M5G4Lr0069Kck88VXZ6B+TNWEHWzONWCpCHPM78lZhkZ3kAePwa36DpthQYulwxke5INwNzst1Tk8ASa66mVXYtLgFPOc7iVroUtOh6F3Gbv6fgLXAPJVWj65vU3IW9oxl+hWWJ+iRyC5lpqJZHP0JxjbnBO+UP4F5pjXNsnoRf+IJqZpNySmRSXoMEvEeL9Iqwkwm20Cfqt12UwAleraHZCcLbHEzLz75fiUeMP3hArjUWTiHdpLWgWyYwI8Q8rrSjH5vAr6AAAAABJRU5ErkJggg==",TN="/assets/cpp_block-109b2fbe.png",xN="/assets/html5_block-205d2852.png",CN="/assets/LaTeX_block-06b165c0.png",wN="/assets/bash_block-7ca80e4e.png",bet="/assets/tokenize_icon-0553c60f.svg",Eet="/assets/deaf_on-7481cb29.svg",yet="/assets/deaf_off-c2c46908.svg",vet="/assets/rec_on-3b37b566.svg",Tet="/assets/rec_off-2c08e836.svg",RN="/assets/loading-c3bdfb0a.svg",xet={props:{icon:{type:String,required:!0},title:{type:String,required:!0}},computed:{iconPath(){return this.getIconPath()}},methods:{getIconPath(){switch(this.icon){case"x":return'';case"check":return'';case"code":return'';case"python":return'';case"js":return'JS';case"typescript":return'TS';case"braces":return'';case"cplusplus":case"c++":return'C++';case"csharp":return'C#';case"go":return'Go';case"r-project":return'R';case"rust":return'';case"swift":return'';case"kotlin":return'';case"java":return'';case"html5":return'';case"css3":return'';case"vuejs":return'';case"react":return'';case"angular":return'';case"xml":return'';case"json":return'';case"yaml":return'';case"markdown":return'';case"latex":return'TEX';case"bash":return'';case"powershell":return'';case"perl":return'';case"mermaid":return'';case"graphviz":return'';case"plantuml":return'';case"sql":return'';case"mongodb":return'';case"mathFunction":return'';case"terminal":return'';case"edit":return'';case"copy":return'';case"send":return'';case"globe":return'';case"fastForward":return'';case"sendSimple":return'';default:return""}}}},Cet=["title"],wet={class:"w-6 h-6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},Ret=["innerHTML"];function Aet(n,e,t,s,i,r){return T(),C("button",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:t.title,onClick:e[0]||(e[0]=o=>n.$emit("click"))},[(T(),C("svg",wet,[l("g",{innerHTML:r.iconPath},null,8,Ret)]))],8,Cet)}const UE=ot(xet,[["render",Aet]]);var Yn="top",Cs="bottom",ws="right",Wn="left",BE="auto",fc=[Yn,Cs,ws,Wn],fa="start",ec="end",Net="clippingParents",AN="viewport",ol="popper",Oet="reference",z1=fc.reduce(function(n,e){return n.concat([e+"-"+fa,e+"-"+ec])},[]),NN=[].concat(fc,[BE]).reduce(function(n,e){return n.concat([e,e+"-"+fa,e+"-"+ec])},[]),Iet="beforeRead",Met="read",ket="afterRead",Det="beforeMain",Let="main",Pet="afterMain",Fet="beforeWrite",Uet="write",Bet="afterWrite",Get=[Iet,Met,ket,Det,Let,Pet,Fet,Uet,Bet];function hi(n){return n?(n.nodeName||"").toLowerCase():null}function os(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function lo(n){var e=os(n).Element;return n instanceof e||n instanceof Element}function Ts(n){var e=os(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function GE(n){if(typeof ShadowRoot>"u")return!1;var e=os(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function Vet(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var s=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!Ts(r)||!hi(r)||(Object.assign(r.style,s),Object.keys(i).forEach(function(o){var a=i[o];a===!1?r.removeAttribute(o):r.setAttribute(o,a===!0?"":a)}))})}function zet(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(s){var i=e.elements[s],r=e.attributes[s]||{},o=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:t[s]),a=o.reduce(function(c,d){return c[d]="",c},{});!Ts(i)||!hi(i)||(Object.assign(i.style,a),Object.keys(r).forEach(function(c){i.removeAttribute(c)}))})}}const Het={name:"applyStyles",enabled:!0,phase:"write",fn:Vet,effect:zet,requires:["computeStyles"]};function ui(n){return n.split("-")[0]}var Jr=Math.max,au=Math.min,ma=Math.round;function db(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function ON(){return!/^((?!chrome|android).)*safari/i.test(db())}function ga(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var s=n.getBoundingClientRect(),i=1,r=1;e&&Ts(n)&&(i=n.offsetWidth>0&&ma(s.width)/n.offsetWidth||1,r=n.offsetHeight>0&&ma(s.height)/n.offsetHeight||1);var o=lo(n)?os(n):window,a=o.visualViewport,c=!ON()&&t,d=(s.left+(c&&a?a.offsetLeft:0))/i,u=(s.top+(c&&a?a.offsetTop:0))/r,h=s.width/i,f=s.height/r;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function VE(n){var e=ga(n),t=n.offsetWidth,s=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:s}}function IN(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&GE(t)){var s=e;do{if(s&&n.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Gi(n){return os(n).getComputedStyle(n)}function qet(n){return["table","td","th"].indexOf(hi(n))>=0}function Cr(n){return((lo(n)?n.ownerDocument:n.document)||window.document).documentElement}function hp(n){return hi(n)==="html"?n:n.assignedSlot||n.parentNode||(GE(n)?n.host:null)||Cr(n)}function H1(n){return!Ts(n)||Gi(n).position==="fixed"?null:n.offsetParent}function $et(n){var e=/firefox/i.test(db()),t=/Trident/i.test(db());if(t&&Ts(n)){var s=Gi(n);if(s.position==="fixed")return null}var i=hp(n);for(GE(i)&&(i=i.host);Ts(i)&&["html","body"].indexOf(hi(i))<0;){var r=Gi(i);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return i;i=i.parentNode}return null}function mc(n){for(var e=os(n),t=H1(n);t&&qet(t)&&Gi(t).position==="static";)t=H1(t);return t&&(hi(t)==="html"||hi(t)==="body"&&Gi(t).position==="static")?e:t||$et(n)||e}function zE(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ol(n,e,t){return Jr(n,au(e,t))}function Yet(n,e,t){var s=Ol(n,e,t);return s>t?t:s}function MN(){return{top:0,right:0,bottom:0,left:0}}function kN(n){return Object.assign({},MN(),n)}function DN(n,e){return e.reduce(function(t,s){return t[s]=n,t},{})}var Wet=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kN(typeof e!="number"?e:DN(e,fc))};function Ket(n){var e,t=n.state,s=n.name,i=n.options,r=t.elements.arrow,o=t.modifiersData.popperOffsets,a=ui(t.placement),c=zE(a),d=[Wn,ws].indexOf(a)>=0,u=d?"height":"width";if(!(!r||!o)){var h=Wet(i.padding,t),f=VE(r),m=c==="y"?Yn:Wn,_=c==="y"?Cs:ws,g=t.rects.reference[u]+t.rects.reference[c]-o[c]-t.rects.popper[u],b=o[c]-t.rects.reference[c],E=mc(r),y=E?c==="y"?E.clientHeight||0:E.clientWidth||0:0,v=g/2-b/2,S=h[m],R=y-f[u]-h[_],w=y/2-f[u]/2+v,A=Ol(S,w,R),M=c;t.modifiersData[s]=(e={},e[M]=A,e.centerOffset=A-w,e)}}function jet(n){var e=n.state,t=n.options,s=t.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||IN(e.elements.popper,i)&&(e.elements.arrow=i))}const Qet={name:"arrow",enabled:!0,phase:"main",fn:Ket,effect:jet,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ba(n){return n.split("-")[1]}var Xet={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Zet(n,e){var t=n.x,s=n.y,i=e.devicePixelRatio||1;return{x:ma(t*i)/i||0,y:ma(s*i)/i||0}}function q1(n){var e,t=n.popper,s=n.popperRect,i=n.placement,r=n.variation,o=n.offsets,a=n.position,c=n.gpuAcceleration,d=n.adaptive,u=n.roundOffsets,h=n.isFixed,f=o.x,m=f===void 0?0:f,_=o.y,g=_===void 0?0:_,b=typeof u=="function"?u({x:m,y:g}):{x:m,y:g};m=b.x,g=b.y;var E=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),v=Wn,S=Yn,R=window;if(d){var w=mc(t),A="clientHeight",M="clientWidth";if(w===os(t)&&(w=Cr(t),Gi(w).position!=="static"&&a==="absolute"&&(A="scrollHeight",M="scrollWidth")),w=w,i===Yn||(i===Wn||i===ws)&&r===ec){S=Cs;var x=h&&w===R&&R.visualViewport?R.visualViewport.height:w[A];g-=x-s.height,g*=c?1:-1}if(i===Wn||(i===Yn||i===Cs)&&r===ec){v=ws;var O=h&&w===R&&R.visualViewport?R.visualViewport.width:w[M];m-=O-s.width,m*=c?1:-1}}var B=Object.assign({position:a},d&&Xet),H=u===!0?Zet({x:m,y:g},os(t)):{x:m,y:g};if(m=H.x,g=H.y,c){var te;return Object.assign({},B,(te={},te[S]=y?"0":"",te[v]=E?"0":"",te.transform=(R.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",te))}return Object.assign({},B,(e={},e[S]=y?g+"px":"",e[v]=E?m+"px":"",e.transform="",e))}function Jet(n){var e=n.state,t=n.options,s=t.gpuAcceleration,i=s===void 0?!0:s,r=t.adaptive,o=r===void 0?!0:r,a=t.roundOffsets,c=a===void 0?!0:a,d={placement:ui(e.placement),variation:ba(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,q1(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,q1(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ett={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jet,data:{}};var qc={passive:!0};function ttt(n){var e=n.state,t=n.instance,s=n.options,i=s.scroll,r=i===void 0?!0:i,o=s.resize,a=o===void 0?!0:o,c=os(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach(function(u){u.addEventListener("scroll",t.update,qc)}),a&&c.addEventListener("resize",t.update,qc),function(){r&&d.forEach(function(u){u.removeEventListener("scroll",t.update,qc)}),a&&c.removeEventListener("resize",t.update,qc)}}const ntt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ttt,data:{}};var stt={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(n){return n.replace(/left|right|bottom|top/g,function(e){return stt[e]})}var itt={start:"end",end:"start"};function $1(n){return n.replace(/start|end/g,function(e){return itt[e]})}function HE(n){var e=os(n),t=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:t,scrollTop:s}}function qE(n){return ga(Cr(n)).left+HE(n).scrollLeft}function rtt(n,e){var t=os(n),s=Cr(n),i=t.visualViewport,r=s.clientWidth,o=s.clientHeight,a=0,c=0;if(i){r=i.width,o=i.height;var d=ON();(d||!d&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:r,height:o,x:a+qE(n),y:c}}function ott(n){var e,t=Cr(n),s=HE(n),i=(e=n.ownerDocument)==null?void 0:e.body,r=Jr(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Jr(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-s.scrollLeft+qE(n),c=-s.scrollTop;return Gi(i||t).direction==="rtl"&&(a+=Jr(t.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:a,y:c}}function $E(n){var e=Gi(n),t=e.overflow,s=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+s)}function LN(n){return["html","body","#document"].indexOf(hi(n))>=0?n.ownerDocument.body:Ts(n)&&$E(n)?n:LN(hp(n))}function Il(n,e){var t;e===void 0&&(e=[]);var s=LN(n),i=s===((t=n.ownerDocument)==null?void 0:t.body),r=os(s),o=i?[r].concat(r.visualViewport||[],$E(s)?s:[]):s,a=e.concat(o);return i?a:a.concat(Il(hp(o)))}function ub(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function att(n,e){var t=ga(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function Y1(n,e,t){return e===AN?ub(rtt(n,t)):lo(e)?att(e,t):ub(ott(Cr(n)))}function ltt(n){var e=Il(hp(n)),t=["absolute","fixed"].indexOf(Gi(n).position)>=0,s=t&&Ts(n)?mc(n):n;return lo(s)?e.filter(function(i){return lo(i)&&IN(i,s)&&hi(i)!=="body"}):[]}function ctt(n,e,t,s){var i=e==="clippingParents"?ltt(n):[].concat(e),r=[].concat(i,[t]),o=r[0],a=r.reduce(function(c,d){var u=Y1(n,d,s);return c.top=Jr(u.top,c.top),c.right=au(u.right,c.right),c.bottom=au(u.bottom,c.bottom),c.left=Jr(u.left,c.left),c},Y1(n,o,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function PN(n){var e=n.reference,t=n.element,s=n.placement,i=s?ui(s):null,r=s?ba(s):null,o=e.x+e.width/2-t.width/2,a=e.y+e.height/2-t.height/2,c;switch(i){case Yn:c={x:o,y:e.y-t.height};break;case Cs:c={x:o,y:e.y+e.height};break;case ws:c={x:e.x+e.width,y:a};break;case Wn:c={x:e.x-t.width,y:a};break;default:c={x:e.x,y:e.y}}var d=i?zE(i):null;if(d!=null){var u=d==="y"?"height":"width";switch(r){case fa:c[d]=c[d]-(e[u]/2-t[u]/2);break;case ec:c[d]=c[d]+(e[u]/2-t[u]/2);break}}return c}function tc(n,e){e===void 0&&(e={});var t=e,s=t.placement,i=s===void 0?n.placement:s,r=t.strategy,o=r===void 0?n.strategy:r,a=t.boundary,c=a===void 0?Net:a,d=t.rootBoundary,u=d===void 0?AN:d,h=t.elementContext,f=h===void 0?ol:h,m=t.altBoundary,_=m===void 0?!1:m,g=t.padding,b=g===void 0?0:g,E=kN(typeof b!="number"?b:DN(b,fc)),y=f===ol?Oet:ol,v=n.rects.popper,S=n.elements[_?y:f],R=ctt(lo(S)?S:S.contextElement||Cr(n.elements.popper),c,u,o),w=ga(n.elements.reference),A=PN({reference:w,element:v,strategy:"absolute",placement:i}),M=ub(Object.assign({},v,A)),x=f===ol?M:w,O={top:R.top-x.top+E.top,bottom:x.bottom-R.bottom+E.bottom,left:R.left-x.left+E.left,right:x.right-R.right+E.right},B=n.modifiersData.offset;if(f===ol&&B){var H=B[i];Object.keys(O).forEach(function(te){var k=[ws,Cs].indexOf(te)>=0?1:-1,$=[Yn,Cs].indexOf(te)>=0?"y":"x";O[te]+=H[$]*k})}return O}function dtt(n,e){e===void 0&&(e={});var t=e,s=t.placement,i=t.boundary,r=t.rootBoundary,o=t.padding,a=t.flipVariations,c=t.allowedAutoPlacements,d=c===void 0?NN:c,u=ba(s),h=u?a?z1:z1.filter(function(_){return ba(_)===u}):fc,f=h.filter(function(_){return d.indexOf(_)>=0});f.length===0&&(f=h);var m=f.reduce(function(_,g){return _[g]=tc(n,{placement:g,boundary:i,rootBoundary:r,padding:o})[ui(g)],_},{});return Object.keys(m).sort(function(_,g){return m[_]-m[g]})}function utt(n){if(ui(n)===BE)return[];var e=Bd(n);return[$1(n),e,$1(e)]}function ptt(n){var e=n.state,t=n.options,s=n.name;if(!e.modifiersData[s]._skip){for(var i=t.mainAxis,r=i===void 0?!0:i,o=t.altAxis,a=o===void 0?!0:o,c=t.fallbackPlacements,d=t.padding,u=t.boundary,h=t.rootBoundary,f=t.altBoundary,m=t.flipVariations,_=m===void 0?!0:m,g=t.allowedAutoPlacements,b=e.options.placement,E=ui(b),y=E===b,v=c||(y||!_?[Bd(b)]:utt(b)),S=[b].concat(v).reduce(function(Ee,Ie){return Ee.concat(ui(Ie)===BE?dtt(e,{placement:Ie,boundary:u,rootBoundary:h,padding:d,flipVariations:_,allowedAutoPlacements:g}):Ie)},[]),R=e.rects.reference,w=e.rects.popper,A=new Map,M=!0,x=S[0],O=0;O=0,$=k?"width":"height",q=tc(e,{placement:B,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),F=k?te?ws:Wn:te?Cs:Yn;R[$]>w[$]&&(F=Bd(F));var W=Bd(F),ne=[];if(r&&ne.push(q[H]<=0),a&&ne.push(q[F]<=0,q[W]<=0),ne.every(function(Ee){return Ee})){x=B,M=!1;break}A.set(B,ne)}if(M)for(var le=_?3:1,me=function(Ie){var ke=S.find(function(Z){var he=A.get(Z);if(he)return he.slice(0,Ie).every(function(_e){return _e})});if(ke)return x=ke,"break"},Se=le;Se>0;Se--){var de=me(Se);if(de==="break")break}e.placement!==x&&(e.modifiersData[s]._skip=!0,e.placement=x,e.reset=!0)}}const _tt={name:"flip",enabled:!0,phase:"main",fn:ptt,requiresIfExists:["offset"],data:{_skip:!1}};function W1(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function K1(n){return[Yn,ws,Cs,Wn].some(function(e){return n[e]>=0})}function htt(n){var e=n.state,t=n.name,s=e.rects.reference,i=e.rects.popper,r=e.modifiersData.preventOverflow,o=tc(e,{elementContext:"reference"}),a=tc(e,{altBoundary:!0}),c=W1(o,s),d=W1(a,i,r),u=K1(c),h=K1(d);e.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const ftt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:htt};function mtt(n,e,t){var s=ui(n),i=[Wn,Yn].indexOf(s)>=0?-1:1,r=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,o=r[0],a=r[1];return o=o||0,a=(a||0)*i,[Wn,ws].indexOf(s)>=0?{x:a,y:o}:{x:o,y:a}}function gtt(n){var e=n.state,t=n.options,s=n.name,i=t.offset,r=i===void 0?[0,0]:i,o=NN.reduce(function(u,h){return u[h]=mtt(h,e.rects,r),u},{}),a=o[e.placement],c=a.x,d=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=o}const btt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gtt};function Ett(n){var e=n.state,t=n.name;e.modifiersData[t]=PN({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ytt={name:"popperOffsets",enabled:!0,phase:"read",fn:Ett,data:{}};function vtt(n){return n==="x"?"y":"x"}function Stt(n){var e=n.state,t=n.options,s=n.name,i=t.mainAxis,r=i===void 0?!0:i,o=t.altAxis,a=o===void 0?!1:o,c=t.boundary,d=t.rootBoundary,u=t.altBoundary,h=t.padding,f=t.tether,m=f===void 0?!0:f,_=t.tetherOffset,g=_===void 0?0:_,b=tc(e,{boundary:c,rootBoundary:d,padding:h,altBoundary:u}),E=ui(e.placement),y=ba(e.placement),v=!y,S=zE(E),R=vtt(S),w=e.modifiersData.popperOffsets,A=e.rects.reference,M=e.rects.popper,x=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,O=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(w){if(r){var te,k=S==="y"?Yn:Wn,$=S==="y"?Cs:ws,q=S==="y"?"height":"width",F=w[S],W=F+b[k],ne=F-b[$],le=m?-M[q]/2:0,me=y===fa?A[q]:M[q],Se=y===fa?-M[q]:-A[q],de=e.elements.arrow,Ee=m&&de?VE(de):{width:0,height:0},Ie=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:MN(),ke=Ie[k],Z=Ie[$],he=Ol(0,A[q],Ee[q]),_e=v?A[q]/2-le-he-ke-O.mainAxis:me-he-ke-O.mainAxis,we=v?-A[q]/2+le+he+Z+O.mainAxis:Se+he+Z+O.mainAxis,Pe=e.elements.arrow&&mc(e.elements.arrow),N=Pe?S==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,z=(te=B==null?void 0:B[S])!=null?te:0,Y=F+_e-z-N,ce=F+we-z,oe=Ol(m?au(W,Y):W,F,m?Jr(ne,ce):ne);w[S]=oe,H[S]=oe-F}if(a){var xe,Ne=S==="x"?Yn:Wn,ie=S==="x"?Cs:ws,Re=w[R],ge=R==="y"?"height":"width",De=Re+b[Ne],L=Re-b[ie],I=[Yn,Wn].indexOf(E)!==-1,Q=(xe=B==null?void 0:B[R])!=null?xe:0,ye=I?De:Re-A[ge]-M[ge]-Q+O.altAxis,X=I?Re+A[ge]+M[ge]-Q-O.altAxis:L,se=m&&I?Yet(ye,Re,X):Ol(m?ye:De,Re,m?X:L);w[R]=se,H[R]=se-Re}e.modifiersData[s]=H}}const Ttt={name:"preventOverflow",enabled:!0,phase:"main",fn:Stt,requiresIfExists:["offset"]};function xtt(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Ctt(n){return n===os(n)||!Ts(n)?HE(n):xtt(n)}function wtt(n){var e=n.getBoundingClientRect(),t=ma(e.width)/n.offsetWidth||1,s=ma(e.height)/n.offsetHeight||1;return t!==1||s!==1}function Rtt(n,e,t){t===void 0&&(t=!1);var s=Ts(e),i=Ts(e)&&wtt(e),r=Cr(e),o=ga(n,i,t),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!t)&&((hi(e)!=="body"||$E(r))&&(a=Ctt(e)),Ts(e)?(c=ga(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):r&&(c.x=qE(r))),{x:o.left+a.scrollLeft-c.x,y:o.top+a.scrollTop-c.y,width:o.width,height:o.height}}function Att(n){var e=new Map,t=new Set,s=[];n.forEach(function(r){e.set(r.name,r)});function i(r){t.add(r.name);var o=[].concat(r.requires||[],r.requiresIfExists||[]);o.forEach(function(a){if(!t.has(a)){var c=e.get(a);c&&i(c)}}),s.push(r)}return n.forEach(function(r){t.has(r.name)||i(r)}),s}function Ntt(n){var e=Att(n);return Get.reduce(function(t,s){return t.concat(e.filter(function(i){return i.phase===s}))},[])}function Ott(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Itt(n){var e=n.reduce(function(t,s){var i=t[s.name];return t[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,t},{});return Object.keys(e).map(function(t){return e[t]})}var j1={placement:"bottom",modifiers:[],strategy:"absolute"};function Q1(){for(var n=arguments.length,e=new Array(n),t=0;t{this.createPopper()})},closeMenu(n){var e;!this.$el.contains(n.target)&&!((e=this.$refs.dropdown)!=null&&e.contains(n.target))&&(this.isOpen=!1)},createPopper(){const n=this.$el.querySelector("button"),e=this.$refs.dropdown;n&&e&&(this.popperInstance=fp(n,e,{placement:"bottom-end",modifiers:[{name:"flip",options:{fallbackPlacements:["top-end","bottom-start","top-start"]}},{name:"preventOverflow",options:{boundary:document.body}}]}))}}},Ltt={class:"relative inline-block text-left"},Ptt={key:0,ref:"dropdown",class:"z-50 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 dark:ring-white dark:ring-opacity-20 focus:outline-none dropdown-shadow text-gray-700 dark:text-white"},Ftt={class:"py-1",role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu"};function Utt(n,e,t,s,i,r){const o=tt("ToolbarButton");return T(),C("div",Ltt,[l("div",null,[V(o,{onClick:j(r.toggleMenu,["stop"]),title:t.title,icon:"code"},null,8,["onClick","title"])]),(T(),dt(Mk,{to:"body"},[i.isOpen?(T(),C("div",Ptt,[l("div",Ftt,[hn(n.$slots,"default",{},void 0,!0)])],512)):G("",!0)]))])}const FN=ot(Dtt,[["render",Utt],["__scopeId","data-v-6c3ea3a5"]]);async function X1(n,e="",t=[]){return new Promise((s,i)=>{const r=document.createElement("div");r.className="fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",t.length===0?r.innerHTML=`

${n}

@@ -77,81 +77,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`),me=F,le=W),ne===void 0 `?(this.text=this.text.slice(0,e)+"```"+n+` `+this.text.slice(e,t)+"\n```\n"+this.text.slice(t),e=e+4+n.length):(this.text=this.text.slice(0,e)+"\n```"+n+` `+this.text.slice(e,t)+"\n```\n"+this.text.slice(t),e=e+3+n.length),this.$refs.mdTextarea.focus(),this.$refs.mdTextarea.selectionStart=this.$refs.mdTextarea.selectionEnd=p},insertTab(n){const e=n.target,t=e.selectionStart,s=e.selectionEnd,i=e.value.substring(0,t),r=e.value.substring(s),o=i+" "+r;this.text=o,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t+4}),n.preventDefault()},mdTextarea_changed(){console.log("mdTextarea_changed"),this.cursorPosition=this.$refs.mdTextarea.selectionStart},mdTextarea_clicked(){console.log(`mdTextarea_clicked: ${this.$refs.mdTextarea.selectionStart}`),this.cursorPosition=this.$refs.mdTextarea.selectionStart},setModel(){this.selecting_model=!0,re.post("/update_setting",{client_id:this.$store.state.client_id,setting_name:"model_name",setting_value:this.selectedModel}).then(n=>{console.log(n),n.status&&this.$refs.toast.showToast(`Model changed to ${this.selectedModel}`,4,!0),this.selecting_model=!1}).catch(n=>{this.$refs.toast.showToast(`Error ${n}`,4,!0),this.selecting_model=!1})},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},read(){console.log("READING..."),this.isSynthesizingVoice=!0;let n=this.$refs.mdTextarea.selectionStart,e=this.$refs.mdTextarea.selectionEnd,t=this.text;n!=e&&(t=t.slice(n,e)),re.post("./text2Wave",{client_id:this.$store.state.client_id,text:t}).then(s=>{console.log(s.data.url);let i=s.data.url;this.audio_url=i,this.isSynthesizingVoice=!1,Le(()=>{ze.replace()})}).catch(s=>{this.$refs.toast.showToast(`Error: ${s}`,4,!1),this.isSynthesizingVoice=!1,Le(()=>{ze.replace()})})},speak(){if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let n=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(i=>i.name===this.$store.state.config.audio_out_voice)[0]);const t=i=>{let r=this.text.substring(i,i+e);const o=[".","!","?",` -`];let a=-1;return o.forEach(c=>{const d=r.lastIndexOf(c);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+i+1},s=()=>{const i=t(n),r=this.text.substring(n,i);this.msg.text=r,n=i+1,this.msg.onend=o=>{n{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",i))},this.speechSynthesis.speak(this.msg)};s()},getCursorPosition(){return this.$refs.mdTextarea.selectionStart},appendToOutput(n){this.pre_text+=n,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let n=this.text.indexOf("@@");if(n<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,n)+this.text.substring(n+26,this.text.length),this.pre_text=this.text.substring(0,n),this.post_text=this.text.substring(n,this.text.length);var e=this.text.substring(0,n);console.log(e),qe.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},async tokenize_text(){const n=await re.post("/lollms_tokenize",{prompt:this.text},{headers:this.posts_headers});console.log(n.data.named_tokens),this.namedTokens=n.data.named_tokens},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var n=this.text.substring(0,this.getCursorPosition());console.log(this.text),console.log(`cursor position :${this.getCursorPosition()}`),console.log(`pretext:${this.pre_text}`),console.log(`post_text:${this.post_text}`),console.log(`prompt:${n}`),qe.emit("generate_text",{prompt:n,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){qe.emit("cancel_text_generation",{})},exportText(){const n=this.text,e=document.createElement("a"),t=new Blob([n],{type:"text/plain"});e.href=URL.createObjectURL(t),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const n=document.getElementById("import-input");n&&(n.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const t=new FileReader;t.onload=()=>{this.text=t.result},t.readAsText(e.target.files[0])}else alert("Please select a file.")}),n.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=Btt(this.selectedPreset.content,n=>{console.log("Done"),console.log(n),this.text=n})},addPreset(){let n=prompt("Enter the title of the preset:");this.presets[n]={client_id:this.$store.state.client_id,name:n,content:this.text},re.post("./add_preset",this.presets[n]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){re.get("./get_presets").then(n=>{console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)})},startRecording(){this.pending=!0,this.is_recording?re.post("/stop_recording",{client_id:this.$store.state.client_id}).then(n=>{this.is_recording=!1,this.pending=!1,console.log(n),this.text+=n.data,console.log("text"),console.log(this.text),console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)}):re.post("/start_recording",{client_id:this.$store.state.client_id}).then(n=>{this.is_recording=!0,this.pending=!1,console.log(n.data)}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)})},startRecordingAndTranscribing(){this.pending=!0,this.is_deaf_transcribing?re.get("/stop_recording").then(n=>{this.is_deaf_transcribing=!1,this.pending=!1,this.text=n.data.text,this.read()}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)}):re.get("/start_recording").then(n=>{this.is_deaf_transcribing=!0,this.pending=!1}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=n=>{this.generated="";for(let e=n.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},Vtt={class:"container w-full background-color shadow-lg 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"},ztt={class:"container flex flex-row m-2 w-full"},Htt={class:"flex-grow w-full m-2"},qtt={class:"flex panels-color gap-3 flex-1 items-center flex-grow flex-row rounded-md border-2 border-blue-300 m-2 p-4"},$tt={class:"flex items-center space-x-2"},Ytt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1),Wtt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"})],-1),Ktt=["src"],jtt=l("span",{class:"w-80"},null,-1),Qtt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),Xtt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1),Ztt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1),Jtt=["src"],ent=["src"],tnt=["src"],nnt=["src"],snt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1),int={key:1,class:"w-6 h-6"},rnt=l("svg",{class:"animate-spin h-5 w-5 text-secondary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),ont=[rnt],ant=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1),lnt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1),cnt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1),dnt={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},unt=l("input",{type:"file",id:"import-input",class:"hidden"},null,-1),pnt={key:0},_nt=["src"],hnt={key:2},fnt={key:0,class:"settings scrollbar bg-white dark:bg-gray-800 rounded-lg shadow-md p-6"},mnt=l("h2",{class:"text-2xl font-bold text-gray-900 dark:text-white mb-4"},"Settings",-1),gnt=["value"],bnt={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},Ent=l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Selecting model...")],-1),ynt=[Ent],vnt=["value"],Snt=l("br",null,null,-1),Tnt=l("i",{"data-feather":"check"},null,-1),xnt=[Tnt],Cnt=l("i",{"data-feather":"plus"},null,-1),wnt=[Cnt],Rnt=l("i",{"data-feather":"x"},null,-1),Ant=[Rnt],Nnt=l("i",{"data-feather":"refresh-ccw"},null,-1),Ont=[Nnt],Mnt={class:"slider-container ml-2 mr-2"},Int=l("h3",{class:"text-gray-600"},"Temperature",-1),knt={class:"slider-value text-gray-500"},Dnt={class:"slider-container ml-2 mr-2"},Lnt=l("h3",{class:"text-gray-600"},"Top K",-1),Pnt={class:"slider-value text-gray-500"},Fnt={class:"slider-container ml-2 mr-2"},Unt=l("h3",{class:"text-gray-600"},"Top P",-1),Bnt={class:"slider-value text-gray-500"},Gnt={class:"slider-container ml-2 mr-2"},Vnt=l("h3",{class:"text-gray-600"},"Repeat Penalty",-1),znt={class:"slider-value text-gray-500"},Hnt={class:"slider-container ml-2 mr-2"},qnt=l("h3",{class:"text-gray-600"},"Repeat Last N",-1),$nt={class:"slider-value text-gray-500"},Ynt={class:"slider-container ml-2 mr-2"},Wnt=l("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),Knt={class:"slider-value text-gray-500"},jnt={class:"slider-container ml-2 mr-2"},Qnt=l("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),Xnt={class:"slider-value text-gray-500"},Znt={class:"slider-container ml-2 mr-2"},Jnt=l("h3",{class:"text-gray-600"},"Seed",-1),est={class:"slider-value text-gray-500"};function tst(n,e,t,s,i,r){const o=tt("ChatBarButton"),a=tt("ToolbarButton"),c=tt("DropdownSubmenu"),d=tt("DropdownMenu"),u=tt("tokens-hilighter"),h=tt("MarkdownRenderer"),f=tt("Card"),m=tt("Toast");return T(),x(Fe,null,[l("div",Vtt,[l("div",ztt,[l("div",Htt,[l("div",qtt,[l("div",$tt,[P(V(o,{onClick:r.generate,title:"Generate from the current cursor position"},{icon:Ie(()=>[Ytt]),_:1},8,["onClick"]),[[wt,!i.generating]]),P(V(o,{onClick:r.generate_in_placeholder,title:"Generate from the next placeholder"},{icon:Ie(()=>[Wtt]),_:1},8,["onClick"]),[[wt,!i.generating]]),P(V(o,{onClick:r.tokenize_text,title:"Tokenize the text"},{icon:Ie(()=>[l("img",{src:i.tokenize_icon,alt:"Tokenize",class:"h-5 w-5"},null,8,Ktt)]),_:1},8,["onClick"]),[[wt,!i.generating]]),jtt,P(V(o,{onClick:r.stopGeneration,title:"Stop generation"},{icon:Ie(()=>[Qtt]),_:1},8,["onClick"]),[[wt,i.generating]]),V(o,{onClick:r.startSpeechRecognition,class:Ge({"text-red-500":n.isListeningToVoice}),title:"Dictate (using your browser's transcription)"},{icon:Ie(()=>[Xtt]),_:1},8,["onClick","class"]),V(o,{onClick:r.speak,class:Ge({"text-red-500":r.isTalking}),title:"Convert text to audio (not saved, uses your browser's TTS service)"},{icon:Ie(()=>[Je(" 🪶 ")]),_:1},8,["onClick","class"]),V(o,{onClick:r.triggerFileUpload,title:"Upload a voice"},{icon:Ie(()=>[Ztt]),_:1},8,["onClick"]),V(o,{onClick:r.startRecordingAndTranscribing,class:Ge({"text-green-500":i.isLesteningToVoice}),title:"Start audio to audio"},{icon:Ie(()=>[i.pending?(T(),x("img",{key:1,src:i.loading_icon,alt:"Loading",class:"h-5 w-5"},null,8,ent)):(T(),x("img",{key:0,src:i.is_deaf_transcribing?i.deaf_on:i.deaf_off,alt:"Deaf",class:"h-5 w-5"},null,8,Jtt))]),_:1},8,["onClick","class"]),V(o,{onClick:r.startRecording,class:Ge({"text-green-500":i.isLesteningToVoice}),title:"Start audio recording"},{icon:Ie(()=>[i.pending?(T(),x("img",{key:1,src:i.loading_icon,alt:"Loading",class:"h-5 w-5"},null,8,nnt)):(T(),x("img",{key:0,src:i.is_recording?i.rec_on:i.rec_off,alt:"Record",class:"h-5 w-5"},null,8,tnt))]),_:1},8,["onClick","class"]),i.isSynthesizingVoice?(T(),x("div",int,ont)):(T(),dt(o,{key:0,onClick:r.read,title:"Generate audio from text"},{icon:Ie(()=>[snt]),_:1},8,["onClick"])),P(V(o,{onClick:r.exportText,title:"Export text"},{icon:Ie(()=>[ant]),_:1},8,["onClick"]),[[wt,!i.generating]]),P(V(o,{onClick:r.importText,title:"Import text"},{icon:Ie(()=>[lnt]),_:1},8,["onClick"]),[[wt,!i.generating]]),V(o,{onClick:e[0]||(e[0]=_=>i.showSettings=!i.showSettings),title:"Settings"},{icon:Ie(()=>[cnt]),_:1})]),l("input",{type:"file",ref:"fileInput",onChange:e[1]||(e[1]=(..._)=>r.handleFileUpload&&r.handleFileUpload(..._)),style:{display:"none"},accept:".wav"},null,544),l("div",dnt,[l("button",{class:Ge(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":i.tab_id=="source"}]),onClick:e[2]||(e[2]=_=>i.tab_id="source")}," Source ",2),l("button",{class:Ge(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":i.tab_id=="render"}]),onClick:e[3]||(e[3]=_=>i.tab_id="render")}," Render ",2)]),unt]),l("div",{class:Ge(["flex-grow m-2 p-2 border panels-color border-blue-300 rounded-md",{"border-red-500":i.generating}])},[i.tab_id==="source"?(T(),x("div",pnt,[V(d,{title:"Add Block"},{default:Ie(()=>[V(c,{title:"Programming Languages",icon:"code"},{default:Ie(()=>[V(a,{onClick:e[4]||(e[4]=j(_=>r.addBlock("python"),["stop"])),title:"Python",icon:"python"}),V(a,{onClick:e[5]||(e[5]=j(_=>r.addBlock("javascript"),["stop"])),title:"JavaScript",icon:"js"}),V(a,{onClick:e[6]||(e[6]=j(_=>r.addBlock("typescript"),["stop"])),title:"TypeScript",icon:"typescript"}),V(a,{onClick:e[7]||(e[7]=j(_=>r.addBlock("java"),["stop"])),title:"Java",icon:"java"}),V(a,{onClick:e[8]||(e[8]=j(_=>r.addBlock("c++"),["stop"])),title:"C++",icon:"cplusplus"}),V(a,{onClick:e[9]||(e[9]=j(_=>r.addBlock("csharp"),["stop"])),title:"C#",icon:"csharp"}),V(a,{onClick:e[10]||(e[10]=j(_=>r.addBlock("go"),["stop"])),title:"Go",icon:"go"}),V(a,{onClick:e[11]||(e[11]=j(_=>r.addBlock("rust"),["stop"])),title:"Rust",icon:"rust"}),V(a,{onClick:e[12]||(e[12]=j(_=>r.addBlock("swift"),["stop"])),title:"Swift",icon:"swift"}),V(a,{onClick:e[13]||(e[13]=j(_=>r.addBlock("kotlin"),["stop"])),title:"Kotlin",icon:"kotlin"}),V(a,{onClick:e[14]||(e[14]=j(_=>r.addBlock("r"),["stop"])),title:"R",icon:"r-project"})]),_:1}),V(c,{title:"Web Technologies",icon:"web"},{default:Ie(()=>[V(a,{onClick:e[15]||(e[15]=j(_=>r.addBlock("html"),["stop"])),title:"HTML",icon:"html5"}),V(a,{onClick:e[16]||(e[16]=j(_=>r.addBlock("css"),["stop"])),title:"CSS",icon:"css3"}),V(a,{onClick:e[17]||(e[17]=j(_=>r.addBlock("vue"),["stop"])),title:"Vue.js",icon:"vuejs"}),V(a,{onClick:e[18]||(e[18]=j(_=>r.addBlock("react"),["stop"])),title:"React",icon:"react"}),V(a,{onClick:e[19]||(e[19]=j(_=>r.addBlock("angular"),["stop"])),title:"Angular",icon:"angular"})]),_:1}),V(c,{title:"Markup and Data",icon:"file-code"},{default:Ie(()=>[V(a,{onClick:e[20]||(e[20]=j(_=>r.addBlock("xml"),["stop"])),title:"XML",icon:"xml"}),V(a,{onClick:e[21]||(e[21]=j(_=>r.addBlock("json"),["stop"])),title:"JSON",icon:"json"}),V(a,{onClick:e[22]||(e[22]=j(_=>r.addBlock("yaml"),["stop"])),title:"YAML",icon:"yaml"}),V(a,{onClick:e[23]||(e[23]=j(_=>r.addBlock("markdown"),["stop"])),title:"Markdown",icon:"markdown"}),V(a,{onClick:e[24]||(e[24]=j(_=>r.addBlock("latex"),["stop"])),title:"LaTeX",icon:"latex"})]),_:1}),V(c,{title:"Scripting and Shell",icon:"terminal"},{default:Ie(()=>[V(a,{onClick:e[25]||(e[25]=j(_=>r.addBlock("bash"),["stop"])),title:"Bash",icon:"bash"}),V(a,{onClick:e[26]||(e[26]=j(_=>r.addBlock("powershell"),["stop"])),title:"PowerShell",icon:"powershell"}),V(a,{onClick:e[27]||(e[27]=j(_=>r.addBlock("perl"),["stop"])),title:"Perl",icon:"perl"})]),_:1}),V(c,{title:"Diagramming",icon:"sitemap"},{default:Ie(()=>[V(a,{onClick:e[28]||(e[28]=j(_=>r.addBlock("mermaid"),["stop"])),title:"Mermaid",icon:"mermaid"}),V(a,{onClick:e[29]||(e[29]=j(_=>r.addBlock("graphviz"),["stop"])),title:"Graphviz",icon:"graphviz"}),V(a,{onClick:e[30]||(e[30]=j(_=>r.addBlock("plantuml"),["stop"])),title:"PlantUML",icon:"plantuml"})]),_:1}),V(c,{title:"Database",icon:"database"},{default:Ie(()=>[V(a,{onClick:e[31]||(e[31]=j(_=>r.addBlock("sql"),["stop"])),title:"SQL",icon:"sql"}),V(a,{onClick:e[32]||(e[32]=j(_=>r.addBlock("mongodb"),["stop"])),title:"MongoDB",icon:"mongodb"})]),_:1}),V(a,{onClick:e[33]||(e[33]=j(_=>r.addBlock(""),["stop"])),title:"Generic Block",icon:"code"})]),_:1}),V(a,{onClick:e[34]||(e[34]=j(_=>n.copyContentToClipboard(),["stop"])),title:"Copy message to clipboard",icon:"copy"}),P(l("textarea",{ref:"mdTextarea",onKeydown:e[35]||(e[35]=Ks(j((..._)=>r.insertTab&&r.insertTab(..._),["prevent"]),["tab"])),class:"block min-h-500 p-2.5 w-full 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 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll dark:bg-bg-dark 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",rows:4,style:Kt({minHeight:i.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[36]||(e[36]=_=>i.text=_),onClick:e[37]||(e[37]=j((..._)=>r.mdTextarea_clicked&&r.mdTextarea_clicked(..._),["prevent"])),onChange:e[38]||(e[38]=j((..._)=>r.mdTextarea_changed&&r.mdTextarea_changed(..._),["prevent"]))},`\r - `,36),[[pe,i.text]]),l("span",null,"Cursor position "+K(i.cursorPosition),1)])):G("",!0),i.audio_url!=null?(T(),x("audio",{controls:"",key:i.audio_url},[l("source",{src:i.audio_url,type:"audio/wav",ref:"audio_player"},null,8,_nt),Je(" Your browser does not support the audio element. ")])):G("",!0),V(u,{namedTokens:i.namedTokens},null,8,["namedTokens"]),i.tab_id==="render"?(T(),x("div",hnt,[V(h,{ref:"mdRender",client_id:this.$store.state.client_id,message_id:0,discussion_id:0,"markdown-text":i.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["client_id","markdown-text"])])):G("",!0)],2)]),i.showSettings?(T(),x("div",fnt,[mnt,V(f,{title:"Model",class:"slider-container ml-0 mr-0",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[P(l("select",{"onUpdate:modelValue":e[39]||(e[39]=_=>this.$store.state.selectedModel=_),onChange:e[40]||(e[40]=(..._)=>r.setModel&&r.setModel(..._)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(T(!0),x(Fe,null,Ke(r.models,_=>(T(),x("option",{key:_,value:_},K(_),9,gnt))),128))],544),[[Dt,this.$store.state.selectedModel]]),i.selecting_model?(T(),x("div",bnt,ynt)):G("",!0)]),_:1}),V(f,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[P(l("select",{"onUpdate:modelValue":e[41]||(e[41]=_=>i.selectedPreset=_),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(T(!0),x(Fe,null,Ke(i.presets,_=>(T(),x("option",{key:_,value:_},K(_.name),9,vnt))),128))],512),[[Dt,i.selectedPreset]]),Snt,l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[42]||(e[42]=(..._)=>r.setPreset&&r.setPreset(..._)),title:"Use preset"},xnt),l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[43]||(e[43]=(..._)=>r.addPreset&&r.addPreset(..._)),title:"Add this text as a preset"},wnt),l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[44]||(e[44]=(..._)=>r.removePreset&&r.removePreset(..._)),title:"Remove preset"},Ant),l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[45]||(e[45]=(..._)=>r.reloadPresets&&r.reloadPresets(..._)),title:"Reload presets list"},Ont)]),_:1}),V(f,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[l("div",Mnt,[Int,P(l("input",{type:"range","onUpdate:modelValue":e[46]||(e[46]=_=>i.temperature=_),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[pe,i.temperature]]),l("span",knt,"Current value: "+K(i.temperature),1)]),l("div",Dnt,[Lnt,P(l("input",{type:"range","onUpdate:modelValue":e[47]||(e[47]=_=>i.top_k=_),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[pe,i.top_k]]),l("span",Pnt,"Current value: "+K(i.top_k),1)]),l("div",Fnt,[Unt,P(l("input",{type:"range","onUpdate:modelValue":e[48]||(e[48]=_=>i.top_p=_),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[pe,i.top_p]]),l("span",Bnt,"Current value: "+K(i.top_p),1)]),l("div",Gnt,[Vnt,P(l("input",{type:"range","onUpdate:modelValue":e[49]||(e[49]=_=>i.repeat_penalty=_),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.repeat_penalty]]),l("span",znt,"Current value: "+K(i.repeat_penalty),1)]),l("div",Hnt,[qnt,P(l("input",{type:"range","onUpdate:modelValue":e[50]||(e[50]=_=>i.repeat_last_n=_),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.repeat_last_n]]),l("span",$nt,"Current value: "+K(i.repeat_last_n),1)]),l("div",Ynt,[Wnt,P(l("input",{type:"number","onUpdate:modelValue":e[51]||(e[51]=_=>i.n_crop=_),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.n_crop]]),l("span",Knt,"Current value: "+K(i.n_crop),1)]),l("div",jnt,[Qnt,P(l("input",{type:"number","onUpdate:modelValue":e[52]||(e[52]=_=>i.n_predicts=_),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.n_predicts]]),l("span",Xnt,"Current value: "+K(i.n_predicts),1)]),l("div",Znt,[Jnt,P(l("input",{type:"number","onUpdate:modelValue":e[53]||(e[53]=_=>i.seed=_),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.seed]]),l("span",est,"Current value: "+K(i.seed),1)])]),_:1})])):G("",!0)])]),V(m,{ref:"toast"},null,512)],64)}const nst=ot(Gtt,[["render",tst]]);const sst={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(wM(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(n){this.activeExtension=n}}},ist={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark 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"},rst={key:0},ost=["onClick"],ast={key:0},lst=["src"],cst={key:1},dst=l("p",null,"No extension is active. Please install and activate an extension.",-1),ust=[dst];function pst(n,e,t,s,i,r){return T(),x("div",ist,[r.activeExtensions.length>0?(T(),x("div",rst,[(T(!0),x(Fe,null,Ke(r.activeExtensions,o=>(T(),x("div",{key:o.name,onClick:a=>r.showExtensionPage(o)},[l("div",{class:Ge({"active-tab":o===i.activeExtension})},K(o.name),3)],8,ost))),128)),i.activeExtension?(T(),x("div",ast,[l("iframe",{src:i.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,lst)])):G("",!0)])):(T(),x("div",cst,ust))])}const _st=ot(sst,[["render",pst]]);const hst={data(){return{sections:[{id:"introduction",title:"Introduction",content:` -

LoLLMs (Lord of Large Language Multimodal Systems) is a powerful and versatile AI system designed to handle a wide range of tasks. Developed by ParisNeo, a computer geek passionate about AI, LoLLMs aims to be the ultimate tool for AI-assisted work and creativity.

-

With its advanced capabilities in natural language processing, multimodal understanding, and code interpretation, LoLLMs can assist users in various domains, from content creation to complex problem-solving.

- `},{id:"key-features",title:"Key Features",content:` -
    -
  • Advanced language understanding and generation
  • -
  • Multimodal capabilities (text, images, and more)
  • -
  • Built-in code interpreter for various programming languages
  • -
  • Internet search integration for up-to-date information
  • -
  • Customizable personalities for specialized tasks
  • -
  • File handling and analysis capabilities
  • -
- `},{id:"getting-started",title:"Getting Started",content:` -

To get started with LoLLMs, follow these steps:

-
    -
  1. Install LoLLMs on your system (refer to the installation guide)
  2. -
  3. Configure your preferences and API keys if necessary
  4. -
  5. Choose a personality or mode that fits your task
  6. -
  7. Start interacting with LoLLMs through the chat interface
  8. -
-

For detailed installation instructions, visit our installation guide.

- `},{id:"personalities",title:"Personalities",content:` -

LoLLMs offers various personalities to cater to different tasks and user needs. Each personality is optimized for specific use cases, ensuring the best possible assistance.

- `,subsections:[{id:"document-summarization",title:"Document Summarization",content:` -

The Document Summarization personality, also known as docs_zipper, specializes in condensing large documents into concise summaries while maintaining context and key information.

-

Key features:

-
    -
  • Handles multiple document formats (PDF, DOCX, TXT, etc.)
  • -
  • Provides customizable summary lengths
  • -
  • Extracts main ideas and key points
  • -
  • Maintains document structure in summaries
  • -
-

Learn more about Document Summarization

- `},{id:"code-interpreter",title:"Code Interpreter",content:` -

The Code Interpreter personality allows LoLLMs to understand, analyze, and execute code in various programming languages.

-

Key features:

-
    -
  • Supports multiple programming languages
  • -
  • Provides code explanations and suggestions
  • -
  • Assists in debugging and optimizing code
  • -
  • Can generate code snippets based on natural language descriptions
  • -
- `}]},{id:"advanced-features",title:"Advanced Features",content:` -

Explore the advanced capabilities of LoLLMs:

-
    -
  • Internet Search Integration: Access up-to-date information by using the "send message with internet search" feature
  • -
  • File Handling: Upload and analyze various file types, including images and documents
  • -
  • SVG and Diagram Generation: Create visual representations using SVG, Graphviz, and Mermaid
  • -
  • HTML and JavaScript Generation: Develop interactive web content directly through LoLLMs
  • -
  • Python Code Execution: Run Python scripts for data analysis and more
  • -
- `},{id:"use-cases",title:"Use Cases",content:` -

LoLLMs can be applied to a wide range of tasks, including:

-
    -
  • Content Creation and Editing
  • -
  • Data Analysis and Visualization
  • -
  • Code Development and Debugging
  • -
  • Research and Information Gathering
  • -
  • Language Translation and Localization
  • -
  • Creative Writing and Brainstorming
  • -
  • Technical Documentation
  • -
  • Educational Support and Tutoring
  • -
- `},{id:"troubleshooting",title:"Troubleshooting",content:` -

If you encounter any issues while using LoLLMs, try the following steps:

-
    -
  1. Check your internet connection
  2. -
  3. Verify that you're using the latest version of LoLLMs
  4. -
  5. Clear your browser cache (if using the web interface)
  6. -
  7. Review the error messages for specific information
  8. -
  9. Consult the FAQ section for common issues and solutions
  10. -
-

If problems persist, please reach out to our support team through one of the contact methods listed below.

- `}],contactLinks:[{text:"Email",url:"mailto:parisneoai@gmail.com"},{text:"Twitter",url:"https://twitter.com/ParisNeo_AI"},{text:"Discord",url:"https://discord.gg/BDxacQmv"},{text:"Sub-Reddit",url:"https://www.reddit.com/r/lollms"},{text:"Instagram",url:"https://www.instagram.com/spacenerduino/"}]}},methods:{scrollToSection(n){const e=document.getElementById(n);e&&e.scrollIntoView({behavior:"smooth",block:"start"})}}},fst={class:"min-h-screen w-full bg-gradient-to-br from-blue-100 to-purple-100 dark:from-blue-900 dark:to-purple-900 overflow-y-auto"},mst={class:"container mx-auto px-4 py-8 relative z-10"},gst=l("header",{class:"text-center mb-12 sticky top-0 bg-white dark:bg-gray-800 bg-opacity-90 dark:bg-opacity-90 backdrop-filter backdrop-blur-lg p-4 rounded-b-lg shadow-md"},[l("h1",{class:"text-5xl md:text-6xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-purple-600 dark:from-blue-400 dark:to-purple-400 mb-2 animate-glow"}," LoLLMs Help Documentation "),l("p",{class:"text-2xl text-gray-600 dark:text-gray-300 italic"},' "One tool to rule them all" ')],-1),bst={class:"bg-white dark:bg-gray-800 shadow-md rounded-lg p-6 mb-8 animate-fade-in sticky top-32 max-h-[calc(100vh-8rem)] overflow-y-auto"},Est=l("h2",{class:"text-3xl font-semibold mb-4 text-gray-800 dark:text-gray-200"},"Table of Contents",-1),yst={class:"space-y-2"},vst=["href","onClick"],Sst={key:0,class:"ml-4 mt-2 space-y-1"},Tst=["href","onClick"],xst={class:"bg-white dark:bg-gray-800 shadow-md rounded-lg p-6 animate-fade-in"},Cst=["id"],wst={class:"text-4xl font-semibold mb-6 text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-purple-600 dark:from-blue-400 dark:to-purple-400"},Rst=["innerHTML"],Ast={key:0,class:"mt-8"},Nst=["id"],Ost={class:"text-3xl font-semibold mb-4 text-gray-700 dark:text-gray-300"},Mst=["innerHTML"],Ist={class:"mt-12 pt-8 border-t border-gray-300 dark:border-gray-700 animate-fade-in"},kst=l("h2",{class:"text-3xl font-semibold mb-6 text-center text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-purple-600 dark:from-blue-400 dark:to-purple-400"},"Contact",-1),Dst={class:"flex flex-wrap justify-center gap-6 mb-8"},Lst=["href"],Pst=l("p",{class:"text-center font-bold text-2xl text-gray-700 dark:text-gray-300"},"See ya!",-1),Fst={class:"fixed inset-0 pointer-events-none overflow-hidden"},Ust=l("svg",{class:"w-2 h-2 text-yellow-300",fill:"currentColor",viewBox:"0 0 20 20"},[l("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})],-1),Bst=[Ust];function Gst(n,e,t,s,i,r){return T(),x("div",fst,[l("div",mst,[gst,l("nav",bst,[Est,l("ul",yst,[(T(!0),x(Fe,null,Ke(i.sections,o=>(T(),x("li",{key:o.id,class:"ml-4"},[l("a",{href:`#${o.id}`,onClick:a=>r.scrollToSection(o.id),class:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 hover:underline transition-colors duration-200"},K(o.title),9,vst),o.subsections?(T(),x("ul",Sst,[(T(!0),x(Fe,null,Ke(o.subsections,a=>(T(),x("li",{key:a.id},[l("a",{href:`#${a.id}`,onClick:c=>r.scrollToSection(a.id),class:"text-blue-500 dark:text-blue-300 hover:text-blue-700 dark:hover:text-blue-200 hover:underline transition-colors duration-200"},K(a.title),9,Tst)]))),128))])):G("",!0)]))),128))])]),l("main",xst,[(T(!0),x(Fe,null,Ke(i.sections,o=>(T(),x("section",{key:o.id,id:o.id,class:"mb-12"},[l("h2",wst,K(o.title),1),l("div",{innerHTML:o.content,class:"prose dark:prose-invert max-w-none"},null,8,Rst),o.subsections?(T(),x("div",Ast,[(T(!0),x(Fe,null,Ke(o.subsections,a=>(T(),x("section",{key:a.id,id:a.id,class:"mb-8"},[l("h3",Ost,K(a.title),1),l("div",{innerHTML:a.content,class:"prose dark:prose-invert max-w-none"},null,8,Mst)],8,Nst))),128))])):G("",!0)],8,Cst))),128))]),l("footer",Ist,[kst,l("div",Dst,[(T(!0),x(Fe,null,Ke(i.contactLinks,(o,a)=>(T(),x("a",{key:a,href:o.url,target:"_blank",class:"text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 hover:underline transition-colors duration-200"},K(o.text),9,Lst))),128))]),Pst])]),l("div",Fst,[(T(),x(Fe,null,Ke(50,o=>l("div",{key:o,class:"absolute animate-fall",style:Kt({left:`${Math.random()*100}%`,top:"-20px",animationDuration:`${3+Math.random()*7}s`,animationDelay:`${Math.random()*5}s`})},Bst,4)),64))])])}const Vst=ot(hst,[["render",Gst]]);function ci(n,e=!0,t=1){const s=e?1e3:1024;if(Math.abs(n)=s&&r{ze.replace()})},executeCommand(n){this.isMenuOpen=!1,console.log("Selected"),console.log(n.value),typeof n.value=="function"&&(console.log("Command detected",n),n.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(n))},positionMenu(){var n;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),t=window.innerHeight;n=e.bottom>t/2}else this.force_position==1?n=!0:n=!1;this.menuPosition.top=n?"auto":"calc(100% + 10px)",this.menuPosition.bottom=n?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),Le(()=>{ze.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},Hst={class:"menu-container"},qst=["title"],$st=["src"],Yst=["data-feather"],Wst={key:2,class:"w-5 h-5"},Kst={key:3,"data-feather":"menu"},jst={class:"flex-grow menu-ul"},Qst=["onClick"],Xst={key:0,"data-feather":"check"},Zst=["src","alt"],Jst=["data-feather"],eit={key:3,class:"menu-icon"};function tit(n,e,t,s,i,r){return T(),x("div",Hst,[l("button",{onClick:e[0]||(e[0]=j((...o)=>r.toggleMenu&&r.toggleMenu(...o),["prevent"])),title:t.title,class:Ge([t.menuIconClass,"menu-button m-0 p-0 bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer"]),ref:"menuButton"},[t.icon&&!t.icon.includes("#")&&!t.icon.includes("feather")?(T(),x("img",{key:0,src:t.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,$st)):t.icon&&t.icon.includes("feather")?(T(),x("i",{key:1,"data-feather":t.icon.split(":")[1],class:"w-5 h-5"},null,8,Yst)):t.icon&&t.icon.includes("#")?(T(),x("p",Wst,K(t.icon.split("#")[1]),1)):(T(),x("i",Kst))],10,qst),V(Hs,{name:"slide"},{default:Ie(()=>[i.isMenuOpen?(T(),x("div",{key:0,class:"menu-list flex-grow",style:Kt(i.menuPosition),ref:"menu"},[l("ul",jst,[(T(!0),x(Fe,null,Ke(t.commands,(o,a)=>(T(),x("li",{key:a,onClick:j(c=>r.executeCommand(o),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[t.selected_entry==o.name?(T(),x("i",Xst)):o.icon&&!o.icon.includes("feather")&&!o.is_file?(T(),x("img",{key:1,src:o.icon,alt:o.name,class:"menu-icon"},null,8,Zst)):G("",!0),o.icon&&o.icon.includes("feather")&&!o.is_file?(T(),x("i",{key:2,"data-feather":o.icon.split(":")[1],class:"mr-2"},null,8,Jst)):(T(),x("span",eit)),l("span",null,K(o.name),1)],8,Qst))),128))])],4)):G("",!0)]),_:1})])}const YE=ot(zst,[["render",tit]]),nit={components:{InteractiveMenu:YE},props:{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(){Le(()=>{ze.replace()})},methods:{formatFileSize(n){return n<1024?n+" bytes":n<1024*1024?(n/1024).toFixed(2)+" KB":n<1024*1024*1024?(n/(1024*1024)).toFixed(2)+" MB":(n/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(n){return ci(n)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?Us:this.model.icon},defaultImg(n){n.target.src=Us},install(){this.onInstall(this)},uninstall(){this.isInstalled&&this.onUninstall(this)},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(n){if(console.log("event.target.tagName.toLowerCase()"),console.log(n.target.tagName.toLowerCase()),n.target.tagName.toLowerCase()==="button"||n.target.tagName.toLowerCase()==="svg"){n.stopPropagation();return}this.onSelected(this),this.model.selected=!0,Le(()=>{ze.replace()})},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this),this.installing=!1},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){this.$emit("copy","this.message.content")}},computed:{computed_classes(){return this.model.isInstalled?this.selected?"border-4 border-gray-200 bg-primary cursor-pointer":"border-0 border-primary bg-primary cursor-pointer":"border-transparent"},commandsList(){let n=[{name:this.model.isInstalled?"Install Extra":"Install",icon:"feather:settings",is_file:!1,value:this.install},{name:"Copy model info to clipboard",icon:"feather:settings",is_file:!1,value:this.toggleCopy}];return this.model.isInstalled&&n.push({name:"UnInstall",icon:"feather:settings",is_file:!1,value:this.uninstall}),this.selected&&n.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),n},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const n=this.model.variants[0].size;return this.formatFileSize(n)}return null}},speed_computed(){return ci(this.speed)},total_size_computed(){return ci(this.total_size)},downloaded_size_computed(){return ci(this.downloaded_size)}},watch:{linkNotValid(){Le(()=>{ze.replace()})}}},sit=["title"],iit={key:0,class:"flex flex-row"},rit={class:"max-w-[300px] overflow-x-auto"},oit={class:"flex gap-3 items-center grow"},ait=["href"],lit=["src"],cit={class:"flex-1 overflow-hidden"},dit={class:"font-bold font-large text-lg truncate"},uit={key:1,class:"flex items-center flex-row gap-2 my-1"},pit={class:"flex grow items-center"},_it=l("i",{"data-feather":"box",class:"w-5"},null,-1),hit=l("span",{class:"sr-only"},"Custom model / local model",-1),fit=[_it,hit],mit=l("span",{class:"sr-only"},"Remove",-1),git={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"},bit={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Eit=l("div",{role:"status",class:"justify-center"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1),yit={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},vit={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Sit={class:"flex justify-between mb-1"},Tit=l("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),xit={class:"text-sm font-medium text-blue-700 dark:text-white"},Cit={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},wit={class:"flex justify-between mb-1"},Rit={class:"text-base font-medium text-blue-700 dark:text-white"},Ait={class:"text-sm font-medium text-blue-700 dark:text-white"},Nit={class:"flex flex-grow"},Oit={class:"flex flex-row flex-grow gap-3"},Mit={class:"p-2 text-center grow"},Iit={key:3},kit={class:"flex flex-row items-center gap-3"},Dit=["src"],Lit={class:"font-bold font-large text-lg truncate"},Pit=l("div",{class:"grow"},null,-1),Fit={class:"flex items-center flex-row-reverse gap-2 my-1"},Uit={class:"flex flex-row items-center"},Bit={key:0,class:"text-base text-red-600 flex items-center mt-1"},Git=l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),Vit=["title"],zit={class:""},Hit={class:"flex flex-row items-center"},qit=l("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),$it=l("b",null,"Card: ",-1),Yit=["href","title"],Wit=l("div",{class:"grow"},null,-1),Kit=l("i",{"data-feather":"clipboard",class:"w-5"},null,-1),jit=[Kit],Qit={class:"flex items-center"},Xit=l("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Zit=l("b",null,"File size: ",-1),Jit={class:"flex items-center"},ert=l("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),trt=l("b",null,"License: ",-1),nrt={key:0,class:"flex items-center"},srt=l("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),irt=l("b",null,"quantizer: ",-1),rrt=["href"],ort={class:"flex items-center"},art=l("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),lrt=l("b",null,"Model creator: ",-1),crt=["href"],drt={class:"flex items-center"},urt=l("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),prt=l("b",null,"Release date: ",-1),_rt={class:"flex items-center"},hrt=l("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),frt=l("b",null,"Category: ",-1),mrt=["href"];function grt(n,e,t,s,i,r){const o=tt("InteractiveMenu");return T(),x("div",{class:Ge(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",r.computed_classes]),title:t.model.name,onClick:e[10]||(e[10]=j(a=>r.toggleSelected(a),["prevent"]))},[t.model.isCustomModel?(T(),x("div",iit,[l("div",rit,[l("div",oit,[l("a",{href:t.model.model_creator_link,target:"_blank"},[l("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,lit)],8,ait),l("div",cit,[l("h3",dit,K(t.model.name),1)])])])])):G("",!0),t.model.isCustomModel?(T(),x("div",uit,[l("div",pit,[l("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]=j(()=>{},["stop"]))},fit),Je(" Custom model ")]),l("div",null,[t.model.isInstalled?(T(),x("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=j((...a)=>r.uninstall&&r.uninstall(...a),["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"},[Je(" Uninstall "),mit])):G("",!0)])])):G("",!0),i.installing?(T(),x("div",git,[l("div",bit,[Eit,l("div",yit,[l("div",vit,[l("div",Sit,[Tit,l("span",xit,K(Math.floor(i.progress))+"%",1)]),l("div",Cit,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Kt({width:i.progress+"%"})},null,4)]),l("div",wit,[l("span",Rit,"Download speed: "+K(r.speed_computed)+"/s",1),l("span",Ait,K(r.downloaded_size_computed)+"/"+K(r.total_size_computed),1)])])]),l("div",Nit,[l("div",Oit,[l("div",Mit,[l("button",{onClick:e[3]||(e[3]=j((...a)=>r.toggleCancelInstall&&r.toggleCancelInstall(...a),["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 ")])])])])])):G("",!0),t.model.isCustomModel?G("",!0):(T(),x("div",Iit,[l("div",kit,[l("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=a=>r.defaultImg(a)),class:Ge(["w-10 h-10 rounded-lg object-fill",i.linkNotValid?"grayscale":""])},null,42,Dit),l("h3",Lit,K(t.model.name),1),Pit,V(o,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),l("div",Fit,[l("div",Uit,[i.linkNotValid?(T(),x("div",Bit,[Git,Je(" Link is not valid ")])):G("",!0)])]),l("div",{class:"",title:t.model.isInstalled?t.model.name:"Not installed"},[l("div",zit,[l("div",Hit,[qit,$it,l("a",{href:"https://huggingface.co/"+t.model.quantizer+"/"+t.model.name,target:"_blank",onClick:e[5]||(e[5]=j(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:i.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," View full model card ",8,Yit),Wit,l("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[6]||(e[6]=j(a=>r.toggleCopyLink(),["stop"]))},jit)]),l("div",Qit,[l("div",{class:Ge(["flex flex-shrink-0 items-center",i.linkNotValid?"text-red-600":""])},[Xit,Zit,Je(" "+K(r.fileSize),1)],2)]),l("div",Jit,[ert,trt,Je(" "+K(t.model.license),1)]),t.model.quantizer!="None"&&t.model.type!="transformers"?(T(),x("div",nrt,[srt,irt,l("a",{href:"https://huggingface.co/"+t.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[7]||(e[7]=j(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},K(t.model.quantizer),9,rrt)])):G("",!0),l("div",ort,[art,lrt,l("a",{href:t.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[8]||(e[8]=j(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},K(t.model.model_creator),9,crt)]),l("div",drt,[urt,prt,Je(" "+K(t.model.last_commit_time),1)]),l("div",_rt,[hrt,frt,l("a",{href:"https://huggingface.co/"+t.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[9]||(e[9]=j(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},K(t.model.category),9,mrt)])])],8,Vit)]))],10,sit)}const brt=ot(nit,[["render",grt]]),Ert={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",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}}},yrt={class:"p-4"},vrt={class:"flex items-center mb-4"},Srt=["src"],Trt={class:"text-lg font-semibold"},xrt=l("strong",null,"Author:",-1),Crt=l("strong",null,"Description:",-1),wrt=l("strong",null,"Category:",-1),Rrt={key:0},Art=l("strong",null,"Disclaimer:",-1),Nrt=l("strong",null,"Conditioning Text:",-1),Ort=l("strong",null,"AI Prefix:",-1),Mrt=l("strong",null,"User Prefix:",-1),Irt=l("strong",null,"Antiprompts:",-1);function krt(n,e,t,s,i,r){return T(),x("div",yrt,[l("div",vrt,[l("img",{src:i.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Srt),l("h2",Trt,K(i.personalityName),1)]),l("p",null,[xrt,Je(" "+K(i.personalityAuthor),1)]),l("p",null,[Crt,Je(" "+K(i.personalityDescription),1)]),l("p",null,[wrt,Je(" "+K(i.personalityCategory),1)]),i.disclaimer?(T(),x("p",Rrt,[Art,Je(" "+K(i.disclaimer),1)])):G("",!0),l("p",null,[Nrt,Je(" "+K(i.conditioningText),1)]),l("p",null,[Ort,Je(" "+K(i.aiPrefix),1)]),l("p",null,[Mrt,Je(" "+K(i.userPrefix),1)]),l("div",null,[Irt,l("ul",null,[(T(!0),x(Fe,null,Ke(i.antipromptsList,o=>(T(),x("li",{key:o.id},K(o.text),1))),128))])]),l("button",{onClick:e[0]||(e[0]=o=>i.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),i.editMode?(T(),x("button",{key:1,onClick:e[1]||(e[1]=(...o)=>r.commitChanges&&r.commitChanges(...o)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):G("",!0)])}const Drt=ot(Ert,[["render",krt]]),mp="/assets/logo-9d653710.svg",Lrt="/",Prt={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onOpenFolder:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onCopyToCustom:Function,onEdit:Function,onReinstall:Function,onSettings:Function,onCopyPersonalityName:Function,onToggleFavorite:Function},components:{InteractiveMenu:YE},data(){return{isMounted:!1,name:this.personality.name,thumbnailVisible:!1,thumbnailPosition:{x:0,y:0}}},computed:{commandsList(){let n=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return console.log("this.category",this.personality.category),this.personality.category=="custom_personalities"?n.push({name:"edit",icon:"feather:settings",is_file:!1,value:this.edit}):n.push({name:"Copy to custom personas folder for editing",icon:"feather:copy",is_file:!1,value:this.copyToCustom}),this.isMounted&&n.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&n.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),n},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,Le(()=>{ze.replace()})},methods:{formatDate(n){const e={year:"numeric",month:"short",day:"numeric"};return new Date(n).toLocaleDateString(void 0,e)},showThumbnail(){this.thumbnailVisible=!0},hideThumbnail(){this.thumbnailVisible=!1},updateThumbnailPosition(n){this.thumbnailPosition={x:n.clientX+10,y:n.clientY+10}},getImgUrl(){return Lrt+this.personality.avatar},defaultImg(n){n.target.src=mp},toggleFavorite(){this.onToggleFavorite(this)},showFolder(){this.onOpenFolder(this)},toggleTalk(){this.onTalk(this)},toggleCopyLink(){this.onCopyPersonalityName(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},edit(){this.onEdit(this)},copyToCustom(){this.onCopyToCustom(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this),this.isMounted=!1},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){Le(()=>{ze.replace()})}}},Frt=["title"],Urt={class:"flex-grow"},Brt={class:"flex items-center mb-4"},Grt=["src"],Vrt={class:"text-sm text-gray-600"},zrt={class:"text-sm text-gray-600"},Hrt={class:"text-sm text-gray-600"},qrt={key:0,class:"text-sm text-gray-600"},$rt={key:1,class:"text-sm text-gray-600"},Yrt={class:"mb-4"},Wrt=l("h4",{class:"font-semibold mb-1 text-gray-700"},"Description:",-1),Krt=["innerHTML"],jrt={class:"mt-auto pt-4 border-t"},Qrt={class:"flex justify-between items-center flex-wrap"},Xrt=["title"],Zrt=["fill"],Jrt=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"},null,-1),eot=[Jrt],tot=l("i",{"data-feather":"check",class:"h-6 w-6"},null,-1),not=[tot],sot=l("i",{"data-feather":"send",class:"h-6 w-6"},null,-1),iot=[sot],rot=l("i",{"data-feather":"folder",class:"h-6 w-6"},null,-1),oot=[rot],aot=["src"];function lot(n,e,t,s,i,r){const o=tt("InteractiveMenu");return T(),x("div",{class:Ge(["personality-card bg-white border rounded-xl shadow-lg p-6 hover:shadow-xl transition duration-300 ease-in-out flex flex-col h-full",r.selected_computed?"border-primary-light":"border-transparent",i.isMounted?"bg-blue-200 dark:bg-blue-700":""]),title:t.personality.installed?"":"Not installed"},[l("div",Urt,[l("div",Brt,[l("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),alt:"Personality Icon",class:"w-16 h-16 rounded-full border border-gray-300 mr-4 cursor-pointer",onClick:e[1]||(e[1]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),onMouseover:e[2]||(e[2]=(...a)=>r.showThumbnail&&r.showThumbnail(...a)),onMousemove:e[3]||(e[3]=(...a)=>r.updateThumbnailPosition&&r.updateThumbnailPosition(...a)),onMouseleave:e[4]||(e[4]=(...a)=>r.hideThumbnail&&r.hideThumbnail(...a))},null,40,Grt),l("div",null,[l("h3",{class:"font-bold text-xl text-gray-800 cursor-pointer",onClick:e[5]||(e[5]=(...a)=>r.toggleSelected&&r.toggleSelected(...a))},K(t.personality.name),1),l("p",Vrt,"Author: "+K(t.personality.author),1),l("p",zrt,"Version: "+K(t.personality.version),1),l("p",Hrt,"Category: "+K(t.personality.category),1),t.personality.creation_date?(T(),x("p",qrt,"Creation Date: "+K(r.formatDate(t.personality.creation_date)),1)):G("",!0),t.personality.last_update_date?(T(),x("p",$rt,"Last update Date: "+K(r.formatDate(t.personality.last_update_date)),1)):G("",!0)])]),l("div",Yrt,[Wrt,l("p",{class:"text-sm text-gray-600 h-20 overflow-y-auto",innerHTML:t.personality.description},null,8,Krt)])]),l("div",jrt,[l("div",Qrt,[l("button",{onClick:e[6]||(e[6]=(...a)=>r.toggleFavorite&&r.toggleFavorite(...a)),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:n.isFavorite?"Remove from favorites":"Add to favorites"},[(T(),x("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:n.isFavorite?"currentColor":"none",viewBox:"0 0 24 24",stroke:"currentColor"},eot,8,Zrt))],8,Xrt),i.isMounted?(T(),x("button",{key:0,onClick:e[7]||(e[7]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out",title:"Select"},not)):G("",!0),i.isMounted?(T(),x("button",{key:1,onClick:e[8]||(e[8]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),class:"text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Talk"},iot)):G("",!0),l("button",{onClick:e[9]||(e[9]=(...a)=>r.showFolder&&r.showFolder(...a)),class:"text-purple-500 hover:text-purple-600 transition duration-300 ease-in-out",title:"Show Folder"},oot),V(o,{commands:r.commandsList,force_position:2,title:"Menu",class:"text-gray-500 hover:text-gray-600 transition duration-300 ease-in-out"},null,8,["commands"])])]),i.thumbnailVisible?(T(),x("div",{key:0,style:Kt({top:i.thumbnailPosition.y+"px",left:i.thumbnailPosition.x+"px"}),class:"fixed z-50 w-20 h-20 rounded-full overflow-hidden"},[l("img",{src:r.getImgUrl(),class:"w-full h-full object-fill"},null,8,aot)],4)):G("",!0)],10,Frt)}const WE=ot(Prt,[["render",lot]]),cot={name:"DynamicUIRenderer",props:{ui:{type:String,required:!0},instanceId:{type:String,required:!0}},data(){return{containerId:`dynamic-ui-${this.instanceId}`}},watch:{ui:{immediate:!0,handler(n){console.log(`UI prop changed for instance ${this.instanceId}:`,n),this.$nextTick(()=>{this.renderContent()})}}},methods:{renderContent(){console.log(`Rendering content for instance ${this.instanceId}...`);const n=this.$refs.container,t=new DOMParser().parseFromString(this.ui,"text/html"),s=t.getElementsByTagName("style");Array.from(s).forEach(r=>{const o=document.createElement("style");o.textContent=this.scopeCSS(r.textContent),document.head.appendChild(o)}),n.innerHTML=t.body.innerHTML;const i=t.getElementsByTagName("script");Array.from(i).forEach(r=>{const o=document.createElement("script");o.textContent=r.textContent,n.appendChild(o)})},scopeCSS(n){return n.replace(/([^\r\n,{}]+)(,(?=[^}]*{)|\s*{)/g,`#${this.containerId} $1$2`)}}},dot=["id"];function uot(n,e,t,s,i,r){return T(),x("div",{id:i.containerId,ref:"container"},null,8,dot)}const UN=ot(cot,[["render",uot]]),pot="/",_ot={components:{DynamicUIRenderer:UN},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){Le(()=>{ze.replace()})},methods:{copyToClipBoard(n){console.log("Copying to clipboard :",n),navigator.clipboard.writeText(n)},getImgUrl(){return pot+this.binding.icon},defaultImg(n){n.target.src=mp},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleUnInstall(){this.onUnInstall(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(){Le(()=>{ze.replace()})}}},hot=["title"],fot={class:"flex flex-row items-center gap-3"},mot=["src"],got={class:"font-bold font-large text-lg truncate"},bot=l("div",{class:"grow"},null,-1),Eot={class:"flex-none gap-1"},yot=l("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),vot=l("span",{class:"sr-only"},"Help",-1),Sot=[yot,vot],Tot={class:"flex items-center flex-row-reverse gap-2 my-1"},xot=l("span",{class:"sr-only"},"Click to install",-1),Cot=l("span",{class:"sr-only"},"Reinstall",-1),wot=l("span",{class:"sr-only"},"UnInstall",-1),Rot=l("span",{class:"sr-only"},"Settings",-1),Aot={class:""},Not={class:""},Oot={class:"flex items-center"},Mot=l("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Iot=l("b",null,"Author: ",-1),kot={class:"flex items-center"},Dot=l("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Lot=l("b",null,"Folder: ",-1),Pot=l("div",{class:"grow"},null,-1),Fot=l("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Uot=[Fot],Bot={class:"flex items-center"},Got=l("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Vot=l("b",null,"Version: ",-1),zot={class:"flex items-center"},Hot=l("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),qot=l("b",null,"Link: ",-1),$ot=["href"],Yot=l("div",{class:"flex items-center"},[l("i",{"data-feather":"info",class:"w-5 m-1"}),l("b",null,"Description: "),l("br")],-1),Wot=["title","innerHTML"];function Kot(n,e,t,s,i,r){const o=tt("DynamicUIRenderer");return T(),x("div",{class:Ge(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",t.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[8]||(e[8]=j((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),title:t.binding.installed?t.binding.name:"Not installed"},[l("div",null,[l("div",fot,[l("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,mot),l("h3",got,K(t.binding.name),1),bot,l("div",Eot,[t.selected?(T(),x("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>r.toggleReloadBinding&&r.toggleReloadBinding(...a)),e[2]||(e[2]=j(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},Sot)):G("",!0)])]),l("div",Tot,[t.binding.installed?G("",!0):(T(),x("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=j((...a)=>r.toggleInstall&&r.toggleInstall(...a),["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"},[Je(" Install "),xot])),t.binding.installed?(T(),x("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=j((...a)=>r.toggleReinstall&&r.toggleReinstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-green-700 hover:bg-red-800 focus:ring-4 focus:ring-green-300 rounded-lg dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-red-900"},[Je(" Reinstall "),Cot])):G("",!0),t.binding.installed?(T(),x("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=j((...a)=>r.toggleUnInstall&&r.toggleUnInstall(...a),["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"},[Je(" Uninstall "),wot])):G("",!0),t.selected?(T(),x("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=j((...a)=>r.toggleSettings&&r.toggleSettings(...a),["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"},[Je(" Settings "),Rot])):G("",!0)]),t.binding.ui?(T(),dt(o,{key:0,class:"w-full h-full",code:t.binding.ui},null,8,["code"])):G("",!0),l("div",Aot,[l("div",Not,[l("div",Oot,[Mot,Iot,Je(" "+K(t.binding.author),1)]),l("div",kot,[Dot,Lot,Je(" "+K(t.binding.folder)+" ",1),Pot,l("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[7]||(e[7]=j(a=>r.copyToClipBoard(this.binding.folder),["stop"]))},Uot)]),l("div",Bot,[Got,Vot,Je(" "+K(t.binding.version),1)]),l("div",zot,[Hot,qot,l("a",{href:t.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},K(t.binding.link),9,$ot)])]),Yot,l("p",{class:"mx-1 opacity-80 line-clamp-3",title:t.binding.description,innerHTML:t.binding.description},null,8,Wot)])])],10,hot)}const jot=ot(_ot,[["render",Kot]]),Qot={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(n=>{this.resolve=n})},hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},showDialog(n){return new Promise(e=>{this.model_path=n,this.show=!0,this.resolve=e})}}},Xot={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Zot={class:"relative w-full max-w-md max-h-full"},Jot={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},eat=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),tat=l("span",{class:"sr-only"},"Close modal",-1),nat=[eat,tat],sat={class:"p-4 text-center"},iat=l("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"},[l("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),rat={class:"p-4 text-center mx-auto mb-4"},oat=l("label",{class:"mr-2"},"Model path",-1);function aat(n,e,t,s,i,r){return i.show?(T(),x("div",Xot,[l("div",Zot,[l("div",Jot,[l("button",{type:"button",onClick:e[0]||(e[0]=o=>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"},nat),l("div",sat,[iat,l("div",rat,[oat,P(l("input",{"onUpdate:modelValue":e[1]||(e[1]=o=>i.model_path=o),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[pe,i.model_path]])]),l("button",{onClick:e[2]||(e[2]=o=>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 "),l("button",{onClick:e[3]||(e[3]=o=>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")])])])])):G("",!0)}const lat=ot(Qot,[["render",aat]]);const cat={props:{show:{type:Boolean,default:!1},can_remove:{type:Boolean,default:!1},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null,showInput:!1,newFilename:""}},methods:{displayName(n){return typeof n=="string"?n:n&&n.name?n.name:""},selectChoice(n){this.selectedChoice=n,this.$emit("choice-selected",n)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated",this.selectedChoice)},formatSize(n){const e=["bytes","KB","MB","GB"];let t=0;for(;n>=1024&&t(Rs("data-v-f43216be"),n=n(),As(),n),dat={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-20"},uat={class:"bg-white dark:bg-gray-800 rounded-lg shadow-xl p-6 w-96 max-w-md"},pat={class:"text-2xl font-bold mb-4 text-gray-800 dark:text-white flex items-center"},_at=KE(()=>l("svg",{class:"w-6 h-6 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})],-1)),hat={class:"h-48 bg-gray-100 dark:bg-gray-700 rounded-lg mb-4 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-gray-200 dark:scrollbar-thumb-gray-600 dark:scrollbar-track-gray-800"},fat={class:"flex items-center justify-between"},mat={class:"flex-grow"},gat=["onClick"],bat=["onUpdate:modelValue","onBlur","onKeyup"],Eat={key:2,class:"text-xs text-gray-500 dark:text-gray-400 ml-2"},yat={class:"flex items-center"},vat=["onClick"],Sat=KE(()=>l("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1)),Tat=[Sat],xat=["onClick"],Cat=KE(()=>l("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),wat=[Cat],Rat={key:0,class:"flex flex-col mb-4"},Aat={class:"flex justify-between"},Nat=["disabled"];function Oat(n,e,t,s,i,r){return T(),dt(Hs,{name:"fade"},{default:Ie(()=>[t.show?(T(),x("div",dat,[l("div",uat,[l("h2",pat,[_at,Je(" "+K(t.title),1)]),l("div",hat,[l("ul",null,[(T(!0),x(Fe,null,Ke(t.choices,(o,a)=>(T(),x("li",{key:a,class:"py-2 px-4 hover:bg-gray-200 dark:hover:bg-gray-600 transition duration-150 ease-in-out"},[l("div",fat,[l("div",mat,[o.isEditing?P((T(),x("input",{key:1,"onUpdate:modelValue":c=>o.editName=c,onBlur:c=>r.finishEditing(o),onKeyup:Ks(c=>r.finishEditing(o),["enter"]),class:"bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded px-2 py-1 text-sm",autofocus:""},null,40,bat)),[[pe,o.editName]]):(T(),x("span",{key:0,onClick:c=>r.selectChoice(o),class:Ge([{"font-semibold":o===i.selectedChoice},"text-gray-800 dark:text-white cursor-pointer"])},K(r.displayName(o)),11,gat)),o.size?(T(),x("span",Eat,K(r.formatSize(o.size)),1)):G("",!0)]),l("div",yat,[l("button",{onClick:c=>r.editChoice(o),class:"text-blue-500 hover:text-blue-600 mr-2"},Tat,8,vat),t.can_remove?(T(),x("button",{key:0,onClick:c=>r.removeChoice(o,a),class:"text-red-500 hover:text-red-600"},wat,8,xat)):G("",!0)])])]))),128))])]),i.showInput?(T(),x("div",Rat,[P(l("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>i.newFilename=o),placeholder:"Enter a filename",class:"border border-gray-300 dark:border-gray-600 p-2 rounded-lg w-full mb-2 bg-white dark:bg-gray-700 text-gray-800 dark:text-white"},null,512),[[pe,i.newFilename]]),l("button",{onClick:e[1]||(e[1]=(...o)=>r.addNewFilename&&r.addNewFilename(...o)),class:"bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-lg transition duration-300"}," Add ")])):G("",!0),l("div",Aat,[l("button",{onClick:e[2]||(e[2]=(...o)=>r.closeDialog&&r.closeDialog(...o)),class:"bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded-lg transition duration-300"}," Cancel "),l("button",{onClick:e[3]||(e[3]=(...o)=>r.validateChoice&&r.validateChoice(...o)),disabled:!i.selectedChoice,class:Ge([{"bg-blue-500 hover:bg-blue-600":i.selectedChoice,"bg-gray-400 cursor-not-allowed":!i.selectedChoice},"text-white font-bold py-2 px-4 rounded-lg transition duration-300"])}," Validate ",10,Nat),l("button",{onClick:e[4]||(e[4]=(...o)=>r.toggleInput&&r.toggleInput(...o)),class:"bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-lg transition duration-300"}," Add New ")])])])):G("",!0)]),_:1})}const jE=ot(cat,[["render",Oat],["__scopeId","data-v-f43216be"]]),Mat={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:"0"}},data(){return{selectedValue:this.defaultValue}},computed:{selectedLabel(){const n=this.radioOptions.find(e=>e.value===this.selectedValue);return n?n.label:""}},watch:{selectedValue(n,e){this.$emit("radio-selected",n)}},methods:{handleRadioChange(){}}},Iat={class:"flex space-x-4"},kat=["value","aria-checked"],Dat={class:"text-gray-700"};function Lat(n,e,t,s,i,r){return T(),x("div",Iat,[(T(!0),x(Fe,null,Ke(t.radioOptions,(o,a)=>(T(),x("label",{key:o.value,class:"flex items-center space-x-2"},[P(l("input",{type:"radio",value:o.value,"onUpdate:modelValue":e[0]||(e[0]=c=>i.selectedValue=c),onChange:e[1]||(e[1]=(...c)=>r.handleRadioChange&&r.handleRadioChange(...c)),class:"text-blue-500 focus:ring-2 focus:ring-blue-200","aria-checked":i.selectedValue===o.value.toString(),role:"radio"},null,40,kat),[[bD,i.selectedValue]]),l("span",Dat,K(o.label),1)]))),128))])}const Pat=ot(Mat,[["render",Lat]]),Fat="/assets/gpu-df72bf63.svg",Uat={name:"StringListManager",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Enter an item"}},emits:["update:modelValue","change"],data(){return{newItem:"",draggingIndex:null}},methods:{addItem(){if(this.newItem.trim()){const n=[...this.modelValue,this.newItem.trim()];this.$emit("update:modelValue",n),this.$emit("change"),this.newItem=""}},removeItem(n){const e=this.modelValue.filter((t,s)=>s!==n);this.$emit("update:modelValue",e),this.$emit("change")},removeAll(){this.$emit("update:modelValue",[]),this.$emit("change")},startDragging(n){this.draggingIndex=n},dragItem(n){if(this.draggingIndex!==null){const e=[...this.modelValue],t=e.splice(this.draggingIndex,1)[0];e.splice(n,0,t),this.$emit("update:modelValue",e),this.$emit("change")}},stopDragging(){this.draggingIndex=null},moveUp(n){if(n>0){const e=[...this.modelValue],t=e.splice(n,1)[0];e.splice(n-1,0,t),this.$emit("update:modelValue",e),this.$emit("change")}},moveDown(n){if(ni.newItem=o),placeholder:t.placeholder,onKeyup:e[1]||(e[1]=Ks((...o)=>r.addItem&&r.addItem(...o),["enter"])),class:"flex-grow mr-4 px-4 py-2 border border-gray-300 rounded dark:bg-gray-600 text-lg"},null,40,Gat),[[pe,i.newItem]]),l("button",{onClick:e[2]||(e[2]=(...o)=>r.addItem&&r.addItem(...o)),class:"bg-blue-500 text-white px-6 py-2 rounded hover:bg-blue-600 text-lg"},"Add")]),t.modelValue.length>0?(T(),x("ul",Vat,[(T(!0),x(Fe,null,Ke(t.modelValue,(o,a)=>(T(),x("li",{key:a,class:Ge(["flex items-center mb-2 relative",{"bg-gray-200":i.draggingIndex===a}])},[l("span",zat,K(o),1),l("div",Hat,[l("button",{onClick:c=>r.removeItem(a),class:"text-red-500 hover:text-red-700 p-2"},Yat,8,qat),a>0?(T(),x("button",{key:0,onClick:c=>r.moveUp(a),class:"bg-gray-300 hover:bg-gray-400 p-2 rounded mr-2"},jat,8,Wat)):G("",!0),ar.moveDown(a),class:"bg-gray-300 hover:bg-gray-400 p-2 rounded"},Zat,8,Qat)):G("",!0)]),i.draggingIndex===a?(T(),x("div",{key:0,class:"absolute top-0 left-0 w-full h-full bg-gray-200 opacity-50 cursor-move",onMousedown:c=>r.startDragging(a),onMousemove:c=>r.dragItem(a),onMouseup:e[3]||(e[3]=(...c)=>r.stopDragging&&r.stopDragging(...c))},null,40,Jat)):G("",!0)],2))),128))])):G("",!0),t.modelValue.length>0?(T(),x("div",elt,[l("button",{onClick:e[4]||(e[4]=(...o)=>r.removeAll&&r.removeAll(...o)),class:"bg-red-500 text-white px-6 py-2 rounded hover:bg-red-600 text-lg"},"Remove All")])):G("",!0)])}const nlt=ot(Uat,[["render",tlt]]);const slt="/";re.defaults.baseURL="/";const ilt={components:{AddModelDialog:lat,ModelEntry:brt,PersonalityViewer:Drt,PersonalityEntry:WE,BindingEntry:jot,ChoiceDialog:jE,Card:_p,StringListManager:nlt,RadioOptions:Pat},data(){return{posts_headers:{accept:"application/json","Content-Type":"application/json"},defaultModelImgPlaceholder:Us,snd_input_devices:[],snd_input_devices_indexes:[],snd_output_devices:[],snd_output_devices_indexes:[],voices:[],voice_languages:{Arabic:"ar","Brazilian Portuguese":"pt",Chinese:"zh-cn",Czech:"cs",Dutch:"nl",English:"en",French:"fr",German:"de",Italian:"it",Polish:"pl",Russian:"ru",Spanish:"es",Turkish:"tr",Japanese:"ja",Korean:"ko",Hungarian:"hu",Hindi:"hi"},storeLogo:$s,binding_changed:!1,SVGGPU:Fat,models_zoo:[],models_zoo_initialLoadCount:10,models_zoo_loadMoreCount:5,models_zoo_loadedEntries:[],models_zoo_scrollThreshold:200,sortOptions:[{label:"Sort by Date",value:0},{label:"Sort by Rank",value:1},{label:"Sort by Name",value:2},{label:"Sort by Maker",value:3},{label:"Sort by Quantizer",value:4}],comfyui_models:[],show_only_installed_models:!1,reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,data_conf_collapsed:!0,internet_conf_collapsed:!0,servers_conf_collapsed:!0,mainconf_collapsed:!0,smartrouterconf_collapsed:!0,bec_collapsed:!0,sort_type:0,is_loading_zoo:!1,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,ezl_collapsed:!1,bzl_collapsed:!1,extCatgArr:[],persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:slt,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){try{this.$store.state.loading_infos="Getting Hardware usage",await this.refreshHardwareUsage(this.$store)}catch(n){console.log("Error cought:",n)}qe.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{fetchElevenLabsVoices(){fetch("https://api.elevenlabs.io/v1/voices").then(n=>n.json()).then(n=>{this.voices=n.voices}).catch(n=>console.error("Error fetching voices:",n))},async refreshHardwareUsage(n){await n.dispatch("refreshDiskUsage"),await n.dispatch("refreshRamUsage"),await n.dispatch("refreshVramUsage")},addDataSource(){this.$store.state.config.rag_databases.push(""),this.settingsChanged=!0},removeDataSource(n){this.$store.state.config.rag_databases.splice(n,1),this.settingsChanged=!0},async vectorize_folder(n){await re.post("/vectorize_folder",{client_id:this.$store.state.client_id,db_path:this.$store.state.config.rag_databases[n]},this.posts_headers)},async select_folder(n){try{qe.on("rag_db_added",e=>{console.log(e),e?(this.$store.state.config.rag_databases[n]=`${e.database_name}::${e.database_path}`,this.settingsChanged=!0):this.$store.state.toast.showToast("Failed to select a folder",4,!1)}),await re.post("/add_rag_database",{client_id:this.$store.state.client_id},this.posts_headers)}catch{this.$store.state.toast.showToast("Failed to select a folder",4,!1)}},handleTemplateSelection(n){console.log("handleTemplateSelection");const e=n.target.value;console.log("handleTemplateSelection: ",e),e==="lollms"?(console.log("Using lollms template"),this.configFile.start_header_id_template="!@>",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=` +`];let a=-1;return o.forEach(c=>{const d=r.lastIndexOf(c);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+i+1},s=()=>{const i=t(n),r=this.text.substring(n,i);this.msg.text=r,n=i+1,this.msg.onend=o=>{n{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",i))},this.speechSynthesis.speak(this.msg)};s()},getCursorPosition(){return this.$refs.mdTextarea.selectionStart},appendToOutput(n){this.pre_text+=n,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let n=this.text.indexOf("@@");if(n<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,n)+this.text.substring(n+26,this.text.length),this.pre_text=this.text.substring(0,n),this.post_text=this.text.substring(n,this.text.length);var e=this.text.substring(0,n);console.log(e),qe.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},async tokenize_text(){const n=await re.post("/lollms_tokenize",{prompt:this.text},{headers:this.posts_headers});console.log(n.data.named_tokens),this.namedTokens=n.data.named_tokens},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var n=this.text.substring(0,this.getCursorPosition());console.log(this.text),console.log(`cursor position :${this.getCursorPosition()}`),console.log(`pretext:${this.pre_text}`),console.log(`post_text:${this.post_text}`),console.log(`prompt:${n}`),qe.emit("generate_text",{prompt:n,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){qe.emit("cancel_text_generation",{})},exportText(){const n=this.text,e=document.createElement("a"),t=new Blob([n],{type:"text/plain"});e.href=URL.createObjectURL(t),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const n=document.getElementById("import-input");n&&(n.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const t=new FileReader;t.onload=()=>{this.text=t.result},t.readAsText(e.target.files[0])}else alert("Please select a file.")}),n.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=Btt(this.selectedPreset.content,n=>{console.log("Done"),console.log(n),this.text=n})},addPreset(){let n=prompt("Enter the title of the preset:");this.presets[n]={client_id:this.$store.state.client_id,name:n,content:this.text},re.post("./add_preset",this.presets[n]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){re.get("./get_presets").then(n=>{console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)})},startRecording(){this.pending=!0,this.is_recording?re.post("/stop_recording",{client_id:this.$store.state.client_id}).then(n=>{this.is_recording=!1,this.pending=!1,console.log(n),this.text+=n.data,console.log("text"),console.log(this.text),console.log(n.data),this.presets=n.data,this.selectedPreset=this.presets[0]}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)}):re.post("/start_recording",{client_id:this.$store.state.client_id}).then(n=>{this.is_recording=!0,this.pending=!1,console.log(n.data)}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)})},startRecordingAndTranscribing(){this.pending=!0,this.is_deaf_transcribing?re.get("/stop_recording").then(n=>{this.is_deaf_transcribing=!1,this.pending=!1,this.text=n.data.text,this.read()}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)}):re.get("/start_recording").then(n=>{this.is_deaf_transcribing=!0,this.pending=!1}).catch(n=>{this.$refs.toast.showToast(`Error: ${n}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=n=>{this.generated="";for(let e=n.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},Vtt={class:"container w-full background-color shadow-lg 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"},ztt={class:"container flex flex-row m-2 w-full"},Htt={class:"flex-grow w-full m-2"},qtt={class:"flex panels-color gap-3 flex-1 items-center flex-grow flex-row rounded-md border-2 border-blue-300 m-2 p-4"},$tt={class:"flex items-center space-x-2"},Ytt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1),Wtt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"})],-1),Ktt=["src"],jtt=l("span",{class:"w-80"},null,-1),Qtt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),Xtt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1),Ztt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1),Jtt=["src"],ent=["src"],tnt=["src"],nnt=["src"],snt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1),int={key:1,class:"w-6 h-6"},rnt=l("svg",{class:"animate-spin h-5 w-5 text-secondary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),ont=[rnt],ant=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1),lnt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1),cnt=l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1),dnt={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},unt=l("input",{type:"file",id:"import-input",class:"hidden"},null,-1),pnt={key:0},_nt=["src"],hnt={key:2},fnt={key:0,class:"settings scrollbar bg-white dark:bg-gray-800 rounded-lg shadow-md p-6"},mnt=l("h2",{class:"text-2xl font-bold text-gray-900 dark:text-white mb-4"},"Settings",-1),gnt=["value"],bnt={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},Ent=l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Selecting model...")],-1),ynt=[Ent],vnt=["value"],Snt=l("br",null,null,-1),Tnt=l("i",{"data-feather":"check"},null,-1),xnt=[Tnt],Cnt=l("i",{"data-feather":"plus"},null,-1),wnt=[Cnt],Rnt=l("i",{"data-feather":"x"},null,-1),Ant=[Rnt],Nnt=l("i",{"data-feather":"refresh-ccw"},null,-1),Ont=[Nnt],Int={class:"slider-container ml-2 mr-2"},Mnt=l("h3",{class:"text-gray-600"},"Temperature",-1),knt={class:"slider-value text-gray-500"},Dnt={class:"slider-container ml-2 mr-2"},Lnt=l("h3",{class:"text-gray-600"},"Top K",-1),Pnt={class:"slider-value text-gray-500"},Fnt={class:"slider-container ml-2 mr-2"},Unt=l("h3",{class:"text-gray-600"},"Top P",-1),Bnt={class:"slider-value text-gray-500"},Gnt={class:"slider-container ml-2 mr-2"},Vnt=l("h3",{class:"text-gray-600"},"Repeat Penalty",-1),znt={class:"slider-value text-gray-500"},Hnt={class:"slider-container ml-2 mr-2"},qnt=l("h3",{class:"text-gray-600"},"Repeat Last N",-1),$nt={class:"slider-value text-gray-500"},Ynt={class:"slider-container ml-2 mr-2"},Wnt=l("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1),Knt={class:"slider-value text-gray-500"},jnt={class:"slider-container ml-2 mr-2"},Qnt=l("h3",{class:"text-gray-600"},"Number of tokens to generate",-1),Xnt={class:"slider-value text-gray-500"},Znt={class:"slider-container ml-2 mr-2"},Jnt=l("h3",{class:"text-gray-600"},"Seed",-1),est={class:"slider-value text-gray-500"};function tst(n,e,t,s,i,r){const o=tt("ChatBarButton"),a=tt("ToolbarButton"),c=tt("DropdownSubmenu"),d=tt("DropdownMenu"),u=tt("tokens-hilighter"),h=tt("MarkdownRenderer"),f=tt("Card"),m=tt("Toast");return T(),C(Ge,null,[l("div",Vtt,[l("div",ztt,[l("div",Htt,[l("div",qtt,[l("div",$tt,[P(V(o,{onClick:r.generate,title:"Generate from the current cursor position"},{icon:Me(()=>[Ytt]),_:1},8,["onClick"]),[[wt,!i.generating]]),P(V(o,{onClick:r.generate_in_placeholder,title:"Generate from the next placeholder"},{icon:Me(()=>[Wtt]),_:1},8,["onClick"]),[[wt,!i.generating]]),P(V(o,{onClick:r.tokenize_text,title:"Tokenize the text"},{icon:Me(()=>[l("img",{src:i.tokenize_icon,alt:"Tokenize",class:"h-5 w-5"},null,8,Ktt)]),_:1},8,["onClick"]),[[wt,!i.generating]]),jtt,P(V(o,{onClick:r.stopGeneration,title:"Stop generation"},{icon:Me(()=>[Qtt]),_:1},8,["onClick"]),[[wt,i.generating]]),V(o,{onClick:r.startSpeechRecognition,class:Be({"text-red-500":n.isListeningToVoice}),title:"Dictate (using your browser's transcription)"},{icon:Me(()=>[Xtt]),_:1},8,["onClick","class"]),V(o,{onClick:r.speak,class:Be({"text-red-500":r.isTalking}),title:"Convert text to audio (not saved, uses your browser's TTS service)"},{icon:Me(()=>[Je(" 🪶 ")]),_:1},8,["onClick","class"]),V(o,{onClick:r.triggerFileUpload,title:"Upload a voice"},{icon:Me(()=>[Ztt]),_:1},8,["onClick"]),V(o,{onClick:r.startRecordingAndTranscribing,class:Be({"text-green-500":i.isLesteningToVoice}),title:"Start audio to audio"},{icon:Me(()=>[i.pending?(T(),C("img",{key:1,src:i.loading_icon,alt:"Loading",class:"h-5 w-5"},null,8,ent)):(T(),C("img",{key:0,src:i.is_deaf_transcribing?i.deaf_on:i.deaf_off,alt:"Deaf",class:"h-5 w-5"},null,8,Jtt))]),_:1},8,["onClick","class"]),V(o,{onClick:r.startRecording,class:Be({"text-green-500":i.isLesteningToVoice}),title:"Start audio recording"},{icon:Me(()=>[i.pending?(T(),C("img",{key:1,src:i.loading_icon,alt:"Loading",class:"h-5 w-5"},null,8,nnt)):(T(),C("img",{key:0,src:i.is_recording?i.rec_on:i.rec_off,alt:"Record",class:"h-5 w-5"},null,8,tnt))]),_:1},8,["onClick","class"]),i.isSynthesizingVoice?(T(),C("div",int,ont)):(T(),dt(o,{key:0,onClick:r.read,title:"Generate audio from text"},{icon:Me(()=>[snt]),_:1},8,["onClick"])),P(V(o,{onClick:r.exportText,title:"Export text"},{icon:Me(()=>[ant]),_:1},8,["onClick"]),[[wt,!i.generating]]),P(V(o,{onClick:r.importText,title:"Import text"},{icon:Me(()=>[lnt]),_:1},8,["onClick"]),[[wt,!i.generating]]),V(o,{onClick:e[0]||(e[0]=_=>i.showSettings=!i.showSettings),title:"Settings"},{icon:Me(()=>[cnt]),_:1})]),l("input",{type:"file",ref:"fileInput",onChange:e[1]||(e[1]=(..._)=>r.handleFileUpload&&r.handleFileUpload(..._)),style:{display:"none"},accept:".wav"},null,544),l("div",dnt,[l("button",{class:Be(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":i.tab_id=="source"}]),onClick:e[2]||(e[2]=_=>i.tab_id="source")}," Source ",2),l("button",{class:Be(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":i.tab_id=="render"}]),onClick:e[3]||(e[3]=_=>i.tab_id="render")}," Render ",2)]),unt]),l("div",{class:Be(["flex-grow m-2 p-2 border panels-color border-blue-300 rounded-md",{"border-red-500":i.generating}])},[i.tab_id==="source"?(T(),C("div",pnt,[V(d,{title:"Add Block"},{default:Me(()=>[V(c,{title:"Programming Languages",icon:"code"},{default:Me(()=>[V(a,{onClick:e[4]||(e[4]=j(_=>r.addBlock("python"),["stop"])),title:"Python",icon:"python"}),V(a,{onClick:e[5]||(e[5]=j(_=>r.addBlock("javascript"),["stop"])),title:"JavaScript",icon:"js"}),V(a,{onClick:e[6]||(e[6]=j(_=>r.addBlock("typescript"),["stop"])),title:"TypeScript",icon:"typescript"}),V(a,{onClick:e[7]||(e[7]=j(_=>r.addBlock("java"),["stop"])),title:"Java",icon:"java"}),V(a,{onClick:e[8]||(e[8]=j(_=>r.addBlock("c++"),["stop"])),title:"C++",icon:"cplusplus"}),V(a,{onClick:e[9]||(e[9]=j(_=>r.addBlock("csharp"),["stop"])),title:"C#",icon:"csharp"}),V(a,{onClick:e[10]||(e[10]=j(_=>r.addBlock("go"),["stop"])),title:"Go",icon:"go"}),V(a,{onClick:e[11]||(e[11]=j(_=>r.addBlock("rust"),["stop"])),title:"Rust",icon:"rust"}),V(a,{onClick:e[12]||(e[12]=j(_=>r.addBlock("swift"),["stop"])),title:"Swift",icon:"swift"}),V(a,{onClick:e[13]||(e[13]=j(_=>r.addBlock("kotlin"),["stop"])),title:"Kotlin",icon:"kotlin"}),V(a,{onClick:e[14]||(e[14]=j(_=>r.addBlock("r"),["stop"])),title:"R",icon:"r-project"})]),_:1}),V(c,{title:"Web Technologies",icon:"web"},{default:Me(()=>[V(a,{onClick:e[15]||(e[15]=j(_=>r.addBlock("html"),["stop"])),title:"HTML",icon:"html5"}),V(a,{onClick:e[16]||(e[16]=j(_=>r.addBlock("css"),["stop"])),title:"CSS",icon:"css3"}),V(a,{onClick:e[17]||(e[17]=j(_=>r.addBlock("vue"),["stop"])),title:"Vue.js",icon:"vuejs"}),V(a,{onClick:e[18]||(e[18]=j(_=>r.addBlock("react"),["stop"])),title:"React",icon:"react"}),V(a,{onClick:e[19]||(e[19]=j(_=>r.addBlock("angular"),["stop"])),title:"Angular",icon:"angular"})]),_:1}),V(c,{title:"Markup and Data",icon:"file-code"},{default:Me(()=>[V(a,{onClick:e[20]||(e[20]=j(_=>r.addBlock("xml"),["stop"])),title:"XML",icon:"xml"}),V(a,{onClick:e[21]||(e[21]=j(_=>r.addBlock("json"),["stop"])),title:"JSON",icon:"json"}),V(a,{onClick:e[22]||(e[22]=j(_=>r.addBlock("yaml"),["stop"])),title:"YAML",icon:"yaml"}),V(a,{onClick:e[23]||(e[23]=j(_=>r.addBlock("markdown"),["stop"])),title:"Markdown",icon:"markdown"}),V(a,{onClick:e[24]||(e[24]=j(_=>r.addBlock("latex"),["stop"])),title:"LaTeX",icon:"latex"})]),_:1}),V(c,{title:"Scripting and Shell",icon:"terminal"},{default:Me(()=>[V(a,{onClick:e[25]||(e[25]=j(_=>r.addBlock("bash"),["stop"])),title:"Bash",icon:"bash"}),V(a,{onClick:e[26]||(e[26]=j(_=>r.addBlock("powershell"),["stop"])),title:"PowerShell",icon:"powershell"}),V(a,{onClick:e[27]||(e[27]=j(_=>r.addBlock("perl"),["stop"])),title:"Perl",icon:"perl"})]),_:1}),V(c,{title:"Diagramming",icon:"sitemap"},{default:Me(()=>[V(a,{onClick:e[28]||(e[28]=j(_=>r.addBlock("mermaid"),["stop"])),title:"Mermaid",icon:"mermaid"}),V(a,{onClick:e[29]||(e[29]=j(_=>r.addBlock("graphviz"),["stop"])),title:"Graphviz",icon:"graphviz"}),V(a,{onClick:e[30]||(e[30]=j(_=>r.addBlock("plantuml"),["stop"])),title:"PlantUML",icon:"plantuml"})]),_:1}),V(c,{title:"Database",icon:"database"},{default:Me(()=>[V(a,{onClick:e[31]||(e[31]=j(_=>r.addBlock("sql"),["stop"])),title:"SQL",icon:"sql"}),V(a,{onClick:e[32]||(e[32]=j(_=>r.addBlock("mongodb"),["stop"])),title:"MongoDB",icon:"mongodb"})]),_:1}),V(a,{onClick:e[33]||(e[33]=j(_=>r.addBlock(""),["stop"])),title:"Generic Block",icon:"code"})]),_:1}),V(a,{onClick:e[34]||(e[34]=j(_=>n.copyContentToClipboard(),["stop"])),title:"Copy message to clipboard",icon:"copy"}),P(l("textarea",{ref:"mdTextarea",onKeydown:e[35]||(e[35]=Ks(j((..._)=>r.insertTab&&r.insertTab(..._),["prevent"]),["tab"])),class:"block min-h-500 p-2.5 w-full 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 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll dark:bg-bg-dark 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",rows:4,style:jt({minHeight:i.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[36]||(e[36]=_=>i.text=_),onClick:e[37]||(e[37]=j((..._)=>r.mdTextarea_clicked&&r.mdTextarea_clicked(..._),["prevent"])),onChange:e[38]||(e[38]=j((..._)=>r.mdTextarea_changed&&r.mdTextarea_changed(..._),["prevent"]))},`\r + `,36),[[pe,i.text]]),l("span",null,"Cursor position "+K(i.cursorPosition),1)])):G("",!0),i.audio_url!=null?(T(),C("audio",{controls:"",key:i.audio_url},[l("source",{src:i.audio_url,type:"audio/wav",ref:"audio_player"},null,8,_nt),Je(" Your browser does not support the audio element. ")])):G("",!0),V(u,{namedTokens:i.namedTokens},null,8,["namedTokens"]),i.tab_id==="render"?(T(),C("div",hnt,[V(h,{ref:"mdRender",client_id:this.$store.state.client_id,message_id:0,discussion_id:0,"markdown-text":i.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["client_id","markdown-text"])])):G("",!0)],2)]),i.showSettings?(T(),C("div",fnt,[mnt,V(f,{title:"Model",class:"slider-container ml-0 mr-0",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[P(l("select",{"onUpdate:modelValue":e[39]||(e[39]=_=>this.$store.state.selectedModel=_),onChange:e[40]||(e[40]=(..._)=>r.setModel&&r.setModel(..._)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(T(!0),C(Ge,null,Xe(r.models,_=>(T(),C("option",{key:_,value:_},K(_),9,gnt))),128))],544),[[Dt,this.$store.state.selectedModel]]),i.selecting_model?(T(),C("div",bnt,ynt)):G("",!0)]),_:1}),V(f,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[P(l("select",{"onUpdate:modelValue":e[41]||(e[41]=_=>i.selectedPreset=_),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(T(!0),C(Ge,null,Xe(i.presets,_=>(T(),C("option",{key:_,value:_},K(_.name),9,vnt))),128))],512),[[Dt,i.selectedPreset]]),Snt,l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[42]||(e[42]=(..._)=>r.setPreset&&r.setPreset(..._)),title:"Use preset"},xnt),l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[43]||(e[43]=(..._)=>r.addPreset&&r.addPreset(..._)),title:"Add this text as a preset"},wnt),l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[44]||(e[44]=(..._)=>r.removePreset&&r.removePreset(..._)),title:"Remove preset"},Ant),l("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[45]||(e[45]=(..._)=>r.reloadPresets&&r.reloadPresets(..._)),title:"Reload presets list"},Ont)]),_:1}),V(f,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[l("div",Int,[Mnt,P(l("input",{type:"range","onUpdate:modelValue":e[46]||(e[46]=_=>i.temperature=_),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[pe,i.temperature]]),l("span",knt,"Current value: "+K(i.temperature),1)]),l("div",Dnt,[Lnt,P(l("input",{type:"range","onUpdate:modelValue":e[47]||(e[47]=_=>i.top_k=_),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[pe,i.top_k]]),l("span",Pnt,"Current value: "+K(i.top_k),1)]),l("div",Fnt,[Unt,P(l("input",{type:"range","onUpdate:modelValue":e[48]||(e[48]=_=>i.top_p=_),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[pe,i.top_p]]),l("span",Bnt,"Current value: "+K(i.top_p),1)]),l("div",Gnt,[Vnt,P(l("input",{type:"range","onUpdate:modelValue":e[49]||(e[49]=_=>i.repeat_penalty=_),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.repeat_penalty]]),l("span",znt,"Current value: "+K(i.repeat_penalty),1)]),l("div",Hnt,[qnt,P(l("input",{type:"range","onUpdate:modelValue":e[50]||(e[50]=_=>i.repeat_last_n=_),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.repeat_last_n]]),l("span",$nt,"Current value: "+K(i.repeat_last_n),1)]),l("div",Ynt,[Wnt,P(l("input",{type:"number","onUpdate:modelValue":e[51]||(e[51]=_=>i.n_crop=_),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.n_crop]]),l("span",Knt,"Current value: "+K(i.n_crop),1)]),l("div",jnt,[Qnt,P(l("input",{type:"number","onUpdate:modelValue":e[52]||(e[52]=_=>i.n_predicts=_),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.n_predicts]]),l("span",Xnt,"Current value: "+K(i.n_predicts),1)]),l("div",Znt,[Jnt,P(l("input",{type:"number","onUpdate:modelValue":e[53]||(e[53]=_=>i.seed=_),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[pe,i.seed]]),l("span",est,"Current value: "+K(i.seed),1)])]),_:1})])):G("",!0)])]),V(m,{ref:"toast"},null,512)],64)}const nst=ot(Gtt,[["render",tst]]);const sst={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(wI(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(n){this.activeExtension=n}}},ist={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark 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"},rst={key:0},ost=["onClick"],ast={key:0},lst=["src"],cst={key:1},dst=l("p",null,"No extension is active. Please install and activate an extension.",-1),ust=[dst];function pst(n,e,t,s,i,r){return T(),C("div",ist,[r.activeExtensions.length>0?(T(),C("div",rst,[(T(!0),C(Ge,null,Xe(r.activeExtensions,o=>(T(),C("div",{key:o.name,onClick:a=>r.showExtensionPage(o)},[l("div",{class:Be({"active-tab":o===i.activeExtension})},K(o.name),3)],8,ost))),128)),i.activeExtension?(T(),C("div",ast,[l("iframe",{src:i.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,lst)])):G("",!0)])):(T(),C("div",cst,ust))])}const _st=ot(sst,[["render",pst]]),hst={name:"HelpView"},fst={class:"help-view"},mst=mo("

Bienvenue dans l'aide de Lollms

**Lollms** (**L**ord **o**f **L**arge **L**anguage and **M**ultimodal **S**ystems), prononcé "lahms", est un outil puissant qui vous permet d'interagir avec une variété de modèles de langage et multimodaux. Il a été créé par **ParisNeo**, un expert en IA et en robotique passionné de programmation depuis son enfance, dans le but de rendre les modèles d'IA accessibles à tous, gratuitement. Son slogan : **"Un outil pour tous les gouverner"**. [1, 2]

Composants clés de Lollms

  • Liaisons : Essentiellement du code Python, les liaisons sont des modules intermédiaires permettant à Lollms d'interagir avec différents modèles d'IA. Elles agissent comme des ponts entre l'interface utilisateur de Lollms et les bibliothèques logicielles qui exécutent ces modèles. [3-5]
  • Services : Lollms s'appuie sur des services supplémentaires créés par des développeurs tiers. Ces services, souvent open source, étendent les fonctionnalités de Lollms. Parmi eux, on trouve : [6]
    • **Services LLM :** tels qu'ollama et vllm, dédiés à la génération de texte.
    • **Génération d'images :** comme Stable Diffusion, pour créer des images à partir de descriptions textuelles.
    • **Synthèse vocale :** comme Xtts, permettant de convertir du texte en parole.
  • Modèles : Au cœur de Lollms se trouvent les modèles de langage. Ces modèles, formés sur d'énormes ensembles de données textuelles, sont capables de : [6-8]
    • Générer du texte cohérent et contextuel.
    • Traduire des langues avec une précision remarquable.
    • Produire différents types de contenu créatif, tels que des poèmes, du code et des scripts.
    • Fournir des réponses informatives à vos questions.
    La taille d'un modèle est un facteur déterminant de ses performances : plus le modèle est grand (c'est-à-dire plus il possède de paramètres), plus ses capacités sont généralement avancées. [8, 9]
  • Personnalités : Donnez vie à Lollms grâce aux personnalités. Ces agents virtuels, dotés de caractéristiques et de styles de communication uniques, sont créés par le biais de deux méthodes principales : [10, 11]
    • **Conditionnement de texte :** On fournit au modèle des exemples de conversations représentatifs de la personnalité souhaitée, l'entraînant à imiter ce style.
    • **Code Python personnalisé :** Des scripts Python permettent de définir des comportements plus complexes et d'intégrer des fonctionnalités spécifiques à une personnalité.
    Avec plus de 250 personnalités disponibles, couvrant des domaines allant de la science à la fiction, vous trouverez forcément celle qui correspond à vos besoins. [10, 12, 13]

Fonctionnalités de Lollms

Lollms offre un éventail impressionnant de fonctionnalités :

  • **Génération de texte :** Écrivez des histoires, des articles, des poèmes et plus encore.
  • **Traduction linguistique :** Brisez les barrières linguistiques en traduisant du texte dans différentes langues.
  • **Écriture créative :** Explorez votre côté artistique en générant des scripts, des poèmes et des paroles de chansons.
  • **Réponse aux questions :** Obtenez des réponses à vos questions en puisant dans les connaissances des modèles de langage.
  • **Génération d'images :** Créez des images uniques à partir de descriptions textuelles.
  • **Synthèse vocale :** Donnez une voix à vos textes grâce à la synthèse vocale.
  • **Exécution de code :** Générez et exécutez du code dans différents langages de programmation.
  • **Intégration Web :** Intégrez Lollms à vos projets web pour des fonctionnalités dynamiques.
  • **Et bien plus encore! :** Lollms est en constante évolution, avec de nouvelles fonctionnalités ajoutées régulièrement.
",7),gst=[mst];function bst(n,e,t,s,i,r){return T(),C("div",fst,gst)}const Est=ot(hst,[["render",bst]]);function ci(n,e=!0,t=1){const s=e?1e3:1024;if(Math.abs(n)=s&&r{ze.replace()})},executeCommand(n){this.isMenuOpen=!1,console.log("Selected"),console.log(n.value),typeof n.value=="function"&&(console.log("Command detected",n),n.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(n))},positionMenu(){var n;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),t=window.innerHeight;n=e.bottom>t/2}else this.force_position==1?n=!0:n=!1;this.menuPosition.top=n?"auto":"calc(100% + 10px)",this.menuPosition.bottom=n?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),Le(()=>{ze.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},vst={class:"menu-container"},Sst=["title"],Tst=["src"],xst=["data-feather"],Cst={key:2,class:"w-5 h-5"},wst={key:3,"data-feather":"menu"},Rst={class:"flex-grow menu-ul"},Ast=["onClick"],Nst={key:0,"data-feather":"check"},Ost=["src","alt"],Ist=["data-feather"],Mst={key:3,class:"menu-icon"};function kst(n,e,t,s,i,r){return T(),C("div",vst,[l("button",{onClick:e[0]||(e[0]=j((...o)=>r.toggleMenu&&r.toggleMenu(...o),["prevent"])),title:t.title,class:Be([t.menuIconClass,"menu-button m-0 p-0 bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer"]),ref:"menuButton"},[t.icon&&!t.icon.includes("#")&&!t.icon.includes("feather")?(T(),C("img",{key:0,src:t.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,Tst)):t.icon&&t.icon.includes("feather")?(T(),C("i",{key:1,"data-feather":t.icon.split(":")[1],class:"w-5 h-5"},null,8,xst)):t.icon&&t.icon.includes("#")?(T(),C("p",Cst,K(t.icon.split("#")[1]),1)):(T(),C("i",wst))],10,Sst),V(Hs,{name:"slide"},{default:Me(()=>[i.isMenuOpen?(T(),C("div",{key:0,class:"menu-list flex-grow",style:jt(i.menuPosition),ref:"menu"},[l("ul",Rst,[(T(!0),C(Ge,null,Xe(t.commands,(o,a)=>(T(),C("li",{key:a,onClick:j(c=>r.executeCommand(o),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[t.selected_entry==o.name?(T(),C("i",Nst)):o.icon&&!o.icon.includes("feather")&&!o.is_file?(T(),C("img",{key:1,src:o.icon,alt:o.name,class:"menu-icon"},null,8,Ost)):G("",!0),o.icon&&o.icon.includes("feather")&&!o.is_file?(T(),C("i",{key:2,"data-feather":o.icon.split(":")[1],class:"mr-2"},null,8,Ist)):(T(),C("span",Mst)),l("span",null,K(o.name),1)],8,Ast))),128))])],4)):G("",!0)]),_:1})])}const YE=ot(yst,[["render",kst]]),Dst={components:{InteractiveMenu:YE},props:{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(){Le(()=>{ze.replace()})},methods:{formatFileSize(n){return n<1024?n+" bytes":n<1024*1024?(n/1024).toFixed(2)+" KB":n<1024*1024*1024?(n/(1024*1024)).toFixed(2)+" MB":(n/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(n){return ci(n)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?Us:this.model.icon},defaultImg(n){n.target.src=Us},install(){this.onInstall(this)},uninstall(){this.isInstalled&&this.onUninstall(this)},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(n){if(console.log("event.target.tagName.toLowerCase()"),console.log(n.target.tagName.toLowerCase()),n.target.tagName.toLowerCase()==="button"||n.target.tagName.toLowerCase()==="svg"){n.stopPropagation();return}this.onSelected(this),this.model.selected=!0,Le(()=>{ze.replace()})},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this),this.installing=!1},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){this.$emit("copy","this.message.content")}},computed:{computed_classes(){return this.model.isInstalled?this.selected?"border-4 border-gray-200 bg-primary cursor-pointer":"border-0 border-primary bg-primary cursor-pointer":"border-transparent"},commandsList(){let n=[{name:this.model.isInstalled?"Install Extra":"Install",icon:"feather:settings",is_file:!1,value:this.install},{name:"Copy model info to clipboard",icon:"feather:settings",is_file:!1,value:this.toggleCopy}];return this.model.isInstalled&&n.push({name:"UnInstall",icon:"feather:settings",is_file:!1,value:this.uninstall}),this.selected&&n.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),n},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const n=this.model.variants[0].size;return this.formatFileSize(n)}return null}},speed_computed(){return ci(this.speed)},total_size_computed(){return ci(this.total_size)},downloaded_size_computed(){return ci(this.downloaded_size)}},watch:{linkNotValid(){Le(()=>{ze.replace()})}}},Lst=["title"],Pst={key:0,class:"flex flex-row"},Fst={class:"max-w-[300px] overflow-x-auto"},Ust={class:"flex gap-3 items-center grow"},Bst=["href"],Gst=["src"],Vst={class:"flex-1 overflow-hidden"},zst={class:"font-bold font-large text-lg truncate"},Hst={key:1,class:"flex items-center flex-row gap-2 my-1"},qst={class:"flex grow items-center"},$st=l("i",{"data-feather":"box",class:"w-5"},null,-1),Yst=l("span",{class:"sr-only"},"Custom model / local model",-1),Wst=[$st,Yst],Kst=l("span",{class:"sr-only"},"Remove",-1),jst={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"},Qst={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Xst=l("div",{role:"status",class:"justify-center"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1),Zst={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Jst={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},eit={class:"flex justify-between mb-1"},tit=l("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),nit={class:"text-sm font-medium text-blue-700 dark:text-white"},sit={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},iit={class:"flex justify-between mb-1"},rit={class:"text-base font-medium text-blue-700 dark:text-white"},oit={class:"text-sm font-medium text-blue-700 dark:text-white"},ait={class:"flex flex-grow"},lit={class:"flex flex-row flex-grow gap-3"},cit={class:"p-2 text-center grow"},dit={key:3},uit={class:"flex flex-row items-center gap-3"},pit=["src"],_it={class:"font-bold font-large text-lg truncate"},hit=l("div",{class:"grow"},null,-1),fit={class:"flex items-center flex-row-reverse gap-2 my-1"},mit={class:"flex flex-row items-center"},git={key:0,class:"text-base text-red-600 flex items-center mt-1"},bit=l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),Eit=["title"],yit={class:""},vit={class:"flex flex-row items-center"},Sit=l("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),Tit=l("b",null,"Card: ",-1),xit=["href","title"],Cit=l("div",{class:"grow"},null,-1),wit=l("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Rit=[wit],Ait={class:"flex items-center"},Nit=l("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Oit=l("b",null,"File size: ",-1),Iit={class:"flex items-center"},Mit=l("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),kit=l("b",null,"License: ",-1),Dit={key:0,class:"flex items-center"},Lit=l("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Pit=l("b",null,"quantizer: ",-1),Fit=["href"],Uit={class:"flex items-center"},Bit=l("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Git=l("b",null,"Model creator: ",-1),Vit=["href"],zit={class:"flex items-center"},Hit=l("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1),qit=l("b",null,"Release date: ",-1),$it={class:"flex items-center"},Yit=l("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1),Wit=l("b",null,"Category: ",-1),Kit=["href"];function jit(n,e,t,s,i,r){const o=tt("InteractiveMenu");return T(),C("div",{class:Be(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",r.computed_classes]),title:t.model.name,onClick:e[10]||(e[10]=j(a=>r.toggleSelected(a),["prevent"]))},[t.model.isCustomModel?(T(),C("div",Pst,[l("div",Fst,[l("div",Ust,[l("a",{href:t.model.model_creator_link,target:"_blank"},[l("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,Gst)],8,Bst),l("div",Vst,[l("h3",zst,K(t.model.name),1)])])])])):G("",!0),t.model.isCustomModel?(T(),C("div",Hst,[l("div",qst,[l("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]=j(()=>{},["stop"]))},Wst),Je(" Custom model ")]),l("div",null,[t.model.isInstalled?(T(),C("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=j((...a)=>r.uninstall&&r.uninstall(...a),["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"},[Je(" Uninstall "),Kst])):G("",!0)])])):G("",!0),i.installing?(T(),C("div",jst,[l("div",Qst,[Xst,l("div",Zst,[l("div",Jst,[l("div",eit,[tit,l("span",nit,K(Math.floor(i.progress))+"%",1)]),l("div",sit,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt({width:i.progress+"%"})},null,4)]),l("div",iit,[l("span",rit,"Download speed: "+K(r.speed_computed)+"/s",1),l("span",oit,K(r.downloaded_size_computed)+"/"+K(r.total_size_computed),1)])])]),l("div",ait,[l("div",lit,[l("div",cit,[l("button",{onClick:e[3]||(e[3]=j((...a)=>r.toggleCancelInstall&&r.toggleCancelInstall(...a),["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 ")])])])])])):G("",!0),t.model.isCustomModel?G("",!0):(T(),C("div",dit,[l("div",uit,[l("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=a=>r.defaultImg(a)),class:Be(["w-10 h-10 rounded-lg object-fill",i.linkNotValid?"grayscale":""])},null,42,pit),l("h3",_it,K(t.model.name),1),hit,V(o,{commands:r.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),l("div",fit,[l("div",mit,[i.linkNotValid?(T(),C("div",git,[bit,Je(" Link is not valid ")])):G("",!0)])]),l("div",{class:"",title:t.model.isInstalled?t.model.name:"Not installed"},[l("div",yit,[l("div",vit,[Sit,Tit,l("a",{href:"https://huggingface.co/"+t.model.quantizer+"/"+t.model.name,target:"_blank",onClick:e[5]||(e[5]=j(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:i.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," View full model card ",8,xit),Cit,l("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[6]||(e[6]=j(a=>r.toggleCopyLink(),["stop"]))},Rit)]),l("div",Ait,[l("div",{class:Be(["flex flex-shrink-0 items-center",i.linkNotValid?"text-red-600":""])},[Nit,Oit,Je(" "+K(r.fileSize),1)],2)]),l("div",Iit,[Mit,kit,Je(" "+K(t.model.license),1)]),t.model.quantizer!="None"&&t.model.type!="transformers"?(T(),C("div",Dit,[Lit,Pit,l("a",{href:"https://huggingface.co/"+t.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[7]||(e[7]=j(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},K(t.model.quantizer),9,Fit)])):G("",!0),l("div",Uit,[Bit,Git,l("a",{href:t.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[8]||(e[8]=j(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},K(t.model.model_creator),9,Vit)]),l("div",zit,[Hit,qit,Je(" "+K(t.model.last_commit_time),1)]),l("div",$it,[Yit,Wit,l("a",{href:"https://huggingface.co/"+t.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[9]||(e[9]=j(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},K(t.model.category),9,Kit)])])],8,Eit)]))],10,Lst)}const Qit=ot(Dst,[["render",jit]]),Xit={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",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}}},Zit={class:"p-4"},Jit={class:"flex items-center mb-4"},ert=["src"],trt={class:"text-lg font-semibold"},nrt=l("strong",null,"Author:",-1),srt=l("strong",null,"Description:",-1),irt=l("strong",null,"Category:",-1),rrt={key:0},ort=l("strong",null,"Disclaimer:",-1),art=l("strong",null,"Conditioning Text:",-1),lrt=l("strong",null,"AI Prefix:",-1),crt=l("strong",null,"User Prefix:",-1),drt=l("strong",null,"Antiprompts:",-1);function urt(n,e,t,s,i,r){return T(),C("div",Zit,[l("div",Jit,[l("img",{src:i.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,ert),l("h2",trt,K(i.personalityName),1)]),l("p",null,[nrt,Je(" "+K(i.personalityAuthor),1)]),l("p",null,[srt,Je(" "+K(i.personalityDescription),1)]),l("p",null,[irt,Je(" "+K(i.personalityCategory),1)]),i.disclaimer?(T(),C("p",rrt,[ort,Je(" "+K(i.disclaimer),1)])):G("",!0),l("p",null,[art,Je(" "+K(i.conditioningText),1)]),l("p",null,[lrt,Je(" "+K(i.aiPrefix),1)]),l("p",null,[crt,Je(" "+K(i.userPrefix),1)]),l("div",null,[drt,l("ul",null,[(T(!0),C(Ge,null,Xe(i.antipromptsList,o=>(T(),C("li",{key:o.id},K(o.text),1))),128))])]),l("button",{onClick:e[0]||(e[0]=o=>i.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),i.editMode?(T(),C("button",{key:1,onClick:e[1]||(e[1]=(...o)=>r.commitChanges&&r.commitChanges(...o)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):G("",!0)])}const prt=ot(Xit,[["render",urt]]),mp="/assets/logo-9d653710.svg",_rt="/",hrt={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onOpenFolder:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onCopyToCustom:Function,onEdit:Function,onReinstall:Function,onSettings:Function,onCopyPersonalityName:Function,onToggleFavorite:Function},components:{InteractiveMenu:YE},data(){return{isMounted:!1,name:this.personality.name,thumbnailVisible:!1,thumbnailPosition:{x:0,y:0}}},computed:{commandsList(){let n=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return console.log("this.category",this.personality.category),this.personality.category=="custom_personalities"?n.push({name:"edit",icon:"feather:settings",is_file:!1,value:this.edit}):n.push({name:"Copy to custom personas folder for editing",icon:"feather:copy",is_file:!1,value:this.copyToCustom}),this.isMounted&&n.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&n.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),n},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,Le(()=>{ze.replace()})},methods:{formatDate(n){const e={year:"numeric",month:"short",day:"numeric"};return new Date(n).toLocaleDateString(void 0,e)},showThumbnail(){this.thumbnailVisible=!0},hideThumbnail(){this.thumbnailVisible=!1},updateThumbnailPosition(n){this.thumbnailPosition={x:n.clientX+10,y:n.clientY+10}},getImgUrl(){return _rt+this.personality.avatar},defaultImg(n){n.target.src=mp},toggleFavorite(){this.onToggleFavorite(this)},showFolder(){this.onOpenFolder(this)},toggleTalk(){this.onTalk(this)},toggleCopyLink(){this.onCopyPersonalityName(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},edit(){this.onEdit(this)},copyToCustom(){this.onCopyToCustom(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this),this.isMounted=!1},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)}},watch:{selected(){Le(()=>{ze.replace()})}}},frt=["title"],mrt={class:"flex-grow"},grt={class:"flex items-center mb-4"},brt=["src"],Ert={class:"text-sm text-gray-600"},yrt={class:"text-sm text-gray-600"},vrt={class:"text-sm text-gray-600"},Srt={key:0,class:"text-sm text-gray-600"},Trt={key:1,class:"text-sm text-gray-600"},xrt={class:"mb-4"},Crt=l("h4",{class:"font-semibold mb-1 text-gray-700"},"Description:",-1),wrt=["innerHTML"],Rrt={class:"mt-auto pt-4 border-t"},Art={class:"flex justify-between items-center flex-wrap"},Nrt=["title"],Ort=["fill"],Irt=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"},null,-1),Mrt=[Irt],krt=l("i",{"data-feather":"check",class:"h-6 w-6"},null,-1),Drt=[krt],Lrt=l("i",{"data-feather":"send",class:"h-6 w-6"},null,-1),Prt=[Lrt],Frt=l("i",{"data-feather":"folder",class:"h-6 w-6"},null,-1),Urt=[Frt],Brt=["src"];function Grt(n,e,t,s,i,r){const o=tt("InteractiveMenu");return T(),C("div",{class:Be(["personality-card bg-white border rounded-xl shadow-lg p-6 hover:shadow-xl transition duration-300 ease-in-out flex flex-col h-full",r.selected_computed?"border-primary-light":"border-transparent",i.isMounted?"bg-blue-200 dark:bg-blue-700":""]),title:t.personality.installed?"":"Not installed"},[l("div",mrt,[l("div",grt,[l("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),alt:"Personality Icon",class:"w-16 h-16 rounded-full border border-gray-300 mr-4 cursor-pointer",onClick:e[1]||(e[1]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),onMouseover:e[2]||(e[2]=(...a)=>r.showThumbnail&&r.showThumbnail(...a)),onMousemove:e[3]||(e[3]=(...a)=>r.updateThumbnailPosition&&r.updateThumbnailPosition(...a)),onMouseleave:e[4]||(e[4]=(...a)=>r.hideThumbnail&&r.hideThumbnail(...a))},null,40,brt),l("div",null,[l("h3",{class:"font-bold text-xl text-gray-800 cursor-pointer",onClick:e[5]||(e[5]=(...a)=>r.toggleSelected&&r.toggleSelected(...a))},K(t.personality.name),1),l("p",Ert,"Author: "+K(t.personality.author),1),l("p",yrt,"Version: "+K(t.personality.version),1),l("p",vrt,"Category: "+K(t.personality.category),1),t.personality.creation_date?(T(),C("p",Srt,"Creation Date: "+K(r.formatDate(t.personality.creation_date)),1)):G("",!0),t.personality.last_update_date?(T(),C("p",Trt,"Last update Date: "+K(r.formatDate(t.personality.last_update_date)),1)):G("",!0)])]),l("div",xrt,[Crt,l("p",{class:"text-sm text-gray-600 h-20 overflow-y-auto",innerHTML:t.personality.description},null,8,wrt)])]),l("div",Rrt,[l("div",Art,[l("button",{onClick:e[6]||(e[6]=(...a)=>r.toggleFavorite&&r.toggleFavorite(...a)),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:n.isFavorite?"Remove from favorites":"Add to favorites"},[(T(),C("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:n.isFavorite?"currentColor":"none",viewBox:"0 0 24 24",stroke:"currentColor"},Mrt,8,Ort))],8,Nrt),i.isMounted?(T(),C("button",{key:0,onClick:e[7]||(e[7]=(...a)=>r.toggleSelected&&r.toggleSelected(...a)),class:"text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out",title:"Select"},Drt)):G("",!0),i.isMounted?(T(),C("button",{key:1,onClick:e[8]||(e[8]=(...a)=>r.toggleTalk&&r.toggleTalk(...a)),class:"text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Talk"},Prt)):G("",!0),l("button",{onClick:e[9]||(e[9]=(...a)=>r.showFolder&&r.showFolder(...a)),class:"text-purple-500 hover:text-purple-600 transition duration-300 ease-in-out",title:"Show Folder"},Urt),V(o,{commands:r.commandsList,force_position:2,title:"Menu",class:"text-gray-500 hover:text-gray-600 transition duration-300 ease-in-out"},null,8,["commands"])])]),i.thumbnailVisible?(T(),C("div",{key:0,style:jt({top:i.thumbnailPosition.y+"px",left:i.thumbnailPosition.x+"px"}),class:"fixed z-50 w-20 h-20 rounded-full overflow-hidden"},[l("img",{src:r.getImgUrl(),class:"w-full h-full object-fill"},null,8,Brt)],4)):G("",!0)],10,frt)}const WE=ot(hrt,[["render",Grt]]),Vrt={name:"DynamicUIRenderer",props:{ui:{type:String,required:!0},instanceId:{type:String,required:!0}},data(){return{containerId:`dynamic-ui-${this.instanceId}`}},watch:{ui:{immediate:!0,handler(n){console.log(`UI prop changed for instance ${this.instanceId}:`,n),this.$nextTick(()=>{this.renderContent()})}}},methods:{renderContent(){console.log(`Rendering content for instance ${this.instanceId}...`);const n=this.$refs.container,t=new DOMParser().parseFromString(this.ui,"text/html"),s=t.getElementsByTagName("style");Array.from(s).forEach(r=>{const o=document.createElement("style");o.textContent=this.scopeCSS(r.textContent),document.head.appendChild(o)}),n.innerHTML=t.body.innerHTML;const i=t.getElementsByTagName("script");Array.from(i).forEach(r=>{const o=document.createElement("script");o.textContent=r.textContent,n.appendChild(o)})},scopeCSS(n){return n.replace(/([^\r\n,{}]+)(,(?=[^}]*{)|\s*{)/g,`#${this.containerId} $1$2`)}}},zrt=["id"];function Hrt(n,e,t,s,i,r){return T(),C("div",{id:i.containerId,ref:"container"},null,8,zrt)}const UN=ot(Vrt,[["render",Hrt]]),qrt="/",$rt={components:{DynamicUIRenderer:UN},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){Le(()=>{ze.replace()})},methods:{copyToClipBoard(n){console.log("Copying to clipboard :",n),navigator.clipboard.writeText(n)},getImgUrl(){return qrt+this.binding.icon},defaultImg(n){n.target.src=mp},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleUnInstall(){this.onUnInstall(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(){Le(()=>{ze.replace()})}}},Yrt=["title"],Wrt={class:"flex flex-row items-center gap-3"},Krt=["src"],jrt={class:"font-bold font-large text-lg truncate"},Qrt=l("div",{class:"grow"},null,-1),Xrt={class:"flex-none gap-1"},Zrt=l("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),Jrt=l("span",{class:"sr-only"},"Help",-1),eot=[Zrt,Jrt],tot={class:"flex items-center flex-row-reverse gap-2 my-1"},not=l("span",{class:"sr-only"},"Click to install",-1),sot=l("span",{class:"sr-only"},"Reinstall",-1),iot=l("span",{class:"sr-only"},"UnInstall",-1),rot=l("span",{class:"sr-only"},"Settings",-1),oot={class:""},aot={class:""},lot={class:"flex items-center"},cot=l("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),dot=l("b",null,"Author: ",-1),uot={class:"flex items-center"},pot=l("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),_ot=l("b",null,"Folder: ",-1),hot=l("div",{class:"grow"},null,-1),fot=l("i",{"data-feather":"clipboard",class:"w-5"},null,-1),mot=[fot],got={class:"flex items-center"},bot=l("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Eot=l("b",null,"Version: ",-1),yot={class:"flex items-center"},vot=l("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Sot=l("b",null,"Link: ",-1),Tot=["href"],xot=l("div",{class:"flex items-center"},[l("i",{"data-feather":"info",class:"w-5 m-1"}),l("b",null,"Description: "),l("br")],-1),Cot=["title","innerHTML"];function wot(n,e,t,s,i,r){const o=tt("DynamicUIRenderer");return T(),C("div",{class:Be(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",t.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[8]||(e[8]=j((...a)=>r.toggleSelected&&r.toggleSelected(...a),["stop"])),title:t.binding.installed?t.binding.name:"Not installed"},[l("div",null,[l("div",Wrt,[l("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,Krt),l("h3",jrt,K(t.binding.name),1),Qrt,l("div",Xrt,[t.selected?(T(),C("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>r.toggleReloadBinding&&r.toggleReloadBinding(...a)),e[2]||(e[2]=j(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},eot)):G("",!0)])]),l("div",tot,[t.binding.installed?G("",!0):(T(),C("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=j((...a)=>r.toggleInstall&&r.toggleInstall(...a),["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"},[Je(" Install "),not])),t.binding.installed?(T(),C("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=j((...a)=>r.toggleReinstall&&r.toggleReinstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-green-700 hover:bg-red-800 focus:ring-4 focus:ring-green-300 rounded-lg dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-red-900"},[Je(" Reinstall "),sot])):G("",!0),t.binding.installed?(T(),C("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=j((...a)=>r.toggleUnInstall&&r.toggleUnInstall(...a),["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"},[Je(" Uninstall "),iot])):G("",!0),t.selected?(T(),C("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=j((...a)=>r.toggleSettings&&r.toggleSettings(...a),["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"},[Je(" Settings "),rot])):G("",!0)]),t.binding.ui?(T(),dt(o,{key:0,class:"w-full h-full",code:t.binding.ui},null,8,["code"])):G("",!0),l("div",oot,[l("div",aot,[l("div",lot,[cot,dot,Je(" "+K(t.binding.author),1)]),l("div",uot,[pot,_ot,Je(" "+K(t.binding.folder)+" ",1),hot,l("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[7]||(e[7]=j(a=>r.copyToClipBoard(this.binding.folder),["stop"]))},mot)]),l("div",got,[bot,Eot,Je(" "+K(t.binding.version),1)]),l("div",yot,[vot,Sot,l("a",{href:t.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},K(t.binding.link),9,Tot)])]),xot,l("p",{class:"mx-1 opacity-80 line-clamp-3",title:t.binding.description,innerHTML:t.binding.description},null,8,Cot)])])],10,Yrt)}const Rot=ot($rt,[["render",wot]]),Aot={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(n=>{this.resolve=n})},hide(n){this.show=!1,this.resolve&&(this.resolve(n),this.resolve=null)},showDialog(n){return new Promise(e=>{this.model_path=n,this.show=!0,this.resolve=e})}}},Not={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Oot={class:"relative w-full max-w-md max-h-full"},Iot={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Mot=l("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("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),kot=l("span",{class:"sr-only"},"Close modal",-1),Dot=[Mot,kot],Lot={class:"p-4 text-center"},Pot=l("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"},[l("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),Fot={class:"p-4 text-center mx-auto mb-4"},Uot=l("label",{class:"mr-2"},"Model path",-1);function Bot(n,e,t,s,i,r){return i.show?(T(),C("div",Not,[l("div",Oot,[l("div",Iot,[l("button",{type:"button",onClick:e[0]||(e[0]=o=>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"},Dot),l("div",Lot,[Pot,l("div",Fot,[Uot,P(l("input",{"onUpdate:modelValue":e[1]||(e[1]=o=>i.model_path=o),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[pe,i.model_path]])]),l("button",{onClick:e[2]||(e[2]=o=>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 "),l("button",{onClick:e[3]||(e[3]=o=>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")])])])])):G("",!0)}const Got=ot(Aot,[["render",Bot]]);const Vot={props:{show:{type:Boolean,default:!1},can_remove:{type:Boolean,default:!1},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null,showInput:!1,newFilename:""}},methods:{displayName(n){return typeof n=="string"?n:n&&n.name?n.name:""},selectChoice(n){this.selectedChoice=n,this.$emit("choice-selected",n)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated",this.selectedChoice)},formatSize(n){const e=["bytes","KB","MB","GB"];let t=0;for(;n>=1024&&t(Rs("data-v-f43216be"),n=n(),As(),n),zot={key:0,class:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-20"},Hot={class:"bg-white dark:bg-gray-800 rounded-lg shadow-xl p-6 w-96 max-w-md"},qot={class:"text-2xl font-bold mb-4 text-gray-800 dark:text-white flex items-center"},$ot=KE(()=>l("svg",{class:"w-6 h-6 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})],-1)),Yot={class:"h-48 bg-gray-100 dark:bg-gray-700 rounded-lg mb-4 overflow-y-auto scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-gray-200 dark:scrollbar-thumb-gray-600 dark:scrollbar-track-gray-800"},Wot={class:"flex items-center justify-between"},Kot={class:"flex-grow"},jot=["onClick"],Qot=["onUpdate:modelValue","onBlur","onKeyup"],Xot={key:2,class:"text-xs text-gray-500 dark:text-gray-400 ml-2"},Zot={class:"flex items-center"},Jot=["onClick"],eat=KE(()=>l("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1)),tat=[eat],nat=["onClick"],sat=KE(()=>l("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),iat=[sat],rat={key:0,class:"flex flex-col mb-4"},oat={class:"flex justify-between"},aat=["disabled"];function lat(n,e,t,s,i,r){return T(),dt(Hs,{name:"fade"},{default:Me(()=>[t.show?(T(),C("div",zot,[l("div",Hot,[l("h2",qot,[$ot,Je(" "+K(t.title),1)]),l("div",Yot,[l("ul",null,[(T(!0),C(Ge,null,Xe(t.choices,(o,a)=>(T(),C("li",{key:a,class:"py-2 px-4 hover:bg-gray-200 dark:hover:bg-gray-600 transition duration-150 ease-in-out"},[l("div",Wot,[l("div",Kot,[o.isEditing?P((T(),C("input",{key:1,"onUpdate:modelValue":c=>o.editName=c,onBlur:c=>r.finishEditing(o),onKeyup:Ks(c=>r.finishEditing(o),["enter"]),class:"bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded px-2 py-1 text-sm",autofocus:""},null,40,Qot)),[[pe,o.editName]]):(T(),C("span",{key:0,onClick:c=>r.selectChoice(o),class:Be([{"font-semibold":o===i.selectedChoice},"text-gray-800 dark:text-white cursor-pointer"])},K(r.displayName(o)),11,jot)),o.size?(T(),C("span",Xot,K(r.formatSize(o.size)),1)):G("",!0)]),l("div",Zot,[l("button",{onClick:c=>r.editChoice(o),class:"text-blue-500 hover:text-blue-600 mr-2"},tat,8,Jot),t.can_remove?(T(),C("button",{key:0,onClick:c=>r.removeChoice(o,a),class:"text-red-500 hover:text-red-600"},iat,8,nat)):G("",!0)])])]))),128))])]),i.showInput?(T(),C("div",rat,[P(l("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>i.newFilename=o),placeholder:"Enter a filename",class:"border border-gray-300 dark:border-gray-600 p-2 rounded-lg w-full mb-2 bg-white dark:bg-gray-700 text-gray-800 dark:text-white"},null,512),[[pe,i.newFilename]]),l("button",{onClick:e[1]||(e[1]=(...o)=>r.addNewFilename&&r.addNewFilename(...o)),class:"bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-lg transition duration-300"}," Add ")])):G("",!0),l("div",oat,[l("button",{onClick:e[2]||(e[2]=(...o)=>r.closeDialog&&r.closeDialog(...o)),class:"bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded-lg transition duration-300"}," Cancel "),l("button",{onClick:e[3]||(e[3]=(...o)=>r.validateChoice&&r.validateChoice(...o)),disabled:!i.selectedChoice,class:Be([{"bg-blue-500 hover:bg-blue-600":i.selectedChoice,"bg-gray-400 cursor-not-allowed":!i.selectedChoice},"text-white font-bold py-2 px-4 rounded-lg transition duration-300"])}," Validate ",10,aat),l("button",{onClick:e[4]||(e[4]=(...o)=>r.toggleInput&&r.toggleInput(...o)),class:"bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-lg transition duration-300"}," Add New ")])])])):G("",!0)]),_:1})}const jE=ot(Vot,[["render",lat],["__scopeId","data-v-f43216be"]]),cat={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:"0"}},data(){return{selectedValue:this.defaultValue}},computed:{selectedLabel(){const n=this.radioOptions.find(e=>e.value===this.selectedValue);return n?n.label:""}},watch:{selectedValue(n,e){this.$emit("radio-selected",n)}},methods:{handleRadioChange(){}}},dat={class:"flex space-x-4"},uat=["value","aria-checked"],pat={class:"text-gray-700"};function _at(n,e,t,s,i,r){return T(),C("div",dat,[(T(!0),C(Ge,null,Xe(t.radioOptions,(o,a)=>(T(),C("label",{key:o.value,class:"flex items-center space-x-2"},[P(l("input",{type:"radio",value:o.value,"onUpdate:modelValue":e[0]||(e[0]=c=>i.selectedValue=c),onChange:e[1]||(e[1]=(...c)=>r.handleRadioChange&&r.handleRadioChange(...c)),class:"text-blue-500 focus:ring-2 focus:ring-blue-200","aria-checked":i.selectedValue===o.value.toString(),role:"radio"},null,40,uat),[[bD,i.selectedValue]]),l("span",pat,K(o.label),1)]))),128))])}const hat=ot(cat,[["render",_at]]),fat="/assets/gpu-df72bf63.svg",mat={name:"StringListManager",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Enter an item"}},emits:["update:modelValue","change"],data(){return{newItem:"",draggingIndex:null}},methods:{addItem(){if(this.newItem.trim()){const n=[...this.modelValue,this.newItem.trim()];this.$emit("update:modelValue",n),this.$emit("change"),this.newItem=""}},removeItem(n){const e=this.modelValue.filter((t,s)=>s!==n);this.$emit("update:modelValue",e),this.$emit("change")},removeAll(){this.$emit("update:modelValue",[]),this.$emit("change")},startDragging(n){this.draggingIndex=n},dragItem(n){if(this.draggingIndex!==null){const e=[...this.modelValue],t=e.splice(this.draggingIndex,1)[0];e.splice(n,0,t),this.$emit("update:modelValue",e),this.$emit("change")}},stopDragging(){this.draggingIndex=null},moveUp(n){if(n>0){const e=[...this.modelValue],t=e.splice(n,1)[0];e.splice(n-1,0,t),this.$emit("update:modelValue",e),this.$emit("change")}},moveDown(n){if(ni.newItem=o),placeholder:t.placeholder,onKeyup:e[1]||(e[1]=Ks((...o)=>r.addItem&&r.addItem(...o),["enter"])),class:"flex-grow mr-4 px-4 py-2 border border-gray-300 rounded dark:bg-gray-600 text-lg"},null,40,bat),[[pe,i.newItem]]),l("button",{onClick:e[2]||(e[2]=(...o)=>r.addItem&&r.addItem(...o)),class:"bg-blue-500 text-white px-6 py-2 rounded hover:bg-blue-600 text-lg"},"Add")]),t.modelValue.length>0?(T(),C("ul",Eat,[(T(!0),C(Ge,null,Xe(t.modelValue,(o,a)=>(T(),C("li",{key:a,class:Be(["flex items-center mb-2 relative",{"bg-gray-200":i.draggingIndex===a}])},[l("span",yat,K(o),1),l("div",vat,[l("button",{onClick:c=>r.removeItem(a),class:"text-red-500 hover:text-red-700 p-2"},xat,8,Sat),a>0?(T(),C("button",{key:0,onClick:c=>r.moveUp(a),class:"bg-gray-300 hover:bg-gray-400 p-2 rounded mr-2"},Rat,8,Cat)):G("",!0),ar.moveDown(a),class:"bg-gray-300 hover:bg-gray-400 p-2 rounded"},Oat,8,Aat)):G("",!0)]),i.draggingIndex===a?(T(),C("div",{key:0,class:"absolute top-0 left-0 w-full h-full bg-gray-200 opacity-50 cursor-move",onMousedown:c=>r.startDragging(a),onMousemove:c=>r.dragItem(a),onMouseup:e[3]||(e[3]=(...c)=>r.stopDragging&&r.stopDragging(...c))},null,40,Iat)):G("",!0)],2))),128))])):G("",!0),t.modelValue.length>0?(T(),C("div",Mat,[l("button",{onClick:e[4]||(e[4]=(...o)=>r.removeAll&&r.removeAll(...o)),class:"bg-red-500 text-white px-6 py-2 rounded hover:bg-red-600 text-lg"},"Remove All")])):G("",!0)])}const Dat=ot(mat,[["render",kat]]);const Lat="/";re.defaults.baseURL="/";const Pat={components:{AddModelDialog:Got,ModelEntry:Qit,PersonalityViewer:prt,PersonalityEntry:WE,BindingEntry:Rot,ChoiceDialog:jE,Card:_p,StringListManager:Dat,RadioOptions:hat},data(){return{posts_headers:{accept:"application/json","Content-Type":"application/json"},defaultModelImgPlaceholder:Us,snd_input_devices:[],snd_input_devices_indexes:[],snd_output_devices:[],snd_output_devices_indexes:[],voices:[],voice_languages:{Arabic:"ar","Brazilian Portuguese":"pt",Chinese:"zh-cn",Czech:"cs",Dutch:"nl",English:"en",French:"fr",German:"de",Italian:"it",Polish:"pl",Russian:"ru",Spanish:"es",Turkish:"tr",Japanese:"ja",Korean:"ko",Hungarian:"hu",Hindi:"hi"},storeLogo:$s,binding_changed:!1,SVGGPU:fat,models_zoo:[],models_zoo_initialLoadCount:10,models_zoo_loadMoreCount:5,models_zoo_loadedEntries:[],models_zoo_scrollThreshold:200,sortOptions:[{label:"Sort by Date",value:0},{label:"Sort by Rank",value:1},{label:"Sort by Name",value:2},{label:"Sort by Maker",value:3},{label:"Sort by Quantizer",value:4}],comfyui_models:[],show_only_installed_models:!1,reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,data_conf_collapsed:!0,internet_conf_collapsed:!0,servers_conf_collapsed:!0,mainconf_collapsed:!0,smartrouterconf_collapsed:!0,bec_collapsed:!0,sort_type:0,is_loading_zoo:!1,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,ezl_collapsed:!1,bzl_collapsed:!1,extCatgArr:[],persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:Lat,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){try{this.$store.state.loading_infos="Getting Hardware usage",await this.refreshHardwareUsage(this.$store)}catch(n){console.log("Error cought:",n)}qe.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{fetchElevenLabsVoices(){fetch("https://api.elevenlabs.io/v1/voices").then(n=>n.json()).then(n=>{this.voices=n.voices}).catch(n=>console.error("Error fetching voices:",n))},async refreshHardwareUsage(n){await n.dispatch("refreshDiskUsage"),await n.dispatch("refreshRamUsage"),await n.dispatch("refreshVramUsage")},addDataSource(){this.$store.state.config.rag_databases.push(""),this.settingsChanged=!0},removeDataSource(n){this.$store.state.config.rag_databases.splice(n,1),this.settingsChanged=!0},async vectorize_folder(n){await re.post("/vectorize_folder",{client_id:this.$store.state.client_id,db_path:this.$store.state.config.rag_databases[n]},this.posts_headers)},async select_folder(n){try{qe.on("rag_db_added",e=>{console.log(e),e?(this.$store.state.config.rag_databases[n]=`${e.database_name}::${e.database_path}`,this.settingsChanged=!0):this.$store.state.toast.showToast("Failed to select a folder",4,!1)}),await re.post("/add_rag_database",{client_id:this.$store.state.client_id},this.posts_headers)}catch{this.$store.state.toast.showToast("Failed to select a folder",4,!1)}},handleTemplateSelection(n){console.log("handleTemplateSelection");const e=n.target.value;console.log("handleTemplateSelection: ",e),e==="lollms"?(console.log("Using lollms template"),this.configFile.start_header_id_template="!@>",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=` `,this.configFile.start_user_header_id_template="!@>",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="!@>",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="lollms_simplified"?(console.log("Using lollms template"),this.configFile.start_header_id_template="@>",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=` `,this.configFile.start_user_header_id_template="@>",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="@>",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="bare"?(console.log("Using lollms template"),this.configFile.start_header_id_template="",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=` `,this.configFile.start_user_header_id_template="",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="llama3"?(console.log("Using llama3 template"),this.configFile.start_header_id_template="<|start_header_id|>",this.configFile.system_message_template="system",this.configFile.end_header_id_template="<|end_header_id|>",this.configFile.separator_template="<|eot_id|>",this.configFile.start_user_header_id_template="<|start_header_id|>",this.configFile.end_user_header_id_template="<|end_header_id|>",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="<|start_header_id|>",this.configFile.end_ai_header_id_template="<|end_header_id|>",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="mistral"&&(console.log("Using mistral template"),this.configFile.start_header_id_template="[INST]",this.configFile.system_message_template=" Using this information",this.configFile.end_header_id_template=": ",this.configFile.separator_template=` @@ -218,26 +145,25 @@ The possibilities are endless, they are now yours to mold and customize as you s Verify that the personality is not already copied there.`,4,!1)}).catch(e=>{this.$store.state.toast.showToast(`Personality couldn't be copied to the custom personalities folder: `,4,!1),console.error(e)})},async remountPersonality(n){await this.unmountPersonality(n),await this.mountPersonality(n)},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,console.log("Personality path:",n.personality.path),re.post("/reinstall_personality",{client_id:this.$store.state.client_id,name:n.personality.path},{headers:this.posts_headers}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$store.state.toast.showToast("Personality reinstalled successfully!",4,!0):this.$store.state.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$store.state.toast.showToast(`Could not reinstall personality `+e.message,4,!1),{status:!1}))},personalityImgPlacehodler(n){n.target.src=$s},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){this.filterModels()}},async mounted(){console.log("Getting voices"),this.getVoices(),console.log("Constructing"),this.load_everything(),this.getSeviceVoices();try{console.log("Loading input devices list");const n=await re.get("/get_snd_input_devices");this.snd_input_devices=n.data.device_names,this.snd_input_devices_indexes=n.data.device_indexes}catch{console.log("Couldin't list input devices")}try{console.log("Loading output devices list");const n=await re.get("/get_snd_output_devices");this.snd_output_devices=n.data.device_names,this.snd_output_devices_indexes=n.data.device_indexes}catch{console.log("Couldin't list output devices")}try{console.log("Getting comfyui models");const n=await re.get("/list_comfyui_models");console.log("res is ",n),n.data.status&&(this.comfyui_models=n.data.models)}catch{console.log("Couldin't list output devices")}this.fetchElevenLabsVoices()},activated(){},computed:{full_template:{get(){return(this.configFile.start_header_id_template+this.configFile.system_message_template+this.configFile.end_header_id_template+" system message"+this.configFile.separator_template+this.configFile.start_user_header_id_template+"user name"+this.configFile.end_user_header_id_template+" User prompt"+this.configFile.separator_template+this.configFile.end_user_message_id_template+this.configFile.separator_template+this.configFile.start_ai_header_id_template+"ai personality"+this.configFile.end_ai_header_id_template+"ai response"+this.configFile.end_ai_message_id_template).replace(` -`,"
")}},rendered_models_zoo:{get(){return this.searchModel?this.show_only_installed_models?this.modelsFiltered.filter(n=>n.isInstalled===!0):this.modelsFiltered.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)):(console.log("this.models_zoo"),console.log(this.models_zoo),console.log(this.models_zoo_initialLoadCount),this.show_only_installed_models?this.models_zoo.filter(n=>n.isInstalled===!0):this.models_zoo.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)))}},imgBinding:{get(){if(!this.isMounted)return Us;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(n=>n.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return Us}}},imgModel:{get(){try{let n=this.$store.state.modelsZoo.findIndex(e=>e.name==this.$store.state.selectedModel);return n>=0?(console.log(`model avatar : ${this.$store.state.modelsZoo[n].icon}`),this.$store.state.modelsZoo[n].icon):Us}catch{console.log("error")}if(!this.isMounted)return Us;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(n=>n.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return Us}}},isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(n){this.$store.state.config.audio_out_voice=n}},openaiWhisperModels(){return["whisper-1"]},whisperModels(){return["tiny.en","tiny","base.en","base","small.en","small","medium.en","medium","large-v1","large-v2","large-v3","large"]},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(n){this.$store.commit("setConfig",n)}},userName:{get(){return this.$store.state.config.user_name},set(n){this.$store.state.config.user_name=n}},user_avatar:{get(){return this.$store.state.config.user_avatar!=""?"/user_infos/"+this.$store.state.config.user_avatar:$s},set(n){this.$store.state.config.user_avatar=n}},hardware_mode:{get(){return this.$store.state.config.hardware_mode},set(n){this.$store.state.config.hardware_mode=n}},auto_update:{get(){return this.$store.state.config.auto_update},set(n){this.$store.state.config.auto_update=n}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(n){this.$store.state.config.auto_speak=n}},auto_read:{get(){return this.$store.state.config.auto_read},set(n){this.$store.state.config.auto_read=n}},xtts_current_language:{get(){return this.$store.state.config.xtts_current_language},set(n){console.log("Current xtts voice set to ",n),this.$store.state.config.xtts_current_language=n}},xtts_current_voice:{get(){return this.$store.state.config.xtts_current_voice===null||this.$store.state.config.xtts_current_voice===void 0?(console.log("current voice",this.$store.state.config.xtts_current_voice),"main_voice"):this.$store.state.config.xtts_current_voice},set(n){n=="main_voice"||n===void 0?(console.log("Current voice set to None"),this.$store.state.config.xtts_current_voice=null):(console.log("Current voice set to ",n),this.$store.state.config.xtts_current_voice=n)}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(n){this.$store.state.config.audio_pitch=n}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(n){this.$store.state.config.audio_in_language=n}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(n){this.$store.state.config.use_user_name_in_discussions=n}},discussion_db_name:{get(){return this.$store.state.config.discussion_db_name},set(n){this.$store.state.config.discussion_db_name=n}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}},bindingsZoo:{get(){return this.$store.state.bindingsZoo},set(n){this.$store.commit("setbindingsZoo",n)}},modelsArr:{get(){return this.$store.state.modelsArr},set(n){this.$store.commit("setModelsArr",n)}},models:{get(){return this.models_zoo},set(n){this.$store.commit("setModelsZoo",n)}},installed_models:{get(){return this.models_zoo},set(n){this.$store.commit("setModelsZoo",n)}},diskUsage:{get(){return this.$store.state.diskUsage},set(n){this.$store.commit("setDiskUsage",n)}},ramUsage:{get(){return this.$store.state.ramUsage},set(n){this.$store.commit("setRamUsage",n)}},vramUsage:{get(){return this.$store.state.vramUsage},set(n){this.$store.commit("setVramUsage",n)}},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)},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return null;const n=this.bindingsZoo.findIndex(e=>e.folder===this.configFile.binding_name);return n>-1?this.bindingsZoo[n].name:null},active_pesonality(){if(!this.isMounted)return null;const n=this.$store.state.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);return n>-1?this.$store.state.personalities[n].name:null},speed_computed(){return ci(this.addModel.speed)},total_size_computed(){return ci(this.addModel.total_size)},downloaded_size_computed(){return ci(this.addModel.downloaded_size)}},watch:{bec_collapsed(){Le(()=>{ze.replace()})},pc_collapsed(){Le(()=>{ze.replace()})},mc_collapsed(){Le(()=>{ze.replace()})},sc_collapsed(){Le(()=>{ze.replace()})},showConfirmation(){Le(()=>{ze.replace()})},mzl_collapsed(){Le(()=>{ze.replace()})},pzl_collapsed(){Le(()=>{ze.replace()})},ezl_collapsed(){Le(()=>{ze.replace()})},bzl_collapsed(){Le(()=>{ze.replace()})},all_collapsed(n){this.collapseAll(n),Le(()=>{ze.replace()})},settingsChanged(n){this.$store.state.settingsChanged=n,Le(()=>{ze.replace()})},isLoading(){Le(()=>{ze.replace()})},searchPersonality(n){n==""&&this.filterPersonalities()},mzdc_collapsed(){Le(()=>{ze.replace()})}},async beforeRouteLeave(n){if(await this.$router.isReady(),this.settingsChanged)return await this.$store.state.yesNoDialog.askQuestion(`Did You forget to apply changes? -You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1}},D=n=>(Rs("data-v-c8653825"),n=n(),As(),n),rlt={class:"container flex flex-row shadow-lg p-10 pt-0 overflow-y-scroll w-full background-color 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"},olt={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg panels-color shadow-lg"},alt={key:0,class:"flex gap-3 flex-1 items-center duration-75"},llt=D(()=>l("i",{"data-feather":"x"},null,-1)),clt=[llt],dlt=D(()=>l("i",{"data-feather":"check"},null,-1)),ult=[dlt],plt={key:1,class:"flex gap-3 flex-1 items-center"},_lt=D(()=>l("i",{"data-feather":"refresh-ccw"},null,-1)),hlt=[_lt],flt=D(()=>l("i",{"data-feather":"list"},null,-1)),mlt=[flt],glt={class:"flex gap-3 flex-1 items-center justify-end"},blt=D(()=>l("i",{"data-feather":"trash-2"},null,-1)),Elt=[blt],ylt=D(()=>l("i",{"data-feather":"refresh-ccw"},null,-1)),vlt=[ylt],Slt=D(()=>l("i",{"data-feather":"arrow-up-circle"},null,-1)),Tlt=D(()=>l("i",{"data-feather":"alert-circle"},null,-1)),xlt=[Slt,Tlt],Clt={class:"flex gap-3 items-center"},wlt={key:0,class:"flex gap-3 items-center"},Rlt=D(()=>l("div",{class:"flex flex-row"},[l("p",{class:"text-green-600 font-bold hover:text-green-300 ml-4 pl-4 mr-4 pr-4"},"Apply changes:"),l("i",{"data-feather":"check"})],-1)),Alt=[Rlt],Nlt=D(()=>l("div",{class:"flex flex-row"},[l("p",{class:"text-red-600 font-bold hover:text-red-300 ml-4 pl-4 mr-4 pr-4"},"Cancel changes:"),l("i",{"data-feather":"x"})],-1)),Olt=[Nlt],Mlt={key:1,role:"status"},Ilt=D(()=>l("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"},[l("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"}),l("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)),klt=D(()=>l("span",{class:"sr-only"},"Loading...",-1)),Dlt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Llt={class:"flex flex-row p-3"},Plt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),Flt=[Plt],Ult=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Blt=[Ult],Glt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),Vlt=D(()=>l("div",{class:"mr-2"},"|",-1)),zlt={class:"text-base font-semibold cursor-pointer select-none items-center"},Hlt={class:"flex gap-2 items-center"},qlt={key:0},$lt=["src"],Ylt={class:"font-bold font-large text-lg"},Wlt={key:1},Klt={class:"flex gap-2 items-center"},jlt=["src"],Qlt={class:"font-bold font-large text-lg"},Xlt=D(()=>l("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Zlt={class:"font-bold font-large text-lg"},Jlt=D(()=>l("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),ect={class:"font-bold font-large text-lg"},tct={class:"mb-2"},nct=D(()=>l("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[l("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"})]),Je(" CPU Ram usage: ")],-1)),sct={class:"flex flex-col mx-2"},ict=D(()=>l("b",null,"Avaliable ram: ",-1)),rct=D(()=>l("b",null,"Ram usage: ",-1)),oct={class:"p-2"},act={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},lct={class:"mb-2"},cct=D(()=>l("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[l("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),Je(" Disk usage: ")],-1)),dct={class:"flex flex-col mx-2"},uct=D(()=>l("b",null,"Avaliable disk space: ",-1)),pct=D(()=>l("b",null,"Disk usage: ",-1)),_ct={class:"p-2"},hct={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},fct={class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},mct=["src"],gct={class:"flex flex-col mx-2"},bct=D(()=>l("b",null,"Model: ",-1)),Ect=D(()=>l("b",null,"Avaliable vram: ",-1)),yct=D(()=>l("b",null,"GPU usage: ",-1)),vct={class:"p-2"},Sct={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Tct={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},xct={class:"flex flex-row p-3"},Cct=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),wct=[Cct],Rct=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Act=[Rct],Nct=D(()=>l("div",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Smart routing configurations",-1)),Oct={class:"flex flex-col mb-2 px-3 pb-2"},Mct={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"},Ict=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_smart_routing",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use Smart Routing:")],-1)),kct={style:{width:"100%"}},Dct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"restore_model_after_smart_routing",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Restore model after smart routing:")],-1)),Lct={style:{width:"100%"}},Pct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"smart_routing_router_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Router Model:")],-1)),Fct={style:{width:"100%"}},Uct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"smart_routing_models_by_power",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Models by Power:")],-1)),Bct={style:{width:"100%"}},Gct={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Vct={class:"flex flex-row p-3"},zct=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),Hct=[zct],qct=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),$ct=[qct],Yct=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),Wct={class:"flex flex-col mb-2 px-3 pb-2"},Kct={class:"expand-to-fit bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block 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"},jct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"app_custom_logo",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Application logo:")],-1)),Qct={for:"logo-upload"},Xct=["src"],Zct={style:{width:"10%"}},Jct=D(()=>l("i",{"data-feather":"x"},null,-1)),edt=[Jct],tdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"hardware_mode",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Hardware mode:")],-1)),ndt={class:"text-center items-center"},sdt={class:"flex flex-row"},idt=D(()=>l("option",{value:"cpu"},"CPU",-1)),rdt=D(()=>l("option",{value:"cpu-noavx"},"CPU (No AVX)",-1)),odt=D(()=>l("option",{value:"nvidia-tensorcores"},"NVIDIA (Tensor Cores)",-1)),adt=D(()=>l("option",{value:"nvidia"},"NVIDIA",-1)),ldt=D(()=>l("option",{value:"amd-noavx"},"AMD (No AVX)",-1)),cdt=D(()=>l("option",{value:"amd"},"AMD",-1)),ddt=D(()=>l("option",{value:"apple-intel"},"Apple Intel",-1)),udt=D(()=>l("option",{value:"apple-silicon"},"Apple Silicon",-1)),pdt=[idt,rdt,odt,adt,ldt,cdt,ddt,udt],_dt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"discussion_db_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),hdt={style:{width:"100%"}},fdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"copy_to_clipboard_add_all_details",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Add details to messages copied to clipboard:")],-1)),mdt={class:"flex flex-row"},gdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),bdt={class:"flex flex-row"},Edt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_debug",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate debug mode:")],-1)),ydt={class:"flex flex-row"},vdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_show_final_full_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate showing the full prompt in console (for debug):")],-1)),Sdt={class:"flex flex-row"},Tdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_show_final_full_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Show final full prompt in console:")],-1)),xdt={class:"flex flex-row"},Cdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_show_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Show chunks in console:")],-1)),wdt={class:"flex flex-row"},Rdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_log_file_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Debug file path:")],-1)),Adt={class:"flex flex-row"},Ndt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"show_news_panel",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Show news panel:")],-1)),Odt={class:"flex flex-row"},Mdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),Idt={class:"flex flex-row"},kdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),Ddt={class:"flex flex-row"},Ldt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto title:")],-1)),Pdt={class:"flex flex-row"},Fdt={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"},Udt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start header id template:")],-1)),Bdt=D(()=>l("option",{value:"lollms"},"Lollms communication template",-1)),Gdt=D(()=>l("option",{value:"lollms_simplified"},"Lollms simplified communication template",-1)),Vdt=D(()=>l("option",{value:"bare"},"Bare, useful when in chat mode",-1)),zdt=D(()=>l("option",{value:"llama3"},"LLama3 communication template",-1)),Hdt=D(()=>l("option",{value:"mistral"},"Mistral communication template",-1)),qdt=[Bdt,Gdt,Vdt,zdt,Hdt],$dt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start header id template:")],-1)),Ydt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End header id template:")],-1)),Wdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_user_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start user header id template:")],-1)),Kdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_user_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End user header id template:")],-1)),jdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_user_message_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End user message id template:")],-1)),Qdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_ai_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start ai header id template:")],-1)),Xdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_ai_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End ai header id template:")],-1)),Zdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_ai_message_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End ai message id template:")],-1)),Jdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"separator_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Separator template:")],-1)),eut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"system_message_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"System template:")],-1)),tut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"full_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Full template:")],-1)),nut=["innerHTML"],sut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_continue_message",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"useful for chat models and repote models but can be less useful for instruct ones"},"Use continue message:")],-1)),iut={style:{width:"100%"}},rut={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"},out=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),aut={style:{width:"100%"}},lut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),cut={style:{width:"100%"}},dut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_user_informations_in_discussion",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),uut={style:{width:"100%"}},put=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_model_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use model name in discussion:")],-1)),_ut={style:{width:"100%"}},hut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"user_avatar",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),fut={for:"avatar-upload"},mut=["src"],gut={style:{width:"10%"}},but=D(()=>l("i",{"data-feather":"x"},null,-1)),Eut=[but],yut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),vut={class:"flex flex-row"},Sut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"max_n_predict",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Maximum number of output tokens space (forces the model to have more space to speak):")],-1)),Tut={style:{width:"100%"}},xut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"max_n_predict",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Minimum number of output tokens space (forces the model to have more space to speak):")],-1)),Cut={style:{width:"100%"}},wut={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"},Rut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_code_execution",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on code execution:")],-1)),Aut={style:{width:"100%"}},Nut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_code_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on code validation (very recommended for security reasons):")],-1)),Out={style:{width:"100%"}},Mut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_setting_update_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on apply settings validation (very recommended for security reasons):")],-1)),Iut={style:{width:"100%"}},kut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_open_file_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on open file/folder validation:")],-1)),Dut={style:{width:"100%"}},Lut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_send_file_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on send file validation:")],-1)),Put={style:{width:"100%"}},Fut={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"},Uut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_skills_lib",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate Skills library:")],-1)),But={class:"flex flex-row"},Gut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"discussion_db_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Skills library database name:")],-1)),Vut={style:{width:"100%"}},zut={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"},Hut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"pdf_latex_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"PDF LaTeX path:")],-1)),qut={class:"flex flex-row"},$ut={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"},Yut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"positive_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Positive Boost:")],-1)),Wut={class:"flex flex-row"},Kut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"negative_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Negative Boost:")],-1)),jut={class:"flex flex-row"},Qut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"fun_mode",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fun mode:")],-1)),Xut={class:"flex flex-row"},Zut={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Jut={class:"flex flex-row p-3"},ept=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),tpt=[ept],npt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),spt=[npt],ipt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Data management settings",-1)),rpt={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"},opt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_databases",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data Sources:")],-1)),apt={style:{width:"100%"}},lpt=["onUpdate:modelValue"],cpt=["onClick"],dpt=["onClick"],upt=["onClick"],ppt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG Vectorizer:")],-1)),_pt=D(()=>l("option",{value:"semantic"},"Semantic Vectorizer",-1)),hpt=D(()=>l("option",{value:"tfidf"},"TFIDF Vectorizer",-1)),fpt=D(()=>l("option",{value:"openai"},"OpenAI Vectorizer",-1)),mpt=[_pt,hpt,fpt],gpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_vectorizer_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG Vectorizer model:")],-1)),bpt=["disabled"],Ept={key:0,value:"sentence-transformers/bert-base-nli-mean-tokens"},ypt={key:1,value:"bert-base-uncased"},vpt={key:2,value:"bert-base-multilingual-uncased"},Spt={key:3,value:"bert-large-uncased"},Tpt={key:4,value:"bert-large-uncased-whole-word-masking-finetuned-squad"},xpt={key:5,value:"distilbert-base-uncased"},Cpt={key:6,value:"roberta-base"},wpt={key:7,value:"roberta-large"},Rpt={key:8,value:"xlm-roberta-base"},Apt={key:9,value:"xlm-roberta-large"},Npt={key:10,value:"albert-base-v2"},Opt={key:11,value:"albert-large-v2"},Mpt={key:12,value:"albert-xlarge-v2"},Ipt={key:13,value:"albert-xxlarge-v2"},kpt={key:14,value:"sentence-transformers/all-MiniLM-L6-v2"},Dpt={key:15,value:"sentence-transformers/all-MiniLM-L12-v2"},Lpt={key:16,value:"sentence-transformers/all-distilroberta-v1"},Ppt={key:17,value:"sentence-transformers/all-mpnet-base-v2"},Fpt={key:18,value:"text-embedding-ada-002"},Upt={key:19,value:"text-embedding-babbage-001"},Bpt={key:20,value:"text-embedding-curie-001"},Gpt={key:21,value:"text-embedding-davinci-001"},Vpt={key:22,disabled:""},zpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_vectorizer_openai_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open AI key for open ai embedding method (if not provided I'll use OPENAI_API_KEY environment variable):")],-1)),Hpt={class:"flex flex-row"},qpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG chunk size:")],-1)),$pt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_overlap",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG overlap size:")],-1)),Ypt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_n_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG number of chunks:")],-1)),Wpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_clean_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Clean chunks:")],-1)),Kpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_follow_subfolders",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Follow subfolders:")],-1)),jpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_check_new_files_at_startup",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Check for new files at startup:")],-1)),Qpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_preprocess_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Preprocess chunks:")],-1)),Xpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_activate_multi_hops",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate multi hops RAG:")],-1)),Zpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"contextual_summary",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use contextual summary instead of rag (consumes alot of tokens and may be very slow but efficient, useful for summary and global questions that RAG can't do):")],-1)),Jpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_deactivate",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Useful for very big contexts and global tasks that require the whole document"},"Use all the document content (No split):")],-1)),e_t={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},t_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save vectorized database:")],-1)),n_t={class:"flex flex-row"},s_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_visualize_on_vectorization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"show vectorized data:")],-1)),i_t={class:"flex flex-row"},r_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Reformulate prompt before querying database (advised):")],-1)),o_t={class:"flex flex-row"},a_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_force_first_chunk",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Force adding the first chunk of the file to the context:")],-1)),l_t={class:"flex flex-row"},c_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_put_chunk_informations_into_context",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Put Chunk Information Into Context:")],-1)),d_t={class:"flex flex-row"},u_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),p_t=D(()=>l("option",{value:"tfidf_vectorizer"},"tfidf Vectorizer",-1)),__t=D(()=>l("option",{value:"bm25_vectorizer"},"bm25 Vectorizer",-1)),h_t=D(()=>l("option",{value:"model_embedding"},"Model Embedding",-1)),f_t=D(()=>l("option",{value:"sentense_transformer"},"Sentense Transformer",-1)),m_t=[p_t,__t,h_t,f_t],g_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_sentense_transformer_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization model (for Sentense Transformer):")],-1)),b_t={style:{width:"100%"}},E_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),y_t=D(()=>l("option",{value:"PCA"},"PCA",-1)),v_t=D(()=>l("option",{value:"TSNE"},"TSNE",-1)),S_t=[y_t,v_t],T_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save the new files to the database (The database wil always grow and continue to be the same over many sessions):")],-1)),x_t={class:"flex flex-row"},C_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),w_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),R_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),A_t={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},N_t={class:"flex flex-row p-3"},O_t=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),M_t=[O_t],I_t=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),k_t=[I_t],D_t=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Internet",-1)),L_t={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"},P_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_internet_search",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate internet search:")],-1)),F_t={class:"flex flex-row"},U_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_internet_pages_judgement",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate internet pages judgement:")],-1)),B_t={class:"flex flex-row"},G_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_quick_search",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate quick search:")],-1)),V_t={class:"flex flex-row"},z_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_activate_search_decision",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate search decision:")],-1)),H_t={class:"flex flex-row"},q_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet vectorization chunk size:")],-1)),$_t={class:"flex flex-col"},Y_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet vectorization overlap size:")],-1)),W_t={class:"flex flex-col"},K_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_vectorization_nb_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet vectorization number of chunks:")],-1)),j_t={class:"flex flex-col"},Q_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_nb_search_pages",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet number of search pages:")],-1)),X_t={class:"flex flex-col"},Z_t={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},J_t={class:"flex flex-row p-3"},eht=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),tht=[eht],nht=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),sht=[nht],iht=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Services Zoo",-1)),rht={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"},oht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_tts_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to speach engine"},"Active TTS Service:")],-1)),aht={style:{width:"100%"}},lht=D(()=>l("option",{value:"None"},"None",-1)),cht=D(()=>l("option",{value:"browser"},"Use Browser TTS (doesn't work in realtime mode)",-1)),dht=D(()=>l("option",{value:"xtts"},"XTTS",-1)),uht=D(()=>l("option",{value:"parler-tts"},"Parler-TTS",-1)),pht=D(()=>l("option",{value:"openai_tts"},"Open AI TTS",-1)),_ht=D(()=>l("option",{value:"eleven_labs_tts"},"ElevenLabs TTS",-1)),hht=D(()=>l("option",{value:"fish_tts"},"Fish TTS",-1)),fht=[lht,cht,dht,uht,pht,_ht,hht],mht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_stt_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Speach to Text engine"},"Active STT Service:")],-1)),ght={style:{width:"100%"}},bht=D(()=>l("option",{value:"None"},"None",-1)),Eht=D(()=>l("option",{value:"whisper"},"Whisper",-1)),yht=D(()=>l("option",{value:"openai_whisper"},"Open AI Whisper",-1)),vht=[bht,Eht,yht],Sht=D(()=>l("tr",null,null,-1)),Tht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_tti_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to image engine"},"Active TTI Service:")],-1)),xht={style:{width:"100%"}},Cht=D(()=>l("option",{value:"None"},"None",-1)),wht=D(()=>l("option",{value:"diffusers"},"Diffusers",-1)),Rht=D(()=>l("option",{value:"diffusers_client"},"Diffusers Client",-1)),Aht=D(()=>l("option",{value:"autosd"},"AUTO1111's SD",-1)),Nht=D(()=>l("option",{value:"dall-e"},"Open AI DALL-E",-1)),Oht=D(()=>l("option",{value:"midjourney"},"Midjourney",-1)),Mht=D(()=>l("option",{value:"comfyui"},"Comfyui",-1)),Iht=D(()=>l("option",{value:"fooocus"},"Fooocus",-1)),kht=[Cht,wht,Rht,Aht,Nht,Oht,Mht,Iht],Dht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_ttm_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to Music engine"},"Active TTM Service:")],-1)),Lht={style:{width:"100%"}},Pht=D(()=>l("option",{value:"None"},"None",-1)),Fht=D(()=>l("option",{value:"musicgen"},"Music Gen",-1)),Uht=[Pht,Fht],Bht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_ttv_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to speach engine"},"Active TTV Service:")],-1)),Ght={style:{width:"100%"}},Vht=D(()=>l("option",{value:"None"},"None",-1)),zht=D(()=>l("option",{value:"cog_video_x"},"Cog Video X",-1)),Hht=[Vht,zht],qht={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"},$ht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_negative_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use negative prompt:")],-1)),Yht={class:"flex flex-row"},Wht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_ai_generated_negative_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use AI generated negative prompt:")],-1)),Kht={class:"flex flex-row"},jht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"negative_prompt_generation_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Negative prompt generation prompt:")],-1)),Qht={class:"flex flex-row"},Xht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"default_negative_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Default negative prompt:")],-1)),Zht={class:"flex flex-row"},Jht={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"},eft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_listening_threshold",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Listening threshold"},"Listening threshold:")],-1)),tft={style:{width:"100%"}},nft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_silence_duration",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Scilence duration"},"Silence duration (s):")],-1)),sft={style:{width:"100%"}},ift=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_sound_threshold_percentage",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"stt_sound_threshold_percentage"},"Minimum sound percentage in recorded segment:")],-1)),rft={style:{width:"100%"}},oft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_gain",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"STT Gain"},"Volume amplification:")],-1)),aft={style:{width:"100%"}},lft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_rate",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Audio Rate"},"audio rate:")],-1)),cft={style:{width:"100%"}},dft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_channels",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"number of channels"},"number of channels:")],-1)),uft={style:{width:"100%"}},pft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_buffer_size",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Buffer size"},"Buffer size:")],-1)),_ft={style:{width:"100%"}},hft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_activate_word_detection",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate word detection:")],-1)),fft={class:"flex flex-row"},mft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_word_detection_file",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Word detection wav file:")],-1)),gft={class:"flex flex-row"},bft={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"},Eft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_input_device",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Input device"},"Audio Input device:")],-1)),yft={style:{width:"100%"}},vft=["value"],Sft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"tts_output_device",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Input device"},"Audio Output device:")],-1)),Tft={style:{width:"100%"}},xft=["value"],Cft={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"},wft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"host",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),Rft={style:{width:"100%"}},Aft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"lollms_access_keys",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Access keys:")],-1)),Nft={style:{width:"100%"}},Oft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"port",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),Mft={style:{width:"100%"}},Ift=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"headless_server_mode",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate headless server mode:")],-1)),kft={style:{width:"100%"}},Dft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms server:")],-1)),Lft={style:{width:"100%"}},Pft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_rag_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms RAG server:")],-1)),Fft={style:{width:"100%"}},Uft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_tts_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms TTS server:")],-1)),Bft={style:{width:"100%"}},Gft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_stt_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms STT server:")],-1)),Vft={style:{width:"100%"}},zft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_tti_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms TTI server:")],-1)),Hft={style:{width:"100%"}},qft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_itt_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms ITT server:")],-1)),$ft={style:{width:"100%"}},Yft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_ttm_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms TTM server:")],-1)),Wft={style:{width:"100%"}},Kft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_ollama_emulator",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate ollama server emulator:")],-1)),jft={style:{width:"100%"}},Qft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_openai_emulator",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate openai server emulator:")],-1)),Xft={style:{width:"100%"}},Zft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_mistralai_emulator",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate mistral ai server emulator:")],-1)),Jft={style:{width:"100%"}},emt={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"},tmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_audio_infos",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate audio infos:")],-1)),nmt={class:"flex flex-row"},smt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),imt={class:"flex flex-row"},rmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),omt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),amt=["value"],lmt={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"},cmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"whisper_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate Whisper at startup:")],-1)),dmt={class:"flex flex-row"},umt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}})],-1)),pmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"whisper_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Whisper model:")],-1)),_mt={class:"flex flex-row"},hmt=["value"],fmt={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"},mmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_whisper_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai whisper key:")],-1)),gmt={class:"flex flex-row"},bmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_whisper_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open Ai Whisper model:")],-1)),Emt={class:"flex flex-row"},ymt=["value"],vmt={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"},Smt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),Tmt={class:"flex flex-row"},xmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),Cmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),wmt=["value"],Rmt={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"},Amt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),Nmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),Omt={class:"flex flex-row"},Mmt=["value"],Imt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current voice:")],-1)),kmt={class:"flex flex-row"},Dmt=["value"],Lmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_freq",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Frequency (controls the tone):")],-1)),Pmt={class:"flex flex-row"},Fmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_read",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto read:")],-1)),Umt={class:"flex flex-row"},Bmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_stream_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"xtts stream chunk size:")],-1)),Gmt={class:"flex flex-row"},Vmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_temperature",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Temperature:")],-1)),zmt={class:"flex flex-row"},Hmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_length_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Length Penalty:")],-1)),qmt={class:"flex flex-row"},$mt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_repetition_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Repetition Penalty:")],-1)),Ymt={class:"flex flex-row"},Wmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_top_k",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top K:")],-1)),Kmt={class:"flex flex-row"},jmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_top_p",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top P:")],-1)),Qmt={class:"flex flex-row"},Xmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_speed",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Speed:")],-1)),Zmt={class:"flex flex-row"},Jmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_text_splitting",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable Text Splitting:")],-1)),egt={class:"flex flex-row"},tgt={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"},ngt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open AI key:")],-1)),sgt={class:"flex flex-row"},igt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_tts_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts model:")],-1)),rgt={class:"flex flex-row"},ogt=D(()=>l("option",null," tts-1 ",-1)),agt=D(()=>l("option",null," tts-2 ",-1)),lgt=[ogt,agt],cgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts voice:")],-1)),dgt={class:"flex flex-row"},ugt=D(()=>l("option",null," alloy ",-1)),pgt=D(()=>l("option",null," echo ",-1)),_gt=D(()=>l("option",null," fable ",-1)),hgt=D(()=>l("option",null," nova ",-1)),fgt=D(()=>l("option",null," shimmer ",-1)),mgt=[ugt,pgt,_gt,hgt,fgt],ggt={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"},bgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs key:")],-1)),Egt={class:"flex flex-row"},ygt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_model_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs TTS model ID:")],-1)),vgt={class:"flex flex-row"},Sgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_voice_stability",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Stability:")],-1)),Tgt={class:"flex flex-row"},xgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_voice_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Boost:")],-1)),Cgt={class:"flex flex-row"},wgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_voice_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice ID:")],-1)),Rgt={class:"flex flex-row"},Agt=["value"],Ngt={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"},Ogt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"fish_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS key:")],-1)),Mgt={class:"flex flex-row"},Igt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"fish_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS voice:")],-1)),kgt={class:"flex flex-row"},Dgt={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"},Lgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable sd service:")],-1)),Pgt={class:"flex flex-row"},Fgt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),Ugt=[Fgt],Bgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"install_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install SD service:")],-1)),Ggt={class:"flex flex-row"},Vgt=D(()=>l("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/stable-diffusion-webui/blob/master/LICENSE.txt",target:"_blank"},"automatic1111's sd licence",-1)),zgt={class:"flex flex-row"},Hgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"sd_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"sd base url:")],-1)),qgt={class:"flex flex-row"},$gt={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"},Ygt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"install_diffusers_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Diffusers service:")],-1)),Wgt={class:"flex flex-row"},Kgt=D(()=>l("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/huggingface/diffusers?tab=Apache-2.0-1-ov-file#readme",target:"_blank"},"Diffusers licence",-1)),jgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"diffusers_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers model:")],-1)),Qgt={class:"flex flex-row"},Xgt=D(()=>l("td",null,null,-1)),Zgt={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"},Jgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"diffusers_client_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers client base url:")],-1)),ebt={class:"flex flex-row"},tbt=D(()=>l("td",null,null,-1)),nbt={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"},sbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"midjourney_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"midjourney key:")],-1)),ibt={class:"flex flex-row"},rbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"midjourney_timeout",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"request timeout(s):")],-1)),obt={class:"flex flex-row"},abt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"midjourney_retries",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"number of retries:")],-1)),lbt={class:"flex flex-row"},cbt={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"},dbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"dall_e_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e key:")],-1)),ubt={class:"flex flex-row"},pbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"dall_e_generation_engine",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e generation engine:")],-1)),_bt={class:"flex flex-row"},hbt=D(()=>l("option",null," dall-e-2 ",-1)),fbt=D(()=>l("option",null," dall-e-3 ",-1)),mbt=[hbt,fbt],gbt={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"},bbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_comfyui_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui service:")],-1)),Ebt={class:"flex flex-row"},ybt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),vbt=[ybt],Sbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Available models (only if local):")],-1)),Tbt={class:"flex flex-row"},xbt=["value"],Cbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui model:")],-1)),wbt={class:"flex flex-row"},Rbt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),Abt=[Rbt],Nbt=D(()=>l("td",{style:{"min-width":"200px"}},null,-1)),Obt={class:"flex flex-row"},Mbt=D(()=>l("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/ComfyUI/blob/master/LICENSE",target:"_blank"},"comfyui licence",-1)),Ibt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"comfyui_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"comfyui base url:")],-1)),kbt={class:"flex flex-row"},Dbt={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"},Lbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_ollama_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable ollama service:")],-1)),Pbt={class:"flex flex-row"},Fbt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),Ubt=[Fbt],Bbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"ollama_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Ollama service:")],-1)),Gbt={class:"flex flex-row"},Vbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"ollama_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"ollama base url:")],-1)),zbt={class:"flex flex-row"},Hbt={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"},qbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_vllm_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable vLLM service:")],-1)),$bt={class:"flex flex-row"},Ybt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),Wbt=[Ybt],Kbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install vLLM service:")],-1)),jbt={class:"flex flex-row"},Qbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm base url:")],-1)),Xbt={class:"flex flex-row"},Zbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_gpu_memory_utilization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"gpu memory utilization:")],-1)),Jbt={class:"flex flex-col align-bottom"},eEt={class:"relative"},tEt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"vllm_gpu_memory_utilization",class:"text-sm font-medium"}," vllm gpu memory utilization: ")],-1)),nEt={class:"absolute right-0"},sEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_max_num_seqs",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm max num seqs:")],-1)),iEt={class:"flex flex-row"},rEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_max_model_len",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"max model len:")],-1)),oEt={class:"flex flex-row"},aEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_model_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm model path:")],-1)),lEt={class:"flex flex-row"},cEt={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"},dEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_petals_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable petals service:")],-1)),uEt={class:"flex flex-row"},pEt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),_Et=[pEt],hEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Petals service:")],-1)),fEt={class:"flex flex-row"},mEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"petals base url:")],-1)),gEt={class:"flex flex-row"},bEt={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"},EEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable elastic search service:")],-1)),yEt={class:"flex flex-row"},vEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"install_elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Reinstall Elastic Search service:")],-1)),SEt={class:"flex flex-row"},TEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elastic_search_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"elastic search base url:")],-1)),xEt={class:"flex flex-row"},CEt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},wEt={class:"flex flex-row p-3"},REt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),AEt=[REt],NEt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),OEt=[NEt],MEt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),IEt={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},kEt=D(()=>l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),DEt={key:1,class:"mr-2"},LEt={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},PEt={class:"flex gap-1 items-center"},FEt=["src"],UEt={class:"font-bold font-large text-lg line-clamp-1"},BEt={key:0,class:"mb-2"},GEt={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},VEt=D(()=>l("i",{"data-feather":"chevron-up"},null,-1)),zEt=[VEt],HEt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),qEt=[HEt],$Et={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},YEt={class:"flex flex-row p-3"},WEt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),KEt=[WEt],jEt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),QEt=[jEt],XEt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),ZEt={class:"flex flex-row items-center"},JEt={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},eyt=D(()=>l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),tyt={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},nyt=D(()=>l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),syt={key:2,class:"mr-2"},iyt={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},ryt={class:"flex gap-1 items-center"},oyt=["src"],ayt={class:"font-bold font-large text-lg line-clamp-1"},lyt={class:"mx-2 mb-4"},cyt={class:"relative"},dyt={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},uyt={key:0},pyt=D(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),_yt=[pyt],hyt={key:1},fyt=D(()=>l("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"},[l("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)),myt=[fyt],gyt=D(()=>l("label",{for:"only_installed"},"Show only installed models",-1)),byt=D(()=>l("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",class:"mb-4 font-bold underline text-blue-500 pb-4"},"Hugging face Leaderboard",-1)),Eyt={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},yyt=D(()=>l("svg",{"aria-hidden":"true",class:"text-center w-full display: flex;align-items: center; h-20 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("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"}),l("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)),vyt=D(()=>l("p",{class:"heartbeat-text"},"Loading models Zoo",-1)),Syt=[yyt,vyt],Tyt={key:1,class:"mb-2"},xyt={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Cyt=D(()=>l("i",{"data-feather":"chevron-up"},null,-1)),wyt=[Cyt],Ryt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Ayt=[Ryt],Nyt={class:"mb-2"},Oyt={class:"p-2"},Myt={class:"mb-3"},Iyt=D(()=>l("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),kyt={key:0},Dyt={class:"mb-3"},Lyt=D(()=>l("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),Pyt={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},Fyt=D(()=>l("div",{role:"status",class:"justify-center"},null,-1)),Uyt={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Byt={class:"w-full p-2"},Gyt={class:"flex justify-between mb-1"},Vyt=Fa(' Downloading Loading...',1),zyt={class:"text-sm font-medium text-blue-700 dark:text-white"},Hyt=["title"],qyt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},$yt={class:"flex justify-between mb-1"},Yyt={class:"text-base font-medium text-blue-700 dark:text-white"},Wyt={class:"text-sm font-medium text-blue-700 dark:text-white"},Kyt={class:"flex flex-grow"},jyt={class:"flex flex-row flex-grow gap-3"},Qyt={class:"p-2 text-center grow"},Xyt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Zyt={class:"flex flex-row p-3 items-center"},Jyt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),evt=[Jyt],tvt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),nvt=[tvt],svt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),ivt={key:0,class:"mr-2"},rvt={class:"mr-2 font-bold font-large text-lg line-clamp-1"},ovt={key:1,class:"mr-2"},avt={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},lvt={key:0,class:"flex -space-x-4 items-center"},cvt={class:"group items-center flex flex-row"},dvt=["onClick"],uvt=["src","title"],pvt=["onClick"],_vt=D(()=>l("span",{class:"hidden group-hover:block -top-2 -right-1 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[l("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"},[l("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)),hvt=[_vt],fvt=D(()=>l("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"},[l("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)),mvt=[fvt],gvt={class:"mx-2 mb-4"},bvt=D(()=>l("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),Evt={class:"relative"},yvt={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},vvt={key:0},Svt=D(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),Tvt=[Svt],xvt={key:1},Cvt=D(()=>l("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"},[l("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)),wvt=[Cvt],Rvt={key:0,class:"mx-2 mb-4"},Avt={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},Nvt=["selected"],Ovt={key:0,class:"mb-2"},Mvt={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Ivt=D(()=>l("i",{"data-feather":"chevron-up"},null,-1)),kvt=[Ivt],Dvt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Lvt=[Dvt],Pvt={class:"flex flex-col mb-2 p-3 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Fvt={class:"flex flex-row"},Uvt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),Bvt=[Uvt],Gvt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Vvt=[Gvt],zvt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),Hvt={class:"m-2"},qvt={class:"flex flex-row gap-2 items-center"},$vt=D(()=>l("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),Yvt={class:"m-2"},Wvt=D(()=>l("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),Kvt={class:"m-2"},jvt={class:"flex flex-col align-bottom"},Qvt={class:"relative"},Xvt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),Zvt={class:"absolute right-0"},Jvt={class:"m-2"},e0t={class:"flex flex-col align-bottom"},t0t={class:"relative"},n0t=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),s0t={class:"absolute right-0"},i0t={class:"m-2"},r0t={class:"flex flex-col align-bottom"},o0t={class:"relative"},a0t=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),l0t={class:"absolute right-0"},c0t={class:"m-2"},d0t={class:"flex flex-col align-bottom"},u0t={class:"relative"},p0t=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),_0t={class:"absolute right-0"},h0t={class:"m-2"},f0t={class:"flex flex-col align-bottom"},m0t={class:"relative"},g0t=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),b0t={class:"absolute right-0"},E0t={class:"m-2"},y0t={class:"flex flex-col align-bottom"},v0t={class:"relative"},S0t=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),T0t={class:"absolute right-0"};function x0t(n,e,t,s,i,r){const o=tt("StringListManager"),a=tt("Card"),c=tt("BindingEntry"),d=tt("RadioOptions"),u=tt("model-entry"),h=tt("personality-entry"),f=tt("AddModelDialog"),m=tt("ChoiceDialog");return T(),x(Fe,null,[l("div",rlt,[l("div",olt,[i.showConfirmation?(T(),x("div",alt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=j(_=>i.showConfirmation=!1,["stop"]))},clt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=j(_=>r.save_configuration(),["stop"]))},ult)])):G("",!0),i.showConfirmation?G("",!0):(T(),x("div",plt,[l("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=_=>r.reset_configuration())},hlt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[3]||(e[3]=j(_=>i.all_collapsed=!i.all_collapsed,["stop"]))},mlt)])),l("div",glt,[l("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[4]||(e[4]=_=>r.api_get_req("clear_uploads").then(g=>{g.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},Elt),l("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=_=>r.api_post_req("restart_program").then(g=>{g.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},vlt),i.has_updates?(T(),x("button",{key:0,title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=_=>r.api_post_req("update_software").then(g=>{g.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast("Success!",4,!0)}))},xlt)):G("",!0),l("div",Clt,[i.settingsChanged?(T(),x("div",wlt,[i.isLoading?G("",!0):(T(),x("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[7]||(e[7]=j(_=>r.applyConfiguration(),["stop"]))},Alt)),i.isLoading?G("",!0):(T(),x("button",{key:1,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Cancel changes",type:"button",onClick:e[8]||(e[8]=j(_=>r.cancelConfiguration(),["stop"]))},Olt))])):G("",!0),i.isLoading?(T(),x("div",Mlt,[l("p",null,K(i.loading_text),1),Ilt,klt])):G("",!0)])])]),l("div",{class:Ge(i.isLoading?"pointer-events-none opacity-30 w-full":"w-full")},[l("div",Dlt,[l("div",Llt,[l("button",{onClick:e[9]||(e[9]=j(_=>i.sc_collapsed=!i.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,Flt,512),[[wt,i.sc_collapsed]]),P(l("div",null,Blt,512),[[wt,!i.sc_collapsed]]),Glt,Vlt,l("div",zlt,[l("div",Hlt,[l("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(T(),x("div",qlt,[(T(!0),x(Fe,null,Ke(r.vramUsage.gpus,_=>(T(),x("div",{class:"flex gap-2 items-center",key:_},[l("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,$lt),l("p",Ylt,[l("div",null,K(r.computedFileSize(_.used_vram))+" / "+K(r.computedFileSize(_.total_vram))+" ("+K(_.percentage)+"%) ",1)])]))),128))])):G("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(T(),x("div",Wlt,[l("div",Klt,[l("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,jlt),l("p",Qlt,[l("div",null,K(r.vramUsage.gpus.length)+"x ",1)])])])):G("",!0)]),Xlt,l("p",Zlt,[l("div",null,K(r.ram_usage)+" / "+K(r.ram_total_space)+" ("+K(r.ram_percent_usage)+"%)",1)]),Jlt,l("p",ect,[l("div",null,K(r.disk_binding_models_usage)+" / "+K(r.disk_total_space)+" ("+K(r.disk_percent_usage)+"%)",1)])])])])]),l("div",{class:Ge([{hidden:i.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",tct,[nct,l("div",sct,[l("div",null,[ict,Je(K(r.ram_available_space),1)]),l("div",null,[rct,Je(" "+K(r.ram_usage)+" / "+K(r.ram_total_space)+" ("+K(r.ram_percent_usage)+")% ",1)])]),l("div",oct,[l("div",act,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Kt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),l("div",lct,[cct,l("div",dct,[l("div",null,[uct,Je(K(r.disk_available_space),1)]),l("div",null,[pct,Je(" "+K(r.disk_binding_models_usage)+" / "+K(r.disk_total_space)+" ("+K(r.disk_percent_usage)+"%)",1)])]),l("div",_ct,[l("div",hct,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Kt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(T(!0),x(Fe,null,Ke(r.vramUsage.gpus,_=>(T(),x("div",{class:"mb-2",key:_},[l("label",fct,[l("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,mct),Je(" GPU usage: ")]),l("div",gct,[l("div",null,[bct,Je(K(_.gpu_model),1)]),l("div",null,[Ect,Je(K(this.computedFileSize(_.available_space)),1)]),l("div",null,[yct,Je(" "+K(this.computedFileSize(_.used_vram))+" / "+K(this.computedFileSize(_.total_vram))+" ("+K(_.percentage)+"%)",1)])]),l("div",vct,[l("div",Sct,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Kt("width: "+_.percentage+"%;")},null,4)])])]))),128))],2)]),l("div",Tct,[l("div",xct,[l("button",{onClick:e[10]||(e[10]=j(_=>i.smartrouterconf_collapsed=!i.smartrouterconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,wct,512),[[wt,i.smartrouterconf_collapsed]]),P(l("div",null,Act,512),[[wt,!i.smartrouterconf_collapsed]]),Nct])]),l("div",{class:Ge([{hidden:i.smartrouterconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",Oct,[V(a,{title:"Smart Routing Settings",is_shrunk:!1,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Mct,[l("tr",null,[Ict,l("td",kct,[P(l("input",{type:"checkbox",id:"use_smart_routing","onUpdate:modelValue":e[11]||(e[11]=_=>r.configFile.use_smart_routing=_),onChange:e[12]||(e[12]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_smart_routing]])])]),l("tr",null,[Dct,l("td",Lct,[P(l("input",{type:"checkbox",id:"restore_model_after_smart_routing","onUpdate:modelValue":e[13]||(e[13]=_=>r.configFile.restore_model_after_smart_routing=_),onChange:e[14]||(e[14]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.restore_model_after_smart_routing]])])]),l("tr",null,[Pct,l("td",Fct,[P(l("input",{type:"text",id:"smart_routing_router_model","onUpdate:modelValue":e[15]||(e[15]=_=>r.configFile.smart_routing_router_model=_),onChange:e[16]||(e[16]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.smart_routing_router_model]])])]),l("tr",null,[Uct,l("td",Bct,[V(o,{modelValue:r.configFile.smart_routing_models_by_power,"onUpdate:modelValue":e[17]||(e[17]=_=>r.configFile.smart_routing_models_by_power=_),onChange:e[18]||(e[18]=_=>i.settingsChanged=!0),placeholder:"Enter model name"},null,8,["modelValue"])])])])]),_:1})])],2)]),l("div",Gct,[l("div",Vct,[l("button",{onClick:e[19]||(e[19]=j(_=>i.mainconf_collapsed=!i.mainconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,Hct,512),[[wt,i.mainconf_collapsed]]),P(l("div",null,$ct,512),[[wt,!i.mainconf_collapsed]]),Yct])]),l("div",{class:Ge([{hidden:i.mainconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",Wct,[V(a,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Kct,[l("tr",null,[jct,l("td",null,[l("label",Qct,[l("img",{src:r.configFile.app_custom_logo!=null&&r.configFile.app_custom_logo!=""?"/user_infos/"+r.configFile.app_custom_logo:i.storeLogo,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,Xct)]),l("input",{type:"file",id:"logo-upload",style:{display:"none"},onChange:e[20]||(e[20]=(..._)=>r.uploadLogo&&r.uploadLogo(..._))},null,32)]),l("td",Zct,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[21]||(e[21]=j(_=>r.resetLogo(),["stop"]))},edt)])]),l("tr",null,[tdt,l("td",ndt,[l("div",sdt,[P(l("select",{id:"hardware_mode",required:"","onUpdate:modelValue":e[22]||(e[22]=_=>r.configFile.hardware_mode=_),onChange:e[23]||(e[23]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},pdt,544),[[Dt,r.configFile.hardware_mode]])])])]),l("tr",null,[_dt,l("td",hdt,[P(l("input",{type:"text",id:"discussion_db_name",required:"","onUpdate:modelValue":e[24]||(e[24]=_=>r.configFile.discussion_db_name=_),onChange:e[25]||(e[25]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.discussion_db_name]])])]),l("tr",null,[fdt,l("td",null,[l("div",mdt,[P(l("input",{type:"checkbox",id:"copy_to_clipboard_add_all_details",required:"","onUpdate:modelValue":e[26]||(e[26]=_=>r.configFile.copy_to_clipboard_add_all_details=_),onChange:e[27]||(e[27]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.copy_to_clipboard_add_all_details]])])])]),l("tr",null,[gdt,l("td",null,[l("div",bdt,[P(l("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[28]||(e[28]=_=>r.configFile.auto_show_browser=_),onChange:e[29]||(e[29]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_show_browser]])])])]),l("tr",null,[Edt,l("td",null,[l("div",ydt,[P(l("input",{type:"checkbox",id:"activate_debug",required:"","onUpdate:modelValue":e[30]||(e[30]=_=>r.configFile.debug=_),onChange:e[31]||(e[31]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug]])])])]),l("tr",null,[vdt,l("td",null,[l("div",Sdt,[P(l("input",{type:"checkbox",id:"debug_show_final_full_prompt",required:"","onUpdate:modelValue":e[32]||(e[32]=_=>r.configFile.debug_show_final_full_prompt=_),onChange:e[33]||(e[33]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug_show_final_full_prompt]])])])]),l("tr",null,[Tdt,l("td",null,[l("div",xdt,[P(l("input",{type:"checkbox",id:"debug_show_final_full_prompt",required:"","onUpdate:modelValue":e[34]||(e[34]=_=>r.configFile.debug_show_final_full_prompt=_),onChange:e[35]||(e[35]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug_show_final_full_prompt]])])])]),l("tr",null,[Cdt,l("td",null,[l("div",wdt,[P(l("input",{type:"checkbox",id:"debug_show_chunks",required:"","onUpdate:modelValue":e[36]||(e[36]=_=>r.configFile.debug_show_chunks=_),onChange:e[37]||(e[37]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug_show_chunks]])])])]),l("tr",null,[Rdt,l("td",null,[l("div",Adt,[P(l("input",{type:"text",id:"debug_log_file_path",required:"","onUpdate:modelValue":e[38]||(e[38]=_=>r.configFile.debug_log_file_path=_),onChange:e[39]||(e[39]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.debug_log_file_path]])])])]),l("tr",null,[Ndt,l("td",null,[l("div",Odt,[P(l("input",{type:"checkbox",id:"show_news_panel",required:"","onUpdate:modelValue":e[40]||(e[40]=_=>r.configFile.show_news_panel=_),onChange:e[41]||(e[41]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.show_news_panel]])])])]),l("tr",null,[Mdt,l("td",null,[l("div",Idt,[P(l("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[42]||(e[42]=_=>r.configFile.auto_save=_),onChange:e[43]||(e[43]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_save]])])])]),l("tr",null,[kdt,l("td",null,[l("div",Ddt,[P(l("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[44]||(e[44]=_=>r.configFile.auto_update=_),onChange:e[45]||(e[45]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_update]])])])]),l("tr",null,[Ldt,l("td",null,[l("div",Pdt,[P(l("input",{type:"checkbox",id:"auto_title",required:"","onUpdate:modelValue":e[46]||(e[46]=_=>r.configFile.auto_title=_),onChange:e[47]||(e[47]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_title]])])])])])]),_:1}),V(a,{title:"Model template",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Fdt,[l("tr",null,[Udt,l("td",null,[l("select",{onChange:e[48]||(e[48]=(..._)=>r.handleTemplateSelection&&r.handleTemplateSelection(..._))},qdt,32)])]),l("tr",null,[$dt,l("td",null,[P(l("input",{type:"text",id:"start_header_id_template",required:"","onUpdate:modelValue":e[49]||(e[49]=_=>r.configFile.start_header_id_template=_),onChange:e[50]||(e[50]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.start_header_id_template]])])]),l("tr",null,[Ydt,l("td",null,[P(l("input",{type:"text",id:"end_header_id_template",required:"","onUpdate:modelValue":e[51]||(e[51]=_=>r.configFile.end_header_id_template=_),onChange:e[52]||(e[52]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_header_id_template]])])]),l("tr",null,[Wdt,l("td",null,[P(l("input",{type:"text",id:"start_user_header_id_template",required:"","onUpdate:modelValue":e[53]||(e[53]=_=>r.configFile.start_user_header_id_template=_),onChange:e[54]||(e[54]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.start_user_header_id_template]])])]),l("tr",null,[Kdt,l("td",null,[P(l("input",{type:"text",id:"end_user_header_id_template",required:"","onUpdate:modelValue":e[55]||(e[55]=_=>r.configFile.end_user_header_id_template=_),onChange:e[56]||(e[56]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_user_header_id_template]])])]),l("tr",null,[jdt,l("td",null,[P(l("input",{type:"text",id:"end_user_message_id_template",required:"","onUpdate:modelValue":e[57]||(e[57]=_=>r.configFile.end_user_message_id_template=_),onChange:e[58]||(e[58]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_user_message_id_template]])])]),l("tr",null,[Qdt,l("td",null,[P(l("input",{type:"text",id:"start_ai_header_id_template",required:"","onUpdate:modelValue":e[59]||(e[59]=_=>r.configFile.start_ai_header_id_template=_),onChange:e[60]||(e[60]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.start_ai_header_id_template]])])]),l("tr",null,[Xdt,l("td",null,[P(l("input",{type:"text",id:"end_ai_header_id_template",required:"","onUpdate:modelValue":e[61]||(e[61]=_=>r.configFile.end_ai_header_id_template=_),onChange:e[62]||(e[62]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_ai_header_id_template]])])]),l("tr",null,[Zdt,l("td",null,[P(l("input",{type:"text",id:"end_ai_message_id_template",required:"","onUpdate:modelValue":e[63]||(e[63]=_=>r.configFile.end_ai_message_id_template=_),onChange:e[64]||(e[64]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_ai_message_id_template]])])]),l("tr",null,[Jdt,l("td",null,[P(l("textarea",{id:"separator_template",required:"","onUpdate:modelValue":e[65]||(e[65]=_=>r.configFile.separator_template=_),onChange:e[66]||(e[66]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.separator_template]])])]),l("tr",null,[eut,l("td",null,[P(l("input",{type:"text",id:"system_message_template",required:"","onUpdate:modelValue":e[67]||(e[67]=_=>r.configFile.system_message_template=_),onChange:e[68]||(e[68]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.system_message_template]])])]),l("tr",null,[tut,l("td",null,[l("div",{innerHTML:r.full_template},null,8,nut)])]),l("tr",null,[sut,l("td",iut,[P(l("input",{type:"checkbox",id:"use_continue_message",required:"","onUpdate:modelValue":e[69]||(e[69]=_=>r.configFile.use_continue_message=_),onChange:e[70]||(e[70]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_continue_message]])])])])]),_:1}),V(a,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",rut,[l("tr",null,[out,l("td",aut,[P(l("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[71]||(e[71]=_=>r.configFile.user_name=_),onChange:e[72]||(e[72]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.user_name]])])]),l("tr",null,[lut,l("td",cut,[P(l("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[73]||(e[73]=_=>r.configFile.user_description=_),onChange:e[74]||(e[74]=_=>i.settingsChanged=!0),class:"min-h-[500px] w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.user_description]])])]),l("tr",null,[dut,l("td",uut,[P(l("input",{type:"checkbox",id:"use_user_informations_in_discussion",required:"","onUpdate:modelValue":e[75]||(e[75]=_=>r.configFile.use_user_informations_in_discussion=_),onChange:e[76]||(e[76]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_user_informations_in_discussion]])])]),l("tr",null,[put,l("td",_ut,[P(l("input",{type:"checkbox",id:"use_model_name_in_discussions",required:"","onUpdate:modelValue":e[77]||(e[77]=_=>r.configFile.use_model_name_in_discussions=_),onChange:e[78]||(e[78]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_model_name_in_discussions]])])]),l("tr",null,[hut,l("td",null,[l("label",fut,[l("img",{src:r.configFile.user_avatar!=null&&r.configFile.user_avatar!=""?"/user_infos/"+r.configFile.user_avatar:i.storeLogo,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,mut)]),l("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[79]||(e[79]=(..._)=>r.uploadAvatar&&r.uploadAvatar(..._))},null,32)]),l("td",gut,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[80]||(e[80]=j(_=>r.resetAvatar(),["stop"]))},Eut)])]),l("tr",null,[yut,l("td",null,[l("div",vut,[P(l("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[81]||(e[81]=_=>r.configFile.use_user_name_in_discussions=_),onChange:e[82]||(e[82]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_user_name_in_discussions]])])])]),l("tr",null,[Sut,l("td",Tut,[P(l("input",{type:"number",id:"max_n_predict",required:"","onUpdate:modelValue":e[83]||(e[83]=_=>r.configFile.max_n_predict=_),onChange:e[84]||(e[84]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.max_n_predict]])])]),l("tr",null,[xut,l("td",Cut,[P(l("input",{type:"number",id:"max_n_predict",required:"","onUpdate:modelValue":e[85]||(e[85]=_=>r.configFile.max_n_predict=_),onChange:e[86]||(e[86]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.max_n_predict]])])])])]),_:1}),V(a,{title:"Security settings",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",wut,[l("tr",null,[Rut,l("td",Aut,[P(l("input",{type:"checkbox",id:"turn_on_code_execution",required:"","onUpdate:modelValue":e[87]||(e[87]=_=>r.configFile.turn_on_code_execution=_),onChange:e[88]||(e[88]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_code_execution]])])]),l("tr",null,[Nut,l("td",Out,[P(l("input",{type:"checkbox",id:"turn_on_code_validation",required:"","onUpdate:modelValue":e[89]||(e[89]=_=>r.configFile.turn_on_code_validation=_),onChange:e[90]||(e[90]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_code_validation]])])]),l("tr",null,[Mut,l("td",Iut,[P(l("input",{type:"checkbox",id:"turn_on_setting_update_validation",required:"","onUpdate:modelValue":e[91]||(e[91]=_=>r.configFile.turn_on_setting_update_validation=_),onChange:e[92]||(e[92]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_setting_update_validation]])])]),l("tr",null,[kut,l("td",Dut,[P(l("input",{type:"checkbox",id:"turn_on_open_file_validation",required:"","onUpdate:modelValue":e[93]||(e[93]=_=>r.configFile.turn_on_open_file_validation=_),onChange:e[94]||(e[94]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_open_file_validation]])])]),l("tr",null,[Lut,l("td",Put,[P(l("input",{type:"checkbox",id:"turn_on_send_file_validation",required:"","onUpdate:modelValue":e[95]||(e[95]=_=>r.configFile.turn_on_send_file_validation=_),onChange:e[96]||(e[96]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_send_file_validation]])])])])]),_:1}),V(a,{title:"Knowledge database",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Fut,[l("tr",null,[Uut,l("td",null,[l("div",But,[P(l("input",{type:"checkbox",id:"activate_skills_lib",required:"","onUpdate:modelValue":e[97]||(e[97]=_=>r.configFile.activate_skills_lib=_),onChange:e[98]||(e[98]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_skills_lib]])])])]),l("tr",null,[Gut,l("td",Vut,[P(l("input",{type:"text",id:"skills_lib_database_name",required:"","onUpdate:modelValue":e[99]||(e[99]=_=>r.configFile.skills_lib_database_name=_),onChange:e[100]||(e[100]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.skills_lib_database_name]])])])])]),_:1}),V(a,{title:"Latex",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",zut,[l("tr",null,[Hut,l("td",null,[l("div",qut,[P(l("input",{type:"text",id:"pdf_latex_path",required:"","onUpdate:modelValue":e[101]||(e[101]=_=>r.configFile.pdf_latex_path=_),onChange:e[102]||(e[102]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.pdf_latex_path]])])])])])]),_:1}),V(a,{title:"Boost",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",$ut,[l("tr",null,[Yut,l("td",null,[l("div",Wut,[P(l("input",{type:"text",id:"positive_boost",required:"","onUpdate:modelValue":e[103]||(e[103]=_=>r.configFile.positive_boost=_),onChange:e[104]||(e[104]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.positive_boost]])])])]),l("tr",null,[Kut,l("td",null,[l("div",jut,[P(l("input",{type:"text",id:"negative_boost",required:"","onUpdate:modelValue":e[105]||(e[105]=_=>r.configFile.negative_boost=_),onChange:e[106]||(e[106]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.negative_boost]])])])]),l("tr",null,[Qut,l("td",null,[l("div",Xut,[P(l("input",{type:"checkbox",id:"fun_mode",required:"","onUpdate:modelValue":e[107]||(e[107]=_=>r.configFile.fun_mode=_),onChange:e[108]||(e[108]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.fun_mode]])])])])])]),_:1})])],2)]),l("div",Zut,[l("div",Jut,[l("button",{onClick:e[109]||(e[109]=j(_=>i.data_conf_collapsed=!i.data_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,tpt,512),[[wt,i.data_conf_collapsed]]),P(l("div",null,spt,512),[[wt,!i.data_conf_collapsed]]),ipt])]),l("div",{class:Ge([{hidden:i.data_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[V(a,{title:"Data Sources",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",rpt,[l("tr",null,[opt,l("td",apt,[(T(!0),x(Fe,null,Ke(r.configFile.rag_databases,(_,g)=>(T(),x("div",{key:g,class:"flex items-center mb-2"},[P(l("input",{type:"text","onUpdate:modelValue":b=>r.configFile.rag_databases[g]=b,onChange:e[110]||(e[110]=b=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,40,lpt),[[pe,r.configFile.rag_databases[g]]]),l("button",{onClick:b=>r.vectorize_folder(g),class:"w-500 ml-2 px-2 py-1 bg-green-500 text-white hover:bg-green-300 rounded"},"(Re)Vectorize",8,cpt),l("button",{onClick:b=>r.select_folder(g),class:"w-500 ml-2 px-2 py-1 bg-blue-500 text-white hover:bg-green-300 rounded"},"Select Folder",8,dpt),l("button",{onClick:b=>r.removeDataSource(g),class:"ml-2 px-2 py-1 bg-red-500 text-white hover:bg-green-300 rounded"},"Remove",8,upt)]))),128)),l("button",{onClick:e[111]||(e[111]=(..._)=>r.addDataSource&&r.addDataSource(..._)),class:"mt-2 px-2 py-1 bg-blue-500 text-white rounded"},"Add Data Source")])]),l("tr",null,[ppt,l("td",null,[P(l("select",{id:"rag_vectorizer",required:"","onUpdate:modelValue":e[112]||(e[112]=_=>r.configFile.rag_vectorizer=_),onChange:e[113]||(e[113]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},mpt,544),[[Dt,r.configFile.rag_vectorizer]])])]),l("tr",null,[gpt,l("td",null,[P(l("select",{id:"rag_vectorizer_model",required:"","onUpdate:modelValue":e[114]||(e[114]=_=>r.configFile.rag_vectorizer_model=_),onChange:e[115]||(e[115]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",disabled:r.configFile.rag_vectorizer==="tfidf"},[r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Ept,"sentence-transformers/bert-base-nli-mean-tokens")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",ypt,"bert-base-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",vpt,"bert-base-multilingual-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Spt,"bert-large-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Tpt,"bert-large-uncased-whole-word-masking-finetuned-squad")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",xpt,"distilbert-base-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Cpt,"roberta-base")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",wpt,"roberta-large")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Rpt,"xlm-roberta-base")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Apt,"xlm-roberta-large")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Npt,"albert-base-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Opt,"albert-large-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Mpt,"albert-xlarge-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Ipt,"albert-xxlarge-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",kpt,"sentence-transformers/all-MiniLM-L6-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Dpt,"sentence-transformers/all-MiniLM-L12-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Lpt,"sentence-transformers/all-distilroberta-v1")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),x("option",Ppt,"sentence-transformers/all-mpnet-base-v2")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),x("option",Fpt,"text-embedding-ada-002")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),x("option",Upt,"text-embedding-babbage-001")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),x("option",Bpt,"text-embedding-curie-001")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),x("option",Gpt,"text-embedding-davinci-001")):G("",!0),r.configFile.rag_vectorizer==="tfidf"?(T(),x("option",Vpt,"No models available for TFIDF")):G("",!0)],40,bpt),[[Dt,r.configFile.rag_vectorizer_model]])])]),l("tr",null,[zpt,l("td",null,[l("div",Hpt,[P(l("input",{type:"text",id:"rag_vectorizer_openai_key",required:"","onUpdate:modelValue":e[116]||(e[116]=_=>r.configFile.rag_vectorizer_openai_key=_),onChange:e[117]||(e[117]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_vectorizer_openai_key]])])])]),l("tr",null,[qpt,l("td",null,[P(l("input",{id:"rag_chunk_size","onUpdate:modelValue":e[118]||(e[118]=_=>r.configFile.rag_chunk_size=_),onChange:e[119]||(e[119]=_=>i.settingsChanged=!0),type:"range",min:"2",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.rag_chunk_size]]),P(l("input",{"onUpdate:modelValue":e[120]||(e[120]=_=>r.configFile.rag_chunk_size=_),type:"number",onChange:e[121]||(e[121]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_chunk_size]])])]),l("tr",null,[$pt,l("td",null,[P(l("input",{id:"rag_overlap","onUpdate:modelValue":e[122]||(e[122]=_=>r.configFile.rag_overlap=_),onChange:e[123]||(e[123]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.rag_overlap]]),P(l("input",{"onUpdate:modelValue":e[124]||(e[124]=_=>r.configFile.rag_overlap=_),type:"number",onChange:e[125]||(e[125]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_overlap]])])]),l("tr",null,[Ypt,l("td",null,[P(l("input",{id:"rag_n_chunks","onUpdate:modelValue":e[126]||(e[126]=_=>r.configFile.rag_n_chunks=_),onChange:e[127]||(e[127]=_=>i.settingsChanged=!0),type:"range",min:"2",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.rag_n_chunks]]),P(l("input",{"onUpdate:modelValue":e[128]||(e[128]=_=>r.configFile.rag_n_chunks=_),type:"number",onChange:e[129]||(e[129]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_n_chunks]])])]),l("tr",null,[Wpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[130]||(e[130]=_=>r.configFile.rag_clean_chunks=_),type:"checkbox",onChange:e[131]||(e[131]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_clean_chunks]])])]),l("tr",null,[Kpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[132]||(e[132]=_=>r.configFile.rag_follow_subfolders=_),type:"checkbox",onChange:e[133]||(e[133]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_follow_subfolders]])])]),l("tr",null,[jpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[134]||(e[134]=_=>r.configFile.rag_check_new_files_at_startup=_),type:"checkbox",onChange:e[135]||(e[135]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_check_new_files_at_startup]])])]),l("tr",null,[Qpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[136]||(e[136]=_=>r.configFile.rag_preprocess_chunks=_),type:"checkbox",onChange:e[137]||(e[137]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_preprocess_chunks]])])]),l("tr",null,[Xpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[138]||(e[138]=_=>r.configFile.rag_activate_multi_hops=_),type:"checkbox",onChange:e[139]||(e[139]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_activate_multi_hops]])])]),l("tr",null,[Zpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[140]||(e[140]=_=>r.configFile.contextual_summary=_),type:"checkbox",onChange:e[141]||(e[141]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.contextual_summary]])])]),l("tr",null,[Jpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[142]||(e[142]=_=>r.configFile.rag_deactivate=_),type:"checkbox",onChange:e[143]||(e[143]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_deactivate]])])])])]),_:1}),V(a,{title:"Data Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",e_t,[l("tr",null,[t_t,l("td",null,[l("div",n_t,[P(l("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[144]||(e[144]=_=>r.configFile.data_vectorization_save_db=_),onChange:e[145]||(e[145]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_save_db]])])])]),l("tr",null,[s_t,l("td",null,[l("div",i_t,[P(l("input",{type:"checkbox",id:"data_vectorization_visualize_on_vectorization",required:"","onUpdate:modelValue":e[146]||(e[146]=_=>r.configFile.data_vectorization_visualize_on_vectorization=_),onChange:e[147]||(e[147]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_visualize_on_vectorization]])])])]),l("tr",null,[r_t,l("td",null,[l("div",o_t,[P(l("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[148]||(e[148]=_=>r.configFile.data_vectorization_build_keys_words=_),onChange:e[149]||(e[149]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_build_keys_words]])])])]),l("tr",null,[a_t,l("td",null,[l("div",l_t,[P(l("input",{type:"checkbox",id:"data_vectorization_force_first_chunk",required:"","onUpdate:modelValue":e[150]||(e[150]=_=>r.configFile.data_vectorization_force_first_chunk=_),onChange:e[151]||(e[151]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_force_first_chunk]])])])]),l("tr",null,[c_t,l("td",null,[l("div",d_t,[P(l("input",{type:"checkbox",id:"data_vectorization_put_chunk_informations_into_context",required:"","onUpdate:modelValue":e[152]||(e[152]=_=>r.configFile.data_vectorization_put_chunk_informations_into_context=_),onChange:e[153]||(e[153]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_put_chunk_informations_into_context]])])])]),l("tr",null,[u_t,l("td",null,[P(l("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[154]||(e[154]=_=>r.configFile.data_vectorization_method=_),onChange:e[155]||(e[155]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},m_t,544),[[Dt,r.configFile.data_vectorization_method]])])]),l("tr",null,[g_t,l("td",b_t,[P(l("input",{type:"text",id:"data_vectorization_sentense_transformer_model",required:"","onUpdate:modelValue":e[156]||(e[156]=_=>r.configFile.data_vectorization_sentense_transformer_model=_),onChange:e[157]||(e[157]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_sentense_transformer_model]])])]),l("tr",null,[E_t,l("td",null,[P(l("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[158]||(e[158]=_=>r.configFile.data_visualization_method=_),onChange:e[159]||(e[159]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},S_t,544),[[Dt,r.configFile.data_visualization_method]])])]),l("tr",null,[T_t,l("td",null,[l("div",x_t,[P(l("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[160]||(e[160]=_=>r.configFile.data_vectorization_save_db=_),onChange:e[161]||(e[161]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_save_db]])])])]),l("tr",null,[C_t,l("td",null,[P(l("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[162]||(e[162]=_=>r.configFile.data_vectorization_chunk_size=_),onChange:e[163]||(e[163]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.data_vectorization_chunk_size]]),P(l("input",{"onUpdate:modelValue":e[164]||(e[164]=_=>r.configFile.data_vectorization_chunk_size=_),type:"number",onChange:e[165]||(e[165]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_chunk_size]])])]),l("tr",null,[w_t,l("td",null,[P(l("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[166]||(e[166]=_=>r.configFile.data_vectorization_overlap_size=_),onChange:e[167]||(e[167]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.data_vectorization_overlap_size]]),P(l("input",{"onUpdate:modelValue":e[168]||(e[168]=_=>r.configFile.data_vectorization_overlap_size=_),type:"number",onChange:e[169]||(e[169]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_overlap_size]])])]),l("tr",null,[R_t,l("td",null,[P(l("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[170]||(e[170]=_=>r.configFile.data_vectorization_nb_chunks=_),onChange:e[171]||(e[171]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.data_vectorization_nb_chunks]]),P(l("input",{"onUpdate:modelValue":e[172]||(e[172]=_=>r.configFile.data_vectorization_nb_chunks=_),type:"number",onChange:e[173]||(e[173]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1})],2)]),l("div",A_t,[l("div",N_t,[l("button",{onClick:e[174]||(e[174]=j(_=>i.internet_conf_collapsed=!i.internet_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,M_t,512),[[wt,i.internet_conf_collapsed]]),P(l("div",null,k_t,512),[[wt,!i.internet_conf_collapsed]]),D_t])]),l("div",{class:Ge([{hidden:i.internet_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[V(a,{title:"Internet search",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",L_t,[l("tr",null,[P_t,l("td",null,[l("div",F_t,[P(l("input",{type:"checkbox",id:"fun_mode",required:"","onUpdate:modelValue":e[175]||(e[175]=_=>r.configFile.activate_internet_search=_),onChange:e[176]||(e[176]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_internet_search]])])])]),l("tr",null,[U_t,l("td",null,[l("div",B_t,[P(l("input",{type:"checkbox",id:"activate_internet_pages_judgement",required:"","onUpdate:modelValue":e[177]||(e[177]=_=>r.configFile.activate_internet_pages_judgement=_),onChange:e[178]||(e[178]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_internet_pages_judgement]])])])]),l("tr",null,[G_t,l("td",null,[l("div",V_t,[P(l("input",{type:"checkbox",id:"internet_quick_search",required:"","onUpdate:modelValue":e[179]||(e[179]=_=>r.configFile.internet_quick_search=_),onChange:e[180]||(e[180]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.internet_quick_search]])])])]),l("tr",null,[z_t,l("td",null,[l("div",H_t,[P(l("input",{type:"checkbox",id:"internet_activate_search_decision",required:"","onUpdate:modelValue":e[181]||(e[181]=_=>r.configFile.internet_activate_search_decision=_),onChange:e[182]||(e[182]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.internet_activate_search_decision]])])])]),l("tr",null,[q_t,l("td",null,[l("div",$_t,[P(l("input",{id:"internet_vectorization_chunk_size","onUpdate:modelValue":e[183]||(e[183]=_=>r.configFile.internet_vectorization_chunk_size=_),onChange:e[184]||(e[184]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_vectorization_chunk_size]]),P(l("input",{"onUpdate:modelValue":e[185]||(e[185]=_=>r.configFile.internet_vectorization_chunk_size=_),type:"number",onChange:e[186]||(e[186]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_vectorization_chunk_size]])])])]),l("tr",null,[Y_t,l("td",null,[l("div",W_t,[P(l("input",{id:"internet_vectorization_overlap_size","onUpdate:modelValue":e[187]||(e[187]=_=>r.configFile.internet_vectorization_overlap_size=_),onChange:e[188]||(e[188]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_vectorization_overlap_size]]),P(l("input",{"onUpdate:modelValue":e[189]||(e[189]=_=>r.configFile.internet_vectorization_overlap_size=_),type:"number",onChange:e[190]||(e[190]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_vectorization_overlap_size]])])])]),l("tr",null,[K_t,l("td",null,[l("div",j_t,[P(l("input",{id:"internet_vectorization_nb_chunks","onUpdate:modelValue":e[191]||(e[191]=_=>r.configFile.internet_vectorization_nb_chunks=_),onChange:e[192]||(e[192]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_vectorization_nb_chunks]]),P(l("input",{"onUpdate:modelValue":e[193]||(e[193]=_=>r.configFile.internet_vectorization_nb_chunks=_),type:"number",onChange:e[194]||(e[194]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_vectorization_nb_chunks]])])])]),l("tr",null,[Q_t,l("td",null,[l("div",X_t,[P(l("input",{id:"internet_nb_search_pages","onUpdate:modelValue":e[195]||(e[195]=_=>r.configFile.internet_nb_search_pages=_),onChange:e[196]||(e[196]=_=>i.settingsChanged=!0),type:"range",min:"1",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_nb_search_pages]]),P(l("input",{"onUpdate:modelValue":e[197]||(e[197]=_=>r.configFile.internet_nb_search_pages=_),type:"number",onChange:e[198]||(e[198]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_nb_search_pages]])])])])])]),_:1})],2)]),l("div",Z_t,[l("div",J_t,[l("button",{onClick:e[199]||(e[199]=j(_=>i.servers_conf_collapsed=!i.servers_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,tht,512),[[wt,i.servers_conf_collapsed]]),P(l("div",null,sht,512),[[wt,!i.servers_conf_collapsed]]),iht])]),l("div",{class:Ge([{hidden:i.servers_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[V(a,{title:"Default services selection",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",rht,[l("tr",null,[oht,l("td",aht,[P(l("select",{id:"active_tts_service",required:"","onUpdate:modelValue":e[200]||(e[200]=_=>r.configFile.active_tts_service=_),onChange:e[201]||(e[201]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},fht,544),[[Dt,r.configFile.active_tts_service]])])]),l("tr",null,[mht,l("td",ght,[P(l("select",{id:"active_stt_service",required:"","onUpdate:modelValue":e[202]||(e[202]=_=>r.configFile.active_stt_service=_),onChange:e[203]||(e[203]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},vht,544),[[Dt,r.configFile.active_stt_service]])])]),Sht,l("tr",null,[Tht,l("td",xht,[P(l("select",{id:"active_tti_service",required:"","onUpdate:modelValue":e[204]||(e[204]=_=>r.configFile.active_tti_service=_),onChange:e[205]||(e[205]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},kht,544),[[Dt,r.configFile.active_tti_service]])])]),l("tr",null,[Dht,l("td",Lht,[P(l("select",{id:"active_ttm_service",required:"","onUpdate:modelValue":e[206]||(e[206]=_=>r.configFile.active_ttm_service=_),onChange:e[207]||(e[207]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Uht,544),[[Dt,r.configFile.active_ttm_service]])])]),l("tr",null,[Bht,l("td",Ght,[P(l("select",{id:"active_ttv_service",required:"","onUpdate:modelValue":e[208]||(e[208]=_=>r.configFile.active_ttv_service=_),onChange:e[209]||(e[209]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Hht,544),[[Dt,r.configFile.active_ttv_service]])])])])]),_:1}),V(a,{title:"TTI settings",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",qht,[l("tr",null,[$ht,l("td",null,[l("div",Yht,[P(l("input",{type:"checkbox",id:"use_negative_prompt",required:"","onUpdate:modelValue":e[210]||(e[210]=_=>r.configFile.use_negative_prompt=_),onChange:e[211]||(e[211]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_negative_prompt]])])])]),l("tr",null,[Wht,l("td",null,[l("div",Kht,[P(l("input",{type:"checkbox",id:"use_ai_generated_negative_prompt",required:"","onUpdate:modelValue":e[212]||(e[212]=_=>r.configFile.use_ai_generated_negative_prompt=_),onChange:e[213]||(e[213]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_ai_generated_negative_prompt]])])])]),l("tr",null,[jht,l("td",null,[l("div",Qht,[P(l("input",{type:"text",id:"negative_prompt_generation_prompt",required:"","onUpdate:modelValue":e[214]||(e[214]=_=>r.configFile.negative_prompt_generation_prompt=_),onChange:e[215]||(e[215]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.negative_prompt_generation_prompt]])])])]),l("tr",null,[Xht,l("td",null,[l("div",Zht,[P(l("input",{type:"text",id:"default_negative_prompt",required:"","onUpdate:modelValue":e[216]||(e[216]=_=>r.configFile.default_negative_prompt=_),onChange:e[217]||(e[217]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.default_negative_prompt]])])])])])]),_:1}),V(a,{title:"Full Audio settings",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Jht,[l("tr",null,[eft,l("td",tft,[P(l("input",{type:"number",step:"1",id:"stt_listening_threshold",required:"","onUpdate:modelValue":e[218]||(e[218]=_=>r.configFile.stt_listening_threshold=_),onChange:e[219]||(e[219]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_listening_threshold]])])]),l("tr",null,[nft,l("td",sft,[P(l("input",{type:"number",step:"1",id:"stt_silence_duration",required:"","onUpdate:modelValue":e[220]||(e[220]=_=>r.configFile.stt_silence_duration=_),onChange:e[221]||(e[221]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_silence_duration]])])]),l("tr",null,[ift,l("td",rft,[P(l("input",{type:"number",step:"1",id:"stt_sound_threshold_percentage",required:"","onUpdate:modelValue":e[222]||(e[222]=_=>r.configFile.stt_sound_threshold_percentage=_),onChange:e[223]||(e[223]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_sound_threshold_percentage]])])]),l("tr",null,[oft,l("td",aft,[P(l("input",{type:"number",step:"1",id:"stt_gain",required:"","onUpdate:modelValue":e[224]||(e[224]=_=>r.configFile.stt_gain=_),onChange:e[225]||(e[225]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_gain]])])]),l("tr",null,[lft,l("td",cft,[P(l("input",{type:"number",step:"1",id:"stt_rate",required:"","onUpdate:modelValue":e[226]||(e[226]=_=>r.configFile.stt_rate=_),onChange:e[227]||(e[227]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_rate]])])]),l("tr",null,[dft,l("td",uft,[P(l("input",{type:"number",step:"1",id:"stt_channels",required:"","onUpdate:modelValue":e[228]||(e[228]=_=>r.configFile.stt_channels=_),onChange:e[229]||(e[229]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_channels]])])]),l("tr",null,[pft,l("td",_ft,[P(l("input",{type:"number",step:"1",id:"stt_buffer_size",required:"","onUpdate:modelValue":e[230]||(e[230]=_=>r.configFile.stt_buffer_size=_),onChange:e[231]||(e[231]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_buffer_size]])])]),l("tr",null,[hft,l("td",null,[l("div",fft,[P(l("input",{type:"checkbox",id:"stt_activate_word_detection",required:"","onUpdate:modelValue":e[232]||(e[232]=_=>r.configFile.stt_activate_word_detection=_),onChange:e[233]||(e[233]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.stt_activate_word_detection]])])])]),l("tr",null,[mft,l("td",null,[l("div",gft,[P(l("input",{type:"text",id:"stt_word_detection_file",required:"","onUpdate:modelValue":e[234]||(e[234]=_=>r.configFile.stt_word_detection_file=_),onChange:e[235]||(e[235]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_word_detection_file]])])])])])]),_:1}),V(a,{title:"Audio devices settings",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",bft,[l("tr",null,[Eft,l("td",yft,[P(l("select",{id:"stt_input_device",required:"","onUpdate:modelValue":e[236]||(e[236]=_=>r.configFile.stt_input_device=_),onChange:e[237]||(e[237]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(i.snd_input_devices,(_,g)=>(T(),x("option",{key:_,value:i.snd_input_devices_indexes[g]},K(_),9,vft))),128))],544),[[Dt,r.configFile.stt_input_device]])])]),l("tr",null,[Sft,l("td",Tft,[P(l("select",{id:"tts_output_device",required:"","onUpdate:modelValue":e[238]||(e[238]=_=>r.configFile.tts_output_device=_),onChange:e[239]||(e[239]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(i.snd_output_devices,(_,g)=>(T(),x("option",{key:_,value:i.snd_output_devices_indexes[g]},K(_),9,xft))),128))],544),[[Dt,r.configFile.tts_output_device]])])])])]),_:1}),V(a,{title:"Lollms service",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Cft,[l("tr",null,[wft,l("td",Rft,[P(l("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[240]||(e[240]=_=>r.configFile.host=_),onChange:e[241]||(e[241]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.host]])])]),l("tr",null,[Aft,l("td",Nft,[V(o,{modelValue:r.configFile.lollms_access_keys,"onUpdate:modelValue":e[242]||(e[242]=_=>r.configFile.lollms_access_keys=_),onChange:e[243]||(e[243]=_=>i.settingsChanged=!0),placeholder:"Enter access key"},null,8,["modelValue"])])]),l("tr",null,[Oft,l("td",Mft,[P(l("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[244]||(e[244]=_=>r.configFile.port=_),onChange:e[245]||(e[245]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.port]])])]),l("tr",null,[Ift,l("td",kft,[P(l("input",{type:"checkbox",id:"headless_server_mode",required:"","onUpdate:modelValue":e[246]||(e[246]=_=>r.configFile.headless_server_mode=_),onChange:e[247]||(e[247]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.headless_server_mode]])])]),l("tr",null,[Dft,l("td",Lft,[P(l("input",{type:"checkbox",id:"activate_lollms_server",required:"","onUpdate:modelValue":e[248]||(e[248]=_=>r.configFile.activate_lollms_server=_),onChange:e[249]||(e[249]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_server]])])]),l("tr",null,[Pft,l("td",Fft,[P(l("input",{type:"checkbox",id:"activate_lollms_rag_server",required:"","onUpdate:modelValue":e[250]||(e[250]=_=>r.configFile.activate_lollms_rag_server=_),onChange:e[251]||(e[251]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_rag_server]])])]),l("tr",null,[Uft,l("td",Bft,[P(l("input",{type:"checkbox",id:"activate_lollms_tts_server",required:"","onUpdate:modelValue":e[252]||(e[252]=_=>r.configFile.activate_lollms_tts_server=_),onChange:e[253]||(e[253]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_tts_server]])])]),l("tr",null,[Gft,l("td",Vft,[P(l("input",{type:"checkbox",id:"activate_lollms_stt_server",required:"","onUpdate:modelValue":e[254]||(e[254]=_=>r.configFile.activate_lollms_stt_server=_),onChange:e[255]||(e[255]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_stt_server]])])]),l("tr",null,[zft,l("td",Hft,[P(l("input",{type:"checkbox",id:"activate_lollms_tti_server",required:"","onUpdate:modelValue":e[256]||(e[256]=_=>r.configFile.activate_lollms_tti_server=_),onChange:e[257]||(e[257]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_tti_server]])])]),l("tr",null,[qft,l("td",$ft,[P(l("input",{type:"checkbox",id:"activate_lollms_itt_server",required:"","onUpdate:modelValue":e[258]||(e[258]=_=>r.configFile.activate_lollms_itt_server=_),onChange:e[259]||(e[259]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_itt_server]])])]),l("tr",null,[Yft,l("td",Wft,[P(l("input",{type:"checkbox",id:"activate_lollms_ttm_server",required:"","onUpdate:modelValue":e[260]||(e[260]=_=>r.configFile.activate_lollms_ttm_server=_),onChange:e[261]||(e[261]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_ttm_server]])])]),l("tr",null,[Kft,l("td",jft,[P(l("input",{type:"checkbox",id:"activate_ollama_emulator",required:"","onUpdate:modelValue":e[262]||(e[262]=_=>r.configFile.activate_ollama_emulator=_),onChange:e[263]||(e[263]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_ollama_emulator]])])]),l("tr",null,[Qft,l("td",Xft,[P(l("input",{type:"checkbox",id:"activate_openai_emulator",required:"","onUpdate:modelValue":e[264]||(e[264]=_=>r.configFile.activate_openai_emulator=_),onChange:e[265]||(e[265]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_openai_emulator]])])]),l("tr",null,[Zft,l("td",Jft,[P(l("input",{type:"checkbox",id:"activate_mistralai_emulator",required:"","onUpdate:modelValue":e[266]||(e[266]=_=>r.configFile.activate_mistralai_emulator=_),onChange:e[267]||(e[267]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_mistralai_emulator]])])])])]),_:1}),V(a,{title:"STT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[V(a,{title:"Browser Audio STT",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",emt,[l("tr",null,[tmt,l("td",null,[l("div",nmt,[P(l("input",{type:"checkbox",id:"activate_audio_infos",required:"","onUpdate:modelValue":e[268]||(e[268]=_=>r.configFile.activate_audio_infos=_),onChange:e[269]||(e[269]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_audio_infos]])])])]),l("tr",null,[smt,l("td",null,[l("div",imt,[P(l("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[270]||(e[270]=_=>r.configFile.audio_auto_send_input=_),onChange:e[271]||(e[271]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.audio_auto_send_input]])])])]),l("tr",null,[rmt,l("td",null,[P(l("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[272]||(e[272]=_=>r.configFile.audio_silenceTimer=_),onChange:e[273]||(e[273]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"10000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.audio_silenceTimer]]),P(l("input",{"onUpdate:modelValue":e[274]||(e[274]=_=>r.configFile.audio_silenceTimer=_),onChange:e[275]||(e[275]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.audio_silenceTimer]])])]),l("tr",null,[omt,l("td",null,[P(l("select",{id:"audio_in_language","onUpdate:modelValue":e[276]||(e[276]=_=>r.configFile.audio_in_language=_),onChange:e[277]||(e[277]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(r.audioLanguages,_=>(T(),x("option",{key:_.code,value:_.code},K(_.name),9,amt))),128))],544),[[Dt,r.configFile.audio_in_language]])])])])]),_:1}),V(a,{title:"Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",lmt,[l("tr",null,[cmt,l("td",null,[l("div",dmt,[P(l("input",{type:"checkbox",id:"whisper_activate",required:"","onUpdate:modelValue":e[278]||(e[278]=_=>r.configFile.whisper_activate=_),onChange:e[279]||(e[279]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.whisper_activate]])])])]),l("tr",null,[umt,l("td",null,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[280]||(e[280]=(..._)=>r.reinstallWhisperService&&r.reinstallWhisperService(..._))},"install whisper")])]),l("tr",null,[pmt,l("td",null,[l("div",_mt,[P(l("select",{id:"whisper_model","onUpdate:modelValue":e[281]||(e[281]=_=>r.configFile.whisper_model=_),onChange:e[282]||(e[282]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(r.whisperModels,_=>(T(),x("option",{key:_,value:_},K(_),9,hmt))),128))],544),[[Dt,r.configFile.whisper_model]])])])])])]),_:1}),V(a,{title:"Open AI Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",fmt,[l("tr",null,[mmt,l("td",null,[l("div",gmt,[P(l("input",{type:"text",id:"openai_whisper_key",required:"","onUpdate:modelValue":e[283]||(e[283]=_=>r.configFile.openai_whisper_key=_),onChange:e[284]||(e[284]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.openai_whisper_key]])])])]),l("tr",null,[bmt,l("td",null,[l("div",Emt,[P(l("select",{id:"openai_whisper_model","onUpdate:modelValue":e[285]||(e[285]=_=>r.configFile.openai_whisper_model=_),onChange:e[286]||(e[286]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(r.openaiWhisperModels,_=>(T(),x("option",{key:_,value:_},K(_),9,ymt))),128))],544),[[Dt,r.configFile.openai_whisper_model]])])])])])]),_:1})]),_:1}),V(a,{title:"TTS services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[V(a,{title:"Browser Audio TTS",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",vmt,[l("tr",null,[Smt,l("td",null,[l("div",Tmt,[P(l("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[287]||(e[287]=_=>r.configFile.auto_speak=_),onChange:e[288]||(e[288]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_speak]])])])]),l("tr",null,[xmt,l("td",null,[P(l("input",{id:"audio_pitch","onUpdate:modelValue":e[289]||(e[289]=_=>r.configFile.audio_pitch=_),onChange:e[290]||(e[290]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.audio_pitch]]),P(l("input",{"onUpdate:modelValue":e[291]||(e[291]=_=>r.configFile.audio_pitch=_),onChange:e[292]||(e[292]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.audio_pitch]])])]),l("tr",null,[Cmt,l("td",null,[P(l("select",{id:"audio_out_voice","onUpdate:modelValue":e[293]||(e[293]=_=>r.configFile.audio_out_voice=_),onChange:e[294]||(e[294]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(i.audioVoices,_=>(T(),x("option",{key:_.name,value:_.name},K(_.name),9,wmt))),128))],544),[[Dt,r.configFile.audio_out_voice]])])])])]),_:1}),V(a,{title:"XTTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Rmt,[l("tr",null,[Amt,l("td",null,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[295]||(e[295]=(..._)=>r.reinstallXTTSService&&r.reinstallXTTSService(..._))},"install xtts service")])]),l("tr",null,[Nmt,l("td",null,[l("div",Omt,[P(l("select",{"onUpdate:modelValue":e[296]||(e[296]=_=>r.xtts_current_language=_),onChange:e[297]||(e[297]=_=>i.settingsChanged=!0)},[(T(!0),x(Fe,null,Ke(i.voice_languages,(_,g)=>(T(),x("option",{key:g,value:_},K(g),9,Mmt))),128))],544),[[Dt,r.xtts_current_language]])])])]),l("tr",null,[Imt,l("td",null,[l("div",kmt,[P(l("select",{"onUpdate:modelValue":e[298]||(e[298]=_=>r.xtts_current_voice=_),onChange:e[299]||(e[299]=_=>i.settingsChanged=!0)},[(T(!0),x(Fe,null,Ke(i.voices,_=>(T(),x("option",{key:_,value:_},K(_),9,Dmt))),128))],544),[[Dt,r.xtts_current_voice]])])])]),l("tr",null,[Lmt,l("td",null,[l("div",Pmt,[P(l("input",{type:"number",id:"xtts_freq",required:"","onUpdate:modelValue":e[300]||(e[300]=_=>r.configFile.xtts_freq=_),onChange:e[301]||(e[301]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[pe,r.configFile.xtts_freq,void 0,{number:!0}]])])])]),l("tr",null,[Fmt,l("td",null,[l("div",Umt,[P(l("input",{type:"checkbox",id:"auto_read",required:"","onUpdate:modelValue":e[302]||(e[302]=_=>r.configFile.auto_read=_),onChange:e[303]||(e[303]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_read]])])])]),l("tr",null,[Bmt,l("td",null,[l("div",Gmt,[P(l("input",{type:"text",id:"xtts_stream_chunk_size",required:"","onUpdate:modelValue":e[304]||(e[304]=_=>r.configFile.xtts_stream_chunk_size=_),onChange:e[305]||(e[305]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.xtts_stream_chunk_size]])])])]),l("tr",null,[Vmt,l("td",null,[l("div",zmt,[P(l("input",{type:"number",id:"xtts_temperature",required:"","onUpdate:modelValue":e[306]||(e[306]=_=>r.configFile.xtts_temperature=_),onChange:e[307]||(e[307]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[pe,r.configFile.xtts_temperature,void 0,{number:!0}]])])])]),l("tr",null,[Hmt,l("td",null,[l("div",qmt,[P(l("input",{type:"number",id:"xtts_length_penalty",required:"","onUpdate:modelValue":e[308]||(e[308]=_=>r.configFile.xtts_length_penalty=_),onChange:e[309]||(e[309]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[pe,r.configFile.xtts_length_penalty,void 0,{number:!0}]])])])]),l("tr",null,[$mt,l("td",null,[l("div",Ymt,[P(l("input",{type:"number",id:"xtts_repetition_penalty",required:"","onUpdate:modelValue":e[310]||(e[310]=_=>r.configFile.xtts_repetition_penalty=_),onChange:e[311]||(e[311]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[pe,r.configFile.xtts_repetition_penalty,void 0,{number:!0}]])])])]),l("tr",null,[Wmt,l("td",null,[l("div",Kmt,[P(l("input",{type:"number",id:"xtts_top_k",required:"","onUpdate:modelValue":e[312]||(e[312]=_=>r.configFile.xtts_top_k=_),onChange:e[313]||(e[313]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.xtts_top_k,void 0,{number:!0}]])])])]),l("tr",null,[jmt,l("td",null,[l("div",Qmt,[P(l("input",{type:"number",id:"xtts_top_p",required:"","onUpdate:modelValue":e[314]||(e[314]=_=>r.configFile.xtts_top_p=_),onChange:e[315]||(e[315]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.xtts_top_p,void 0,{number:!0}]])])])]),l("tr",null,[Xmt,l("td",null,[l("div",Zmt,[P(l("input",{type:"number",id:"xtts_speed",required:"","onUpdate:modelValue":e[316]||(e[316]=_=>r.configFile.xtts_speed=_),onChange:e[317]||(e[317]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[pe,r.configFile.xtts_speed,void 0,{number:!0}]])])])]),l("tr",null,[Jmt,l("td",null,[l("div",egt,[P(l("input",{type:"checkbox",id:"enable_text_splitting","onUpdate:modelValue":e[318]||(e[318]=_=>r.configFile.enable_text_splitting=_),onChange:e[319]||(e[319]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_text_splitting]])])])])])]),_:1}),V(a,{title:"Open AI TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",tgt,[l("tr",null,[ngt,l("td",null,[l("div",sgt,[P(l("input",{type:"text",id:"openai_tts_key",required:"","onUpdate:modelValue":e[320]||(e[320]=_=>r.configFile.openai_tts_key=_),onChange:e[321]||(e[321]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.openai_tts_key]])])])]),l("tr",null,[igt,l("td",null,[l("div",rgt,[P(l("select",{"onUpdate:modelValue":e[322]||(e[322]=_=>r.configFile.openai_tts_model=_),onChange:e[323]||(e[323]=_=>i.settingsChanged=!0)},lgt,544),[[Dt,r.configFile.openai_tts_model]])])])]),l("tr",null,[cgt,l("td",null,[l("div",dgt,[P(l("select",{"onUpdate:modelValue":e[324]||(e[324]=_=>r.configFile.openai_tts_voice=_),onChange:e[325]||(e[325]=_=>i.settingsChanged=!0)},mgt,544),[[Dt,r.configFile.openai_tts_voice]])])])])])]),_:1}),V(a,{title:"Eleven Labs TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",ggt,[l("tr",null,[bgt,l("td",null,[l("div",Egt,[P(l("input",{type:"text",id:"elevenlabs_tts_key",required:"","onUpdate:modelValue":e[326]||(e[326]=_=>r.configFile.elevenlabs_tts_key=_),onChange:e[327]||(e[327]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.elevenlabs_tts_key]])])])]),l("tr",null,[ygt,l("td",null,[l("div",vgt,[P(l("input",{type:"text",id:"elevenlabs_tts_model_id",required:"","onUpdate:modelValue":e[328]||(e[328]=_=>r.configFile.elevenlabs_tts_model_id=_),onChange:e[329]||(e[329]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.elevenlabs_tts_model_id]])])])]),l("tr",null,[Sgt,l("td",null,[l("div",Tgt,[P(l("input",{type:"number",id:"elevenlabs_tts_voice_stability",required:"","onUpdate:modelValue":e[330]||(e[330]=_=>r.configFile.elevenlabs_tts_voice_stability=_),onChange:e[331]||(e[331]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[pe,r.configFile.elevenlabs_tts_voice_stability]])])])]),l("tr",null,[xgt,l("td",null,[l("div",Cgt,[P(l("input",{type:"number",id:"elevenlabs_tts_voice_boost",required:"","onUpdate:modelValue":e[332]||(e[332]=_=>r.configFile.elevenlabs_tts_voice_boost=_),onChange:e[333]||(e[333]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[pe,r.configFile.elevenlabs_tts_voice_boost]])])])]),l("tr",null,[wgt,l("td",null,[l("div",Rgt,[P(l("select",{"onUpdate:modelValue":e[334]||(e[334]=_=>r.configFile.elevenlabs_tts_voice_id=_),onChange:e[335]||(e[335]=_=>i.settingsChanged=!0)},[(T(!0),x(Fe,null,Ke(i.voices,_=>(T(),x("option",{key:_.voice_id,value:_.voice_id},K(_.name),9,Agt))),128))],544),[[Dt,r.configFile.elevenlabs_tts_voice_id]])])])])])]),_:1}),V(a,{title:"Fish TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Ngt,[l("tr",null,[Ogt,l("td",null,[l("div",Mgt,[P(l("input",{type:"text",id:"fish_tts_key",required:"","onUpdate:modelValue":e[336]||(e[336]=_=>r.configFile.fish_tts_key=_),onChange:e[337]||(e[337]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.fish_tts_key]])])])]),l("tr",null,[Igt,l("td",null,[l("div",kgt,[P(l("input",{type:"text",id:"fish_tts_voice",required:"","onUpdate:modelValue":e[338]||(e[338]=_=>r.configFile.fish_tts_voice=_),onChange:e[339]||(e[339]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.fish_tts_voice]])])])])])]),_:1})]),_:1}),V(a,{title:"TTI services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[V(a,{title:"Stable diffusion service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Dgt,[l("tr",null,[Lgt,l("td",null,[l("div",Pgt,[P(l("input",{type:"checkbox",id:"enable_sd_service",required:"","onUpdate:modelValue":e[340]||(e[340]=_=>r.configFile.enable_sd_service=_),onChange:e[341]||(e[341]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_sd_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[342]||(e[342]=_=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},Ugt)])]),l("tr",null,[Bgt,l("td",null,[l("div",Ggt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[343]||(e[343]=(..._)=>r.reinstallSDService&&r.reinstallSDService(..._))},"install sd service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[344]||(e[344]=(..._)=>r.upgradeSDService&&r.upgradeSDService(..._))},"upgrade sd service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[345]||(e[345]=(..._)=>r.startSDService&&r.startSDService(..._))},"start sd service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[346]||(e[346]=(..._)=>r.showSD&&r.showSD(..._))},"show sd ui"),Vgt])]),l("td",null,[l("div",zgt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[347]||(e[347]=(..._)=>r.reinstallSDService&&r.reinstallSDService(..._))},"install sd service")])])]),l("tr",null,[Hgt,l("td",null,[l("div",qgt,[P(l("input",{type:"text",id:"sd_base_url",required:"","onUpdate:modelValue":e[348]||(e[348]=_=>r.configFile.sd_base_url=_),onChange:e[349]||(e[349]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.sd_base_url]])])])])])]),_:1}),V(a,{title:"Diffusers service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",$gt,[l("tr",null,[Ygt,l("td",null,[l("div",Wgt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[350]||(e[350]=(..._)=>r.reinstallDiffusersService&&r.reinstallDiffusersService(..._))},"install diffusers service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[351]||(e[351]=(..._)=>r.upgradeDiffusersService&&r.upgradeDiffusersService(..._))},"upgrade diffusers service"),Kgt])])]),l("tr",null,[jgt,l("td",null,[l("div",Qgt,[P(l("input",{type:"text",id:"diffusers_model",required:"","onUpdate:modelValue":e[352]||(e[352]=_=>r.configFile.diffusers_model=_),onChange:e[353]||(e[353]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.diffusers_model]])])]),Xgt])])]),_:1}),V(a,{title:"Diffusers client service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Zgt,[l("tr",null,[Jgt,l("td",null,[l("div",ebt,[P(l("input",{type:"text",id:"diffusers_client_base_url",required:"","onUpdate:modelValue":e[354]||(e[354]=_=>r.configFile.diffusers_client_base_url=_),onChange:e[355]||(e[355]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.diffusers_client_base_url]])])]),tbt])])]),_:1}),V(a,{title:"Midjourney",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",nbt,[l("tr",null,[sbt,l("td",null,[l("div",ibt,[P(l("input",{type:"text",id:"midjourney_key",required:"","onUpdate:modelValue":e[356]||(e[356]=_=>r.configFile.midjourney_key=_),onChange:e[357]||(e[357]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.midjourney_key]])])])]),l("tr",null,[rbt,l("td",null,[l("div",obt,[P(l("input",{type:"number",min:"10",max:"2048",id:"midjourney_timeout",required:"","onUpdate:modelValue":e[358]||(e[358]=_=>r.configFile.midjourney_timeout=_),onChange:e[359]||(e[359]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.midjourney_timeout]])])])]),l("tr",null,[abt,l("td",null,[l("div",lbt,[P(l("input",{type:"number",min:"0",max:"2048",id:"midjourney_retries",required:"","onUpdate:modelValue":e[360]||(e[360]=_=>r.configFile.midjourney_retries=_),onChange:e[361]||(e[361]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.midjourney_retries]])])])])])]),_:1}),V(a,{title:"Dall-E",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",cbt,[l("tr",null,[dbt,l("td",null,[l("div",ubt,[P(l("input",{type:"text",id:"dall_e_key",required:"","onUpdate:modelValue":e[362]||(e[362]=_=>r.configFile.dall_e_key=_),onChange:e[363]||(e[363]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.dall_e_key]])])])]),l("tr",null,[pbt,l("td",null,[l("div",_bt,[P(l("select",{"onUpdate:modelValue":e[364]||(e[364]=_=>r.configFile.dall_e_generation_engine=_),onChange:e[365]||(e[365]=_=>i.settingsChanged=!0)},mbt,544),[[Dt,r.configFile.dall_e_generation_engine]])])])])])]),_:1}),V(a,{title:"ComfyUI service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",gbt,[l("tr",null,[bbt,l("td",null,[l("div",Ebt,[P(l("input",{type:"checkbox",id:"enable_comfyui_service",required:"","onUpdate:modelValue":e[366]||(e[366]=_=>r.configFile.enable_comfyui_service=_),onChange:e[367]||(e[367]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_comfyui_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[368]||(e[368]=_=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},vbt)])]),l("tr",null,[Sbt,l("td",null,[l("div",Tbt,[P(l("select",{id:"comfyui_model",required:"","onUpdate:modelValue":e[369]||(e[369]=_=>r.configFile.comfyui_model=_),onChange:e[370]||(e[370]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),x(Fe,null,Ke(i.comfyui_models,(_,g)=>(T(),x("option",{key:_,value:_},K(_),9,xbt))),128))],544),[[Dt,r.configFile.comfyui_model]])])])]),l("tr",null,[Cbt,l("td",null,[l("div",wbt,[P(l("input",{type:"text",id:"comfyui_model",required:"","onUpdate:modelValue":e[371]||(e[371]=_=>r.configFile.comfyui_model=_),onChange:e[372]||(e[372]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.comfyui_model]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[373]||(e[373]=_=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},Abt)])]),l("tr",null,[Nbt,l("td",null,[l("div",Obt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[374]||(e[374]=(..._)=>r.reinstallComfyUIService&&r.reinstallComfyUIService(..._))},"install comfyui service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[375]||(e[375]=(..._)=>r.upgradeComfyUIService&&r.upgradeComfyUIService(..._))},"upgrade comfyui service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[376]||(e[376]=(..._)=>r.startComfyUIService&&r.startComfyUIService(..._))},"start comfyui service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[377]||(e[377]=(..._)=>r.showComfyui&&r.showComfyui(..._))},"show comfyui"),Mbt])])]),l("tr",null,[Ibt,l("td",null,[l("div",kbt,[P(l("input",{type:"text",id:"comfyui_base_url",required:"","onUpdate:modelValue":e[378]||(e[378]=_=>r.configFile.comfyui_base_url=_),onChange:e[379]||(e[379]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.comfyui_base_url]])])])])])]),_:1})]),_:1}),V(a,{title:"TTT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[V(a,{title:"Ollama service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Dbt,[l("tr",null,[Lbt,l("td",null,[l("div",Pbt,[P(l("input",{type:"checkbox",id:"enable_ollama_service",required:"","onUpdate:modelValue":e[380]||(e[380]=_=>r.configFile.enable_ollama_service=_),onChange:e[381]||(e[381]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_ollama_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[382]||(e[382]=_=>this.$store.state.messageBox.showMessage(`Activates ollama service. The service will be automatically loaded at startup alowing you to use the ollama binding. +`,"
")}},rendered_models_zoo:{get(){return this.searchModel?this.show_only_installed_models?this.modelsFiltered.filter(n=>n.isInstalled===!0):this.modelsFiltered.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)):(console.log("this.models_zoo"),console.log(this.models_zoo),console.log(this.models_zoo_initialLoadCount),this.show_only_installed_models?this.models_zoo.filter(n=>n.isInstalled===!0):this.models_zoo.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)))}},imgBinding:{get(){if(!this.isMounted)return Us;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(n=>n.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return Us}}},imgModel:{get(){try{let n=this.$store.state.modelsZoo.findIndex(e=>e.name==this.$store.state.selectedModel);return n>=0?(console.log(`model avatar : ${this.$store.state.modelsZoo[n].icon}`),this.$store.state.modelsZoo[n].icon):Us}catch{console.log("error")}if(!this.isMounted)return Us;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(n=>n.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return Us}}},isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(n){this.$store.state.config.audio_out_voice=n}},openaiWhisperModels(){return["whisper-1"]},whisperModels(){return["tiny.en","tiny","base.en","base","small.en","small","medium.en","medium","large-v1","large-v2","large-v3","large"]},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(n){this.$store.commit("setConfig",n)}},userName:{get(){return this.$store.state.config.user_name},set(n){this.$store.state.config.user_name=n}},user_avatar:{get(){return this.$store.state.config.user_avatar!=""?"/user_infos/"+this.$store.state.config.user_avatar:$s},set(n){this.$store.state.config.user_avatar=n}},hardware_mode:{get(){return this.$store.state.config.hardware_mode},set(n){this.$store.state.config.hardware_mode=n}},auto_update:{get(){return this.$store.state.config.auto_update},set(n){this.$store.state.config.auto_update=n}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(n){this.$store.state.config.auto_speak=n}},auto_read:{get(){return this.$store.state.config.auto_read},set(n){this.$store.state.config.auto_read=n}},xtts_current_language:{get(){return this.$store.state.config.xtts_current_language},set(n){console.log("Current xtts voice set to ",n),this.$store.state.config.xtts_current_language=n}},xtts_current_voice:{get(){return this.$store.state.config.xtts_current_voice===null||this.$store.state.config.xtts_current_voice===void 0?(console.log("current voice",this.$store.state.config.xtts_current_voice),"main_voice"):this.$store.state.config.xtts_current_voice},set(n){n=="main_voice"||n===void 0?(console.log("Current voice set to None"),this.$store.state.config.xtts_current_voice=null):(console.log("Current voice set to ",n),this.$store.state.config.xtts_current_voice=n)}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(n){this.$store.state.config.audio_pitch=n}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(n){this.$store.state.config.audio_in_language=n}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(n){this.$store.state.config.use_user_name_in_discussions=n}},discussion_db_name:{get(){return this.$store.state.config.discussion_db_name},set(n){this.$store.state.config.discussion_db_name=n}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}},bindingsZoo:{get(){return this.$store.state.bindingsZoo},set(n){this.$store.commit("setbindingsZoo",n)}},modelsArr:{get(){return this.$store.state.modelsArr},set(n){this.$store.commit("setModelsArr",n)}},models:{get(){return this.models_zoo},set(n){this.$store.commit("setModelsZoo",n)}},installed_models:{get(){return this.models_zoo},set(n){this.$store.commit("setModelsZoo",n)}},diskUsage:{get(){return this.$store.state.diskUsage},set(n){this.$store.commit("setDiskUsage",n)}},ramUsage:{get(){return this.$store.state.ramUsage},set(n){this.$store.commit("setRamUsage",n)}},vramUsage:{get(){return this.$store.state.vramUsage},set(n){this.$store.commit("setVramUsage",n)}},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)},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return null;const n=this.bindingsZoo.findIndex(e=>e.folder===this.configFile.binding_name);return n>-1?this.bindingsZoo[n].name:null},active_pesonality(){if(!this.isMounted)return null;const n=this.$store.state.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);return n>-1?this.$store.state.personalities[n].name:null},speed_computed(){return ci(this.addModel.speed)},total_size_computed(){return ci(this.addModel.total_size)},downloaded_size_computed(){return ci(this.addModel.downloaded_size)}},watch:{bec_collapsed(){Le(()=>{ze.replace()})},pc_collapsed(){Le(()=>{ze.replace()})},mc_collapsed(){Le(()=>{ze.replace()})},sc_collapsed(){Le(()=>{ze.replace()})},showConfirmation(){Le(()=>{ze.replace()})},mzl_collapsed(){Le(()=>{ze.replace()})},pzl_collapsed(){Le(()=>{ze.replace()})},ezl_collapsed(){Le(()=>{ze.replace()})},bzl_collapsed(){Le(()=>{ze.replace()})},all_collapsed(n){this.collapseAll(n),Le(()=>{ze.replace()})},settingsChanged(n){this.$store.state.settingsChanged=n,Le(()=>{ze.replace()})},isLoading(){Le(()=>{ze.replace()})},searchPersonality(n){n==""&&this.filterPersonalities()},mzdc_collapsed(){Le(()=>{ze.replace()})}},async beforeRouteLeave(n){await this.$router.isReady()}},D=n=>(Rs("data-v-ebfd9309"),n=n(),As(),n),Fat={class:"container flex flex-row shadow-lg p-10 pt-0 overflow-y-scroll w-full background-color 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"},Uat={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg panels-color shadow-lg"},Bat={key:0,class:"flex gap-3 flex-1 items-center duration-75"},Gat=D(()=>l("i",{"data-feather":"x"},null,-1)),Vat=[Gat],zat=D(()=>l("i",{"data-feather":"check"},null,-1)),Hat=[zat],qat={key:1,class:"flex gap-3 flex-1 items-center"},$at=D(()=>l("i",{"data-feather":"refresh-ccw"},null,-1)),Yat=[$at],Wat=D(()=>l("i",{"data-feather":"list"},null,-1)),Kat=[Wat],jat={class:"flex gap-3 flex-1 items-center justify-end"},Qat=D(()=>l("i",{"data-feather":"trash-2"},null,-1)),Xat=[Qat],Zat=D(()=>l("i",{"data-feather":"refresh-ccw"},null,-1)),Jat=[Zat],elt=D(()=>l("i",{"data-feather":"arrow-up-circle"},null,-1)),tlt=D(()=>l("i",{"data-feather":"alert-circle"},null,-1)),nlt=[elt,tlt],slt={class:"flex gap-3 items-center"},ilt={key:0,class:"flex gap-3 items-center"},rlt=D(()=>l("div",{class:"flex flex-row"},[l("p",{class:"text-green-600 font-bold hover:text-green-300 ml-4 pl-4 mr-4 pr-4"},"Apply changes:"),l("i",{"data-feather":"check"})],-1)),olt=[rlt],alt=D(()=>l("div",{class:"flex flex-row"},[l("p",{class:"text-red-600 font-bold hover:text-red-300 ml-4 pl-4 mr-4 pr-4"},"Cancel changes:"),l("i",{"data-feather":"x"})],-1)),llt=[alt],clt={key:1,role:"status"},dlt=D(()=>l("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"},[l("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"}),l("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)),ult=D(()=>l("span",{class:"sr-only"},"Loading...",-1)),plt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},_lt={class:"flex flex-row p-3"},hlt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),flt=[hlt],mlt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),glt=[mlt],blt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),Elt=D(()=>l("div",{class:"mr-2"},"|",-1)),ylt={class:"text-base font-semibold cursor-pointer select-none items-center"},vlt={class:"flex gap-2 items-center"},Slt={key:0},Tlt=["src"],xlt={class:"font-bold font-large text-lg"},Clt={key:1},wlt={class:"flex gap-2 items-center"},Rlt=["src"],Alt={class:"font-bold font-large text-lg"},Nlt=D(()=>l("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Olt={class:"font-bold font-large text-lg"},Ilt=D(()=>l("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Mlt={class:"font-bold font-large text-lg"},klt={class:"mb-2"},Dlt=D(()=>l("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[l("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"})]),Je(" CPU Ram usage: ")],-1)),Llt={class:"flex flex-col mx-2"},Plt=D(()=>l("b",null,"Avaliable ram: ",-1)),Flt=D(()=>l("b",null,"Ram usage: ",-1)),Ult={class:"p-2"},Blt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Glt={class:"mb-2"},Vlt=D(()=>l("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[l("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),Je(" Disk usage: ")],-1)),zlt={class:"flex flex-col mx-2"},Hlt=D(()=>l("b",null,"Avaliable disk space: ",-1)),qlt=D(()=>l("b",null,"Disk usage: ",-1)),$lt={class:"p-2"},Ylt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Wlt={class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Klt=["src"],jlt={class:"flex flex-col mx-2"},Qlt=D(()=>l("b",null,"Model: ",-1)),Xlt=D(()=>l("b",null,"Avaliable vram: ",-1)),Zlt=D(()=>l("b",null,"GPU usage: ",-1)),Jlt={class:"p-2"},ect={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},tct={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},nct={class:"flex flex-row p-3"},sct=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),ict=[sct],rct=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),oct=[rct],act=D(()=>l("div",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Smart routing configurations",-1)),lct={class:"flex flex-col mb-2 px-3 pb-2"},cct={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"},dct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_smart_routing",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use Smart Routing:")],-1)),uct={style:{width:"100%"}},pct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"restore_model_after_smart_routing",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Restore model after smart routing:")],-1)),_ct={style:{width:"100%"}},hct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"smart_routing_router_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Router Model:")],-1)),fct={style:{width:"100%"}},mct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"smart_routing_models_by_power",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Models by Power:")],-1)),gct={style:{width:"100%"}},bct={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Ect={class:"flex flex-row p-3"},yct=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),vct=[yct],Sct=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Tct=[Sct],xct=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1)),Cct={class:"flex flex-col mb-2 px-3 pb-2"},wct={class:"expand-to-fit bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block 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"},Rct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"app_custom_logo",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Application logo:")],-1)),Act={for:"logo-upload"},Nct=["src"],Oct={style:{width:"10%"}},Ict=D(()=>l("i",{"data-feather":"x"},null,-1)),Mct=[Ict],kct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"hardware_mode",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Hardware mode:")],-1)),Dct={class:"text-center items-center"},Lct={class:"flex flex-row"},Pct=D(()=>l("option",{value:"cpu"},"CPU",-1)),Fct=D(()=>l("option",{value:"cpu-noavx"},"CPU (No AVX)",-1)),Uct=D(()=>l("option",{value:"nvidia-tensorcores"},"NVIDIA (Tensor Cores)",-1)),Bct=D(()=>l("option",{value:"nvidia"},"NVIDIA",-1)),Gct=D(()=>l("option",{value:"amd-noavx"},"AMD (No AVX)",-1)),Vct=D(()=>l("option",{value:"amd"},"AMD",-1)),zct=D(()=>l("option",{value:"apple-intel"},"Apple Intel",-1)),Hct=D(()=>l("option",{value:"apple-silicon"},"Apple Silicon",-1)),qct=[Pct,Fct,Uct,Bct,Gct,Vct,zct,Hct],$ct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"discussion_db_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Database path:")],-1)),Yct={style:{width:"100%"}},Wct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"copy_to_clipboard_add_all_details",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Add details to messages copied to clipboard:")],-1)),Kct={class:"flex flex-row"},jct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_show_browser",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto show browser:")],-1)),Qct={class:"flex flex-row"},Xct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_debug",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate debug mode:")],-1)),Zct={class:"flex flex-row"},Jct=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_show_final_full_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate showing the full prompt in console (for debug):")],-1)),edt={class:"flex flex-row"},tdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_show_final_full_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Show final full prompt in console:")],-1)),ndt={class:"flex flex-row"},sdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_show_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Show chunks in console:")],-1)),idt={class:"flex flex-row"},rdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"debug_log_file_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Debug file path:")],-1)),odt={class:"flex flex-row"},adt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"show_news_panel",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Show news panel:")],-1)),ldt={class:"flex flex-row"},cdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_save",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto save:")],-1)),ddt={class:"flex flex-row"},udt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto update:")],-1)),pdt={class:"flex flex-row"},_dt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_update",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Auto title:")],-1)),hdt={class:"flex flex-row"},fdt={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"},mdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start header id template:")],-1)),gdt=D(()=>l("option",{value:"lollms"},"Lollms communication template",-1)),bdt=D(()=>l("option",{value:"lollms_simplified"},"Lollms simplified communication template",-1)),Edt=D(()=>l("option",{value:"bare"},"Bare, useful when in chat mode",-1)),ydt=D(()=>l("option",{value:"llama3"},"LLama3 communication template",-1)),vdt=D(()=>l("option",{value:"mistral"},"Mistral communication template",-1)),Sdt=[gdt,bdt,Edt,ydt,vdt],Tdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start header id template:")],-1)),xdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End header id template:")],-1)),Cdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_user_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start user header id template:")],-1)),wdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_user_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End user header id template:")],-1)),Rdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_user_message_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End user message id template:")],-1)),Adt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"start_ai_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Start ai header id template:")],-1)),Ndt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_ai_header_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End ai header id template:")],-1)),Odt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"end_ai_message_id_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"End ai message id template:")],-1)),Idt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"separator_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Separator template:")],-1)),Mdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"system_message_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"System template:")],-1)),kdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"full_template",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Full template:")],-1)),Ddt=["innerHTML"],Ldt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_continue_message",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"useful for chat models and repote models but can be less useful for instruct ones"},"Use continue message:")],-1)),Pdt={style:{width:"100%"}},Fdt={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"},Udt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"user_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User name:")],-1)),Bdt={style:{width:"100%"}},Gdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"user_description",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User description:")],-1)),Vdt={style:{width:"100%"}},zdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_user_informations_in_discussion",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use user description in discussion:")],-1)),Hdt={style:{width:"100%"}},qdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_model_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use model name in discussion:")],-1)),$dt={style:{width:"100%"}},Ydt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"user_avatar",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"User avatar:")],-1)),Wdt={for:"avatar-upload"},Kdt=["src"],jdt={style:{width:"10%"}},Qdt=D(()=>l("i",{"data-feather":"x"},null,-1)),Xdt=[Qdt],Zdt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_user_name_in_discussions",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use User Name in discussions:")],-1)),Jdt={class:"flex flex-row"},eut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"max_n_predict",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Maximum number of output tokens space (forces the model to have more space to speak):")],-1)),tut={style:{width:"100%"}},nut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"max_n_predict",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Minimum number of output tokens space (forces the model to have more space to speak):")],-1)),sut={style:{width:"100%"}},iut={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"},rut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_code_execution",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on code execution:")],-1)),out={style:{width:"100%"}},aut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_code_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on code validation (very recommended for security reasons):")],-1)),lut={style:{width:"100%"}},cut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_setting_update_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on apply settings validation (very recommended for security reasons):")],-1)),dut={style:{width:"100%"}},uut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_open_file_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on open file/folder validation:")],-1)),put={style:{width:"100%"}},_ut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"turn_on_send_file_validation",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"turn on send file validation:")],-1)),hut={style:{width:"100%"}},fut={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"},mut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_skills_lib",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate Skills library:")],-1)),gut={class:"flex flex-row"},but=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"discussion_db_name",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Skills library database name:")],-1)),Eut={style:{width:"100%"}},yut={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"},vut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"pdf_latex_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"PDF LaTeX path:")],-1)),Sut={class:"flex flex-row"},Tut={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"},xut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"positive_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Positive Boost:")],-1)),Cut={class:"flex flex-row"},wut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"negative_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Negative Boost:")],-1)),Rut={class:"flex flex-row"},Aut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"fun_mode",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fun mode:")],-1)),Nut={class:"flex flex-row"},Out={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Iut={class:"flex flex-row p-3"},Mut=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),kut=[Mut],Dut=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Lut=[Dut],Put=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Data management settings",-1)),Fut={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"},Uut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_databases",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data Sources:")],-1)),But={style:{width:"100%"}},Gut=["onUpdate:modelValue"],Vut=["onClick"],zut=["onClick"],Hut=["onClick"],qut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG Vectorizer:")],-1)),$ut=D(()=>l("option",{value:"semantic"},"Semantic Vectorizer",-1)),Yut=D(()=>l("option",{value:"tfidf"},"TFIDF Vectorizer",-1)),Wut=D(()=>l("option",{value:"openai"},"OpenAI Vectorizer",-1)),Kut=[$ut,Yut,Wut],jut=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_vectorizer_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG Vectorizer model:")],-1)),Qut=["disabled"],Xut={key:0,value:"sentence-transformers/bert-base-nli-mean-tokens"},Zut={key:1,value:"bert-base-uncased"},Jut={key:2,value:"bert-base-multilingual-uncased"},ept={key:3,value:"bert-large-uncased"},tpt={key:4,value:"bert-large-uncased-whole-word-masking-finetuned-squad"},npt={key:5,value:"distilbert-base-uncased"},spt={key:6,value:"roberta-base"},ipt={key:7,value:"roberta-large"},rpt={key:8,value:"xlm-roberta-base"},opt={key:9,value:"xlm-roberta-large"},apt={key:10,value:"albert-base-v2"},lpt={key:11,value:"albert-large-v2"},cpt={key:12,value:"albert-xlarge-v2"},dpt={key:13,value:"albert-xxlarge-v2"},upt={key:14,value:"sentence-transformers/all-MiniLM-L6-v2"},ppt={key:15,value:"sentence-transformers/all-MiniLM-L12-v2"},_pt={key:16,value:"sentence-transformers/all-distilroberta-v1"},hpt={key:17,value:"sentence-transformers/all-mpnet-base-v2"},fpt={key:18,value:"text-embedding-ada-002"},mpt={key:19,value:"text-embedding-babbage-001"},gpt={key:20,value:"text-embedding-curie-001"},bpt={key:21,value:"text-embedding-davinci-001"},Ept={key:22,disabled:""},ypt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_vectorizer_openai_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open AI key for open ai embedding method (if not provided I'll use OPENAI_API_KEY environment variable):")],-1)),vpt={class:"flex flex-row"},Spt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG chunk size:")],-1)),Tpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_overlap",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG overlap size:")],-1)),xpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_n_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"RAG number of chunks:")],-1)),Cpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_clean_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Clean chunks:")],-1)),wpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_follow_subfolders",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Follow subfolders:")],-1)),Rpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_check_new_files_at_startup",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Check for new files at startup:")],-1)),Apt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_preprocess_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Preprocess chunks:")],-1)),Npt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_activate_multi_hops",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate multi hops RAG:")],-1)),Opt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"contextual_summary",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use contextual summary instead of rag (consumes alot of tokens and may be very slow but efficient, useful for summary and global questions that RAG can't do):")],-1)),Ipt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"rag_deactivate",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Useful for very big contexts and global tasks that require the whole document"},"Use all the document content (No split):")],-1)),Mpt={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"},kpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save vectorized database:")],-1)),Dpt={class:"flex flex-row"},Lpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_visualize_on_vectorization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"show vectorized data:")],-1)),Ppt={class:"flex flex-row"},Fpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_build_keys_words",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Reformulate prompt before querying database (advised):")],-1)),Upt={class:"flex flex-row"},Bpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_force_first_chunk",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Force adding the first chunk of the file to the context:")],-1)),Gpt={class:"flex flex-row"},Vpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_put_chunk_informations_into_context",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Put Chunk Information Into Context:")],-1)),zpt={class:"flex flex-row"},Hpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization method:")],-1)),qpt=D(()=>l("option",{value:"tfidf_vectorizer"},"tfidf Vectorizer",-1)),$pt=D(()=>l("option",{value:"bm25_vectorizer"},"bm25 Vectorizer",-1)),Ypt=D(()=>l("option",{value:"model_embedding"},"Model Embedding",-1)),Wpt=D(()=>l("option",{value:"sentense_transformer"},"Sentense Transformer",-1)),Kpt=[qpt,$pt,Ypt,Wpt],jpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_sentense_transformer_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization model (for Sentense Transformer):")],-1)),Qpt={style:{width:"100%"}},Xpt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_visualization_method",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data visualization method:")],-1)),Zpt=D(()=>l("option",{value:"PCA"},"PCA",-1)),Jpt=D(()=>l("option",{value:"TSNE"},"TSNE",-1)),e_t=[Zpt,Jpt],t_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_save_db",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Save the new files to the database (The database wil always grow and continue to be the same over many sessions):")],-1)),n_t={class:"flex flex-row"},s_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization chunk size(tokens):")],-1)),i_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Data vectorization overlap size(tokens):")],-1)),r_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"data_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Number of chunks to use for each message:")],-1)),o_t={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},a_t={class:"flex flex-row p-3"},l_t=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),c_t=[l_t],d_t=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),u_t=[d_t],p_t=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Internet",-1)),__t={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"},h_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_internet_search",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate internet search:")],-1)),f_t={class:"flex flex-row"},m_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_internet_pages_judgement",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate internet pages judgement:")],-1)),g_t={class:"flex flex-row"},b_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_quick_search",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate quick search:")],-1)),E_t={class:"flex flex-row"},y_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_activate_search_decision",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate search decision:")],-1)),v_t={class:"flex flex-row"},S_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_vectorization_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet vectorization chunk size:")],-1)),T_t={class:"flex flex-col"},x_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_vectorization_overlap_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet vectorization overlap size:")],-1)),C_t={class:"flex flex-col"},w_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_vectorization_nb_chunks",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet vectorization number of chunks:")],-1)),R_t={class:"flex flex-col"},A_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"internet_nb_search_pages",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Internet number of search pages:")],-1)),N_t={class:"flex flex-col"},O_t={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},I_t={class:"flex flex-row p-3"},M_t=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),k_t=[M_t],D_t=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),L_t=[D_t],P_t=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Services Zoo",-1)),F_t={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"},U_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_tts_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to speach engine"},"Active TTS Service:")],-1)),B_t={style:{width:"100%"}},G_t=D(()=>l("option",{value:"None"},"None",-1)),V_t=D(()=>l("option",{value:"browser"},"Use Browser TTS (doesn't work in realtime mode)",-1)),z_t=D(()=>l("option",{value:"xtts"},"XTTS",-1)),H_t=D(()=>l("option",{value:"parler-tts"},"Parler-TTS",-1)),q_t=D(()=>l("option",{value:"openai_tts"},"Open AI TTS",-1)),$_t=D(()=>l("option",{value:"eleven_labs_tts"},"ElevenLabs TTS",-1)),Y_t=D(()=>l("option",{value:"fish_tts"},"Fish TTS",-1)),W_t=[G_t,V_t,z_t,H_t,q_t,$_t,Y_t],K_t=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_stt_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Speach to Text engine"},"Active STT Service:")],-1)),j_t={style:{width:"100%"}},Q_t=D(()=>l("option",{value:"None"},"None",-1)),X_t=D(()=>l("option",{value:"whisper"},"Whisper",-1)),Z_t=D(()=>l("option",{value:"openai_whisper"},"Open AI Whisper",-1)),J_t=[Q_t,X_t,Z_t],eht=D(()=>l("tr",null,null,-1)),tht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_tti_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to image engine"},"Active TTI Service:")],-1)),nht={style:{width:"100%"}},sht=D(()=>l("option",{value:"None"},"None",-1)),iht=D(()=>l("option",{value:"diffusers"},"Diffusers",-1)),rht=D(()=>l("option",{value:"diffusers_client"},"Diffusers Client",-1)),oht=D(()=>l("option",{value:"autosd"},"AUTO1111's SD",-1)),aht=D(()=>l("option",{value:"dall-e"},"Open AI DALL-E",-1)),lht=D(()=>l("option",{value:"midjourney"},"Midjourney",-1)),cht=D(()=>l("option",{value:"comfyui"},"Comfyui",-1)),dht=D(()=>l("option",{value:"fooocus"},"Fooocus",-1)),uht=[sht,iht,rht,oht,aht,lht,cht,dht],pht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_ttm_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to Music engine"},"Active TTM Service:")],-1)),_ht={style:{width:"100%"}},hht=D(()=>l("option",{value:"None"},"None",-1)),fht=D(()=>l("option",{value:"musicgen"},"Music Gen",-1)),mht=[hht,fht],ght=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"active_ttv_service",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Default Text to speach engine"},"Active TTV Service:")],-1)),bht={style:{width:"100%"}},Eht=D(()=>l("option",{value:"None"},"None",-1)),yht=D(()=>l("option",{value:"cog_video_x"},"Cog Video X",-1)),vht=D(()=>l("option",{value:"diffusers"},"Diffusers",-1)),Sht=D(()=>l("option",{value:"lumalab"},"Lumalab",-1)),Tht=[Eht,yht,vht,Sht],xht={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"},Cht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_negative_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use negative prompt:")],-1)),wht={class:"flex flex-row"},Rht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"use_ai_generated_negative_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Use AI generated negative prompt:")],-1)),Aht={class:"flex flex-row"},Nht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"negative_prompt_generation_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Negative prompt generation prompt:")],-1)),Oht={class:"flex flex-row"},Iht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"default_negative_prompt",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Default negative prompt:")],-1)),Mht={class:"flex flex-row"},kht={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"},Dht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_listening_threshold",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Listening threshold"},"Listening threshold:")],-1)),Lht={style:{width:"100%"}},Pht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_silence_duration",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Scilence duration"},"Silence duration (s):")],-1)),Fht={style:{width:"100%"}},Uht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_sound_threshold_percentage",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"stt_sound_threshold_percentage"},"Minimum sound percentage in recorded segment:")],-1)),Bht={style:{width:"100%"}},Ght=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_gain",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"STT Gain"},"Volume amplification:")],-1)),Vht={style:{width:"100%"}},zht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_rate",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Audio Rate"},"audio rate:")],-1)),Hht={style:{width:"100%"}},qht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_channels",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"number of channels"},"number of channels:")],-1)),$ht={style:{width:"100%"}},Yht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_buffer_size",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Buffer size"},"Buffer size:")],-1)),Wht={style:{width:"100%"}},Kht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_activate_word_detection",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate word detection:")],-1)),jht={class:"flex flex-row"},Qht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_word_detection_file",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Word detection wav file:")],-1)),Xht={class:"flex flex-row"},Zht={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"},Jht=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"stt_input_device",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Input device"},"Audio Input device:")],-1)),eft={style:{width:"100%"}},tft=["value"],nft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"tts_output_device",class:"text-sm font-bold",style:{"margin-right":"1rem"},title:"Input device"},"Audio Output device:")],-1)),sft={style:{width:"100%"}},ift=["value"],rft={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"},oft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"host",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Host:")],-1)),aft={style:{width:"100%"}},lft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"lollms_access_keys",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Access keys:")],-1)),cft={style:{width:"100%"}},dft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"port",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Port:")],-1)),uft={style:{width:"100%"}},pft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"headless_server_mode",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate headless server mode:")],-1)),_ft={style:{width:"100%"}},hft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms server:")],-1)),fft={style:{width:"100%"}},mft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_rag_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms RAG server:")],-1)),gft={style:{width:"100%"}},bft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_tts_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms TTS server:")],-1)),Eft={style:{width:"100%"}},yft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_stt_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms STT server:")],-1)),vft={style:{width:"100%"}},Sft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_tti_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms TTI server:")],-1)),Tft={style:{width:"100%"}},xft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_itt_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms ITT server:")],-1)),Cft={style:{width:"100%"}},wft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_lollms_ttm_server",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate lollms TTM server:")],-1)),Rft={style:{width:"100%"}},Aft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_ollama_emulator",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate ollama server emulator:")],-1)),Nft={style:{width:"100%"}},Oft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_openai_emulator",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate openai server emulator:")],-1)),Ift={style:{width:"100%"}},Mft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_mistralai_emulator",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate mistral ai server emulator:")],-1)),kft={style:{width:"100%"}},Dft={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"},Lft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"activate_audio_infos",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate audio infos:")],-1)),Pft={class:"flex flex-row"},Fft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_auto_send_input",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Send audio input automatically:")],-1)),Uft={class:"flex flex-row"},Bft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_silenceTimer",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio in silence timer (ms):")],-1)),Gft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_in_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Input Audio Language:")],-1)),Vft=["value"],zft={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"},Hft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"whisper_activate",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Activate Whisper at startup:")],-1)),qft={class:"flex flex-row"},$ft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}})],-1)),Yft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"whisper_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Whisper model:")],-1)),Wft={class:"flex flex-row"},Kft=["value"],jft={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"},Qft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_whisper_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai whisper key:")],-1)),Xft={class:"flex flex-row"},Zft=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_whisper_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open Ai Whisper model:")],-1)),Jft={class:"flex flex-row"},emt=["value"],tmt={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"},nmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),smt={class:"flex flex-row"},imt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),rmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),omt=["value"],amt={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"},lmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),cmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),dmt={class:"flex flex-row"},umt=["value"],pmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_current_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current voice:")],-1)),_mt={class:"flex flex-row"},hmt=["value"],fmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_freq",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Frequency (controls the tone):")],-1)),mmt={class:"flex flex-row"},gmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"auto_read",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto read:")],-1)),bmt={class:"flex flex-row"},Emt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_stream_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"xtts stream chunk size:")],-1)),ymt={class:"flex flex-row"},vmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_temperature",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Temperature:")],-1)),Smt={class:"flex flex-row"},Tmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_length_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Length Penalty:")],-1)),xmt={class:"flex flex-row"},Cmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_repetition_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Repetition Penalty:")],-1)),wmt={class:"flex flex-row"},Rmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_top_k",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top K:")],-1)),Amt={class:"flex flex-row"},Nmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_top_p",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top P:")],-1)),Omt={class:"flex flex-row"},Imt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"xtts_speed",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Speed:")],-1)),Mmt={class:"flex flex-row"},kmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_text_splitting",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable Text Splitting:")],-1)),Dmt={class:"flex flex-row"},Lmt={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"},Pmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open AI key:")],-1)),Fmt={class:"flex flex-row"},Umt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_tts_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts model:")],-1)),Bmt={class:"flex flex-row"},Gmt=D(()=>l("option",null," tts-1 ",-1)),Vmt=D(()=>l("option",null," tts-2 ",-1)),zmt=[Gmt,Vmt],Hmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"openai_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts voice:")],-1)),qmt={class:"flex flex-row"},$mt=D(()=>l("option",null," alloy ",-1)),Ymt=D(()=>l("option",null," echo ",-1)),Wmt=D(()=>l("option",null," fable ",-1)),Kmt=D(()=>l("option",null," nova ",-1)),jmt=D(()=>l("option",null," shimmer ",-1)),Qmt=[$mt,Ymt,Wmt,Kmt,jmt],Xmt={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"},Zmt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs key:")],-1)),Jmt={class:"flex flex-row"},egt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_model_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs TTS model ID:")],-1)),tgt={class:"flex flex-row"},ngt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_voice_stability",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Stability:")],-1)),sgt={class:"flex flex-row"},igt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_voice_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Boost:")],-1)),rgt={class:"flex flex-row"},ogt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elevenlabs_tts_voice_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice ID:")],-1)),agt={class:"flex flex-row"},lgt=["value"],cgt={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"},dgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"fish_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS key:")],-1)),ugt={class:"flex flex-row"},pgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"fish_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS voice:")],-1)),_gt={class:"flex flex-row"},hgt={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"},fgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable sd service:")],-1)),mgt={class:"flex flex-row"},ggt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),bgt=[ggt],Egt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"install_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install SD service:")],-1)),ygt={class:"flex flex-row"},vgt=D(()=>l("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/stable-diffusion-webui/blob/master/LICENSE.txt",target:"_blank"},"automatic1111's sd licence",-1)),Sgt={class:"flex flex-row"},Tgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"sd_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"sd base url:")],-1)),xgt={class:"flex flex-row"},Cgt={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"},wgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"install_diffusers_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Diffusers service:")],-1)),Rgt={class:"flex flex-row"},Agt=D(()=>l("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/huggingface/diffusers?tab=Apache-2.0-1-ov-file#readme",target:"_blank"},"Diffusers licence",-1)),Ngt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"diffusers_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers model:")],-1)),Ogt={class:"flex flex-row"},Igt=D(()=>l("td",null,null,-1)),Mgt={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"},kgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"diffusers_client_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers client base url:")],-1)),Dgt={class:"flex flex-row"},Lgt=D(()=>l("td",null,null,-1)),Pgt={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"},Fgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"midjourney_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"midjourney key:")],-1)),Ugt={class:"flex flex-row"},Bgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"midjourney_timeout",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"request timeout(s):")],-1)),Ggt={class:"flex flex-row"},Vgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"midjourney_retries",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"number of retries:")],-1)),zgt={class:"flex flex-row"},Hgt={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"},qgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"dall_e_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e key:")],-1)),$gt={class:"flex flex-row"},Ygt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"dall_e_generation_engine",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e generation engine:")],-1)),Wgt={class:"flex flex-row"},Kgt=D(()=>l("option",null," dall-e-2 ",-1)),jgt=D(()=>l("option",null," dall-e-3 ",-1)),Qgt=[Kgt,jgt],Xgt={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"},Zgt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_comfyui_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui service:")],-1)),Jgt={class:"flex flex-row"},ebt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),tbt=[ebt],nbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Available models (only if local):")],-1)),sbt={class:"flex flex-row"},ibt=["value"],rbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui model:")],-1)),obt={class:"flex flex-row"},abt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),lbt=[abt],cbt=D(()=>l("td",{style:{"min-width":"200px"}},null,-1)),dbt={class:"flex flex-row"},ubt=D(()=>l("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/ComfyUI/blob/master/LICENSE",target:"_blank"},"comfyui licence",-1)),pbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"comfyui_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"comfyui base url:")],-1)),_bt={class:"flex flex-row"},hbt={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"},fbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_ollama_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable ollama service:")],-1)),mbt={class:"flex flex-row"},gbt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),bbt=[gbt],Ebt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"ollama_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Ollama service:")],-1)),ybt={class:"flex flex-row"},vbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"ollama_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"ollama base url:")],-1)),Sbt={class:"flex flex-row"},Tbt={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"},xbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_vllm_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable vLLM service:")],-1)),Cbt={class:"flex flex-row"},wbt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),Rbt=[wbt],Abt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install vLLM service:")],-1)),Nbt={class:"flex flex-row"},Obt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm base url:")],-1)),Ibt={class:"flex flex-row"},Mbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_gpu_memory_utilization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"gpu memory utilization:")],-1)),kbt={class:"flex flex-col align-bottom"},Dbt={class:"relative"},Lbt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"vllm_gpu_memory_utilization",class:"text-sm font-medium"}," vllm gpu memory utilization: ")],-1)),Pbt={class:"absolute right-0"},Fbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_max_num_seqs",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm max num seqs:")],-1)),Ubt={class:"flex flex-row"},Bbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_max_model_len",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"max model len:")],-1)),Gbt={class:"flex flex-row"},Vbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"vllm_model_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm model path:")],-1)),zbt={class:"flex flex-row"},Hbt={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"},qbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"enable_petals_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable petals service:")],-1)),$bt={class:"flex flex-row"},Ybt=D(()=>l("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)),Wbt=[Ybt],Kbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Petals service:")],-1)),jbt={class:"flex flex-row"},Qbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"petals base url:")],-1)),Xbt={class:"flex flex-row"},Zbt={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"},Jbt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"lumalabs_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Lumalabs key:")],-1)),eEt={class:"flex flex-row"},tEt={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"},nEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable elastic search service:")],-1)),sEt={class:"flex flex-row"},iEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"install_elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Reinstall Elastic Search service:")],-1)),rEt={class:"flex flex-row"},oEt=D(()=>l("td",{style:{"min-width":"200px"}},[l("label",{for:"elastic_search_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"elastic search base url:")],-1)),aEt={class:"flex flex-row"},lEt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},cEt={class:"flex flex-row p-3"},dEt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),uEt=[dEt],pEt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),_Et=[pEt],hEt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),fEt={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},mEt=D(()=>l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),gEt={key:1,class:"mr-2"},bEt={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},EEt={class:"flex gap-1 items-center"},yEt=["src"],vEt={class:"font-bold font-large text-lg line-clamp-1"},SEt={key:0,class:"mb-2"},TEt={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},xEt=D(()=>l("i",{"data-feather":"chevron-up"},null,-1)),CEt=[xEt],wEt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),REt=[wEt],AEt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},NEt={class:"flex flex-row p-3"},OEt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),IEt=[OEt],MEt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),kEt=[MEt],DEt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),LEt={class:"flex flex-row items-center"},PEt={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},FEt=D(()=>l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),UEt={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},BEt=D(()=>l("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),GEt={key:2,class:"mr-2"},VEt={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},zEt={class:"flex gap-1 items-center"},HEt=["src"],qEt={class:"font-bold font-large text-lg line-clamp-1"},$Et={class:"mx-2 mb-4"},YEt={class:"relative"},WEt={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},KEt={key:0},jEt=D(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),QEt=[jEt],XEt={key:1},ZEt=D(()=>l("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"},[l("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)),JEt=[ZEt],eyt=D(()=>l("label",{for:"only_installed"},"Show only installed models",-1)),tyt=D(()=>l("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",class:"mb-4 font-bold underline text-blue-500 pb-4"},"Hugging face Leaderboard",-1)),nyt={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},syt=D(()=>l("svg",{"aria-hidden":"true",class:"text-center w-full display: flex;align-items: center; h-20 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("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"}),l("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)),iyt=D(()=>l("p",{class:"heartbeat-text"},"Loading models Zoo",-1)),ryt=[syt,iyt],oyt={key:1,class:"mb-2"},ayt={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},lyt=D(()=>l("i",{"data-feather":"chevron-up"},null,-1)),cyt=[lyt],dyt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),uyt=[dyt],pyt={class:"mb-2"},_yt={class:"p-2"},hyt={class:"mb-3"},fyt=D(()=>l("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),myt={key:0},gyt={class:"mb-3"},byt=D(()=>l("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),Eyt={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},yyt=D(()=>l("div",{role:"status",class:"justify-center"},null,-1)),vyt={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Syt={class:"w-full p-2"},Tyt={class:"flex justify-between mb-1"},xyt=mo(' Downloading Loading...',1),Cyt={class:"text-sm font-medium text-blue-700 dark:text-white"},wyt=["title"],Ryt={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Ayt={class:"flex justify-between mb-1"},Nyt={class:"text-base font-medium text-blue-700 dark:text-white"},Oyt={class:"text-sm font-medium text-blue-700 dark:text-white"},Iyt={class:"flex flex-grow"},Myt={class:"flex flex-row flex-grow gap-3"},kyt={class:"p-2 text-center grow"},Dyt={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Lyt={class:"flex flex-row p-3 items-center"},Pyt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),Fyt=[Pyt],Uyt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),Byt=[Uyt],Gyt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),Vyt={key:0,class:"mr-2"},zyt={class:"mr-2 font-bold font-large text-lg line-clamp-1"},Hyt={key:1,class:"mr-2"},qyt={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},$yt={key:0,class:"flex -space-x-4 items-center"},Yyt={class:"group items-center flex flex-row"},Wyt=["onClick"],Kyt=["src","title"],jyt=["onClick"],Qyt=D(()=>l("span",{class:"hidden group-hover:block -top-2 -right-1 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[l("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"},[l("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)),Xyt=[Qyt],Zyt=D(()=>l("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"},[l("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)),Jyt=[Zyt],evt={class:"mx-2 mb-4"},tvt=D(()=>l("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),nvt={class:"relative"},svt={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},ivt={key:0},rvt=D(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),ovt=[rvt],avt={key:1},lvt=D(()=>l("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"},[l("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)),cvt=[lvt],dvt={key:0,class:"mx-2 mb-4"},uvt={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},pvt=["selected"],_vt={key:0,class:"mb-2"},hvt={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},fvt=D(()=>l("i",{"data-feather":"chevron-up"},null,-1)),mvt=[fvt],gvt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),bvt=[gvt],Evt={class:"flex flex-col mb-2 p-3 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},yvt={class:"flex flex-row"},vvt=D(()=>l("i",{"data-feather":"chevron-right"},null,-1)),Svt=[vvt],Tvt=D(()=>l("i",{"data-feather":"chevron-down"},null,-1)),xvt=[Tvt],Cvt=D(()=>l("p",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),wvt={class:"m-2"},Rvt={class:"flex flex-row gap-2 items-center"},Avt=D(()=>l("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),Nvt={class:"m-2"},Ovt=D(()=>l("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),Ivt={class:"m-2"},Mvt={class:"flex flex-col align-bottom"},kvt={class:"relative"},Dvt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),Lvt={class:"absolute right-0"},Pvt={class:"m-2"},Fvt={class:"flex flex-col align-bottom"},Uvt={class:"relative"},Bvt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),Gvt={class:"absolute right-0"},Vvt={class:"m-2"},zvt={class:"flex flex-col align-bottom"},Hvt={class:"relative"},qvt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),$vt={class:"absolute right-0"},Yvt={class:"m-2"},Wvt={class:"flex flex-col align-bottom"},Kvt={class:"relative"},jvt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),Qvt={class:"absolute right-0"},Xvt={class:"m-2"},Zvt={class:"flex flex-col align-bottom"},Jvt={class:"relative"},eSt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),tSt={class:"absolute right-0"},nSt={class:"m-2"},sSt={class:"flex flex-col align-bottom"},iSt={class:"relative"},rSt=D(()=>l("p",{class:"absolute left-0 mt-6"},[l("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),oSt={class:"absolute right-0"};function aSt(n,e,t,s,i,r){const o=tt("StringListManager"),a=tt("Card"),c=tt("BindingEntry"),d=tt("RadioOptions"),u=tt("model-entry"),h=tt("personality-entry"),f=tt("AddModelDialog"),m=tt("ChoiceDialog");return T(),C(Ge,null,[l("div",Fat,[l("div",Uat,[i.showConfirmation?(T(),C("div",Bat,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=j(_=>i.showConfirmation=!1,["stop"]))},Vat),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=j(_=>r.save_configuration(),["stop"]))},Hat)])):G("",!0),i.showConfirmation?G("",!0):(T(),C("div",qat,[l("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=_=>r.reset_configuration())},Yat),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[3]||(e[3]=j(_=>i.all_collapsed=!i.all_collapsed,["stop"]))},Kat)])),l("div",jat,[l("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[4]||(e[4]=_=>r.api_get_req("clear_uploads").then(g=>{g.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},Xat),l("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=_=>r.api_post_req("restart_program").then(g=>{g.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},Jat),i.has_updates?(T(),C("button",{key:0,title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=_=>r.api_post_req("update_software").then(g=>{g.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast("Success!",4,!0)}))},nlt)):G("",!0),l("div",slt,[i.settingsChanged?(T(),C("div",ilt,[i.isLoading?G("",!0):(T(),C("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[7]||(e[7]=j(_=>r.applyConfiguration(),["stop"]))},olt)),i.isLoading?G("",!0):(T(),C("button",{key:1,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Cancel changes",type:"button",onClick:e[8]||(e[8]=j(_=>r.cancelConfiguration(),["stop"]))},llt))])):G("",!0),i.isLoading?(T(),C("div",clt,[l("p",null,K(i.loading_text),1),dlt,ult])):G("",!0)])])]),l("div",{class:Be(i.isLoading?"pointer-events-none opacity-30 w-full":"w-full")},[l("div",plt,[l("div",_lt,[l("button",{onClick:e[9]||(e[9]=j(_=>i.sc_collapsed=!i.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,flt,512),[[wt,i.sc_collapsed]]),P(l("div",null,glt,512),[[wt,!i.sc_collapsed]]),blt,Elt,l("div",ylt,[l("div",vlt,[l("div",null,[r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length==1?(T(),C("div",Slt,[(T(!0),C(Ge,null,Xe(r.vramUsage.gpus,_=>(T(),C("div",{class:"flex gap-2 items-center",key:_},[l("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,Tlt),l("p",xlt,[l("div",null,K(r.computedFileSize(_.used_vram))+" / "+K(r.computedFileSize(_.total_vram))+" ("+K(_.percentage)+"%) ",1)])]))),128))])):G("",!0),r.vramUsage&&r.vramUsage.gpus&&r.vramUsage.gpus.length>1?(T(),C("div",Clt,[l("div",wlt,[l("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,Rlt),l("p",Alt,[l("div",null,K(r.vramUsage.gpus.length)+"x ",1)])])])):G("",!0)]),Nlt,l("p",Olt,[l("div",null,K(r.ram_usage)+" / "+K(r.ram_total_space)+" ("+K(r.ram_percent_usage)+"%)",1)]),Ilt,l("p",Mlt,[l("div",null,K(r.disk_binding_models_usage)+" / "+K(r.disk_total_space)+" ("+K(r.disk_percent_usage)+"%)",1)])])])])]),l("div",{class:Be([{hidden:i.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",klt,[Dlt,l("div",Llt,[l("div",null,[Plt,Je(K(r.ram_available_space),1)]),l("div",null,[Flt,Je(" "+K(r.ram_usage)+" / "+K(r.ram_total_space)+" ("+K(r.ram_percent_usage)+")% ",1)])]),l("div",Ult,[l("div",Blt,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),l("div",Glt,[Vlt,l("div",zlt,[l("div",null,[Hlt,Je(K(r.disk_available_space),1)]),l("div",null,[qlt,Je(" "+K(r.disk_binding_models_usage)+" / "+K(r.disk_total_space)+" ("+K(r.disk_percent_usage)+"%)",1)])]),l("div",$lt,[l("div",Ylt,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),(T(!0),C(Ge,null,Xe(r.vramUsage.gpus,_=>(T(),C("div",{class:"mb-2",key:_},[l("label",Wlt,[l("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,Klt),Je(" GPU usage: ")]),l("div",jlt,[l("div",null,[Qlt,Je(K(_.gpu_model),1)]),l("div",null,[Xlt,Je(K(this.computedFileSize(_.available_space)),1)]),l("div",null,[Zlt,Je(" "+K(this.computedFileSize(_.used_vram))+" / "+K(this.computedFileSize(_.total_vram))+" ("+K(_.percentage)+"%)",1)])]),l("div",Jlt,[l("div",ect,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt("width: "+_.percentage+"%;")},null,4)])])]))),128))],2)]),l("div",tct,[l("div",nct,[l("button",{onClick:e[10]||(e[10]=j(_=>i.smartrouterconf_collapsed=!i.smartrouterconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,ict,512),[[wt,i.smartrouterconf_collapsed]]),P(l("div",null,oct,512),[[wt,!i.smartrouterconf_collapsed]]),act])]),l("div",{class:Be([{hidden:i.smartrouterconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",lct,[V(a,{title:"Smart Routing Settings",is_shrunk:!1,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",cct,[l("tr",null,[dct,l("td",uct,[P(l("input",{type:"checkbox",id:"use_smart_routing","onUpdate:modelValue":e[11]||(e[11]=_=>r.configFile.use_smart_routing=_),onChange:e[12]||(e[12]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_smart_routing]])])]),l("tr",null,[pct,l("td",_ct,[P(l("input",{type:"checkbox",id:"restore_model_after_smart_routing","onUpdate:modelValue":e[13]||(e[13]=_=>r.configFile.restore_model_after_smart_routing=_),onChange:e[14]||(e[14]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.restore_model_after_smart_routing]])])]),l("tr",null,[hct,l("td",fct,[P(l("input",{type:"text",id:"smart_routing_router_model","onUpdate:modelValue":e[15]||(e[15]=_=>r.configFile.smart_routing_router_model=_),onChange:e[16]||(e[16]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.smart_routing_router_model]])])]),l("tr",null,[mct,l("td",gct,[V(o,{modelValue:r.configFile.smart_routing_models_by_power,"onUpdate:modelValue":e[17]||(e[17]=_=>r.configFile.smart_routing_models_by_power=_),onChange:e[18]||(e[18]=_=>i.settingsChanged=!0),placeholder:"Enter model name"},null,8,["modelValue"])])])])]),_:1})])],2)]),l("div",bct,[l("div",Ect,[l("button",{onClick:e[19]||(e[19]=j(_=>i.mainconf_collapsed=!i.mainconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,vct,512),[[wt,i.mainconf_collapsed]]),P(l("div",null,Tct,512),[[wt,!i.mainconf_collapsed]]),xct])]),l("div",{class:Be([{hidden:i.mainconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",Cct,[V(a,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",wct,[l("tr",null,[Rct,l("td",null,[l("label",Act,[l("img",{src:r.configFile.app_custom_logo!=null&&r.configFile.app_custom_logo!=""?"/user_infos/"+r.configFile.app_custom_logo:i.storeLogo,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,Nct)]),l("input",{type:"file",id:"logo-upload",style:{display:"none"},onChange:e[20]||(e[20]=(..._)=>r.uploadLogo&&r.uploadLogo(..._))},null,32)]),l("td",Oct,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[21]||(e[21]=j(_=>r.resetLogo(),["stop"]))},Mct)])]),l("tr",null,[kct,l("td",Dct,[l("div",Lct,[P(l("select",{id:"hardware_mode",required:"","onUpdate:modelValue":e[22]||(e[22]=_=>r.configFile.hardware_mode=_),onChange:e[23]||(e[23]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},qct,544),[[Dt,r.configFile.hardware_mode]])])])]),l("tr",null,[$ct,l("td",Yct,[P(l("input",{type:"text",id:"discussion_db_name",required:"","onUpdate:modelValue":e[24]||(e[24]=_=>r.configFile.discussion_db_name=_),onChange:e[25]||(e[25]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.discussion_db_name]])])]),l("tr",null,[Wct,l("td",null,[l("div",Kct,[P(l("input",{type:"checkbox",id:"copy_to_clipboard_add_all_details",required:"","onUpdate:modelValue":e[26]||(e[26]=_=>r.configFile.copy_to_clipboard_add_all_details=_),onChange:e[27]||(e[27]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.copy_to_clipboard_add_all_details]])])])]),l("tr",null,[jct,l("td",null,[l("div",Qct,[P(l("input",{type:"checkbox",id:"auto_show_browser",required:"","onUpdate:modelValue":e[28]||(e[28]=_=>r.configFile.auto_show_browser=_),onChange:e[29]||(e[29]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_show_browser]])])])]),l("tr",null,[Xct,l("td",null,[l("div",Zct,[P(l("input",{type:"checkbox",id:"activate_debug",required:"","onUpdate:modelValue":e[30]||(e[30]=_=>r.configFile.debug=_),onChange:e[31]||(e[31]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug]])])])]),l("tr",null,[Jct,l("td",null,[l("div",edt,[P(l("input",{type:"checkbox",id:"debug_show_final_full_prompt",required:"","onUpdate:modelValue":e[32]||(e[32]=_=>r.configFile.debug_show_final_full_prompt=_),onChange:e[33]||(e[33]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug_show_final_full_prompt]])])])]),l("tr",null,[tdt,l("td",null,[l("div",ndt,[P(l("input",{type:"checkbox",id:"debug_show_final_full_prompt",required:"","onUpdate:modelValue":e[34]||(e[34]=_=>r.configFile.debug_show_final_full_prompt=_),onChange:e[35]||(e[35]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug_show_final_full_prompt]])])])]),l("tr",null,[sdt,l("td",null,[l("div",idt,[P(l("input",{type:"checkbox",id:"debug_show_chunks",required:"","onUpdate:modelValue":e[36]||(e[36]=_=>r.configFile.debug_show_chunks=_),onChange:e[37]||(e[37]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.debug_show_chunks]])])])]),l("tr",null,[rdt,l("td",null,[l("div",odt,[P(l("input",{type:"text",id:"debug_log_file_path",required:"","onUpdate:modelValue":e[38]||(e[38]=_=>r.configFile.debug_log_file_path=_),onChange:e[39]||(e[39]=_=>i.settingsChanged=!0),class:"m-2 h-50 w-50 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.debug_log_file_path]])])])]),l("tr",null,[adt,l("td",null,[l("div",ldt,[P(l("input",{type:"checkbox",id:"show_news_panel",required:"","onUpdate:modelValue":e[40]||(e[40]=_=>r.configFile.show_news_panel=_),onChange:e[41]||(e[41]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.show_news_panel]])])])]),l("tr",null,[cdt,l("td",null,[l("div",ddt,[P(l("input",{type:"checkbox",id:"auto_save",required:"","onUpdate:modelValue":e[42]||(e[42]=_=>r.configFile.auto_save=_),onChange:e[43]||(e[43]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_save]])])])]),l("tr",null,[udt,l("td",null,[l("div",pdt,[P(l("input",{type:"checkbox",id:"auto_update",required:"","onUpdate:modelValue":e[44]||(e[44]=_=>r.configFile.auto_update=_),onChange:e[45]||(e[45]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_update]])])])]),l("tr",null,[_dt,l("td",null,[l("div",hdt,[P(l("input",{type:"checkbox",id:"auto_title",required:"","onUpdate:modelValue":e[46]||(e[46]=_=>r.configFile.auto_title=_),onChange:e[47]||(e[47]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_title]])])])])])]),_:1}),V(a,{title:"Model template",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",fdt,[l("tr",null,[mdt,l("td",null,[l("select",{onChange:e[48]||(e[48]=(..._)=>r.handleTemplateSelection&&r.handleTemplateSelection(..._))},Sdt,32)])]),l("tr",null,[Tdt,l("td",null,[P(l("input",{type:"text",id:"start_header_id_template",required:"","onUpdate:modelValue":e[49]||(e[49]=_=>r.configFile.start_header_id_template=_),onChange:e[50]||(e[50]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.start_header_id_template]])])]),l("tr",null,[xdt,l("td",null,[P(l("input",{type:"text",id:"end_header_id_template",required:"","onUpdate:modelValue":e[51]||(e[51]=_=>r.configFile.end_header_id_template=_),onChange:e[52]||(e[52]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_header_id_template]])])]),l("tr",null,[Cdt,l("td",null,[P(l("input",{type:"text",id:"start_user_header_id_template",required:"","onUpdate:modelValue":e[53]||(e[53]=_=>r.configFile.start_user_header_id_template=_),onChange:e[54]||(e[54]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.start_user_header_id_template]])])]),l("tr",null,[wdt,l("td",null,[P(l("input",{type:"text",id:"end_user_header_id_template",required:"","onUpdate:modelValue":e[55]||(e[55]=_=>r.configFile.end_user_header_id_template=_),onChange:e[56]||(e[56]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_user_header_id_template]])])]),l("tr",null,[Rdt,l("td",null,[P(l("input",{type:"text",id:"end_user_message_id_template",required:"","onUpdate:modelValue":e[57]||(e[57]=_=>r.configFile.end_user_message_id_template=_),onChange:e[58]||(e[58]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_user_message_id_template]])])]),l("tr",null,[Adt,l("td",null,[P(l("input",{type:"text",id:"start_ai_header_id_template",required:"","onUpdate:modelValue":e[59]||(e[59]=_=>r.configFile.start_ai_header_id_template=_),onChange:e[60]||(e[60]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.start_ai_header_id_template]])])]),l("tr",null,[Ndt,l("td",null,[P(l("input",{type:"text",id:"end_ai_header_id_template",required:"","onUpdate:modelValue":e[61]||(e[61]=_=>r.configFile.end_ai_header_id_template=_),onChange:e[62]||(e[62]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_ai_header_id_template]])])]),l("tr",null,[Odt,l("td",null,[P(l("input",{type:"text",id:"end_ai_message_id_template",required:"","onUpdate:modelValue":e[63]||(e[63]=_=>r.configFile.end_ai_message_id_template=_),onChange:e[64]||(e[64]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.end_ai_message_id_template]])])]),l("tr",null,[Idt,l("td",null,[P(l("textarea",{id:"separator_template",required:"","onUpdate:modelValue":e[65]||(e[65]=_=>r.configFile.separator_template=_),onChange:e[66]||(e[66]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.separator_template]])])]),l("tr",null,[Mdt,l("td",null,[P(l("input",{type:"text",id:"system_message_template",required:"","onUpdate:modelValue":e[67]||(e[67]=_=>r.configFile.system_message_template=_),onChange:e[68]||(e[68]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.system_message_template]])])]),l("tr",null,[kdt,l("td",null,[l("div",{innerHTML:r.full_template},null,8,Ddt)])]),l("tr",null,[Ldt,l("td",Pdt,[P(l("input",{type:"checkbox",id:"use_continue_message",required:"","onUpdate:modelValue":e[69]||(e[69]=_=>r.configFile.use_continue_message=_),onChange:e[70]||(e[70]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_continue_message]])])])])]),_:1}),V(a,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Fdt,[l("tr",null,[Udt,l("td",Bdt,[P(l("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[71]||(e[71]=_=>r.configFile.user_name=_),onChange:e[72]||(e[72]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.user_name]])])]),l("tr",null,[Gdt,l("td",Vdt,[P(l("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[73]||(e[73]=_=>r.configFile.user_description=_),onChange:e[74]||(e[74]=_=>i.settingsChanged=!0),class:"min-h-[500px] w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.user_description]])])]),l("tr",null,[zdt,l("td",Hdt,[P(l("input",{type:"checkbox",id:"use_user_informations_in_discussion",required:"","onUpdate:modelValue":e[75]||(e[75]=_=>r.configFile.use_user_informations_in_discussion=_),onChange:e[76]||(e[76]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_user_informations_in_discussion]])])]),l("tr",null,[qdt,l("td",$dt,[P(l("input",{type:"checkbox",id:"use_model_name_in_discussions",required:"","onUpdate:modelValue":e[77]||(e[77]=_=>r.configFile.use_model_name_in_discussions=_),onChange:e[78]||(e[78]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_model_name_in_discussions]])])]),l("tr",null,[Ydt,l("td",null,[l("label",Wdt,[l("img",{src:r.configFile.user_avatar!=null&&r.configFile.user_avatar!=""?"/user_infos/"+r.configFile.user_avatar:i.storeLogo,class:"w-50 h-50 rounded-full",style:{"max-width":"50px","max-height":"50px",cursor:"pointer"}},null,8,Kdt)]),l("input",{type:"file",id:"avatar-upload",style:{display:"none"},onChange:e[79]||(e[79]=(..._)=>r.uploadAvatar&&r.uploadAvatar(..._))},null,32)]),l("td",jdt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[80]||(e[80]=j(_=>r.resetAvatar(),["stop"]))},Xdt)])]),l("tr",null,[Zdt,l("td",null,[l("div",Jdt,[P(l("input",{type:"checkbox",id:"use_user_name_in_discussions",required:"","onUpdate:modelValue":e[81]||(e[81]=_=>r.configFile.use_user_name_in_discussions=_),onChange:e[82]||(e[82]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_user_name_in_discussions]])])])]),l("tr",null,[eut,l("td",tut,[P(l("input",{type:"number",id:"max_n_predict",required:"","onUpdate:modelValue":e[83]||(e[83]=_=>r.configFile.max_n_predict=_),onChange:e[84]||(e[84]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.max_n_predict]])])]),l("tr",null,[nut,l("td",sut,[P(l("input",{type:"number",id:"max_n_predict",required:"","onUpdate:modelValue":e[85]||(e[85]=_=>r.configFile.max_n_predict=_),onChange:e[86]||(e[86]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.max_n_predict]])])])])]),_:1}),V(a,{title:"Security settings",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",iut,[l("tr",null,[rut,l("td",out,[P(l("input",{type:"checkbox",id:"turn_on_code_execution",required:"","onUpdate:modelValue":e[87]||(e[87]=_=>r.configFile.turn_on_code_execution=_),onChange:e[88]||(e[88]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_code_execution]])])]),l("tr",null,[aut,l("td",lut,[P(l("input",{type:"checkbox",id:"turn_on_code_validation",required:"","onUpdate:modelValue":e[89]||(e[89]=_=>r.configFile.turn_on_code_validation=_),onChange:e[90]||(e[90]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_code_validation]])])]),l("tr",null,[cut,l("td",dut,[P(l("input",{type:"checkbox",id:"turn_on_setting_update_validation",required:"","onUpdate:modelValue":e[91]||(e[91]=_=>r.configFile.turn_on_setting_update_validation=_),onChange:e[92]||(e[92]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_setting_update_validation]])])]),l("tr",null,[uut,l("td",put,[P(l("input",{type:"checkbox",id:"turn_on_open_file_validation",required:"","onUpdate:modelValue":e[93]||(e[93]=_=>r.configFile.turn_on_open_file_validation=_),onChange:e[94]||(e[94]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_open_file_validation]])])]),l("tr",null,[_ut,l("td",hut,[P(l("input",{type:"checkbox",id:"turn_on_send_file_validation",required:"","onUpdate:modelValue":e[95]||(e[95]=_=>r.configFile.turn_on_send_file_validation=_),onChange:e[96]||(e[96]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.turn_on_send_file_validation]])])])])]),_:1}),V(a,{title:"Knowledge database",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",fut,[l("tr",null,[mut,l("td",null,[l("div",gut,[P(l("input",{type:"checkbox",id:"activate_skills_lib",required:"","onUpdate:modelValue":e[97]||(e[97]=_=>r.configFile.activate_skills_lib=_),onChange:e[98]||(e[98]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_skills_lib]])])])]),l("tr",null,[but,l("td",Eut,[P(l("input",{type:"text",id:"skills_lib_database_name",required:"","onUpdate:modelValue":e[99]||(e[99]=_=>r.configFile.skills_lib_database_name=_),onChange:e[100]||(e[100]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.skills_lib_database_name]])])])])]),_:1}),V(a,{title:"Latex",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",yut,[l("tr",null,[vut,l("td",null,[l("div",Sut,[P(l("input",{type:"text",id:"pdf_latex_path",required:"","onUpdate:modelValue":e[101]||(e[101]=_=>r.configFile.pdf_latex_path=_),onChange:e[102]||(e[102]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.pdf_latex_path]])])])])])]),_:1}),V(a,{title:"Boost",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Tut,[l("tr",null,[xut,l("td",null,[l("div",Cut,[P(l("input",{type:"text",id:"positive_boost",required:"","onUpdate:modelValue":e[103]||(e[103]=_=>r.configFile.positive_boost=_),onChange:e[104]||(e[104]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.positive_boost]])])])]),l("tr",null,[wut,l("td",null,[l("div",Rut,[P(l("input",{type:"text",id:"negative_boost",required:"","onUpdate:modelValue":e[105]||(e[105]=_=>r.configFile.negative_boost=_),onChange:e[106]||(e[106]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.negative_boost]])])])]),l("tr",null,[Aut,l("td",null,[l("div",Nut,[P(l("input",{type:"checkbox",id:"fun_mode",required:"","onUpdate:modelValue":e[107]||(e[107]=_=>r.configFile.fun_mode=_),onChange:e[108]||(e[108]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.fun_mode]])])])])])]),_:1})])],2)]),l("div",Out,[l("div",Iut,[l("button",{onClick:e[109]||(e[109]=j(_=>i.data_conf_collapsed=!i.data_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,kut,512),[[wt,i.data_conf_collapsed]]),P(l("div",null,Lut,512),[[wt,!i.data_conf_collapsed]]),Put])]),l("div",{class:Be([{hidden:i.data_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[V(a,{title:"Data Sources",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Fut,[l("tr",null,[Uut,l("td",But,[(T(!0),C(Ge,null,Xe(r.configFile.rag_databases,(_,g)=>(T(),C("div",{key:g,class:"flex items-center mb-2"},[P(l("input",{type:"text","onUpdate:modelValue":b=>r.configFile.rag_databases[g]=b,onChange:e[110]||(e[110]=b=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,40,Gut),[[pe,r.configFile.rag_databases[g]]]),l("button",{onClick:b=>r.vectorize_folder(g),class:"w-500 ml-2 px-2 py-1 bg-green-500 text-white hover:bg-green-300 rounded"},"(Re)Vectorize",8,Vut),l("button",{onClick:b=>r.select_folder(g),class:"w-500 ml-2 px-2 py-1 bg-blue-500 text-white hover:bg-green-300 rounded"},"Select Folder",8,zut),l("button",{onClick:b=>r.removeDataSource(g),class:"ml-2 px-2 py-1 bg-red-500 text-white hover:bg-green-300 rounded"},"Remove",8,Hut)]))),128)),l("button",{onClick:e[111]||(e[111]=(..._)=>r.addDataSource&&r.addDataSource(..._)),class:"mt-2 px-2 py-1 bg-blue-500 text-white rounded"},"Add Data Source")])]),l("tr",null,[qut,l("td",null,[P(l("select",{id:"rag_vectorizer",required:"","onUpdate:modelValue":e[112]||(e[112]=_=>r.configFile.rag_vectorizer=_),onChange:e[113]||(e[113]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Kut,544),[[Dt,r.configFile.rag_vectorizer]])])]),l("tr",null,[jut,l("td",null,[P(l("select",{id:"rag_vectorizer_model",required:"","onUpdate:modelValue":e[114]||(e[114]=_=>r.configFile.rag_vectorizer_model=_),onChange:e[115]||(e[115]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",disabled:r.configFile.rag_vectorizer==="tfidf"},[r.configFile.rag_vectorizer==="semantic"?(T(),C("option",Xut,"sentence-transformers/bert-base-nli-mean-tokens")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",Zut,"bert-base-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",Jut,"bert-base-multilingual-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",ept,"bert-large-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",tpt,"bert-large-uncased-whole-word-masking-finetuned-squad")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",npt,"distilbert-base-uncased")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",spt,"roberta-base")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",ipt,"roberta-large")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",rpt,"xlm-roberta-base")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",opt,"xlm-roberta-large")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",apt,"albert-base-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",lpt,"albert-large-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",cpt,"albert-xlarge-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",dpt,"albert-xxlarge-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",upt,"sentence-transformers/all-MiniLM-L6-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",ppt,"sentence-transformers/all-MiniLM-L12-v2")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",_pt,"sentence-transformers/all-distilroberta-v1")):G("",!0),r.configFile.rag_vectorizer==="semantic"?(T(),C("option",hpt,"sentence-transformers/all-mpnet-base-v2")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),C("option",fpt,"text-embedding-ada-002")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),C("option",mpt,"text-embedding-babbage-001")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),C("option",gpt,"text-embedding-curie-001")):G("",!0),r.configFile.rag_vectorizer==="openai"?(T(),C("option",bpt,"text-embedding-davinci-001")):G("",!0),r.configFile.rag_vectorizer==="tfidf"?(T(),C("option",Ept,"No models available for TFIDF")):G("",!0)],40,Qut),[[Dt,r.configFile.rag_vectorizer_model]])])]),l("tr",null,[ypt,l("td",null,[l("div",vpt,[P(l("input",{type:"text",id:"rag_vectorizer_openai_key",required:"","onUpdate:modelValue":e[116]||(e[116]=_=>r.configFile.rag_vectorizer_openai_key=_),onChange:e[117]||(e[117]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_vectorizer_openai_key]])])])]),l("tr",null,[Spt,l("td",null,[P(l("input",{id:"rag_chunk_size","onUpdate:modelValue":e[118]||(e[118]=_=>r.configFile.rag_chunk_size=_),onChange:e[119]||(e[119]=_=>i.settingsChanged=!0),type:"range",min:"2",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.rag_chunk_size]]),P(l("input",{"onUpdate:modelValue":e[120]||(e[120]=_=>r.configFile.rag_chunk_size=_),type:"number",onChange:e[121]||(e[121]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_chunk_size]])])]),l("tr",null,[Tpt,l("td",null,[P(l("input",{id:"rag_overlap","onUpdate:modelValue":e[122]||(e[122]=_=>r.configFile.rag_overlap=_),onChange:e[123]||(e[123]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.rag_overlap]]),P(l("input",{"onUpdate:modelValue":e[124]||(e[124]=_=>r.configFile.rag_overlap=_),type:"number",onChange:e[125]||(e[125]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_overlap]])])]),l("tr",null,[xpt,l("td",null,[P(l("input",{id:"rag_n_chunks","onUpdate:modelValue":e[126]||(e[126]=_=>r.configFile.rag_n_chunks=_),onChange:e[127]||(e[127]=_=>i.settingsChanged=!0),type:"range",min:"2",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.rag_n_chunks]]),P(l("input",{"onUpdate:modelValue":e[128]||(e[128]=_=>r.configFile.rag_n_chunks=_),type:"number",onChange:e[129]||(e[129]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.rag_n_chunks]])])]),l("tr",null,[Cpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[130]||(e[130]=_=>r.configFile.rag_clean_chunks=_),type:"checkbox",onChange:e[131]||(e[131]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_clean_chunks]])])]),l("tr",null,[wpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[132]||(e[132]=_=>r.configFile.rag_follow_subfolders=_),type:"checkbox",onChange:e[133]||(e[133]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_follow_subfolders]])])]),l("tr",null,[Rpt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[134]||(e[134]=_=>r.configFile.rag_check_new_files_at_startup=_),type:"checkbox",onChange:e[135]||(e[135]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_check_new_files_at_startup]])])]),l("tr",null,[Apt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[136]||(e[136]=_=>r.configFile.rag_preprocess_chunks=_),type:"checkbox",onChange:e[137]||(e[137]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_preprocess_chunks]])])]),l("tr",null,[Npt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[138]||(e[138]=_=>r.configFile.rag_activate_multi_hops=_),type:"checkbox",onChange:e[139]||(e[139]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_activate_multi_hops]])])]),l("tr",null,[Opt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[140]||(e[140]=_=>r.configFile.contextual_summary=_),type:"checkbox",onChange:e[141]||(e[141]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.contextual_summary]])])]),l("tr",null,[Ipt,l("td",null,[P(l("input",{"onUpdate:modelValue":e[142]||(e[142]=_=>r.configFile.rag_deactivate=_),type:"checkbox",onChange:e[143]||(e[143]=_=>i.settingsChanged=!0),class:"w-5 mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.rag_deactivate]])])])])]),_:1}),V(a,{title:"Data Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Mpt,[l("tr",null,[kpt,l("td",null,[l("div",Dpt,[P(l("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[144]||(e[144]=_=>r.configFile.data_vectorization_save_db=_),onChange:e[145]||(e[145]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_save_db]])])])]),l("tr",null,[Lpt,l("td",null,[l("div",Ppt,[P(l("input",{type:"checkbox",id:"data_vectorization_visualize_on_vectorization",required:"","onUpdate:modelValue":e[146]||(e[146]=_=>r.configFile.data_vectorization_visualize_on_vectorization=_),onChange:e[147]||(e[147]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_visualize_on_vectorization]])])])]),l("tr",null,[Fpt,l("td",null,[l("div",Upt,[P(l("input",{type:"checkbox",id:"data_vectorization_build_keys_words",required:"","onUpdate:modelValue":e[148]||(e[148]=_=>r.configFile.data_vectorization_build_keys_words=_),onChange:e[149]||(e[149]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_build_keys_words]])])])]),l("tr",null,[Bpt,l("td",null,[l("div",Gpt,[P(l("input",{type:"checkbox",id:"data_vectorization_force_first_chunk",required:"","onUpdate:modelValue":e[150]||(e[150]=_=>r.configFile.data_vectorization_force_first_chunk=_),onChange:e[151]||(e[151]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_force_first_chunk]])])])]),l("tr",null,[Vpt,l("td",null,[l("div",zpt,[P(l("input",{type:"checkbox",id:"data_vectorization_put_chunk_informations_into_context",required:"","onUpdate:modelValue":e[152]||(e[152]=_=>r.configFile.data_vectorization_put_chunk_informations_into_context=_),onChange:e[153]||(e[153]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_put_chunk_informations_into_context]])])])]),l("tr",null,[Hpt,l("td",null,[P(l("select",{id:"data_vectorization_method",required:"","onUpdate:modelValue":e[154]||(e[154]=_=>r.configFile.data_vectorization_method=_),onChange:e[155]||(e[155]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Kpt,544),[[Dt,r.configFile.data_vectorization_method]])])]),l("tr",null,[jpt,l("td",Qpt,[P(l("input",{type:"text",id:"data_vectorization_sentense_transformer_model",required:"","onUpdate:modelValue":e[156]||(e[156]=_=>r.configFile.data_vectorization_sentense_transformer_model=_),onChange:e[157]||(e[157]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_sentense_transformer_model]])])]),l("tr",null,[Xpt,l("td",null,[P(l("select",{id:"data_visualization_method",required:"","onUpdate:modelValue":e[158]||(e[158]=_=>r.configFile.data_visualization_method=_),onChange:e[159]||(e[159]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},e_t,544),[[Dt,r.configFile.data_visualization_method]])])]),l("tr",null,[t_t,l("td",null,[l("div",n_t,[P(l("input",{type:"checkbox",id:"data_vectorization_save_db",required:"","onUpdate:modelValue":e[160]||(e[160]=_=>r.configFile.data_vectorization_save_db=_),onChange:e[161]||(e[161]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.data_vectorization_save_db]])])])]),l("tr",null,[s_t,l("td",null,[P(l("input",{id:"data_vectorization_chunk_size","onUpdate:modelValue":e[162]||(e[162]=_=>r.configFile.data_vectorization_chunk_size=_),onChange:e[163]||(e[163]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.data_vectorization_chunk_size]]),P(l("input",{"onUpdate:modelValue":e[164]||(e[164]=_=>r.configFile.data_vectorization_chunk_size=_),type:"number",onChange:e[165]||(e[165]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_chunk_size]])])]),l("tr",null,[i_t,l("td",null,[P(l("input",{id:"data_vectorization_overlap_size","onUpdate:modelValue":e[166]||(e[166]=_=>r.configFile.data_vectorization_overlap_size=_),onChange:e[167]||(e[167]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.data_vectorization_overlap_size]]),P(l("input",{"onUpdate:modelValue":e[168]||(e[168]=_=>r.configFile.data_vectorization_overlap_size=_),type:"number",onChange:e[169]||(e[169]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_overlap_size]])])]),l("tr",null,[r_t,l("td",null,[P(l("input",{id:"data_vectorization_nb_chunks","onUpdate:modelValue":e[170]||(e[170]=_=>r.configFile.data_vectorization_nb_chunks=_),onChange:e[171]||(e[171]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.data_vectorization_nb_chunks]]),P(l("input",{"onUpdate:modelValue":e[172]||(e[172]=_=>r.configFile.data_vectorization_nb_chunks=_),type:"number",onChange:e[173]||(e[173]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.data_vectorization_nb_chunks]])])])])]),_:1})],2)]),l("div",o_t,[l("div",a_t,[l("button",{onClick:e[174]||(e[174]=j(_=>i.internet_conf_collapsed=!i.internet_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,c_t,512),[[wt,i.internet_conf_collapsed]]),P(l("div",null,u_t,512),[[wt,!i.internet_conf_collapsed]]),p_t])]),l("div",{class:Be([{hidden:i.internet_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[V(a,{title:"Internet search",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",__t,[l("tr",null,[h_t,l("td",null,[l("div",f_t,[P(l("input",{type:"checkbox",id:"fun_mode",required:"","onUpdate:modelValue":e[175]||(e[175]=_=>r.configFile.activate_internet_search=_),onChange:e[176]||(e[176]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_internet_search]])])])]),l("tr",null,[m_t,l("td",null,[l("div",g_t,[P(l("input",{type:"checkbox",id:"activate_internet_pages_judgement",required:"","onUpdate:modelValue":e[177]||(e[177]=_=>r.configFile.activate_internet_pages_judgement=_),onChange:e[178]||(e[178]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_internet_pages_judgement]])])])]),l("tr",null,[b_t,l("td",null,[l("div",E_t,[P(l("input",{type:"checkbox",id:"internet_quick_search",required:"","onUpdate:modelValue":e[179]||(e[179]=_=>r.configFile.internet_quick_search=_),onChange:e[180]||(e[180]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.internet_quick_search]])])])]),l("tr",null,[y_t,l("td",null,[l("div",v_t,[P(l("input",{type:"checkbox",id:"internet_activate_search_decision",required:"","onUpdate:modelValue":e[181]||(e[181]=_=>r.configFile.internet_activate_search_decision=_),onChange:e[182]||(e[182]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.internet_activate_search_decision]])])])]),l("tr",null,[S_t,l("td",null,[l("div",T_t,[P(l("input",{id:"internet_vectorization_chunk_size","onUpdate:modelValue":e[183]||(e[183]=_=>r.configFile.internet_vectorization_chunk_size=_),onChange:e[184]||(e[184]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_vectorization_chunk_size]]),P(l("input",{"onUpdate:modelValue":e[185]||(e[185]=_=>r.configFile.internet_vectorization_chunk_size=_),type:"number",onChange:e[186]||(e[186]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_vectorization_chunk_size]])])])]),l("tr",null,[x_t,l("td",null,[l("div",C_t,[P(l("input",{id:"internet_vectorization_overlap_size","onUpdate:modelValue":e[187]||(e[187]=_=>r.configFile.internet_vectorization_overlap_size=_),onChange:e[188]||(e[188]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_vectorization_overlap_size]]),P(l("input",{"onUpdate:modelValue":e[189]||(e[189]=_=>r.configFile.internet_vectorization_overlap_size=_),type:"number",onChange:e[190]||(e[190]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_vectorization_overlap_size]])])])]),l("tr",null,[w_t,l("td",null,[l("div",R_t,[P(l("input",{id:"internet_vectorization_nb_chunks","onUpdate:modelValue":e[191]||(e[191]=_=>r.configFile.internet_vectorization_nb_chunks=_),onChange:e[192]||(e[192]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_vectorization_nb_chunks]]),P(l("input",{"onUpdate:modelValue":e[193]||(e[193]=_=>r.configFile.internet_vectorization_nb_chunks=_),type:"number",onChange:e[194]||(e[194]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_vectorization_nb_chunks]])])])]),l("tr",null,[A_t,l("td",null,[l("div",N_t,[P(l("input",{id:"internet_nb_search_pages","onUpdate:modelValue":e[195]||(e[195]=_=>r.configFile.internet_nb_search_pages=_),onChange:e[196]||(e[196]=_=>i.settingsChanged=!0),type:"range",min:"1",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.internet_nb_search_pages]]),P(l("input",{"onUpdate:modelValue":e[197]||(e[197]=_=>r.configFile.internet_nb_search_pages=_),type:"number",onChange:e[198]||(e[198]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.internet_nb_search_pages]])])])])])]),_:1})],2)]),l("div",O_t,[l("div",I_t,[l("button",{onClick:e[199]||(e[199]=j(_=>i.servers_conf_collapsed=!i.servers_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,k_t,512),[[wt,i.servers_conf_collapsed]]),P(l("div",null,L_t,512),[[wt,!i.servers_conf_collapsed]]),P_t])]),l("div",{class:Be([{hidden:i.servers_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[V(a,{title:"Default services selection",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",F_t,[l("tr",null,[U_t,l("td",B_t,[P(l("select",{id:"active_tts_service",required:"","onUpdate:modelValue":e[200]||(e[200]=_=>r.configFile.active_tts_service=_),onChange:e[201]||(e[201]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},W_t,544),[[Dt,r.configFile.active_tts_service]])])]),l("tr",null,[K_t,l("td",j_t,[P(l("select",{id:"active_stt_service",required:"","onUpdate:modelValue":e[202]||(e[202]=_=>r.configFile.active_stt_service=_),onChange:e[203]||(e[203]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},J_t,544),[[Dt,r.configFile.active_stt_service]])])]),eht,l("tr",null,[tht,l("td",nht,[P(l("select",{id:"active_tti_service",required:"","onUpdate:modelValue":e[204]||(e[204]=_=>r.configFile.active_tti_service=_),onChange:e[205]||(e[205]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},uht,544),[[Dt,r.configFile.active_tti_service]])])]),l("tr",null,[pht,l("td",_ht,[P(l("select",{id:"active_ttm_service",required:"","onUpdate:modelValue":e[206]||(e[206]=_=>r.configFile.active_ttm_service=_),onChange:e[207]||(e[207]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},mht,544),[[Dt,r.configFile.active_ttm_service]])])]),l("tr",null,[ght,l("td",bht,[P(l("select",{id:"active_ttv_service",required:"","onUpdate:modelValue":e[208]||(e[208]=_=>r.configFile.active_ttv_service=_),onChange:e[209]||(e[209]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},Tht,544),[[Dt,r.configFile.active_ttv_service]])])])])]),_:1}),V(a,{title:"TTI settings",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",xht,[l("tr",null,[Cht,l("td",null,[l("div",wht,[P(l("input",{type:"checkbox",id:"use_negative_prompt",required:"","onUpdate:modelValue":e[210]||(e[210]=_=>r.configFile.use_negative_prompt=_),onChange:e[211]||(e[211]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_negative_prompt]])])])]),l("tr",null,[Rht,l("td",null,[l("div",Aht,[P(l("input",{type:"checkbox",id:"use_ai_generated_negative_prompt",required:"","onUpdate:modelValue":e[212]||(e[212]=_=>r.configFile.use_ai_generated_negative_prompt=_),onChange:e[213]||(e[213]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.use_ai_generated_negative_prompt]])])])]),l("tr",null,[Nht,l("td",null,[l("div",Oht,[P(l("input",{type:"text",id:"negative_prompt_generation_prompt",required:"","onUpdate:modelValue":e[214]||(e[214]=_=>r.configFile.negative_prompt_generation_prompt=_),onChange:e[215]||(e[215]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.negative_prompt_generation_prompt]])])])]),l("tr",null,[Iht,l("td",null,[l("div",Mht,[P(l("input",{type:"text",id:"default_negative_prompt",required:"","onUpdate:modelValue":e[216]||(e[216]=_=>r.configFile.default_negative_prompt=_),onChange:e[217]||(e[217]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.default_negative_prompt]])])])])])]),_:1}),V(a,{title:"Full Audio settings",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",kht,[l("tr",null,[Dht,l("td",Lht,[P(l("input",{type:"number",step:"1",id:"stt_listening_threshold",required:"","onUpdate:modelValue":e[218]||(e[218]=_=>r.configFile.stt_listening_threshold=_),onChange:e[219]||(e[219]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_listening_threshold]])])]),l("tr",null,[Pht,l("td",Fht,[P(l("input",{type:"number",step:"1",id:"stt_silence_duration",required:"","onUpdate:modelValue":e[220]||(e[220]=_=>r.configFile.stt_silence_duration=_),onChange:e[221]||(e[221]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_silence_duration]])])]),l("tr",null,[Uht,l("td",Bht,[P(l("input",{type:"number",step:"1",id:"stt_sound_threshold_percentage",required:"","onUpdate:modelValue":e[222]||(e[222]=_=>r.configFile.stt_sound_threshold_percentage=_),onChange:e[223]||(e[223]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_sound_threshold_percentage]])])]),l("tr",null,[Ght,l("td",Vht,[P(l("input",{type:"number",step:"1",id:"stt_gain",required:"","onUpdate:modelValue":e[224]||(e[224]=_=>r.configFile.stt_gain=_),onChange:e[225]||(e[225]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_gain]])])]),l("tr",null,[zht,l("td",Hht,[P(l("input",{type:"number",step:"1",id:"stt_rate",required:"","onUpdate:modelValue":e[226]||(e[226]=_=>r.configFile.stt_rate=_),onChange:e[227]||(e[227]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_rate]])])]),l("tr",null,[qht,l("td",$ht,[P(l("input",{type:"number",step:"1",id:"stt_channels",required:"","onUpdate:modelValue":e[228]||(e[228]=_=>r.configFile.stt_channels=_),onChange:e[229]||(e[229]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_channels]])])]),l("tr",null,[Yht,l("td",Wht,[P(l("input",{type:"number",step:"1",id:"stt_buffer_size",required:"","onUpdate:modelValue":e[230]||(e[230]=_=>r.configFile.stt_buffer_size=_),onChange:e[231]||(e[231]=_=>i.settingsChanged=!0),class:"w-full w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600 dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_buffer_size]])])]),l("tr",null,[Kht,l("td",null,[l("div",jht,[P(l("input",{type:"checkbox",id:"stt_activate_word_detection",required:"","onUpdate:modelValue":e[232]||(e[232]=_=>r.configFile.stt_activate_word_detection=_),onChange:e[233]||(e[233]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.stt_activate_word_detection]])])])]),l("tr",null,[Qht,l("td",null,[l("div",Xht,[P(l("input",{type:"text",id:"stt_word_detection_file",required:"","onUpdate:modelValue":e[234]||(e[234]=_=>r.configFile.stt_word_detection_file=_),onChange:e[235]||(e[235]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.stt_word_detection_file]])])])])])]),_:1}),V(a,{title:"Audio devices settings",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Zht,[l("tr",null,[Jht,l("td",eft,[P(l("select",{id:"stt_input_device",required:"","onUpdate:modelValue":e[236]||(e[236]=_=>r.configFile.stt_input_device=_),onChange:e[237]||(e[237]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(i.snd_input_devices,(_,g)=>(T(),C("option",{key:_,value:i.snd_input_devices_indexes[g]},K(_),9,tft))),128))],544),[[Dt,r.configFile.stt_input_device]])])]),l("tr",null,[nft,l("td",sft,[P(l("select",{id:"tts_output_device",required:"","onUpdate:modelValue":e[238]||(e[238]=_=>r.configFile.tts_output_device=_),onChange:e[239]||(e[239]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(i.snd_output_devices,(_,g)=>(T(),C("option",{key:_,value:i.snd_output_devices_indexes[g]},K(_),9,ift))),128))],544),[[Dt,r.configFile.tts_output_device]])])])])]),_:1}),V(a,{title:"Lollms service",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",rft,[l("tr",null,[oft,l("td",aft,[P(l("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[240]||(e[240]=_=>r.configFile.host=_),onChange:e[241]||(e[241]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.host]])])]),l("tr",null,[lft,l("td",cft,[V(o,{modelValue:r.configFile.lollms_access_keys,"onUpdate:modelValue":e[242]||(e[242]=_=>r.configFile.lollms_access_keys=_),onChange:e[243]||(e[243]=_=>i.settingsChanged=!0),placeholder:"Enter access key"},null,8,["modelValue"])])]),l("tr",null,[dft,l("td",uft,[P(l("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[244]||(e[244]=_=>r.configFile.port=_),onChange:e[245]||(e[245]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.port]])])]),l("tr",null,[pft,l("td",_ft,[P(l("input",{type:"checkbox",id:"headless_server_mode",required:"","onUpdate:modelValue":e[246]||(e[246]=_=>r.configFile.headless_server_mode=_),onChange:e[247]||(e[247]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.headless_server_mode]])])]),l("tr",null,[hft,l("td",fft,[P(l("input",{type:"checkbox",id:"activate_lollms_server",required:"","onUpdate:modelValue":e[248]||(e[248]=_=>r.configFile.activate_lollms_server=_),onChange:e[249]||(e[249]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_server]])])]),l("tr",null,[mft,l("td",gft,[P(l("input",{type:"checkbox",id:"activate_lollms_rag_server",required:"","onUpdate:modelValue":e[250]||(e[250]=_=>r.configFile.activate_lollms_rag_server=_),onChange:e[251]||(e[251]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_rag_server]])])]),l("tr",null,[bft,l("td",Eft,[P(l("input",{type:"checkbox",id:"activate_lollms_tts_server",required:"","onUpdate:modelValue":e[252]||(e[252]=_=>r.configFile.activate_lollms_tts_server=_),onChange:e[253]||(e[253]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_tts_server]])])]),l("tr",null,[yft,l("td",vft,[P(l("input",{type:"checkbox",id:"activate_lollms_stt_server",required:"","onUpdate:modelValue":e[254]||(e[254]=_=>r.configFile.activate_lollms_stt_server=_),onChange:e[255]||(e[255]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_stt_server]])])]),l("tr",null,[Sft,l("td",Tft,[P(l("input",{type:"checkbox",id:"activate_lollms_tti_server",required:"","onUpdate:modelValue":e[256]||(e[256]=_=>r.configFile.activate_lollms_tti_server=_),onChange:e[257]||(e[257]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_tti_server]])])]),l("tr",null,[xft,l("td",Cft,[P(l("input",{type:"checkbox",id:"activate_lollms_itt_server",required:"","onUpdate:modelValue":e[258]||(e[258]=_=>r.configFile.activate_lollms_itt_server=_),onChange:e[259]||(e[259]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_itt_server]])])]),l("tr",null,[wft,l("td",Rft,[P(l("input",{type:"checkbox",id:"activate_lollms_ttm_server",required:"","onUpdate:modelValue":e[260]||(e[260]=_=>r.configFile.activate_lollms_ttm_server=_),onChange:e[261]||(e[261]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_lollms_ttm_server]])])]),l("tr",null,[Aft,l("td",Nft,[P(l("input",{type:"checkbox",id:"activate_ollama_emulator",required:"","onUpdate:modelValue":e[262]||(e[262]=_=>r.configFile.activate_ollama_emulator=_),onChange:e[263]||(e[263]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_ollama_emulator]])])]),l("tr",null,[Oft,l("td",Ift,[P(l("input",{type:"checkbox",id:"activate_openai_emulator",required:"","onUpdate:modelValue":e[264]||(e[264]=_=>r.configFile.activate_openai_emulator=_),onChange:e[265]||(e[265]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_openai_emulator]])])]),l("tr",null,[Mft,l("td",kft,[P(l("input",{type:"checkbox",id:"activate_mistralai_emulator",required:"","onUpdate:modelValue":e[266]||(e[266]=_=>r.configFile.activate_mistralai_emulator=_),onChange:e[267]||(e[267]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_mistralai_emulator]])])])])]),_:1}),V(a,{title:"STT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[V(a,{title:"Browser Audio STT",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Dft,[l("tr",null,[Lft,l("td",null,[l("div",Pft,[P(l("input",{type:"checkbox",id:"activate_audio_infos",required:"","onUpdate:modelValue":e[268]||(e[268]=_=>r.configFile.activate_audio_infos=_),onChange:e[269]||(e[269]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.activate_audio_infos]])])])]),l("tr",null,[Fft,l("td",null,[l("div",Uft,[P(l("input",{type:"checkbox",id:"audio_auto_send_input",required:"","onUpdate:modelValue":e[270]||(e[270]=_=>r.configFile.audio_auto_send_input=_),onChange:e[271]||(e[271]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.audio_auto_send_input]])])])]),l("tr",null,[Bft,l("td",null,[P(l("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[272]||(e[272]=_=>r.configFile.audio_silenceTimer=_),onChange:e[273]||(e[273]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"10000",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.audio_silenceTimer]]),P(l("input",{"onUpdate:modelValue":e[274]||(e[274]=_=>r.configFile.audio_silenceTimer=_),onChange:e[275]||(e[275]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.audio_silenceTimer]])])]),l("tr",null,[Gft,l("td",null,[P(l("select",{id:"audio_in_language","onUpdate:modelValue":e[276]||(e[276]=_=>r.configFile.audio_in_language=_),onChange:e[277]||(e[277]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(r.audioLanguages,_=>(T(),C("option",{key:_.code,value:_.code},K(_.name),9,Vft))),128))],544),[[Dt,r.configFile.audio_in_language]])])])])]),_:1}),V(a,{title:"Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",zft,[l("tr",null,[Hft,l("td",null,[l("div",qft,[P(l("input",{type:"checkbox",id:"whisper_activate",required:"","onUpdate:modelValue":e[278]||(e[278]=_=>r.configFile.whisper_activate=_),onChange:e[279]||(e[279]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.whisper_activate]])])])]),l("tr",null,[$ft,l("td",null,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[280]||(e[280]=(..._)=>r.reinstallWhisperService&&r.reinstallWhisperService(..._))},"install whisper")])]),l("tr",null,[Yft,l("td",null,[l("div",Wft,[P(l("select",{id:"whisper_model","onUpdate:modelValue":e[281]||(e[281]=_=>r.configFile.whisper_model=_),onChange:e[282]||(e[282]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(r.whisperModels,_=>(T(),C("option",{key:_,value:_},K(_),9,Kft))),128))],544),[[Dt,r.configFile.whisper_model]])])])])])]),_:1}),V(a,{title:"Open AI Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",jft,[l("tr",null,[Qft,l("td",null,[l("div",Xft,[P(l("input",{type:"text",id:"openai_whisper_key",required:"","onUpdate:modelValue":e[283]||(e[283]=_=>r.configFile.openai_whisper_key=_),onChange:e[284]||(e[284]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.openai_whisper_key]])])])]),l("tr",null,[Zft,l("td",null,[l("div",Jft,[P(l("select",{id:"openai_whisper_model","onUpdate:modelValue":e[285]||(e[285]=_=>r.configFile.openai_whisper_model=_),onChange:e[286]||(e[286]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(r.openaiWhisperModels,_=>(T(),C("option",{key:_,value:_},K(_),9,emt))),128))],544),[[Dt,r.configFile.openai_whisper_model]])])])])])]),_:1})]),_:1}),V(a,{title:"TTS services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[V(a,{title:"Browser Audio TTS",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",tmt,[l("tr",null,[nmt,l("td",null,[l("div",smt,[P(l("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[287]||(e[287]=_=>r.configFile.auto_speak=_),onChange:e[288]||(e[288]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_speak]])])])]),l("tr",null,[imt,l("td",null,[P(l("input",{id:"audio_pitch","onUpdate:modelValue":e[289]||(e[289]=_=>r.configFile.audio_pitch=_),onChange:e[290]||(e[290]=_=>i.settingsChanged=!0),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.audio_pitch]]),P(l("input",{"onUpdate:modelValue":e[291]||(e[291]=_=>r.configFile.audio_pitch=_),onChange:e[292]||(e[292]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.audio_pitch]])])]),l("tr",null,[rmt,l("td",null,[P(l("select",{id:"audio_out_voice","onUpdate:modelValue":e[293]||(e[293]=_=>r.configFile.audio_out_voice=_),onChange:e[294]||(e[294]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(i.audioVoices,_=>(T(),C("option",{key:_.name,value:_.name},K(_.name),9,omt))),128))],544),[[Dt,r.configFile.audio_out_voice]])])])])]),_:1}),V(a,{title:"XTTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",amt,[l("tr",null,[lmt,l("td",null,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[295]||(e[295]=(..._)=>r.reinstallXTTSService&&r.reinstallXTTSService(..._))},"install xtts service")])]),l("tr",null,[cmt,l("td",null,[l("div",dmt,[P(l("select",{"onUpdate:modelValue":e[296]||(e[296]=_=>r.xtts_current_language=_),onChange:e[297]||(e[297]=_=>i.settingsChanged=!0)},[(T(!0),C(Ge,null,Xe(i.voice_languages,(_,g)=>(T(),C("option",{key:g,value:_},K(g),9,umt))),128))],544),[[Dt,r.xtts_current_language]])])])]),l("tr",null,[pmt,l("td",null,[l("div",_mt,[P(l("select",{"onUpdate:modelValue":e[298]||(e[298]=_=>r.xtts_current_voice=_),onChange:e[299]||(e[299]=_=>i.settingsChanged=!0)},[(T(!0),C(Ge,null,Xe(i.voices,_=>(T(),C("option",{key:_,value:_},K(_),9,hmt))),128))],544),[[Dt,r.xtts_current_voice]])])])]),l("tr",null,[fmt,l("td",null,[l("div",mmt,[P(l("input",{type:"number",id:"xtts_freq",required:"","onUpdate:modelValue":e[300]||(e[300]=_=>r.configFile.xtts_freq=_),onChange:e[301]||(e[301]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[pe,r.configFile.xtts_freq,void 0,{number:!0}]])])])]),l("tr",null,[gmt,l("td",null,[l("div",bmt,[P(l("input",{type:"checkbox",id:"auto_read",required:"","onUpdate:modelValue":e[302]||(e[302]=_=>r.configFile.auto_read=_),onChange:e[303]||(e[303]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.auto_read]])])])]),l("tr",null,[Emt,l("td",null,[l("div",ymt,[P(l("input",{type:"text",id:"xtts_stream_chunk_size",required:"","onUpdate:modelValue":e[304]||(e[304]=_=>r.configFile.xtts_stream_chunk_size=_),onChange:e[305]||(e[305]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.xtts_stream_chunk_size]])])])]),l("tr",null,[vmt,l("td",null,[l("div",Smt,[P(l("input",{type:"number",id:"xtts_temperature",required:"","onUpdate:modelValue":e[306]||(e[306]=_=>r.configFile.xtts_temperature=_),onChange:e[307]||(e[307]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[pe,r.configFile.xtts_temperature,void 0,{number:!0}]])])])]),l("tr",null,[Tmt,l("td",null,[l("div",xmt,[P(l("input",{type:"number",id:"xtts_length_penalty",required:"","onUpdate:modelValue":e[308]||(e[308]=_=>r.configFile.xtts_length_penalty=_),onChange:e[309]||(e[309]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[pe,r.configFile.xtts_length_penalty,void 0,{number:!0}]])])])]),l("tr",null,[Cmt,l("td",null,[l("div",wmt,[P(l("input",{type:"number",id:"xtts_repetition_penalty",required:"","onUpdate:modelValue":e[310]||(e[310]=_=>r.configFile.xtts_repetition_penalty=_),onChange:e[311]||(e[311]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[pe,r.configFile.xtts_repetition_penalty,void 0,{number:!0}]])])])]),l("tr",null,[Rmt,l("td",null,[l("div",Amt,[P(l("input",{type:"number",id:"xtts_top_k",required:"","onUpdate:modelValue":e[312]||(e[312]=_=>r.configFile.xtts_top_k=_),onChange:e[313]||(e[313]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.xtts_top_k,void 0,{number:!0}]])])])]),l("tr",null,[Nmt,l("td",null,[l("div",Omt,[P(l("input",{type:"number",id:"xtts_top_p",required:"","onUpdate:modelValue":e[314]||(e[314]=_=>r.configFile.xtts_top_p=_),onChange:e[315]||(e[315]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.xtts_top_p,void 0,{number:!0}]])])])]),l("tr",null,[Imt,l("td",null,[l("div",Mmt,[P(l("input",{type:"number",id:"xtts_speed",required:"","onUpdate:modelValue":e[316]||(e[316]=_=>r.configFile.xtts_speed=_),onChange:e[317]||(e[317]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[pe,r.configFile.xtts_speed,void 0,{number:!0}]])])])]),l("tr",null,[kmt,l("td",null,[l("div",Dmt,[P(l("input",{type:"checkbox",id:"enable_text_splitting","onUpdate:modelValue":e[318]||(e[318]=_=>r.configFile.enable_text_splitting=_),onChange:e[319]||(e[319]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_text_splitting]])])])])])]),_:1}),V(a,{title:"Open AI TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Lmt,[l("tr",null,[Pmt,l("td",null,[l("div",Fmt,[P(l("input",{type:"text",id:"openai_tts_key",required:"","onUpdate:modelValue":e[320]||(e[320]=_=>r.configFile.openai_tts_key=_),onChange:e[321]||(e[321]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.openai_tts_key]])])])]),l("tr",null,[Umt,l("td",null,[l("div",Bmt,[P(l("select",{"onUpdate:modelValue":e[322]||(e[322]=_=>r.configFile.openai_tts_model=_),onChange:e[323]||(e[323]=_=>i.settingsChanged=!0)},zmt,544),[[Dt,r.configFile.openai_tts_model]])])])]),l("tr",null,[Hmt,l("td",null,[l("div",qmt,[P(l("select",{"onUpdate:modelValue":e[324]||(e[324]=_=>r.configFile.openai_tts_voice=_),onChange:e[325]||(e[325]=_=>i.settingsChanged=!0)},Qmt,544),[[Dt,r.configFile.openai_tts_voice]])])])])])]),_:1}),V(a,{title:"Eleven Labs TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Xmt,[l("tr",null,[Zmt,l("td",null,[l("div",Jmt,[P(l("input",{type:"text",id:"elevenlabs_tts_key",required:"","onUpdate:modelValue":e[326]||(e[326]=_=>r.configFile.elevenlabs_tts_key=_),onChange:e[327]||(e[327]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.elevenlabs_tts_key]])])])]),l("tr",null,[egt,l("td",null,[l("div",tgt,[P(l("input",{type:"text",id:"elevenlabs_tts_model_id",required:"","onUpdate:modelValue":e[328]||(e[328]=_=>r.configFile.elevenlabs_tts_model_id=_),onChange:e[329]||(e[329]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.elevenlabs_tts_model_id]])])])]),l("tr",null,[ngt,l("td",null,[l("div",sgt,[P(l("input",{type:"number",id:"elevenlabs_tts_voice_stability",required:"","onUpdate:modelValue":e[330]||(e[330]=_=>r.configFile.elevenlabs_tts_voice_stability=_),onChange:e[331]||(e[331]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[pe,r.configFile.elevenlabs_tts_voice_stability]])])])]),l("tr",null,[igt,l("td",null,[l("div",rgt,[P(l("input",{type:"number",id:"elevenlabs_tts_voice_boost",required:"","onUpdate:modelValue":e[332]||(e[332]=_=>r.configFile.elevenlabs_tts_voice_boost=_),onChange:e[333]||(e[333]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[pe,r.configFile.elevenlabs_tts_voice_boost]])])])]),l("tr",null,[ogt,l("td",null,[l("div",agt,[P(l("select",{"onUpdate:modelValue":e[334]||(e[334]=_=>r.configFile.elevenlabs_tts_voice_id=_),onChange:e[335]||(e[335]=_=>i.settingsChanged=!0)},[(T(!0),C(Ge,null,Xe(i.voices,_=>(T(),C("option",{key:_.voice_id,value:_.voice_id},K(_.name),9,lgt))),128))],544),[[Dt,r.configFile.elevenlabs_tts_voice_id]])])])])])]),_:1}),V(a,{title:"Fish TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",cgt,[l("tr",null,[dgt,l("td",null,[l("div",ugt,[P(l("input",{type:"text",id:"fish_tts_key",required:"","onUpdate:modelValue":e[336]||(e[336]=_=>r.configFile.fish_tts_key=_),onChange:e[337]||(e[337]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.fish_tts_key]])])])]),l("tr",null,[pgt,l("td",null,[l("div",_gt,[P(l("input",{type:"text",id:"fish_tts_voice",required:"","onUpdate:modelValue":e[338]||(e[338]=_=>r.configFile.fish_tts_voice=_),onChange:e[339]||(e[339]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.fish_tts_voice]])])])])])]),_:1})]),_:1}),V(a,{title:"TTI services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[V(a,{title:"Stable diffusion service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",hgt,[l("tr",null,[fgt,l("td",null,[l("div",mgt,[P(l("input",{type:"checkbox",id:"enable_sd_service",required:"","onUpdate:modelValue":e[340]||(e[340]=_=>r.configFile.enable_sd_service=_),onChange:e[341]||(e[341]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_sd_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[342]||(e[342]=_=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},bgt)])]),l("tr",null,[Egt,l("td",null,[l("div",ygt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[343]||(e[343]=(..._)=>r.reinstallSDService&&r.reinstallSDService(..._))},"install sd service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[344]||(e[344]=(..._)=>r.upgradeSDService&&r.upgradeSDService(..._))},"upgrade sd service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[345]||(e[345]=(..._)=>r.startSDService&&r.startSDService(..._))},"start sd service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[346]||(e[346]=(..._)=>r.showSD&&r.showSD(..._))},"show sd ui"),vgt])]),l("td",null,[l("div",Sgt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[347]||(e[347]=(..._)=>r.reinstallSDService&&r.reinstallSDService(..._))},"install sd service")])])]),l("tr",null,[Tgt,l("td",null,[l("div",xgt,[P(l("input",{type:"text",id:"sd_base_url",required:"","onUpdate:modelValue":e[348]||(e[348]=_=>r.configFile.sd_base_url=_),onChange:e[349]||(e[349]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.sd_base_url]])])])])])]),_:1}),V(a,{title:"Diffusers service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Cgt,[l("tr",null,[wgt,l("td",null,[l("div",Rgt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[350]||(e[350]=(..._)=>r.reinstallDiffusersService&&r.reinstallDiffusersService(..._))},"install diffusers service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[351]||(e[351]=(..._)=>r.upgradeDiffusersService&&r.upgradeDiffusersService(..._))},"upgrade diffusers service"),Agt])])]),l("tr",null,[Ngt,l("td",null,[l("div",Ogt,[P(l("input",{type:"text",id:"diffusers_model",required:"","onUpdate:modelValue":e[352]||(e[352]=_=>r.configFile.diffusers_model=_),onChange:e[353]||(e[353]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.diffusers_model]])])]),Igt])])]),_:1}),V(a,{title:"Diffusers client service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Mgt,[l("tr",null,[kgt,l("td",null,[l("div",Dgt,[P(l("input",{type:"text",id:"diffusers_client_base_url",required:"","onUpdate:modelValue":e[354]||(e[354]=_=>r.configFile.diffusers_client_base_url=_),onChange:e[355]||(e[355]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.diffusers_client_base_url]])])]),Lgt])])]),_:1}),V(a,{title:"Midjourney",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Pgt,[l("tr",null,[Fgt,l("td",null,[l("div",Ugt,[P(l("input",{type:"text",id:"midjourney_key",required:"","onUpdate:modelValue":e[356]||(e[356]=_=>r.configFile.midjourney_key=_),onChange:e[357]||(e[357]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.midjourney_key]])])])]),l("tr",null,[Bgt,l("td",null,[l("div",Ggt,[P(l("input",{type:"number",min:"10",max:"2048",id:"midjourney_timeout",required:"","onUpdate:modelValue":e[358]||(e[358]=_=>r.configFile.midjourney_timeout=_),onChange:e[359]||(e[359]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.midjourney_timeout]])])])]),l("tr",null,[Vgt,l("td",null,[l("div",zgt,[P(l("input",{type:"number",min:"0",max:"2048",id:"midjourney_retries",required:"","onUpdate:modelValue":e[360]||(e[360]=_=>r.configFile.midjourney_retries=_),onChange:e[361]||(e[361]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.midjourney_retries]])])])])])]),_:1}),V(a,{title:"Dall-E",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Hgt,[l("tr",null,[qgt,l("td",null,[l("div",$gt,[P(l("input",{type:"text",id:"dall_e_key",required:"","onUpdate:modelValue":e[362]||(e[362]=_=>r.configFile.dall_e_key=_),onChange:e[363]||(e[363]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.dall_e_key]])])])]),l("tr",null,[Ygt,l("td",null,[l("div",Wgt,[P(l("select",{"onUpdate:modelValue":e[364]||(e[364]=_=>r.configFile.dall_e_generation_engine=_),onChange:e[365]||(e[365]=_=>i.settingsChanged=!0)},Qgt,544),[[Dt,r.configFile.dall_e_generation_engine]])])])])])]),_:1}),V(a,{title:"ComfyUI service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Xgt,[l("tr",null,[Zgt,l("td",null,[l("div",Jgt,[P(l("input",{type:"checkbox",id:"enable_comfyui_service",required:"","onUpdate:modelValue":e[366]||(e[366]=_=>r.configFile.enable_comfyui_service=_),onChange:e[367]||(e[367]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_comfyui_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[368]||(e[368]=_=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},tbt)])]),l("tr",null,[nbt,l("td",null,[l("div",sbt,[P(l("select",{id:"comfyui_model",required:"","onUpdate:modelValue":e[369]||(e[369]=_=>r.configFile.comfyui_model=_),onChange:e[370]||(e[370]=_=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(T(!0),C(Ge,null,Xe(i.comfyui_models,(_,g)=>(T(),C("option",{key:_,value:_},K(_),9,ibt))),128))],544),[[Dt,r.configFile.comfyui_model]])])])]),l("tr",null,[rbt,l("td",null,[l("div",obt,[P(l("input",{type:"text",id:"comfyui_model",required:"","onUpdate:modelValue":e[371]||(e[371]=_=>r.configFile.comfyui_model=_),onChange:e[372]||(e[372]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.comfyui_model]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[373]||(e[373]=_=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},lbt)])]),l("tr",null,[cbt,l("td",null,[l("div",dbt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[374]||(e[374]=(..._)=>r.reinstallComfyUIService&&r.reinstallComfyUIService(..._))},"install comfyui service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[375]||(e[375]=(..._)=>r.upgradeComfyUIService&&r.upgradeComfyUIService(..._))},"upgrade comfyui service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[376]||(e[376]=(..._)=>r.startComfyUIService&&r.startComfyUIService(..._))},"start comfyui service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[377]||(e[377]=(..._)=>r.showComfyui&&r.showComfyui(..._))},"show comfyui"),ubt])])]),l("tr",null,[pbt,l("td",null,[l("div",_bt,[P(l("input",{type:"text",id:"comfyui_base_url",required:"","onUpdate:modelValue":e[378]||(e[378]=_=>r.configFile.comfyui_base_url=_),onChange:e[379]||(e[379]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.comfyui_base_url]])])])])])]),_:1})]),_:1}),V(a,{title:"TTT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[V(a,{title:"Ollama service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",hbt,[l("tr",null,[fbt,l("td",null,[l("div",mbt,[P(l("input",{type:"checkbox",id:"enable_ollama_service",required:"","onUpdate:modelValue":e[380]||(e[380]=_=>r.configFile.enable_ollama_service=_),onChange:e[381]||(e[381]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_ollama_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[382]||(e[382]=_=>this.$store.state.messageBox.showMessage(`Activates ollama service. The service will be automatically loaded at startup alowing you to use the ollama binding. If you are using windows, this uses wsl which requires you to have it installed or at least activated. If You are using windows, this will install wsl so you need to activate it. -Here is how you can do that`))},Ubt)])]),l("tr",null,[Bbt,l("td",null,[l("div",Gbt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[383]||(e[383]=(..._)=>r.reinstallOLLAMAService&&r.reinstallOLLAMAService(..._))},"install ollama service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[384]||(e[384]=(..._)=>r.startollamaService&&r.startollamaService(..._))},"start ollama service")])])]),l("tr",null,[Vbt,l("td",null,[l("div",zbt,[P(l("input",{type:"text",id:"ollama_base_url",required:"","onUpdate:modelValue":e[385]||(e[385]=_=>r.configFile.ollama_base_url=_),onChange:e[386]||(e[386]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.ollama_base_url]])])])])])]),_:1}),V(a,{title:"vLLM service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",Hbt,[l("tr",null,[qbt,l("td",null,[l("div",$bt,[P(l("input",{type:"checkbox",id:"enable_vllm_service",required:"","onUpdate:modelValue":e[387]||(e[387]=_=>r.configFile.enable_vllm_service=_),onChange:e[388]||(e[388]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_vllm_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[389]||(e[389]=_=>this.$store.state.messageBox.showMessage(`Activates vllm service. The service will be automatically loaded at startup alowing you to use the elf binding. +Here is how you can do that`))},bbt)])]),l("tr",null,[Ebt,l("td",null,[l("div",ybt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[383]||(e[383]=(..._)=>r.reinstallOLLAMAService&&r.reinstallOLLAMAService(..._))},"install ollama service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[384]||(e[384]=(..._)=>r.startollamaService&&r.startollamaService(..._))},"start ollama service")])])]),l("tr",null,[vbt,l("td",null,[l("div",Sbt,[P(l("input",{type:"text",id:"ollama_base_url",required:"","onUpdate:modelValue":e[385]||(e[385]=_=>r.configFile.ollama_base_url=_),onChange:e[386]||(e[386]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.ollama_base_url]])])])])])]),_:1}),V(a,{title:"vLLM service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Tbt,[l("tr",null,[xbt,l("td",null,[l("div",Cbt,[P(l("input",{type:"checkbox",id:"enable_vllm_service",required:"","onUpdate:modelValue":e[387]||(e[387]=_=>r.configFile.enable_vllm_service=_),onChange:e[388]||(e[388]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_vllm_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[389]||(e[389]=_=>this.$store.state.messageBox.showMessage(`Activates vllm service. The service will be automatically loaded at startup alowing you to use the elf binding. If you are using windows, this uses wsl which requires you to have it installed or at least activated. If You are using windows, this will install wsl so you need to activate it. -Here is how you can do that`))},Wbt)])]),l("tr",null,[Kbt,l("td",null,[l("div",jbt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[390]||(e[390]=(..._)=>r.reinstallvLLMService&&r.reinstallvLLMService(..._))},"install vLLM service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[391]||(e[391]=(..._)=>r.startvLLMService&&r.startvLLMService(..._))},"start vllm service")])])]),l("tr",null,[Qbt,l("td",null,[l("div",Xbt,[P(l("input",{type:"text",id:"vllm_url",required:"","onUpdate:modelValue":e[392]||(e[392]=_=>r.configFile.vllm_url=_),onChange:e[393]||(e[393]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_url]])])])]),l("tr",null,[Zbt,l("td",null,[l("div",Jbt,[l("div",eEt,[tEt,l("p",nEt,[P(l("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[394]||(e[394]=_=>r.configFile.vllm_gpu_memory_utilization=_),onChange:e[395]||(e[395]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.vllm_gpu_memory_utilization]])])]),P(l("input",{id:"vllm_gpu_memory_utilization",onChange:e[396]||(e[396]=_=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[397]||(e[397]=_=>r.configFile.vllm_gpu_memory_utilization=_),min:"0.10",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.vllm_gpu_memory_utilization]])])])]),l("tr",null,[sEt,l("td",null,[l("div",iEt,[P(l("input",{type:"number",id:"vllm_max_num_seqs",min:"64",max:"2048",required:"","onUpdate:modelValue":e[398]||(e[398]=_=>r.configFile.vllm_max_num_seqs=_),onChange:e[399]||(e[399]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_max_num_seqs]])])])]),l("tr",null,[rEt,l("td",null,[l("div",oEt,[P(l("input",{type:"number",id:"vllm_max_model_len",min:"2048",max:"1000000",required:"","onUpdate:modelValue":e[400]||(e[400]=_=>r.configFile.vllm_max_model_len=_),onChange:e[401]||(e[401]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_max_model_len]])])])]),l("tr",null,[aEt,l("td",null,[l("div",lEt,[P(l("input",{type:"text",id:"vllm_model_path",required:"","onUpdate:modelValue":e[402]||(e[402]=_=>r.configFile.vllm_model_path=_),onChange:e[403]||(e[403]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_model_path]])])])])])]),_:1}),V(a,{title:"Petals service",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",cEt,[l("tr",null,[dEt,l("td",null,[l("div",uEt,[P(l("input",{type:"checkbox",id:"enable_petals_service",required:"","onUpdate:modelValue":e[404]||(e[404]=_=>r.configFile.enable_petals_service=_),onChange:e[405]||(e[405]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_petals_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[406]||(e[406]=_=>this.$store.state.messageBox.showMessage(`Activates Petals service. The service will be automatically loaded at startup alowing you to use the petals endpoint to generate text in a distributed network. +Here is how you can do that`))},Rbt)])]),l("tr",null,[Abt,l("td",null,[l("div",Nbt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[390]||(e[390]=(..._)=>r.reinstallvLLMService&&r.reinstallvLLMService(..._))},"install vLLM service"),l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[391]||(e[391]=(..._)=>r.startvLLMService&&r.startvLLMService(..._))},"start vllm service")])])]),l("tr",null,[Obt,l("td",null,[l("div",Ibt,[P(l("input",{type:"text",id:"vllm_url",required:"","onUpdate:modelValue":e[392]||(e[392]=_=>r.configFile.vllm_url=_),onChange:e[393]||(e[393]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_url]])])])]),l("tr",null,[Mbt,l("td",null,[l("div",kbt,[l("div",Dbt,[Lbt,l("p",Pbt,[P(l("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[394]||(e[394]=_=>r.configFile.vllm_gpu_memory_utilization=_),onChange:e[395]||(e[395]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.vllm_gpu_memory_utilization]])])]),P(l("input",{id:"vllm_gpu_memory_utilization",onChange:e[396]||(e[396]=_=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[397]||(e[397]=_=>r.configFile.vllm_gpu_memory_utilization=_),min:"0.10",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.vllm_gpu_memory_utilization]])])])]),l("tr",null,[Fbt,l("td",null,[l("div",Ubt,[P(l("input",{type:"number",id:"vllm_max_num_seqs",min:"64",max:"2048",required:"","onUpdate:modelValue":e[398]||(e[398]=_=>r.configFile.vllm_max_num_seqs=_),onChange:e[399]||(e[399]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_max_num_seqs]])])])]),l("tr",null,[Bbt,l("td",null,[l("div",Gbt,[P(l("input",{type:"number",id:"vllm_max_model_len",min:"2048",max:"1000000",required:"","onUpdate:modelValue":e[400]||(e[400]=_=>r.configFile.vllm_max_model_len=_),onChange:e[401]||(e[401]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_max_model_len]])])])]),l("tr",null,[Vbt,l("td",null,[l("div",zbt,[P(l("input",{type:"text",id:"vllm_model_path",required:"","onUpdate:modelValue":e[402]||(e[402]=_=>r.configFile.vllm_model_path=_),onChange:e[403]||(e[403]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.vllm_model_path]])])])])])]),_:1}),V(a,{title:"Petals service",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Hbt,[l("tr",null,[qbt,l("td",null,[l("div",$bt,[P(l("input",{type:"checkbox",id:"enable_petals_service",required:"","onUpdate:modelValue":e[404]||(e[404]=_=>r.configFile.enable_petals_service=_),onChange:e[405]||(e[405]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.enable_petals_service]])])]),l("td",null,[l("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[406]||(e[406]=_=>this.$store.state.messageBox.showMessage(`Activates Petals service. The service will be automatically loaded at startup alowing you to use the petals endpoint to generate text in a distributed network. If You are using windows, this will install wsl so you need to activate it. -Here is how you can do that`))},_Et)])]),l("tr",null,[hEt,l("td",null,[l("div",fEt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[407]||(e[407]=(..._)=>r.reinstallPetalsService&&r.reinstallPetalsService(..._))},"install petals service")])])]),l("tr",null,[mEt,l("td",null,[l("div",gEt,[P(l("input",{type:"text",id:"petals_base_url",required:"","onUpdate:modelValue":e[408]||(e[408]=_=>r.configFile.petals_base_url=_),onChange:e[409]||(e[409]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.petals_base_url]])])])])])]),_:1})]),_:1}),V(a,{title:"Misc",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[V(a,{title:"Elastic search Service (under construction)",is_subcard:!0,class:"pb-2 m-2"},{default:Ie(()=>[l("table",bEt,[l("tr",null,[EEt,l("td",null,[l("div",yEt,[P(l("input",{type:"checkbox",id:"elastic_search_service",required:"","onUpdate:modelValue":e[410]||(e[410]=_=>r.configFile.elastic_search_service=_),onChange:e[411]||(e[411]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.elastic_search_service]])])])]),l("tr",null,[vEt,l("td",null,[l("div",SEt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[412]||(e[412]=(..._)=>r.reinstallElasticSearchService&&r.reinstallElasticSearchService(..._))},"install ElasticSearch service")])])]),l("tr",null,[TEt,l("td",null,[l("div",xEt,[P(l("input",{type:"text",id:"elastic_search_url",required:"","onUpdate:modelValue":e[413]||(e[413]=_=>r.configFile.elastic_search_url=_),onChange:e[414]||(e[414]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.elastic_search_url]])])])])])]),_:1})]),_:1})],2)]),l("div",CEt,[l("div",wEt,[l("button",{onClick:e[415]||(e[415]=j(_=>i.bzc_collapsed=!i.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,AEt,512),[[wt,i.bzc_collapsed]]),P(l("div",null,OEt,512),[[wt,!i.bzc_collapsed]]),MEt,r.configFile.binding_name?G("",!0):(T(),x("div",IEt,[kEt,Je(" No binding selected! ")])),r.configFile.binding_name?(T(),x("div",DEt,"|")):G("",!0),r.configFile.binding_name?(T(),x("div",LEt,[l("div",PEt,[l("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,FEt),l("p",UEt,K(r.binding_name),1)])])):G("",!0)])]),l("div",{class:Ge([{hidden:i.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsZoo&&r.bindingsZoo.length>0?(T(),x("div",BEt,[l("label",GEt," Bindings: ("+K(r.bindingsZoo.length)+") ",1),l("div",{class:Ge(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.bzl_collapsed?"":"max-h-96"])},[V(di,{name:"list"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(r.bindingsZoo,(_,g)=>(T(),dt(c,{ref_for:!0,ref:"bindingZoo",key:"index-"+g+"-"+_.folder,binding:_,"on-selected":r.onBindingSelected,"on-reinstall":r.onReinstallBinding,"on-unInstall":r.onUnInstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:_.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):G("",!0),i.bzl_collapsed?(T(),x("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[416]||(e[416]=_=>i.bzl_collapsed=!i.bzl_collapsed)},zEt)):(T(),x("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[417]||(e[417]=_=>i.bzl_collapsed=!i.bzl_collapsed)},qEt))],2)]),l("div",$Et,[l("div",YEt,[l("button",{onClick:e[418]||(e[418]=j(_=>r.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[P(l("div",null,KEt,512),[[wt,i.mzc_collapsed]]),P(l("div",null,QEt,512),[[wt,!i.mzc_collapsed]]),XEt,l("div",ZEt,[r.configFile.binding_name?G("",!0):(T(),x("div",JEt,[eyt,Je(" Select binding first! ")])),!r.configFile.model_name&&r.configFile.binding_name?(T(),x("div",tyt,[nyt,Je(" No model selected! ")])):G("",!0),r.configFile.model_name?(T(),x("div",syt,"|")):G("",!0),r.configFile.model_name?(T(),x("div",iyt,[l("div",ryt,[l("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,oyt),l("p",ayt,K(r.configFile.model_name),1)])])):G("",!0)])])]),l("div",{class:Ge([{hidden:i.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",lyt,[l("div",cyt,[l("div",dyt,[i.searchModelInProgress?(T(),x("div",uyt,_yt)):G("",!0),i.searchModelInProgress?G("",!0):(T(),x("div",hyt,myt))]),P(l("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[419]||(e[419]=_=>i.searchModel=_),onKeyup:e[420]||(e[420]=Ks((..._)=>r.searchModel_func&&r.searchModel_func(..._),["enter"]))},null,544),[[pe,i.searchModel]]),i.searchModel?(T(),x("button",{key:0,onClick:e[421]||(e[421]=j(_=>i.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")):G("",!0)])]),l("div",null,[P(l("input",{"onUpdate:modelValue":e[422]||(e[422]=_=>i.show_only_installed_models=_),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[$e,i.show_only_installed_models]]),gyt]),l("div",null,[V(d,{radioOptions:i.sortOptions,onRadioSelected:r.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),byt,i.is_loading_zoo?(T(),x("div",Eyt,Syt)):G("",!0),i.models_zoo&&i.models_zoo.length>0?(T(),x("div",Tyt,[l("label",xyt," Models: ("+K(i.models_zoo.length)+") ",1),l("div",{class:Ge(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark 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",i.mzl_collapsed?"":"max-h-96"])},[V(di,{name:"list"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(r.rendered_models_zoo,(_,g)=>(T(),dt(u,{ref_for:!0,ref:"modelZoo",key:"index-"+g+"-"+_.name,model:_,"is-installed":_.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onModelSelected,selected:_.name===r.configFile.model_name,model_type:_.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128)),l("button",{ref:"load_more_models",class:"relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",onClick:e[423]||(e[423]=(..._)=>r.load_more_models&&r.load_more_models(..._))},"Load more models",512)]),_:1})],2)])):G("",!0),i.mzl_collapsed?(T(),x("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[424]||(e[424]=(..._)=>r.open_mzl&&r.open_mzl(..._))},wyt)):(T(),x("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[425]||(e[425]=(..._)=>r.open_mzl&&r.open_mzl(..._))},Ayt)),l("div",Nyt,[l("div",Oyt,[l("div",null,[l("div",Myt,[Iyt,P(l("input",{type:"text","onUpdate:modelValue":e[426]||(e[426]=_=>i.reference_path=_),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 Path ...",required:""},null,512),[[pe,i.reference_path]])]),l("button",{type:"button",onClick:e[427]||(e[427]=j(_=>r.onCreateReference(),["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"},"Add reference")]),i.modelDownlaodInProgress?G("",!0):(T(),x("div",kyt,[l("div",Dyt,[Lyt,P(l("input",{type:"text","onUpdate:modelValue":e[428]||(e[428]=_=>i.addModel.url=_),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[pe,i.addModel.url]])]),l("button",{type:"button",onClick:e[429]||(e[429]=j(_=>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")])),i.modelDownlaodInProgress?(T(),x("div",Pyt,[Fyt,l("div",Uyt,[l("div",Byt,[l("div",Gyt,[Vyt,l("span",zyt,K(Math.floor(i.addModel.progress))+"%",1)]),l("div",{class:"mx-1 opacity-80 line-clamp-1",title:i.addModel.url},K(i.addModel.url),9,Hyt),l("div",qyt,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Kt({width:i.addModel.progress+"%"})},null,4)]),l("div",$yt,[l("span",Yyt,"Download speed: "+K(r.speed_computed)+"/s",1),l("span",Wyt,K(r.downloaded_size_computed)+"/"+K(r.total_size_computed),1)])])]),l("div",Kyt,[l("div",jyt,[l("div",Qyt,[l("button",{onClick:e[430]||(e[430]=j((..._)=>r.onCancelInstall&&r.onCancelInstall(..._),["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 ")])])])])):G("",!0)])])],2)]),l("div",Xyt,[l("div",Zyt,[l("button",{onClick:e[433]||(e[433]=j(_=>i.pzc_collapsed=!i.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[P(l("div",null,evt,512),[[wt,i.pzc_collapsed]]),P(l("div",null,nvt,512),[[wt,!i.pzc_collapsed]]),svt,r.configFile.personalities?(T(),x("div",ivt,"|")):G("",!0),l("div",rvt,K(r.active_pesonality),1),r.configFile.personalities?(T(),x("div",ovt,"|")):G("",!0),r.configFile.personalities?(T(),x("div",avt,[r.mountedPersArr.length>0?(T(),x("div",lvt,[(T(!0),x(Fe,null,Ke(r.mountedPersArr,(_,g)=>(T(),x("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:g+"-"+_.name,ref_for:!0,ref:"mountedPersonalities"},[l("div",cvt,[l("button",{onClick:j(b=>r.onPersonalitySelected(_),["stop"])},[l("img",{src:i.bUrl+_.avatar,onError:e[431]||(e[431]=(...b)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...b)),class:Ge(["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(_.full_path)?"border-secondary":"border-transparent z-0"]),title:_.name},null,42,uvt)],8,dvt),l("button",{onClick:j(b=>r.unmountPersonality(_),["stop"])},hvt,8,pvt)])]))),128))])):G("",!0)])):G("",!0),l("button",{onClick:e[432]||(e[432]=j(_=>r.unmountAll(),["stop"])),class:"bg-bg-light hover:border-green-200 ml-5 dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount All"},mvt)])]),l("div",{class:Ge([{hidden:i.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",gvt,[bvt,l("div",Evt,[l("div",yvt,[i.searchPersonalityInProgress?(T(),x("div",vvt,Tvt)):G("",!0),i.searchPersonalityInProgress?G("",!0):(T(),x("div",xvt,wvt))]),P(l("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[434]||(e[434]=_=>i.searchPersonality=_),onKeyup:e[435]||(e[435]=j((..._)=>r.searchPersonality_func&&r.searchPersonality_func(..._),["stop"]))},null,544),[[pe,i.searchPersonality]]),i.searchPersonality?(T(),x("button",{key:0,onClick:e[436]||(e[436]=j(_=>i.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")):G("",!0)])]),i.searchPersonality?G("",!0):(T(),x("div",Rvt,[l("label",Avt," Personalities Category: ("+K(i.persCatgArr.length)+") ",1),l("select",{id:"persCat",onChange:e[437]||(e[437]=_=>r.update_personality_category(_.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),x(Fe,null,Ke(i.persCatgArr,(_,g)=>(T(),x("option",{key:g,selected:_==this.configFile.personality_category},K(_),9,Nvt))),128))],32)])),l("div",null,[i.personalitiesFiltered.length>0?(T(),x("div",Ovt,[l("label",Mvt,K(i.searchPersonality?"Search results":"Personalities")+": ("+K(i.personalitiesFiltered.length)+") ",1),l("div",{class:Ge(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.pzl_collapsed?"":"max-h-96"])},[V(di,{name:"bounce"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(i.personalitiesFiltered,(_,g)=>(T(),dt(h,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+g+"-"+_.name,personality:_,select_language:!0,full_path:_.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(b=>b===_.full_path||b===_.full_path+":"+_.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-edit":r.editPersonality,"on-copy-to-custom":r.copyToCustom,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality,"on-copy-personality-name":r.onCopyPersonalityName,"on-copy-to_custom":r.onCopyToCustom,"on-open-folder":r.handleOpenFolder},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder"]))),128))]),_:1})],2)])):G("",!0)]),i.pzl_collapsed?(T(),x("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[438]||(e[438]=_=>i.pzl_collapsed=!i.pzl_collapsed)},kvt)):(T(),x("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[439]||(e[439]=_=>i.pzl_collapsed=!i.pzl_collapsed)},Lvt))],2)]),l("div",Pvt,[l("div",Fvt,[l("button",{onClick:e[440]||(e[440]=j(_=>i.mc_collapsed=!i.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[P(l("div",null,Bvt,512),[[wt,i.mc_collapsed]]),P(l("div",null,Vvt,512),[[wt,!i.mc_collapsed]]),zvt])]),l("div",{class:Ge([{hidden:i.mc_collapsed},"flex flex-col mb-2 p-2"])},[l("div",Hvt,[l("div",qvt,[P(l("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[441]||(e[441]=j(()=>{},["stop"])),"onUpdate:modelValue":e[442]||(e[442]=_=>r.configFile.override_personality_model_parameters=_),onChange:e[443]||(e[443]=_=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[$e,r.configFile.override_personality_model_parameters]]),$vt])]),l("div",{class:Ge(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[l("div",Yvt,[Wvt,P(l("input",{type:"text",id:"seed","onUpdate:modelValue":e[444]||(e[444]=_=>r.configFile.seed=_),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[pe,r.configFile.seed]])]),l("div",Kvt,[l("div",jvt,[l("div",Qvt,[Xvt,l("p",Zvt,[P(l("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[445]||(e[445]=_=>r.configFile.temperature=_),onChange:e[446]||(e[446]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.temperature]])])]),P(l("input",{id:"temperature",onChange:e[447]||(e[447]=_=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[448]||(e[448]=_=>r.configFile.temperature=_),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.temperature]])])]),l("div",Jvt,[l("div",e0t,[l("div",t0t,[n0t,l("p",s0t,[P(l("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[449]||(e[449]=_=>r.configFile.n_predict=_),onChange:e[450]||(e[450]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.n_predict]])])]),P(l("input",{id:"predict",type:"range",onChange:e[451]||(e[451]=_=>i.settingsChanged=!0),"onUpdate:modelValue":e[452]||(e[452]=_=>r.configFile.n_predict=_),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.n_predict]])])]),l("div",i0t,[l("div",r0t,[l("div",o0t,[a0t,l("p",l0t,[P(l("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[453]||(e[453]=_=>r.configFile.top_k=_),onChange:e[454]||(e[454]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.top_k]])])]),P(l("input",{id:"top_k",type:"range",onChange:e[455]||(e[455]=_=>i.settingsChanged=!0),"onUpdate:modelValue":e[456]||(e[456]=_=>r.configFile.top_k=_),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.top_k]])])]),l("div",c0t,[l("div",d0t,[l("div",u0t,[p0t,l("p",_0t,[P(l("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[457]||(e[457]=_=>r.configFile.top_p=_),onChange:e[458]||(e[458]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.top_p]])])]),P(l("input",{id:"top_p",type:"range","onUpdate:modelValue":e[459]||(e[459]=_=>r.configFile.top_p=_),min:"0",max:"1",step:"0.01",onChange:e[460]||(e[460]=_=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.top_p]])])]),l("div",h0t,[l("div",f0t,[l("div",m0t,[g0t,l("p",b0t,[P(l("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[461]||(e[461]=_=>r.configFile.repeat_penalty=_),onChange:e[462]||(e[462]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.repeat_penalty]])])]),P(l("input",{id:"repeat_penalty",onChange:e[463]||(e[463]=_=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[464]||(e[464]=_=>r.configFile.repeat_penalty=_),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.repeat_penalty]])])]),l("div",E0t,[l("div",y0t,[l("div",v0t,[S0t,l("p",T0t,[P(l("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[465]||(e[465]=_=>r.configFile.repeat_last_n=_),onChange:e[466]||(e[466]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.repeat_last_n]])])]),P(l("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[467]||(e[467]=_=>r.configFile.repeat_last_n=_),min:"0",max:"100",step:"1",onChange:e[468]||(e[468]=_=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),V(f,{ref:"addmodeldialog"},null,512),V(m,{class:"z-20",show:i.variantSelectionDialogVisible,choices:i.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const C0t=ot(ilt,[["render",x0t],["__scopeId","data-v-c8653825"]]),w0t={components:{ClipBoardTextInput:FE,Card:_p},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const n={model_name:this.selectedModel,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};re.post("/start_training",n).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(n){const e=n.target.files;e.length>0&&(this.selectedDataset=e[0])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(n){console.log("watching model_name",n),this.$refs.clipboardInput.inputValue=n}}},R0t={key:0,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"},A0t={class:"mb-4"},N0t=l("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),O0t=["value"],M0t={class:"mb-4"},I0t=l("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),k0t={class:"mb-4"},D0t=l("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),L0t={class:"mb-4"},P0t=l("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),F0t={class:"mb-4"},U0t=l("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),B0t={class:"mb-4"},G0t=l("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),V0t={class:"mb-4"},z0t=l("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),H0t=l("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),q0t={key:1};function $0t(n,e,t,s,i,r){const o=tt("Card"),a=tt("ClipBoardTextInput");return r.selectedModel!==null&&r.selectedModel.toLowerCase().includes("gptq")?(T(),x("div",R0t,[l("form",{onSubmit:e[2]||(e[2]=j((...c)=>r.submitForm&&r.submitForm(...c),["prevent"])),class:""},[V(o,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[V(o,{title:"Model",class:"",isHorizontal:!1},{default:Ie(()=>[l("div",A0t,[N0t,P(l("select",{"onUpdate:modelValue":e[0]||(e[0]=c=>r.selectedModel=c),onChange:e[1]||(e[1]=(...c)=>n.setModel&&n.setModel(...c)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(T(!0),x(Fe,null,Ke(r.models,c=>(T(),x("option",{key:c,value:c},K(c),9,O0t))),128))],544),[[Dt,r.selectedModel]])])]),_:1}),V(o,{title:"Data",isHorizontal:!1},{default:Ie(()=>[l("div",M0t,[I0t,V(a,{id:"model_path",inputType:"file",value:i.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),V(o,{title:"Training",isHorizontal:!1},{default:Ie(()=>[l("div",k0t,[D0t,V(a,{id:"model_path",inputType:"integer",value:i.lr},null,8,["value"])]),l("div",L0t,[P0t,V(a,{id:"model_path",inputType:"integer",value:i.num_epochs},null,8,["value"])]),l("div",F0t,[U0t,V(a,{id:"model_path",inputType:"integer",value:i.max_length},null,8,["value"])]),l("div",B0t,[G0t,V(a,{id:"model_path",inputType:"integer",value:i.batch_size},null,8,["value"])])]),_:1}),V(o,{title:"Output",isHorizontal:!1},{default:Ie(()=>[l("div",V0t,[z0t,V(a,{id:"model_path",inputType:"text",value:n.output_dir},null,8,["value"])])]),_:1})]),_:1}),V(o,{disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[H0t]),_:1})],32)])):(T(),x("div",q0t,[V(o,{title:"Info",class:"",isHorizontal:!1},{default:Ie(()=>[Je(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const Y0t=ot(w0t,[["render",$0t]]),W0t={components:{ClipBoardTextInput:FE,Card:_p},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(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(n){const e=n.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},K0t={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"},j0t={class:"mb-4"},Q0t=l("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),X0t={class:"mb-4"},Z0t=l("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),J0t=l("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function eSt(n,e,t,s,i,r){const o=tt("ClipBoardTextInput"),a=tt("Card");return T(),x("div",K0t,[l("form",{onSubmit:e[0]||(e[0]=j((...c)=>r.submitForm&&r.submitForm(...c),["prevent"])),class:"max-w-md mx-auto"},[V(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[V(a,{title:"Model",class:"",isHorizontal:!1},{default:Ie(()=>[l("div",j0t,[Q0t,V(o,{id:"model_path",inputType:"text",value:i.model_name},null,8,["value"])]),l("div",X0t,[Z0t,V(o,{id:"model_path",inputType:"text",value:i.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),V(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Ie(()=>[J0t]),_:1})],32)])}const tSt=ot(W0t,[["render",eSt]]),nSt={name:"Discussion",emits:["delete","select","openFolder","editTitle","makeTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,makeTitleMode:!1,deleteMode:!1,openFolder:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{cancel(){this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1},deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},openFolderEvent(){this.$emit("openFolder",{id:this.id})},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},makeTitleEvent(){this.$emit("makeTitle",{id:this.id}),this.showConfirmation=!1},chnageTitle(n){this.newTitle=n},checkedChangeEvent(n,e){this.$emit("checked",n,e)}},mounted(){this.newTitle=this.title,Le(()=>{ze.replace()})},watch:{showConfirmation(){Le(()=>{ze.replace()})},editTitleMode(n){this.showConfirmation=n,this.editTitle=n,n&&Le(()=>{try{this.$refs.titleBox.focus()}catch{}})},deleteMode(n){this.showConfirmation=n,n&&Le(()=>{this.$refs.titleBox.focus()})},makeTitleMode(n){this.showConfirmation=n},checkBoxValue(n,e){this.checkBoxValue_local=n}}},sSt=["id"],iSt={class:"flex flex-row items-center gap-2"},rSt={key:0},oSt={class:"flex flex-row items-center w-full"},aSt=["title"],lSt=["value"],cSt={class:"flex items-center flex-1 max-h-6"},dSt={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},uSt=l("i",{"data-feather":"x"},null,-1),pSt=[uSt],_St=l("i",{"data-feather":"check"},null,-1),hSt=[_St],fSt={key:1,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},mSt=l("i",{"data-feather":"folder"},null,-1),gSt=[mSt],bSt=l("i",{"data-feather":"type"},null,-1),ESt=[bSt],ySt=l("i",{"data-feather":"edit-2"},null,-1),vSt=[ySt],SSt=l("i",{"data-feather":"trash"},null,-1),TSt=[SSt];function xSt(n,e,t,s,i,r){return T(),x("div",{class:Ge([t.selected?"discussion-hilighted shadow-md min-w-[23rem] max-w-[23rem]":"discussion min-w-[23rem] max-w-[23rem]","m-1 py-2 flex flex-row sm:flex-row flex-wrap flex-shrink: 0 item-center shadow-sm hover:shadow-md rounded-md duration-75 group cursor-pointer"]),id:"dis-"+t.id,onClick:e[13]||(e[13]=j(o=>r.selectEvent(),["stop"]))},[l("div",iSt,[t.isCheckbox?(T(),x("div",rSt,[P(l("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]=j(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=o=>i.checkBoxValue_local=o),onInput:e[2]||(e[2]=o=>r.checkedChangeEvent(o,t.id))},null,544),[[$e,i.checkBoxValue_local]])])):G("",!0),t.selected?(T(),x("div",{key:1,class:Ge(["min-h-full w-2 rounded-xl self-stretch",t.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):G("",!0),t.selected?G("",!0):(T(),x("div",{key:2,class:Ge(["w-2",t.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),l("div",oSt,[i.editTitle?G("",!0):(T(),x("p",{key:0,title:t.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},K(t.title?t.title==="untitled"?"New discussion":t.title:"New discussion"),9,aSt)),i.editTitle?(T(),x("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:t.title,required:"",onKeydown:[e[3]||(e[3]=Ks(j(o=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ks(j(o=>i.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=o=>r.chnageTitle(o.target.value)),onClick:e[6]||(e[6]=j(()=>{},["stop"]))},null,40,lSt)):G("",!0),l("div",cSt,[i.showConfirmation?(T(),x("div",dSt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[7]||(e[7]=j(o=>r.cancel(),["stop"]))},pSt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[8]||(e[8]=j(o=>i.editTitleMode?r.editTitleEvent():i.deleteMode?r.deleteEvent():r.makeTitleEvent(),["stop"]))},hSt)])):G("",!0),i.showConfirmation?G("",!0):(T(),x("div",fSt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Open folder",type:"button",onClick:e[9]||(e[9]=j(o=>r.openFolderEvent(),["stop"]))},gSt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Make a title",type:"button",onClick:e[10]||(e[10]=j(o=>i.makeTitleMode=!0,["stop"]))},ESt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=j(o=>i.editTitleMode=!0,["stop"]))},vSt),l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=j(o=>i.deleteMode=!0,["stop"]))},TSt)]))])])],10,sSt)}const QE=ot(nSt,[["render",xSt]]),CSt={data(){return{show:!1,prompt:"",inputText:""}},methods:{showPanel(){this.show=!0},ok(){this.show=!1,this.$emit("ok",this.inputText)},cancel(){this.show=!1,this.inputText=""}},props:{promptText:{type:String,required:!0}},watch:{promptText(n){this.prompt=n}}},wSt={key:0,class:"fixed top-0 left-0 w-full h-full flex justify-center items-center bg-black bg-opacity-50"},RSt={class:"bg-white p-8 rounded"},ASt={class:"text-xl font-bold mb-4"};function NSt(n,e,t,s,i,r){return T(),x("div",null,[i.show?(T(),x("div",wSt,[l("div",RSt,[l("h2",ASt,K(t.promptText),1),P(l("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=o=>i.inputText=o),class:"border border-gray-300 px-4 py-2 rounded mb-4"},null,512),[[pe,i.inputText]]),l("button",{onClick:e[1]||(e[1]=(...o)=>r.ok&&r.ok(...o)),class:"bg-blue-500 text-white px-4 py-2 rounded mr-2"},"OK"),l("button",{onClick:e[2]||(e[2]=(...o)=>r.cancel&&r.cancel(...o)),class:"bg-gray-500 text-white px-4 py-2 rounded"},"Cancel")])])):G("",!0)])}const BN=ot(CSt,[["render",NSt]]),OSt={data(){return{id:0,loading:!1,isCheckbox:!1,isVisible:!1,categories:[],titles:[],content:"",searchQuery:""}},components:{Discussion:QE,MarkdownRenderer:dp},props:{host:{type:String,required:!1,default:"http://localhost:9600"}},methods:{showSkillsLibrary(){this.isVisible=!0,this.fetchTitles()},closeComponent(){this.isVisible=!1},fetchCategories(){re.post("/get_skills_library_categories",{client_id:this.$store.state.client_id}).then(n=>{this.categories=n.data.categories}).catch(n=>{console.error("Error fetching categories:",n)})},fetchTitles(){console.log("Fetching categories"),re.post("/get_skills_library_titles",{client_id:this.$store.state.client_id}).then(n=>{this.titles=n.data.titles,console.log("titles recovered")}).catch(n=>{console.error("Error fetching titles:",n)})},fetchContent(n){re.post("/get_skills_library_content",{client_id:this.$store.state.client_id,skill_id:n}).then(e=>{const t=e.data.contents[0];this.id=t.id,this.content=t.content}).catch(e=>{console.error("Error fetching content:",e)})},deleteCategory(n){console.log("Delete category")},editCategory(n){console.log("Edit category")},checkUncheckCategory(n){console.log("Unchecked category")},deleteSkill(n){console.log("Delete skill ",n),re.post("/delete_skill",{client_id:this.$store.state.client_id,skill_id:n}).then(()=>{this.fetchTitles()})},editTitle(n){re.post("/edit_skill_title",{client_id:this.$store.state.client_id,skill_id:n,title:n}).then(()=>{this.fetchTitles()}),console.log("Edit title")},makeTitle(n){console.log("Make title")},checkUncheckTitle(n){},searchSkills(){}}},MSt={id:"leftPanel",class:"flex flex-row h-full flex-grow shadow-lg rounded"},ISt={class:"min-w-[23rem] max-w-[23rem] z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md overflow-y-scroll no-scrollbar"},kSt={class:"search p-4"},DSt={classclass:"absolute flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone top-20 left-20 bottom-20 right-20 bg-bg-light shadow-lg rounded"},LSt=l("h2",{class:"text-xl font-bold m-4"},"Titles",-1),PSt={class:"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"},FSt=l("h2",{class:"text-xl font-bold m-4"},"Content",-1);function USt(n,e,t,s,i,r){const o=tt("Discussion"),a=tt("MarkdownRenderer");return T(),x("div",{class:Ge([{hidden:!i.isVisible},"absolute flex flex-col no-scrollbar shadow-lg bg-bg-light dark:bg-bg-dark top-20 left-20 bottom-20 right-20 shadow-lg rounded"])},[l("div",MSt,[l("div",ISt,[l("div",kSt,[P(l("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=c=>i.searchQuery=c),placeholder:"Search skills",class:"border border-gray-300 rounded px-2 py-1 mr-2"},null,512),[[pe,i.searchQuery]]),l("button",{onClick:e[1]||(e[1]=(...c)=>r.searchSkills&&r.searchSkills(...c)),class:"bg-blue-500 text-white rounded px-4 py-1"},"Search")]),l("div",DSt,[LSt,i.titles.length>0?(T(),dt(di,{key:0,name:"list"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(i.titles,c=>(T(),dt(o,{key:c.id,id:c.id,title:c.title,selected:r.fetchContent(c.id),loading:i.loading,isCheckbox:i.isCheckbox,checkBoxValue:!1,onSelect:d=>r.fetchContent(c.id),onDelete:d=>r.deleteSkill(c.id),onEditTitle:r.editTitle,onMakeTitle:r.makeTitle,onChecked:r.checkUncheckTitle},null,8,["id","title","selected","loading","isCheckbox","onSelect","onDelete","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):G("",!0)])]),l("div",PSt,[FSt,V(a,{host:t.host,"markdown-text":i.content,message_id:i.id,discussion_id:i.id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])])]),l("button",{onClick:e[2]||(e[2]=(...c)=>r.closeComponent&&r.closeComponent(...c)),class:"absolute top-2 right-2 bg-red-500 text-white rounded px-2 py-1 hover:bg-red-300"},"Close")],2)}const GN=ot(OSt,[["render",USt]]),BSt={props:{htmlContent:{type:String,required:!0}}},GSt=["innerHTML"];function VSt(n,e,t,s,i,r){return T(),x("div",{class:"w-full h-full 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",innerHTML:t.htmlContent},null,8,GSt)}const zSt=ot(BSt,[["render",VSt]]);const HSt={name:"JsonTreeView",props:{data:{type:[Object,Array],required:!0},depth:{type:Number,default:0}},data(){return{collapsedKeys:new Set}},methods:{isObject(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)},isArray(n){return Array.isArray(n)},toggleCollapse(n){this.collapsedKeys.has(n)?this.collapsedKeys.delete(n):this.collapsedKeys.add(n)},isCollapsed(n){return this.collapsedKeys.has(n)},getValueType(n){return typeof n=="string"?"string":typeof n=="number"?"number":typeof n=="boolean"?"boolean":n===null?"null":""},formatValue(n){return typeof n=="string"?`"${n}"`:String(n)}}},qSt={class:"json-tree-view"},$St=["onClick"],YSt={key:0,class:"toggle-icon"},WSt={class:"key"},KSt={key:0,class:"json-nested"};function jSt(n,e,t,s,i,r){const o=tt("json-tree-view",!0);return T(),x("div",qSt,[(T(!0),x(Fe,null,Ke(t.data,(a,c)=>(T(),x("div",{key:c,class:"json-item"},[l("div",{class:"json-key",onClick:d=>r.toggleCollapse(c)},[r.isObject(a)||r.isArray(a)?(T(),x("span",YSt,[l("i",{class:Ge(r.isCollapsed(c)?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)])):G("",!0),l("span",WSt,K(c)+":",1),!r.isObject(a)&&!r.isArray(a)?(T(),x("span",{key:1,class:Ge(["value",r.getValueType(a)])},K(r.formatValue(a)),3)):G("",!0)],8,$St),(r.isObject(a)||r.isArray(a))&&!r.isCollapsed(c)?(T(),x("div",KSt,[V(o,{data:a,depth:t.depth+1},null,8,["data","depth"])])):G("",!0)]))),128))])}const QSt=ot(HSt,[["render",jSt],["__scopeId","data-v-40406ec6"]]);const XSt={components:{JsonTreeView:QSt},props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Viewer"}},data(){return{collapsed:!0}},computed:{isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")},parsedJsonData(){if(typeof this.jsonData=="string")try{return JSON.parse(this.jsonData)}catch(n){return console.error("Error parsing JSON string:",n),{error:"Invalid JSON string"}}return this.jsonData}},methods:{toggleCollapsible(){this.collapsed=!this.collapsed}}},ZSt={key:0,class:"json-viewer"},JSt={class:"toggle-icon"},eTt={class:"json-content panels-color"};function tTt(n,e,t,s,i,r){const o=tt("json-tree-view");return r.isContentPresent?(T(),x("div",ZSt,[l("div",{class:"collapsible-section",onClick:e[0]||(e[0]=(...a)=>r.toggleCollapsible&&r.toggleCollapsible(...a))},[l("span",JSt,[l("i",{class:Ge(i.collapsed?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)]),Je(" "+K(t.jsonFormText),1)]),P(l("div",eTt,[V(o,{data:r.parsedJsonData,depth:0},null,8,["data"])],512),[[wt,!i.collapsed]])])):G("",!0)}const nTt=ot(XSt,[["render",tTt],["__scopeId","data-v-83fc9727"]]);const sTt={props:{done:{type:Boolean,default:!1},text:{type:String,default:""},status:{type:Boolean,default:!1},step_type:{type:String,default:"start_end"},description:{type:String,default:""}},mounted(){this.amounted()},methods:{amounted(){console.log("Component mounted with the following properties:"),console.log("done:",this.done),console.log("text:",this.text),console.log("status:",this.status),console.log("step_type:",this.step_type),console.log("description:",this.description)}},watch:{done(n){typeof n!="boolean"&&console.error("Invalid type for done. Expected Boolean.")},status(n){typeof n!="boolean"&&console.error("Invalid type for status. Expected Boolean."),this.done&&!n&&console.error("Task completed with errors.")}}},gp=n=>(Rs("data-v-78f415f6"),n=n(),As(),n),iTt={class:"step-container"},rTt={class:"step-icon"},oTt={key:0},aTt={key:0},lTt=gp(()=>l("i",{"data-feather":"circle",class:"feather-icon text-gray-600 dark:text-gray-300"},null,-1)),cTt=[lTt],dTt={key:1},uTt=gp(()=>l("i",{"data-feather":"check-circle",class:"feather-icon text-green-600 dark:text-green-400"},null,-1)),pTt=[uTt],_Tt={key:2},hTt=gp(()=>l("i",{"data-feather":"x-circle",class:"feather-icon text-red-600 dark:text-red-400"},null,-1)),fTt=[hTt],mTt={key:1},gTt=gp(()=>l("div",{class:"spinner"},null,-1)),bTt=[gTt],ETt={class:"step-content"},yTt={key:0,class:"step-description"};function vTt(n,e,t,s,i,r){return T(),x("div",iTt,[l("div",{class:Ge(["step-wrapper transition-all duration-300 ease-in-out",{"bg-green-100 dark:bg-green-900":t.done&&t.status,"bg-red-100 dark:bg-red-900":t.done&&!t.status,"bg-gray-100 dark:bg-gray-800":!t.done}])},[l("div",rTt,[t.step_type==="start_end"?(T(),x("div",oTt,[t.done?t.done&&t.status?(T(),x("div",dTt,pTt)):(T(),x("div",_Tt,fTt)):(T(),x("div",aTt,cTt))])):G("",!0),t.done?G("",!0):(T(),x("div",mTt,bTt))]),l("div",ETt,[l("h3",{class:Ge(["step-text",{"text-green-600 dark:text-green-400":t.done&&t.status,"text-red-600 dark:text-red-400":t.done&&!t.status,"text-gray-800 dark:text-gray-200":!t.done}])},K(t.text||"No text provided"),3),t.description?(T(),x("p",yTt,K(t.description||"No description provided"),1)):G("",!0)])],2)])}const STt=ot(sTt,[["render",vTt],["__scopeId","data-v-78f415f6"]]),TTt="/assets/process-61f7a21b.svg",xTt="/assets/ok-a0b56451.svg",CTt="/assets/failed-183609e7.svg",VN="/assets/send_globe-305330b9.svg";const wTt="/",RTt={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:dp,Step:STt,RenderHTMLJS:zSt,JsonViewer:nTt,DynamicUIRenderer:UN,ToolbarButton:UE,DropdownMenu:FN},props:{host:{type:String,required:!1,default:"http://localhost:9600"},message:Object,avatar:{default:""}},data(){return{ui_componentKey:0,isSynthesizingVoice:!1,cpp_block:TN,html5_block:xN,LaTeX_block:CN,json_block:SN,javascript_block:vN,process_svg:TTt,ok_svg:xTt,failed_svg:CTt,loading_svg:RN,sendGlobe:VN,code_block:EN,python_block:yN,bash_block:wN,audio_url:null,audio:null,msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode_:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){if("speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0?this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged):console.log("No voices found")):console.error("Speech synthesis is not supported in this browser."),Le(()=>{ze.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight}),console.log("Checking metadata"),console.log(this.message),Object.prototype.hasOwnProperty.call(this.message,"metadata")&&this.message.metadata!=null){console.log("Metadata found!"),Array.isArray(this.message.metadata)||(this.message.metadata=[]),console.log(typeof this.message.metadata),console.log(this.message.metadata);for(let n of this.message.metadata)Object.prototype.hasOwnProperty.call(n,"audio_url")&&n.audio_url!=null&&(this.audio_url=n.audio_url,console.log("Audio URL:",this.audio_url))}},methods:{computeTimeDiff(n,e){let t=e.getTime()-n.getTime();const s=Math.floor(t/(1e3*60*60));t-=s*(1e3*60*60);const i=Math.floor(t/(1e3*60));t-=i*(1e3*60);const r=Math.floor(t/1e3);return t-=r*1e3,[s,i,r]},insertTab(n){const e=n.target,t=e.selectionStart,s=e.selectionEnd,i=n.shiftKey;if(t===s)if(i){if(e.value.substring(t-4,t)==" "){const r=e.value.substring(0,t-4),o=e.value.substring(s),a=r+o;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t-4})}}else{const r=e.value.substring(0,t),o=e.value.substring(s),a=r+" "+o;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t+4})}else{const o=e.value.substring(t,s).split(` +Here is how you can do that`))},Wbt)])]),l("tr",null,[Kbt,l("td",null,[l("div",jbt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[407]||(e[407]=(..._)=>r.reinstallPetalsService&&r.reinstallPetalsService(..._))},"install petals service")])])]),l("tr",null,[Qbt,l("td",null,[l("div",Xbt,[P(l("input",{type:"text",id:"petals_base_url",required:"","onUpdate:modelValue":e[408]||(e[408]=_=>r.configFile.petals_base_url=_),onChange:e[409]||(e[409]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.petals_base_url]])])])])])]),_:1})]),_:1}),V(a,{title:"TTV settings",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",Zbt,[l("tr",null,[Jbt,l("td",null,[l("div",eEt,[P(l("input",{type:"text",id:"lumalabs_key",required:"","onUpdate:modelValue":e[410]||(e[410]=_=>r.configFile.lumalabs_key=_),onChange:e[411]||(e[411]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.lumalabs_key]])])])])])]),_:1}),V(a,{title:"Misc",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[V(a,{title:"Elastic search Service (under construction)",is_subcard:!0,class:"pb-2 m-2"},{default:Me(()=>[l("table",tEt,[l("tr",null,[nEt,l("td",null,[l("div",sEt,[P(l("input",{type:"checkbox",id:"elastic_search_service",required:"","onUpdate:modelValue":e[412]||(e[412]=_=>r.configFile.elastic_search_service=_),onChange:e[413]||(e[413]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[$e,r.configFile.elastic_search_service]])])])]),l("tr",null,[iEt,l("td",null,[l("div",rEt,[l("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[414]||(e[414]=(..._)=>r.reinstallElasticSearchService&&r.reinstallElasticSearchService(..._))},"install ElasticSearch service")])])]),l("tr",null,[oEt,l("td",null,[l("div",aEt,[P(l("input",{type:"text",id:"elastic_search_url",required:"","onUpdate:modelValue":e[415]||(e[415]=_=>r.configFile.elastic_search_url=_),onChange:e[416]||(e[416]=_=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[pe,r.configFile.elastic_search_url]])])])])])]),_:1})]),_:1})],2)]),l("div",lEt,[l("div",cEt,[l("button",{onClick:e[417]||(e[417]=j(_=>i.bzc_collapsed=!i.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[P(l("div",null,uEt,512),[[wt,i.bzc_collapsed]]),P(l("div",null,_Et,512),[[wt,!i.bzc_collapsed]]),hEt,r.configFile.binding_name?G("",!0):(T(),C("div",fEt,[mEt,Je(" No binding selected! ")])),r.configFile.binding_name?(T(),C("div",gEt,"|")):G("",!0),r.configFile.binding_name?(T(),C("div",bEt,[l("div",EEt,[l("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,yEt),l("p",vEt,K(r.binding_name),1)])])):G("",!0)])]),l("div",{class:Be([{hidden:i.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[r.bindingsZoo&&r.bindingsZoo.length>0?(T(),C("div",SEt,[l("label",TEt," Bindings: ("+K(r.bindingsZoo.length)+") ",1),l("div",{class:Be(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.bzl_collapsed?"":"max-h-96"])},[V(di,{name:"list"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(r.bindingsZoo,(_,g)=>(T(),dt(c,{ref_for:!0,ref:"bindingZoo",key:"index-"+g+"-"+_.folder,binding:_,"on-selected":r.onBindingSelected,"on-reinstall":r.onReinstallBinding,"on-unInstall":r.onUnInstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,"on-reload-binding":r.onReloadBinding,selected:_.folder===r.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):G("",!0),i.bzl_collapsed?(T(),C("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[418]||(e[418]=_=>i.bzl_collapsed=!i.bzl_collapsed)},CEt)):(T(),C("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[419]||(e[419]=_=>i.bzl_collapsed=!i.bzl_collapsed)},REt))],2)]),l("div",AEt,[l("div",NEt,[l("button",{onClick:e[420]||(e[420]=j(_=>r.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[P(l("div",null,IEt,512),[[wt,i.mzc_collapsed]]),P(l("div",null,kEt,512),[[wt,!i.mzc_collapsed]]),DEt,l("div",LEt,[r.configFile.binding_name?G("",!0):(T(),C("div",PEt,[FEt,Je(" Select binding first! ")])),!r.configFile.model_name&&r.configFile.binding_name?(T(),C("div",UEt,[BEt,Je(" No model selected! ")])):G("",!0),r.configFile.model_name?(T(),C("div",GEt,"|")):G("",!0),r.configFile.model_name?(T(),C("div",VEt,[l("div",zEt,[l("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,HEt),l("p",qEt,K(r.configFile.model_name),1)])])):G("",!0)])])]),l("div",{class:Be([{hidden:i.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",$Et,[l("div",YEt,[l("div",WEt,[i.searchModelInProgress?(T(),C("div",KEt,QEt)):G("",!0),i.searchModelInProgress?G("",!0):(T(),C("div",XEt,JEt))]),P(l("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[421]||(e[421]=_=>i.searchModel=_),onKeyup:e[422]||(e[422]=Ks((..._)=>r.searchModel_func&&r.searchModel_func(..._),["enter"]))},null,544),[[pe,i.searchModel]]),i.searchModel?(T(),C("button",{key:0,onClick:e[423]||(e[423]=j(_=>i.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")):G("",!0)])]),l("div",null,[P(l("input",{"onUpdate:modelValue":e[424]||(e[424]=_=>i.show_only_installed_models=_),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[$e,i.show_only_installed_models]]),eyt]),l("div",null,[V(d,{radioOptions:i.sortOptions,onRadioSelected:r.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),tyt,i.is_loading_zoo?(T(),C("div",nyt,ryt)):G("",!0),i.models_zoo&&i.models_zoo.length>0?(T(),C("div",oyt,[l("label",ayt," Models: ("+K(i.models_zoo.length)+") ",1),l("div",{class:Be(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark 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",i.mzl_collapsed?"":"max-h-96"])},[V(di,{name:"list"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(r.rendered_models_zoo,(_,g)=>(T(),dt(u,{ref_for:!0,ref:"modelZoo",key:"index-"+g+"-"+_.name,model:_,"is-installed":_.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onModelSelected,selected:_.name===r.configFile.model_name,model_type:_.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128)),l("button",{ref:"load_more_models",class:"relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",onClick:e[425]||(e[425]=(..._)=>r.load_more_models&&r.load_more_models(..._))},"Load more models",512)]),_:1})],2)])):G("",!0),i.mzl_collapsed?(T(),C("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[426]||(e[426]=(..._)=>r.open_mzl&&r.open_mzl(..._))},cyt)):(T(),C("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[427]||(e[427]=(..._)=>r.open_mzl&&r.open_mzl(..._))},uyt)),l("div",pyt,[l("div",_yt,[l("div",null,[l("div",hyt,[fyt,P(l("input",{type:"text","onUpdate:modelValue":e[428]||(e[428]=_=>i.reference_path=_),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 Path ...",required:""},null,512),[[pe,i.reference_path]])]),l("button",{type:"button",onClick:e[429]||(e[429]=j(_=>r.onCreateReference(),["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"},"Add reference")]),i.modelDownlaodInProgress?G("",!0):(T(),C("div",myt,[l("div",gyt,[byt,P(l("input",{type:"text","onUpdate:modelValue":e[430]||(e[430]=_=>i.addModel.url=_),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[pe,i.addModel.url]])]),l("button",{type:"button",onClick:e[431]||(e[431]=j(_=>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")])),i.modelDownlaodInProgress?(T(),C("div",Eyt,[yyt,l("div",vyt,[l("div",Syt,[l("div",Tyt,[xyt,l("span",Cyt,K(Math.floor(i.addModel.progress))+"%",1)]),l("div",{class:"mx-1 opacity-80 line-clamp-1",title:i.addModel.url},K(i.addModel.url),9,wyt),l("div",Ryt,[l("div",{class:"bg-blue-600 h-2.5 rounded-full",style:jt({width:i.addModel.progress+"%"})},null,4)]),l("div",Ayt,[l("span",Nyt,"Download speed: "+K(r.speed_computed)+"/s",1),l("span",Oyt,K(r.downloaded_size_computed)+"/"+K(r.total_size_computed),1)])])]),l("div",Iyt,[l("div",Myt,[l("div",kyt,[l("button",{onClick:e[432]||(e[432]=j((..._)=>r.onCancelInstall&&r.onCancelInstall(..._),["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 ")])])])])):G("",!0)])])],2)]),l("div",Dyt,[l("div",Lyt,[l("button",{onClick:e[435]||(e[435]=j(_=>i.pzc_collapsed=!i.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[P(l("div",null,Fyt,512),[[wt,i.pzc_collapsed]]),P(l("div",null,Byt,512),[[wt,!i.pzc_collapsed]]),Gyt,r.configFile.personalities?(T(),C("div",Vyt,"|")):G("",!0),l("div",zyt,K(r.active_pesonality),1),r.configFile.personalities?(T(),C("div",Hyt,"|")):G("",!0),r.configFile.personalities?(T(),C("div",qyt,[r.mountedPersArr.length>0?(T(),C("div",$yt,[(T(!0),C(Ge,null,Xe(r.mountedPersArr,(_,g)=>(T(),C("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:g+"-"+_.name,ref_for:!0,ref:"mountedPersonalities"},[l("div",Yyt,[l("button",{onClick:j(b=>r.onPersonalitySelected(_),["stop"])},[l("img",{src:i.bUrl+_.avatar,onError:e[433]||(e[433]=(...b)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...b)),class:Be(["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(_.full_path)?"border-secondary":"border-transparent z-0"]),title:_.name},null,42,Kyt)],8,Wyt),l("button",{onClick:j(b=>r.unmountPersonality(_),["stop"])},Xyt,8,jyt)])]))),128))])):G("",!0)])):G("",!0),l("button",{onClick:e[434]||(e[434]=j(_=>r.unmountAll(),["stop"])),class:"bg-bg-light hover:border-green-200 ml-5 dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount All"},Jyt)])]),l("div",{class:Be([{hidden:i.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[l("div",evt,[tvt,l("div",nvt,[l("div",svt,[i.searchPersonalityInProgress?(T(),C("div",ivt,ovt)):G("",!0),i.searchPersonalityInProgress?G("",!0):(T(),C("div",avt,cvt))]),P(l("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[436]||(e[436]=_=>i.searchPersonality=_),onKeyup:e[437]||(e[437]=j((..._)=>r.searchPersonality_func&&r.searchPersonality_func(..._),["stop"]))},null,544),[[pe,i.searchPersonality]]),i.searchPersonality?(T(),C("button",{key:0,onClick:e[438]||(e[438]=j(_=>i.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")):G("",!0)])]),i.searchPersonality?G("",!0):(T(),C("div",dvt,[l("label",uvt," Personalities Category: ("+K(i.persCatgArr.length)+") ",1),l("select",{id:"persCat",onChange:e[439]||(e[439]=_=>r.update_personality_category(_.target.value,r.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(T(!0),C(Ge,null,Xe(i.persCatgArr,(_,g)=>(T(),C("option",{key:g,selected:_==this.configFile.personality_category},K(_),9,pvt))),128))],32)])),l("div",null,[i.personalitiesFiltered.length>0?(T(),C("div",_vt,[l("label",hvt,K(i.searchPersonality?"Search results":"Personalities")+": ("+K(i.personalitiesFiltered.length)+") ",1),l("div",{class:Be(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.pzl_collapsed?"":"max-h-96"])},[V(di,{name:"bounce"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(i.personalitiesFiltered,(_,g)=>(T(),dt(h,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+g+"-"+_.name,personality:_,select_language:!0,full_path:_.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(b=>b===_.full_path||b===_.full_path+":"+_.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-edit":r.editPersonality,"on-copy-to-custom":r.copyToCustom,"on-reinstall":r.onPersonalityReinstall,"on-settings":r.onSettingsPersonality,"on-copy-personality-name":r.onCopyPersonalityName,"on-copy-to_custom":r.onCopyToCustom,"on-open-folder":r.handleOpenFolder},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder"]))),128))]),_:1})],2)])):G("",!0)]),i.pzl_collapsed?(T(),C("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[440]||(e[440]=_=>i.pzl_collapsed=!i.pzl_collapsed)},mvt)):(T(),C("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[441]||(e[441]=_=>i.pzl_collapsed=!i.pzl_collapsed)},bvt))],2)]),l("div",Evt,[l("div",yvt,[l("button",{onClick:e[442]||(e[442]=j(_=>i.mc_collapsed=!i.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[P(l("div",null,Svt,512),[[wt,i.mc_collapsed]]),P(l("div",null,xvt,512),[[wt,!i.mc_collapsed]]),Cvt])]),l("div",{class:Be([{hidden:i.mc_collapsed},"flex flex-col mb-2 p-2"])},[l("div",wvt,[l("div",Rvt,[P(l("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[443]||(e[443]=j(()=>{},["stop"])),"onUpdate:modelValue":e[444]||(e[444]=_=>r.configFile.override_personality_model_parameters=_),onChange:e[445]||(e[445]=_=>r.update_setting("override_personality_model_parameters",r.configFile.override_personality_model_parameters))},null,544),[[$e,r.configFile.override_personality_model_parameters]]),Avt])]),l("div",{class:Be(r.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[l("div",Nvt,[Ovt,P(l("input",{type:"text",id:"seed","onUpdate:modelValue":e[446]||(e[446]=_=>r.configFile.seed=_),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[pe,r.configFile.seed]])]),l("div",Ivt,[l("div",Mvt,[l("div",kvt,[Dvt,l("p",Lvt,[P(l("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[447]||(e[447]=_=>r.configFile.temperature=_),onChange:e[448]||(e[448]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.temperature]])])]),P(l("input",{id:"temperature",onChange:e[449]||(e[449]=_=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[450]||(e[450]=_=>r.configFile.temperature=_),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.temperature]])])]),l("div",Pvt,[l("div",Fvt,[l("div",Uvt,[Bvt,l("p",Gvt,[P(l("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[451]||(e[451]=_=>r.configFile.n_predict=_),onChange:e[452]||(e[452]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.n_predict]])])]),P(l("input",{id:"predict",type:"range",onChange:e[453]||(e[453]=_=>i.settingsChanged=!0),"onUpdate:modelValue":e[454]||(e[454]=_=>r.configFile.n_predict=_),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.n_predict]])])]),l("div",Vvt,[l("div",zvt,[l("div",Hvt,[qvt,l("p",$vt,[P(l("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[455]||(e[455]=_=>r.configFile.top_k=_),onChange:e[456]||(e[456]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.top_k]])])]),P(l("input",{id:"top_k",type:"range",onChange:e[457]||(e[457]=_=>i.settingsChanged=!0),"onUpdate:modelValue":e[458]||(e[458]=_=>r.configFile.top_k=_),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.top_k]])])]),l("div",Yvt,[l("div",Wvt,[l("div",Kvt,[jvt,l("p",Qvt,[P(l("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[459]||(e[459]=_=>r.configFile.top_p=_),onChange:e[460]||(e[460]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.top_p]])])]),P(l("input",{id:"top_p",type:"range","onUpdate:modelValue":e[461]||(e[461]=_=>r.configFile.top_p=_),min:"0",max:"1",step:"0.01",onChange:e[462]||(e[462]=_=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.top_p]])])]),l("div",Xvt,[l("div",Zvt,[l("div",Jvt,[eSt,l("p",tSt,[P(l("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[463]||(e[463]=_=>r.configFile.repeat_penalty=_),onChange:e[464]||(e[464]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.repeat_penalty]])])]),P(l("input",{id:"repeat_penalty",onChange:e[465]||(e[465]=_=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[466]||(e[466]=_=>r.configFile.repeat_penalty=_),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.repeat_penalty]])])]),l("div",nSt,[l("div",sSt,[l("div",iSt,[rSt,l("p",oSt,[P(l("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[467]||(e[467]=_=>r.configFile.repeat_last_n=_),onChange:e[468]||(e[468]=_=>i.settingsChanged=!0),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,544),[[pe,r.configFile.repeat_last_n]])])]),P(l("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[469]||(e[469]=_=>r.configFile.repeat_last_n=_),min:"0",max:"100",step:"1",onChange:e[470]||(e[470]=_=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[pe,r.configFile.repeat_last_n]])])])],2)],2)])],2)]),V(f,{ref:"addmodeldialog"},null,512),V(m,{class:"z-20",show:i.variantSelectionDialogVisible,choices:i.variant_choices,onChoiceSelected:r.onVariantChoiceSelected,onCloseDialog:r.oncloseVariantChoiceDialog,onChoiceValidated:r.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const lSt=ot(Pat,[["render",aSt],["__scopeId","data-v-ebfd9309"]]),cSt={components:{ClipBoardTextInput:FE,Card:_p},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const n={model_name:this.selectedModel,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};re.post("/start_training",n).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(n){const e=n.target.files;e.length>0&&(this.selectedDataset=e[0])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(n){console.log("watching model_name",n),this.$refs.clipboardInput.inputValue=n}}},dSt={key:0,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"},uSt={class:"mb-4"},pSt=l("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),_St=["value"],hSt={class:"mb-4"},fSt=l("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),mSt={class:"mb-4"},gSt=l("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),bSt={class:"mb-4"},ESt=l("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),ySt={class:"mb-4"},vSt=l("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),SSt={class:"mb-4"},TSt=l("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),xSt={class:"mb-4"},CSt=l("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),wSt=l("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1),RSt={key:1};function ASt(n,e,t,s,i,r){const o=tt("Card"),a=tt("ClipBoardTextInput");return r.selectedModel!==null&&r.selectedModel.toLowerCase().includes("gptq")?(T(),C("div",dSt,[l("form",{onSubmit:e[2]||(e[2]=j((...c)=>r.submitForm&&r.submitForm(...c),["prevent"])),class:""},[V(o,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[V(o,{title:"Model",class:"",isHorizontal:!1},{default:Me(()=>[l("div",uSt,[pSt,P(l("select",{"onUpdate:modelValue":e[0]||(e[0]=c=>r.selectedModel=c),onChange:e[1]||(e[1]=(...c)=>n.setModel&&n.setModel(...c)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(T(!0),C(Ge,null,Xe(r.models,c=>(T(),C("option",{key:c,value:c},K(c),9,_St))),128))],544),[[Dt,r.selectedModel]])])]),_:1}),V(o,{title:"Data",isHorizontal:!1},{default:Me(()=>[l("div",hSt,[fSt,V(a,{id:"model_path",inputType:"file",value:i.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),V(o,{title:"Training",isHorizontal:!1},{default:Me(()=>[l("div",mSt,[gSt,V(a,{id:"model_path",inputType:"integer",value:i.lr},null,8,["value"])]),l("div",bSt,[ESt,V(a,{id:"model_path",inputType:"integer",value:i.num_epochs},null,8,["value"])]),l("div",ySt,[vSt,V(a,{id:"model_path",inputType:"integer",value:i.max_length},null,8,["value"])]),l("div",SSt,[TSt,V(a,{id:"model_path",inputType:"integer",value:i.batch_size},null,8,["value"])])]),_:1}),V(o,{title:"Output",isHorizontal:!1},{default:Me(()=>[l("div",xSt,[CSt,V(a,{id:"model_path",inputType:"text",value:n.output_dir},null,8,["value"])])]),_:1})]),_:1}),V(o,{disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[wSt]),_:1})],32)])):(T(),C("div",RSt,[V(o,{title:"Info",class:"",isHorizontal:!1},{default:Me(()=>[Je(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")]),_:1})]))}const NSt=ot(cSt,[["render",ASt]]),OSt={components:{ClipBoardTextInput:FE,Card:_p},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(n){var t;console.log("here");const e=(t=n.target.files[0])==null?void 0:t.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(n){const e=n.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},ISt={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"},MSt={class:"mb-4"},kSt=l("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),DSt={class:"mb-4"},LSt=l("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),PSt=l("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1);function FSt(n,e,t,s,i,r){const o=tt("ClipBoardTextInput"),a=tt("Card");return T(),C("div",ISt,[l("form",{onSubmit:e[0]||(e[0]=j((...c)=>r.submitForm&&r.submitForm(...c),["prevent"])),class:"max-w-md mx-auto"},[V(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[V(a,{title:"Model",class:"",isHorizontal:!1},{default:Me(()=>[l("div",MSt,[kSt,V(o,{id:"model_path",inputType:"text",value:i.model_name},null,8,["value"])]),l("div",DSt,[LSt,V(o,{id:"model_path",inputType:"text",value:i.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),V(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Me(()=>[PSt]),_:1})],32)])}const USt=ot(OSt,[["render",FSt]]),BSt={name:"Discussion",emits:["delete","select","openFolder","editTitle","makeTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,makeTitleMode:!1,deleteMode:!1,openFolder:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{cancel(){this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1},deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},openFolderEvent(){this.$emit("openFolder",{id:this.id})},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},makeTitleEvent(){this.$emit("makeTitle",{id:this.id}),this.showConfirmation=!1},chnageTitle(n){this.newTitle=n},checkedChangeEvent(n,e){this.$emit("checked",n,e)}},mounted(){this.newTitle=this.title,Le(()=>{ze.replace()})},watch:{showConfirmation(){Le(()=>{ze.replace()})},editTitleMode(n){this.showConfirmation=n,this.editTitle=n,n&&Le(()=>{try{this.$refs.titleBox.focus()}catch{}})},deleteMode(n){this.showConfirmation=n,n&&Le(()=>{this.$refs.titleBox.focus()})},makeTitleMode(n){this.showConfirmation=n},checkBoxValue(n,e){this.checkBoxValue_local=n}}},GSt=["id"],VSt={class:"flex flex-row items-center gap-2"},zSt={key:0},HSt={class:"flex flex-row items-center w-full"},qSt=["title"],$St=["value"],YSt={class:"flex items-center flex-1 max-h-6"},WSt={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},KSt=l("i",{"data-feather":"x"},null,-1),jSt=[KSt],QSt=l("i",{"data-feather":"check"},null,-1),XSt=[QSt],ZSt={key:1,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},JSt=l("i",{"data-feather":"folder"},null,-1),e0t=[JSt],t0t=l("i",{"data-feather":"type"},null,-1),n0t=[t0t],s0t=l("i",{"data-feather":"edit-2"},null,-1),i0t=[s0t],r0t=l("i",{"data-feather":"trash"},null,-1),o0t=[r0t];function a0t(n,e,t,s,i,r){return T(),C("div",{class:Be([t.selected?"discussion-hilighted shadow-md min-w-[23rem] max-w-[23rem]":"discussion min-w-[23rem] max-w-[23rem]","m-1 py-2 flex flex-row sm:flex-row flex-wrap flex-shrink: 0 item-center shadow-sm hover:shadow-md rounded-md duration-75 group cursor-pointer"]),id:"dis-"+t.id,onClick:e[13]||(e[13]=j(o=>r.selectEvent(),["stop"]))},[l("div",VSt,[t.isCheckbox?(T(),C("div",zSt,[P(l("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]=j(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=o=>i.checkBoxValue_local=o),onInput:e[2]||(e[2]=o=>r.checkedChangeEvent(o,t.id))},null,544),[[$e,i.checkBoxValue_local]])])):G("",!0),t.selected?(T(),C("div",{key:1,class:Be(["min-h-full w-2 rounded-xl self-stretch",t.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):G("",!0),t.selected?G("",!0):(T(),C("div",{key:2,class:Be(["w-2",t.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),l("div",HSt,[i.editTitle?G("",!0):(T(),C("p",{key:0,title:t.title,class:"line-clamp-1 w-4/6 ml-1 -mx-5"},K(t.title?t.title==="untitled"?"New discussion":t.title:"New discussion"),9,qSt)),i.editTitle?(T(),C("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:t.title,required:"",onKeydown:[e[3]||(e[3]=Ks(j(o=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Ks(j(o=>i.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=o=>r.chnageTitle(o.target.value)),onClick:e[6]||(e[6]=j(()=>{},["stop"]))},null,40,$St)):G("",!0),l("div",YSt,[i.showConfirmation?(T(),C("div",WSt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[7]||(e[7]=j(o=>r.cancel(),["stop"]))},jSt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[8]||(e[8]=j(o=>i.editTitleMode?r.editTitleEvent():i.deleteMode?r.deleteEvent():r.makeTitleEvent(),["stop"]))},XSt)])):G("",!0),i.showConfirmation?G("",!0):(T(),C("div",ZSt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Open folder",type:"button",onClick:e[9]||(e[9]=j(o=>r.openFolderEvent(),["stop"]))},e0t),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Make a title",type:"button",onClick:e[10]||(e[10]=j(o=>i.makeTitleMode=!0,["stop"]))},n0t),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=j(o=>i.editTitleMode=!0,["stop"]))},i0t),l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=j(o=>i.deleteMode=!0,["stop"]))},o0t)]))])])],10,GSt)}const QE=ot(BSt,[["render",a0t]]),l0t={data(){return{show:!1,prompt:"",inputText:""}},methods:{showPanel(){this.show=!0},ok(){this.show=!1,this.$emit("ok",this.inputText)},cancel(){this.show=!1,this.inputText=""}},props:{promptText:{type:String,required:!0}},watch:{promptText(n){this.prompt=n}}},c0t={key:0,class:"fixed top-0 left-0 w-full h-full flex justify-center items-center bg-black bg-opacity-50"},d0t={class:"bg-white p-8 rounded"},u0t={class:"text-xl font-bold mb-4"};function p0t(n,e,t,s,i,r){return T(),C("div",null,[i.show?(T(),C("div",c0t,[l("div",d0t,[l("h2",u0t,K(t.promptText),1),P(l("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=o=>i.inputText=o),class:"border border-gray-300 px-4 py-2 rounded mb-4"},null,512),[[pe,i.inputText]]),l("button",{onClick:e[1]||(e[1]=(...o)=>r.ok&&r.ok(...o)),class:"bg-blue-500 text-white px-4 py-2 rounded mr-2"},"OK"),l("button",{onClick:e[2]||(e[2]=(...o)=>r.cancel&&r.cancel(...o)),class:"bg-gray-500 text-white px-4 py-2 rounded"},"Cancel")])])):G("",!0)])}const BN=ot(l0t,[["render",p0t]]),_0t={data(){return{id:0,loading:!1,isCheckbox:!1,isVisible:!1,categories:[],titles:[],content:"",searchQuery:""}},components:{Discussion:QE,MarkdownRenderer:dp},props:{host:{type:String,required:!1,default:"http://localhost:9600"}},methods:{showSkillsLibrary(){this.isVisible=!0,this.fetchTitles()},closeComponent(){this.isVisible=!1},fetchCategories(){re.post("/get_skills_library_categories",{client_id:this.$store.state.client_id}).then(n=>{this.categories=n.data.categories}).catch(n=>{console.error("Error fetching categories:",n)})},fetchTitles(){console.log("Fetching categories"),re.post("/get_skills_library_titles",{client_id:this.$store.state.client_id}).then(n=>{this.titles=n.data.titles,console.log("titles recovered")}).catch(n=>{console.error("Error fetching titles:",n)})},fetchContent(n){re.post("/get_skills_library_content",{client_id:this.$store.state.client_id,skill_id:n}).then(e=>{const t=e.data.contents[0];this.id=t.id,this.content=t.content}).catch(e=>{console.error("Error fetching content:",e)})},deleteCategory(n){console.log("Delete category")},editCategory(n){console.log("Edit category")},checkUncheckCategory(n){console.log("Unchecked category")},deleteSkill(n){console.log("Delete skill ",n),re.post("/delete_skill",{client_id:this.$store.state.client_id,skill_id:n}).then(()=>{this.fetchTitles()})},editTitle(n){re.post("/edit_skill_title",{client_id:this.$store.state.client_id,skill_id:n,title:n}).then(()=>{this.fetchTitles()}),console.log("Edit title")},makeTitle(n){console.log("Make title")},checkUncheckTitle(n){},searchSkills(){}}},h0t={id:"leftPanel",class:"flex flex-row h-full flex-grow shadow-lg rounded"},f0t={class:"min-w-[23rem] max-w-[23rem] z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md overflow-y-scroll no-scrollbar"},m0t={class:"search p-4"},g0t={classclass:"absolute flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone top-20 left-20 bottom-20 right-20 bg-bg-light shadow-lg rounded"},b0t=l("h2",{class:"text-xl font-bold m-4"},"Titles",-1),E0t={class:"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"},y0t=l("h2",{class:"text-xl font-bold m-4"},"Content",-1);function v0t(n,e,t,s,i,r){const o=tt("Discussion"),a=tt("MarkdownRenderer");return T(),C("div",{class:Be([{hidden:!i.isVisible},"absolute flex flex-col no-scrollbar shadow-lg bg-bg-light dark:bg-bg-dark top-20 left-20 bottom-20 right-20 shadow-lg rounded"])},[l("div",h0t,[l("div",f0t,[l("div",m0t,[P(l("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=c=>i.searchQuery=c),placeholder:"Search skills",class:"border border-gray-300 rounded px-2 py-1 mr-2"},null,512),[[pe,i.searchQuery]]),l("button",{onClick:e[1]||(e[1]=(...c)=>r.searchSkills&&r.searchSkills(...c)),class:"bg-blue-500 text-white rounded px-4 py-1"},"Search")]),l("div",g0t,[b0t,i.titles.length>0?(T(),dt(di,{key:0,name:"list"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(i.titles,c=>(T(),dt(o,{key:c.id,id:c.id,title:c.title,selected:r.fetchContent(c.id),loading:i.loading,isCheckbox:i.isCheckbox,checkBoxValue:!1,onSelect:d=>r.fetchContent(c.id),onDelete:d=>r.deleteSkill(c.id),onEditTitle:r.editTitle,onMakeTitle:r.makeTitle,onChecked:r.checkUncheckTitle},null,8,["id","title","selected","loading","isCheckbox","onSelect","onDelete","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):G("",!0)])]),l("div",E0t,[y0t,V(a,{host:t.host,"markdown-text":i.content,message_id:i.id,discussion_id:i.id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])])]),l("button",{onClick:e[2]||(e[2]=(...c)=>r.closeComponent&&r.closeComponent(...c)),class:"absolute top-2 right-2 bg-red-500 text-white rounded px-2 py-1 hover:bg-red-300"},"Close")],2)}const GN=ot(_0t,[["render",v0t]]),S0t={props:{htmlContent:{type:String,required:!0}}},T0t=["innerHTML"];function x0t(n,e,t,s,i,r){return T(),C("div",{class:"w-full h-full 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",innerHTML:t.htmlContent},null,8,T0t)}const C0t=ot(S0t,[["render",x0t]]);const w0t={name:"JsonTreeView",props:{data:{type:[Object,Array],required:!0},depth:{type:Number,default:0}},data(){return{collapsedKeys:new Set}},methods:{isObject(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)},isArray(n){return Array.isArray(n)},toggleCollapse(n){this.collapsedKeys.has(n)?this.collapsedKeys.delete(n):this.collapsedKeys.add(n)},isCollapsed(n){return this.collapsedKeys.has(n)},getValueType(n){return typeof n=="string"?"string":typeof n=="number"?"number":typeof n=="boolean"?"boolean":n===null?"null":""},formatValue(n){return typeof n=="string"?`"${n}"`:String(n)}}},R0t={class:"json-tree-view"},A0t=["onClick"],N0t={key:0,class:"toggle-icon"},O0t={class:"key"},I0t={key:0,class:"json-nested"};function M0t(n,e,t,s,i,r){const o=tt("json-tree-view",!0);return T(),C("div",R0t,[(T(!0),C(Ge,null,Xe(t.data,(a,c)=>(T(),C("div",{key:c,class:"json-item"},[l("div",{class:"json-key",onClick:d=>r.toggleCollapse(c)},[r.isObject(a)||r.isArray(a)?(T(),C("span",N0t,[l("i",{class:Be(r.isCollapsed(c)?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)])):G("",!0),l("span",O0t,K(c)+":",1),!r.isObject(a)&&!r.isArray(a)?(T(),C("span",{key:1,class:Be(["value",r.getValueType(a)])},K(r.formatValue(a)),3)):G("",!0)],8,A0t),(r.isObject(a)||r.isArray(a))&&!r.isCollapsed(c)?(T(),C("div",I0t,[V(o,{data:a,depth:t.depth+1},null,8,["data","depth"])])):G("",!0)]))),128))])}const k0t=ot(w0t,[["render",M0t],["__scopeId","data-v-40406ec6"]]);const D0t={components:{JsonTreeView:k0t},props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Viewer"}},data(){return{collapsed:!0}},computed:{isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")},parsedJsonData(){if(typeof this.jsonData=="string")try{return JSON.parse(this.jsonData)}catch(n){return console.error("Error parsing JSON string:",n),{error:"Invalid JSON string"}}return this.jsonData}},methods:{toggleCollapsible(){this.collapsed=!this.collapsed}}},L0t={key:0,class:"json-viewer"},P0t={class:"toggle-icon"},F0t={class:"json-content panels-color"};function U0t(n,e,t,s,i,r){const o=tt("json-tree-view");return r.isContentPresent?(T(),C("div",L0t,[l("div",{class:"collapsible-section",onClick:e[0]||(e[0]=(...a)=>r.toggleCollapsible&&r.toggleCollapsible(...a))},[l("span",P0t,[l("i",{class:Be(i.collapsed?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)]),Je(" "+K(t.jsonFormText),1)]),P(l("div",F0t,[V(o,{data:r.parsedJsonData,depth:0},null,8,["data"])],512),[[wt,!i.collapsed]])])):G("",!0)}const B0t=ot(D0t,[["render",U0t],["__scopeId","data-v-83fc9727"]]);const G0t={props:{done:{type:Boolean,default:!1},text:{type:String,default:""},status:{type:Boolean,default:!1},step_type:{type:String,default:"start_end"},description:{type:String,default:""}},mounted(){this.amounted()},methods:{amounted(){console.log("Component mounted with the following properties:"),console.log("done:",this.done),console.log("text:",this.text),console.log("status:",this.status),console.log("step_type:",this.step_type),console.log("description:",this.description)}},watch:{done(n){typeof n!="boolean"&&console.error("Invalid type for done. Expected Boolean.")},status(n){typeof n!="boolean"&&console.error("Invalid type for status. Expected Boolean."),this.done&&!n&&console.error("Task completed with errors.")}}},gp=n=>(Rs("data-v-78f415f6"),n=n(),As(),n),V0t={class:"step-container"},z0t={class:"step-icon"},H0t={key:0},q0t={key:0},$0t=gp(()=>l("i",{"data-feather":"circle",class:"feather-icon text-gray-600 dark:text-gray-300"},null,-1)),Y0t=[$0t],W0t={key:1},K0t=gp(()=>l("i",{"data-feather":"check-circle",class:"feather-icon text-green-600 dark:text-green-400"},null,-1)),j0t=[K0t],Q0t={key:2},X0t=gp(()=>l("i",{"data-feather":"x-circle",class:"feather-icon text-red-600 dark:text-red-400"},null,-1)),Z0t=[X0t],J0t={key:1},eTt=gp(()=>l("div",{class:"spinner"},null,-1)),tTt=[eTt],nTt={class:"step-content"},sTt={key:0,class:"step-description"};function iTt(n,e,t,s,i,r){return T(),C("div",V0t,[l("div",{class:Be(["step-wrapper transition-all duration-300 ease-in-out",{"bg-green-100 dark:bg-green-900":t.done&&t.status,"bg-red-100 dark:bg-red-900":t.done&&!t.status,"bg-gray-100 dark:bg-gray-800":!t.done}])},[l("div",z0t,[t.step_type==="start_end"?(T(),C("div",H0t,[t.done?t.done&&t.status?(T(),C("div",W0t,j0t)):(T(),C("div",Q0t,Z0t)):(T(),C("div",q0t,Y0t))])):G("",!0),t.done?G("",!0):(T(),C("div",J0t,tTt))]),l("div",nTt,[l("h3",{class:Be(["step-text",{"text-green-600 dark:text-green-400":t.done&&t.status,"text-red-600 dark:text-red-400":t.done&&!t.status,"text-gray-800 dark:text-gray-200":!t.done}])},K(t.text||"No text provided"),3),t.description?(T(),C("p",sTt,K(t.description||"No description provided"),1)):G("",!0)])],2)])}const rTt=ot(G0t,[["render",iTt],["__scopeId","data-v-78f415f6"]]),oTt="/assets/process-61f7a21b.svg",aTt="/assets/ok-a0b56451.svg",lTt="/assets/failed-183609e7.svg",VN="/assets/send_globe-305330b9.svg";const cTt="/",dTt={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:dp,Step:rTt,RenderHTMLJS:C0t,JsonViewer:B0t,DynamicUIRenderer:UN,ToolbarButton:UE,DropdownMenu:FN},props:{host:{type:String,required:!1,default:"http://localhost:9600"},message:Object,avatar:{default:""}},data(){return{ui_componentKey:0,isSynthesizingVoice:!1,cpp_block:TN,html5_block:xN,LaTeX_block:CN,json_block:SN,javascript_block:vN,process_svg:oTt,ok_svg:aTt,failed_svg:lTt,loading_svg:RN,sendGlobe:VN,code_block:EN,python_block:yN,bash_block:wN,audio_url:null,audio:null,msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode_:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){if("speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0?this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged):console.log("No voices found")):console.error("Speech synthesis is not supported in this browser."),Le(()=>{ze.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight}),console.log("Checking metadata"),console.log(this.message),Object.prototype.hasOwnProperty.call(this.message,"metadata")&&this.message.metadata!=null){console.log("Metadata found!"),Array.isArray(this.message.metadata)||(this.message.metadata=[]),console.log(typeof this.message.metadata),console.log(this.message.metadata);for(let n of this.message.metadata)Object.prototype.hasOwnProperty.call(n,"audio_url")&&n.audio_url!=null&&(this.audio_url=n.audio_url,console.log("Audio URL:",this.audio_url))}},methods:{computeTimeDiff(n,e){let t=e.getTime()-n.getTime();const s=Math.floor(t/(1e3*60*60));t-=s*(1e3*60*60);const i=Math.floor(t/(1e3*60));t-=i*(1e3*60);const r=Math.floor(t/1e3);return t-=r*1e3,[s,i,r]},insertTab(n){const e=n.target,t=e.selectionStart,s=e.selectionEnd,i=n.shiftKey;if(t===s)if(i){if(e.value.substring(t-4,t)==" "){const r=e.value.substring(0,t-4),o=e.value.substring(s),a=r+o;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t-4})}}else{const r=e.value.substring(0,t),o=e.value.substring(s),a=r+" "+o;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=t+4})}else{const o=e.value.substring(t,s).split(` `).map(u=>u.trim()===""?u:i?u.startsWith(" ")?u.substring(4):u:" "+u),a=e.value.substring(0,t),c=e.value.substring(s),d=a+o.join(` `)+c;this.message.content=d,this.$nextTick(()=>{e.selectionStart=t,e.selectionEnd=s+o.length*4})}n.preventDefault()},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},read(){this.isSynthesizingVoice?(this.isSynthesizingVoice=!1,this.$refs.audio_player.pause()):(this.isSynthesizingVoice=!0,re.post("./text2wav",{text:this.message.content}).then(n=>{this.isSynthesizingVoice=!1;let e=n.data.url;console.log(e),this.audio_url=e,this.message.metadata||(this.message.metadata=[]);let t=!1;for(let s of this.message.metadata)Object.prototype.hasOwnProperty.call(s,"audio_url")&&(s.audio_url=this.audio_url,t=!0);t||this.message.metadata.push({audio_url:this.audio_url}),this.$emit("updateMessage",this.message.id,this.message.content,this.audio_url)}).catch(n=>{this.$store.state.toast.showToast(`Error: ${n}`,4,!1),this.isSynthesizingVoice=!1}))},async speak(){if(this.$store.state.config.active_tts_service!="browser"&&this.$store.state.config.active_tts_service!="None")this.isSpeaking?(this.isSpeaking=!0,re.post("./stop",{text:this.message.content}).then(n=>{this.isSpeaking=!1}).catch(n=>{this.$store.state.toast.showToast(`Error: ${n}`,4,!1),this.isSpeaking=!1})):(this.isSpeaking=!0,re.post("./text2Audio",{client_id:this.$store.state.client_id,text:this.message.content}).then(n=>{this.isSpeaking=!1}).catch(n=>{this.$store.state.toast.showToast(`Error: ${n}`,4,!1),this.isSpeaking=!1}));else{if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let n=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(i=>i.name===this.$store.state.config.audio_out_voice)[0]);const t=i=>{let r=this.message.content.substring(i,i+e);const o=[".","!","?",` `];let a=-1;return o.forEach(c=>{const d=r.lastIndexOf(c);d>a&&(a=d)}),a==-1&&(a=r.length),console.log(a),a+i+1},s=()=>{if(this.message.status_message=="Done"||this.message.content.includes(".")||this.message.content.includes("?")||this.message.content.includes("!")){const i=t(n),r=this.message.content.substring(n,i);this.msg.text=r,n=i+1,this.msg.onend=o=>{n{s()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length," ",i))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{s()},1)};console.log("Speaking chunk"),s()}},toggleModel(){this.expanded=!this.expanded},addBlock(n){let e=this.$refs.mdTextarea.selectionStart,t=this.$refs.mdTextarea.selectionEnd;e==t?speechSynthesis==0||this.message.content[e-1]==` `?(this.message.content=this.message.content.slice(0,e)+"```"+n+"\n\n```\n"+this.message.content.slice(e),e=e+4+n.length):(this.message.content=this.message.content.slice(0,e)+"\n```"+n+"\n\n```\n"+this.message.content.slice(e),e=e+3+n.length):speechSynthesis==0||this.message.content[e-1]==` `?(this.message.content=this.message.content.slice(0,e)+"```"+n+` `+this.message.content.slice(e,t)+"\n```\n"+this.message.content.slice(t),e=e+4+n.length):(this.message.content=this.message.content.slice(0,e)+"\n```"+n+` -`+this.message.content.slice(e,t)+"\n```\n"+this.message.content.slice(t),p=p+3+n.length),this.$refs.mdTextarea.focus(),this.$refs.mdTextarea.selectionStart=this.$refs.mdTextarea.selectionEnd=p},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.audio_url),this.editMsgMode=!1},resendMessage(n){this.$emit("resendMessage",this.message.id,this.message.content,n)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?wTt+this.avatar:(console.log("No avatar found"),$s)},defaultImg(n){n.target.src=$s},parseDate(n){let e=new Date(Date.parse(n)),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":n},prettyDate(n){let e=new Date((n||"").replace(/-/g,"/").replace(/[TZ]/g," ")),t=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(t/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(t<60&&"just now"||t<120&&"1 minute ago"||t<3600&&Math.floor(t/60)+" minutes ago"||t<7200&&"1 hour ago"||t<86400&&Math.floor(t/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{audio_url(n){n&&(this.$refs.audio_player.src=n)},"message.content":function(n){this.$store.state.config.auto_speak&&(this.$store.state.config.xtts_enable&&this.$store.state.config.xtts_use_streaming_mode||this.isSpeaking||this.checkForFullSentence())},"message.ui":function(n){console.log("ui changed to",n),this.ui_componentKey++},showConfirmation(){Le(()=>{ze.replace()})},deleteMsgMode(){Le(()=>{ze.replace()})}},computed:{editMsgMode:{get(){return this.message.hasOwnProperty("open")?this.editMsgMode_||this.message.open:this.editMsgMode_},set(n){this.message.open=n,this.editMsgMode_=n,Le(()=>{ze.replace()})}},isTalking:{get(){return this.isSpeaking}},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 n=new Date(Date.parse(this.message.started_generating_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===n.getTime()||!n.getTime()||!e.getTime())return;let[s,i,r]=this.computeTimeDiff(n,e);function o(c){return c<10&&(c="0"+c),c}return o(s)+"h:"+o(i)+"m:"+o(r)+"s"},warmup_duration(){const n=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.started_generating_at));if(console.log("Computing the warmup duration, ",n," -> ",e),e.getTime()===n.getTime())return 0;if(!n.getTime()||!e.getTime())return;let s,i,r;[s,i,r]=this.computeTimeDiff(n,e);function o(c){return c<10&&(c="0"+c),c}return o(s)+"h:"+o(i)+"m:"+o(r)+"s"},generation_rate(){const n=new Date(Date.parse(this.message.started_generating_at)),e=new Date(Date.parse(this.message.finished_generating_at)),t=this.message.nb_tokens;if(e.getTime()===n.getTime()||!t||!n.getTime()||!e.getTime())return;let i=e.getTime()-n.getTime();const r=Math.floor(i/1e3),o=t/r;return Math.round(o)+" t/s"}}},ATt={class:"relative w-full group rounded-lg m-2 shadow-lg message hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},NTt={class:"flex flex-row gap-2"},OTt={class:"flex-shrink-0"},MTt={class:"group/avatar"},ITt=["src","data-popover-target"],kTt={class:"flex flex-col w-full flex-grow-0"},DTt={class:"flex flex-row flex-grow items-start"},LTt={class:"flex flex-col mb-2"},PTt={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},FTt=["title"],UTt=l("div",{class:"flex-grow"},null,-1),BTt={class:"overflow-x-auto w-full 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"},GTt={class:"flex w-full cursor-pointer rounded-xl border border-gray-200 bg-white shadow-sm dark:border-gray-800 dark:bg-gray-900 mb-3.5 max-w-full"},VTt={class:"grid min-w-80 select-none grid-cols-[50px,1fr] items-center gap-3 p-3 bg-gray-50 dark:bg-gray-800 rounded-lg shadow-sm hover:shadow-md transition-all duration-300"},zTt={class:"relative grid aspect-square place-content-center overflow-hidden rounded-full bg-gradient-to-br from-blue-400 to-purple-500"},HTt={key:0,class:"w-8 h-8 text-white animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},qTt=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),$Tt=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),YTt=[qTt,$Tt],WTt={key:1,class:"w-8 h-8 text-red-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},KTt=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1),jTt=[KTt],QTt={key:2,class:"w-8 h-8 text-green-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},XTt=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"},null,-1),ZTt=[XTt],JTt={class:"leading-5"},ext=l("dd",{class:"text-lg font-semibold text-gray-800 dark:text-gray-200"},"Processing Info",-1),txt={class:"flex items-center gap-1 truncate whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},nxt={class:"content px-5 pb-5 pt-4"},sxt={class:"list-none"},ixt=l("div",{class:"flex flex-col items-start w-full"},null,-1),rxt={class:"flex flex-col items-start w-full 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"},oxt={key:1},axt=["src"],lxt={class:"flex-row justify-end mx-2"},cxt={class:"invisible group-hover:visible flex flex-row"},dxt={key:0},uxt={key:1},pxt={key:2},_xt={key:3},hxt={key:4,class:"flex items-center duration-75"},fxt=l("i",{"data-feather":"x"},null,-1),mxt=[fxt],gxt=l("i",{"data-feather":"check"},null,-1),bxt=[gxt],Ext=l("i",{"data-feather":"trash"},null,-1),yxt=[Ext],vxt=l("i",{"data-feather":"thumbs-up"},null,-1),Sxt=[vxt],Txt={class:"flex flex-row items-center"},xxt=l("i",{"data-feather":"thumbs-down"},null,-1),Cxt=[xxt],wxt={class:"flex flex-row items-center"},Rxt=l("i",{"data-feather":"volume-2"},null,-1),Axt=[Rxt],Nxt={key:6,class:"flex flex-row items-center"},Oxt=l("i",{"data-feather":"voicemail"},null,-1),Mxt=[Oxt],Ixt=["src"],kxt={class:"text-sm text-gray-400 mt-2"},Dxt={class:"flex flex-row items-center gap-2"},Lxt={key:0},Pxt={class:"font-thin"},Fxt={key:1},Uxt={class:"font-thin"},Bxt={key:2},Gxt={class:"font-thin"},Vxt={key:3},zxt=["title"],Hxt={key:4},qxt=["title"],$xt={key:5},Yxt=["title"],Wxt={key:6},Kxt=["title"];function jxt(n,e,t,s,i,r){var _;const o=tt("Step"),a=tt("RenderHTMLJS"),c=tt("MarkdownRenderer"),d=tt("JsonViewer"),u=tt("DynamicUIRenderer"),h=tt("ToolbarButton"),f=tt("DropdownSubmenu"),m=tt("DropdownMenu");return T(),x("div",ATt,[l("div",NTt,[l("div",OTt,[l("div",MTt,[l("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=g=>r.defaultImg(g)),"data-popover-target":"avatar"+t.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,ITt)])]),l("div",kTt,[l("div",DTt,[l("div",LTt,[l("div",PTt,K(t.message.sender)+" ",1),t.message.created_at?(T(),x("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},K(r.created_at),9,FTt)):G("",!0)]),UTt]),l("div",BTt,[P(l("details",GTt,[l("summary",VTt,[l("div",zTt,[t.message.status_message!=="Done"&&t.message.status_message!=="Generation canceled"?(T(),x("svg",HTt,YTt)):G("",!0),t.message.status_message==="Generation canceled"?(T(),x("svg",WTt,jTt)):G("",!0),t.message.status_message==="Done"?(T(),x("svg",QTt,ZTt)):G("",!0)]),l("dl",JTt,[ext,l("dt",txt,[l("span",{class:Ge(["inline-block w-2 h-2 rounded-full",{"bg-blue-500 animate-pulse":t.message.status_message!=="Done"&&t.message.status_message!=="Generation canceled","bg-red-500":t.message.status_message==="Generation canceled","bg-green-500":t.message.status_message==="Done"}])},null,2),Je(" "+K(t.message===void 0?"":t.message.status_message),1)])])]),l("div",nxt,[l("ol",sxt,[(T(!0),x(Fe,null,Ke(t.message.steps,(g,b)=>(T(),x("div",{key:"step-"+t.message.id+"-"+b,class:"group border-l pb-6 last:!border-transparent last:pb-0 dark:border-gray-800",style:Kt({backgroundColor:g.done?"transparent":"inherit"})},[V(o,{done:g.done,text:g.text,status:g.status,step_type:g.step_type},null,8,["done","text","status","step_type"])],4))),128))])])],512),[[wt,t.message!=null&&t.message.steps!=null&&t.message.steps.length>0]]),ixt,l("div",rxt,[(T(!0),x(Fe,null,Ke(t.message.html_js_s,(g,b)=>(T(),x("div",{key:"htmljs-"+t.message.id+"-"+b,class:"htmljs font-bold",style:Kt({backgroundColor:n.step.done?"transparent":"inherit"})},[V(a,{htmlContent:g},null,8,["htmlContent"])],4))),128))]),r.editMsgMode?G("",!0):(T(),dt(c,{key:0,ref:"mdRender",host:t.host,"markdown-text":t.message.content,message_id:t.message.id,discussion_id:t.message.discussion_id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])),l("div",null,[t.message.open?P((T(),x("textarea",{key:0,ref:"mdTextarea",onKeydown:e[1]||(e[1]=Ks(j((...g)=>r.insertTab&&r.insertTab(...g),["prevent"]),["tab"])),class:"block min-h-[500px] p-2.5 w-full 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 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll dark:bg-bg-dark 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",rows:4,placeholder:"Enter message here...","onUpdate:modelValue":e[2]||(e[2]=g=>t.message.content=g)},`\r - `,544)),[[pe,t.message.content]]):G("",!0)]),t.message.metadata!==null?(T(),x("div",oxt,[(T(!0),x(Fe,null,Ke(((_=t.message.metadata)==null?void 0:_.filter(g=>g!=null&&g.hasOwnProperty("title")&&g.hasOwnProperty("content")))||[],(g,b)=>(T(),x("div",{key:"json-"+t.message.id+"-"+b,class:"json font-bold"},[(T(),dt(d,{jsonFormText:g.title,jsonData:g.content,key:"msgjson-"+t.message.id},null,8,["jsonFormText","jsonData"]))]))),128))])):G("",!0),t.message.ui?(T(),dt(u,{ref:"ui",class:"w-full",ui:t.message.ui,key:"msgui-"+t.message.id},null,8,["ui"])):G("",!0),i.audio_url!=null?(T(),x("audio",{controls:"",key:i.audio_url},[l("source",{src:i.audio_url,type:"audio/wav",ref:"audio_player"},null,8,axt),Je(" Your browser does not support the audio element. ")])):G("",!0)]),l("div",lxt,[l("div",cxt,[r.editMsgMode?(T(),x("div",dxt,[V(h,{onClick:e[3]||(e[3]=j(g=>r.editMsgMode=!1,["stop"])),title:"Cancel edit",icon:"x"}),V(h,{onClick:j(r.updateMessage,["stop"]),title:"Update message",icon:"check"},null,8,["onClick"]),V(m,{title:"Add Block"},{default:Ie(()=>[V(f,{title:"Programming Languages",icon:"code"},{default:Ie(()=>[V(h,{onClick:e[4]||(e[4]=j(g=>r.addBlock("python"),["stop"])),title:"Python",icon:"python"}),V(h,{onClick:e[5]||(e[5]=j(g=>r.addBlock("javascript"),["stop"])),title:"JavaScript",icon:"js"}),V(h,{onClick:e[6]||(e[6]=j(g=>r.addBlock("typescript"),["stop"])),title:"TypeScript",icon:"typescript"}),V(h,{onClick:e[7]||(e[7]=j(g=>r.addBlock("java"),["stop"])),title:"Java",icon:"java"}),V(h,{onClick:e[8]||(e[8]=j(g=>r.addBlock("c++"),["stop"])),title:"C++",icon:"cplusplus"}),V(h,{onClick:e[9]||(e[9]=j(g=>r.addBlock("csharp"),["stop"])),title:"C#",icon:"csharp"}),V(h,{onClick:e[10]||(e[10]=j(g=>r.addBlock("go"),["stop"])),title:"Go",icon:"go"}),V(h,{onClick:e[11]||(e[11]=j(g=>r.addBlock("rust"),["stop"])),title:"Rust",icon:"rust"}),V(h,{onClick:e[12]||(e[12]=j(g=>r.addBlock("swift"),["stop"])),title:"Swift",icon:"swift"}),V(h,{onClick:e[13]||(e[13]=j(g=>r.addBlock("kotlin"),["stop"])),title:"Kotlin",icon:"kotlin"}),V(h,{onClick:e[14]||(e[14]=j(g=>r.addBlock("r"),["stop"])),title:"R",icon:"r-project"})]),_:1}),V(f,{title:"Web Technologies",icon:"web"},{default:Ie(()=>[V(h,{onClick:e[15]||(e[15]=j(g=>r.addBlock("html"),["stop"])),title:"HTML",icon:"html5"}),V(h,{onClick:e[16]||(e[16]=j(g=>r.addBlock("css"),["stop"])),title:"CSS",icon:"css3"}),V(h,{onClick:e[17]||(e[17]=j(g=>r.addBlock("vue"),["stop"])),title:"Vue.js",icon:"vuejs"}),V(h,{onClick:e[18]||(e[18]=j(g=>r.addBlock("react"),["stop"])),title:"React",icon:"react"}),V(h,{onClick:e[19]||(e[19]=j(g=>r.addBlock("angular"),["stop"])),title:"Angular",icon:"angular"})]),_:1}),V(f,{title:"Markup and Data",icon:"file-code"},{default:Ie(()=>[V(h,{onClick:e[20]||(e[20]=j(g=>r.addBlock("xml"),["stop"])),title:"XML",icon:"xml"}),V(h,{onClick:e[21]||(e[21]=j(g=>r.addBlock("json"),["stop"])),title:"JSON",icon:"json"}),V(h,{onClick:e[22]||(e[22]=j(g=>r.addBlock("yaml"),["stop"])),title:"YAML",icon:"yaml"}),V(h,{onClick:e[23]||(e[23]=j(g=>r.addBlock("markdown"),["stop"])),title:"Markdown",icon:"markdown"}),V(h,{onClick:e[24]||(e[24]=j(g=>r.addBlock("latex"),["stop"])),title:"LaTeX",icon:"latex"})]),_:1}),V(f,{title:"Scripting and Shell",icon:"terminal"},{default:Ie(()=>[V(h,{onClick:e[25]||(e[25]=j(g=>r.addBlock("bash"),["stop"])),title:"Bash",icon:"bash"}),V(h,{onClick:e[26]||(e[26]=j(g=>r.addBlock("powershell"),["stop"])),title:"PowerShell",icon:"powershell"}),V(h,{onClick:e[27]||(e[27]=j(g=>r.addBlock("perl"),["stop"])),title:"Perl",icon:"perl"})]),_:1}),V(f,{title:"Diagramming",icon:"sitemap"},{default:Ie(()=>[V(h,{onClick:e[28]||(e[28]=j(g=>r.addBlock("mermaid"),["stop"])),title:"Mermaid",icon:"mermaid"}),V(h,{onClick:e[29]||(e[29]=j(g=>r.addBlock("graphviz"),["stop"])),title:"Graphviz",icon:"graphviz"}),V(h,{onClick:e[30]||(e[30]=j(g=>r.addBlock("plantuml"),["stop"])),title:"PlantUML",icon:"plantuml"})]),_:1}),V(f,{title:"Database",icon:"database"},{default:Ie(()=>[V(h,{onClick:e[31]||(e[31]=j(g=>r.addBlock("sql"),["stop"])),title:"SQL",icon:"sql"}),V(h,{onClick:e[32]||(e[32]=j(g=>r.addBlock("mongodb"),["stop"])),title:"MongoDB",icon:"mongodb"})]),_:1}),V(h,{onClick:e[33]||(e[33]=j(g=>r.addBlock(""),["stop"])),title:"Generic Block",icon:"code"})]),_:1})])):(T(),x("div",uxt,[V(h,{onClick:e[34]||(e[34]=j(g=>r.editMsgMode=!0,["stop"])),title:"Edit message",icon:"edit"})])),V(h,{onClick:r.copyContentToClipboard,title:"Copy message to clipboard",icon:"copy"},null,8,["onClick"]),!r.editMsgMode&&t.message.sender!==n.$store.state.mountedPers.name?(T(),x("div",pxt,[V(h,{onClick:e[35]||(e[35]=j(g=>r.resendMessage("full_context"),["stop"])),title:"Resend message with full context",icon:"send"}),V(h,{onClick:e[36]||(e[36]=j(g=>r.resendMessage("full_context_with_internet"),["stop"])),title:"Resend message with internet search",icon:"globe"}),V(h,{onClick:e[37]||(e[37]=j(g=>r.resendMessage("simple_question"),["stop"])),title:"Resend message without context",icon:"sendSimple"})])):G("",!0),!r.editMsgMode&&t.message.sender===n.$store.state.mountedPers.name?(T(),x("div",_xt,[V(h,{onClick:r.continueMessage,title:"Continue message",icon:"fastForward"},null,8,["onClick"])])):G("",!0),i.deleteMsgMode?(T(),x("div",hxt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Cancel removal",type:"button",onClick:e[38]||(e[38]=j(g=>i.deleteMsgMode=!1,["stop"]))},mxt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:"Confirm removal",type:"button",onClick:e[39]||(e[39]=j(g=>r.deleteMsg(),["stop"]))},bxt)])):G("",!0),!r.editMsgMode&&!i.deleteMsgMode?(T(),x("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Remove message",onClick:e[40]||(e[40]=g=>i.deleteMsgMode=!0)},yxt)):G("",!0),l("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:"Upvote",onClick:e[41]||(e[41]=j(g=>r.rankUp(),["stop"]))},Sxt),l("div",Txt,[l("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Downvote",onClick:e[42]||(e[42]=j(g=>r.rankDown(),["stop"]))},Cxt),t.message.rank!=0?(T(),x("div",{key:0,class:Ge(["rounded-full px-2 text-sm flex items-center justify-center font-bold cursor-pointer",t.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},K(t.message.rank),3)):G("",!0)]),l("div",wxt,[this.$store.state.config.active_tts_service!="None"?(T(),x("div",{key:0,class:Ge(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[43]||(e[43]=j(g=>r.speak(),["stop"]))},Axt,2)):G("",!0)]),this.$store.state.config.xtts_enable&&!this.$store.state.config.xtts_use_streaming_mode?(T(),x("div",Nxt,[i.isSynthesizingVoice?(T(),x("img",{key:1,src:i.loading_svg},null,8,Ixt)):(T(),x("div",{key:0,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"generate_audio",onClick:e[44]||(e[44]=j(g=>r.read(),["stop"]))},Mxt))])):G("",!0)])]),l("div",kxt,[l("div",Dxt,[t.message.binding?(T(),x("p",Lxt,[Je("Binding: "),l("span",Pxt,K(t.message.binding),1)])):G("",!0),t.message.model?(T(),x("p",Fxt,[Je("Model: "),l("span",Uxt,K(t.message.model),1)])):G("",!0),t.message.seed?(T(),x("p",Bxt,[Je("Seed: "),l("span",Gxt,K(t.message.seed),1)])):G("",!0),t.message.nb_tokens?(T(),x("p",Vxt,[Je("Number of tokens: "),l("span",{class:"font-thin",title:"Number of Tokens: "+t.message.nb_tokens},K(t.message.nb_tokens),9,zxt)])):G("",!0),r.warmup_duration?(T(),x("p",Hxt,[Je("Warmup duration: "),l("span",{class:"font-thin",title:"Warmup duration: "+r.warmup_duration},K(r.warmup_duration),9,qxt)])):G("",!0),r.time_spent?(T(),x("p",$xt,[Je("Generation duration: "),l("span",{class:"font-thin",title:"Finished generating: "+r.time_spent},K(r.time_spent),9,Yxt)])):G("",!0),r.generation_rate?(T(),x("p",Wxt,[Je("Rate: "),l("span",{class:"font-thin",title:"Generation rate: "+r.generation_rate},K(r.generation_rate),9,Kxt)])):G("",!0)])])])])])}const zN=ot(RTt,[["render",jxt]]),Qxt="/";re.defaults.baseURL="/";const Xxt={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{Toast:dc,UniversalForm:hc},data(){return{bUrl:Qxt,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(n){this.$store.commit("setConfig",n)}},mountedPers:{get(){return this.$store.state.mountedPers},set(n){this.$store.commit("setMountedPers",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{async handleOnTalk(){const n=this.mountedPers;console.log("pers:",n),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating);let e=await re.get("/get_generation_status",{});if(e)if(e.data.status)console.log("Already generating");else{const t=this.$store.state.config.personalities.findIndex(i=>i===n.full_path),s={client_id:this.$store.state.client_id,id:t};e=await re.post("/select_personality",s),console.log("Generating message from ",e.data.status),qe.emit("generate_msg_from",{id:-1})}},async remount_personality(){const n=this.mountedPers;if(console.log("Remounting personality ",n),!n)return{status:!1,error:"no personality - mount_personality"};try{console.log("before");const e={client_id:this.$store.state.client_id,category:n.category,folder:n.folder,language:n.language};console.log("after");const t=await re.post("/remount_personality",e);if(console.log("Remounting personality executed:",t),t)return console.log("Remounting personality res"),this.$store.state.toast.showToast("Personality remounted",4,!0),t.data;console.log("failed remount_personality")}catch(e){console.log(e.message,"remount_personality - settings");return}},onSettingsPersonality(n){try{re.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 - "+n.name,"Save changes","Cancel").then(t=>{try{re.post("/set_active_personality_settings",t).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. +`+this.message.content.slice(e,t)+"\n```\n"+this.message.content.slice(t),p=p+3+n.length),this.$refs.mdTextarea.focus(),this.$refs.mdTextarea.selectionStart=this.$refs.mdTextarea.selectionEnd=p},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.audio_url),this.editMsgMode=!1},resendMessage(n){this.$emit("resendMessage",this.message.id,this.message.content,n)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?cTt+this.avatar:(console.log("No avatar found"),$s)},defaultImg(n){n.target.src=$s},parseDate(n){let e=new Date(Date.parse(n)),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":n},prettyDate(n){let e=new Date((n||"").replace(/-/g,"/").replace(/[TZ]/g," ")),t=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(t/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(t<60&&"just now"||t<120&&"1 minute ago"||t<3600&&Math.floor(t/60)+" minutes ago"||t<7200&&"1 hour ago"||t<86400&&Math.floor(t/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{audio_url(n){n&&(this.$refs.audio_player.src=n)},"message.content":function(n){this.$store.state.config.auto_speak&&(this.$store.state.config.xtts_enable&&this.$store.state.config.xtts_use_streaming_mode||this.isSpeaking||this.checkForFullSentence())},"message.ui":function(n){console.log("ui changed to",n),this.ui_componentKey++},showConfirmation(){Le(()=>{ze.replace()})},deleteMsgMode(){Le(()=>{ze.replace()})}},computed:{editMsgMode:{get(){return this.message.hasOwnProperty("open")?this.editMsgMode_||this.message.open:this.editMsgMode_},set(n){this.message.open=n,this.editMsgMode_=n,Le(()=>{ze.replace()})}},isTalking:{get(){return this.isSpeaking}},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 n=new Date(Date.parse(this.message.started_generating_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===n.getTime()||!n.getTime()||!e.getTime())return;let[s,i,r]=this.computeTimeDiff(n,e);function o(c){return c<10&&(c="0"+c),c}return o(s)+"h:"+o(i)+"m:"+o(r)+"s"},warmup_duration(){const n=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.started_generating_at));if(console.log("Computing the warmup duration, ",n," -> ",e),e.getTime()===n.getTime())return 0;if(!n.getTime()||!e.getTime())return;let s,i,r;[s,i,r]=this.computeTimeDiff(n,e);function o(c){return c<10&&(c="0"+c),c}return o(s)+"h:"+o(i)+"m:"+o(r)+"s"},generation_rate(){const n=new Date(Date.parse(this.message.started_generating_at)),e=new Date(Date.parse(this.message.finished_generating_at)),t=this.message.nb_tokens;if(e.getTime()===n.getTime()||!t||!n.getTime()||!e.getTime())return;let i=e.getTime()-n.getTime();const r=Math.floor(i/1e3),o=t/r;return Math.round(o)+" t/s"}}},uTt={class:"relative w-full group rounded-lg m-2 shadow-lg message hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},pTt={class:"flex flex-row gap-2"},_Tt={class:"flex-shrink-0"},hTt={class:"group/avatar"},fTt=["src","data-popover-target"],mTt={class:"flex flex-col w-full flex-grow-0"},gTt={class:"flex flex-row flex-grow items-start"},bTt={class:"flex flex-col mb-2"},ETt={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},yTt=["title"],vTt=l("div",{class:"flex-grow"},null,-1),STt={class:"overflow-x-auto w-full 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"},TTt={class:"flex w-full cursor-pointer rounded-xl border border-gray-200 bg-white shadow-sm dark:border-gray-800 dark:bg-gray-900 mb-3.5 max-w-full"},xTt={class:"grid min-w-80 select-none grid-cols-[50px,1fr] items-center gap-3 p-3 bg-gray-50 dark:bg-gray-800 rounded-lg shadow-sm hover:shadow-md transition-all duration-300"},CTt={class:"relative grid aspect-square place-content-center overflow-hidden rounded-full bg-gradient-to-br from-blue-400 to-purple-500"},wTt={key:0,class:"w-8 h-8 text-white animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},RTt=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),ATt=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),NTt=[RTt,ATt],OTt={key:1,class:"w-8 h-8 text-red-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},ITt=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1),MTt=[ITt],kTt={key:2,class:"w-8 h-8 text-green-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},DTt=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"},null,-1),LTt=[DTt],PTt={class:"leading-5"},FTt=l("dd",{class:"text-lg font-semibold text-gray-800 dark:text-gray-200"},"Processing Info",-1),UTt={class:"flex items-center gap-1 truncate whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},BTt={class:"content px-5 pb-5 pt-4"},GTt={class:"list-none"},VTt=l("div",{class:"flex flex-col items-start w-full"},null,-1),zTt={class:"flex flex-col items-start w-full 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"},HTt={key:1},qTt=["src"],$Tt={class:"flex-row justify-end mx-2"},YTt={class:"invisible group-hover:visible flex flex-row"},WTt={key:0},KTt={key:1},jTt={key:2},QTt={key:3},XTt={key:4,class:"flex items-center duration-75"},ZTt=l("i",{"data-feather":"x"},null,-1),JTt=[ZTt],ext=l("i",{"data-feather":"check"},null,-1),txt=[ext],nxt=l("i",{"data-feather":"trash"},null,-1),sxt=[nxt],ixt=l("i",{"data-feather":"thumbs-up"},null,-1),rxt=[ixt],oxt={class:"flex flex-row items-center"},axt=l("i",{"data-feather":"thumbs-down"},null,-1),lxt=[axt],cxt={class:"flex flex-row items-center"},dxt=l("i",{"data-feather":"volume-2"},null,-1),uxt=[dxt],pxt={key:6,class:"flex flex-row items-center"},_xt=l("i",{"data-feather":"voicemail"},null,-1),hxt=[_xt],fxt=["src"],mxt={class:"text-sm text-gray-400 mt-2"},gxt={class:"flex flex-row items-center gap-2"},bxt={key:0},Ext={class:"font-thin"},yxt={key:1},vxt={class:"font-thin"},Sxt={key:2},Txt={class:"font-thin"},xxt={key:3},Cxt=["title"],wxt={key:4},Rxt=["title"],Axt={key:5},Nxt=["title"],Oxt={key:6},Ixt=["title"];function Mxt(n,e,t,s,i,r){var _;const o=tt("Step"),a=tt("RenderHTMLJS"),c=tt("MarkdownRenderer"),d=tt("JsonViewer"),u=tt("DynamicUIRenderer"),h=tt("ToolbarButton"),f=tt("DropdownSubmenu"),m=tt("DropdownMenu");return T(),C("div",uTt,[l("div",pTt,[l("div",_Tt,[l("div",hTt,[l("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=g=>r.defaultImg(g)),"data-popover-target":"avatar"+t.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,fTt)])]),l("div",mTt,[l("div",gTt,[l("div",bTt,[l("div",ETt,K(t.message.sender)+" ",1),t.message.created_at?(T(),C("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},K(r.created_at),9,yTt)):G("",!0)]),vTt]),l("div",STt,[P(l("details",TTt,[l("summary",xTt,[l("div",CTt,[t.message.status_message!=="Done"&&t.message.status_message!=="Generation canceled"?(T(),C("svg",wTt,NTt)):G("",!0),t.message.status_message==="Generation canceled"?(T(),C("svg",OTt,MTt)):G("",!0),t.message.status_message==="Done"?(T(),C("svg",kTt,LTt)):G("",!0)]),l("dl",PTt,[FTt,l("dt",UTt,[l("span",{class:Be(["inline-block w-2 h-2 rounded-full",{"bg-blue-500 animate-pulse":t.message.status_message!=="Done"&&t.message.status_message!=="Generation canceled","bg-red-500":t.message.status_message==="Generation canceled","bg-green-500":t.message.status_message==="Done"}])},null,2),Je(" "+K(t.message===void 0?"":t.message.status_message),1)])])]),l("div",BTt,[l("ol",GTt,[(T(!0),C(Ge,null,Xe(t.message.steps,(g,b)=>(T(),C("div",{key:"step-"+t.message.id+"-"+b,class:"group border-l pb-6 last:!border-transparent last:pb-0 dark:border-gray-800",style:jt({backgroundColor:g.done?"transparent":"inherit"})},[V(o,{done:g.done,text:g.text,status:g.status,step_type:g.step_type},null,8,["done","text","status","step_type"])],4))),128))])])],512),[[wt,t.message!=null&&t.message.steps!=null&&t.message.steps.length>0]]),VTt,l("div",zTt,[(T(!0),C(Ge,null,Xe(t.message.html_js_s,(g,b)=>(T(),C("div",{key:"htmljs-"+t.message.id+"-"+b,class:"htmljs font-bold",style:jt({backgroundColor:n.step.done?"transparent":"inherit"})},[V(a,{htmlContent:g},null,8,["htmlContent"])],4))),128))]),r.editMsgMode?G("",!0):(T(),dt(c,{key:0,ref:"mdRender",host:t.host,"markdown-text":t.message.content,message_id:t.message.id,discussion_id:t.message.discussion_id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])),l("div",null,[t.message.open?P((T(),C("textarea",{key:0,ref:"mdTextarea",onKeydown:e[1]||(e[1]=Ks(j((...g)=>r.insertTab&&r.insertTab(...g),["prevent"]),["tab"])),class:"block min-h-[500px] p-2.5 w-full 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 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll dark:bg-bg-dark 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",rows:4,placeholder:"Enter message here...","onUpdate:modelValue":e[2]||(e[2]=g=>t.message.content=g)},`\r + `,544)),[[pe,t.message.content]]):G("",!0)]),t.message.metadata!==null?(T(),C("div",HTt,[(T(!0),C(Ge,null,Xe(((_=t.message.metadata)==null?void 0:_.filter(g=>g!=null&&g.hasOwnProperty("title")&&g.hasOwnProperty("content")))||[],(g,b)=>(T(),C("div",{key:"json-"+t.message.id+"-"+b,class:"json font-bold"},[(T(),dt(d,{jsonFormText:g.title,jsonData:g.content,key:"msgjson-"+t.message.id},null,8,["jsonFormText","jsonData"]))]))),128))])):G("",!0),t.message.ui?(T(),dt(u,{ref:"ui",class:"w-full",ui:t.message.ui,key:"msgui-"+t.message.id},null,8,["ui"])):G("",!0),i.audio_url!=null?(T(),C("audio",{controls:"",key:i.audio_url},[l("source",{src:i.audio_url,type:"audio/wav",ref:"audio_player"},null,8,qTt),Je(" Your browser does not support the audio element. ")])):G("",!0)]),l("div",$Tt,[l("div",YTt,[r.editMsgMode?(T(),C("div",WTt,[V(h,{onClick:e[3]||(e[3]=j(g=>r.editMsgMode=!1,["stop"])),title:"Cancel edit",icon:"x"}),V(h,{onClick:j(r.updateMessage,["stop"]),title:"Update message",icon:"check"},null,8,["onClick"]),V(m,{title:"Add Block"},{default:Me(()=>[V(f,{title:"Programming Languages",icon:"code"},{default:Me(()=>[V(h,{onClick:e[4]||(e[4]=j(g=>r.addBlock("python"),["stop"])),title:"Python",icon:"python"}),V(h,{onClick:e[5]||(e[5]=j(g=>r.addBlock("javascript"),["stop"])),title:"JavaScript",icon:"js"}),V(h,{onClick:e[6]||(e[6]=j(g=>r.addBlock("typescript"),["stop"])),title:"TypeScript",icon:"typescript"}),V(h,{onClick:e[7]||(e[7]=j(g=>r.addBlock("java"),["stop"])),title:"Java",icon:"java"}),V(h,{onClick:e[8]||(e[8]=j(g=>r.addBlock("c++"),["stop"])),title:"C++",icon:"cplusplus"}),V(h,{onClick:e[9]||(e[9]=j(g=>r.addBlock("csharp"),["stop"])),title:"C#",icon:"csharp"}),V(h,{onClick:e[10]||(e[10]=j(g=>r.addBlock("go"),["stop"])),title:"Go",icon:"go"}),V(h,{onClick:e[11]||(e[11]=j(g=>r.addBlock("rust"),["stop"])),title:"Rust",icon:"rust"}),V(h,{onClick:e[12]||(e[12]=j(g=>r.addBlock("swift"),["stop"])),title:"Swift",icon:"swift"}),V(h,{onClick:e[13]||(e[13]=j(g=>r.addBlock("kotlin"),["stop"])),title:"Kotlin",icon:"kotlin"}),V(h,{onClick:e[14]||(e[14]=j(g=>r.addBlock("r"),["stop"])),title:"R",icon:"r-project"})]),_:1}),V(f,{title:"Web Technologies",icon:"web"},{default:Me(()=>[V(h,{onClick:e[15]||(e[15]=j(g=>r.addBlock("html"),["stop"])),title:"HTML",icon:"html5"}),V(h,{onClick:e[16]||(e[16]=j(g=>r.addBlock("css"),["stop"])),title:"CSS",icon:"css3"}),V(h,{onClick:e[17]||(e[17]=j(g=>r.addBlock("vue"),["stop"])),title:"Vue.js",icon:"vuejs"}),V(h,{onClick:e[18]||(e[18]=j(g=>r.addBlock("react"),["stop"])),title:"React",icon:"react"}),V(h,{onClick:e[19]||(e[19]=j(g=>r.addBlock("angular"),["stop"])),title:"Angular",icon:"angular"})]),_:1}),V(f,{title:"Markup and Data",icon:"file-code"},{default:Me(()=>[V(h,{onClick:e[20]||(e[20]=j(g=>r.addBlock("xml"),["stop"])),title:"XML",icon:"xml"}),V(h,{onClick:e[21]||(e[21]=j(g=>r.addBlock("json"),["stop"])),title:"JSON",icon:"json"}),V(h,{onClick:e[22]||(e[22]=j(g=>r.addBlock("yaml"),["stop"])),title:"YAML",icon:"yaml"}),V(h,{onClick:e[23]||(e[23]=j(g=>r.addBlock("markdown"),["stop"])),title:"Markdown",icon:"markdown"}),V(h,{onClick:e[24]||(e[24]=j(g=>r.addBlock("latex"),["stop"])),title:"LaTeX",icon:"latex"})]),_:1}),V(f,{title:"Scripting and Shell",icon:"terminal"},{default:Me(()=>[V(h,{onClick:e[25]||(e[25]=j(g=>r.addBlock("bash"),["stop"])),title:"Bash",icon:"bash"}),V(h,{onClick:e[26]||(e[26]=j(g=>r.addBlock("powershell"),["stop"])),title:"PowerShell",icon:"powershell"}),V(h,{onClick:e[27]||(e[27]=j(g=>r.addBlock("perl"),["stop"])),title:"Perl",icon:"perl"})]),_:1}),V(f,{title:"Diagramming",icon:"sitemap"},{default:Me(()=>[V(h,{onClick:e[28]||(e[28]=j(g=>r.addBlock("mermaid"),["stop"])),title:"Mermaid",icon:"mermaid"}),V(h,{onClick:e[29]||(e[29]=j(g=>r.addBlock("graphviz"),["stop"])),title:"Graphviz",icon:"graphviz"}),V(h,{onClick:e[30]||(e[30]=j(g=>r.addBlock("plantuml"),["stop"])),title:"PlantUML",icon:"plantuml"})]),_:1}),V(f,{title:"Database",icon:"database"},{default:Me(()=>[V(h,{onClick:e[31]||(e[31]=j(g=>r.addBlock("sql"),["stop"])),title:"SQL",icon:"sql"}),V(h,{onClick:e[32]||(e[32]=j(g=>r.addBlock("mongodb"),["stop"])),title:"MongoDB",icon:"mongodb"})]),_:1}),V(h,{onClick:e[33]||(e[33]=j(g=>r.addBlock(""),["stop"])),title:"Generic Block",icon:"code"})]),_:1})])):(T(),C("div",KTt,[V(h,{onClick:e[34]||(e[34]=j(g=>r.editMsgMode=!0,["stop"])),title:"Edit message",icon:"edit"})])),V(h,{onClick:r.copyContentToClipboard,title:"Copy message to clipboard",icon:"copy"},null,8,["onClick"]),!r.editMsgMode&&t.message.sender!==n.$store.state.mountedPers.name?(T(),C("div",jTt,[V(h,{onClick:e[35]||(e[35]=j(g=>r.resendMessage("full_context"),["stop"])),title:"Resend message with full context",icon:"send"}),V(h,{onClick:e[36]||(e[36]=j(g=>r.resendMessage("full_context_with_internet"),["stop"])),title:"Resend message with internet search",icon:"globe"}),V(h,{onClick:e[37]||(e[37]=j(g=>r.resendMessage("simple_question"),["stop"])),title:"Resend message without context",icon:"sendSimple"})])):G("",!0),!r.editMsgMode&&t.message.sender===n.$store.state.mountedPers.name?(T(),C("div",QTt,[V(h,{onClick:r.continueMessage,title:"Continue message",icon:"fastForward"},null,8,["onClick"])])):G("",!0),i.deleteMsgMode?(T(),C("div",XTt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Cancel removal",type:"button",onClick:e[38]||(e[38]=j(g=>i.deleteMsgMode=!1,["stop"]))},JTt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:"Confirm removal",type:"button",onClick:e[39]||(e[39]=j(g=>r.deleteMsg(),["stop"]))},txt)])):G("",!0),!r.editMsgMode&&!i.deleteMsgMode?(T(),C("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Remove message",onClick:e[40]||(e[40]=g=>i.deleteMsgMode=!0)},sxt)):G("",!0),l("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:"Upvote",onClick:e[41]||(e[41]=j(g=>r.rankUp(),["stop"]))},rxt),l("div",oxt,[l("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Downvote",onClick:e[42]||(e[42]=j(g=>r.rankDown(),["stop"]))},lxt),t.message.rank!=0?(T(),C("div",{key:0,class:Be(["rounded-full px-2 text-sm flex items-center justify-center font-bold cursor-pointer",t.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},K(t.message.rank),3)):G("",!0)]),l("div",cxt,[this.$store.state.config.active_tts_service!="None"?(T(),C("div",{key:0,class:Be(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",{"text-red-500":r.isTalking}]),title:"speak",onClick:e[43]||(e[43]=j(g=>r.speak(),["stop"]))},uxt,2)):G("",!0)]),this.$store.state.config.xtts_enable&&!this.$store.state.config.xtts_use_streaming_mode?(T(),C("div",pxt,[i.isSynthesizingVoice?(T(),C("img",{key:1,src:i.loading_svg},null,8,fxt)):(T(),C("div",{key:0,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"generate_audio",onClick:e[44]||(e[44]=j(g=>r.read(),["stop"]))},hxt))])):G("",!0)])]),l("div",mxt,[l("div",gxt,[t.message.binding?(T(),C("p",bxt,[Je("Binding: "),l("span",Ext,K(t.message.binding),1)])):G("",!0),t.message.model?(T(),C("p",yxt,[Je("Model: "),l("span",vxt,K(t.message.model),1)])):G("",!0),t.message.seed?(T(),C("p",Sxt,[Je("Seed: "),l("span",Txt,K(t.message.seed),1)])):G("",!0),t.message.nb_tokens?(T(),C("p",xxt,[Je("Number of tokens: "),l("span",{class:"font-thin",title:"Number of Tokens: "+t.message.nb_tokens},K(t.message.nb_tokens),9,Cxt)])):G("",!0),r.warmup_duration?(T(),C("p",wxt,[Je("Warmup duration: "),l("span",{class:"font-thin",title:"Warmup duration: "+r.warmup_duration},K(r.warmup_duration),9,Rxt)])):G("",!0),r.time_spent?(T(),C("p",Axt,[Je("Generation duration: "),l("span",{class:"font-thin",title:"Finished generating: "+r.time_spent},K(r.time_spent),9,Nxt)])):G("",!0),r.generation_rate?(T(),C("p",Oxt,[Je("Rate: "),l("span",{class:"font-thin",title:"Generation rate: "+r.generation_rate},K(r.generation_rate),9,Ixt)])):G("",!0)])])])])])}const zN=ot(dTt,[["render",Mxt]]),kxt="/";re.defaults.baseURL="/";const Dxt={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{Toast:dc,UniversalForm:hc},data(){return{bUrl:kxt,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(n){this.$store.commit("setConfig",n)}},mountedPers:{get(){return this.$store.state.mountedPers},set(n){this.$store.commit("setMountedPers",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{async handleOnTalk(){const n=this.mountedPers;console.log("pers:",n),this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating);let e=await re.get("/get_generation_status",{});if(e)if(e.data.status)console.log("Already generating");else{const t=this.$store.state.config.personalities.findIndex(i=>i===n.full_path),s={client_id:this.$store.state.client_id,id:t};e=await re.post("/select_personality",s),console.log("Generating message from ",e.data.status),qe.emit("generate_msg_from",{id:-1})}},async remount_personality(){const n=this.mountedPers;if(console.log("Remounting personality ",n),!n)return{status:!1,error:"no personality - mount_personality"};try{console.log("before");const e={client_id:this.$store.state.client_id,category:n.category,folder:n.folder,language:n.language};console.log("after");const t=await re.post("/remount_personality",e);if(console.log("Remounting personality executed:",t),t)return console.log("Remounting personality res"),this.$store.state.toast.showToast("Personality remounted",4,!0),t.data;console.log("failed remount_personality")}catch(e){console.log(e.message,"remount_personality - settings");return}},onSettingsPersonality(n){try{re.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 - "+n.name,"Save changes","Cancel").then(t=>{try{re.post("/set_active_personality_settings",t).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. `+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. - Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(Le(()=>{ze.replace()});this.$store.state.ready===!1;)await new Promise(n=>setTimeout(n,100));this.onReady()},async api_get_req(n){try{const e=await re.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=mp}}},Zxt={class:"w-fit flex select-none"},Jxt={class:"w-fit flex select-none"},e1t={class:"w-8 h-8 group relative"},t1t=["src","title"],n1t={class:"opacity-0 group-hover:opacity-100"},s1t=l("span",{title:"Remount"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"top-0 left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 30 30",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("g",{id:"surface1"},[l("path",{style:{},d:"M 16 4 C 10.886719 4 6.617188 7.160156 4.875 11.625 L 6.71875 12.375 C 8.175781 8.640625 11.710938 6 16 6 C 19.242188 6 22.132813 7.589844 23.9375 10 L 20 10 L 20 12 L 27 12 L 27 5 L 25 5 L 25 8.09375 C 22.808594 5.582031 19.570313 4 16 4 Z M 25.28125 19.625 C 23.824219 23.359375 20.289063 26 16 26 C 12.722656 26 9.84375 24.386719 8.03125 22 L 12 22 L 12 20 L 5 20 L 5 27 L 7 27 L 7 23.90625 C 9.1875 26.386719 12.394531 28 16 28 C 21.113281 28 25.382813 24.839844 27.125 20.375 Z "})])])],-1),i1t=[s1t],r1t=l("span",{title:"Talk"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 24 24",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),l("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})])],-1),o1t=[r1t];function a1t(n,e,t,s,i,r){const o=tt("UniversalForm");return T(),x(Fe,null,[l("div",Zxt,[l("div",Jxt,[l("div",e1t,[l("img",{src:i.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),class:"w-8 h-8 rounded-full object-fill text-red-700 hover:scale-150 active:scale-90 hover:z-50 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,t1t),l("div",n1t,[n.personalityHoveredIndex===n.index?(T(),x("button",{key:0,class:"z-50 -top-1 group-hover:translate-x-5 border-gray-500 absolute active:scale-90 w-7 h-7 hover:scale-150 transition bg-bg-light dark:bg-bg-dark rounded-full border-2",onClick:e[2]||(e[2]=j(a=>r.remount_personality(),["prevent"]))},i1t)):G("",!0),n.personalityHoveredIndex===n.index?(T(),x("button",{key:1,class:"-top-1 group-hover:-translate-x-12 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-200 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",onClick:e[3]||(e[3]=j(a=>r.handleOnTalk(),["prevent"]))},o1t)):G("",!0),l("div",{class:"top-0 group-hover:-translate-x-8 group-hover:-translate-y-8 left-0 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-500 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",onClick:e[4]||(e[4]=j((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+K(r.mountedPersArr.length-1),1)])])])]),V(o,{ref:"universalForm",class:"z-50"},null,512)],64)}const l1t=ot(Xxt,[["render",a1t]]);const c1t="/";re.defaults.baseURL="/";const d1t={props:{onTalk:Function,onMounted:Function,onUnmounted:Function,onRemounted:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:WE,Toast:dc,UniversalForm:hc},name:"MountedPersonalitiesList",data(){return{posts_headers:{accept:"application/json","Content-Type":"application/json"},bUrl:c1t,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(n){this.$store.commit("setConfig",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{async onCopyToCustom(n){await re.post("/copy_to_custom_personas",{client_id:this.$store.state.client_id,category:n.personality.category,name:n.personality.name})},onCopyPersonalityName(n){this.$store.state.toast.showToast("Copied name to clipboard!",4,!0),navigator.clipboard.writeText(n.name)},toggleShowPersList(){this.onShowPersList()},async constructor(){},async api_get_req(n){try{const e=await re.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=mp},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,re.post("/reinstall_personality",{name:n.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 + Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},toggleShowPersList(){this.onShowPersList()},async constructor(){for(Le(()=>{ze.replace()});this.$store.state.ready===!1;)await new Promise(n=>setTimeout(n,100));this.onReady()},async api_get_req(n){try{const e=await re.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=mp}}},Lxt={class:"w-fit flex select-none"},Pxt={class:"w-fit flex select-none"},Fxt={class:"w-8 h-8 group relative"},Uxt=["src","title"],Bxt={class:"opacity-0 group-hover:opacity-100"},Gxt=l("span",{title:"Remount"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"top-0 left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 30 30",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("g",{id:"surface1"},[l("path",{style:{},d:"M 16 4 C 10.886719 4 6.617188 7.160156 4.875 11.625 L 6.71875 12.375 C 8.175781 8.640625 11.710938 6 16 6 C 19.242188 6 22.132813 7.589844 23.9375 10 L 20 10 L 20 12 L 27 12 L 27 5 L 25 5 L 25 8.09375 C 22.808594 5.582031 19.570313 4 16 4 Z M 25.28125 19.625 C 23.824219 23.359375 20.289063 26 16 26 C 12.722656 26 9.84375 24.386719 8.03125 22 L 12 22 L 12 20 L 5 20 L 5 27 L 7 27 L 7 23.90625 C 9.1875 26.386719 12.394531 28 16 28 C 21.113281 28 25.382813 24.839844 27.125 20.375 Z "})])])],-1),Vxt=[Gxt],zxt=l("span",{title:"Talk"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 24 24",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),l("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})])],-1),Hxt=[zxt];function qxt(n,e,t,s,i,r){const o=tt("UniversalForm");return T(),C(Ge,null,[l("div",Lxt,[l("div",Pxt,[l("div",Fxt,[l("img",{src:i.bUrl+r.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...a)),class:"w-8 h-8 rounded-full object-fill text-red-700 hover:scale-150 active:scale-90 hover:z-50 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+r.mountedPers.name,onClick:e[1]||(e[1]=a=>r.onSettingsPersonality(r.mountedPers))},null,40,Uxt),l("div",Bxt,[n.personalityHoveredIndex===n.index?(T(),C("button",{key:0,class:"z-50 -top-1 group-hover:translate-x-5 border-gray-500 absolute active:scale-90 w-7 h-7 hover:scale-150 transition bg-bg-light dark:bg-bg-dark rounded-full border-2",onClick:e[2]||(e[2]=j(a=>r.remount_personality(),["prevent"]))},Vxt)):G("",!0),n.personalityHoveredIndex===n.index?(T(),C("button",{key:1,class:"-top-1 group-hover:-translate-x-12 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-200 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",onClick:e[3]||(e[3]=j(a=>r.handleOnTalk(),["prevent"]))},Hxt)):G("",!0),l("div",{class:"top-0 group-hover:-translate-x-8 group-hover:-translate-y-8 left-0 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-500 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",onClick:e[4]||(e[4]=j((...a)=>r.toggleShowPersList&&r.toggleShowPersList(...a),["stop"])),title:"Click to show more"},"+"+K(r.mountedPersArr.length-1),1)])])])]),V(o,{ref:"universalForm",class:"z-50"},null,512)],64)}const $xt=ot(Dxt,[["render",qxt]]);const Yxt="/";re.defaults.baseURL="/";const Wxt={props:{onTalk:Function,onMounted:Function,onUnmounted:Function,onRemounted:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:WE,Toast:dc,UniversalForm:hc},name:"MountedPersonalitiesList",data(){return{posts_headers:{accept:"application/json","Content-Type":"application/json"},bUrl:Yxt,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(n){this.$store.commit("setConfig",n)}},personalities:{get(){return this.$store.state.personalities},set(n){this.$store.commit("setPersonalities",n)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(n){this.$store.commit("setMountedPers",n)}}},methods:{async onCopyToCustom(n){await re.post("/copy_to_custom_personas",{client_id:this.$store.state.client_id,category:n.personality.category,name:n.personality.name})},onCopyPersonalityName(n){this.$store.state.toast.showToast("Copied name to clipboard!",4,!0),navigator.clipboard.writeText(n.name)},toggleShowPersList(){this.onShowPersList()},async constructor(){},async api_get_req(n){try{const e=await re.get("/"+n);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(n){n.target.src=mp},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,re.post("/reinstall_personality",{name:n.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}))},editPersonality(n){n=n.personality,re.post("/get_personality_config",{client_id:this.$store.state.client_id,category:n.category,name:n.folder}).then(e=>{const t=e.data;console.log("Done"),t.status?(this.$store.state.currentPersonConfig=t.config,this.$store.state.showPersonalityEditor=!0,this.$store.state.personality_editor.showPanel(),this.$store.state.selectedPersonality=n):console.error(t.error)}).catch(e=>{console.error(e)})},onPersonalityMounted(n){this.mountPersonality(n)},onPersonalityUnMounted(n){this.unmountPersonality(n)},onPersonalityRemount(n){this.reMountPersonality(n)},async handleOpenFolder(n){const e={client_id:this.$store.state.client_id,personality_folder:n.personality.category+"/"+n.personality.folder};console.log(e),await re.post("/open_personality_folder",e)},async handleOnTalk(n){if(ze.replace(),console.log("ppa",n),n){if(n.isMounted){const e=await this.select_personality(n);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: `+n.name,4,!0))}else this.onPersonalityMounted(n);this.onTalk(n)}},async onPersonalitySelected(n){if(ze.replace(),console.log("Selected personality : ",JSON.stringify(n.personality)),n){if(n.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(n.isMounted){const e=await this.select_personality(n);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: `+n.name,4,!0))}else this.onPersonalityMounted(n)}},onSettingsPersonality(n){try{re.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 - "+n.personality.name,"Save changes","Cancel").then(t=>{try{re.post("/set_active_personality_settings",t).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. @@ -247,14 +173,14 @@ If You are using windows, this will install wsl so you need to activate it. Error: `+e.error,4,!1))},async reMountPersonality(n){if(console.log("remount pers",n),!n)return;if(!this.configFile.personalities.includes(n.personality.full_path)){this.$refs.toast.showToast("Personality not mounted",4,!1);return}const e=await this.remount_personality(n.personality);console.log("remount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality remounted",4,!0),n.isMounted=!0,this.onMounted(this),(await this.select_personality(n.personality)).status&&this.$refs.toast.showToast(`Selected personality: `+n.personality.name,4,!0),this.getMountedPersonalities()):(n.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality Error: `+e.error,4,!1))},async unmountPersonality(n){if(!n)return;console.log(`Unmounting ${JSON.stringify(n.personality)}`);const e=await this.unmount_personality(n.personality);if(e.status){console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities;const t=this.configFile.personalities[this.configFile.active_personality_id],s=this.personalities.findIndex(a=>a.full_path==t),i=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==n.full_path),r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[i].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&ze.replace(),this.$refs.toast.showToast("Personality unmounted",4,!0),this.onUnMounted(this)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let n=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==t),i=this.personalities[s];if(i)console.log("adding from config"),n.push(i);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),o=this.personalities[r];n.push(o)}}if(this.mountedPersArr=[],this.mountedPersArr=n,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;ei.full_path==t);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const i=this.personalities.findIndex(o=>o.full_path==t),r=this.personalities[i];console.log("adding discucc121",r,t),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},XE=n=>(Rs("data-v-f44002af"),n=n(),As(),n),u1t={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},p1t={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},_1t=XE(()=>l("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"},[l("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"}),l("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)),h1t=XE(()=>l("span",{class:"sr-only"},"Loading...",-1)),f1t=[_1t,h1t],m1t=XE(()=>l("i",{"data-feather":"chevron-down"},null,-1)),g1t=[m1t],b1t={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},E1t={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function y1t(n,e,t,s,i,r){const o=tt("personality-entry"),a=tt("Toast"),c=tt("UniversalForm");return T(),x("div",u1t,[i.isLoading?(T(),x("div",p1t,f1t)):G("",!0),l("div",null,[r.mountedPersArr.length>0?(T(),x("div",{key:0,class:Ge(i.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[l("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=j((...d)=>r.toggleShowPersList&&r.toggleShowPersList(...d),["stop"]))},g1t),l("label",b1t," Mounted Personalities: ("+K(r.mountedPersArr.length)+") ",1),l("div",E1t,[V(di,{name:"bounce"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(this.$store.state.mountedPersArr,(d,u)=>(T(),dt(o,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+d.name,personality:d,full_path:d.full_path,select_language:!1,selected:r.configFile.personalities[r.configFile.active_personality_id]===d.full_path||r.configFile.personalities[r.configFile.active_personality_id]===d.full_path+":"+d.language,"on-selected":r.onPersonalitySelected,"on-mount":r.onPersonalityMounted,"on-edit":r.editPersonality,"on-un-mount":r.onPersonalityUnMounted,"on-remount":r.onPersonalityRemount,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk,"on-copy-personality-name":r.onCopyPersonalityName,"on-copy-to_custom":r.onCopyToCustom,"on-open-folder":r.handleOpenFolder},null,8,["personality","full_path","selected","on-selected","on-mount","on-edit","on-un-mount","on-remount","on-settings","on-reinstall","on-talk","on-copy-personality-name","on-copy-to_custom","on-open-folder"]))),128))]),_:1})])],2)):G("",!0)]),V(a,{ref:"toast"},null,512),V(c,{ref:"universalForm",class:"z-20"},null,512)])}const v1t=ot(d1t,[["render",y1t],["__scopeId","data-v-f44002af"]]);const S1t={components:{InteractiveMenu:YE},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){this.commands=this.commandsList,console.log("Commands",this.commands),document.addEventListener("click",this.handleClickOutside),Le(()=>{ze.replace()})},methods:{isHTML(n){const t=new DOMParser().parseFromString(n,"text/html");return Array.from(t.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(n,e){const t=document.createElement("input");t.type="file",t.accept=n,t.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},t.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const t={filename:this.selectedFile.name,fileData:e.result};qe.on("file_received",s=>{s.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file -`+s.error,4,!1),this.loading=!1,qe.off("file_received")}),qe.emit("send_file",t)},e.readAsDataURL(this.selectedFile)},async constructor(){Le(()=>{ze.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(n){this.showMenu=!this.showMenu,n.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(n.hasOwnProperty("file_types")?n.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(n.value)},handleClickOutside(n){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(n.target)&&(this.showMenu=!1)}},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},T1t=n=>(Rs("data-v-1a32c141"),n=n(),As(),n),x1t={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},C1t=T1t(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),w1t=[C1t];function R1t(n,e,t,s,i,r){const o=tt("InteractiveMenu");return i.loading?(T(),x("div",x1t,w1t)):(T(),dt(o,{key:1,commands:t.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const A1t=ot(S1t,[["render",R1t],["__scopeId","data-v-1a32c141"]]),N1t="/assets/loader_v0-16906488.svg";console.log("modelImgPlaceholder:",Us);const O1t="/",M1t={name:"ChatBox",emits:["messageSentEvent","sendCMDEvent","stopGenerating","loaded","createEmptyUserMessage","createEmptyAIMessage","personalitySelected","addWebLink"],props:{onTalk:Function,discussionList:Array,loading:{default:!1},onShowToastMessage:Function},components:{UniversalForm:hc,MountedPersonalities:l1t,MountedPersonalitiesList:v1t,PersonalitiesCommands:A1t,ChatBarButton:bN},setup(){},data(){return{is_rt:!1,bindingHoveredIndex:null,modelHoveredIndex:null,personalityHoveredIndex:null,loader_v0:N1t,sendGlobe:VN,modelImgPlaceholder:Us,bUrl:O1t,message:"",selecting_binding:!1,selecting_model:!1,selectedModel:"",isListeningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:"",posts_headers:{accept:"application/json","Content-Type":"application/json"}}},computed:{isDataSourceNamesValid(){return console.log("dataSourceNames:",this.dataSourceNames),console.log("Type of dataSourceNames:",typeof this.dataSourceNames),Array.isArray(this.dataSourceNames)&&this.dataSourceNames.length>0},dataSourceNames(){console.log("dataSourceNames",this.$store.state.config.rag_databases);const n=this.$store.state.config.rag_databases.map(e=>{console.log("entry",e);const t=e.split("::");console.log("extracted",t[0]);const i=e.endsWith("mounted")?"feather:check":"";return console.log("icon decision",i),{name:t[0],value:t[0]||"default_value",icon:i,help:"mounts the database"}});return console.log("formatted data sources",n),n},currentBindingIcon(){return this.currentBinding.icon||this.modelImgPlaceholder},currentBinding(){return this.$store.state.currentBinding||{}},currentModel(){return this.$store.state.currentModel||{}},currentModelIcon(){return this.currentModel.icon||this.modelImgPlaceholder},installedBindings(){return this.$store.state.installedBindings},installedModels(){return this.$store.state.installedModels},mountedPersonalities(){return this.$store.state.mountedPersArr},binding_name(){return this.$store.state.config.binding_name},model_name(){return this.$store.state.config.model_name},personality_name(){return this.$store.state.config.active_personality_id},config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let n=[];for(let e=0;e0&&this.addFiles(t)},toggleSwitch(){this.$store.state.config.activate_internet_search=!this.$store.state.config.activate_internet_search,this.isLoading=!0,re.post("/apply_settings",{config:this.$store.state.config}).then(n=>{this.isLoading=!1,n.data.status?(this.$store.state.config.activate_internet_search?this.$store.state.toast.showToast("Websearch activated.",4,!0):this.$store.state.toast.showToast("Websearch deactivated.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1),Le(()=>{ze.replace()})})},copyModelName(){navigator.clipboard.writeText(this.binding_name+"::"+this.model_name),this.$store.state.toast.showToast("Model name copyed to clipboard: "+this.binding_name+"::"+this.model_name,4,!0)},showModelConfig(){try{this.isLoading=!0,re.get("/get_active_binding_settings").then(n=>{this.isLoading=!1,n&&(console.log("binding sett",n),n.data&&Object.keys(n.data).length>0?this.$refs.universalForm.showForm(n.data,"Binding settings ","Save changes","Cancel").then(e=>{try{re.post("/set_active_binding_settings",{client_id:this.$store.state.client_id,settings:e}).then(t=>{t&&t.data?(console.log("binding set with new settings",t.data),this.$store.state.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$store.state.toast.showToast(`Did not get binding settings responses. +Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let n=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==t),i=this.personalities[s];if(i)console.log("adding from config"),n.push(i);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),o=this.personalities[r];n.push(o)}}if(this.mountedPersArr=[],this.mountedPersArr=n,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities!=null&&this.discussionPersonalities.length>0)for(let e=0;ei.full_path==t);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const i=this.personalities.findIndex(o=>o.full_path==t),r=this.personalities[i];console.log("adding discucc121",r,t),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},XE=n=>(Rs("data-v-f44002af"),n=n(),As(),n),Kxt={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},jxt={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},Qxt=XE(()=>l("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"},[l("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"}),l("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)),Xxt=XE(()=>l("span",{class:"sr-only"},"Loading...",-1)),Zxt=[Qxt,Xxt],Jxt=XE(()=>l("i",{"data-feather":"chevron-down"},null,-1)),e1t=[Jxt],t1t={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},n1t={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function s1t(n,e,t,s,i,r){const o=tt("personality-entry"),a=tt("Toast"),c=tt("UniversalForm");return T(),C("div",Kxt,[i.isLoading?(T(),C("div",jxt,Zxt)):G("",!0),l("div",null,[r.mountedPersArr.length>0?(T(),C("div",{key:0,class:Be(i.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[l("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=j((...d)=>r.toggleShowPersList&&r.toggleShowPersList(...d),["stop"]))},e1t),l("label",t1t," Mounted Personalities: ("+K(r.mountedPersArr.length)+") ",1),l("div",n1t,[V(di,{name:"bounce"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(this.$store.state.mountedPersArr,(d,u)=>(T(),dt(o,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+d.name,personality:d,full_path:d.full_path,select_language:!1,selected:r.configFile.personalities[r.configFile.active_personality_id]===d.full_path||r.configFile.personalities[r.configFile.active_personality_id]===d.full_path+":"+d.language,"on-selected":r.onPersonalitySelected,"on-mount":r.onPersonalityMounted,"on-edit":r.editPersonality,"on-un-mount":r.onPersonalityUnMounted,"on-remount":r.onPersonalityRemount,"on-settings":r.onSettingsPersonality,"on-reinstall":r.onPersonalityReinstall,"on-talk":r.handleOnTalk,"on-copy-personality-name":r.onCopyPersonalityName,"on-copy-to_custom":r.onCopyToCustom,"on-open-folder":r.handleOpenFolder},null,8,["personality","full_path","selected","on-selected","on-mount","on-edit","on-un-mount","on-remount","on-settings","on-reinstall","on-talk","on-copy-personality-name","on-copy-to_custom","on-open-folder"]))),128))]),_:1})])],2)):G("",!0)]),V(a,{ref:"toast"},null,512),V(c,{ref:"universalForm",class:"z-20"},null,512)])}const i1t=ot(Wxt,[["render",s1t],["__scopeId","data-v-f44002af"]]);const r1t={components:{InteractiveMenu:YE},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){this.commands=this.commandsList,console.log("Commands",this.commands),document.addEventListener("click",this.handleClickOutside),Le(()=>{ze.replace()})},methods:{isHTML(n){const t=new DOMParser().parseFromString(n,"text/html");return Array.from(t.body.childNodes).some(s=>s.nodeType===Node.ELEMENT_NODE)},selectFile(n,e){const t=document.createElement("input");t.type="file",t.accept=n,t.onchange=s=>{this.selectedFile=s.target.files[0],console.log("File selected"),e()},t.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const t={filename:this.selectedFile.name,fileData:e.result};qe.on("file_received",s=>{s.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file +`+s.error,4,!1),this.loading=!1,qe.off("file_received")}),qe.emit("send_file",t)},e.readAsDataURL(this.selectedFile)},async constructor(){Le(()=>{ze.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(n){this.showMenu=!this.showMenu,n.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(n.hasOwnProperty("file_types")?n.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(n.value)},handleClickOutside(n){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(n.target)&&(this.showMenu=!1)}},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},o1t=n=>(Rs("data-v-1a32c141"),n=n(),As(),n),a1t={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},l1t=o1t(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),c1t=[l1t];function d1t(n,e,t,s,i,r){const o=tt("InteractiveMenu");return i.loading?(T(),C("div",a1t,c1t)):(T(),dt(o,{key:1,commands:t.commandsList,execute_cmd:r.execute_cmd},null,8,["commands","execute_cmd"]))}const u1t=ot(r1t,[["render",d1t],["__scopeId","data-v-1a32c141"]]),p1t="/assets/loader_v0-16906488.svg";console.log("modelImgPlaceholder:",Us);const _1t="/",h1t={name:"ChatBox",emits:["messageSentEvent","sendCMDEvent","stopGenerating","loaded","createEmptyUserMessage","createEmptyAIMessage","personalitySelected","addWebLink"],props:{onTalk:Function,discussionList:Array,loading:{default:!1},onShowToastMessage:Function},components:{UniversalForm:hc,MountedPersonalities:$xt,MountedPersonalitiesList:i1t,PersonalitiesCommands:u1t,ChatBarButton:bN},setup(){},data(){return{is_rt:!1,bindingHoveredIndex:null,modelHoveredIndex:null,personalityHoveredIndex:null,loader_v0:p1t,sendGlobe:VN,modelImgPlaceholder:Us,bUrl:_1t,message:"",selecting_binding:!1,selecting_model:!1,selectedModel:"",isListeningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,showPersonalities:!1,personalities_ready:!1,models_menu_icon:"",posts_headers:{accept:"application/json","Content-Type":"application/json"}}},computed:{isDataSourceNamesValid(){return console.log("dataSourceNames:",this.dataSourceNames),console.log("Type of dataSourceNames:",typeof this.dataSourceNames),Array.isArray(this.dataSourceNames)&&this.dataSourceNames.length>0},dataSourceNames(){console.log("dataSourceNames",this.$store.state.config.rag_databases);const n=this.$store.state.config.rag_databases.map(e=>{console.log("entry",e);const t=e.split("::");console.log("extracted",t[0]);const i=e.endsWith("mounted")?"feather:check":"";return console.log("icon decision",i),{name:t[0],value:t[0]||"default_value",icon:i,help:"mounts the database"}});return console.log("formatted data sources",n),n},currentBindingIcon(){return this.currentBinding.icon||this.modelImgPlaceholder},currentBinding(){return this.$store.state.currentBinding||{}},currentModel(){return this.$store.state.currentModel||{}},currentModelIcon(){return this.currentModel.icon||this.modelImgPlaceholder},installedBindings(){return this.$store.state.installedBindings},installedModels(){return this.$store.state.installedModels},mountedPersonalities(){return this.$store.state.mountedPersArr},binding_name(){return this.$store.state.config.binding_name},model_name(){return this.$store.state.config.model_name},personality_name(){return this.$store.state.config.active_personality_id},config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},allDiscussionPersonalities(){if(this.discussionList.length>0){let n=[];for(let e=0;e0&&this.addFiles(t)},toggleSwitch(){this.$store.state.config.activate_internet_search=!this.$store.state.config.activate_internet_search,this.isLoading=!0,re.post("/apply_settings",{config:this.$store.state.config}).then(n=>{this.isLoading=!1,n.data.status?(this.$store.state.config.activate_internet_search?this.$store.state.toast.showToast("Websearch activated.",4,!0):this.$store.state.toast.showToast("Websearch deactivated.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1),Le(()=>{ze.replace()})})},copyModelName(){navigator.clipboard.writeText(this.binding_name+"::"+this.model_name),this.$store.state.toast.showToast("Model name copyed to clipboard: "+this.binding_name+"::"+this.model_name,4,!0)},copyModelNameFrom(n){navigator.clipboard.writeText(this.binding_name+"::"+n),this.$store.state.toast.showToast("Model name copyed to clipboard: "+this.binding_name+"::"+this.model_name,4,!0)},showModelConfig(){try{this.isLoading=!0,re.get("/get_active_binding_settings").then(n=>{this.isLoading=!1,n&&(console.log("binding sett",n),n.data&&Object.keys(n.data).length>0?this.$refs.universalForm.showForm(n.data,"Binding settings ","Save changes","Cancel").then(e=>{try{re.post("/set_active_binding_settings",{client_id:this.$store.state.client_id,settings:e}).then(t=>{t&&t.data?(console.log("binding set with new settings",t.data),this.$store.state.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$store.state.toast.showToast(`Did not get binding settings responses. `+t,4,!1),this.isLoading=!1)})}catch(t){this.$store.state.toast.showToast(`Did not get binding settings responses. Endpoint error: `+t.message,4,!1),this.isLoading=!1}}):(this.$store.state.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(n){this.isLoading=!1,this.$store.state.toast.showToast("Could not open binding settings. Endpoint error: "+n.message,4,!1)}},async remount_personality(n){if(console.log("Remounting personality ",n),!n)return{status:!1,error:"no personality - mount_personality"};try{console.log("before");const e={client_id:this.$store.state.client_id,category:n.category,folder:n.folder,language:n.language};console.log("after");const t=await re.post("/remount_personality",e);if(console.log("Remounting personality executed:",t),t)return console.log("Remounting personality res"),this.$store.state.toast.showToast("Personality remounted",4,!0),t.data;console.log("failed remount_personality")}catch(e){console.log(e.message,"remount_personality - settings");return}},async unmountPersonality(n){if(console.log("Unmounting personality:",n),!n)return;const e=await this.unmount_personality(n.personality||n);if(console.log(e),e.status){this.$store.state.config.personalities=e.personalities,this.$store.state.toast.showToast("Personality unmounted",4,!0),this.$store.dispatch("refreshMountedPersonalities");const t=this.$store.state.mountedPersArr[this.$store.state.mountedPersArr.length-1];console.log(t,this.$store.state.mountedPersArr.length),(await this.select_personality(n.personality)).status&&this.$store.state.toast.showToast(`Selected personality: `+t.name,4,!0)}else this.$store.state.toast.showToast(`Could not unmount personality Error: `+e.error,4,!1)},async unmount_personality(n){if(!n)return{status:!1,error:"no personality - unmount_personality"};const e={client_id:this.$store.state.client_id,language:n.language,category:n.category,folder:n.folder};try{const t=await re.post("/unmount_personality",e);if(t)return t.data}catch(t){console.log(t.message,"unmount_personality - settings");return}},async showBindingHoveredIn(n){this.bindingHoveredIndex=n},async showBindingHoveredOut(){this.bindingHoveredIndex=null},async showModelHoveredIn(n){this.modelHoveredIndex=n},async showModelHoveredOut(){this.modelHoveredIndex=null},async showPersonalityHoveredIn(n){this.personalityHoveredIndex=n},async showPersonalityHoveredOut(){this.personalityHoveredIndex=null},async onPersonalitySelected(n){if(n){if(n.selected){this.$store.state.toast.showToast("Personality already selected",4,!0);return}const e=n.language===null?n.full_path:n.full_path+":"+n.language;if(console.log("pers_path",e),console.log("this.$store.state.config.personalities",this.$store.state.config.personalities),this.$store.state.config.personalities.includes(e)){const t=await this.select_personality(n);await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshBindings"),await this.$store.dispatch("refreshModelsZoo"),await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshMountedPersonalities"),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("fetchLanguages"),await this.$store.dispatch("fetchLanguage"),await this.$store.dispatch("fetchisRTOn"),console.log("pers is mounted",t),t&&t.status&&t.active_personality_id>-1?this.$store.state.toast.showToast(`Selected personality: `+n.name,4,!0):this.$store.state.toast.showToast(`Error on select personality: -`+n.name,4,!1)}else console.log("mounting pers");this.$emit("personalitySelected"),Le(()=>{ze.replace()})}},async select_personality(n){if(!n)return{status:!1,error:"no personality - select_personality"};const e=n.language===null?n.full_path:n.full_path+":"+n.language;console.log("Selecting personality ",e);const t=this.$store.state.config.personalities.findIndex(i=>i===e),s={client_id:this.$store.state.client_id,id:t};try{const i=await re.post("/select_personality",s);if(i)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesZoo").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),i.data}catch(i){console.log(i.message,"select_personality - settings");return}},emitloaded(){this.$emit("loaded")},showModels(n){n.preventDefault();const e=this.$refs.modelsSelectionList;console.log(e);const t=new MouseEvent("click");e.dispatchEvent(t)},setBinding(n){console.log("Setting binding to "+n.name),this.selecting_binding=!0,this.selectedBinding=n,this.$store.state.messageBox.showBlockingMessage("Loading binding"),re.post("/update_setting",{client_id:this.$store.state.client_id,setting_name:"binding_name",setting_value:n.name}).then(async e=>{this.$store.state.messageBox.hideMessage(),console.log("UPDATED"),console.log(e),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshBindings"),await this.$store.dispatch("refreshModelsZoo"),await this.$store.dispatch("refreshModels"),this.$store.state.toast.showToast(`Binding changed to ${this.currentBinding.name}`,4,!0),this.selecting_binding=!1}).catch(e=>{this.$store.state.messageBox.hideMessage(),this.$store.state.toast.showToast(`Error ${e}`,4,!0),this.selecting_binding=!1})},setModel(n){console.log("Setting model to "+n.name),this.selecting_model=!0,this.selectedModel=n,this.$store.state.messageBox.showBlockingMessage("Loading model"),re.post("/update_setting",{client_id:this.$store.state.client_id,setting_name:"model_name",setting_value:n.name}).then(async e=>{this.$store.state.messageBox.hideMessage(),console.log("UPDATED"),console.log(e),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshModels"),this.$store.state.toast.showToast(`Model changed to ${this.currentModel.name}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$store.state.messageBox.hideMessage(),this.$store.state.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},download_files(){re.get("/download_files")},remove_file(n){re.get("/remove_discussion_file",{client_id:this.$store.state.client_id,name:n}).then(e=>{console.log(e)})},clear_files(){re.post("/clear_discussion_files_list",{client_id:this.$store.state.client_id}).then(n=>{console.log(n),n.data.state?(this.$store.state.toast.showToast("File removed successfully",4,!0),this.filesList.length=0,this.isFileSentList.length=0,this.totalSize=0):this.$store.state.toast.showToast("Files couldn't be removed",4,!1)})},send_file(n,e){console.log("Send file triggered");const t=new FileReader,s=24*1024;let i=0,r=0;t.onloadend=()=>{if(t.error){console.error("Error reading file:",t.error);return}const a=t.result,c=i+a.byteLength>=n.size;qe.emit("send_file_chunk",{filename:n.name,chunk:a,offset:i,isLastChunk:c,chunkIndex:r}),i+=a.byteLength,r++,c?(console.log("File sent successfully"),this.isFileSentList[this.filesList.length-1]=!0,console.log(this.isFileSentList),this.$store.state.toast.showToast("File uploaded successfully",4,!0),e()):o()};function o(){const a=n.slice(i,i+s);t.readAsArrayBuffer(a)}console.log("Uploading file"),o()},makeAnEmptyUserMessage(){this.$emit("createEmptyUserMessage",this.message),this.message=""},makeAnEmptyAIMessage(){this.$emit("createEmptyAIMessage")},startRTCom(){this.is_rt=!0,console.log("is_rt:",this.is_rt),qe.emit("start_bidirectional_audio_stream"),Le(()=>{ze.replace()})},stopRTCom(){this.is_rt=!1,console.log("is_rt:",this.is_rt),qe.emit("stop_bidirectional_audio_stream"),Le(()=>{ze.replace()})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isListeningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=n=>{let e="";for(let t=n.resultIndex;t{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.error),this.isListeningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isListeningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(n){this.showPersonalities=!this.showPersonalities},handleOnTalk(n){console.log("talking"),this.showPersonalities=!1,this.$store.state.toast.showToast(`Personality ${n.name} is Talking`,4,!0),this.onTalk(n)},onMountFun(n){console.log("Mounting personality"),this.$refs.mountedPers.constructor()},onUnmountFun(n){console.log("Unmounting personality"),this.$refs.mountedPers.constructor()},onRemount(n){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(n){return Le(()=>{ze.replace()}),ci(n)},removeItem(n){console.log("Removing ",n.name),re.post("/remove_discussion_file",{client_id:this.$store.state.client_id,name:n.name},{headers:this.posts_headers}).then(()=>{this.filesList=this.filesList.filter(e=>e!=n)}),console.log(this.filesList)},sendMessageEvent(n,e="no_internet"){this.$emit("messageSentEvent",n,e)},sendCMDEvent(n){this.$emit("sendCMDEvent",n)},async mountDB(n){await re.post("/toggle_mount_rag_database",{client_id:this.$store.state.client_id,database_name:n}),await this.$store.dispatch("refreshConfig"),console.log("Refreshed")},addWebLink(){console.log("Emitting addWebLink"),this.$emit("addWebLink")},add_file(){const n=document.createElement("input");n.type="file",n.style.display="none",n.multiple=!0,document.body.appendChild(n),n.addEventListener("change",()=>{console.log("Calling Add file..."),this.addFiles(n.files),document.body.removeChild(n)}),n.click()},takePicture(){qe.emit("take_picture"),qe.on("picture_taken",()=>{re.post("/get_discussion_files_list",{client_id:this.$store.state.client_id}).then(n=>{this.filesList=n.data.files,this.isFileSentList=n.data.files.map(e=>!0),console.log(`Files recovered: ${this.filesList}`)})})},submitOnEnter(n){this.loading||n.which===13&&(n.preventDefault(),n.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},submitWithInternetSearch(){this.message&&(this.sendMessageEvent(this.message,"internet"),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(n){console.log("Adding files");const e=[...n];let t=0;const s=()=>{if(t>=e.length){console.log(`Files_list: ${this.filesList}`);return}const i=e[t];this.filesList.push(i),this.isFileSentList.push(!1),this.send_file(i,()=>{t++,s()})};s()}},watch:{installedModels:{immediate:!0,handler(n){this.$nextTick(()=>{this.installedModels=n})}},model_name:{immediate:!0,handler(n){this.$nextTick(()=>{this.model_name=n})}},showfilesList(){Le(()=>{ze.replace()})},loading(n,e){Le(()=>{ze.replace()})},filesList:{handler(n,e){let t=0;if(n.length>0)for(let s=0;s{ze.replace()}),console.log("Chatbar mounted"),qe.on("rtcom_status_changed",n=>{this.$store.dispatch("fetchisRTOn"),console.log("rtcom_status_changed: ",n.status),console.log("active_tts_service: ",this.$store.state.config.active_tts_service),console.log("is_rt_on: ",this.$store.state.is_rt_on)}),this.$store.dispatch("fetchisRTOn")},activated(){Le(()=>{ze.replace()})}},jt=n=>(Rs("data-v-31bf958a"),n=n(),As(),n),I1t={class:"absolute bottom-0 left-0 w-fit min-w-96 w-full justify-center text-center"},k1t={key:0,class:"items-center gap-2 panels-color shadow-sm hover:shadow-none dark:border-gray-800 w-fit"},D1t={class:"flex"},L1t=["title"],P1t=jt(()=>l("i",{"data-feather":"list"},null,-1)),F1t=[P1t],U1t={key:0},B1t={class:"flex flex-col max-h-64"},G1t=["title"],V1t={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium items-center gap-2 rounded-lg border bg-gray-100 p-1.5 shadow-sm hover:shadow-none dark:border-gray-800 dark:bg-gray-700 hover:bg-primary dark:hover:bg-primary"},z1t={key:0,filesList:"",role:"status"},H1t=jt(()=>l("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"},[l("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"}),l("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)),q1t=jt(()=>l("span",{class:"sr-only"},"Loading...",-1)),$1t=[H1t,q1t],Y1t=jt(()=>l("div",null,[l("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),W1t=jt(()=>l("div",{class:"grow"},null,-1)),K1t={class:"flex flex-row items-center"},j1t={class:"whitespace-nowrap"},Q1t=["onClick"],X1t=jt(()=>l("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),Z1t=[X1t],J1t={key:1,class:"flex mx-1 w-500"},eCt={class:"whitespace-nowrap flex flex-row gap-2"},tCt=jt(()=>l("p",{class:"font-bold"}," Total size: ",-1)),nCt=jt(()=>l("div",{class:"grow"},null,-1)),sCt=jt(()=>l("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),iCt=[sCt],rCt=jt(()=>l("i",{"data-feather":"download-cloud",class:"w-5 h-5"},null,-1)),oCt=[rCt],aCt={key:2,class:"mx-1"},lCt={key:1,title:"Selecting model",class:"flex flex-row flex-grow justify-end panels-color"},cCt={role:"status"},dCt=["src"],uCt=jt(()=>l("span",{class:"sr-only"},"Selecting model...",-1)),pCt={class:"flex w-fit relative grow w-full"},_Ct={class:"relative text-light-text-panel dark:text-dark-text-panel grow flex h-12.5 cursor-pointer select-none items-center gap-2 chatbox-color p-1 shadow-sm hover:shadow-none dark:border-gray-800",tabindex:"0"},hCt={key:0,title:"Waiting for reply"},fCt=["src"],mCt=jt(()=>l("div",{role:"status"},[l("span",{class:"sr-only"},"Loading...")],-1)),gCt={key:1,class:"w-fit group relative"},bCt={class:"hide top-50 hide opacity-0 group-hover:bottom-0 opacity-0 .group-hover:block fixed w-[1000px] group absolute group-hover:opacity-100 transform group-hover:translate-y-[-50px] group-hover:translate-x-[0px] transition-all duration-300"},ECt={class:"w-fit flex-wrap flex bg-white bg-opacity-50 backdrop-blur-md rounded p-4"},yCt=["onMouseover"],vCt={class:"relative"},SCt=["onClick"],TCt=["src","title"],xCt={class:"group items-center flex flex-row"},CCt=["src","title"],wCt={key:2,class:"w-fit group relative"},RCt={class:"hide top-50 hide opacity-0 group-hover:bottom-0 opacity-0 .group-hover:block fixed w-[1000px] group absolute group-hover:opacity-100 transform group-hover:translate-y-[-50px] group-hover:translate-x-[0px] transition-all duration-300"},ACt={class:"w-fit flex-wrap flex bg-white bg-opacity-50 backdrop-blur-md rounded p-4"},NCt=["onMouseover"],OCt={class:"relative"},MCt=["onClick"],ICt=["src","title"],kCt={class:"group items-center flex flex-row"},DCt=["src","title"],LCt={key:3,class:"w-fit group relative"},PCt={class:"top-50 hide opacity-0 group-hover:bottom-0 .group-hover:block fixed w-[1000px] group absolute group-hover:opacity-100 transform group-hover:translate-y-[-50px] group-hover:translate-x-[0px] transition-all duration-300"},FCt={class:"w-fit flex-wrap flex bg-white bg-opacity-50 backdrop-blur-md rounded p-4"},UCt=["onMouseover"],BCt={class:"relative"},GCt=["onClick"],VCt=["src","title"],zCt=["onClick"],HCt=jt(()=>l("span",{class:"-top-6 -right-6 border-gray-500 absolute active:scale-90 w-7 h-7 hover:scale-150 transition bg-bg-light dark:bg-bg-dark rounded-full border-2",title:"Unmount personality"},[l("svg",{"aria-hidden":"true",class:"top-1 left-1 relative w-5 h-5 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20","stroke-width":"1",xmlns:"http://www.w3.org/2000/svg"},[l("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)),qCt=[HCt],$Ct=["onClick"],YCt=jt(()=>l("span",{class:"-top-9 left-2 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-200 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",title:"Remount"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"top-1 left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 30 30",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("g",{id:"surface1"},[l("path",{style:{},d:"M 16 4 C 10.886719 4 6.617188 7.160156 4.875 11.625 L 6.71875 12.375 C 8.175781 8.640625 11.710938 6 16 6 C 19.242188 6 22.132813 7.589844 23.9375 10 L 20 10 L 20 12 L 27 12 L 27 5 L 25 5 L 25 8.09375 C 22.808594 5.582031 19.570313 4 16 4 Z M 25.28125 19.625 C 23.824219 23.359375 20.289063 26 16 26 C 12.722656 26 9.84375 24.386719 8.03125 22 L 12 22 L 12 20 L 5 20 L 5 27 L 7 27 L 7 23.90625 C 9.1875 26.386719 12.394531 28 16 28 C 21.113281 28 25.382813 24.839844 27.125 20.375 Z "})])])],-1)),WCt=[YCt],KCt=["onClick"],jCt=jt(()=>l("span",{class:"-top-6 -left-6 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-200 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",title:"Talk"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"top-1 left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 24 24",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),l("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})])],-1)),QCt=[jCt],XCt={class:"w-fit"},ZCt={class:"w-fit"},JCt={class:"relative grow"},ewt={class:"flex items-center space-x-3"},twt=jt(()=>l("svg",{class:"animate-spin h-5 w-5",viewBox:"0 0 24 24"},[l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)),nwt=jt(()=>l("span",null,"Stop",-1)),swt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"})],-1)),iwt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})],-1)),rwt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1)),owt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),awt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"}),l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 13a3 3 0 11-6 0 3 3 0 016 0z"})],-1)),lwt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})],-1)),cwt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})],-1)),dwt=jt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})],-1)),uwt=jt(()=>l("div",{class:"ml-auto gap-2"},null,-1));function pwt(n,e,t,s,i,r){const o=tt("MountedPersonalitiesList"),a=tt("MountedPersonalities"),c=tt("PersonalitiesCommands"),d=tt("ChatBarButton"),u=tt("UniversalForm");return T(),x(Fe,null,[l("div",I1t,[i.filesList.length>0||i.showPersonalities?(T(),x("div",k1t,[l("div",D1t,[l("button",{class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:i.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[0]||(e[0]=j(h=>i.showfilesList=!i.showfilesList,["stop"]))},F1t,8,L1t)]),i.filesList.length>0&&i.showfilesList==!0?(T(),x("div",U1t,[l("div",B1t,[V(di,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(i.filesList,(h,f)=>(T(),x("div",{key:f+"-"+h.name},[l("div",{class:"m-1",title:h.name},[l("div",V1t,[i.isFileSentList[f]?G("",!0):(T(),x("div",z1t,$1t)),Y1t,l("div",{class:Ge(["line-clamp-1 w-3/5",i.isFileSentList[f]?"text-green-500":"text-red-200"])},K(h.name),3),W1t,l("div",K1t,[l("p",j1t,K(r.computedFileSize(h.size)),1),l("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:m=>r.removeItem(h)},Z1t,8,Q1t)])])],8,G1t)]))),128))]),_:1})])])):G("",!0),i.filesList.length>0?(T(),x("div",J1t,[l("div",eCt,[tCt,Je(" "+K(i.totalSize)+" ("+K(i.filesList.length)+") ",1)]),nCt,l("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[1]||(e[1]=(...h)=>r.clear_files&&r.clear_files(...h))},iCt),l("button",{type:"button",title:"Download database",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=(...h)=>r.download_files&&r.download_files(...h))},oCt)])):G("",!0),i.showPersonalities?(T(),x("div",aCt,[V(o,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mounted":r.onMountFun,"on-un-mounted":r.onUnmountFun,"on-remounted":n.onRemountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mounted","on-un-mounted","on-remounted","on-talk","discussionPersonalities"])])):G("",!0)])):G("",!0),i.selecting_model||i.selecting_binding?(T(),x("div",lCt,[l("div",cCt,[l("img",{src:i.loader_v0,class:"w-50 h-50"},null,8,dCt),uCt])])):G("",!0),l("div",pCt,[l("div",_Ct,[t.loading?(T(),x("div",hCt,[l("img",{src:i.loader_v0},null,8,fCt),mCt])):G("",!0),t.loading?G("",!0):(T(),x("div",gCt,[l("div",bCt,[l("div",ECt,[(T(!0),x(Fe,null,Ke(r.installedBindings,(h,f)=>(T(),x("div",{class:"w-fit h-fit inset-0 opacity-100",key:f+"-"+h.name,ref_for:!0,ref:"installedBindings",onMouseover:m=>r.showBindingHoveredIn(f),onMouseleave:e[4]||(e[4]=m=>r.showBindingHoveredOut())},[f!=r.binding_name?(T(),x("div",{key:0,class:Ge(["items-center flex flex-row relative z-20 hover:-translate-y-8 duration-300",i.bindingHoveredIndex===f?"scale-150":""])},[l("div",vCt,[l("button",{onClick:j(m=>r.setBinding(h),["prevent"]),class:"w-10 h-10 relative"},[l("img",{src:h.icon?h.icon:i.modelImgPlaceholder,onError:e[3]||(e[3]=(...m)=>i.modelImgPlaceholder&&i.modelImgPlaceholder(...m)),class:Ge(["z-50 w-10 h-10 rounded-full object-fill text-red-700 border-2 border-gray-500 active:scale-90",i.bindingHoveredIndex===f?"scale-150 ":""+h.name==r.binding_name?"border-secondary":"border-transparent z-0"]),title:h.name},null,42,TCt)],8,SCt)])],2)):G("",!0)],40,yCt))),128))])]),l("div",xCt,[l("button",{onClick:e[5]||(e[5]=j(h=>r.showModelConfig(),["prevent"])),class:"w-8 h-8"},[l("img",{src:r.currentBindingIcon,class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-200",title:r.currentBinding?r.currentBinding.name:"unknown"},null,8,CCt)])])])),t.loading?G("",!0):(T(),x("div",wCt,[l("div",RCt,[l("div",ACt,[(T(!0),x(Fe,null,Ke(r.installedModels,(h,f)=>(T(),x("div",{class:"w-fit h-fit",key:f+"-"+h.name,ref_for:!0,ref:"installedModels",onMouseover:m=>r.showModelHoveredIn(f),onMouseleave:e[7]||(e[7]=m=>r.showModelHoveredOut())},[f!=r.model_name?(T(),x("div",{key:0,class:Ge(["items-center flex flex-row relative z-20 hover:-translate-y-8 duration-300",i.modelHoveredIndex===f?"scale-150":""])},[l("div",OCt,[l("button",{onClick:j(m=>r.setModel(h),["prevent"]),class:"w-10 h-10 relative"},[l("img",{src:h.icon?h.icon:i.modelImgPlaceholder,onError:e[6]||(e[6]=(...m)=>n.personalityImgPlacehodler&&n.personalityImgPlacehodler(...m)),class:Ge(["z-50 w-10 h-10 rounded-full object-fill text-red-700 border-2 border-gray-500 active:scale-90",i.modelHoveredIndex===f?"scale-150 ":""+h.name==r.model_name?"border-secondary":"border-transparent z-0"]),title:h.name},null,42,ICt)],8,MCt)])],2)):G("",!0)],40,NCt))),128))])]),l("div",kCt,[l("button",{onClick:e[8]||(e[8]=j(h=>r.copyModelName(),["prevent"])),class:"w-8 h-8"},[l("img",{src:r.currentModelIcon,class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-400",title:r.currentModel?r.currentModel.name:"unknown"},null,8,DCt)])])])),t.loading?G("",!0):(T(),x("div",LCt,[l("div",PCt,[l("div",FCt,[(T(!0),x(Fe,null,Ke(r.mountedPersonalities,(h,f)=>(T(),x("div",{class:"w-fit h-fit inset-0 opacity-100",key:f+"-"+h.name,ref_for:!0,ref:"mountedPersonalities",onMouseover:m=>r.showPersonalityHoveredIn(f),onMouseleave:e[10]||(e[10]=m=>r.showPersonalityHoveredOut())},[f!=r.personality_name?(T(),x("div",{key:0,class:Ge(["items-center flex flex-row relative z-20 hover:-translate-y-8 duration-300",i.personalityHoveredIndex===f?"scale-150":""])},[l("div",BCt,[l("button",{onClick:j(m=>r.onPersonalitySelected(h),["prevent"]),class:"w-10 h-10 relative"},[l("img",{src:i.bUrl+h.avatar,onError:e[9]||(e[9]=(...m)=>n.personalityImgPlacehodler&&n.personalityImgPlacehodler(...m)),class:Ge(["z-50 w-10 h-10 rounded-full object-fill text-red-700 border-2 border-gray-500 active:scale-90",i.personalityHoveredIndex===f?"scale-150 ":""+this.$store.state.active_personality_id==this.$store.state.personalities.indexOf(h.full_path)?"border-secondary":"border-transparent z-0"]),title:h.name},null,42,VCt)],8,GCt),i.personalityHoveredIndex===f?(T(),x("button",{key:0,onClick:j(m=>r.unmountPersonality(h),["prevent"])},qCt,8,zCt)):G("",!0),i.personalityHoveredIndex===f?(T(),x("button",{key:1,onClick:j(m=>r.remount_personality(h),["prevent"])},WCt,8,$Ct)):G("",!0),i.personalityHoveredIndex===f?(T(),x("button",{key:2,onClick:j(m=>r.handleOnTalk(h),["prevent"])},QCt,8,KCt)):G("",!0)])],2)):G("",!0)],40,UCt))),128))])]),V(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])])),l("div",XCt,[i.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(T(),dt(c,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendCMDEvent,"on-show-toast-message":t.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):G("",!0)]),l("div",ZCt,[r.isDataSourceNamesValid?(T(),dt(c,{key:0,icon:"feather:book",commandsList:r.dataSourceNames,sendCommand:r.mountDB,"on-show-toast-message":t.onShowToastMessage,ref:"databasesList"},null,8,["commandsList","sendCommand","on-show-toast-message"])):G("",!0)]),l("div",JCt,[l("form",null,[P(l("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[11]||(e[11]=h=>i.message=h),onPaste:e[12]||(e[12]=(...h)=>r.handlePaste&&r.handlePaste(...h)),onKeydown:e[13]||(e[13]=Ks(j(h=>r.submitOnEnter(h),["exact"]),["enter"])),class:"w-full p-3 text-sm text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent resize-none",placeholder:"Send message..."},null,544),[[pe,i.message]])])]),l("div",ewt,[t.loading?(T(),dt(d,{key:0,onClick:r.stopGenerating,class:"bg-red-500 dark:bg-red-600 hover:bg-red-600 dark:hover:bg-red-700"},{icon:Ie(()=>[twt]),default:Ie(()=>[nwt]),_:1},8,["onClick"])):(T(),dt(d,{key:1,onClick:r.submit,title:"Send"},{icon:Ie(()=>[swt]),_:1},8,["onClick"])),V(d,{onClick:r.submitWithInternetSearch,title:"Send with internet search"},{icon:Ie(()=>[iwt]),_:1},8,["onClick"]),V(d,{onClick:r.startSpeechRecognition,class:Ge({"text-red-500":i.isListeningToVoice}),title:"Voice input"},{icon:Ie(()=>[rwt]),_:1},8,["onClick","class"]),n.$store.state.config.active_tts_service!="None"&&n.$store.state.config.active_tts_service!=null&&this.$store.state.config.active_stt_service!="None"&&this.$store.state.config.active_stt_service!=null?(T(),dt(d,{key:2,onClick:e[14]||(e[14]=h=>i.is_rt?r.stopRTCom:r.startRTCom),class:Ge(i.is_rt?"bg-red-500 dark:bg-red-600":"bg-green-500 dark:bg-green-600"),title:"Real-time audio mode"},{icon:Ie(()=>[Je(" 🪶 ")]),_:1},8,["class"])):G("",!0),V(d,{onClick:r.add_file,title:"Send file"},{icon:Ie(()=>[owt]),_:1},8,["onClick"]),V(d,{onClick:r.takePicture,title:"Take picture"},{icon:Ie(()=>[awt]),_:1},8,["onClick"]),V(d,{onClick:r.addWebLink,title:"Add web link"},{icon:Ie(()=>[lwt]),_:1},8,["onClick"]),V(d,{onClick:r.makeAnEmptyUserMessage,title:"New user message",class:"text-gray-600 dark:text-gray-300"},{icon:Ie(()=>[cwt]),_:1},8,["onClick"]),V(d,{onClick:r.makeAnEmptyAIMessage,title:"New AI message",class:"text-red-400 dark:text-red-300"},{icon:Ie(()=>[dwt]),_:1},8,["onClick"])]),l("input",{type:"file",ref:"fileDialog",onChange:e[15]||(e[15]=(...h)=>r.addFiles&&r.addFiles(...h)),multiple:"",style:{display:"none"}},null,544)]),uwt])]),V(u,{ref:"universalForm",class:"z-20"},null,512)],64)}const HN=ot(M1t,[["render",pwt],["__scopeId","data-v-31bf958a"]]);const _wt={name:"WelcomeComponent",setup(){const n=DD();return{logoSrc:et(()=>n.state.config&&n.state.config.app_custom_logo?`/user_infos/${n.state.config.app_custom_logo}`:$s)}}},hwt=n=>(Rs("data-v-7d44caaa"),n=n(),As(),n),fwt={class:"flex flex-col items-center justify-center w-full h-full min-h-screen bg-gradient-to-br from-indigo-100 to-purple-100 dark:from-indigo-900 dark:to-purple-900 p-8"},mwt={class:"text-center max-w-4xl"},gwt={class:"flex items-center justify-center gap-8 mb-12"},bwt={class:"relative w-24 h-24"},Ewt=["src"],ywt=hwt(()=>l("div",{class:"flex flex-col items-start"},[l("h1",{class:"text-6xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-indigo-600 to-purple-600 dark:from-indigo-400 dark:to-purple-400"}," L🪶LLMS "),l("p",{class:"text-2xl text-gray-600 dark:text-gray-300 italic mt-2"}," Lord of Large Language And Multimodal Systems ")],-1)),vwt=Fa('

Welcome to L🪶LLMS WebUI

Embark on a journey through the realm of advanced AI with L🪶LLMS, your ultimate companion for intelligent conversations and multimodal interactions. Unleash the power of large language models and explore new frontiers in artificial intelligence.

Discover the capabilities of L🪶LLMS:

  • Engage in natural language conversations
  • Generate creative content and ideas
  • Analyze complex data and provide insights
  • Assist with coding and technical tasks
  • Process and understand multimodal inputs
',1);function Swt(n,e,t,s,i,r){return T(),x("div",fwt,[l("div",mwt,[l("div",gwt,[l("div",bwt,[l("img",{src:s.logoSrc,alt:"LoLLMS Logo",class:"w-24 h-24 rounded-full absolute animate-rolling-ball"},null,8,Ewt)]),ywt]),vwt])])}const qN=ot(_wt,[["render",Swt],["__scopeId","data-v-7d44caaa"]]);var Twt=function(){function n(e,t){t===void 0&&(t=[]),this._eventType=e,this._eventFunctions=t}return n.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(t){typeof window<"u"&&window.addEventListener(e._eventType,t)})},n}(),lu=globalThis&&globalThis.__assign||function(){return lu=Object.assign||function(n){for(var e,t=1,s=arguments.length;t(Rs("data-v-b57892be"),n=n(),As(),n),Owt={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center bg-gradient-to-br from-blue-100 to-purple-100 dark:from-blue-900 dark:to-purple-900 overflow-hidden"},Mwt={class:"absolute inset-0 pointer-events-none overflow-hidden"},Iwt={class:"flex flex-col items-center text-center max-w-4xl w-full px-4 relative z-10"},kwt={class:"mb-8 w-full"},Dwt=Mt(()=>l("div",{class:"text-6xl md:text-7xl font-bold text-amber-500 mb-2",style:{"text-shadow":"2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white"}}," L🪶LLMS ",-1)),Lwt=Mt(()=>l("p",{class:"text-2xl text-gray-600 dark:text-gray-300 italic"}," One tool to rule them all ",-1)),Pwt=Mt(()=>l("p",{class:"text-xl text-gray-500 dark:text-gray-400 mb-6"}," by ParisNeo ",-1)),Fwt={class:"bottom-0 text-2xl text-gray-600 dark:text-gray-300 italic"},Uwt=Mt(()=>l("div",{class:"w-full h-24 relative overflow-hidden bg-gradient-to-r from-blue-200 to-purple-200 dark:from-blue-800 dark:to-purple-800 rounded-full shadow-lg flex items-center justify-center"},[l("p",{style:{"font-size":"48px","line-height":"1"}},"🪶")],-1)),Bwt={class:"w-full max-w-2xl"},Gwt={role:"status",class:"w-full"},Vwt={class:"text-xl text-gray-700 dark:text-gray-300"},zwt={class:"text-2xl font-bold text-blue-600 dark:text-blue-400 mt-2"},Hwt=Mt(()=>l("i",{"data-feather":"chevron-right"},null,-1)),qwt=[Hwt],$wt=Mt(()=>l("i",{"data-feather":"chevron-left"},null,-1)),Ywt=[$wt],Wwt=Fa('',1),Kwt=[Wwt],jwt={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] unicolor-panels-color dark:bg-bg-dark-tone"},Qwt={class:"text-light-text-panel dark:text-dark-text-panel panels-color sticky z-10 top-0"},Xwt={class:"flex-row p-4 flex items-center gap-3 flex-0"},Zwt=Mt(()=>l("i",{"data-feather":"plus"},null,-1)),Jwt=[Zwt],eRt=Mt(()=>l("i",{"data-feather":"check-square"},null,-1)),tRt=[eRt],nRt={class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},sRt=Mt(()=>l("i",{"data-feather":"database"},null,-1)),iRt=[sRt],rRt=Mt(()=>l("i",{"data-feather":"log-in"},null,-1)),oRt=[rRt],aRt=Mt(()=>l("i",{"data-feather":"folder"},null,-1)),lRt=[aRt],cRt={key:1,class:"dropdown"},dRt=Mt(()=>l("i",{"data-feather":"search"},null,-1)),uRt=[dRt],pRt={key:2,class:"flex gap-3 flex-1 items-center duration-75"},_Rt=Mt(()=>l("i",{"data-feather":"x"},null,-1)),hRt=[_Rt],fRt=Mt(()=>l("i",{"data-feather":"check"},null,-1)),mRt=[fRt],gRt=Mt(()=>l("i",{"data-feather":"hard-drive"},null,-1)),bRt=[gRt],ERt=Mt(()=>l("i",{"data-feather":"check-circle"},null,-1)),yRt=[ERt],vRt=Mt(()=>l("i",{"data-feather":"x-octagon"},null,-1)),SRt=[vRt],TRt=Mt(()=>l("i",{"data-feather":"book"},null,-1)),xRt=[TRt],CRt={key:7,title:"Loading..",class:"flex flex-row flex-grow justify-end"},wRt=Mt(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),RRt=[wRt],ARt={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},NRt={class:"p-4 pt-2"},ORt={class:"relative"},MRt=Mt(()=>l("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[l("div",{class:"scale-75"},[l("i",{"data-feather":"search"})])],-1)),IRt={class:"absolute inset-y-0 right-0 flex items-center pr-3"},kRt=Mt(()=>l("i",{"data-feather":"x"},null,-1)),DRt=[kRt],LRt={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},PRt={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},FRt={class:"flex flex-row flex-grow"},URt={key:0},BRt={class:"flex flex-row"},GRt={key:0,class:"flex gap-3"},VRt=Mt(()=>l("i",{"data-feather":"trash"},null,-1)),zRt=[VRt],HRt={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},qRt=Mt(()=>l("i",{"data-feather":"check"},null,-1)),$Rt=[qRt],YRt=Mt(()=>l("i",{"data-feather":"x"},null,-1)),WRt=[YRt],KRt={class:"flex gap-3"},jRt=Mt(()=>l("i",{"data-feather":"codepen"},null,-1)),QRt=[jRt],XRt=Mt(()=>l("i",{"data-feather":"folder"},null,-1)),ZRt=[XRt],JRt=Mt(()=>l("i",{"data-feather":"bookmark"},null,-1)),eAt=[JRt],tAt=Mt(()=>l("i",{"data-feather":"list"},null,-1)),nAt=[tAt],sAt={class:"relative flex flex-row flex-grow mb-10 z-0 w-full"},iAt={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},rAt=Mt(()=>l("p",{class:"px-3"},"No discussions are found",-1)),oAt=[rAt],aAt=Mt(()=>l("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),lAt={class:"text-center font-large font-bold text-l drop-shadow-md align-middle"},cAt={key:2,class:"relative flex flex-col flex-grow"},dAt={class:"container pt-4 pb-50 mb-50 w-full"},uAt={key:0,class:"w-full 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 overflow-hidden p-4 pb-2 h-[600px]"},pAt=Mt(()=>l("h2",{class:"text-2xl font-bold mb-4"},"Prompt examples",-1)),_At={key:0,class:"overflow-y-auto flex-grow pr-2 custom-scrollbar"},hAt={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-2"},fAt=["onClick"],mAt=["title"],gAt={class:"absolute inset-0 overflow-hidden"},bAt=Mt(()=>l("div",{class:"absolute inset-0 bg-gradient-to-b from-transparent via-transparent to-white dark:to-gray-800 group-hover:opacity-0 transition-opacity duration-300"},null,-1)),EAt=Mt(()=>l("div",{class:"mt-2 text-sm text-gray-500 dark:text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}," Click to select ",-1)),yAt=Mt(()=>l("div",null,[l("br"),l("br"),l("br"),l("br"),l("br"),l("br"),l("br")],-1)),vAt=Mt(()=>l("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),SAt={key:0,class:"flex flex-row items-center justify-center h-10"},TAt={key:0,class:"relative flex flex-col no-scrollbar shadow-lg w-1/2 bg-bg-light-tone dark:bg-bg-dark-tone h-full"},xAt={ref:"isolatedContent",class:"h-full"},CAt={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},wAt={class:"text-2xl animate-pulse mt-2 text-light-text-panel dark:text-dark-text-panel"},RAt={setup(){},data(){return{lastMessageHtml:"",defaultMessageHtml:` +`+n.name,4,!1)}else console.log("mounting pers");this.$emit("personalitySelected"),Le(()=>{ze.replace()})}},async select_personality(n){if(!n)return{status:!1,error:"no personality - select_personality"};const e=n.language===null?n.full_path:n.full_path+":"+n.language;console.log("Selecting personality ",e);const t=this.$store.state.config.personalities.findIndex(i=>i===e),s={client_id:this.$store.state.client_id,id:t};try{const i=await re.post("/select_personality",s);if(i)return this.$store.dispatch("refreshConfig").then(()=>{this.$store.dispatch("refreshPersonalitiesZoo").then(()=>{this.$store.dispatch("refreshMountedPersonalities")})}),i.data}catch(i){console.log(i.message,"select_personality - settings");return}},emitloaded(){this.$emit("loaded")},showModels(n){n.preventDefault();const e=this.$refs.modelsSelectionList;console.log(e);const t=new MouseEvent("click");e.dispatchEvent(t)},setBinding(n){console.log("Setting binding to "+n.name),this.selecting_binding=!0,this.selectedBinding=n,this.$store.state.messageBox.showBlockingMessage("Loading binding"),re.post("/update_setting",{client_id:this.$store.state.client_id,setting_name:"binding_name",setting_value:n.name}).then(async e=>{this.$store.state.messageBox.hideMessage(),console.log("UPDATED"),console.log(e),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshBindings"),await this.$store.dispatch("refreshModelsZoo"),await this.$store.dispatch("refreshModels"),this.$store.state.toast.showToast(`Binding changed to ${this.currentBinding.name}`,4,!0),this.selecting_binding=!1}).catch(e=>{this.$store.state.messageBox.hideMessage(),this.$store.state.toast.showToast(`Error ${e}`,4,!0),this.selecting_binding=!1})},setModel(n){console.log("Setting model to "+n.name),this.selecting_model=!0,this.selectedModel=n,this.$store.state.messageBox.showBlockingMessage("Loading model"),re.post("/update_setting",{client_id:this.$store.state.client_id,setting_name:"model_name",setting_value:n.name}).then(async e=>{this.$store.state.messageBox.hideMessage(),console.log("UPDATED"),console.log(e),await this.$store.dispatch("refreshConfig"),await this.$store.dispatch("refreshModels"),this.$store.state.toast.showToast(`Model changed to ${this.currentModel.name}`,4,!0),this.selecting_model=!1}).catch(e=>{this.$store.state.messageBox.hideMessage(),this.$store.state.toast.showToast(`Error ${e}`,4,!0),this.selecting_model=!1})},download_files(){re.get("/download_files")},remove_file(n){re.get("/remove_discussion_file",{client_id:this.$store.state.client_id,name:n}).then(e=>{console.log(e)})},clear_files(){re.post("/clear_discussion_files_list",{client_id:this.$store.state.client_id}).then(n=>{console.log(n),n.data.state?(this.$store.state.toast.showToast("File removed successfully",4,!0),this.filesList.length=0,this.isFileSentList.length=0,this.totalSize=0):this.$store.state.toast.showToast("Files couldn't be removed",4,!1)})},send_file(n,e){console.log("Send file triggered");const t=new FileReader,s=24*1024;let i=0,r=0;t.onloadend=()=>{if(t.error){console.error("Error reading file:",t.error);return}const a=t.result,c=i+a.byteLength>=n.size;qe.emit("send_file_chunk",{filename:n.name,chunk:a,offset:i,isLastChunk:c,chunkIndex:r}),i+=a.byteLength,r++,c?(console.log("File sent successfully"),this.isFileSentList[this.filesList.length-1]=!0,console.log(this.isFileSentList),this.$store.state.toast.showToast("File uploaded successfully",4,!0),e()):o()};function o(){const a=n.slice(i,i+s);t.readAsArrayBuffer(a)}console.log("Uploading file"),o()},makeAnEmptyUserMessage(){this.$emit("createEmptyUserMessage",this.message),this.message=""},makeAnEmptyAIMessage(){this.$emit("createEmptyAIMessage")},startRTCom(){this.is_rt=!0,console.log("is_rt:",this.is_rt),qe.emit("start_bidirectional_audio_stream"),Le(()=>{ze.replace()})},stopRTCom(){this.is_rt=!1,console.log("is_rt:",this.is_rt),qe.emit("stop_bidirectional_audio_stream"),Le(()=>{ze.replace()})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isListeningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=n=>{let e="";for(let t=n.resultIndex;t{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=n=>{console.error("Speech recognition error:",n.error),this.isListeningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isListeningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},onPersonalitiesReadyFun(){this.personalities_ready=!0},onShowPersListFun(n){this.showPersonalities=!this.showPersonalities},handleOnTalk(n){console.log("talking"),this.showPersonalities=!1,this.$store.state.toast.showToast(`Personality ${n.name} is Talking`,4,!0),this.onTalk(n)},onMountFun(n){console.log("Mounting personality"),this.$refs.mountedPers.constructor()},onUnmountFun(n){console.log("Unmounting personality"),this.$refs.mountedPers.constructor()},onRemount(n){console.log("Remounting chat"),this.$refs.mountedPers.constructor()},computedFileSize(n){return Le(()=>{ze.replace()}),ci(n)},removeItem(n){console.log("Removing ",n.name),re.post("/remove_discussion_file",{client_id:this.$store.state.client_id,name:n.name},{headers:this.posts_headers}).then(()=>{this.filesList=this.filesList.filter(e=>e!=n)}),console.log(this.filesList)},sendMessageEvent(n,e="no_internet"){this.$emit("messageSentEvent",n,e)},sendCMDEvent(n){this.$emit("sendCMDEvent",n)},async mountDB(n){await re.post("/toggle_mount_rag_database",{client_id:this.$store.state.client_id,database_name:n}),await this.$store.dispatch("refreshConfig"),console.log("Refreshed")},addWebLink(){console.log("Emitting addWebLink"),this.$emit("addWebLink")},add_file(){const n=document.createElement("input");n.type="file",n.style.display="none",n.multiple=!0,document.body.appendChild(n),n.addEventListener("change",()=>{console.log("Calling Add file..."),this.addFiles(n.files),document.body.removeChild(n)}),n.click()},takePicture(){qe.emit("take_picture"),qe.on("picture_taken",()=>{re.post("/get_discussion_files_list",{client_id:this.$store.state.client_id}).then(n=>{this.filesList=n.data.files,this.isFileSentList=n.data.files.map(e=>!0),console.log(`Files recovered: ${this.filesList}`)})})},submitOnEnter(n){this.loading||n.which===13&&(n.preventDefault(),n.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},submitWithInternetSearch(){this.message&&(this.sendMessageEvent(this.message,"internet"),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(n){console.log("Adding files");const e=[...n];let t=0;const s=()=>{if(t>=e.length){console.log(`Files_list: ${this.filesList}`);return}const i=e[t];this.filesList.push(i),this.isFileSentList.push(!1),this.send_file(i,()=>{t++,s()})};s()}},watch:{installedModels:{immediate:!0,handler(n){this.$nextTick(()=>{this.installedModels=n})}},model_name:{immediate:!0,handler(n){this.$nextTick(()=>{this.model_name=n})}},showfilesList(){Le(()=>{ze.replace()})},loading(n,e){Le(()=>{ze.replace()})},filesList:{handler(n,e){let t=0;if(n.length>0)for(let s=0;s{ze.replace()}),console.log("Chatbar mounted"),qe.on("rtcom_status_changed",n=>{this.$store.dispatch("fetchisRTOn"),console.log("rtcom_status_changed: ",n.status),console.log("active_tts_service: ",this.$store.state.config.active_tts_service),console.log("is_rt_on: ",this.$store.state.is_rt_on)}),this.$store.dispatch("fetchisRTOn")},activated(){Le(()=>{ze.replace()})}},Kt=n=>(Rs("data-v-fc5a462f"),n=n(),As(),n),f1t={class:"absolute bottom-0 left-0 w-fit min-w-96 w-full justify-center text-center"},m1t={key:0,class:"items-center gap-2 panels-color shadow-sm hover:shadow-none dark:border-gray-800 w-fit"},g1t={class:"flex"},b1t=["title"],E1t=Kt(()=>l("i",{"data-feather":"list"},null,-1)),y1t=[E1t],v1t={key:0},S1t={class:"flex flex-col max-h-64"},T1t=["title"],x1t={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium items-center gap-2 rounded-lg border bg-gray-100 p-1.5 shadow-sm hover:shadow-none dark:border-gray-800 dark:bg-gray-700 hover:bg-primary dark:hover:bg-primary"},C1t={key:0,filesList:"",role:"status"},w1t=Kt(()=>l("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"},[l("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"}),l("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)),R1t=Kt(()=>l("span",{class:"sr-only"},"Loading...",-1)),A1t=[w1t,R1t],N1t=Kt(()=>l("div",null,[l("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),O1t=Kt(()=>l("div",{class:"grow"},null,-1)),I1t={class:"flex flex-row items-center"},M1t={class:"whitespace-nowrap"},k1t=["onClick"],D1t=Kt(()=>l("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),L1t=[D1t],P1t={key:1,class:"flex mx-1 w-500"},F1t={class:"whitespace-nowrap flex flex-row gap-2"},U1t=Kt(()=>l("p",{class:"font-bold"}," Total size: ",-1)),B1t=Kt(()=>l("div",{class:"grow"},null,-1)),G1t=Kt(()=>l("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),V1t=[G1t],z1t=Kt(()=>l("i",{"data-feather":"download-cloud",class:"w-5 h-5"},null,-1)),H1t=[z1t],q1t={key:2,class:"mx-1"},$1t={key:1,title:"Selecting model",class:"flex flex-row flex-grow justify-end panels-color"},Y1t={role:"status"},W1t=["src"],K1t=Kt(()=>l("span",{class:"sr-only"},"Selecting model...",-1)),j1t={class:"flex w-fit relative grow w-full"},Q1t={class:"relative text-light-text-panel dark:text-dark-text-panel grow flex h-12.5 cursor-pointer select-none items-center gap-2 chatbox-color p-1 shadow-sm hover:shadow-none dark:border-gray-800",tabindex:"0"},X1t={key:0,title:"Waiting for reply"},Z1t=["src"],J1t=Kt(()=>l("div",{role:"status"},[l("span",{class:"sr-only"},"Loading...")],-1)),eCt={key:1,class:"w-fit group relative"},tCt={class:"hide top-50 hide opacity-0 group-hover:bottom-0 opacity-0 .group-hover:block fixed w-[1000px] group absolute group-hover:opacity-100 transform group-hover:translate-y-[-50px] group-hover:translate-x-[0px] transition-all duration-300"},nCt={class:"w-fit flex-wrap flex bg-white bg-opacity-50 backdrop-blur-md rounded p-4"},sCt=["onMouseover"],iCt={class:"relative"},rCt=["onClick"],oCt=["src","title"],aCt={class:"group items-center flex flex-row"},lCt=["src","title"],cCt={key:2,class:"w-fit group relative"},dCt={class:"hide top-50 hide opacity-0 group-hover:bottom-0 opacity-0 .group-hover:block fixed w-[1000px] group absolute group-hover:opacity-100 transform group-hover:translate-y-[-50px] group-hover:translate-x-[0px] transition-all duration-300"},uCt={class:"w-fit flex-wrap flex bg-white bg-opacity-50 backdrop-blur-md rounded p-4"},pCt=["onMouseover"],_Ct={class:"relative flex items-center"},hCt={class:"relative group"},fCt=["onClick"],mCt=["src","title"],gCt=["onClick"],bCt=Kt(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-3 w-3",viewBox:"0 0 20 20",fill:"currentColor"},[l("path",{d:"M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"}),l("path",{d:"M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z"})],-1)),ECt=[bCt],yCt={class:"group items-center flex flex-row"},vCt=["src","title"],SCt={key:3,class:"w-fit group relative"},TCt={class:"top-50 hide opacity-0 group-hover:bottom-0 .group-hover:block fixed w-[1000px] group absolute group-hover:opacity-100 transform group-hover:translate-y-[-50px] group-hover:translate-x-[0px] transition-all duration-300"},xCt={class:"w-fit flex-wrap flex bg-white bg-opacity-50 backdrop-blur-md rounded p-4"},CCt=["onMouseover"],wCt={class:"relative"},RCt=["onClick"],ACt=["src","title"],NCt=["onClick"],OCt=Kt(()=>l("span",{class:"-top-6 -right-6 border-gray-500 absolute active:scale-90 w-7 h-7 hover:scale-150 transition bg-bg-light dark:bg-bg-dark rounded-full border-2",title:"Unmount personality"},[l("svg",{"aria-hidden":"true",class:"top-1 left-1 relative w-5 h-5 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20","stroke-width":"1",xmlns:"http://www.w3.org/2000/svg"},[l("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)),ICt=[OCt],MCt=["onClick"],kCt=Kt(()=>l("span",{class:"-top-9 left-2 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-200 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",title:"Remount"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"top-1 left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 30 30",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("g",{id:"surface1"},[l("path",{style:{},d:"M 16 4 C 10.886719 4 6.617188 7.160156 4.875 11.625 L 6.71875 12.375 C 8.175781 8.640625 11.710938 6 16 6 C 19.242188 6 22.132813 7.589844 23.9375 10 L 20 10 L 20 12 L 27 12 L 27 5 L 25 5 L 25 8.09375 C 22.808594 5.582031 19.570313 4 16 4 Z M 25.28125 19.625 C 23.824219 23.359375 20.289063 26 16 26 C 12.722656 26 9.84375 24.386719 8.03125 22 L 12 22 L 12 20 L 5 20 L 5 27 L 7 27 L 7 23.90625 C 9.1875 26.386719 12.394531 28 16 28 C 21.113281 28 25.382813 24.839844 27.125 20.375 Z "})])])],-1)),DCt=[kCt],LCt=["onClick"],PCt=Kt(()=>l("span",{class:"-top-6 -left-6 border-gray-500 active:scale-90 absolute items-center w-7 h-7 hover:scale-150 transition text-red-200 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2",title:"Talk"},[l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"top-1 left-1 relative w-4 h-4 text-red-600 hover:text-red-500",viewBox:"0 0 24 24",width:"2",height:"2",fill:"none",stroke:"currentColor","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round"},[l("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),l("polygon",{points:"22 2 15 22 11 13 2 9 22 2"})])],-1)),FCt=[PCt],UCt={class:"w-fit"},BCt={class:"w-fit"},GCt={class:"relative grow"},VCt={class:"flex items-center space-x-3"},zCt=Kt(()=>l("svg",{class:"animate-spin h-5 w-5",viewBox:"0 0 24 24"},[l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)),HCt=Kt(()=>l("span",null,"Stop",-1)),qCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"})],-1)),$Ct=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})],-1)),YCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1)),WCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),KCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"}),l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 13a3 3 0 11-6 0 3 3 0 016 0z"})],-1)),jCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})],-1)),QCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})],-1)),XCt=Kt(()=>l("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})],-1)),ZCt=Kt(()=>l("div",{class:"ml-auto gap-2"},null,-1));function JCt(n,e,t,s,i,r){const o=tt("MountedPersonalitiesList"),a=tt("MountedPersonalities"),c=tt("PersonalitiesCommands"),d=tt("ChatBarButton"),u=tt("UniversalForm");return T(),C(Ge,null,[l("div",f1t,[i.filesList.length>0||i.showPersonalities?(T(),C("div",m1t,[l("div",g1t,[l("button",{class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:i.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[0]||(e[0]=j(h=>i.showfilesList=!i.showfilesList,["stop"]))},y1t,8,b1t)]),i.filesList.length>0&&i.showfilesList==!0?(T(),C("div",v1t,[l("div",S1t,[V(di,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(i.filesList,(h,f)=>(T(),C("div",{key:f+"-"+h.name},[l("div",{class:"m-1",title:h.name},[l("div",x1t,[i.isFileSentList[f]?G("",!0):(T(),C("div",C1t,A1t)),N1t,l("div",{class:Be(["line-clamp-1 w-3/5",i.isFileSentList[f]?"text-green-500":"text-red-200"])},K(h.name),3),O1t,l("div",I1t,[l("p",M1t,K(r.computedFileSize(h.size)),1),l("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:m=>r.removeItem(h)},L1t,8,k1t)])])],8,T1t)]))),128))]),_:1})])])):G("",!0),i.filesList.length>0?(T(),C("div",P1t,[l("div",F1t,[U1t,Je(" "+K(i.totalSize)+" ("+K(i.filesList.length)+") ",1)]),B1t,l("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[1]||(e[1]=(...h)=>r.clear_files&&r.clear_files(...h))},V1t),l("button",{type:"button",title:"Download database",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=(...h)=>r.download_files&&r.download_files(...h))},H1t)])):G("",!0),i.showPersonalities?(T(),C("div",q1t,[V(o,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mounted":r.onMountFun,"on-un-mounted":r.onUnmountFun,"on-remounted":n.onRemountFun,"on-talk":r.handleOnTalk,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mounted","on-un-mounted","on-remounted","on-talk","discussionPersonalities"])])):G("",!0)])):G("",!0),i.selecting_model||i.selecting_binding?(T(),C("div",$1t,[l("div",Y1t,[l("img",{src:i.loader_v0,class:"w-50 h-50"},null,8,W1t),K1t])])):G("",!0),l("div",j1t,[l("div",Q1t,[t.loading?(T(),C("div",X1t,[l("img",{src:i.loader_v0},null,8,Z1t),J1t])):G("",!0),t.loading?G("",!0):(T(),C("div",eCt,[l("div",tCt,[l("div",nCt,[(T(!0),C(Ge,null,Xe(r.installedBindings,(h,f)=>(T(),C("div",{class:"w-fit h-fit inset-0 opacity-100",key:f+"-"+h.name,ref_for:!0,ref:"installedBindings",onMouseover:m=>r.showBindingHoveredIn(f),onMouseleave:e[4]||(e[4]=m=>r.showBindingHoveredOut())},[f!=r.binding_name?(T(),C("div",{key:0,class:Be(["items-center flex flex-row relative z-20 hover:-translate-y-8 duration-300",i.bindingHoveredIndex===f?"scale-150":""])},[l("div",iCt,[l("button",{onClick:j(m=>r.setBinding(h),["prevent"]),class:"w-10 h-10 relative"},[l("img",{src:h.icon?h.icon:i.modelImgPlaceholder,onError:e[3]||(e[3]=(...m)=>i.modelImgPlaceholder&&i.modelImgPlaceholder(...m)),class:Be(["z-50 w-10 h-10 rounded-full object-fill text-red-700 border-2 border-gray-500 active:scale-90",i.bindingHoveredIndex===f?"scale-150 ":""+h.name==r.binding_name?"border-secondary":"border-transparent z-0"]),title:h.name},null,42,oCt)],8,rCt)])],2)):G("",!0)],40,sCt))),128))])]),l("div",aCt,[l("button",{onClick:e[5]||(e[5]=j(h=>r.showModelConfig(),["prevent"])),class:"w-8 h-8"},[l("img",{src:r.currentBindingIcon,class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-200",title:r.currentBinding?r.currentBinding.name:"unknown"},null,8,lCt)])])])),t.loading?G("",!0):(T(),C("div",cCt,[l("div",dCt,[l("div",uCt,[(T(!0),C(Ge,null,Xe(r.installedModels,(h,f)=>(T(),C("div",{class:"w-fit h-fit",key:f+"-"+h.name,ref_for:!0,ref:"installedModels",onMouseover:m=>r.showModelHoveredIn(f),onMouseleave:e[7]||(e[7]=m=>r.showModelHoveredOut())},[f!=r.model_name?(T(),C("div",{key:0,class:Be(["items-center flex flex-row relative z-20 hover:-translate-y-8 duration-300",i.modelHoveredIndex===f?"scale-150":""])},[l("div",_Ct,[l("div",hCt,[l("button",{onClick:j(m=>r.setModel(h),["prevent"]),class:"w-10 h-10 relative"},[l("img",{src:h.icon?h.icon:i.modelImgPlaceholder,onError:e[6]||(e[6]=(...m)=>n.personalityImgPlacehodler&&n.personalityImgPlacehodler(...m)),class:Be(["z-50 w-10 h-10 rounded-full object-fill text-red-700 border-2 border-gray-500 active:scale-90",i.modelHoveredIndex===f?"scale-150":""+h.name==r.model_name?"border-secondary":"border-transparent z-0"]),title:h.name},null,42,mCt)],8,fCt),i.modelHoveredIndex===f?(T(),C("button",{key:0,onClick:j(m=>r.copyModelNameFrom(h.name),["prevent"]),class:"absolute -top-2 -right-2 bg-blue-500 text-white p-1 rounded-full hover:bg-blue-700 transition duration-300"},ECt,8,gCt)):G("",!0)])])],2)):G("",!0)],40,pCt))),128))])]),l("div",yCt,[l("button",{onClick:e[8]||(e[8]=j(h=>r.copyModelName(),["prevent"])),class:"w-8 h-8"},[l("img",{src:r.currentModelIcon,class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-400",title:r.currentModel?r.currentModel.name:"unknown"},null,8,vCt)])])])),t.loading?G("",!0):(T(),C("div",SCt,[l("div",TCt,[l("div",xCt,[(T(!0),C(Ge,null,Xe(r.mountedPersonalities,(h,f)=>(T(),C("div",{class:"w-fit h-fit inset-0 opacity-100",key:f+"-"+h.name,ref_for:!0,ref:"mountedPersonalities",onMouseover:m=>r.showPersonalityHoveredIn(f),onMouseleave:e[10]||(e[10]=m=>r.showPersonalityHoveredOut())},[f!=r.personality_name?(T(),C("div",{key:0,class:Be(["items-center flex flex-row relative z-20 hover:-translate-y-8 duration-300",i.personalityHoveredIndex===f?"scale-150":""])},[l("div",wCt,[l("button",{onClick:j(m=>r.onPersonalitySelected(h),["prevent"]),class:"w-10 h-10 relative"},[l("img",{src:i.bUrl+h.avatar,onError:e[9]||(e[9]=(...m)=>n.personalityImgPlacehodler&&n.personalityImgPlacehodler(...m)),class:Be(["z-50 w-10 h-10 rounded-full object-fill text-red-700 border-2 border-gray-500 active:scale-90",i.personalityHoveredIndex===f?"scale-150 ":""+this.$store.state.active_personality_id==this.$store.state.personalities.indexOf(h.full_path)?"border-secondary":"border-transparent z-0"]),title:h.name},null,42,ACt)],8,RCt),i.personalityHoveredIndex===f?(T(),C("button",{key:0,onClick:j(m=>r.unmountPersonality(h),["prevent"])},ICt,8,NCt)):G("",!0),i.personalityHoveredIndex===f?(T(),C("button",{key:1,onClick:j(m=>r.remount_personality(h),["prevent"])},DCt,8,MCt)):G("",!0),i.personalityHoveredIndex===f?(T(),C("button",{key:2,onClick:j(m=>r.handleOnTalk(h),["prevent"])},FCt,8,LCt)):G("",!0)])],2)):G("",!0)],40,CCt))),128))])]),V(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun,onReady:r.onPersonalitiesReadyFun},null,8,["onShowPersList","onReady"])])),l("div",UCt,[i.personalities_ready&&this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(T(),dt(c,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:r.sendCMDEvent,"on-show-toast-message":t.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):G("",!0)]),l("div",BCt,[r.isDataSourceNamesValid?(T(),dt(c,{key:0,icon:"feather:book",commandsList:r.dataSourceNames,sendCommand:r.mountDB,"on-show-toast-message":t.onShowToastMessage,ref:"databasesList"},null,8,["commandsList","sendCommand","on-show-toast-message"])):G("",!0)]),l("div",GCt,[l("form",null,[P(l("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[11]||(e[11]=h=>i.message=h),onPaste:e[12]||(e[12]=(...h)=>r.handlePaste&&r.handlePaste(...h)),onKeydown:e[13]||(e[13]=Ks(j(h=>r.submitOnEnter(h),["exact"]),["enter"])),class:"w-full p-3 text-sm text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent resize-none",placeholder:"Send message..."},null,544),[[pe,i.message]])])]),l("div",VCt,[t.loading?(T(),dt(d,{key:0,onClick:r.stopGenerating,class:"bg-red-500 dark:bg-red-600 hover:bg-red-600 dark:hover:bg-red-700"},{icon:Me(()=>[zCt]),default:Me(()=>[HCt]),_:1},8,["onClick"])):(T(),dt(d,{key:1,onClick:r.submit,title:"Send"},{icon:Me(()=>[qCt]),_:1},8,["onClick"])),V(d,{onClick:r.submitWithInternetSearch,title:"Send with internet search"},{icon:Me(()=>[$Ct]),_:1},8,["onClick"]),V(d,{onClick:r.startSpeechRecognition,class:Be({"text-red-500":i.isListeningToVoice}),title:"Voice input"},{icon:Me(()=>[YCt]),_:1},8,["onClick","class"]),n.$store.state.config.active_tts_service!="None"&&n.$store.state.config.active_tts_service!=null&&this.$store.state.config.active_stt_service!="None"&&this.$store.state.config.active_stt_service!=null?(T(),dt(d,{key:2,onClick:e[14]||(e[14]=h=>i.is_rt?r.stopRTCom:r.startRTCom),class:Be(i.is_rt?"bg-red-500 dark:bg-red-600":"bg-green-500 dark:bg-green-600"),title:"Real-time audio mode"},{icon:Me(()=>[Je(" 🪶 ")]),_:1},8,["class"])):G("",!0),V(d,{onClick:r.add_file,title:"Send file"},{icon:Me(()=>[WCt]),_:1},8,["onClick"]),V(d,{onClick:r.takePicture,title:"Take picture"},{icon:Me(()=>[KCt]),_:1},8,["onClick"]),V(d,{onClick:r.addWebLink,title:"Add web link"},{icon:Me(()=>[jCt]),_:1},8,["onClick"]),V(d,{onClick:r.makeAnEmptyUserMessage,title:"New user message",class:"text-gray-600 dark:text-gray-300"},{icon:Me(()=>[QCt]),_:1},8,["onClick"]),V(d,{onClick:r.makeAnEmptyAIMessage,title:"New AI message",class:"text-red-400 dark:text-red-300"},{icon:Me(()=>[XCt]),_:1},8,["onClick"])]),l("input",{type:"file",ref:"fileDialog",onChange:e[15]||(e[15]=(...h)=>r.addFiles&&r.addFiles(...h)),multiple:"",style:{display:"none"}},null,544)]),ZCt])]),V(u,{ref:"universalForm",class:"z-20"},null,512)],64)}const HN=ot(h1t,[["render",JCt],["__scopeId","data-v-fc5a462f"]]);const ewt={name:"WelcomeComponent",setup(){const n=DD();return{logoSrc:et(()=>n.state.config&&n.state.config.app_custom_logo?`/user_infos/${n.state.config.app_custom_logo}`:$s)}}},twt=n=>(Rs("data-v-7d44caaa"),n=n(),As(),n),nwt={class:"flex flex-col items-center justify-center w-full h-full min-h-screen bg-gradient-to-br from-indigo-100 to-purple-100 dark:from-indigo-900 dark:to-purple-900 p-8"},swt={class:"text-center max-w-4xl"},iwt={class:"flex items-center justify-center gap-8 mb-12"},rwt={class:"relative w-24 h-24"},owt=["src"],awt=twt(()=>l("div",{class:"flex flex-col items-start"},[l("h1",{class:"text-6xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-indigo-600 to-purple-600 dark:from-indigo-400 dark:to-purple-400"}," L🪶LLMS "),l("p",{class:"text-2xl text-gray-600 dark:text-gray-300 italic mt-2"}," Lord of Large Language And Multimodal Systems ")],-1)),lwt=mo('

Welcome to L🪶LLMS WebUI

Embark on a journey through the realm of advanced AI with L🪶LLMS, your ultimate companion for intelligent conversations and multimodal interactions. Unleash the power of large language models and explore new frontiers in artificial intelligence.

Discover the capabilities of L🪶LLMS:

  • Engage in natural language conversations
  • Generate creative content and ideas
  • Analyze complex data and provide insights
  • Assist with coding and technical tasks
  • Process and understand multimodal inputs
',1);function cwt(n,e,t,s,i,r){return T(),C("div",nwt,[l("div",swt,[l("div",iwt,[l("div",rwt,[l("img",{src:s.logoSrc,alt:"LoLLMS Logo",class:"w-24 h-24 rounded-full absolute animate-rolling-ball"},null,8,owt)]),awt]),lwt])])}const qN=ot(ewt,[["render",cwt],["__scopeId","data-v-7d44caaa"]]);var dwt=function(){function n(e,t){t===void 0&&(t=[]),this._eventType=e,this._eventFunctions=t}return n.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(t){typeof window<"u"&&window.addEventListener(e._eventType,t)})},n}(),lu=globalThis&&globalThis.__assign||function(){return lu=Object.assign||function(n){for(var e,t=1,s=arguments.length;t(Rs("data-v-49b908b4"),n=n(),As(),n),gwt={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center bg-gradient-to-br from-blue-100 to-purple-100 dark:from-blue-900 dark:to-purple-900 overflow-hidden"},bwt={class:"absolute inset-0 pointer-events-none overflow-hidden"},Ewt={class:"flex flex-col items-center text-center max-w-4xl w-full px-4 relative z-10"},ywt={class:"mb-8 w-full"},vwt=It(()=>l("div",{class:"text-6xl md:text-7xl font-bold text-amber-500 mb-2",style:{"text-shadow":"2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white"}}," L🪶LLMS ",-1)),Swt=It(()=>l("p",{class:"text-2xl text-gray-600 dark:text-gray-300 italic"}," One tool to rule them all ",-1)),Twt=It(()=>l("p",{class:"text-xl text-gray-500 dark:text-gray-400 mb-6"}," by ParisNeo ",-1)),xwt={class:"bottom-0 text-2xl text-gray-600 dark:text-gray-300 italic"},Cwt=It(()=>l("div",{class:"w-full h-24 relative overflow-hidden bg-gradient-to-r from-blue-200 to-purple-200 dark:from-blue-800 dark:to-purple-800 rounded-full shadow-lg flex items-center justify-center"},[l("p",{style:{"font-size":"48px","line-height":"1"}},"🪶")],-1)),wwt={class:"w-full max-w-2xl"},Rwt={role:"status",class:"w-full"},Awt={class:"text-xl text-gray-700 dark:text-gray-300"},Nwt={class:"text-2xl font-bold text-blue-600 dark:text-blue-400 mt-2"},Owt=It(()=>l("i",{"data-feather":"chevron-right"},null,-1)),Iwt=[Owt],Mwt=It(()=>l("i",{"data-feather":"chevron-left"},null,-1)),kwt=[Mwt],Dwt=mo('',1),Lwt=[Dwt],Pwt={key:0,class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] unicolor-panels-color dark:bg-bg-dark-tone"},Fwt={class:"text-light-text-panel dark:text-dark-text-panel panels-color sticky z-10 top-0"},Uwt={class:"flex-row p-4 flex items-center gap-3 flex-0"},Bwt=It(()=>l("i",{"data-feather":"plus"},null,-1)),Gwt=[Bwt],Vwt=It(()=>l("i",{"data-feather":"check-square"},null,-1)),zwt=[Vwt],Hwt={class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},qwt=It(()=>l("i",{"data-feather":"database"},null,-1)),$wt=[qwt],Ywt=It(()=>l("i",{"data-feather":"log-in"},null,-1)),Wwt=[Ywt],Kwt=It(()=>l("i",{"data-feather":"folder"},null,-1)),jwt=[Kwt],Qwt={key:1,class:"dropdown"},Xwt=It(()=>l("i",{"data-feather":"search"},null,-1)),Zwt=[Xwt],Jwt={key:2,class:"flex gap-3 flex-1 items-center duration-75"},eRt=It(()=>l("i",{"data-feather":"x"},null,-1)),tRt=[eRt],nRt=It(()=>l("i",{"data-feather":"check"},null,-1)),sRt=[nRt],iRt=It(()=>l("i",{"data-feather":"hard-drive"},null,-1)),rRt=[iRt],oRt=It(()=>l("i",{"data-feather":"check-circle"},null,-1)),aRt=[oRt],lRt=It(()=>l("i",{"data-feather":"x-octagon"},null,-1)),cRt=[lRt],dRt=It(()=>l("i",{"data-feather":"book"},null,-1)),uRt=[dRt],pRt={key:7,title:"Loading..",class:"flex flex-row flex-grow justify-end"},_Rt=It(()=>l("div",{role:"status"},[l("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"},[l("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"}),l("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"})]),l("span",{class:"sr-only"},"Loading...")],-1)),hRt=[_Rt],fRt={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},mRt={class:"p-4 pt-2"},gRt={class:"relative"},bRt=It(()=>l("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[l("div",{class:"scale-75"},[l("i",{"data-feather":"search"})])],-1)),ERt={class:"absolute inset-y-0 right-0 flex items-center pr-3"},yRt=It(()=>l("i",{"data-feather":"x"},null,-1)),vRt=[yRt],SRt={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},TRt={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},xRt={class:"flex flex-row flex-grow"},CRt={key:0},wRt={class:"flex flex-row"},RRt={key:0,class:"flex gap-3"},ARt=It(()=>l("i",{"data-feather":"trash"},null,-1)),NRt=[ARt],ORt={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},IRt=It(()=>l("i",{"data-feather":"check"},null,-1)),MRt=[IRt],kRt=It(()=>l("i",{"data-feather":"x"},null,-1)),DRt=[kRt],LRt={class:"flex gap-3"},PRt=It(()=>l("i",{"data-feather":"codepen"},null,-1)),FRt=[PRt],URt=It(()=>l("i",{"data-feather":"folder"},null,-1)),BRt=[URt],GRt=It(()=>l("i",{"data-feather":"bookmark"},null,-1)),VRt=[GRt],zRt=It(()=>l("i",{"data-feather":"list"},null,-1)),HRt=[zRt],qRt={class:"relative flex flex-row flex-grow mb-10 z-0 w-full"},$Rt={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},YRt=It(()=>l("p",{class:"px-3"},"No discussions are found",-1)),WRt=[YRt],KRt=It(()=>l("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),jRt={class:"text-center font-large font-bold text-l drop-shadow-md align-middle"},QRt={key:2,class:"relative flex flex-col flex-grow"},XRt={class:"container pt-4 pb-50 mb-50 w-full"},ZRt={key:0,class:"w-full 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 overflow-hidden p-4 pb-2 h-[600px]"},JRt=It(()=>l("h2",{class:"text-2xl font-bold mb-4"},"Prompt examples",-1)),eAt={key:0,class:"overflow-y-auto flex-grow pr-2 custom-scrollbar"},tAt={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-2"},nAt=["onClick"],sAt=["title"],iAt={class:"absolute inset-0 overflow-hidden"},rAt=It(()=>l("div",{class:"absolute inset-0 bg-gradient-to-b from-transparent via-transparent to-white dark:to-gray-800 group-hover:opacity-0 transition-opacity duration-300"},null,-1)),oAt=It(()=>l("div",{class:"mt-2 text-sm text-gray-500 dark:text-gray-400 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}," Click to select ",-1)),aAt=It(()=>l("div",null,[l("br"),l("br"),l("br"),l("br"),l("br"),l("br"),l("br")],-1)),lAt=It(()=>l("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),cAt={key:0,class:"flex flex-row items-center justify-center h-10"},dAt={key:0,class:"relative flex flex-col no-scrollbar shadow-lg w-1/2 bg-bg-light-tone dark:bg-bg-dark-tone h-full"},uAt={ref:"isolatedContent",class:"h-full"},pAt={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},_At={class:"text-2xl animate-pulse mt-2 text-light-text-panel dark:text-dark-text-panel"},hAt={setup(){},data(){return{lastMessageHtml:"",defaultMessageHtml:` @@ -315,7 +241,7 @@ Error: `+e.error,4,!1)},async unmount_personality(n){if(!n)return{status:!1,erro
- `,memory_icon:Cwt,active_skills:wwt,inactive_skills:Rwt,skillsRegistry:Awt,robot:Nwt,posts_headers:{accept:"application/json","Content-Type":"application/json"},host:"",progress_visibility_val:!0,progress_value:0,msgTypes:{MSG_TYPE_CONTENT:1,MSG_TYPE_CONTENT_INVISIBLE_TO_AI:2,MSG_TYPE_CONTENT_INVISIBLE_TO_USER:3},operationTypes:{MSG_OPERATION_TYPE_ADD_CHUNK:0,MSG_OPERATION_TYPE_SET_CONTENT:1,MSG_OPERATION_TYPE_SET_CONTENT_INVISIBLE_TO_AI:2,MSG_OPERATION_TYPE_SET_CONTENT_INVISIBLE_TO_USER:3,MSG_OPERATION_TYPE_EXCEPTION:4,MSG_OPERATION_TYPE_WARNING:5,MSG_OPERATION_TYPE_INFO:6,MSG_OPERATION_TYPE_STEP:7,MSG_OPERATION_TYPE_STEP_START:8,MSG_OPERATION_TYPE_STEP_PROGRESS:9,MSG_OPERATION_TYPE_STEP_END_SUCCESS:10,MSG_OPERATION_TYPE_STEP_END_FAILURE:11,MSG_OPERATION_TYPE_JSON_INFOS:12,MSG_OPERATION_TYPE_REF:13,MSG_OPERATION_TYPE_CODE:14,MSG_OPERATION_TYPE_UI:15,MSG_OPERATION_TYPE_NEW_MESSAGE:16,MSG_OPERATION_TYPE_FINISHED_MESSAGE:17},senderTypes:{SENDER_TYPES_USER:0,SENDER_TYPES_AI:1,SENDER_TYPES_SYSTEM:2},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isCheckbox:!1,isSelectAll:!1,showSaveConfirmation:!1,showBrainConfirmation:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],database_selectorDialogVisible:!1,isDragOverDiscussion:!1,isDragOverChat:!1,leftPanelCollapsed:!1,rightPanelCollapsed:!0,isOpen:!1,discussion_id:0}},methods:{getRandomEdgePosition(){switch(Math.floor(Math.random()*4)){case 0:return 0;case 1:return 100;case 2:return Math.random()*100;case 3:return Math.random()*100}},selectPrompt(n){this.$refs.chatBox.message=n},extractHtml(){if(this.discussionArr.length>0){const n=this.discussionArr[this.discussionArr.length-1].content,e="```html",t="```";let s=n.indexOf(e);if(s===-1)return this.lastMessageHtml=this.defaultMessageHtml,this.renderIsolatedContent(),this.defaultMessageHtml;s+=e.length;let i=n.indexOf(t,s);i===-1?this.lastMessageHtml=n.slice(s).trim():this.lastMessageHtml=n.slice(s,i).trim()}else this.lastMessageHtml=this.defaultMessageHtml;this.renderIsolatedContent()},renderIsolatedContent(){const n=document.createElement("iframe");if(n.style.border="none",n.style.width="100%",n.style.height="100%",this.$refs.isolatedContent){this.$refs.isolatedContent.innerHTML="",this.$refs.isolatedContent.appendChild(n);const e=n.contentDocument||n.contentWindow.document;e.open(),e.write(` + `,memory_icon:pwt,active_skills:_wt,inactive_skills:hwt,skillsRegistry:fwt,robot:mwt,posts_headers:{accept:"application/json","Content-Type":"application/json"},host:"",progress_visibility_val:!0,progress_value:0,msgTypes:{MSG_TYPE_CONTENT:1,MSG_TYPE_CONTENT_INVISIBLE_TO_AI:2,MSG_TYPE_CONTENT_INVISIBLE_TO_USER:3},operationTypes:{MSG_OPERATION_TYPE_ADD_CHUNK:0,MSG_OPERATION_TYPE_SET_CONTENT:1,MSG_OPERATION_TYPE_SET_CONTENT_INVISIBLE_TO_AI:2,MSG_OPERATION_TYPE_SET_CONTENT_INVISIBLE_TO_USER:3,MSG_OPERATION_TYPE_EXCEPTION:4,MSG_OPERATION_TYPE_WARNING:5,MSG_OPERATION_TYPE_INFO:6,MSG_OPERATION_TYPE_STEP:7,MSG_OPERATION_TYPE_STEP_START:8,MSG_OPERATION_TYPE_STEP_PROGRESS:9,MSG_OPERATION_TYPE_STEP_END_SUCCESS:10,MSG_OPERATION_TYPE_STEP_END_FAILURE:11,MSG_OPERATION_TYPE_JSON_INFOS:12,MSG_OPERATION_TYPE_REF:13,MSG_OPERATION_TYPE_CODE:14,MSG_OPERATION_TYPE_UI:15,MSG_OPERATION_TYPE_NEW_MESSAGE:16,MSG_OPERATION_TYPE_FINISHED_MESSAGE:17},senderTypes:{SENDER_TYPES_USER:0,SENDER_TYPES_AI:1,SENDER_TYPES_SYSTEM:2},list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isCheckbox:!1,isSelectAll:!1,showSaveConfirmation:!1,showBrainConfirmation:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],database_selectorDialogVisible:!1,isDragOverDiscussion:!1,isDragOverChat:!1,leftPanelCollapsed:!1,rightPanelCollapsed:!0,isOpen:!1,discussion_id:0}},methods:{getRandomEdgePosition(){switch(Math.floor(Math.random()*4)){case 0:return 0;case 1:return 100;case 2:return Math.random()*100;case 3:return Math.random()*100}},selectPrompt(n){this.$refs.chatBox.message=n},extractHtml(){if(this.discussionArr.length>0){const n=this.discussionArr[this.discussionArr.length-1].content,e="```html",t="```";let s=n.indexOf(e);if(s===-1)return this.lastMessageHtml=this.defaultMessageHtml,this.renderIsolatedContent(),this.defaultMessageHtml;s+=e.length;let i=n.indexOf(t,s);i===-1?this.lastMessageHtml=n.slice(s).trim():this.lastMessageHtml=n.slice(s,i).trim()}else this.lastMessageHtml=this.defaultMessageHtml;this.renderIsolatedContent()},renderIsolatedContent(){const n=document.createElement("iframe");if(n.style.border="none",n.style.width="100%",n.style.height="100%",this.$refs.isolatedContent){this.$refs.isolatedContent.innerHTML="",this.$refs.isolatedContent.appendChild(n);const e=n.contentDocument||n.contentWindow.document;e.open(),e.write(` ${this.lastMessageHtml} `),e.close()}},async triggerRobotAction(){this.rightPanelCollapsed=!this.rightPanelCollapsed,this.rightPanelCollapsed||(this.leftPanelCollapsed=!0,this.$nextTick(()=>{this.extractHtml()})),console.log(this.rightPanelCollapsed)},add_webpage(){console.log("addWebLink received"),this.$refs.web_url_input_box.showPanel()},addWebpage(){re.post("/add_webpage",{client_id:this.client_id,url:this.$refs.web_url_input_box.inputText},{headers:this.posts_headers}).then(n=>{n&&n.status&&(console.log("Done"),this.recoverFiles())})},show_progress(n){this.progress_visibility_val=!0},hide_progress(n){this.progress_visibility_val=!1},update_progress(n){console.log("Progress update"),this.progress_value=n.value},onSettingsBinding(){try{this.isLoading=!0,re.get("/get_active_binding_settings").then(n=>{if(this.isLoading=!1,n)if(n.data&&Object.keys(n.data).length>0){const e=this.$store.state.bindingsZoo.find(t=>t.name==this.state.config.binding_name);this.$store.state.universalForm.showForm(n.data,"Binding settings - "+e.binding.name,"Save changes","Cancel").then(t=>{try{re.post("/set_active_binding_settings",{client_id:this.$store.state.client_id,settings:t}).then(s=>{s&&s.data?(console.log("binding set with new settings",s.data),this.$store.state.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$store.state.toast.showToast(`Did not get binding settings responses. `+s,4,!1),this.isLoading=!1)})}catch(s){this.$store.state.toast.showToast(`Did not get binding settings responses. @@ -328,15 +254,15 @@ ${e} ${c}`;navigator.clipboard.writeText(d)}else navigator.clipboard.writeText(e);this.$store.state.toast.showToast("Copied to clipboard successfully",4,!0),Le(()=>{ze.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(n,e){e=e||"data.json";const t=document.createElement("a");t.href=URL.createObjectURL(new Blob([JSON.stringify(n,null,2)],{type:"text/plain"})),t.setAttribute("download",e),document.body.appendChild(t),t.click(),document.body.removeChild(t)},saveMarkdowntoFile(n,e){e=e||"data.md";const t=document.createElement("a");t.href=URL.createObjectURL(new Blob([n],{type:"text/plain"})),t.setAttribute("download",e),document.body.appendChild(t),t.click(),document.body.removeChild(t)},parseJsonObj(n){try{return JSON.parse(n)}catch(e){return this.$store.state.toast.showToast(`Could not parse JSON. `+e.message,4,!1),null}},async parseJsonFile(n){return new Promise((e,t)=>{const s=new FileReader;s.onload=i=>e(this.parseJsonObj(i.target.result)),s.onerror=i=>t(i),s.readAsText(n)})},async exportDiscussionsAsMarkdown(){const n=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(n.length>0){console.log("export",n);let e=new Date;const t=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),d="discussions_export_"+(t+"."+s+"."+i+"."+r+o+a)+".md";this.loading=!0;const u=await this.export_multiple_discussions(n,"markdown");u?(this.saveMarkdowntoFile(u,d),this.$store.state.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$store.state.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async exportDiscussions(){},async exportDiscussionsAsJson(){const n=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(n.length>0){console.log("export",n);let e=new Date;const t=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),d="discussions_export_"+(t+"."+s+"."+i+"."+r+o+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(n,"json");u?(this.saveJSONtoFile(u,d),this.$store.state.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$store.state.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussionsBundle(n){},async importDiscussions(n){const e=await this.parseJsonFile(n.target.files[0]);await this.import_multiple_discussions(e)?(this.$store.state.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$store.state.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let n=this.$store.state.personalities;this.personalityAvatars=n.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(n){if(n.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===n),t=this.personalityAvatars[e];if(t)return console.log("Avatar",t.avatar),t.avatar},setFileListChat(n){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(n)}catch(e){this.$store.state.toast.showToast(`Failed to set filelist in chatbox -`+e.message,4,!1)}this.isDragOverChat=!1},async setFileListDiscussion(n){if(n.length>1){this.$store.state.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(n[0]);await this.import_multiple_discussions(e)?(this.$store.state.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$store.state.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1}},async created(){console.log("Created discussions view");const e=(await re.get("/get_versionID")).data.versionId;qe.onopen=()=>{console.log("WebSocket connection established."),this.currentDiscussion!=null&&(this.setPageTitle(item),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(item.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.versionId!==e&&(this.$store.commit("updateVersionId",e),window.location.reload(!0)),this.$nextTick(()=>{ze.replace()}),console.log("Connected to socket io");try{this.$store.state.loading_infos="Getting version",this.$store.state.loading_progress=30,await this.$store.dispatch("getVersion")}catch(t){console.log("Error cought:",t)}try{for(this.$store.state.loading_infos="Loading Configuration";qe.id===void 0;)await new Promise(t=>setTimeout(t,100));this.$store.state.client_id=qe.id,console.log(this.$store.state.client_id),await this.$store.dispatch("refreshConfig"),console.log("Config ready")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Loading Database",this.$store.state.loading_progress=20,await this.$store.dispatch("refreshDatabase")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting Bindings list",this.$store.state.loading_progress=40,await this.$store.dispatch("refreshBindings")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting personalities zoo",this.$store.state.loading_progress=70,await this.$store.dispatch("refreshPersonalitiesZoo")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting mounted personalities",this.$store.state.loading_progress=80,await this.$store.dispatch("refreshMountedPersonalities")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting models zoo",this.$store.state.loading_progress=90,await this.$store.dispatch("refreshModelsZoo")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting active models",this.$store.state.loading_progress=100,await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshModelStatus")}catch(t){console.log("Error cought:",t)}try{await this.$store.dispatch("fetchLanguages"),await this.$store.dispatch("fetchLanguage")}catch(t){console.log("Error cought:",t)}try{await this.$store.dispatch("fetchisRTOn")}catch(t){console.log("Error cought:",t)}this.$store.state.isConnected=!0,this.$store.state.client_id=qe.id,console.log("Ready"),this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,this.$store.state.ready=!0,qe.on("connected",this.socketIOConnected),qe.on("disconnected",this.socketIODisconnected),console.log("Added events"),qe.on("show_progress",this.show_progress),qe.on("hide_progress",this.hide_progress),qe.on("update_progress",this.update_progress),qe.on("notification",this.notify),qe.on("new_message",this.new_message),qe.on("update_message",this.update_message),qe.on("close_message",this.finalMsgEvent),qe.on("disucssion_renamed",t=>{console.log("Received new title",t.discussion_id,t.title);const s=this.list.findIndex(r=>r.id==t.discussion_id),i=this.list[s];i.title=t.title}),qe.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason),this.socketIODisconnected()},qe.on("connect_error",t=>{t.message==="ERR_CONNECTION_REFUSED"?console.error("Connection refused. The server is not available."):console.error("Connection error:",t),this.$store.state.isConnected=!1}),qe.onerror=t=>{console.log("WebSocket connection error:",t.code,t.reason),this.socketIODisconnected(),qe.disconnect()}},async mounted(){qe.on("refresh_files",()=>{this.recoverFiles()}),this.$nextTick(()=>{ze.replace()})},async activated(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&Le(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),this.$store.state.config.show_news_panel&&this.$store.state.news.show()},components:{Discussion:QE,Message:zN,ChatBox:HN,WelcomeComponent:qN,ChoiceDialog:jE,ProgressBar:up,InputBox:BN,SkillsLibraryViewer:GN},watch:{messages:{handler:"extractHtml",deep:!0},progress_visibility_val(n){console.log("progress_visibility changed to "+n)},filterTitle(n){n==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(n){Le(()=>{ze.replace()}),n||(this.isSelectAll=!1)},socketConnected(n){console.log("Websocket connected (watch)",n)},showConfirmation(){Le(()=>{ze.replace()})},isSearch(){Le(()=>{ze.replace()})}},computed:{...XD({versionId:n=>n.versionId}),progress_visibility:{get(){return self.progress_visibility_val}},version_info:{get(){return this.$store.state.version!=null&&this.$store.state.version!="unknown"?" v"+this.$store.state.version:""}},loading_infos:{get(){return this.$store.state.loading_infos}},loading_progress:{get(){return this.$store.state.loading_progress}},isModelOk:{get(){return this.$store.state.isModelOk},set(n){this.$store.state.isModelOk=n}},isGenerating:{get(){return this.$store.state.isGenerating},set(n){this.$store.state.isGenerating=n}},personality(){console.log("personality:",this.$store.state.config.personalities[this.$store.state.config.active_personality_id]);const n=this.$store.state.config.personalities[this.$store.state.config.active_personality_id];console.log("peronslities",this.$store.state.personalities[0]);const e=this.$store.state.personalities.find(t=>t.full_path===n);return console.log("personality:",e),e},prompts_list(){return console.log(this.personality.prompts_list),this.personality.prompts_list},formatted_database_name(){return this.$store.state.config.discussion_db_name},UseDiscussionHistory(){return this.$store.state.config.activate_skills_lib},isReady(){return this.$store.state.ready},databases(){return this.$store.state.databases},client_id(){return qe.id},showLeftPanel(){return this.$store.state.ready&&!this.leftPanelCollapsed},showRightPanel(){return this.$store.state.ready&&!this.rightPanelCollapsed},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 Le(()=>{ze.replace()}),this.list.filter(n=>n.checkBoxValue==!0)}}},AAt=Object.assign(RAt,{__name:"DiscussionsView",setup(n){return fi(()=>{tO()}),re.defaults.baseURL="/",(e,t)=>(T(),x(Fe,null,[V(Hs,{name:"fade-and-fly"},{default:Ie(()=>[e.isReady?G("",!0):(T(),x("div",Owt,[l("div",Mwt,[(T(),x(Fe,null,Ke(50,s=>l("div",{key:s,class:"absolute animate-fall animate-giggle",style:Kt({left:`${Math.random()*100}%`,top:"-20px",animationDuration:`${3+Math.random()*7}s`,animationDelay:`${Math.random()*5}s`})}," 🪶 ",4)),64))]),l("div",Iwt,[l("div",kwt,[Dwt,Lwt,Pwt,l("p",Fwt,K(e.version_info),1),Uwt]),l("div",Bwt,[l("div",Gwt,[l("p",Vwt,K(e.loading_infos)+"... ",1),l("p",zwt,K(Math.round(e.loading_progress))+"% ",1)])])])]))]),_:1}),e.isReady?(T(),x("button",{key:0,onClick:t[0]||(t[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-2 left-2 p-3 bg-white bg-opacity-0 cursor-pointer transition-all duration-300 hover:scale-110 hover:bg-opacity-20 hover:shadow-xl group"},[P(l("div",null,qwt,512),[[wt,e.leftPanelCollapsed]]),P(l("div",null,Ywt,512),[[wt,!e.leftPanelCollapsed]])])):G("",!0),e.isReady?(T(),x("button",{key:1,onClick:t[1]||(t[1]=j(s=>e.triggerRobotAction(),["stop"])),class:"absolute z-50 bottom-20 right-2 p-3 bg-white bg-opacity-10 rounded-full cursor-pointer transition-all duration-300 hover:scale-110 hover:bg-opacity-20 animate-pulse shadow-lg hover:shadow-xl group"},Kwt)):G("",!0),V(Hs,{name:"slide-right"},{default:Ie(()=>[e.showLeftPanel?(T(),x("div",jwt,[l("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:t[29]||(t[29]=j(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[l("div",Qwt,[l("div",Xwt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:t[2]||(t[2]=s=>e.createNewDiscussion())},Jwt),l("button",{class:Ge(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:t[3]||(t[3]=s=>e.isCheckbox=!e.isCheckbox)},tRt,2),l("button",nRt,[l("i",{"data-feather":"trash-2",onClick:t[4]||(t[4]=j(()=>{},["stop"]))})]),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button",onClick:t[5]||(t[5]=j(s=>e.database_selectorDialogVisible=!0,["stop"]))},iRt),l("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:t[6]||(t[6]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:t[7]||(t[7]=j(s=>e.$refs.fileDialog.click(),["stop"]))},oRt),l("input",{type:"file",ref:"bundleLoadingDialog",style:{display:"none"},onChange:t[8]||(t[8]=(...s)=>e.importDiscussionsBundle&&e.importDiscussionsBundle(...s))},null,544),e.showSaveConfirmation?G("",!0):(T(),x("button",{key:0,title:"Import discussion bundle",onClick:t[9]||(t[9]=j(s=>e.$refs.bundleLoadingDialog.click(),["stop"])),class:"text-2xl hover:text-secondary duration-75 active:scale-90"},lRt)),e.isOpen?(T(),x("div",cRt,[l("button",{onClick:t[10]||(t[10]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),l("button",{onClick:t[11]||(t[11]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):G("",!0),l("button",{class:Ge(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:t[12]||(t[12]=s=>e.isSearch=!e.isSearch)},uRt,2),e.showSaveConfirmation?(T(),x("div",pRt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:t[13]||(t[13]=j(s=>e.showSaveConfirmation=!1,["stop"]))},hRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:t[14]||(t[14]=j(s=>e.save_configuration(),["stop"]))},mRt)])):G("",!0),e.loading?G("",!0):(T(),x("button",{key:3,type:"button",onClick:t[15]||(t[15]=j((...s)=>e.addDiscussion2SkillsLibrary&&e.addDiscussion2SkillsLibrary(...s),["stop"])),title:"Add this discussion content to skills database",class:"w-6 hover:text-secondary duration-75 active:scale-90"},bRt)),!e.loading&&e.$store.state.config.activate_skills_lib?(T(),x("button",{key:4,type:"button",onClick:t[16]||(t[16]=j((...s)=>e.toggleSkillsLib&&e.toggleSkillsLib(...s),["stop"])),title:"Skills database is activated",class:"w-6 hover:text-secondary duration-75 active:scale-90"},yRt)):G("",!0),!e.loading&&!e.$store.state.config.activate_skills_lib?(T(),x("button",{key:5,type:"button",onClick:t[17]||(t[17]=j((...s)=>e.toggleSkillsLib&&e.toggleSkillsLib(...s),["stop"])),title:"Skills database is deactivated",class:"w-6 hover:text-secondary duration-75 active:scale-90"},SRt)):G("",!0),e.loading?G("",!0):(T(),x("button",{key:6,type:"button",onClick:t[18]||(t[18]=j((...s)=>e.showSkillsLib&&e.showSkillsLib(...s),["stop"])),title:"Show Skills database",class:"w-6 hover:text-secondary duration-75 active:scale-90"},xRt)),e.loading?(T(),x("div",CRt,RRt)):G("",!0)]),e.isSearch?(T(),x("div",ARt,[l("div",NRt,[l("div",ORt,[MRt,l("div",IRt,[l("div",{class:Ge(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:t[19]||(t[19]=s=>e.filterTitle="")},DRt,2)]),P(l("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":t[20]||(t[20]=s=>e.filterTitle=s),onInput:t[21]||(t[21]=s=>e.filterDiscussions())},null,544),[[pe,e.filterTitle]])])])])):G("",!0),e.isCheckbox?(T(),x("hr",LRt)):G("",!0),e.isCheckbox?(T(),x("div",PRt,[l("div",FRt,[e.selectedDiscussions.length>0?(T(),x("p",URt,"Selected: "+K(e.selectedDiscussions.length),1)):G("",!0)]),l("div",BRt,[e.selectedDiscussions.length>0?(T(),x("div",GRt,[e.showConfirmation?G("",!0):(T(),x("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:t[22]||(t[22]=j(s=>e.showConfirmation=!0,["stop"]))},zRt)),e.showConfirmation?(T(),x("div",HRt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:t[23]||(t[23]=j((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},$Rt),l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:t[24]||(t[24]=j(s=>e.showConfirmation=!1,["stop"]))},WRt)])):G("",!0)])):G("",!0),l("div",KRt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a json file",type:"button",onClick:t[25]||(t[25]=j((...s)=>e.exportDiscussionsAsJson&&e.exportDiscussionsAsJson(...s),["stop"]))},QRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a martkdown file",type:"button",onClick:t[26]||(t[26]=j((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},ZRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a martkdown file",type:"button",onClick:t[27]||(t[27]=j((...s)=>e.exportDiscussionsAsMarkdown&&e.exportDiscussionsAsMarkdown(...s),["stop"]))},eAt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:t[28]||(t[28]=j((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},nAt)])])])):G("",!0)]),l("div",sAt,[l("div",{class:Ge(["mx-0 flex flex-col flex-grow w-full",e.isDragOverDiscussion?"pointer-events-none":""])},[l("div",{id:"dis-list",class:Ge([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow w-full pb-80"])},[e.list.length>0?(T(),dt(di,{key:0,name:"list"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(e.list,(s,i)=>(T(),dt(QE,{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),onOpenFolder:e.openFolder,onEditTitle:e.editTitle,onMakeTitle:e.makeTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onOpenFolder","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):G("",!0),e.list.length<1?(T(),x("div",iAt,oAt)):G("",!0),aAt],2)],2)])],32),l("div",{class:"absolute h-15 bottom-0 left-0 w-full unicolor-panels-color light-text-panel py-4 cursor-pointer text-light-text-panel dark:text-dark-text-panel hover:text-secondary",onClick:t[30]||(t[30]=(...s)=>e.showDatabaseSelector&&e.showDatabaseSelector(...s))},[l("p",lAt,K(e.formatted_database_name.replace("_"," ")),1)])])):G("",!0)]),_:1}),e.isReady?(T(),x("div",cAt,[l("div",{id:"messages-list",class:Ge(["w-full z-0 flex flex-col flex-grow overflow-y-auto scrollbar",e.isDragOverChat?"pointer-events-none":""])},[l("div",dAt,[e.discussionArr.length>0?(T(),dt(di,{key:0,name:"list"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(e.discussionArr,(s,i)=>(T(),dt(zN,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"msg-"+s.id,host:e.host,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","host","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128)),e.discussionArr.length<2&&e.personality.prompts_list.length>0?(T(),x("div",uAt,[pAt,e.discussionArr.length<2&&e.personality.prompts_list.length>0?(T(),x("div",_At,[l("div",hAt,[(T(!0),x(Fe,null,Ke(e.personality.prompts_list,(s,i)=>(T(),x("div",{key:i,onClick:r=>e.selectPrompt(s),class:"bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg p-4 cursor-pointer hover:shadow-lg transition-all duration-300 ease-in-out transform hover:scale-105 flex flex-col justify-between h-[220px] overflow-hidden group"},[l("div",{title:s,class:"text-base text-gray-700 dark:text-gray-300 overflow-hidden relative h-full"},[l("div",gAt,K(s),1),bAt],8,mAt),EAt],8,fAt))),128))])])):G("",!0)])):G("",!0)]),_:1})):G("",!0),e.currentDiscussion.id?G("",!0):(T(),dt(qN,{key:1})),yAt]),vAt],2),e.currentDiscussion.id?(T(),x("div",SAt,[V(HN,{ref:"chatBox",loading:e.isGenerating,discussionList:e.discussionArr,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onPersonalitySelected:e.recoverFiles,onMessageSentEvent:e.sendMsg,onSendCMDEvent:e.sendCmd,onAddWebLink:e.add_webpage,onCreateEmptyUserMessage:e.createEmptyUserMessage,onCreateEmptyAIMessage:e.createEmptyAIMessage,onStopGenerating:e.stopGenerating,onLoaded:e.recoverFiles},null,8,["loading","discussionList","on-show-toast-message","on-talk","onPersonalitySelected","onMessageSentEvent","onSendCMDEvent","onAddWebLink","onCreateEmptyUserMessage","onCreateEmptyAIMessage","onStopGenerating","onLoaded"])])):G("",!0)])):G("",!0),V(Hs,{name:"slide-left"},{default:Ie(()=>[e.showRightPanel?(T(),x("div",TAt,[l("div",xAt,null,512)])):G("",!0)]),_:1}),V(jE,{reference:"database_selector",class:"z-20",show:e.database_selectorDialogVisible,choices:e.databases,"can-remove":!0,onChoiceRemoved:e.ondatabase_selectorDialogRemoved,onChoiceSelected:e.ondatabase_selectorDialogSelected,onCloseDialog:e.onclosedatabase_selectorDialog,onChoiceValidated:e.onvalidatedatabase_selectorChoice},null,8,["show","choices","onChoiceRemoved","onChoiceSelected","onCloseDialog","onChoiceValidated"]),P(l("div",CAt,[V(up,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),l("p",wAt,K(e.loading_infos)+" ...",1)],512),[[wt,e.progress_visibility]]),V(BN,{"prompt-text":"Enter the url to the page to use as discussion support",onOk:e.addWebpage,ref:"web_url_input_box"},null,8,["onOk"]),V(GN,{ref:"skills_lib"},null,512)],64))}}),NAt=ot(AAt,[["__scopeId","data-v-b57892be"]]);/** +`+e.message,4,!1)}this.isDragOverChat=!1},async setFileListDiscussion(n){if(n.length>1){this.$store.state.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(n[0]);await this.import_multiple_discussions(e)?(this.$store.state.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$store.state.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1}},async created(){console.log("Created discussions view");const e=(await re.get("/get_versionID")).data.versionId;qe.onopen=()=>{console.log("WebSocket connection established."),this.currentDiscussion!=null&&(this.setPageTitle(item),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(item.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.versionId!==e&&(this.$store.commit("updateVersionId",e),window.location.reload(!0)),this.$nextTick(()=>{ze.replace()}),console.log("Connected to socket io");try{this.$store.state.loading_infos="Getting version",this.$store.state.loading_progress=30,await this.$store.dispatch("getVersion")}catch(t){console.log("Error cought:",t)}try{for(this.$store.state.loading_infos="Loading Configuration";qe.id===void 0;)await new Promise(t=>setTimeout(t,100));this.$store.state.client_id=qe.id,console.log(this.$store.state.client_id),await this.$store.dispatch("refreshConfig"),console.log("Config ready")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Loading Database",this.$store.state.loading_progress=20,await this.$store.dispatch("refreshDatabase")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting Bindings list",this.$store.state.loading_progress=40,await this.$store.dispatch("refreshBindings")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting personalities zoo",this.$store.state.loading_progress=70,await this.$store.dispatch("refreshPersonalitiesZoo")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting mounted personalities",this.$store.state.loading_progress=80,await this.$store.dispatch("refreshMountedPersonalities")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting models zoo",this.$store.state.loading_progress=90,await this.$store.dispatch("refreshModelsZoo")}catch(t){console.log("Error cought:",t)}try{this.$store.state.loading_infos="Getting active models",this.$store.state.loading_progress=100,await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshModelStatus")}catch(t){console.log("Error cought:",t)}try{await this.$store.dispatch("fetchLanguages"),await this.$store.dispatch("fetchLanguage")}catch(t){console.log("Error cought:",t)}try{await this.$store.dispatch("fetchisRTOn")}catch(t){console.log("Error cought:",t)}this.$store.state.isConnected=!0,this.$store.state.client_id=qe.id,console.log("Ready"),this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,this.$store.state.ready=!0,qe.on("connected",this.socketIOConnected),qe.on("disconnected",this.socketIODisconnected),console.log("Added events"),qe.on("show_progress",this.show_progress),qe.on("hide_progress",this.hide_progress),qe.on("update_progress",this.update_progress),qe.on("notification",this.notify),qe.on("new_message",this.new_message),qe.on("update_message",this.update_message),qe.on("close_message",this.finalMsgEvent),qe.on("disucssion_renamed",t=>{console.log("Received new title",t.discussion_id,t.title);const s=this.list.findIndex(r=>r.id==t.discussion_id),i=this.list[s];i.title=t.title}),qe.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason),this.socketIODisconnected()},qe.on("connect_error",t=>{t.message==="ERR_CONNECTION_REFUSED"?console.error("Connection refused. The server is not available."):console.error("Connection error:",t),this.$store.state.isConnected=!1}),qe.onerror=t=>{console.log("WebSocket connection error:",t.code,t.reason),this.socketIODisconnected(),qe.disconnect()}},async mounted(){qe.on("refresh_files",()=>{this.recoverFiles()}),this.$nextTick(()=>{ze.replace()})},async activated(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&Le(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)}),this.$store.state.config.show_news_panel&&this.$store.state.news.show()},components:{Discussion:QE,Message:zN,ChatBox:HN,WelcomeComponent:qN,ChoiceDialog:jE,ProgressBar:up,InputBox:BN,SkillsLibraryViewer:GN},watch:{messages:{handler:"extractHtml",deep:!0},progress_visibility_val(n){console.log("progress_visibility changed to "+n)},filterTitle(n){n==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(n){Le(()=>{ze.replace()}),n||(this.isSelectAll=!1)},socketConnected(n){console.log("Websocket connected (watch)",n)},showConfirmation(){Le(()=>{ze.replace()})},isSearch(){Le(()=>{ze.replace()})}},computed:{...XD({versionId:n=>n.versionId}),progress_visibility:{get(){return self.progress_visibility_val}},version_info:{get(){return this.$store.state.version!=null&&this.$store.state.version!="unknown"?" v"+this.$store.state.version:""}},loading_infos:{get(){return this.$store.state.loading_infos}},loading_progress:{get(){return this.$store.state.loading_progress}},isModelOk:{get(){return this.$store.state.isModelOk},set(n){this.$store.state.isModelOk=n}},isGenerating:{get(){return this.$store.state.isGenerating},set(n){this.$store.state.isGenerating=n}},personality(){console.log("personality:",this.$store.state.config.personalities[this.$store.state.config.active_personality_id]);const n=this.$store.state.config.personalities[this.$store.state.config.active_personality_id];console.log("peronslities",this.$store.state.personalities[0]);const e=this.$store.state.personalities.find(t=>t.full_path===n);return console.log("personality:",e),e},prompts_list(){return console.log(this.personality.prompts_list),this.personality.prompts_list},formatted_database_name(){return this.$store.state.config.discussion_db_name},UseDiscussionHistory(){return this.$store.state.config.activate_skills_lib},isReady(){return this.$store.state.ready},databases(){return this.$store.state.databases},client_id(){return qe.id},showLeftPanel(){return this.$store.state.ready&&!this.leftPanelCollapsed},showRightPanel(){return this.$store.state.ready&&!this.rightPanelCollapsed},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 Le(()=>{ze.replace()}),this.list.filter(n=>n.checkBoxValue==!0)}}},fAt=Object.assign(hAt,{__name:"DiscussionsView",setup(n){return fi(()=>{tO()}),re.defaults.baseURL="/",(e,t)=>(T(),C(Ge,null,[V(Hs,{name:"fade-and-fly"},{default:Me(()=>[e.isReady?G("",!0):(T(),C("div",gwt,[l("div",bwt,[(T(),C(Ge,null,Xe(50,s=>l("div",{key:s,class:"absolute animate-fall animate-giggle",style:jt({left:`${Math.random()*100}%`,top:"-20px",animationDuration:`${3+Math.random()*7}s`,animationDelay:`${Math.random()*5}s`})}," 🪶 ",4)),64))]),l("div",Ewt,[l("div",ywt,[vwt,Swt,Twt,l("p",xwt,K(e.version_info),1),Cwt]),l("div",wwt,[l("div",Rwt,[l("p",Awt,K(e.loading_infos)+"... ",1),l("p",Nwt,K(Math.round(e.loading_progress))+"% ",1)])])])]))]),_:1}),e.isReady?(T(),C("button",{key:0,onClick:t[0]||(t[0]=(...s)=>e.togglePanel&&e.togglePanel(...s)),class:"absolute top-2 left-2 p-3 bg-white bg-opacity-0 cursor-pointer transition-all duration-300 hover:scale-110 hover:bg-opacity-20 hover:shadow-xl group"},[P(l("div",null,Iwt,512),[[wt,e.leftPanelCollapsed]]),P(l("div",null,kwt,512),[[wt,!e.leftPanelCollapsed]])])):G("",!0),e.isReady?(T(),C("button",{key:1,onClick:t[1]||(t[1]=j(s=>e.triggerRobotAction(),["stop"])),class:"absolute z-50 bottom-20 right-2 p-3 bg-white bg-opacity-10 rounded-full cursor-pointer transition-all duration-300 hover:scale-110 hover:bg-opacity-20 animate-pulse shadow-lg hover:shadow-xl group"},Lwt)):G("",!0),V(Hs,{name:"slide-right"},{default:Me(()=>[e.showLeftPanel?(T(),C("div",Pwt,[l("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:t[29]||(t[29]=j(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[l("div",Fwt,[l("div",Uwt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:t[2]||(t[2]=s=>e.createNewDiscussion())},Gwt),l("button",{class:Be(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:t[3]||(t[3]=s=>e.isCheckbox=!e.isCheckbox)},zwt,2),l("button",Hwt,[l("i",{"data-feather":"trash-2",onClick:t[4]||(t[4]=j(()=>{},["stop"]))})]),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button",onClick:t[5]||(t[5]=j(s=>e.database_selectorDialogVisible=!0,["stop"]))},$wt),l("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:t[6]||(t[6]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:t[7]||(t[7]=j(s=>e.$refs.fileDialog.click(),["stop"]))},Wwt),l("input",{type:"file",ref:"bundleLoadingDialog",style:{display:"none"},onChange:t[8]||(t[8]=(...s)=>e.importDiscussionsBundle&&e.importDiscussionsBundle(...s))},null,544),e.showSaveConfirmation?G("",!0):(T(),C("button",{key:0,title:"Import discussion bundle",onClick:t[9]||(t[9]=j(s=>e.$refs.bundleLoadingDialog.click(),["stop"])),class:"text-2xl hover:text-secondary duration-75 active:scale-90"},jwt)),e.isOpen?(T(),C("div",Qwt,[l("button",{onClick:t[10]||(t[10]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},"LOLLMS"),l("button",{onClick:t[11]||(t[11]=(...s)=>e.importChatGPT&&e.importChatGPT(...s))},"ChatGPT")])):G("",!0),l("button",{class:Be(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:t[12]||(t[12]=s=>e.isSearch=!e.isSearch)},Zwt,2),e.showSaveConfirmation?(T(),C("div",Jwt,[l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:t[13]||(t[13]=j(s=>e.showSaveConfirmation=!1,["stop"]))},tRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:t[14]||(t[14]=j(s=>e.save_configuration(),["stop"]))},sRt)])):G("",!0),e.loading?G("",!0):(T(),C("button",{key:3,type:"button",onClick:t[15]||(t[15]=j((...s)=>e.addDiscussion2SkillsLibrary&&e.addDiscussion2SkillsLibrary(...s),["stop"])),title:"Add this discussion content to skills database",class:"w-6 hover:text-secondary duration-75 active:scale-90"},rRt)),!e.loading&&e.$store.state.config.activate_skills_lib?(T(),C("button",{key:4,type:"button",onClick:t[16]||(t[16]=j((...s)=>e.toggleSkillsLib&&e.toggleSkillsLib(...s),["stop"])),title:"Skills database is activated",class:"w-6 hover:text-secondary duration-75 active:scale-90"},aRt)):G("",!0),!e.loading&&!e.$store.state.config.activate_skills_lib?(T(),C("button",{key:5,type:"button",onClick:t[17]||(t[17]=j((...s)=>e.toggleSkillsLib&&e.toggleSkillsLib(...s),["stop"])),title:"Skills database is deactivated",class:"w-6 hover:text-secondary duration-75 active:scale-90"},cRt)):G("",!0),e.loading?G("",!0):(T(),C("button",{key:6,type:"button",onClick:t[18]||(t[18]=j((...s)=>e.showSkillsLib&&e.showSkillsLib(...s),["stop"])),title:"Show Skills database",class:"w-6 hover:text-secondary duration-75 active:scale-90"},uRt)),e.loading?(T(),C("div",pRt,hRt)):G("",!0)]),e.isSearch?(T(),C("div",fRt,[l("div",mRt,[l("div",gRt,[bRt,l("div",ERt,[l("div",{class:Be(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:t[19]||(t[19]=s=>e.filterTitle="")},vRt,2)]),P(l("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":t[20]||(t[20]=s=>e.filterTitle=s),onInput:t[21]||(t[21]=s=>e.filterDiscussions())},null,544),[[pe,e.filterTitle]])])])])):G("",!0),e.isCheckbox?(T(),C("hr",SRt)):G("",!0),e.isCheckbox?(T(),C("div",TRt,[l("div",xRt,[e.selectedDiscussions.length>0?(T(),C("p",CRt,"Selected: "+K(e.selectedDiscussions.length),1)):G("",!0)]),l("div",wRt,[e.selectedDiscussions.length>0?(T(),C("div",RRt,[e.showConfirmation?G("",!0):(T(),C("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:t[22]||(t[22]=j(s=>e.showConfirmation=!0,["stop"]))},NRt)),e.showConfirmation?(T(),C("div",ORt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:t[23]||(t[23]=j((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},MRt),l("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:t[24]||(t[24]=j(s=>e.showConfirmation=!1,["stop"]))},DRt)])):G("",!0)])):G("",!0),l("div",LRt,[l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a json file",type:"button",onClick:t[25]||(t[25]=j((...s)=>e.exportDiscussionsAsJson&&e.exportDiscussionsAsJson(...s),["stop"]))},FRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a martkdown file",type:"button",onClick:t[26]||(t[26]=j((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},BRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a martkdown file",type:"button",onClick:t[27]||(t[27]=j((...s)=>e.exportDiscussionsAsMarkdown&&e.exportDiscussionsAsMarkdown(...s),["stop"]))},VRt),l("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:t[28]||(t[28]=j((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},HRt)])])])):G("",!0)]),l("div",qRt,[l("div",{class:Be(["mx-0 flex flex-col flex-grow w-full",e.isDragOverDiscussion?"pointer-events-none":""])},[l("div",{id:"dis-list",class:Be([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow w-full pb-80"])},[e.list.length>0?(T(),dt(di,{key:0,name:"list"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(e.list,(s,i)=>(T(),dt(QE,{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),onOpenFolder:e.openFolder,onEditTitle:e.editTitle,onMakeTitle:e.makeTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onOpenFolder","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):G("",!0),e.list.length<1?(T(),C("div",$Rt,WRt)):G("",!0),KRt],2)],2)])],32),l("div",{class:"absolute h-15 bottom-0 left-0 w-full unicolor-panels-color light-text-panel py-4 cursor-pointer text-light-text-panel dark:text-dark-text-panel hover:text-secondary",onClick:t[30]||(t[30]=(...s)=>e.showDatabaseSelector&&e.showDatabaseSelector(...s))},[l("p",jRt,K(e.formatted_database_name.replace("_"," ")),1)])])):G("",!0)]),_:1}),e.isReady?(T(),C("div",QRt,[l("div",{id:"messages-list",class:Be(["w-full z-0 flex flex-col flex-grow overflow-y-auto scrollbar",e.isDragOverChat?"pointer-events-none":""])},[l("div",XRt,[e.discussionArr.length>0?(T(),dt(di,{key:0,name:"list"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(e.discussionArr,(s,i)=>(T(),dt(zN,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"msg-"+s.id,host:e.host,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","host","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128)),e.discussionArr.length<2&&e.personality.prompts_list.length>0?(T(),C("div",ZRt,[JRt,e.discussionArr.length<2&&e.personality.prompts_list.length>0?(T(),C("div",eAt,[l("div",tAt,[(T(!0),C(Ge,null,Xe(e.personality.prompts_list,(s,i)=>(T(),C("div",{key:i,onClick:r=>e.selectPrompt(s),class:"bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg p-4 cursor-pointer hover:shadow-lg transition-all duration-300 ease-in-out transform hover:scale-105 flex flex-col justify-between h-[220px] overflow-hidden group"},[l("div",{title:s,class:"text-base text-gray-700 dark:text-gray-300 overflow-hidden relative h-full"},[l("div",iAt,K(s),1),rAt],8,sAt),oAt],8,nAt))),128))])])):G("",!0)])):G("",!0)]),_:1})):G("",!0),e.currentDiscussion.id?G("",!0):(T(),dt(qN,{key:1})),aAt]),lAt],2),e.currentDiscussion.id?(T(),C("div",cAt,[V(HN,{ref:"chatBox",loading:e.isGenerating,discussionList:e.discussionArr,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onPersonalitySelected:e.recoverFiles,onMessageSentEvent:e.sendMsg,onSendCMDEvent:e.sendCmd,onAddWebLink:e.add_webpage,onCreateEmptyUserMessage:e.createEmptyUserMessage,onCreateEmptyAIMessage:e.createEmptyAIMessage,onStopGenerating:e.stopGenerating,onLoaded:e.recoverFiles},null,8,["loading","discussionList","on-show-toast-message","on-talk","onPersonalitySelected","onMessageSentEvent","onSendCMDEvent","onAddWebLink","onCreateEmptyUserMessage","onCreateEmptyAIMessage","onStopGenerating","onLoaded"])])):G("",!0)])):G("",!0),V(Hs,{name:"slide-left"},{default:Me(()=>[e.showRightPanel?(T(),C("div",dAt,[l("div",uAt,null,512)])):G("",!0)]),_:1}),V(jE,{reference:"database_selector",class:"z-20",show:e.database_selectorDialogVisible,choices:e.databases,"can-remove":!0,onChoiceRemoved:e.ondatabase_selectorDialogRemoved,onChoiceSelected:e.ondatabase_selectorDialogSelected,onCloseDialog:e.onclosedatabase_selectorDialog,onChoiceValidated:e.onvalidatedatabase_selectorChoice},null,8,["show","choices","onChoiceRemoved","onChoiceSelected","onCloseDialog","onChoiceValidated"]),P(l("div",pAt,[V(up,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),l("p",_At,K(e.loading_infos)+" ...",1)],512),[[wt,e.progress_visibility]]),V(BN,{"prompt-text":"Enter the url to the page to use as discussion support",onOk:e.addWebpage,ref:"web_url_input_box"},null,8,["onOk"]),V(GN,{ref:"skills_lib"},null,512)],64))}}),mAt=ot(fAt,[["__scopeId","data-v-49b908b4"]]);/** * @license * Copyright 2010-2023 Three.js Authors * SPDX-License-Identifier: MIT - */const cy="159",OAt=0,tC=1,MAt=2,nO=1,IAt=2,Mi=3,Vi=0,Kn=1,ri=2,gr=0,sa=1,nC=2,sC=3,iC=4,kAt=5,qr=100,DAt=101,LAt=102,rC=103,oC=104,PAt=200,FAt=201,UAt=202,BAt=203,hb=204,fb=205,GAt=206,VAt=207,zAt=208,HAt=209,qAt=210,$At=211,YAt=212,WAt=213,KAt=214,jAt=0,QAt=1,XAt=2,gu=3,ZAt=4,JAt=5,e2t=6,t2t=7,dy=0,n2t=1,s2t=2,br=0,i2t=1,r2t=2,o2t=3,a2t=4,l2t=5,aC="attached",c2t="detached",sO=300,ba=301,Ea=302,mb=303,gb=304,bp=306,ya=1e3,fs=1001,bu=1002,yn=1003,bb=1004,Vd=1005,$n=1006,iO=1007,co=1008,Er=1009,d2t=1010,u2t=1011,uy=1012,rO=1013,_r=1014,Di=1015,nc=1016,oO=1017,aO=1018,eo=1020,p2t=1021,ms=1023,_2t=1024,h2t=1025,to=1026,va=1027,f2t=1028,lO=1029,m2t=1030,cO=1031,dO=1033,qm=33776,$m=33777,Ym=33778,Wm=33779,lC=35840,cC=35841,dC=35842,uC=35843,uO=36196,pC=37492,_C=37496,hC=37808,fC=37809,mC=37810,gC=37811,bC=37812,EC=37813,yC=37814,vC=37815,SC=37816,TC=37817,xC=37818,CC=37819,wC=37820,RC=37821,Km=36492,AC=36494,NC=36495,g2t=36283,OC=36284,MC=36285,IC=36286,sc=2300,Sa=2301,jm=2302,kC=2400,DC=2401,LC=2402,b2t=2500,E2t=0,pO=1,Eb=2,_O=3e3,no=3001,y2t=3200,v2t=3201,py=0,S2t=1,gs="",rn="srgb",Nn="srgb-linear",_y="display-p3",Ep="display-p3-linear",Eu="linear",Xt="srgb",yu="rec709",vu="p3",wo=7680,PC=519,T2t=512,x2t=513,C2t=514,hO=515,w2t=516,R2t=517,A2t=518,N2t=519,yb=35044,FC="300 es",vb=1035,Li=2e3,Su=2001;class $a{addEventListener(e,t){this._listeners===void 0&&(this._listeners={});const s=this._listeners;s[e]===void 0&&(s[e]=[]),s[e].indexOf(t)===-1&&s[e].push(t)}hasEventListener(e,t){if(this._listeners===void 0)return!1;const s=this._listeners;return s[e]!==void 0&&s[e].indexOf(t)!==-1}removeEventListener(e,t){if(this._listeners===void 0)return;const i=this._listeners[e];if(i!==void 0){const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const s=this._listeners[e.type];if(s!==void 0){e.target=this;const i=s.slice(0);for(let r=0,o=i.length;r>8&255]+On[n>>16&255]+On[n>>24&255]+"-"+On[e&255]+On[e>>8&255]+"-"+On[e>>16&15|64]+On[e>>24&255]+"-"+On[t&63|128]+On[t>>8&255]+"-"+On[t>>16&255]+On[t>>24&255]+On[s&255]+On[s>>8&255]+On[s>>16&255]+On[s>>24&255]).toLowerCase()}function In(n,e,t){return Math.max(e,Math.min(t,n))}function hy(n,e){return(n%e+e)%e}function O2t(n,e,t,s,i){return s+(n-e)*(i-s)/(t-e)}function M2t(n,e,t){return n!==e?(t-n)/(e-n):0}function Dl(n,e,t){return(1-t)*n+t*e}function I2t(n,e,t,s){return Dl(n,e,1-Math.exp(-t*s))}function k2t(n,e=1){return e-Math.abs(hy(n,e*2)-e)}function D2t(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*(3-2*n))}function L2t(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*n*(n*(n*6-15)+10))}function P2t(n,e){return n+Math.floor(Math.random()*(e-n+1))}function F2t(n,e){return n+Math.random()*(e-n)}function U2t(n){return n*(.5-Math.random())}function B2t(n){n!==void 0&&(UC=n);let e=UC+=1831565813;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}function G2t(n){return n*kl}function V2t(n){return n*Ta}function Sb(n){return(n&n-1)===0&&n!==0}function z2t(n){return Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function Tu(n){return Math.pow(2,Math.floor(Math.log(n)/Math.LN2))}function H2t(n,e,t,s,i){const r=Math.cos,o=Math.sin,a=r(t/2),c=o(t/2),d=r((e+s)/2),u=o((e+s)/2),h=r((e-s)/2),f=o((e-s)/2),m=r((s-e)/2),_=o((s-e)/2);switch(i){case"XYX":n.set(a*u,c*h,c*f,a*d);break;case"YZY":n.set(c*f,a*u,c*h,a*d);break;case"ZXZ":n.set(c*h,c*f,a*u,a*d);break;case"XZX":n.set(a*u,c*_,c*m,a*d);break;case"YXY":n.set(c*m,a*u,c*_,a*d);break;case"ZYZ":n.set(c*_,c*m,a*u,a*d);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}}function oi(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return n/4294967295;case Uint16Array:return n/65535;case Uint8Array:return n/255;case Int32Array:return Math.max(n/2147483647,-1);case Int16Array:return Math.max(n/32767,-1);case Int8Array:return Math.max(n/127,-1);default:throw new Error("Invalid component type.")}}function zt(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return Math.round(n*4294967295);case Uint16Array:return Math.round(n*65535);case Uint8Array:return Math.round(n*255);case Int32Array:return Math.round(n*2147483647);case Int16Array:return Math.round(n*32767);case Int8Array:return Math.round(n*127);default:throw new Error("Invalid component type.")}}const q2t={DEG2RAD:kl,RAD2DEG:Ta,generateUUID:Ys,clamp:In,euclideanModulo:hy,mapLinear:O2t,inverseLerp:M2t,lerp:Dl,damp:I2t,pingpong:k2t,smoothstep:D2t,smootherstep:L2t,randInt:P2t,randFloat:F2t,randFloatSpread:U2t,seededRandom:B2t,degToRad:G2t,radToDeg:V2t,isPowerOfTwo:Sb,ceilPowerOfTwo:z2t,floorPowerOfTwo:Tu,setQuaternionFromProperEuler:H2t,normalize:zt,denormalize:oi};class At{constructor(e=0,t=0){At.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,s=this.y,i=e.elements;return this.x=i[0]*t+i[3]*s+i[6],this.y=i[1]*t+i[4]*s+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Math.max(e,Math.min(t,s)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const s=this.dot(e)/t;return Math.acos(In(s,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,s=this.y-e.y;return t*t+s*s}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,s){return this.x=e.x+(t.x-e.x)*s,this.y=e.y+(t.y-e.y)*s,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const s=Math.cos(t),i=Math.sin(t),r=this.x-e.x,o=this.y-e.y;return this.x=r*s-o*i+e.x,this.y=r*i+o*s+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Tt{constructor(e,t,s,i,r,o,a,c,d){Tt.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,s,i,r,o,a,c,d)}set(e,t,s,i,r,o,a,c,d){const u=this.elements;return u[0]=e,u[1]=i,u[2]=a,u[3]=t,u[4]=r,u[5]=c,u[6]=s,u[7]=o,u[8]=d,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,s=e.elements;return t[0]=s[0],t[1]=s[1],t[2]=s[2],t[3]=s[3],t[4]=s[4],t[5]=s[5],t[6]=s[6],t[7]=s[7],t[8]=s[8],this}extractBasis(e,t,s){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),s.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const s=e.elements,i=t.elements,r=this.elements,o=s[0],a=s[3],c=s[6],d=s[1],u=s[4],h=s[7],f=s[2],m=s[5],_=s[8],g=i[0],b=i[3],E=i[6],y=i[1],v=i[4],S=i[7],R=i[2],w=i[5],A=i[8];return r[0]=o*g+a*y+c*R,r[3]=o*b+a*v+c*w,r[6]=o*E+a*S+c*A,r[1]=d*g+u*y+h*R,r[4]=d*b+u*v+h*w,r[7]=d*E+u*S+h*A,r[2]=f*g+m*y+_*R,r[5]=f*b+m*v+_*w,r[8]=f*E+m*S+_*A,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],s=e[1],i=e[2],r=e[3],o=e[4],a=e[5],c=e[6],d=e[7],u=e[8];return t*o*u-t*a*d-s*r*u+s*a*c+i*r*d-i*o*c}invert(){const e=this.elements,t=e[0],s=e[1],i=e[2],r=e[3],o=e[4],a=e[5],c=e[6],d=e[7],u=e[8],h=u*o-a*d,f=a*c-u*r,m=d*r-o*c,_=t*h+s*f+i*m;if(_===0)return this.set(0,0,0,0,0,0,0,0,0);const g=1/_;return e[0]=h*g,e[1]=(i*d-u*s)*g,e[2]=(a*s-i*o)*g,e[3]=f*g,e[4]=(u*t-i*c)*g,e[5]=(i*r-a*t)*g,e[6]=m*g,e[7]=(s*c-d*t)*g,e[8]=(o*t-s*r)*g,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,s,i,r,o,a){const c=Math.cos(r),d=Math.sin(r);return this.set(s*c,s*d,-s*(c*o+d*a)+o+e,-i*d,i*c,-i*(-d*o+c*a)+a+t,0,0,1),this}scale(e,t){return this.premultiply(Qm.makeScale(e,t)),this}rotate(e){return this.premultiply(Qm.makeRotation(-e)),this}translate(e,t){return this.premultiply(Qm.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),s=Math.sin(e);return this.set(t,-s,0,s,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,s=e.elements;for(let i=0;i<9;i++)if(t[i]!==s[i])return!1;return!0}fromArray(e,t=0){for(let s=0;s<9;s++)this.elements[s]=e[s+t];return this}toArray(e=[],t=0){const s=this.elements;return e[t]=s[0],e[t+1]=s[1],e[t+2]=s[2],e[t+3]=s[3],e[t+4]=s[4],e[t+5]=s[5],e[t+6]=s[6],e[t+7]=s[7],e[t+8]=s[8],e}clone(){return new this.constructor().fromArray(this.elements)}}const Qm=new Tt;function fO(n){for(let e=n.length-1;e>=0;--e)if(n[e]>=65535)return!0;return!1}function ic(n){return document.createElementNS("http://www.w3.org/1999/xhtml",n)}function $2t(){const n=ic("canvas");return n.style.display="block",n}const BC={};function Ll(n){n in BC||(BC[n]=!0,console.warn(n))}const GC=new Tt().set(.8224621,.177538,0,.0331941,.9668058,0,.0170827,.0723974,.9105199),VC=new Tt().set(1.2249401,-.2249404,0,-.0420569,1.0420571,0,-.0196376,-.0786361,1.0982735),Qc={[Nn]:{transfer:Eu,primaries:yu,toReference:n=>n,fromReference:n=>n},[rn]:{transfer:Xt,primaries:yu,toReference:n=>n.convertSRGBToLinear(),fromReference:n=>n.convertLinearToSRGB()},[Ep]:{transfer:Eu,primaries:vu,toReference:n=>n.applyMatrix3(VC),fromReference:n=>n.applyMatrix3(GC)},[_y]:{transfer:Xt,primaries:vu,toReference:n=>n.convertSRGBToLinear().applyMatrix3(VC),fromReference:n=>n.applyMatrix3(GC).convertLinearToSRGB()}},Y2t=new Set([Nn,Ep]),Ft={enabled:!0,_workingColorSpace:Nn,get legacyMode(){return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),!this.enabled},set legacyMode(n){console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),this.enabled=!n},get workingColorSpace(){return this._workingColorSpace},set workingColorSpace(n){if(!Y2t.has(n))throw new Error(`Unsupported working color space, "${n}".`);this._workingColorSpace=n},convert:function(n,e,t){if(this.enabled===!1||e===t||!e||!t)return n;const s=Qc[e].toReference,i=Qc[t].fromReference;return i(s(n))},fromWorkingColorSpace:function(n,e){return this.convert(n,this._workingColorSpace,e)},toWorkingColorSpace:function(n,e){return this.convert(n,e,this._workingColorSpace)},getPrimaries:function(n){return Qc[n].primaries},getTransfer:function(n){return n===gs?Eu:Qc[n].transfer}};function ia(n){return n<.04045?n*.0773993808:Math.pow(n*.9478672986+.0521327014,2.4)}function Xm(n){return n<.0031308?n*12.92:1.055*Math.pow(n,.41666)-.055}let Ro;class mO{static getDataURL(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{Ro===void 0&&(Ro=ic("canvas")),Ro.width=e.width,Ro.height=e.height;const s=Ro.getContext("2d");e instanceof ImageData?s.putImageData(e,0,0):s.drawImage(e,0,0,e.width,e.height),t=Ro}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const t=ic("canvas");t.width=e.width,t.height=e.height;const s=t.getContext("2d");s.drawImage(e,0,0,e.width,e.height);const i=s.getImageData(0,0,e.width,e.height),r=i.data;for(let o=0;o0&&(s.userData=this.userData),t||(e.textures[this.uuid]=s),s}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==sO)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case ya:e.x=e.x-Math.floor(e.x);break;case fs:e.x=e.x<0?0:1;break;case bu:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case ya:e.y=e.y-Math.floor(e.y);break;case fs:e.y=e.y<0?0:1;break;case bu:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}get encoding(){return Ll("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace===rn?no:_O}set encoding(e){Ll("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace=e===no?rn:gs}}An.DEFAULT_IMAGE=null;An.DEFAULT_MAPPING=sO;An.DEFAULT_ANISOTROPY=1;class Wt{constructor(e=0,t=0,s=0,i=1){Wt.prototype.isVector4=!0,this.x=e,this.y=t,this.z=s,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,s,i){return this.x=e,this.y=t,this.z=s,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,s=this.y,i=this.z,r=this.w,o=e.elements;return this.x=o[0]*t+o[4]*s+o[8]*i+o[12]*r,this.y=o[1]*t+o[5]*s+o[9]*i+o[13]*r,this.z=o[2]*t+o[6]*s+o[10]*i+o[14]*r,this.w=o[3]*t+o[7]*s+o[11]*i+o[15]*r,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,s,i,r;const c=e.elements,d=c[0],u=c[4],h=c[8],f=c[1],m=c[5],_=c[9],g=c[2],b=c[6],E=c[10];if(Math.abs(u-f)<.01&&Math.abs(h-g)<.01&&Math.abs(_-b)<.01){if(Math.abs(u+f)<.1&&Math.abs(h+g)<.1&&Math.abs(_+b)<.1&&Math.abs(d+m+E-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;const v=(d+1)/2,S=(m+1)/2,R=(E+1)/2,w=(u+f)/4,A=(h+g)/4,I=(_+b)/4;return v>S&&v>R?v<.01?(s=0,i=.707106781,r=.707106781):(s=Math.sqrt(v),i=w/s,r=A/s):S>R?S<.01?(s=.707106781,i=0,r=.707106781):(i=Math.sqrt(S),s=w/i,r=I/i):R<.01?(s=.707106781,i=.707106781,r=0):(r=Math.sqrt(R),s=A/r,i=I/r),this.set(s,i,r,t),this}let y=Math.sqrt((b-_)*(b-_)+(h-g)*(h-g)+(f-u)*(f-u));return Math.abs(y)<.001&&(y=1),this.x=(b-_)/y,this.y=(h-g)/y,this.z=(f-u)/y,this.w=Math.acos((d+m+E-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Math.max(e,Math.min(t,s)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,s){return this.x=e.x+(t.x-e.x)*s,this.y=e.y+(t.y-e.y)*s,this.z=e.z+(t.z-e.z)*s,this.w=e.w+(t.w-e.w)*s,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class j2t extends $a{constructor(e=1,t=1,s={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new Wt(0,0,e,t),this.scissorTest=!1,this.viewport=new Wt(0,0,e,t);const i={width:e,height:t,depth:1};s.encoding!==void 0&&(Ll("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."),s.colorSpace=s.encoding===no?rn:gs),s=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:$n,depthBuffer:!0,stencilBuffer:!1,depthTexture:null,samples:0},s),this.texture=new An(i,s.mapping,s.wrapS,s.wrapT,s.magFilter,s.minFilter,s.format,s.type,s.anisotropy,s.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=s.generateMipmaps,this.texture.internalFormat=s.internalFormat,this.depthBuffer=s.depthBuffer,this.stencilBuffer=s.stencilBuffer,this.depthTexture=s.depthTexture,this.samples=s.samples}setSize(e,t,s=1){(this.width!==e||this.height!==t||this.depth!==s)&&(this.width=e,this.height=t,this.depth=s,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=s,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const t=Object.assign({},e.texture.image);return this.texture.source=new gO(t),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class uo extends j2t{constructor(e=1,t=1,s={}){super(e,t,s),this.isWebGLRenderTarget=!0}}class bO extends An{constructor(e=null,t=1,s=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:s,depth:i},this.magFilter=yn,this.minFilter=yn,this.wrapR=fs,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Q2t extends An{constructor(e=null,t=1,s=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:s,depth:i},this.magFilter=yn,this.minFilter=yn,this.wrapR=fs,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class wr{constructor(e=0,t=0,s=0,i=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=s,this._w=i}static slerpFlat(e,t,s,i,r,o,a){let c=s[i+0],d=s[i+1],u=s[i+2],h=s[i+3];const f=r[o+0],m=r[o+1],_=r[o+2],g=r[o+3];if(a===0){e[t+0]=c,e[t+1]=d,e[t+2]=u,e[t+3]=h;return}if(a===1){e[t+0]=f,e[t+1]=m,e[t+2]=_,e[t+3]=g;return}if(h!==g||c!==f||d!==m||u!==_){let b=1-a;const E=c*f+d*m+u*_+h*g,y=E>=0?1:-1,v=1-E*E;if(v>Number.EPSILON){const R=Math.sqrt(v),w=Math.atan2(R,E*y);b=Math.sin(b*w)/R,a=Math.sin(a*w)/R}const S=a*y;if(c=c*b+f*S,d=d*b+m*S,u=u*b+_*S,h=h*b+g*S,b===1-a){const R=1/Math.sqrt(c*c+d*d+u*u+h*h);c*=R,d*=R,u*=R,h*=R}}e[t]=c,e[t+1]=d,e[t+2]=u,e[t+3]=h}static multiplyQuaternionsFlat(e,t,s,i,r,o){const a=s[i],c=s[i+1],d=s[i+2],u=s[i+3],h=r[o],f=r[o+1],m=r[o+2],_=r[o+3];return e[t]=a*_+u*h+c*m-d*f,e[t+1]=c*_+u*f+d*h-a*m,e[t+2]=d*_+u*m+a*f-c*h,e[t+3]=u*_-a*h-c*f-d*m,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,s,i){return this._x=e,this._y=t,this._z=s,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t){const s=e._x,i=e._y,r=e._z,o=e._order,a=Math.cos,c=Math.sin,d=a(s/2),u=a(i/2),h=a(r/2),f=c(s/2),m=c(i/2),_=c(r/2);switch(o){case"XYZ":this._x=f*u*h+d*m*_,this._y=d*m*h-f*u*_,this._z=d*u*_+f*m*h,this._w=d*u*h-f*m*_;break;case"YXZ":this._x=f*u*h+d*m*_,this._y=d*m*h-f*u*_,this._z=d*u*_-f*m*h,this._w=d*u*h+f*m*_;break;case"ZXY":this._x=f*u*h-d*m*_,this._y=d*m*h+f*u*_,this._z=d*u*_+f*m*h,this._w=d*u*h-f*m*_;break;case"ZYX":this._x=f*u*h-d*m*_,this._y=d*m*h+f*u*_,this._z=d*u*_-f*m*h,this._w=d*u*h+f*m*_;break;case"YZX":this._x=f*u*h+d*m*_,this._y=d*m*h+f*u*_,this._z=d*u*_-f*m*h,this._w=d*u*h-f*m*_;break;case"XZY":this._x=f*u*h-d*m*_,this._y=d*m*h-f*u*_,this._z=d*u*_+f*m*h,this._w=d*u*h+f*m*_;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const s=t/2,i=Math.sin(s);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(s),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,s=t[0],i=t[4],r=t[8],o=t[1],a=t[5],c=t[9],d=t[2],u=t[6],h=t[10],f=s+a+h;if(f>0){const m=.5/Math.sqrt(f+1);this._w=.25/m,this._x=(u-c)*m,this._y=(r-d)*m,this._z=(o-i)*m}else if(s>a&&s>h){const m=2*Math.sqrt(1+s-a-h);this._w=(u-c)/m,this._x=.25*m,this._y=(i+o)/m,this._z=(r+d)/m}else if(a>h){const m=2*Math.sqrt(1+a-s-h);this._w=(r-d)/m,this._x=(i+o)/m,this._y=.25*m,this._z=(c+u)/m}else{const m=2*Math.sqrt(1+h-s-a);this._w=(o-i)/m,this._x=(r+d)/m,this._y=(c+u)/m,this._z=.25*m}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let s=e.dot(t)+1;return sMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=s):(this._x=0,this._y=-e.z,this._z=e.y,this._w=s)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=s),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(In(this.dot(e),-1,1)))}rotateTowards(e,t){const s=this.angleTo(e);if(s===0)return this;const i=Math.min(1,t/s);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const s=e._x,i=e._y,r=e._z,o=e._w,a=t._x,c=t._y,d=t._z,u=t._w;return this._x=s*u+o*a+i*d-r*c,this._y=i*u+o*c+r*a-s*d,this._z=r*u+o*d+s*c-i*a,this._w=o*u-s*a-i*c-r*d,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);const s=this._x,i=this._y,r=this._z,o=this._w;let a=o*e._w+s*e._x+i*e._y+r*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=s,this._y=i,this._z=r,this;const c=1-a*a;if(c<=Number.EPSILON){const m=1-t;return this._w=m*o+t*this._w,this._x=m*s+t*this._x,this._y=m*i+t*this._y,this._z=m*r+t*this._z,this.normalize(),this._onChangeCallback(),this}const d=Math.sqrt(c),u=Math.atan2(d,a),h=Math.sin((1-t)*u)/d,f=Math.sin(t*u)/d;return this._w=o*h+this._w*f,this._x=s*h+this._x*f,this._y=i*h+this._y*f,this._z=r*h+this._z*f,this._onChangeCallback(),this}slerpQuaternions(e,t,s){return this.copy(e).slerp(t,s)}random(){const e=Math.random(),t=Math.sqrt(1-e),s=Math.sqrt(e),i=2*Math.PI*Math.random(),r=2*Math.PI*Math.random();return this.set(t*Math.cos(i),s*Math.sin(r),s*Math.cos(r),t*Math.sin(i))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ae{constructor(e=0,t=0,s=0){ae.prototype.isVector3=!0,this.x=e,this.y=t,this.z=s}set(e,t,s){return s===void 0&&(s=this.z),this.x=e,this.y=t,this.z=s,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(zC.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(zC.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,s=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[3]*s+r[6]*i,this.y=r[1]*t+r[4]*s+r[7]*i,this.z=r[2]*t+r[5]*s+r[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,s=this.y,i=this.z,r=e.elements,o=1/(r[3]*t+r[7]*s+r[11]*i+r[15]);return this.x=(r[0]*t+r[4]*s+r[8]*i+r[12])*o,this.y=(r[1]*t+r[5]*s+r[9]*i+r[13])*o,this.z=(r[2]*t+r[6]*s+r[10]*i+r[14])*o,this}applyQuaternion(e){const t=this.x,s=this.y,i=this.z,r=e.x,o=e.y,a=e.z,c=e.w,d=2*(o*i-a*s),u=2*(a*t-r*i),h=2*(r*s-o*t);return this.x=t+c*d+o*h-a*u,this.y=s+c*u+a*d-r*h,this.z=i+c*h+r*u-o*d,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,s=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[4]*s+r[8]*i,this.y=r[1]*t+r[5]*s+r[9]*i,this.z=r[2]*t+r[6]*s+r[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Math.max(e,Math.min(t,s)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,s){return this.x=e.x+(t.x-e.x)*s,this.y=e.y+(t.y-e.y)*s,this.z=e.z+(t.z-e.z)*s,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const s=e.x,i=e.y,r=e.z,o=t.x,a=t.y,c=t.z;return this.x=i*c-r*a,this.y=r*o-s*c,this.z=s*a-i*o,this}projectOnVector(e){const t=e.lengthSq();if(t===0)return this.set(0,0,0);const s=e.dot(this)/t;return this.copy(e).multiplyScalar(s)}projectOnPlane(e){return Jm.copy(this).projectOnVector(e),this.sub(Jm)}reflect(e){return this.sub(Jm.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const s=this.dot(e)/t;return Math.acos(In(s,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,s=this.y-e.y,i=this.z-e.z;return t*t+s*s+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,s){const i=Math.sin(t)*e;return this.x=i*Math.sin(s),this.y=Math.cos(t)*e,this.z=i*Math.cos(s),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,s){return this.x=e*Math.sin(t),this.y=s,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),s=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=s,this.z=i,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,t=Math.random()*Math.PI*2,s=Math.sqrt(1-e**2);return this.x=s*Math.cos(t),this.y=s*Math.sin(t),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Jm=new ae,zC=new wr;class qi{constructor(e=new ae(1/0,1/0,1/0),t=new ae(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,s=e.length;tthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,ks),ks.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,s;return e.normal.x>0?(t=e.normal.x*this.min.x,s=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,s=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,s+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,s+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,s+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,s+=e.normal.z*this.min.z),t<=-e.constant&&s>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(al),Zc.subVectors(this.max,al),Ao.subVectors(e.a,al),No.subVectors(e.b,al),Oo.subVectors(e.c,al),Qi.subVectors(No,Ao),Xi.subVectors(Oo,No),Ir.subVectors(Ao,Oo);let t=[0,-Qi.z,Qi.y,0,-Xi.z,Xi.y,0,-Ir.z,Ir.y,Qi.z,0,-Qi.x,Xi.z,0,-Xi.x,Ir.z,0,-Ir.x,-Qi.y,Qi.x,0,-Xi.y,Xi.x,0,-Ir.y,Ir.x,0];return!eg(t,Ao,No,Oo,Zc)||(t=[1,0,0,0,1,0,0,0,1],!eg(t,Ao,No,Oo,Zc))?!1:(Jc.crossVectors(Qi,Xi),t=[Jc.x,Jc.y,Jc.z],eg(t,Ao,No,Oo,Zc))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,ks).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(ks).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(xi[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),xi[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),xi[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),xi[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),xi[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),xi[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),xi[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),xi[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(xi),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const xi=[new ae,new ae,new ae,new ae,new ae,new ae,new ae,new ae],ks=new ae,Xc=new qi,Ao=new ae,No=new ae,Oo=new ae,Qi=new ae,Xi=new ae,Ir=new ae,al=new ae,Zc=new ae,Jc=new ae,kr=new ae;function eg(n,e,t,s,i){for(let r=0,o=n.length-3;r<=o;r+=3){kr.fromArray(n,r);const a=i.x*Math.abs(kr.x)+i.y*Math.abs(kr.y)+i.z*Math.abs(kr.z),c=e.dot(kr),d=t.dot(kr),u=s.dot(kr);if(Math.max(-Math.max(c,d,u),Math.min(c,d,u))>a)return!1}return!0}const X2t=new qi,ll=new ae,tg=new ae;class bi{constructor(e=new ae,t=-1){this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const s=this.center;t!==void 0?s.copy(t):X2t.setFromPoints(e).getCenter(s);let i=0;for(let r=0,o=e.length;rthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;ll.subVectors(e,this.center);const t=ll.lengthSq();if(t>this.radius*this.radius){const s=Math.sqrt(t),i=(s-this.radius)*.5;this.center.addScaledVector(ll,i/s),this.radius+=i}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(tg.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(ll.copy(e.center).add(tg)),this.expandByPoint(ll.copy(e.center).sub(tg))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const Ci=new ae,ng=new ae,ed=new ae,Zi=new ae,sg=new ae,td=new ae,ig=new ae;class yp{constructor(e=new ae,t=new ae(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,Ci)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const s=t.dot(this.direction);return s<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,s)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=Ci.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(Ci.copy(this.origin).addScaledVector(this.direction,t),Ci.distanceToSquared(e))}distanceSqToSegment(e,t,s,i){ng.copy(e).add(t).multiplyScalar(.5),ed.copy(t).sub(e).normalize(),Zi.copy(this.origin).sub(ng);const r=e.distanceTo(t)*.5,o=-this.direction.dot(ed),a=Zi.dot(this.direction),c=-Zi.dot(ed),d=Zi.lengthSq(),u=Math.abs(1-o*o);let h,f,m,_;if(u>0)if(h=o*c-a,f=o*a-c,_=r*u,h>=0)if(f>=-_)if(f<=_){const g=1/u;h*=g,f*=g,m=h*(h+o*f+2*a)+f*(o*h+f+2*c)+d}else f=r,h=Math.max(0,-(o*f+a)),m=-h*h+f*(f+2*c)+d;else f=-r,h=Math.max(0,-(o*f+a)),m=-h*h+f*(f+2*c)+d;else f<=-_?(h=Math.max(0,-(-o*r+a)),f=h>0?-r:Math.min(Math.max(-r,-c),r),m=-h*h+f*(f+2*c)+d):f<=_?(h=0,f=Math.min(Math.max(-r,-c),r),m=f*(f+2*c)+d):(h=Math.max(0,-(o*r+a)),f=h>0?r:Math.min(Math.max(-r,-c),r),m=-h*h+f*(f+2*c)+d);else f=o>0?-r:r,h=Math.max(0,-(o*f+a)),m=-h*h+f*(f+2*c)+d;return s&&s.copy(this.origin).addScaledVector(this.direction,h),i&&i.copy(ng).addScaledVector(ed,f),m}intersectSphere(e,t){Ci.subVectors(e.center,this.origin);const s=Ci.dot(this.direction),i=Ci.dot(Ci)-s*s,r=e.radius*e.radius;if(i>r)return null;const o=Math.sqrt(r-i),a=s-o,c=s+o;return c<0?null:a<0?this.at(c,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;const s=-(this.origin.dot(e.normal)+e.constant)/t;return s>=0?s:null}intersectPlane(e,t){const s=this.distanceToPlane(e);return s===null?null:this.at(s,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let s,i,r,o,a,c;const d=1/this.direction.x,u=1/this.direction.y,h=1/this.direction.z,f=this.origin;return d>=0?(s=(e.min.x-f.x)*d,i=(e.max.x-f.x)*d):(s=(e.max.x-f.x)*d,i=(e.min.x-f.x)*d),u>=0?(r=(e.min.y-f.y)*u,o=(e.max.y-f.y)*u):(r=(e.max.y-f.y)*u,o=(e.min.y-f.y)*u),s>o||r>i||((r>s||isNaN(s))&&(s=r),(o=0?(a=(e.min.z-f.z)*h,c=(e.max.z-f.z)*h):(a=(e.max.z-f.z)*h,c=(e.min.z-f.z)*h),s>c||a>i)||((a>s||s!==s)&&(s=a),(c=0?s:i,t)}intersectsBox(e){return this.intersectBox(e,Ci)!==null}intersectTriangle(e,t,s,i,r){sg.subVectors(t,e),td.subVectors(s,e),ig.crossVectors(sg,td);let o=this.direction.dot(ig),a;if(o>0){if(i)return null;a=1}else if(o<0)a=-1,o=-o;else return null;Zi.subVectors(this.origin,e);const c=a*this.direction.dot(td.crossVectors(Zi,td));if(c<0)return null;const d=a*this.direction.dot(sg.cross(Zi));if(d<0||c+d>o)return null;const u=-a*Zi.dot(ig);return u<0?null:this.at(u/o,r)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class xt{constructor(e,t,s,i,r,o,a,c,d,u,h,f,m,_,g,b){xt.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,s,i,r,o,a,c,d,u,h,f,m,_,g,b)}set(e,t,s,i,r,o,a,c,d,u,h,f,m,_,g,b){const E=this.elements;return E[0]=e,E[4]=t,E[8]=s,E[12]=i,E[1]=r,E[5]=o,E[9]=a,E[13]=c,E[2]=d,E[6]=u,E[10]=h,E[14]=f,E[3]=m,E[7]=_,E[11]=g,E[15]=b,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new xt().fromArray(this.elements)}copy(e){const t=this.elements,s=e.elements;return t[0]=s[0],t[1]=s[1],t[2]=s[2],t[3]=s[3],t[4]=s[4],t[5]=s[5],t[6]=s[6],t[7]=s[7],t[8]=s[8],t[9]=s[9],t[10]=s[10],t[11]=s[11],t[12]=s[12],t[13]=s[13],t[14]=s[14],t[15]=s[15],this}copyPosition(e){const t=this.elements,s=e.elements;return t[12]=s[12],t[13]=s[13],t[14]=s[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,s){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),s.setFromMatrixColumn(this,2),this}makeBasis(e,t,s){return this.set(e.x,t.x,s.x,0,e.y,t.y,s.y,0,e.z,t.z,s.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,s=e.elements,i=1/Mo.setFromMatrixColumn(e,0).length(),r=1/Mo.setFromMatrixColumn(e,1).length(),o=1/Mo.setFromMatrixColumn(e,2).length();return t[0]=s[0]*i,t[1]=s[1]*i,t[2]=s[2]*i,t[3]=0,t[4]=s[4]*r,t[5]=s[5]*r,t[6]=s[6]*r,t[7]=0,t[8]=s[8]*o,t[9]=s[9]*o,t[10]=s[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,s=e.x,i=e.y,r=e.z,o=Math.cos(s),a=Math.sin(s),c=Math.cos(i),d=Math.sin(i),u=Math.cos(r),h=Math.sin(r);if(e.order==="XYZ"){const f=o*u,m=o*h,_=a*u,g=a*h;t[0]=c*u,t[4]=-c*h,t[8]=d,t[1]=m+_*d,t[5]=f-g*d,t[9]=-a*c,t[2]=g-f*d,t[6]=_+m*d,t[10]=o*c}else if(e.order==="YXZ"){const f=c*u,m=c*h,_=d*u,g=d*h;t[0]=f+g*a,t[4]=_*a-m,t[8]=o*d,t[1]=o*h,t[5]=o*u,t[9]=-a,t[2]=m*a-_,t[6]=g+f*a,t[10]=o*c}else if(e.order==="ZXY"){const f=c*u,m=c*h,_=d*u,g=d*h;t[0]=f-g*a,t[4]=-o*h,t[8]=_+m*a,t[1]=m+_*a,t[5]=o*u,t[9]=g-f*a,t[2]=-o*d,t[6]=a,t[10]=o*c}else if(e.order==="ZYX"){const f=o*u,m=o*h,_=a*u,g=a*h;t[0]=c*u,t[4]=_*d-m,t[8]=f*d+g,t[1]=c*h,t[5]=g*d+f,t[9]=m*d-_,t[2]=-d,t[6]=a*c,t[10]=o*c}else if(e.order==="YZX"){const f=o*c,m=o*d,_=a*c,g=a*d;t[0]=c*u,t[4]=g-f*h,t[8]=_*h+m,t[1]=h,t[5]=o*u,t[9]=-a*u,t[2]=-d*u,t[6]=m*h+_,t[10]=f-g*h}else if(e.order==="XZY"){const f=o*c,m=o*d,_=a*c,g=a*d;t[0]=c*u,t[4]=-h,t[8]=d*u,t[1]=f*h+g,t[5]=o*u,t[9]=m*h-_,t[2]=_*h-m,t[6]=a*u,t[10]=g*h+f}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(Z2t,e,J2t)}lookAt(e,t,s){const i=this.elements;return Zn.subVectors(e,t),Zn.lengthSq()===0&&(Zn.z=1),Zn.normalize(),Ji.crossVectors(s,Zn),Ji.lengthSq()===0&&(Math.abs(s.z)===1?Zn.x+=1e-4:Zn.z+=1e-4,Zn.normalize(),Ji.crossVectors(s,Zn)),Ji.normalize(),nd.crossVectors(Zn,Ji),i[0]=Ji.x,i[4]=nd.x,i[8]=Zn.x,i[1]=Ji.y,i[5]=nd.y,i[9]=Zn.y,i[2]=Ji.z,i[6]=nd.z,i[10]=Zn.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const s=e.elements,i=t.elements,r=this.elements,o=s[0],a=s[4],c=s[8],d=s[12],u=s[1],h=s[5],f=s[9],m=s[13],_=s[2],g=s[6],b=s[10],E=s[14],y=s[3],v=s[7],S=s[11],R=s[15],w=i[0],A=i[4],I=i[8],C=i[12],O=i[1],B=i[5],H=i[9],te=i[13],k=i[2],$=i[6],q=i[10],F=i[14],W=i[3],ne=i[7],le=i[11],me=i[15];return r[0]=o*w+a*O+c*k+d*W,r[4]=o*A+a*B+c*$+d*ne,r[8]=o*I+a*H+c*q+d*le,r[12]=o*C+a*te+c*F+d*me,r[1]=u*w+h*O+f*k+m*W,r[5]=u*A+h*B+f*$+m*ne,r[9]=u*I+h*H+f*q+m*le,r[13]=u*C+h*te+f*F+m*me,r[2]=_*w+g*O+b*k+E*W,r[6]=_*A+g*B+b*$+E*ne,r[10]=_*I+g*H+b*q+E*le,r[14]=_*C+g*te+b*F+E*me,r[3]=y*w+v*O+S*k+R*W,r[7]=y*A+v*B+S*$+R*ne,r[11]=y*I+v*H+S*q+R*le,r[15]=y*C+v*te+S*F+R*me,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],s=e[4],i=e[8],r=e[12],o=e[1],a=e[5],c=e[9],d=e[13],u=e[2],h=e[6],f=e[10],m=e[14],_=e[3],g=e[7],b=e[11],E=e[15];return _*(+r*c*h-i*d*h-r*a*f+s*d*f+i*a*m-s*c*m)+g*(+t*c*m-t*d*f+r*o*f-i*o*m+i*d*u-r*c*u)+b*(+t*d*h-t*a*m-r*o*h+s*o*m+r*a*u-s*d*u)+E*(-i*a*u-t*c*h+t*a*f+i*o*h-s*o*f+s*c*u)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,s){const i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=t,i[14]=s),this}invert(){const e=this.elements,t=e[0],s=e[1],i=e[2],r=e[3],o=e[4],a=e[5],c=e[6],d=e[7],u=e[8],h=e[9],f=e[10],m=e[11],_=e[12],g=e[13],b=e[14],E=e[15],y=h*b*d-g*f*d+g*c*m-a*b*m-h*c*E+a*f*E,v=_*f*d-u*b*d-_*c*m+o*b*m+u*c*E-o*f*E,S=u*g*d-_*h*d+_*a*m-o*g*m-u*a*E+o*h*E,R=_*h*c-u*g*c-_*a*f+o*g*f+u*a*b-o*h*b,w=t*y+s*v+i*S+r*R;if(w===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const A=1/w;return e[0]=y*A,e[1]=(g*f*r-h*b*r-g*i*m+s*b*m+h*i*E-s*f*E)*A,e[2]=(a*b*r-g*c*r+g*i*d-s*b*d-a*i*E+s*c*E)*A,e[3]=(h*c*r-a*f*r-h*i*d+s*f*d+a*i*m-s*c*m)*A,e[4]=v*A,e[5]=(u*b*r-_*f*r+_*i*m-t*b*m-u*i*E+t*f*E)*A,e[6]=(_*c*r-o*b*r-_*i*d+t*b*d+o*i*E-t*c*E)*A,e[7]=(o*f*r-u*c*r+u*i*d-t*f*d-o*i*m+t*c*m)*A,e[8]=S*A,e[9]=(_*h*r-u*g*r-_*s*m+t*g*m+u*s*E-t*h*E)*A,e[10]=(o*g*r-_*a*r+_*s*d-t*g*d-o*s*E+t*a*E)*A,e[11]=(u*a*r-o*h*r-u*s*d+t*h*d+o*s*m-t*a*m)*A,e[12]=R*A,e[13]=(u*g*i-_*h*i+_*s*f-t*g*f-u*s*b+t*h*b)*A,e[14]=(_*a*i-o*g*i-_*s*c+t*g*c+o*s*b-t*a*b)*A,e[15]=(o*h*i-u*a*i+u*s*c-t*h*c-o*s*f+t*a*f)*A,this}scale(e){const t=this.elements,s=e.x,i=e.y,r=e.z;return t[0]*=s,t[4]*=i,t[8]*=r,t[1]*=s,t[5]*=i,t[9]*=r,t[2]*=s,t[6]*=i,t[10]*=r,t[3]*=s,t[7]*=i,t[11]*=r,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],s=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],i=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,s,i))}makeTranslation(e,t,s){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,s,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),s=Math.sin(e);return this.set(1,0,0,0,0,t,-s,0,0,s,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),s=Math.sin(e);return this.set(t,0,s,0,0,1,0,0,-s,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),s=Math.sin(e);return this.set(t,-s,0,0,s,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const s=Math.cos(t),i=Math.sin(t),r=1-s,o=e.x,a=e.y,c=e.z,d=r*o,u=r*a;return this.set(d*o+s,d*a-i*c,d*c+i*a,0,d*a+i*c,u*a+s,u*c-i*o,0,d*c-i*a,u*c+i*o,r*c*c+s,0,0,0,0,1),this}makeScale(e,t,s){return this.set(e,0,0,0,0,t,0,0,0,0,s,0,0,0,0,1),this}makeShear(e,t,s,i,r,o){return this.set(1,s,r,0,e,1,o,0,t,i,1,0,0,0,0,1),this}compose(e,t,s){const i=this.elements,r=t._x,o=t._y,a=t._z,c=t._w,d=r+r,u=o+o,h=a+a,f=r*d,m=r*u,_=r*h,g=o*u,b=o*h,E=a*h,y=c*d,v=c*u,S=c*h,R=s.x,w=s.y,A=s.z;return i[0]=(1-(g+E))*R,i[1]=(m+S)*R,i[2]=(_-v)*R,i[3]=0,i[4]=(m-S)*w,i[5]=(1-(f+E))*w,i[6]=(b+y)*w,i[7]=0,i[8]=(_+v)*A,i[9]=(b-y)*A,i[10]=(1-(f+g))*A,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,t,s){const i=this.elements;let r=Mo.set(i[0],i[1],i[2]).length();const o=Mo.set(i[4],i[5],i[6]).length(),a=Mo.set(i[8],i[9],i[10]).length();this.determinant()<0&&(r=-r),e.x=i[12],e.y=i[13],e.z=i[14],Ds.copy(this);const d=1/r,u=1/o,h=1/a;return Ds.elements[0]*=d,Ds.elements[1]*=d,Ds.elements[2]*=d,Ds.elements[4]*=u,Ds.elements[5]*=u,Ds.elements[6]*=u,Ds.elements[8]*=h,Ds.elements[9]*=h,Ds.elements[10]*=h,t.setFromRotationMatrix(Ds),s.x=r,s.y=o,s.z=a,this}makePerspective(e,t,s,i,r,o,a=Li){const c=this.elements,d=2*r/(t-e),u=2*r/(s-i),h=(t+e)/(t-e),f=(s+i)/(s-i);let m,_;if(a===Li)m=-(o+r)/(o-r),_=-2*o*r/(o-r);else if(a===Su)m=-o/(o-r),_=-o*r/(o-r);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+a);return c[0]=d,c[4]=0,c[8]=h,c[12]=0,c[1]=0,c[5]=u,c[9]=f,c[13]=0,c[2]=0,c[6]=0,c[10]=m,c[14]=_,c[3]=0,c[7]=0,c[11]=-1,c[15]=0,this}makeOrthographic(e,t,s,i,r,o,a=Li){const c=this.elements,d=1/(t-e),u=1/(s-i),h=1/(o-r),f=(t+e)*d,m=(s+i)*u;let _,g;if(a===Li)_=(o+r)*h,g=-2*h;else if(a===Su)_=r*h,g=-1*h;else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+a);return c[0]=2*d,c[4]=0,c[8]=0,c[12]=-f,c[1]=0,c[5]=2*u,c[9]=0,c[13]=-m,c[2]=0,c[6]=0,c[10]=g,c[14]=-_,c[3]=0,c[7]=0,c[11]=0,c[15]=1,this}equals(e){const t=this.elements,s=e.elements;for(let i=0;i<16;i++)if(t[i]!==s[i])return!1;return!0}fromArray(e,t=0){for(let s=0;s<16;s++)this.elements[s]=e[s+t];return this}toArray(e=[],t=0){const s=this.elements;return e[t]=s[0],e[t+1]=s[1],e[t+2]=s[2],e[t+3]=s[3],e[t+4]=s[4],e[t+5]=s[5],e[t+6]=s[6],e[t+7]=s[7],e[t+8]=s[8],e[t+9]=s[9],e[t+10]=s[10],e[t+11]=s[11],e[t+12]=s[12],e[t+13]=s[13],e[t+14]=s[14],e[t+15]=s[15],e}}const Mo=new ae,Ds=new xt,Z2t=new ae(0,0,0),J2t=new ae(1,1,1),Ji=new ae,nd=new ae,Zn=new ae,HC=new xt,qC=new wr;class vp{constructor(e=0,t=0,s=0,i=vp.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=s,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,s,i=this._order){return this._x=e,this._y=t,this._z=s,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,s=!0){const i=e.elements,r=i[0],o=i[4],a=i[8],c=i[1],d=i[5],u=i[9],h=i[2],f=i[6],m=i[10];switch(t){case"XYZ":this._y=Math.asin(In(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,m),this._z=Math.atan2(-o,r)):(this._x=Math.atan2(f,d),this._z=0);break;case"YXZ":this._x=Math.asin(-In(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,m),this._z=Math.atan2(c,d)):(this._y=Math.atan2(-h,r),this._z=0);break;case"ZXY":this._x=Math.asin(In(f,-1,1)),Math.abs(f)<.9999999?(this._y=Math.atan2(-h,m),this._z=Math.atan2(-o,d)):(this._y=0,this._z=Math.atan2(c,r));break;case"ZYX":this._y=Math.asin(-In(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(f,m),this._z=Math.atan2(c,r)):(this._x=0,this._z=Math.atan2(-o,d));break;case"YZX":this._z=Math.asin(In(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(-u,d),this._y=Math.atan2(-h,r)):(this._x=0,this._y=Math.atan2(a,m));break;case"XZY":this._z=Math.asin(-In(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(f,d),this._y=Math.atan2(a,r)):(this._x=Math.atan2(-u,m),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,s===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,s){return HC.makeRotationFromQuaternion(e),this.setFromRotationMatrix(HC,t,s)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return qC.setFromEuler(this),this.setFromQuaternion(qC,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}vp.DEFAULT_ORDER="XYZ";class EO{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let s=0;s0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(i.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(i.type="BatchedMesh",i.perObjectFrustumCulled=this.perObjectFrustumCulled,i.sortObjects=this.sortObjects,i.drawRanges=this._drawRanges,i.reservedRanges=this._reservedRanges,i.visibility=this._visibility,i.active=this._active,i.bounds=this._bounds.map(a=>({boxInitialized:a.boxInitialized,boxMin:a.box.min.toArray(),boxMax:a.box.max.toArray(),sphereInitialized:a.sphereInitialized,sphereRadius:a.sphere.radius,sphereCenter:a.sphere.center.toArray()})),i.maxGeometryCount=this._maxGeometryCount,i.maxVertexCount=this._maxVertexCount,i.maxIndexCount=this._maxIndexCount,i.geometryInitialized=this._geometryInitialized,i.geometryCount=this._geometryCount,i.matricesTexture=this._matricesTexture.toJSON(e),this.boundingSphere!==null&&(i.boundingSphere={center:i.boundingSphere.center.toArray(),radius:i.boundingSphere.radius}),this.boundingBox!==null&&(i.boundingBox={min:i.boundingBox.min.toArray(),max:i.boundingBox.max.toArray()}));function r(a,c){return a[c.uuid]===void 0&&(a[c.uuid]=c.toJSON(e)),c.uuid}if(this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(i.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(e.geometries,this.geometry);const a=this.geometry.parameters;if(a!==void 0&&a.shapes!==void 0){const c=a.shapes;if(Array.isArray(c))for(let d=0,u=c.length;d0){i.children=[];for(let a=0;a0){i.animations=[];for(let a=0;a0&&(s.geometries=a),c.length>0&&(s.materials=c),d.length>0&&(s.textures=d),u.length>0&&(s.images=u),h.length>0&&(s.shapes=h),f.length>0&&(s.skeletons=f),m.length>0&&(s.animations=m),_.length>0&&(s.nodes=_)}return s.object=i,s;function o(a){const c=[];for(const d in a){const u=a[d];delete u.metadata,c.push(u)}return c}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let s=0;s0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(e,t,s,i,r){Ls.subVectors(i,t),Ri.subVectors(s,t),rg.subVectors(e,t);const o=Ls.dot(Ls),a=Ls.dot(Ri),c=Ls.dot(rg),d=Ri.dot(Ri),u=Ri.dot(rg),h=o*d-a*a;if(h===0)return r.set(-2,-1,-1);const f=1/h,m=(d*c-a*u)*f,_=(o*u-a*c)*f;return r.set(1-m-_,_,m)}static containsPoint(e,t,s,i){return this.getBarycoord(e,t,s,i,Ai),Ai.x>=0&&Ai.y>=0&&Ai.x+Ai.y<=1}static getUV(e,t,s,i,r,o,a,c){return id===!1&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),id=!0),this.getInterpolation(e,t,s,i,r,o,a,c)}static getInterpolation(e,t,s,i,r,o,a,c){return this.getBarycoord(e,t,s,i,Ai),c.setScalar(0),c.addScaledVector(r,Ai.x),c.addScaledVector(o,Ai.y),c.addScaledVector(a,Ai.z),c}static isFrontFacing(e,t,s,i){return Ls.subVectors(s,t),Ri.subVectors(e,t),Ls.cross(Ri).dot(i)<0}set(e,t,s){return this.a.copy(e),this.b.copy(t),this.c.copy(s),this}setFromPointsAndIndices(e,t,s,i){return this.a.copy(e[t]),this.b.copy(e[s]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,t,s,i){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,s),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Ls.subVectors(this.c,this.b),Ri.subVectors(this.a,this.b),Ls.cross(Ri).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Bs.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Bs.getBarycoord(e,this.a,this.b,this.c,t)}getUV(e,t,s,i,r){return id===!1&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),id=!0),Bs.getInterpolation(e,this.a,this.b,this.c,t,s,i,r)}getInterpolation(e,t,s,i,r){return Bs.getInterpolation(e,this.a,this.b,this.c,t,s,i,r)}containsPoint(e){return Bs.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Bs.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const s=this.a,i=this.b,r=this.c;let o,a;ko.subVectors(i,s),Do.subVectors(r,s),og.subVectors(e,s);const c=ko.dot(og),d=Do.dot(og);if(c<=0&&d<=0)return t.copy(s);ag.subVectors(e,i);const u=ko.dot(ag),h=Do.dot(ag);if(u>=0&&h<=u)return t.copy(i);const f=c*h-u*d;if(f<=0&&c>=0&&u<=0)return o=c/(c-u),t.copy(s).addScaledVector(ko,o);lg.subVectors(e,r);const m=ko.dot(lg),_=Do.dot(lg);if(_>=0&&m<=_)return t.copy(r);const g=m*d-c*_;if(g<=0&&d>=0&&_<=0)return a=d/(d-_),t.copy(s).addScaledVector(Do,a);const b=u*_-m*h;if(b<=0&&h-u>=0&&m-_>=0)return jC.subVectors(r,i),a=(h-u)/(h-u+(m-_)),t.copy(i).addScaledVector(jC,a);const E=1/(b+g+f);return o=g*E,a=f*E,t.copy(s).addScaledVector(ko,o).addScaledVector(Do,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}const yO={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},er={h:0,s:0,l:0},rd={h:0,s:0,l:0};function cg(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*6*(2/3-t):n}class _t{constructor(e,t,s){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,s)}set(e,t,s){if(t===void 0&&s===void 0){const i=e;i&&i.isColor?this.copy(i):typeof i=="number"?this.setHex(i):typeof i=="string"&&this.setStyle(i)}else this.setRGB(e,t,s);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=rn){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Ft.toWorkingColorSpace(this,t),this}setRGB(e,t,s,i=Ft.workingColorSpace){return this.r=e,this.g=t,this.b=s,Ft.toWorkingColorSpace(this,i),this}setHSL(e,t,s,i=Ft.workingColorSpace){if(e=hy(e,1),t=In(t,0,1),s=In(s,0,1),t===0)this.r=this.g=this.b=s;else{const r=s<=.5?s*(1+t):s+t-s*t,o=2*s-r;this.r=cg(o,r,e+1/3),this.g=cg(o,r,e),this.b=cg(o,r,e-1/3)}return Ft.toWorkingColorSpace(this,i),this}setStyle(e,t=rn){function s(r){r!==void 0&&parseFloat(r)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^(\w+)\(([^\)]*)\)/.exec(e)){let r;const o=i[1],a=i[2];switch(o){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return s(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return s(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return s(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){const r=i[1],o=r.length;if(o===3)return this.setRGB(parseInt(r.charAt(0),16)/15,parseInt(r.charAt(1),16)/15,parseInt(r.charAt(2),16)/15,t);if(o===6)return this.setHex(parseInt(r,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=rn){const s=yO[e.toLowerCase()];return s!==void 0?this.setHex(s,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=ia(e.r),this.g=ia(e.g),this.b=ia(e.b),this}copyLinearToSRGB(e){return this.r=Xm(e.r),this.g=Xm(e.g),this.b=Xm(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=rn){return Ft.fromWorkingColorSpace(Mn.copy(this),e),Math.round(In(Mn.r*255,0,255))*65536+Math.round(In(Mn.g*255,0,255))*256+Math.round(In(Mn.b*255,0,255))}getHexString(e=rn){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=Ft.workingColorSpace){Ft.fromWorkingColorSpace(Mn.copy(this),t);const s=Mn.r,i=Mn.g,r=Mn.b,o=Math.max(s,i,r),a=Math.min(s,i,r);let c,d;const u=(a+o)/2;if(a===o)c=0,d=0;else{const h=o-a;switch(d=u<=.5?h/(o+a):h/(2-o-a),o){case s:c=(i-r)/h+(i0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const t in e){const s=e[t];if(s===void 0){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const i=this[t];if(i===void 0){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}i&&i.isColor?i.set(s):i&&i.isVector3&&s&&s.isVector3?i.copy(s):this[t]=s}}toJSON(e){const t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});const s={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};s.uuid=this.uuid,s.type=this.type,this.name!==""&&(s.name=this.name),this.color&&this.color.isColor&&(s.color=this.color.getHex()),this.roughness!==void 0&&(s.roughness=this.roughness),this.metalness!==void 0&&(s.metalness=this.metalness),this.sheen!==void 0&&(s.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(s.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(s.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(s.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(s.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(s.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(s.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(s.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(s.shininess=this.shininess),this.clearcoat!==void 0&&(s.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(s.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(s.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(s.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(s.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,s.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(s.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(s.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(s.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(s.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(s.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(s.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(s.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(s.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(s.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(s.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(s.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(s.lightMap=this.lightMap.toJSON(e).uuid,s.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(s.aoMap=this.aoMap.toJSON(e).uuid,s.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(s.bumpMap=this.bumpMap.toJSON(e).uuid,s.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(s.normalMap=this.normalMap.toJSON(e).uuid,s.normalMapType=this.normalMapType,s.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(s.displacementMap=this.displacementMap.toJSON(e).uuid,s.displacementScale=this.displacementScale,s.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(s.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(s.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(s.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(s.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(s.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(s.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(s.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(s.combine=this.combine)),this.envMapIntensity!==void 0&&(s.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(s.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(s.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(s.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(s.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(s.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(s.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(s.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(s.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(s.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(s.size=this.size),this.shadowSide!==null&&(s.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(s.sizeAttenuation=this.sizeAttenuation),this.blending!==sa&&(s.blending=this.blending),this.side!==Vi&&(s.side=this.side),this.vertexColors===!0&&(s.vertexColors=!0),this.opacity<1&&(s.opacity=this.opacity),this.transparent===!0&&(s.transparent=!0),this.blendSrc!==hb&&(s.blendSrc=this.blendSrc),this.blendDst!==fb&&(s.blendDst=this.blendDst),this.blendEquation!==qr&&(s.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(s.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(s.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(s.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(s.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(s.blendAlpha=this.blendAlpha),this.depthFunc!==gu&&(s.depthFunc=this.depthFunc),this.depthTest===!1&&(s.depthTest=this.depthTest),this.depthWrite===!1&&(s.depthWrite=this.depthWrite),this.colorWrite===!1&&(s.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(s.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==PC&&(s.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(s.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(s.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==wo&&(s.stencilFail=this.stencilFail),this.stencilZFail!==wo&&(s.stencilZFail=this.stencilZFail),this.stencilZPass!==wo&&(s.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(s.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(s.rotation=this.rotation),this.polygonOffset===!0&&(s.polygonOffset=!0),this.polygonOffsetFactor!==0&&(s.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(s.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(s.linewidth=this.linewidth),this.dashSize!==void 0&&(s.dashSize=this.dashSize),this.gapSize!==void 0&&(s.gapSize=this.gapSize),this.scale!==void 0&&(s.scale=this.scale),this.dithering===!0&&(s.dithering=!0),this.alphaTest>0&&(s.alphaTest=this.alphaTest),this.alphaHash===!0&&(s.alphaHash=!0),this.alphaToCoverage===!0&&(s.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(s.premultipliedAlpha=!0),this.forceSinglePass===!0&&(s.forceSinglePass=!0),this.wireframe===!0&&(s.wireframe=!0),this.wireframeLinewidth>1&&(s.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(s.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(s.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(s.flatShading=!0),this.visible===!1&&(s.visible=!1),this.toneMapped===!1&&(s.toneMapped=!1),this.fog===!1&&(s.fog=!1),Object.keys(this.userData).length>0&&(s.userData=this.userData);function i(r){const o=[];for(const a in r){const c=r[a];delete c.metadata,o.push(c)}return o}if(t){const r=i(e.textures),o=i(e.images);r.length>0&&(s.textures=r),o.length>0&&(s.images=o)}return s}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let s=null;if(t!==null){const i=t.length;s=new Array(i);for(let r=0;r!==i;++r)s[r]=t[r].clone()}return this.clippingPlanes=s,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}}class hr extends Ws{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new _t(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=dy,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const cn=new ae,od=new At;class zn{constructor(e,t,s=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=s,this.usage=yb,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.gpuType=Di,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return console.warn('THREE.BufferAttribute: "updateRange" is deprecated and removed in r169. Use "addUpdateRange()" instead.'),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,s){e*=this.itemSize,s*=t.itemSize;for(let i=0,r=this.itemSize;i0&&(e.userData=this.userData),this.parameters!==void 0){const c=this.parameters;for(const d in c)c[d]!==void 0&&(e[d]=c[d]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const s=this.attributes;for(const c in s){const d=s[c];e.data.attributes[c]=d.toJSON(e.data)}const i={};let r=!1;for(const c in this.morphAttributes){const d=this.morphAttributes[c],u=[];for(let h=0,f=d.length;h0&&(i[c]=u,r=!0)}r&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const s=e.index;s!==null&&this.setIndex(s.clone(t));const i=e.attributes;for(const d in i){const u=i[d];this.setAttribute(d,u.clone(t))}const r=e.morphAttributes;for(const d in r){const u=[],h=r[d];for(let f=0,m=h.length;f0){const i=t[s[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,o=i.length;r(e.far-e.near)**2))&&(QC.copy(r).invert(),Dr.copy(e.ray).applyMatrix4(QC),!(s.boundingBox!==null&&Dr.intersectsBox(s.boundingBox)===!1)&&this._computeIntersections(e,t,Dr)))}_computeIntersections(e,t,s){let i;const r=this.geometry,o=this.material,a=r.index,c=r.attributes.position,d=r.attributes.uv,u=r.attributes.uv1,h=r.attributes.normal,f=r.groups,m=r.drawRange;if(a!==null)if(Array.isArray(o))for(let _=0,g=f.length;_t.far?null:{distance:d,point:_d.clone(),object:n}}function hd(n,e,t,s,i,r,o,a,c,d){n.getVertexPosition(a,Po),n.getVertexPosition(c,Fo),n.getVertexPosition(d,Uo);const u=aNt(n,e,t,s,Po,Fo,Uo,pd);if(u){i&&(cd.fromBufferAttribute(i,a),dd.fromBufferAttribute(i,c),ud.fromBufferAttribute(i,d),u.uv=Bs.getInterpolation(pd,Po,Fo,Uo,cd,dd,ud,new At)),r&&(cd.fromBufferAttribute(r,a),dd.fromBufferAttribute(r,c),ud.fromBufferAttribute(r,d),u.uv1=Bs.getInterpolation(pd,Po,Fo,Uo,cd,dd,ud,new At),u.uv2=u.uv1),o&&(ZC.fromBufferAttribute(o,a),JC.fromBufferAttribute(o,c),ew.fromBufferAttribute(o,d),u.normal=Bs.getInterpolation(pd,Po,Fo,Uo,ZC,JC,ew,new ae),u.normal.dot(s.direction)>0&&u.normal.multiplyScalar(-1));const h={a,b:c,c:d,normal:new ae,materialIndex:0};Bs.getNormal(Po,Fo,Uo,h.normal),u.face=h}return u}class yr extends Ei{constructor(e=1,t=1,s=1,i=1,r=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:s,widthSegments:i,heightSegments:r,depthSegments:o};const a=this;i=Math.floor(i),r=Math.floor(r),o=Math.floor(o);const c=[],d=[],u=[],h=[];let f=0,m=0;_("z","y","x",-1,-1,s,t,e,o,r,0),_("z","y","x",1,-1,s,t,-e,o,r,1),_("x","z","y",1,1,e,s,t,i,o,2),_("x","z","y",1,-1,e,s,-t,i,o,3),_("x","y","z",1,-1,e,t,s,i,r,4),_("x","y","z",-1,-1,e,t,-s,i,r,5),this.setIndex(c),this.setAttribute("position",new Pi(d,3)),this.setAttribute("normal",new Pi(u,3)),this.setAttribute("uv",new Pi(h,2));function _(g,b,E,y,v,S,R,w,A,I,C){const O=S/A,B=R/I,H=S/2,te=R/2,k=w/2,$=A+1,q=I+1;let F=0,W=0;const ne=new ae;for(let le=0;le0?1:-1,u.push(ne.x,ne.y,ne.z),h.push(Se/A),h.push(1-le/I),F+=1}}for(let le=0;le>8&255]+On[n>>16&255]+On[n>>24&255]+"-"+On[e&255]+On[e>>8&255]+"-"+On[e>>16&15|64]+On[e>>24&255]+"-"+On[t&63|128]+On[t>>8&255]+"-"+On[t>>16&255]+On[t>>24&255]+On[s&255]+On[s>>8&255]+On[s>>16&255]+On[s>>24&255]).toLowerCase()}function Mn(n,e,t){return Math.max(e,Math.min(t,n))}function hy(n,e){return(n%e+e)%e}function g2t(n,e,t,s,i){return s+(n-e)*(i-s)/(t-e)}function b2t(n,e,t){return n!==e?(t-n)/(e-n):0}function Dl(n,e,t){return(1-t)*n+t*e}function E2t(n,e,t,s){return Dl(n,e,1-Math.exp(-t*s))}function y2t(n,e=1){return e-Math.abs(hy(n,e*2)-e)}function v2t(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*(3-2*n))}function S2t(n,e,t){return n<=e?0:n>=t?1:(n=(n-e)/(t-e),n*n*n*(n*(n*6-15)+10))}function T2t(n,e){return n+Math.floor(Math.random()*(e-n+1))}function x2t(n,e){return n+Math.random()*(e-n)}function C2t(n){return n*(.5-Math.random())}function w2t(n){n!==void 0&&(UC=n);let e=UC+=1831565813;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}function R2t(n){return n*kl}function A2t(n){return n*xa}function Sb(n){return(n&n-1)===0&&n!==0}function N2t(n){return Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function Tu(n){return Math.pow(2,Math.floor(Math.log(n)/Math.LN2))}function O2t(n,e,t,s,i){const r=Math.cos,o=Math.sin,a=r(t/2),c=o(t/2),d=r((e+s)/2),u=o((e+s)/2),h=r((e-s)/2),f=o((e-s)/2),m=r((s-e)/2),_=o((s-e)/2);switch(i){case"XYX":n.set(a*u,c*h,c*f,a*d);break;case"YZY":n.set(c*f,a*u,c*h,a*d);break;case"ZXZ":n.set(c*h,c*f,a*u,a*d);break;case"XZX":n.set(a*u,c*_,c*m,a*d);break;case"YXY":n.set(c*m,a*u,c*_,a*d);break;case"ZYZ":n.set(c*_,c*m,a*u,a*d);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}}function oi(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return n/4294967295;case Uint16Array:return n/65535;case Uint8Array:return n/255;case Int32Array:return Math.max(n/2147483647,-1);case Int16Array:return Math.max(n/32767,-1);case Int8Array:return Math.max(n/127,-1);default:throw new Error("Invalid component type.")}}function zt(n,e){switch(e.constructor){case Float32Array:return n;case Uint32Array:return Math.round(n*4294967295);case Uint16Array:return Math.round(n*65535);case Uint8Array:return Math.round(n*255);case Int32Array:return Math.round(n*2147483647);case Int16Array:return Math.round(n*32767);case Int8Array:return Math.round(n*127);default:throw new Error("Invalid component type.")}}const I2t={DEG2RAD:kl,RAD2DEG:xa,generateUUID:Ys,clamp:Mn,euclideanModulo:hy,mapLinear:g2t,inverseLerp:b2t,lerp:Dl,damp:E2t,pingpong:y2t,smoothstep:v2t,smootherstep:S2t,randInt:T2t,randFloat:x2t,randFloatSpread:C2t,seededRandom:w2t,degToRad:R2t,radToDeg:A2t,isPowerOfTwo:Sb,ceilPowerOfTwo:N2t,floorPowerOfTwo:Tu,setQuaternionFromProperEuler:O2t,normalize:zt,denormalize:oi};class At{constructor(e=0,t=0){At.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,s=this.y,i=e.elements;return this.x=i[0]*t+i[3]*s+i[6],this.y=i[1]*t+i[4]*s+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this}clampLength(e,t){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Math.max(e,Math.min(t,s)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const s=this.dot(e)/t;return Math.acos(Mn(s,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,s=this.y-e.y;return t*t+s*s}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,s){return this.x=e.x+(t.x-e.x)*s,this.y=e.y+(t.y-e.y)*s,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const s=Math.cos(t),i=Math.sin(t),r=this.x-e.x,o=this.y-e.y;return this.x=r*s-o*i+e.x,this.y=r*i+o*s+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Tt{constructor(e,t,s,i,r,o,a,c,d){Tt.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],e!==void 0&&this.set(e,t,s,i,r,o,a,c,d)}set(e,t,s,i,r,o,a,c,d){const u=this.elements;return u[0]=e,u[1]=i,u[2]=a,u[3]=t,u[4]=r,u[5]=c,u[6]=s,u[7]=o,u[8]=d,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,s=e.elements;return t[0]=s[0],t[1]=s[1],t[2]=s[2],t[3]=s[3],t[4]=s[4],t[5]=s[5],t[6]=s[6],t[7]=s[7],t[8]=s[8],this}extractBasis(e,t,s){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),s.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const s=e.elements,i=t.elements,r=this.elements,o=s[0],a=s[3],c=s[6],d=s[1],u=s[4],h=s[7],f=s[2],m=s[5],_=s[8],g=i[0],b=i[3],E=i[6],y=i[1],v=i[4],S=i[7],R=i[2],w=i[5],A=i[8];return r[0]=o*g+a*y+c*R,r[3]=o*b+a*v+c*w,r[6]=o*E+a*S+c*A,r[1]=d*g+u*y+h*R,r[4]=d*b+u*v+h*w,r[7]=d*E+u*S+h*A,r[2]=f*g+m*y+_*R,r[5]=f*b+m*v+_*w,r[8]=f*E+m*S+_*A,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],s=e[1],i=e[2],r=e[3],o=e[4],a=e[5],c=e[6],d=e[7],u=e[8];return t*o*u-t*a*d-s*r*u+s*a*c+i*r*d-i*o*c}invert(){const e=this.elements,t=e[0],s=e[1],i=e[2],r=e[3],o=e[4],a=e[5],c=e[6],d=e[7],u=e[8],h=u*o-a*d,f=a*c-u*r,m=d*r-o*c,_=t*h+s*f+i*m;if(_===0)return this.set(0,0,0,0,0,0,0,0,0);const g=1/_;return e[0]=h*g,e[1]=(i*d-u*s)*g,e[2]=(a*s-i*o)*g,e[3]=f*g,e[4]=(u*t-i*c)*g,e[5]=(i*r-a*t)*g,e[6]=m*g,e[7]=(s*c-d*t)*g,e[8]=(o*t-s*r)*g,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,s,i,r,o,a){const c=Math.cos(r),d=Math.sin(r);return this.set(s*c,s*d,-s*(c*o+d*a)+o+e,-i*d,i*c,-i*(-d*o+c*a)+a+t,0,0,1),this}scale(e,t){return this.premultiply(Qm.makeScale(e,t)),this}rotate(e){return this.premultiply(Qm.makeRotation(-e)),this}translate(e,t){return this.premultiply(Qm.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),s=Math.sin(e);return this.set(t,-s,0,s,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,s=e.elements;for(let i=0;i<9;i++)if(t[i]!==s[i])return!1;return!0}fromArray(e,t=0){for(let s=0;s<9;s++)this.elements[s]=e[s+t];return this}toArray(e=[],t=0){const s=this.elements;return e[t]=s[0],e[t+1]=s[1],e[t+2]=s[2],e[t+3]=s[3],e[t+4]=s[4],e[t+5]=s[5],e[t+6]=s[6],e[t+7]=s[7],e[t+8]=s[8],e}clone(){return new this.constructor().fromArray(this.elements)}}const Qm=new Tt;function fO(n){for(let e=n.length-1;e>=0;--e)if(n[e]>=65535)return!0;return!1}function ic(n){return document.createElementNS("http://www.w3.org/1999/xhtml",n)}function M2t(){const n=ic("canvas");return n.style.display="block",n}const BC={};function Ll(n){n in BC||(BC[n]=!0,console.warn(n))}const GC=new Tt().set(.8224621,.177538,0,.0331941,.9668058,0,.0170827,.0723974,.9105199),VC=new Tt().set(1.2249401,-.2249404,0,-.0420569,1.0420571,0,-.0196376,-.0786361,1.0982735),Qc={[Nn]:{transfer:Eu,primaries:yu,toReference:n=>n,fromReference:n=>n},[rn]:{transfer:Xt,primaries:yu,toReference:n=>n.convertSRGBToLinear(),fromReference:n=>n.convertLinearToSRGB()},[Ep]:{transfer:Eu,primaries:vu,toReference:n=>n.applyMatrix3(VC),fromReference:n=>n.applyMatrix3(GC)},[_y]:{transfer:Xt,primaries:vu,toReference:n=>n.convertSRGBToLinear().applyMatrix3(VC),fromReference:n=>n.applyMatrix3(GC).convertLinearToSRGB()}},k2t=new Set([Nn,Ep]),Ft={enabled:!0,_workingColorSpace:Nn,get legacyMode(){return console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),!this.enabled},set legacyMode(n){console.warn("THREE.ColorManagement: .legacyMode=false renamed to .enabled=true in r150."),this.enabled=!n},get workingColorSpace(){return this._workingColorSpace},set workingColorSpace(n){if(!k2t.has(n))throw new Error(`Unsupported working color space, "${n}".`);this._workingColorSpace=n},convert:function(n,e,t){if(this.enabled===!1||e===t||!e||!t)return n;const s=Qc[e].toReference,i=Qc[t].fromReference;return i(s(n))},fromWorkingColorSpace:function(n,e){return this.convert(n,this._workingColorSpace,e)},toWorkingColorSpace:function(n,e){return this.convert(n,e,this._workingColorSpace)},getPrimaries:function(n){return Qc[n].primaries},getTransfer:function(n){return n===gs?Eu:Qc[n].transfer}};function ra(n){return n<.04045?n*.0773993808:Math.pow(n*.9478672986+.0521327014,2.4)}function Xm(n){return n<.0031308?n*12.92:1.055*Math.pow(n,.41666)-.055}let Ao;class mO{static getDataURL(e){if(/^data:/i.test(e.src)||typeof HTMLCanvasElement>"u")return e.src;let t;if(e instanceof HTMLCanvasElement)t=e;else{Ao===void 0&&(Ao=ic("canvas")),Ao.width=e.width,Ao.height=e.height;const s=Ao.getContext("2d");e instanceof ImageData?s.putImageData(e,0,0):s.drawImage(e,0,0,e.width,e.height),t=Ao}return t.width>2048||t.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),t.toDataURL("image/jpeg",.6)):t.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const t=ic("canvas");t.width=e.width,t.height=e.height;const s=t.getContext("2d");s.drawImage(e,0,0,e.width,e.height);const i=s.getImageData(0,0,e.width,e.height),r=i.data;for(let o=0;o0&&(s.userData=this.userData),t||(e.textures[this.uuid]=s),s}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==sO)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case va:e.x=e.x-Math.floor(e.x);break;case fs:e.x=e.x<0?0:1;break;case bu:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case va:e.y=e.y-Math.floor(e.y);break;case fs:e.y=e.y<0?0:1;break;case bu:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}get encoding(){return Ll("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace===rn?no:_O}set encoding(e){Ll("THREE.Texture: Property .encoding has been replaced by .colorSpace."),this.colorSpace=e===no?rn:gs}}An.DEFAULT_IMAGE=null;An.DEFAULT_MAPPING=sO;An.DEFAULT_ANISOTROPY=1;class Wt{constructor(e=0,t=0,s=0,i=1){Wt.prototype.isVector4=!0,this.x=e,this.y=t,this.z=s,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,s,i){return this.x=e,this.y=t,this.z=s,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,s=this.y,i=this.z,r=this.w,o=e.elements;return this.x=o[0]*t+o[4]*s+o[8]*i+o[12]*r,this.y=o[1]*t+o[5]*s+o[9]*i+o[13]*r,this.z=o[2]*t+o[6]*s+o[10]*i+o[14]*r,this.w=o[3]*t+o[7]*s+o[11]*i+o[15]*r,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,s,i,r;const c=e.elements,d=c[0],u=c[4],h=c[8],f=c[1],m=c[5],_=c[9],g=c[2],b=c[6],E=c[10];if(Math.abs(u-f)<.01&&Math.abs(h-g)<.01&&Math.abs(_-b)<.01){if(Math.abs(u+f)<.1&&Math.abs(h+g)<.1&&Math.abs(_+b)<.1&&Math.abs(d+m+E-3)<.1)return this.set(1,0,0,0),this;t=Math.PI;const v=(d+1)/2,S=(m+1)/2,R=(E+1)/2,w=(u+f)/4,A=(h+g)/4,M=(_+b)/4;return v>S&&v>R?v<.01?(s=0,i=.707106781,r=.707106781):(s=Math.sqrt(v),i=w/s,r=A/s):S>R?S<.01?(s=.707106781,i=0,r=.707106781):(i=Math.sqrt(S),s=w/i,r=M/i):R<.01?(s=.707106781,i=.707106781,r=0):(r=Math.sqrt(R),s=A/r,i=M/r),this.set(s,i,r,t),this}let y=Math.sqrt((b-_)*(b-_)+(h-g)*(h-g)+(f-u)*(f-u));return Math.abs(y)<.001&&(y=1),this.x=(b-_)/y,this.y=(h-g)/y,this.z=(f-u)/y,this.w=Math.acos((d+m+E-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this.w=Math.max(e.w,Math.min(t.w,this.w)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this.w=Math.max(e,Math.min(t,this.w)),this}clampLength(e,t){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Math.max(e,Math.min(t,s)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,s){return this.x=e.x+(t.x-e.x)*s,this.y=e.y+(t.y-e.y)*s,this.z=e.z+(t.z-e.z)*s,this.w=e.w+(t.w-e.w)*s,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class P2t extends $a{constructor(e=1,t=1,s={}){super(),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=1,this.scissor=new Wt(0,0,e,t),this.scissorTest=!1,this.viewport=new Wt(0,0,e,t);const i={width:e,height:t,depth:1};s.encoding!==void 0&&(Ll("THREE.WebGLRenderTarget: option.encoding has been replaced by option.colorSpace."),s.colorSpace=s.encoding===no?rn:gs),s=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:$n,depthBuffer:!0,stencilBuffer:!1,depthTexture:null,samples:0},s),this.texture=new An(i,s.mapping,s.wrapS,s.wrapT,s.magFilter,s.minFilter,s.format,s.type,s.anisotropy,s.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=s.generateMipmaps,this.texture.internalFormat=s.internalFormat,this.depthBuffer=s.depthBuffer,this.stencilBuffer=s.stencilBuffer,this.depthTexture=s.depthTexture,this.samples=s.samples}setSize(e,t,s=1){(this.width!==e||this.height!==t||this.depth!==s)&&(this.width=e,this.height=t,this.depth=s,this.texture.image.width=e,this.texture.image.height=t,this.texture.image.depth=s,this.dispose()),this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const t=Object.assign({},e.texture.image);return this.texture.source=new gO(t),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class uo extends P2t{constructor(e=1,t=1,s={}){super(e,t,s),this.isWebGLRenderTarget=!0}}class bO extends An{constructor(e=null,t=1,s=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:s,depth:i},this.magFilter=yn,this.minFilter=yn,this.wrapR=fs,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class F2t extends An{constructor(e=null,t=1,s=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:s,depth:i},this.magFilter=yn,this.minFilter=yn,this.wrapR=fs,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class wr{constructor(e=0,t=0,s=0,i=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=s,this._w=i}static slerpFlat(e,t,s,i,r,o,a){let c=s[i+0],d=s[i+1],u=s[i+2],h=s[i+3];const f=r[o+0],m=r[o+1],_=r[o+2],g=r[o+3];if(a===0){e[t+0]=c,e[t+1]=d,e[t+2]=u,e[t+3]=h;return}if(a===1){e[t+0]=f,e[t+1]=m,e[t+2]=_,e[t+3]=g;return}if(h!==g||c!==f||d!==m||u!==_){let b=1-a;const E=c*f+d*m+u*_+h*g,y=E>=0?1:-1,v=1-E*E;if(v>Number.EPSILON){const R=Math.sqrt(v),w=Math.atan2(R,E*y);b=Math.sin(b*w)/R,a=Math.sin(a*w)/R}const S=a*y;if(c=c*b+f*S,d=d*b+m*S,u=u*b+_*S,h=h*b+g*S,b===1-a){const R=1/Math.sqrt(c*c+d*d+u*u+h*h);c*=R,d*=R,u*=R,h*=R}}e[t]=c,e[t+1]=d,e[t+2]=u,e[t+3]=h}static multiplyQuaternionsFlat(e,t,s,i,r,o){const a=s[i],c=s[i+1],d=s[i+2],u=s[i+3],h=r[o],f=r[o+1],m=r[o+2],_=r[o+3];return e[t]=a*_+u*h+c*m-d*f,e[t+1]=c*_+u*f+d*h-a*m,e[t+2]=d*_+u*m+a*f-c*h,e[t+3]=u*_-a*h-c*f-d*m,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,s,i){return this._x=e,this._y=t,this._z=s,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t){const s=e._x,i=e._y,r=e._z,o=e._order,a=Math.cos,c=Math.sin,d=a(s/2),u=a(i/2),h=a(r/2),f=c(s/2),m=c(i/2),_=c(r/2);switch(o){case"XYZ":this._x=f*u*h+d*m*_,this._y=d*m*h-f*u*_,this._z=d*u*_+f*m*h,this._w=d*u*h-f*m*_;break;case"YXZ":this._x=f*u*h+d*m*_,this._y=d*m*h-f*u*_,this._z=d*u*_-f*m*h,this._w=d*u*h+f*m*_;break;case"ZXY":this._x=f*u*h-d*m*_,this._y=d*m*h+f*u*_,this._z=d*u*_+f*m*h,this._w=d*u*h-f*m*_;break;case"ZYX":this._x=f*u*h-d*m*_,this._y=d*m*h+f*u*_,this._z=d*u*_-f*m*h,this._w=d*u*h+f*m*_;break;case"YZX":this._x=f*u*h+d*m*_,this._y=d*m*h+f*u*_,this._z=d*u*_-f*m*h,this._w=d*u*h-f*m*_;break;case"XZY":this._x=f*u*h-d*m*_,this._y=d*m*h-f*u*_,this._z=d*u*_+f*m*h,this._w=d*u*h+f*m*_;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return t!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const s=t/2,i=Math.sin(s);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(s),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,s=t[0],i=t[4],r=t[8],o=t[1],a=t[5],c=t[9],d=t[2],u=t[6],h=t[10],f=s+a+h;if(f>0){const m=.5/Math.sqrt(f+1);this._w=.25/m,this._x=(u-c)*m,this._y=(r-d)*m,this._z=(o-i)*m}else if(s>a&&s>h){const m=2*Math.sqrt(1+s-a-h);this._w=(u-c)/m,this._x=.25*m,this._y=(i+o)/m,this._z=(r+d)/m}else if(a>h){const m=2*Math.sqrt(1+a-s-h);this._w=(r-d)/m,this._x=(i+o)/m,this._y=.25*m,this._z=(c+u)/m}else{const m=2*Math.sqrt(1+h-s-a);this._w=(o-i)/m,this._x=(r+d)/m,this._y=(c+u)/m,this._z=.25*m}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let s=e.dot(t)+1;return sMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=s):(this._x=0,this._y=-e.z,this._z=e.y,this._w=s)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=s),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Mn(this.dot(e),-1,1)))}rotateTowards(e,t){const s=this.angleTo(e);if(s===0)return this;const i=Math.min(1,t/s);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const s=e._x,i=e._y,r=e._z,o=e._w,a=t._x,c=t._y,d=t._z,u=t._w;return this._x=s*u+o*a+i*d-r*c,this._y=i*u+o*c+r*a-s*d,this._z=r*u+o*d+s*c-i*a,this._w=o*u-s*a-i*c-r*d,this._onChangeCallback(),this}slerp(e,t){if(t===0)return this;if(t===1)return this.copy(e);const s=this._x,i=this._y,r=this._z,o=this._w;let a=o*e._w+s*e._x+i*e._y+r*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=o,this._x=s,this._y=i,this._z=r,this;const c=1-a*a;if(c<=Number.EPSILON){const m=1-t;return this._w=m*o+t*this._w,this._x=m*s+t*this._x,this._y=m*i+t*this._y,this._z=m*r+t*this._z,this.normalize(),this._onChangeCallback(),this}const d=Math.sqrt(c),u=Math.atan2(d,a),h=Math.sin((1-t)*u)/d,f=Math.sin(t*u)/d;return this._w=o*h+this._w*f,this._x=s*h+this._x*f,this._y=i*h+this._y*f,this._z=r*h+this._z*f,this._onChangeCallback(),this}slerpQuaternions(e,t,s){return this.copy(e).slerp(t,s)}random(){const e=Math.random(),t=Math.sqrt(1-e),s=Math.sqrt(e),i=2*Math.PI*Math.random(),r=2*Math.PI*Math.random();return this.set(t*Math.cos(i),s*Math.sin(r),s*Math.cos(r),t*Math.sin(i))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class ae{constructor(e=0,t=0,s=0){ae.prototype.isVector3=!0,this.x=e,this.y=t,this.z=s}set(e,t,s){return s===void 0&&(s=this.z),this.x=e,this.y=t,this.z=s,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion(zC.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion(zC.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,s=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[3]*s+r[6]*i,this.y=r[1]*t+r[4]*s+r[7]*i,this.z=r[2]*t+r[5]*s+r[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,s=this.y,i=this.z,r=e.elements,o=1/(r[3]*t+r[7]*s+r[11]*i+r[15]);return this.x=(r[0]*t+r[4]*s+r[8]*i+r[12])*o,this.y=(r[1]*t+r[5]*s+r[9]*i+r[13])*o,this.z=(r[2]*t+r[6]*s+r[10]*i+r[14])*o,this}applyQuaternion(e){const t=this.x,s=this.y,i=this.z,r=e.x,o=e.y,a=e.z,c=e.w,d=2*(o*i-a*s),u=2*(a*t-r*i),h=2*(r*s-o*t);return this.x=t+c*d+o*h-a*u,this.y=s+c*u+a*d-r*h,this.z=i+c*h+r*u-o*d,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,s=this.y,i=this.z,r=e.elements;return this.x=r[0]*t+r[4]*s+r[8]*i,this.y=r[1]*t+r[5]*s+r[9]*i,this.z=r[2]*t+r[6]*s+r[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=Math.max(e.x,Math.min(t.x,this.x)),this.y=Math.max(e.y,Math.min(t.y,this.y)),this.z=Math.max(e.z,Math.min(t.z,this.z)),this}clampScalar(e,t){return this.x=Math.max(e,Math.min(t,this.x)),this.y=Math.max(e,Math.min(t,this.y)),this.z=Math.max(e,Math.min(t,this.z)),this}clampLength(e,t){const s=this.length();return this.divideScalar(s||1).multiplyScalar(Math.max(e,Math.min(t,s)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,s){return this.x=e.x+(t.x-e.x)*s,this.y=e.y+(t.y-e.y)*s,this.z=e.z+(t.z-e.z)*s,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const s=e.x,i=e.y,r=e.z,o=t.x,a=t.y,c=t.z;return this.x=i*c-r*a,this.y=r*o-s*c,this.z=s*a-i*o,this}projectOnVector(e){const t=e.lengthSq();if(t===0)return this.set(0,0,0);const s=e.dot(this)/t;return this.copy(e).multiplyScalar(s)}projectOnPlane(e){return Jm.copy(this).projectOnVector(e),this.sub(Jm)}reflect(e){return this.sub(Jm.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(t===0)return Math.PI/2;const s=this.dot(e)/t;return Math.acos(Mn(s,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,s=this.y-e.y,i=this.z-e.z;return t*t+s*s+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,s){const i=Math.sin(t)*e;return this.x=i*Math.sin(s),this.y=Math.cos(t)*e,this.z=i*Math.cos(s),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,s){return this.x=e*Math.sin(t),this.y=s,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),s=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=s,this.z=i,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,t*4)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,t*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,t=Math.random()*Math.PI*2,s=Math.sqrt(1-e**2);return this.x=s*Math.cos(t),this.y=s*Math.sin(t),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Jm=new ae,zC=new wr;class qi{constructor(e=new ae(1/0,1/0,1/0),t=new ae(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,s=e.length;tthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,ks),ks.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,s;return e.normal.x>0?(t=e.normal.x*this.min.x,s=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,s=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,s+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,s+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,s+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,s+=e.normal.z*this.min.z),t<=-e.constant&&s>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(al),Zc.subVectors(this.max,al),No.subVectors(e.a,al),Oo.subVectors(e.b,al),Io.subVectors(e.c,al),Qi.subVectors(Oo,No),Xi.subVectors(Io,Oo),Mr.subVectors(No,Io);let t=[0,-Qi.z,Qi.y,0,-Xi.z,Xi.y,0,-Mr.z,Mr.y,Qi.z,0,-Qi.x,Xi.z,0,-Xi.x,Mr.z,0,-Mr.x,-Qi.y,Qi.x,0,-Xi.y,Xi.x,0,-Mr.y,Mr.x,0];return!eg(t,No,Oo,Io,Zc)||(t=[1,0,0,0,1,0,0,0,1],!eg(t,No,Oo,Io,Zc))?!1:(Jc.crossVectors(Qi,Xi),t=[Jc.x,Jc.y,Jc.z],eg(t,No,Oo,Io,Zc))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,ks).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=this.getSize(ks).length()*.5),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(xi[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),xi[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),xi[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),xi[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),xi[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),xi[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),xi[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),xi[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(xi),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const xi=[new ae,new ae,new ae,new ae,new ae,new ae,new ae,new ae],ks=new ae,Xc=new qi,No=new ae,Oo=new ae,Io=new ae,Qi=new ae,Xi=new ae,Mr=new ae,al=new ae,Zc=new ae,Jc=new ae,kr=new ae;function eg(n,e,t,s,i){for(let r=0,o=n.length-3;r<=o;r+=3){kr.fromArray(n,r);const a=i.x*Math.abs(kr.x)+i.y*Math.abs(kr.y)+i.z*Math.abs(kr.z),c=e.dot(kr),d=t.dot(kr),u=s.dot(kr);if(Math.max(-Math.max(c,d,u),Math.min(c,d,u))>a)return!1}return!0}const U2t=new qi,ll=new ae,tg=new ae;class bi{constructor(e=new ae,t=-1){this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const s=this.center;t!==void 0?s.copy(t):U2t.setFromPoints(e).getCenter(s);let i=0;for(let r=0,o=e.length;rthis.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;ll.subVectors(e,this.center);const t=ll.lengthSq();if(t>this.radius*this.radius){const s=Math.sqrt(t),i=(s-this.radius)*.5;this.center.addScaledVector(ll,i/s),this.radius+=i}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(this.center.equals(e.center)===!0?this.radius=Math.max(this.radius,e.radius):(tg.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(ll.copy(e.center).add(tg)),this.expandByPoint(ll.copy(e.center).sub(tg))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const Ci=new ae,ng=new ae,ed=new ae,Zi=new ae,sg=new ae,td=new ae,ig=new ae;class yp{constructor(e=new ae,t=new ae(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,Ci)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const s=t.dot(this.direction);return s<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,s)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=Ci.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(Ci.copy(this.origin).addScaledVector(this.direction,t),Ci.distanceToSquared(e))}distanceSqToSegment(e,t,s,i){ng.copy(e).add(t).multiplyScalar(.5),ed.copy(t).sub(e).normalize(),Zi.copy(this.origin).sub(ng);const r=e.distanceTo(t)*.5,o=-this.direction.dot(ed),a=Zi.dot(this.direction),c=-Zi.dot(ed),d=Zi.lengthSq(),u=Math.abs(1-o*o);let h,f,m,_;if(u>0)if(h=o*c-a,f=o*a-c,_=r*u,h>=0)if(f>=-_)if(f<=_){const g=1/u;h*=g,f*=g,m=h*(h+o*f+2*a)+f*(o*h+f+2*c)+d}else f=r,h=Math.max(0,-(o*f+a)),m=-h*h+f*(f+2*c)+d;else f=-r,h=Math.max(0,-(o*f+a)),m=-h*h+f*(f+2*c)+d;else f<=-_?(h=Math.max(0,-(-o*r+a)),f=h>0?-r:Math.min(Math.max(-r,-c),r),m=-h*h+f*(f+2*c)+d):f<=_?(h=0,f=Math.min(Math.max(-r,-c),r),m=f*(f+2*c)+d):(h=Math.max(0,-(o*r+a)),f=h>0?r:Math.min(Math.max(-r,-c),r),m=-h*h+f*(f+2*c)+d);else f=o>0?-r:r,h=Math.max(0,-(o*f+a)),m=-h*h+f*(f+2*c)+d;return s&&s.copy(this.origin).addScaledVector(this.direction,h),i&&i.copy(ng).addScaledVector(ed,f),m}intersectSphere(e,t){Ci.subVectors(e.center,this.origin);const s=Ci.dot(this.direction),i=Ci.dot(Ci)-s*s,r=e.radius*e.radius;if(i>r)return null;const o=Math.sqrt(r-i),a=s-o,c=s+o;return c<0?null:a<0?this.at(c,t):this.at(a,t)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(t===0)return e.distanceToPoint(this.origin)===0?0:null;const s=-(this.origin.dot(e.normal)+e.constant)/t;return s>=0?s:null}intersectPlane(e,t){const s=this.distanceToPlane(e);return s===null?null:this.at(s,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);return t===0||e.normal.dot(this.direction)*t<0}intersectBox(e,t){let s,i,r,o,a,c;const d=1/this.direction.x,u=1/this.direction.y,h=1/this.direction.z,f=this.origin;return d>=0?(s=(e.min.x-f.x)*d,i=(e.max.x-f.x)*d):(s=(e.max.x-f.x)*d,i=(e.min.x-f.x)*d),u>=0?(r=(e.min.y-f.y)*u,o=(e.max.y-f.y)*u):(r=(e.max.y-f.y)*u,o=(e.min.y-f.y)*u),s>o||r>i||((r>s||isNaN(s))&&(s=r),(o=0?(a=(e.min.z-f.z)*h,c=(e.max.z-f.z)*h):(a=(e.max.z-f.z)*h,c=(e.min.z-f.z)*h),s>c||a>i)||((a>s||s!==s)&&(s=a),(c=0?s:i,t)}intersectsBox(e){return this.intersectBox(e,Ci)!==null}intersectTriangle(e,t,s,i,r){sg.subVectors(t,e),td.subVectors(s,e),ig.crossVectors(sg,td);let o=this.direction.dot(ig),a;if(o>0){if(i)return null;a=1}else if(o<0)a=-1,o=-o;else return null;Zi.subVectors(this.origin,e);const c=a*this.direction.dot(td.crossVectors(Zi,td));if(c<0)return null;const d=a*this.direction.dot(sg.cross(Zi));if(d<0||c+d>o)return null;const u=-a*Zi.dot(ig);return u<0?null:this.at(u/o,r)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class xt{constructor(e,t,s,i,r,o,a,c,d,u,h,f,m,_,g,b){xt.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],e!==void 0&&this.set(e,t,s,i,r,o,a,c,d,u,h,f,m,_,g,b)}set(e,t,s,i,r,o,a,c,d,u,h,f,m,_,g,b){const E=this.elements;return E[0]=e,E[4]=t,E[8]=s,E[12]=i,E[1]=r,E[5]=o,E[9]=a,E[13]=c,E[2]=d,E[6]=u,E[10]=h,E[14]=f,E[3]=m,E[7]=_,E[11]=g,E[15]=b,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new xt().fromArray(this.elements)}copy(e){const t=this.elements,s=e.elements;return t[0]=s[0],t[1]=s[1],t[2]=s[2],t[3]=s[3],t[4]=s[4],t[5]=s[5],t[6]=s[6],t[7]=s[7],t[8]=s[8],t[9]=s[9],t[10]=s[10],t[11]=s[11],t[12]=s[12],t[13]=s[13],t[14]=s[14],t[15]=s[15],this}copyPosition(e){const t=this.elements,s=e.elements;return t[12]=s[12],t[13]=s[13],t[14]=s[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,s){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),s.setFromMatrixColumn(this,2),this}makeBasis(e,t,s){return this.set(e.x,t.x,s.x,0,e.y,t.y,s.y,0,e.z,t.z,s.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,s=e.elements,i=1/Mo.setFromMatrixColumn(e,0).length(),r=1/Mo.setFromMatrixColumn(e,1).length(),o=1/Mo.setFromMatrixColumn(e,2).length();return t[0]=s[0]*i,t[1]=s[1]*i,t[2]=s[2]*i,t[3]=0,t[4]=s[4]*r,t[5]=s[5]*r,t[6]=s[6]*r,t[7]=0,t[8]=s[8]*o,t[9]=s[9]*o,t[10]=s[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,s=e.x,i=e.y,r=e.z,o=Math.cos(s),a=Math.sin(s),c=Math.cos(i),d=Math.sin(i),u=Math.cos(r),h=Math.sin(r);if(e.order==="XYZ"){const f=o*u,m=o*h,_=a*u,g=a*h;t[0]=c*u,t[4]=-c*h,t[8]=d,t[1]=m+_*d,t[5]=f-g*d,t[9]=-a*c,t[2]=g-f*d,t[6]=_+m*d,t[10]=o*c}else if(e.order==="YXZ"){const f=c*u,m=c*h,_=d*u,g=d*h;t[0]=f+g*a,t[4]=_*a-m,t[8]=o*d,t[1]=o*h,t[5]=o*u,t[9]=-a,t[2]=m*a-_,t[6]=g+f*a,t[10]=o*c}else if(e.order==="ZXY"){const f=c*u,m=c*h,_=d*u,g=d*h;t[0]=f-g*a,t[4]=-o*h,t[8]=_+m*a,t[1]=m+_*a,t[5]=o*u,t[9]=g-f*a,t[2]=-o*d,t[6]=a,t[10]=o*c}else if(e.order==="ZYX"){const f=o*u,m=o*h,_=a*u,g=a*h;t[0]=c*u,t[4]=_*d-m,t[8]=f*d+g,t[1]=c*h,t[5]=g*d+f,t[9]=m*d-_,t[2]=-d,t[6]=a*c,t[10]=o*c}else if(e.order==="YZX"){const f=o*c,m=o*d,_=a*c,g=a*d;t[0]=c*u,t[4]=g-f*h,t[8]=_*h+m,t[1]=h,t[5]=o*u,t[9]=-a*u,t[2]=-d*u,t[6]=m*h+_,t[10]=f-g*h}else if(e.order==="XZY"){const f=o*c,m=o*d,_=a*c,g=a*d;t[0]=c*u,t[4]=-h,t[8]=d*u,t[1]=f*h+g,t[5]=o*u,t[9]=m*h-_,t[2]=_*h-m,t[6]=a*u,t[10]=g*h+f}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(B2t,e,G2t)}lookAt(e,t,s){const i=this.elements;return Zn.subVectors(e,t),Zn.lengthSq()===0&&(Zn.z=1),Zn.normalize(),Ji.crossVectors(s,Zn),Ji.lengthSq()===0&&(Math.abs(s.z)===1?Zn.x+=1e-4:Zn.z+=1e-4,Zn.normalize(),Ji.crossVectors(s,Zn)),Ji.normalize(),nd.crossVectors(Zn,Ji),i[0]=Ji.x,i[4]=nd.x,i[8]=Zn.x,i[1]=Ji.y,i[5]=nd.y,i[9]=Zn.y,i[2]=Ji.z,i[6]=nd.z,i[10]=Zn.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const s=e.elements,i=t.elements,r=this.elements,o=s[0],a=s[4],c=s[8],d=s[12],u=s[1],h=s[5],f=s[9],m=s[13],_=s[2],g=s[6],b=s[10],E=s[14],y=s[3],v=s[7],S=s[11],R=s[15],w=i[0],A=i[4],M=i[8],x=i[12],O=i[1],B=i[5],H=i[9],te=i[13],k=i[2],$=i[6],q=i[10],F=i[14],W=i[3],ne=i[7],le=i[11],me=i[15];return r[0]=o*w+a*O+c*k+d*W,r[4]=o*A+a*B+c*$+d*ne,r[8]=o*M+a*H+c*q+d*le,r[12]=o*x+a*te+c*F+d*me,r[1]=u*w+h*O+f*k+m*W,r[5]=u*A+h*B+f*$+m*ne,r[9]=u*M+h*H+f*q+m*le,r[13]=u*x+h*te+f*F+m*me,r[2]=_*w+g*O+b*k+E*W,r[6]=_*A+g*B+b*$+E*ne,r[10]=_*M+g*H+b*q+E*le,r[14]=_*x+g*te+b*F+E*me,r[3]=y*w+v*O+S*k+R*W,r[7]=y*A+v*B+S*$+R*ne,r[11]=y*M+v*H+S*q+R*le,r[15]=y*x+v*te+S*F+R*me,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],s=e[4],i=e[8],r=e[12],o=e[1],a=e[5],c=e[9],d=e[13],u=e[2],h=e[6],f=e[10],m=e[14],_=e[3],g=e[7],b=e[11],E=e[15];return _*(+r*c*h-i*d*h-r*a*f+s*d*f+i*a*m-s*c*m)+g*(+t*c*m-t*d*f+r*o*f-i*o*m+i*d*u-r*c*u)+b*(+t*d*h-t*a*m-r*o*h+s*o*m+r*a*u-s*d*u)+E*(-i*a*u-t*c*h+t*a*f+i*o*h-s*o*f+s*c*u)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,s){const i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=t,i[14]=s),this}invert(){const e=this.elements,t=e[0],s=e[1],i=e[2],r=e[3],o=e[4],a=e[5],c=e[6],d=e[7],u=e[8],h=e[9],f=e[10],m=e[11],_=e[12],g=e[13],b=e[14],E=e[15],y=h*b*d-g*f*d+g*c*m-a*b*m-h*c*E+a*f*E,v=_*f*d-u*b*d-_*c*m+o*b*m+u*c*E-o*f*E,S=u*g*d-_*h*d+_*a*m-o*g*m-u*a*E+o*h*E,R=_*h*c-u*g*c-_*a*f+o*g*f+u*a*b-o*h*b,w=t*y+s*v+i*S+r*R;if(w===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const A=1/w;return e[0]=y*A,e[1]=(g*f*r-h*b*r-g*i*m+s*b*m+h*i*E-s*f*E)*A,e[2]=(a*b*r-g*c*r+g*i*d-s*b*d-a*i*E+s*c*E)*A,e[3]=(h*c*r-a*f*r-h*i*d+s*f*d+a*i*m-s*c*m)*A,e[4]=v*A,e[5]=(u*b*r-_*f*r+_*i*m-t*b*m-u*i*E+t*f*E)*A,e[6]=(_*c*r-o*b*r-_*i*d+t*b*d+o*i*E-t*c*E)*A,e[7]=(o*f*r-u*c*r+u*i*d-t*f*d-o*i*m+t*c*m)*A,e[8]=S*A,e[9]=(_*h*r-u*g*r-_*s*m+t*g*m+u*s*E-t*h*E)*A,e[10]=(o*g*r-_*a*r+_*s*d-t*g*d-o*s*E+t*a*E)*A,e[11]=(u*a*r-o*h*r-u*s*d+t*h*d+o*s*m-t*a*m)*A,e[12]=R*A,e[13]=(u*g*i-_*h*i+_*s*f-t*g*f-u*s*b+t*h*b)*A,e[14]=(_*a*i-o*g*i-_*s*c+t*g*c+o*s*b-t*a*b)*A,e[15]=(o*h*i-u*a*i+u*s*c-t*h*c-o*s*f+t*a*f)*A,this}scale(e){const t=this.elements,s=e.x,i=e.y,r=e.z;return t[0]*=s,t[4]*=i,t[8]*=r,t[1]*=s,t[5]*=i,t[9]*=r,t[2]*=s,t[6]*=i,t[10]*=r,t[3]*=s,t[7]*=i,t[11]*=r,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],s=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],i=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,s,i))}makeTranslation(e,t,s){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,s,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),s=Math.sin(e);return this.set(1,0,0,0,0,t,-s,0,0,s,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),s=Math.sin(e);return this.set(t,0,s,0,0,1,0,0,-s,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),s=Math.sin(e);return this.set(t,-s,0,0,s,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const s=Math.cos(t),i=Math.sin(t),r=1-s,o=e.x,a=e.y,c=e.z,d=r*o,u=r*a;return this.set(d*o+s,d*a-i*c,d*c+i*a,0,d*a+i*c,u*a+s,u*c-i*o,0,d*c-i*a,u*c+i*o,r*c*c+s,0,0,0,0,1),this}makeScale(e,t,s){return this.set(e,0,0,0,0,t,0,0,0,0,s,0,0,0,0,1),this}makeShear(e,t,s,i,r,o){return this.set(1,s,r,0,e,1,o,0,t,i,1,0,0,0,0,1),this}compose(e,t,s){const i=this.elements,r=t._x,o=t._y,a=t._z,c=t._w,d=r+r,u=o+o,h=a+a,f=r*d,m=r*u,_=r*h,g=o*u,b=o*h,E=a*h,y=c*d,v=c*u,S=c*h,R=s.x,w=s.y,A=s.z;return i[0]=(1-(g+E))*R,i[1]=(m+S)*R,i[2]=(_-v)*R,i[3]=0,i[4]=(m-S)*w,i[5]=(1-(f+E))*w,i[6]=(b+y)*w,i[7]=0,i[8]=(_+v)*A,i[9]=(b-y)*A,i[10]=(1-(f+g))*A,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,t,s){const i=this.elements;let r=Mo.set(i[0],i[1],i[2]).length();const o=Mo.set(i[4],i[5],i[6]).length(),a=Mo.set(i[8],i[9],i[10]).length();this.determinant()<0&&(r=-r),e.x=i[12],e.y=i[13],e.z=i[14],Ds.copy(this);const d=1/r,u=1/o,h=1/a;return Ds.elements[0]*=d,Ds.elements[1]*=d,Ds.elements[2]*=d,Ds.elements[4]*=u,Ds.elements[5]*=u,Ds.elements[6]*=u,Ds.elements[8]*=h,Ds.elements[9]*=h,Ds.elements[10]*=h,t.setFromRotationMatrix(Ds),s.x=r,s.y=o,s.z=a,this}makePerspective(e,t,s,i,r,o,a=Li){const c=this.elements,d=2*r/(t-e),u=2*r/(s-i),h=(t+e)/(t-e),f=(s+i)/(s-i);let m,_;if(a===Li)m=-(o+r)/(o-r),_=-2*o*r/(o-r);else if(a===Su)m=-o/(o-r),_=-o*r/(o-r);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+a);return c[0]=d,c[4]=0,c[8]=h,c[12]=0,c[1]=0,c[5]=u,c[9]=f,c[13]=0,c[2]=0,c[6]=0,c[10]=m,c[14]=_,c[3]=0,c[7]=0,c[11]=-1,c[15]=0,this}makeOrthographic(e,t,s,i,r,o,a=Li){const c=this.elements,d=1/(t-e),u=1/(s-i),h=1/(o-r),f=(t+e)*d,m=(s+i)*u;let _,g;if(a===Li)_=(o+r)*h,g=-2*h;else if(a===Su)_=r*h,g=-1*h;else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+a);return c[0]=2*d,c[4]=0,c[8]=0,c[12]=-f,c[1]=0,c[5]=2*u,c[9]=0,c[13]=-m,c[2]=0,c[6]=0,c[10]=g,c[14]=-_,c[3]=0,c[7]=0,c[11]=0,c[15]=1,this}equals(e){const t=this.elements,s=e.elements;for(let i=0;i<16;i++)if(t[i]!==s[i])return!1;return!0}fromArray(e,t=0){for(let s=0;s<16;s++)this.elements[s]=e[s+t];return this}toArray(e=[],t=0){const s=this.elements;return e[t]=s[0],e[t+1]=s[1],e[t+2]=s[2],e[t+3]=s[3],e[t+4]=s[4],e[t+5]=s[5],e[t+6]=s[6],e[t+7]=s[7],e[t+8]=s[8],e[t+9]=s[9],e[t+10]=s[10],e[t+11]=s[11],e[t+12]=s[12],e[t+13]=s[13],e[t+14]=s[14],e[t+15]=s[15],e}}const Mo=new ae,Ds=new xt,B2t=new ae(0,0,0),G2t=new ae(1,1,1),Ji=new ae,nd=new ae,Zn=new ae,HC=new xt,qC=new wr;class vp{constructor(e=0,t=0,s=0,i=vp.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=s,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,s,i=this._order){return this._x=e,this._y=t,this._z=s,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,s=!0){const i=e.elements,r=i[0],o=i[4],a=i[8],c=i[1],d=i[5],u=i[9],h=i[2],f=i[6],m=i[10];switch(t){case"XYZ":this._y=Math.asin(Mn(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-u,m),this._z=Math.atan2(-o,r)):(this._x=Math.atan2(f,d),this._z=0);break;case"YXZ":this._x=Math.asin(-Mn(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(a,m),this._z=Math.atan2(c,d)):(this._y=Math.atan2(-h,r),this._z=0);break;case"ZXY":this._x=Math.asin(Mn(f,-1,1)),Math.abs(f)<.9999999?(this._y=Math.atan2(-h,m),this._z=Math.atan2(-o,d)):(this._y=0,this._z=Math.atan2(c,r));break;case"ZYX":this._y=Math.asin(-Mn(h,-1,1)),Math.abs(h)<.9999999?(this._x=Math.atan2(f,m),this._z=Math.atan2(c,r)):(this._x=0,this._z=Math.atan2(-o,d));break;case"YZX":this._z=Math.asin(Mn(c,-1,1)),Math.abs(c)<.9999999?(this._x=Math.atan2(-u,d),this._y=Math.atan2(-h,r)):(this._x=0,this._y=Math.atan2(a,m));break;case"XZY":this._z=Math.asin(-Mn(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(f,d),this._y=Math.atan2(a,r)):(this._x=Math.atan2(-u,m),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,s===!0&&this._onChangeCallback(),this}setFromQuaternion(e,t,s){return HC.makeRotationFromQuaternion(e),this.setFromRotationMatrix(HC,t,s)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return qC.setFromEuler(this),this.setFromQuaternion(qC,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}vp.DEFAULT_ORDER="XYZ";class EO{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let t=0;t1){for(let s=0;s0&&(i.userData=this.userData),i.layers=this.layers.mask,i.matrix=this.matrix.toArray(),i.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(i.matrixAutoUpdate=!1),this.isInstancedMesh&&(i.type="InstancedMesh",i.count=this.count,i.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(i.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(i.type="BatchedMesh",i.perObjectFrustumCulled=this.perObjectFrustumCulled,i.sortObjects=this.sortObjects,i.drawRanges=this._drawRanges,i.reservedRanges=this._reservedRanges,i.visibility=this._visibility,i.active=this._active,i.bounds=this._bounds.map(a=>({boxInitialized:a.boxInitialized,boxMin:a.box.min.toArray(),boxMax:a.box.max.toArray(),sphereInitialized:a.sphereInitialized,sphereRadius:a.sphere.radius,sphereCenter:a.sphere.center.toArray()})),i.maxGeometryCount=this._maxGeometryCount,i.maxVertexCount=this._maxVertexCount,i.maxIndexCount=this._maxIndexCount,i.geometryInitialized=this._geometryInitialized,i.geometryCount=this._geometryCount,i.matricesTexture=this._matricesTexture.toJSON(e),this.boundingSphere!==null&&(i.boundingSphere={center:i.boundingSphere.center.toArray(),radius:i.boundingSphere.radius}),this.boundingBox!==null&&(i.boundingBox={min:i.boundingBox.min.toArray(),max:i.boundingBox.max.toArray()}));function r(a,c){return a[c.uuid]===void 0&&(a[c.uuid]=c.toJSON(e)),c.uuid}if(this.isScene)this.background&&(this.background.isColor?i.background=this.background.toJSON():this.background.isTexture&&(i.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(i.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){i.geometry=r(e.geometries,this.geometry);const a=this.geometry.parameters;if(a!==void 0&&a.shapes!==void 0){const c=a.shapes;if(Array.isArray(c))for(let d=0,u=c.length;d0){i.children=[];for(let a=0;a0){i.animations=[];for(let a=0;a0&&(s.geometries=a),c.length>0&&(s.materials=c),d.length>0&&(s.textures=d),u.length>0&&(s.images=u),h.length>0&&(s.shapes=h),f.length>0&&(s.skeletons=f),m.length>0&&(s.animations=m),_.length>0&&(s.nodes=_)}return s.object=i,s;function o(a){const c=[];for(const d in a){const u=a[d];delete u.metadata,c.push(u)}return c}}clone(e){return new this.constructor().copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),t===!0)for(let s=0;s0?i.multiplyScalar(1/Math.sqrt(r)):i.set(0,0,0)}static getBarycoord(e,t,s,i,r){Ls.subVectors(i,t),Ri.subVectors(s,t),rg.subVectors(e,t);const o=Ls.dot(Ls),a=Ls.dot(Ri),c=Ls.dot(rg),d=Ri.dot(Ri),u=Ri.dot(rg),h=o*d-a*a;if(h===0)return r.set(-2,-1,-1);const f=1/h,m=(d*c-a*u)*f,_=(o*u-a*c)*f;return r.set(1-m-_,_,m)}static containsPoint(e,t,s,i){return this.getBarycoord(e,t,s,i,Ai),Ai.x>=0&&Ai.y>=0&&Ai.x+Ai.y<=1}static getUV(e,t,s,i,r,o,a,c){return id===!1&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),id=!0),this.getInterpolation(e,t,s,i,r,o,a,c)}static getInterpolation(e,t,s,i,r,o,a,c){return this.getBarycoord(e,t,s,i,Ai),c.setScalar(0),c.addScaledVector(r,Ai.x),c.addScaledVector(o,Ai.y),c.addScaledVector(a,Ai.z),c}static isFrontFacing(e,t,s,i){return Ls.subVectors(s,t),Ri.subVectors(e,t),Ls.cross(Ri).dot(i)<0}set(e,t,s){return this.a.copy(e),this.b.copy(t),this.c.copy(s),this}setFromPointsAndIndices(e,t,s,i){return this.a.copy(e[t]),this.b.copy(e[s]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,t,s,i){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,s),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Ls.subVectors(this.c,this.b),Ri.subVectors(this.a,this.b),Ls.cross(Ri).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Bs.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return Bs.getBarycoord(e,this.a,this.b,this.c,t)}getUV(e,t,s,i,r){return id===!1&&(console.warn("THREE.Triangle.getUV() has been renamed to THREE.Triangle.getInterpolation()."),id=!0),Bs.getInterpolation(e,this.a,this.b,this.c,t,s,i,r)}getInterpolation(e,t,s,i,r){return Bs.getInterpolation(e,this.a,this.b,this.c,t,s,i,r)}containsPoint(e){return Bs.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Bs.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const s=this.a,i=this.b,r=this.c;let o,a;Do.subVectors(i,s),Lo.subVectors(r,s),og.subVectors(e,s);const c=Do.dot(og),d=Lo.dot(og);if(c<=0&&d<=0)return t.copy(s);ag.subVectors(e,i);const u=Do.dot(ag),h=Lo.dot(ag);if(u>=0&&h<=u)return t.copy(i);const f=c*h-u*d;if(f<=0&&c>=0&&u<=0)return o=c/(c-u),t.copy(s).addScaledVector(Do,o);lg.subVectors(e,r);const m=Do.dot(lg),_=Lo.dot(lg);if(_>=0&&m<=_)return t.copy(r);const g=m*d-c*_;if(g<=0&&d>=0&&_<=0)return a=d/(d-_),t.copy(s).addScaledVector(Lo,a);const b=u*_-m*h;if(b<=0&&h-u>=0&&m-_>=0)return jC.subVectors(r,i),a=(h-u)/(h-u+(m-_)),t.copy(i).addScaledVector(jC,a);const E=1/(b+g+f);return o=g*E,a=f*E,t.copy(s).addScaledVector(Do,o).addScaledVector(Lo,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}const yO={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},er={h:0,s:0,l:0},rd={h:0,s:0,l:0};function cg(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+(e-n)*6*t:t<1/2?e:t<2/3?n+(e-n)*6*(2/3-t):n}class _t{constructor(e,t,s){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,s)}set(e,t,s){if(t===void 0&&s===void 0){const i=e;i&&i.isColor?this.copy(i):typeof i=="number"?this.setHex(i):typeof i=="string"&&this.setStyle(i)}else this.setRGB(e,t,s);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=rn){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Ft.toWorkingColorSpace(this,t),this}setRGB(e,t,s,i=Ft.workingColorSpace){return this.r=e,this.g=t,this.b=s,Ft.toWorkingColorSpace(this,i),this}setHSL(e,t,s,i=Ft.workingColorSpace){if(e=hy(e,1),t=Mn(t,0,1),s=Mn(s,0,1),t===0)this.r=this.g=this.b=s;else{const r=s<=.5?s*(1+t):s+t-s*t,o=2*s-r;this.r=cg(o,r,e+1/3),this.g=cg(o,r,e),this.b=cg(o,r,e-1/3)}return Ft.toWorkingColorSpace(this,i),this}setStyle(e,t=rn){function s(r){r!==void 0&&parseFloat(r)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^(\w+)\(([^\)]*)\)/.exec(e)){let r;const o=i[1],a=i[2];switch(o){case"rgb":case"rgba":if(r=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return s(r[4]),this.setRGB(Math.min(255,parseInt(r[1],10))/255,Math.min(255,parseInt(r[2],10))/255,Math.min(255,parseInt(r[3],10))/255,t);if(r=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return s(r[4]),this.setRGB(Math.min(100,parseInt(r[1],10))/100,Math.min(100,parseInt(r[2],10))/100,Math.min(100,parseInt(r[3],10))/100,t);break;case"hsl":case"hsla":if(r=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return s(r[4]),this.setHSL(parseFloat(r[1])/360,parseFloat(r[2])/100,parseFloat(r[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){const r=i[1],o=r.length;if(o===3)return this.setRGB(parseInt(r.charAt(0),16)/15,parseInt(r.charAt(1),16)/15,parseInt(r.charAt(2),16)/15,t);if(o===6)return this.setHex(parseInt(r,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=rn){const s=yO[e.toLowerCase()];return s!==void 0?this.setHex(s,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=ra(e.r),this.g=ra(e.g),this.b=ra(e.b),this}copyLinearToSRGB(e){return this.r=Xm(e.r),this.g=Xm(e.g),this.b=Xm(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=rn){return Ft.fromWorkingColorSpace(In.copy(this),e),Math.round(Mn(In.r*255,0,255))*65536+Math.round(Mn(In.g*255,0,255))*256+Math.round(Mn(In.b*255,0,255))}getHexString(e=rn){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=Ft.workingColorSpace){Ft.fromWorkingColorSpace(In.copy(this),t);const s=In.r,i=In.g,r=In.b,o=Math.max(s,i,r),a=Math.min(s,i,r);let c,d;const u=(a+o)/2;if(a===o)c=0,d=0;else{const h=o-a;switch(d=u<=.5?h/(o+a):h/(2-o-a),o){case s:c=(i-r)/h+(i0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const t in e){const s=e[t];if(s===void 0){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const i=this[t];if(i===void 0){console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`);continue}i&&i.isColor?i.set(s):i&&i.isVector3&&s&&s.isVector3?i.copy(s):this[t]=s}}toJSON(e){const t=e===void 0||typeof e=="string";t&&(e={textures:{},images:{}});const s={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};s.uuid=this.uuid,s.type=this.type,this.name!==""&&(s.name=this.name),this.color&&this.color.isColor&&(s.color=this.color.getHex()),this.roughness!==void 0&&(s.roughness=this.roughness),this.metalness!==void 0&&(s.metalness=this.metalness),this.sheen!==void 0&&(s.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(s.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(s.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(s.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(s.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(s.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(s.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(s.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(s.shininess=this.shininess),this.clearcoat!==void 0&&(s.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(s.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(s.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(s.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(s.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,s.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(s.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(s.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(s.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(s.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(s.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.anisotropy!==void 0&&(s.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(s.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(s.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(s.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(s.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(s.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(s.lightMap=this.lightMap.toJSON(e).uuid,s.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(s.aoMap=this.aoMap.toJSON(e).uuid,s.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(s.bumpMap=this.bumpMap.toJSON(e).uuid,s.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(s.normalMap=this.normalMap.toJSON(e).uuid,s.normalMapType=this.normalMapType,s.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(s.displacementMap=this.displacementMap.toJSON(e).uuid,s.displacementScale=this.displacementScale,s.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(s.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(s.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(s.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(s.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(s.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(s.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(s.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(s.combine=this.combine)),this.envMapIntensity!==void 0&&(s.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(s.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(s.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(s.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(s.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(s.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(s.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(s.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(s.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(s.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(s.size=this.size),this.shadowSide!==null&&(s.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(s.sizeAttenuation=this.sizeAttenuation),this.blending!==ia&&(s.blending=this.blending),this.side!==Vi&&(s.side=this.side),this.vertexColors===!0&&(s.vertexColors=!0),this.opacity<1&&(s.opacity=this.opacity),this.transparent===!0&&(s.transparent=!0),this.blendSrc!==hb&&(s.blendSrc=this.blendSrc),this.blendDst!==fb&&(s.blendDst=this.blendDst),this.blendEquation!==qr&&(s.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(s.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(s.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(s.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(s.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(s.blendAlpha=this.blendAlpha),this.depthFunc!==gu&&(s.depthFunc=this.depthFunc),this.depthTest===!1&&(s.depthTest=this.depthTest),this.depthWrite===!1&&(s.depthWrite=this.depthWrite),this.colorWrite===!1&&(s.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(s.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==PC&&(s.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(s.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(s.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==Ro&&(s.stencilFail=this.stencilFail),this.stencilZFail!==Ro&&(s.stencilZFail=this.stencilZFail),this.stencilZPass!==Ro&&(s.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(s.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(s.rotation=this.rotation),this.polygonOffset===!0&&(s.polygonOffset=!0),this.polygonOffsetFactor!==0&&(s.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(s.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(s.linewidth=this.linewidth),this.dashSize!==void 0&&(s.dashSize=this.dashSize),this.gapSize!==void 0&&(s.gapSize=this.gapSize),this.scale!==void 0&&(s.scale=this.scale),this.dithering===!0&&(s.dithering=!0),this.alphaTest>0&&(s.alphaTest=this.alphaTest),this.alphaHash===!0&&(s.alphaHash=!0),this.alphaToCoverage===!0&&(s.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(s.premultipliedAlpha=!0),this.forceSinglePass===!0&&(s.forceSinglePass=!0),this.wireframe===!0&&(s.wireframe=!0),this.wireframeLinewidth>1&&(s.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(s.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(s.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(s.flatShading=!0),this.visible===!1&&(s.visible=!1),this.toneMapped===!1&&(s.toneMapped=!1),this.fog===!1&&(s.fog=!1),Object.keys(this.userData).length>0&&(s.userData=this.userData);function i(r){const o=[];for(const a in r){const c=r[a];delete c.metadata,o.push(c)}return o}if(t){const r=i(e.textures),o=i(e.images);r.length>0&&(s.textures=r),o.length>0&&(s.images=o)}return s}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let s=null;if(t!==null){const i=t.length;s=new Array(i);for(let r=0;r!==i;++r)s[r]=t[r].clone()}return this.clippingPlanes=s,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}}class hr extends Ws{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new _t(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=dy,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const cn=new ae,od=new At;class zn{constructor(e,t,s=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=t,this.count=e!==void 0?e.length/t:0,this.normalized=s,this.usage=yb,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.gpuType=Di,this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return console.warn('THREE.BufferAttribute: "updateRange" is deprecated and removed in r169. Use "addUpdateRange()" instead.'),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,s){e*=this.itemSize,s*=t.itemSize;for(let i=0,r=this.itemSize;i0&&(e.userData=this.userData),this.parameters!==void 0){const c=this.parameters;for(const d in c)c[d]!==void 0&&(e[d]=c[d]);return e}e.data={attributes:{}};const t=this.index;t!==null&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const s=this.attributes;for(const c in s){const d=s[c];e.data.attributes[c]=d.toJSON(e.data)}const i={};let r=!1;for(const c in this.morphAttributes){const d=this.morphAttributes[c],u=[];for(let h=0,f=d.length;h0&&(i[c]=u,r=!0)}r&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const s=e.index;s!==null&&this.setIndex(s.clone(t));const i=e.attributes;for(const d in i){const u=i[d];this.setAttribute(d,u.clone(t))}const r=e.morphAttributes;for(const d in r){const u=[],h=r[d];for(let f=0,m=h.length;f0){const i=t[s[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,o=i.length;r(e.far-e.near)**2))&&(QC.copy(r).invert(),Dr.copy(e.ray).applyMatrix4(QC),!(s.boundingBox!==null&&Dr.intersectsBox(s.boundingBox)===!1)&&this._computeIntersections(e,t,Dr)))}_computeIntersections(e,t,s){let i;const r=this.geometry,o=this.material,a=r.index,c=r.attributes.position,d=r.attributes.uv,u=r.attributes.uv1,h=r.attributes.normal,f=r.groups,m=r.drawRange;if(a!==null)if(Array.isArray(o))for(let _=0,g=f.length;_t.far?null:{distance:d,point:_d.clone(),object:n}}function hd(n,e,t,s,i,r,o,a,c,d){n.getVertexPosition(a,Fo),n.getVertexPosition(c,Uo),n.getVertexPosition(d,Bo);const u=K2t(n,e,t,s,Fo,Uo,Bo,pd);if(u){i&&(cd.fromBufferAttribute(i,a),dd.fromBufferAttribute(i,c),ud.fromBufferAttribute(i,d),u.uv=Bs.getInterpolation(pd,Fo,Uo,Bo,cd,dd,ud,new At)),r&&(cd.fromBufferAttribute(r,a),dd.fromBufferAttribute(r,c),ud.fromBufferAttribute(r,d),u.uv1=Bs.getInterpolation(pd,Fo,Uo,Bo,cd,dd,ud,new At),u.uv2=u.uv1),o&&(ZC.fromBufferAttribute(o,a),JC.fromBufferAttribute(o,c),ew.fromBufferAttribute(o,d),u.normal=Bs.getInterpolation(pd,Fo,Uo,Bo,ZC,JC,ew,new ae),u.normal.dot(s.direction)>0&&u.normal.multiplyScalar(-1));const h={a,b:c,c:d,normal:new ae,materialIndex:0};Bs.getNormal(Fo,Uo,Bo,h.normal),u.face=h}return u}class yr extends Ei{constructor(e=1,t=1,s=1,i=1,r=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:s,widthSegments:i,heightSegments:r,depthSegments:o};const a=this;i=Math.floor(i),r=Math.floor(r),o=Math.floor(o);const c=[],d=[],u=[],h=[];let f=0,m=0;_("z","y","x",-1,-1,s,t,e,o,r,0),_("z","y","x",1,-1,s,t,-e,o,r,1),_("x","z","y",1,1,e,s,t,i,o,2),_("x","z","y",1,-1,e,s,-t,i,o,3),_("x","y","z",1,-1,e,t,s,i,r,4),_("x","y","z",-1,-1,e,t,-s,i,r,5),this.setIndex(c),this.setAttribute("position",new Pi(d,3)),this.setAttribute("normal",new Pi(u,3)),this.setAttribute("uv",new Pi(h,2));function _(g,b,E,y,v,S,R,w,A,M,x){const O=S/A,B=R/M,H=S/2,te=R/2,k=w/2,$=A+1,q=M+1;let F=0,W=0;const ne=new ae;for(let le=0;le0?1:-1,u.push(ne.x,ne.y,ne.z),h.push(Se/A),h.push(1-le/M),F+=1}}for(let le=0;le0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const s={};for(const i in this.extensions)this.extensions[i]===!0&&(s[i]=!0);return Object.keys(s).length>0&&(t.extensions=s),t}}class xO extends nn{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new xt,this.projectionMatrix=new xt,this.projectionMatrixInverse=new xt,this.coordinateSystem=Li}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class Gn extends xO{constructor(e=50,t=1,s=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=s,this.far=i,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=Ta*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(kl*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return Ta*2*Math.atan(Math.tan(kl*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,s,i,r,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=s,this.view.offsetY=i,this.view.width=r,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(kl*.5*this.fov)/this.zoom,s=2*t,i=this.aspect*s,r=-.5*i;const o=this.view;if(this.view!==null&&this.view.enabled){const c=o.fullWidth,d=o.fullHeight;r+=o.offsetX*i/c,t-=o.offsetY*s/d,i*=o.width/c,s*=o.height/d}const a=this.filmOffset;a!==0&&(r+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,t,t-s,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const Bo=-90,Go=1;class pNt extends nn{constructor(e,t,s){super(),this.type="CubeCamera",this.renderTarget=s,this.coordinateSystem=null,this.activeMipmapLevel=0;const i=new Gn(Bo,Go,e,t);i.layers=this.layers,this.add(i);const r=new Gn(Bo,Go,e,t);r.layers=this.layers,this.add(r);const o=new Gn(Bo,Go,e,t);o.layers=this.layers,this.add(o);const a=new Gn(Bo,Go,e,t);a.layers=this.layers,this.add(a);const c=new Gn(Bo,Go,e,t);c.layers=this.layers,this.add(c);const d=new Gn(Bo,Go,e,t);d.layers=this.layers,this.add(d)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[s,i,r,o,a,c]=t;for(const d of t)this.remove(d);if(e===Li)s.up.set(0,1,0),s.lookAt(1,0,0),i.up.set(0,1,0),i.lookAt(-1,0,0),r.up.set(0,0,-1),r.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),a.up.set(0,1,0),a.lookAt(0,0,1),c.up.set(0,1,0),c.lookAt(0,0,-1);else if(e===Su)s.up.set(0,-1,0),s.lookAt(-1,0,0),i.up.set(0,-1,0),i.lookAt(1,0,0),r.up.set(0,0,1),r.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),a.up.set(0,-1,0),a.lookAt(0,0,1),c.up.set(0,-1,0),c.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(const d of t)this.add(d),d.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();const{renderTarget:s,activeMipmapLevel:i}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[r,o,a,c,d,u]=this.children,h=e.getRenderTarget(),f=e.getActiveCubeFace(),m=e.getActiveMipmapLevel(),_=e.xr.enabled;e.xr.enabled=!1;const g=s.texture.generateMipmaps;s.texture.generateMipmaps=!1,e.setRenderTarget(s,0,i),e.render(t,r),e.setRenderTarget(s,1,i),e.render(t,o),e.setRenderTarget(s,2,i),e.render(t,a),e.setRenderTarget(s,3,i),e.render(t,c),e.setRenderTarget(s,4,i),e.render(t,d),s.texture.generateMipmaps=g,e.setRenderTarget(s,5,i),e.render(t,u),e.setRenderTarget(h,f,m),e.xr.enabled=_,s.texture.needsPMREMUpdate=!0}}class CO extends An{constructor(e,t,s,i,r,o,a,c,d,u){e=e!==void 0?e:[],t=t!==void 0?t:ba,super(e,t,s,i,r,o,a,c,d,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class _Nt extends uo{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const s={width:e,height:e,depth:1},i=[s,s,s,s,s,s];t.encoding!==void 0&&(Ll("THREE.WebGLCubeRenderTarget: option.encoding has been replaced by option.colorSpace."),t.colorSpace=t.encoding===no?rn:gs),this.texture=new CO(i,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:$n}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const s={uniforms:{tEquirect:{value:null}},vertexShader:` +}`;class po extends Ws{constructor(e){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader=X2t,this.fragmentShader=Z2t,this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,e!==void 0&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=Ca(e.uniforms),this.uniformsGroups=j2t(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){const t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(const i in this.uniforms){const o=this.uniforms[i].value;o&&o.isTexture?t.uniforms[i]={type:"t",value:o.toJSON(e).uuid}:o&&o.isColor?t.uniforms[i]={type:"c",value:o.getHex()}:o&&o.isVector2?t.uniforms[i]={type:"v2",value:o.toArray()}:o&&o.isVector3?t.uniforms[i]={type:"v3",value:o.toArray()}:o&&o.isVector4?t.uniforms[i]={type:"v4",value:o.toArray()}:o&&o.isMatrix3?t.uniforms[i]={type:"m3",value:o.toArray()}:o&&o.isMatrix4?t.uniforms[i]={type:"m4",value:o.toArray()}:t.uniforms[i]={value:o}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const s={};for(const i in this.extensions)this.extensions[i]===!0&&(s[i]=!0);return Object.keys(s).length>0&&(t.extensions=s),t}}class xO extends nn{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new xt,this.projectionMatrix=new xt,this.projectionMatrixInverse=new xt,this.coordinateSystem=Li}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class Gn extends xO{constructor(e=50,t=1,s=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=s,this.far=i,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=xa*2*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(kl*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return xa*2*Math.atan(Math.tan(kl*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,t,s,i,r,o){this.aspect=e/t,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=s,this.view.offsetY=i,this.view.width=r,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(kl*.5*this.fov)/this.zoom,s=2*t,i=this.aspect*s,r=-.5*i;const o=this.view;if(this.view!==null&&this.view.enabled){const c=o.fullWidth,d=o.fullHeight;r+=o.offsetX*i/c,t-=o.offsetY*s/d,i*=o.width/c,s*=o.height/d}const a=this.filmOffset;a!==0&&(r+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(r,r+i,t,t-s,e,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,this.view!==null&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const Go=-90,Vo=1;class J2t extends nn{constructor(e,t,s){super(),this.type="CubeCamera",this.renderTarget=s,this.coordinateSystem=null,this.activeMipmapLevel=0;const i=new Gn(Go,Vo,e,t);i.layers=this.layers,this.add(i);const r=new Gn(Go,Vo,e,t);r.layers=this.layers,this.add(r);const o=new Gn(Go,Vo,e,t);o.layers=this.layers,this.add(o);const a=new Gn(Go,Vo,e,t);a.layers=this.layers,this.add(a);const c=new Gn(Go,Vo,e,t);c.layers=this.layers,this.add(c);const d=new Gn(Go,Vo,e,t);d.layers=this.layers,this.add(d)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[s,i,r,o,a,c]=t;for(const d of t)this.remove(d);if(e===Li)s.up.set(0,1,0),s.lookAt(1,0,0),i.up.set(0,1,0),i.lookAt(-1,0,0),r.up.set(0,0,-1),r.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),a.up.set(0,1,0),a.lookAt(0,0,1),c.up.set(0,1,0),c.lookAt(0,0,-1);else if(e===Su)s.up.set(0,-1,0),s.lookAt(-1,0,0),i.up.set(0,-1,0),i.lookAt(1,0,0),r.up.set(0,0,1),r.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),a.up.set(0,-1,0),a.lookAt(0,0,1),c.up.set(0,-1,0),c.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);for(const d of t)this.add(d),d.updateMatrixWorld()}update(e,t){this.parent===null&&this.updateMatrixWorld();const{renderTarget:s,activeMipmapLevel:i}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[r,o,a,c,d,u]=this.children,h=e.getRenderTarget(),f=e.getActiveCubeFace(),m=e.getActiveMipmapLevel(),_=e.xr.enabled;e.xr.enabled=!1;const g=s.texture.generateMipmaps;s.texture.generateMipmaps=!1,e.setRenderTarget(s,0,i),e.render(t,r),e.setRenderTarget(s,1,i),e.render(t,o),e.setRenderTarget(s,2,i),e.render(t,a),e.setRenderTarget(s,3,i),e.render(t,c),e.setRenderTarget(s,4,i),e.render(t,d),s.texture.generateMipmaps=g,e.setRenderTarget(s,5,i),e.render(t,u),e.setRenderTarget(h,f,m),e.xr.enabled=_,s.texture.needsPMREMUpdate=!0}}class CO extends An{constructor(e,t,s,i,r,o,a,c,d,u){e=e!==void 0?e:[],t=t!==void 0?t:Ea,super(e,t,s,i,r,o,a,c,d,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class eNt extends uo{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const s={width:e,height:e,depth:1},i=[s,s,s,s,s,s];t.encoding!==void 0&&(Ll("THREE.WebGLCubeRenderTarget: option.encoding has been replaced by option.colorSpace."),t.colorSpace=t.encoding===no?rn:gs),this.texture=new CO(i,t.mapping,t.wrapS,t.wrapT,t.magFilter,t.minFilter,t.format,t.type,t.anisotropy,t.colorSpace),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=t.generateMipmaps!==void 0?t.generateMipmaps:!1,this.texture.minFilter=t.minFilter!==void 0?t.minFilter:$n}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const s={uniforms:{tEquirect:{value:null}},vertexShader:` varying vec3 vWorldDirection; @@ -371,9 +297,9 @@ ${c}`;navigator.clipboard.writeText(d)}else navigator.clipboard.writeText(e);thi gl_FragColor = texture2D( tEquirect, sampleUV ); } - `},i=new yr(5,5,5),r=new po({name:"CubemapFromEquirect",uniforms:xa(s.uniforms),vertexShader:s.vertexShader,fragmentShader:s.fragmentShader,side:Kn,blending:gr});r.uniforms.tEquirect.value=t;const o=new Vn(i,r),a=t.minFilter;return t.minFilter===co&&(t.minFilter=$n),new pNt(1,10,this).update(e,o),t.minFilter=a,o.geometry.dispose(),o.material.dispose(),this}clear(e,t,s,i){const r=e.getRenderTarget();for(let o=0;o<6;o++)e.setRenderTarget(this,o),e.clear(t,s,i);e.setRenderTarget(r)}}const pg=new ae,hNt=new ae,fNt=new Tt;class Ur{constructor(e=new ae(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,s,i){return this.normal.set(e,t,s),this.constant=i,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,s){const i=pg.subVectors(s,t).cross(hNt.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(i,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t){const s=e.delta(pg),i=this.normal.dot(s);if(i===0)return this.distanceToPoint(e.start)===0?t.copy(e.start):null;const r=-(e.start.dot(this.normal)+this.constant)/i;return r<0||r>1?null:t.copy(e.start).addScaledVector(s,r)}intersectsLine(e){const t=this.distanceToPoint(e.start),s=this.distanceToPoint(e.end);return t<0&&s>0||s<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const s=t||fNt.getNormalMatrix(e),i=this.coplanarPoint(pg).applyMatrix4(e),r=this.normal.applyMatrix3(s).normalize();return this.constant=-i.dot(r),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const Lr=new bi,fd=new ae;class fy{constructor(e=new Ur,t=new Ur,s=new Ur,i=new Ur,r=new Ur,o=new Ur){this.planes=[e,t,s,i,r,o]}set(e,t,s,i,r,o){const a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(s),a[3].copy(i),a[4].copy(r),a[5].copy(o),this}copy(e){const t=this.planes;for(let s=0;s<6;s++)t[s].copy(e.planes[s]);return this}setFromProjectionMatrix(e,t=Li){const s=this.planes,i=e.elements,r=i[0],o=i[1],a=i[2],c=i[3],d=i[4],u=i[5],h=i[6],f=i[7],m=i[8],_=i[9],g=i[10],b=i[11],E=i[12],y=i[13],v=i[14],S=i[15];if(s[0].setComponents(c-r,f-d,b-m,S-E).normalize(),s[1].setComponents(c+r,f+d,b+m,S+E).normalize(),s[2].setComponents(c+o,f+u,b+_,S+y).normalize(),s[3].setComponents(c-o,f-u,b-_,S-y).normalize(),s[4].setComponents(c-a,f-h,b-g,S-v).normalize(),t===Li)s[5].setComponents(c+a,f+h,b+g,S+v).normalize();else if(t===Su)s[5].setComponents(a,h,g,v).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),Lr.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),Lr.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(Lr)}intersectsSprite(e){return Lr.center.set(0,0,0),Lr.radius=.7071067811865476,Lr.applyMatrix4(e.matrixWorld),this.intersectsSphere(Lr)}intersectsSphere(e){const t=this.planes,s=e.center,i=-e.radius;for(let r=0;r<6;r++)if(t[r].distanceToPoint(s)0?e.max.x:e.min.x,fd.y=i.normal.y>0?e.max.y:e.min.y,fd.z=i.normal.z>0?e.max.z:e.min.z,i.distanceToPoint(fd)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let s=0;s<6;s++)if(t[s].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function wO(){let n=null,e=!1,t=null,s=null;function i(r,o){t(r,o),s=n.requestAnimationFrame(i)}return{start:function(){e!==!0&&t!==null&&(s=n.requestAnimationFrame(i),e=!0)},stop:function(){n.cancelAnimationFrame(s),e=!1},setAnimationLoop:function(r){t=r},setContext:function(r){n=r}}}function mNt(n,e){const t=e.isWebGL2,s=new WeakMap;function i(d,u){const h=d.array,f=d.usage,m=h.byteLength,_=n.createBuffer();n.bindBuffer(u,_),n.bufferData(u,h,f),d.onUploadCallback();let g;if(h instanceof Float32Array)g=n.FLOAT;else if(h instanceof Uint16Array)if(d.isFloat16BufferAttribute)if(t)g=n.HALF_FLOAT;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else g=n.UNSIGNED_SHORT;else if(h instanceof Int16Array)g=n.SHORT;else if(h instanceof Uint32Array)g=n.UNSIGNED_INT;else if(h instanceof Int32Array)g=n.INT;else if(h instanceof Int8Array)g=n.BYTE;else if(h instanceof Uint8Array)g=n.UNSIGNED_BYTE;else if(h instanceof Uint8ClampedArray)g=n.UNSIGNED_BYTE;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+h);return{buffer:_,type:g,bytesPerElement:h.BYTES_PER_ELEMENT,version:d.version,size:m}}function r(d,u,h){const f=u.array,m=u._updateRange,_=u.updateRanges;if(n.bindBuffer(h,d),m.count===-1&&_.length===0&&n.bufferSubData(h,0,f),_.length!==0){for(let g=0,b=_.length;g1?null:t.copy(e.start).addScaledVector(s,r)}intersectsLine(e){const t=this.distanceToPoint(e.start),s=this.distanceToPoint(e.end);return t<0&&s>0||s<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const s=t||nNt.getNormalMatrix(e),i=this.coplanarPoint(pg).applyMatrix4(e),r=this.normal.applyMatrix3(s).normalize();return this.constant=-i.dot(r),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const Lr=new bi,fd=new ae;class fy{constructor(e=new Ur,t=new Ur,s=new Ur,i=new Ur,r=new Ur,o=new Ur){this.planes=[e,t,s,i,r,o]}set(e,t,s,i,r,o){const a=this.planes;return a[0].copy(e),a[1].copy(t),a[2].copy(s),a[3].copy(i),a[4].copy(r),a[5].copy(o),this}copy(e){const t=this.planes;for(let s=0;s<6;s++)t[s].copy(e.planes[s]);return this}setFromProjectionMatrix(e,t=Li){const s=this.planes,i=e.elements,r=i[0],o=i[1],a=i[2],c=i[3],d=i[4],u=i[5],h=i[6],f=i[7],m=i[8],_=i[9],g=i[10],b=i[11],E=i[12],y=i[13],v=i[14],S=i[15];if(s[0].setComponents(c-r,f-d,b-m,S-E).normalize(),s[1].setComponents(c+r,f+d,b+m,S+E).normalize(),s[2].setComponents(c+o,f+u,b+_,S+y).normalize(),s[3].setComponents(c-o,f-u,b-_,S-y).normalize(),s[4].setComponents(c-a,f-h,b-g,S-v).normalize(),t===Li)s[5].setComponents(c+a,f+h,b+g,S+v).normalize();else if(t===Su)s[5].setComponents(a,h,g,v).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);return this}intersectsObject(e){if(e.boundingSphere!==void 0)e.boundingSphere===null&&e.computeBoundingSphere(),Lr.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;t.boundingSphere===null&&t.computeBoundingSphere(),Lr.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(Lr)}intersectsSprite(e){return Lr.center.set(0,0,0),Lr.radius=.7071067811865476,Lr.applyMatrix4(e.matrixWorld),this.intersectsSphere(Lr)}intersectsSphere(e){const t=this.planes,s=e.center,i=-e.radius;for(let r=0;r<6;r++)if(t[r].distanceToPoint(s)0?e.max.x:e.min.x,fd.y=i.normal.y>0?e.max.y:e.min.y,fd.z=i.normal.z>0?e.max.z:e.min.z,i.distanceToPoint(fd)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let s=0;s<6;s++)if(t[s].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function wO(){let n=null,e=!1,t=null,s=null;function i(r,o){t(r,o),s=n.requestAnimationFrame(i)}return{start:function(){e!==!0&&t!==null&&(s=n.requestAnimationFrame(i),e=!0)},stop:function(){n.cancelAnimationFrame(s),e=!1},setAnimationLoop:function(r){t=r},setContext:function(r){n=r}}}function sNt(n,e){const t=e.isWebGL2,s=new WeakMap;function i(d,u){const h=d.array,f=d.usage,m=h.byteLength,_=n.createBuffer();n.bindBuffer(u,_),n.bufferData(u,h,f),d.onUploadCallback();let g;if(h instanceof Float32Array)g=n.FLOAT;else if(h instanceof Uint16Array)if(d.isFloat16BufferAttribute)if(t)g=n.HALF_FLOAT;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else g=n.UNSIGNED_SHORT;else if(h instanceof Int16Array)g=n.SHORT;else if(h instanceof Uint32Array)g=n.UNSIGNED_INT;else if(h instanceof Int32Array)g=n.INT;else if(h instanceof Int8Array)g=n.BYTE;else if(h instanceof Uint8Array)g=n.UNSIGNED_BYTE;else if(h instanceof Uint8ClampedArray)g=n.UNSIGNED_BYTE;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+h);return{buffer:_,type:g,bytesPerElement:h.BYTES_PER_ELEMENT,version:d.version,size:m}}function r(d,u,h){const f=u.array,m=u._updateRange,_=u.updateRanges;if(n.bindBuffer(h,d),m.count===-1&&_.length===0&&n.bufferSubData(h,0,f),_.length!==0){for(let g=0,b=_.length;g 0 +#endif`,ENt=`#if NUM_CLIPPING_PLANES > 0 vec4 plane; #pragma unroll_loop_start for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { @@ -570,26 +496,26 @@ vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in ve #pragma unroll_loop_end if ( clipped ) discard; #endif -#endif`,kNt=`#if NUM_CLIPPING_PLANES > 0 +#endif`,yNt=`#if NUM_CLIPPING_PLANES > 0 varying vec3 vClipPosition; uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; -#endif`,DNt=`#if NUM_CLIPPING_PLANES > 0 +#endif`,vNt=`#if NUM_CLIPPING_PLANES > 0 varying vec3 vClipPosition; -#endif`,LNt=`#if NUM_CLIPPING_PLANES > 0 +#endif`,SNt=`#if NUM_CLIPPING_PLANES > 0 vClipPosition = - mvPosition.xyz; -#endif`,PNt=`#if defined( USE_COLOR_ALPHA ) +#endif`,TNt=`#if defined( USE_COLOR_ALPHA ) diffuseColor *= vColor; #elif defined( USE_COLOR ) diffuseColor.rgb *= vColor; -#endif`,FNt=`#if defined( USE_COLOR_ALPHA ) +#endif`,xNt=`#if defined( USE_COLOR_ALPHA ) varying vec4 vColor; #elif defined( USE_COLOR ) varying vec3 vColor; -#endif`,UNt=`#if defined( USE_COLOR_ALPHA ) +#endif`,CNt=`#if defined( USE_COLOR_ALPHA ) varying vec4 vColor; #elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) varying vec3 vColor; -#endif`,BNt=`#if defined( USE_COLOR_ALPHA ) +#endif`,wNt=`#if defined( USE_COLOR_ALPHA ) vColor = vec4( 1.0 ); #elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) vColor = vec3( 1.0 ); @@ -599,7 +525,7 @@ vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in ve #endif #ifdef USE_INSTANCING_COLOR vColor.xyz *= instanceColor.xyz; -#endif`,GNt=`#define PI 3.141592653589793 +#endif`,RNt=`#define PI 3.141592653589793 #define PI2 6.283185307179586 #define PI_HALF 1.5707963267948966 #define RECIPROCAL_PI 0.3183098861837907 @@ -677,7 +603,7 @@ vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) { float F_Schlick( const in float f0, const in float f90, const in float dotVH ) { float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); -} // validated`,VNt=`#ifdef ENVMAP_TYPE_CUBE_UV +} // validated`,ANt=`#ifdef ENVMAP_TYPE_CUBE_UV #define cubeUV_minMipLevel 4.0 #define cubeUV_minTileSize 16.0 float getFace( vec3 direction ) { @@ -775,7 +701,7 @@ float F_Schlick( const in float f0, const in float f90, const in float dotVH ) { return vec4( mix( color0, color1, mipF ), 1.0 ); } } -#endif`,zNt=`vec3 transformedNormal = objectNormal; +#endif`,NNt=`vec3 transformedNormal = objectNormal; #ifdef USE_TANGENT vec3 transformedTangent = objectTangent; #endif @@ -804,18 +730,18 @@ transformedNormal = normalMatrix * transformedNormal; #ifdef FLIP_SIDED transformedTangent = - transformedTangent; #endif -#endif`,HNt=`#ifdef USE_DISPLACEMENTMAP +#endif`,ONt=`#ifdef USE_DISPLACEMENTMAP uniform sampler2D displacementMap; uniform float displacementScale; uniform float displacementBias; -#endif`,qNt=`#ifdef USE_DISPLACEMENTMAP +#endif`,INt=`#ifdef USE_DISPLACEMENTMAP transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias ); -#endif`,$Nt=`#ifdef USE_EMISSIVEMAP +#endif`,MNt=`#ifdef USE_EMISSIVEMAP vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv ); totalEmissiveRadiance *= emissiveColor.rgb; -#endif`,YNt=`#ifdef USE_EMISSIVEMAP +#endif`,kNt=`#ifdef USE_EMISSIVEMAP uniform sampler2D emissiveMap; -#endif`,WNt="gl_FragColor = linearToOutputTexel( gl_FragColor );",KNt=` +#endif`,DNt="gl_FragColor = linearToOutputTexel( gl_FragColor );",LNt=` const mat3 LINEAR_SRGB_TO_LINEAR_DISPLAY_P3 = mat3( vec3( 0.8224621, 0.177538, 0.0 ), vec3( 0.0331941, 0.9668058, 0.0 ), @@ -843,7 +769,7 @@ vec4 LinearToLinear( in vec4 value ) { } vec4 LinearTosRGB( in vec4 value ) { return sRGBTransferOETF( value ); -}`,jNt=`#ifdef USE_ENVMAP +}`,PNt=`#ifdef USE_ENVMAP #ifdef ENV_WORLDPOS vec3 cameraToFrag; if ( isOrthographic ) { @@ -872,7 +798,7 @@ vec4 LinearTosRGB( in vec4 value ) { #elif defined( ENVMAP_BLENDING_ADD ) outgoingLight += envColor.xyz * specularStrength * reflectivity; #endif -#endif`,QNt=`#ifdef USE_ENVMAP +#endif`,FNt=`#ifdef USE_ENVMAP uniform float envMapIntensity; uniform float flipEnvMap; #ifdef ENVMAP_TYPE_CUBE @@ -881,7 +807,7 @@ vec4 LinearTosRGB( in vec4 value ) { uniform sampler2D envMap; #endif -#endif`,XNt=`#ifdef USE_ENVMAP +#endif`,UNt=`#ifdef USE_ENVMAP uniform float reflectivity; #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) #define ENV_WORLDPOS @@ -892,7 +818,7 @@ vec4 LinearTosRGB( in vec4 value ) { #else varying vec3 vReflect; #endif -#endif`,ZNt=`#ifdef USE_ENVMAP +#endif`,BNt=`#ifdef USE_ENVMAP #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) #define ENV_WORLDPOS #endif @@ -903,7 +829,7 @@ vec4 LinearTosRGB( in vec4 value ) { varying vec3 vReflect; uniform float refractionRatio; #endif -#endif`,JNt=`#ifdef USE_ENVMAP +#endif`,GNt=`#ifdef USE_ENVMAP #ifdef ENV_WORLDPOS vWorldPosition = worldPosition.xyz; #else @@ -920,18 +846,18 @@ vec4 LinearTosRGB( in vec4 value ) { vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); #endif #endif -#endif`,eOt=`#ifdef USE_FOG +#endif`,VNt=`#ifdef USE_FOG vFogDepth = - mvPosition.z; -#endif`,tOt=`#ifdef USE_FOG +#endif`,zNt=`#ifdef USE_FOG varying float vFogDepth; -#endif`,nOt=`#ifdef USE_FOG +#endif`,HNt=`#ifdef USE_FOG #ifdef FOG_EXP2 float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); #else float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); #endif gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); -#endif`,sOt=`#ifdef USE_FOG +#endif`,qNt=`#ifdef USE_FOG uniform vec3 fogColor; varying float vFogDepth; #ifdef FOG_EXP2 @@ -940,7 +866,7 @@ vec4 LinearTosRGB( in vec4 value ) { uniform float fogNear; uniform float fogFar; #endif -#endif`,iOt=`#ifdef USE_GRADIENTMAP +#endif`,$Nt=`#ifdef USE_GRADIENTMAP uniform sampler2D gradientMap; #endif vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { @@ -952,16 +878,16 @@ vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { vec2 fw = fwidth( coord ) * 0.5; return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); #endif -}`,rOt=`#ifdef USE_LIGHTMAP +}`,YNt=`#ifdef USE_LIGHTMAP vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; reflectedLight.indirectDiffuse += lightMapIrradiance; -#endif`,oOt=`#ifdef USE_LIGHTMAP +#endif`,WNt=`#ifdef USE_LIGHTMAP uniform sampler2D lightMap; uniform float lightMapIntensity; -#endif`,aOt=`LambertMaterial material; +#endif`,KNt=`LambertMaterial material; material.diffuseColor = diffuseColor.rgb; -material.specularStrength = specularStrength;`,lOt=`varying vec3 vViewPosition; +material.specularStrength = specularStrength;`,jNt=`varying vec3 vViewPosition; struct LambertMaterial { vec3 diffuseColor; float specularStrength; @@ -975,7 +901,7 @@ void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometr reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); } #define RE_Direct RE_Direct_Lambert -#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,cOt=`uniform bool receiveShadow; +#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,QNt=`uniform bool receiveShadow; uniform vec3 ambientLightColor; #if defined( USE_LIGHT_PROBES ) uniform vec3 lightProbe[ 9 ]; @@ -1098,7 +1024,7 @@ float getSpotAttenuation( const in float coneCosine, const in float penumbraCosi vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); return irradiance; } -#endif`,dOt=`#ifdef USE_ENVMAP +#endif`,XNt=`#ifdef USE_ENVMAP vec3 getIBLIrradiance( const in vec3 normal ) { #ifdef ENVMAP_TYPE_CUBE_UV vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); @@ -1131,8 +1057,8 @@ float getSpotAttenuation( const in float coneCosine, const in float penumbraCosi #endif } #endif -#endif`,uOt=`ToonMaterial material; -material.diffuseColor = diffuseColor.rgb;`,pOt=`varying vec3 vViewPosition; +#endif`,ZNt=`ToonMaterial material; +material.diffuseColor = diffuseColor.rgb;`,JNt=`varying vec3 vViewPosition; struct ToonMaterial { vec3 diffuseColor; }; @@ -1144,11 +1070,11 @@ void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPo reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); } #define RE_Direct RE_Direct_Toon -#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,_Ot=`BlinnPhongMaterial material; +#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,eOt=`BlinnPhongMaterial material; material.diffuseColor = diffuseColor.rgb; material.specularColor = specular; material.specularShininess = shininess; -material.specularStrength = specularStrength;`,hOt=`varying vec3 vViewPosition; +material.specularStrength = specularStrength;`,tOt=`varying vec3 vViewPosition; struct BlinnPhongMaterial { vec3 diffuseColor; vec3 specularColor; @@ -1165,7 +1091,7 @@ void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geom reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); } #define RE_Direct RE_Direct_BlinnPhong -#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,fOt=`PhysicalMaterial material; +#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,nOt=`PhysicalMaterial material; material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); vec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) ); float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); @@ -1248,7 +1174,7 @@ material.roughness = min( material.roughness, 1.0 ); material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) ); material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y; material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y; -#endif`,mOt=`struct PhysicalMaterial { +#endif`,sOt=`struct PhysicalMaterial { vec3 diffuseColor; float roughness; vec3 specularColor; @@ -1548,7 +1474,7 @@ void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradia #define RE_IndirectSpecular RE_IndirectSpecular_Physical float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); -}`,gOt=` +}`,iOt=` vec3 geometryPosition = - vViewPosition; vec3 geometryNormal = normal; vec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); @@ -1663,7 +1589,7 @@ IncidentLight directLight; #if defined( RE_IndirectSpecular ) vec3 radiance = vec3( 0.0 ); vec3 clearcoatRadiance = vec3( 0.0 ); -#endif`,bOt=`#if defined( RE_IndirectDiffuse ) +#endif`,rOt=`#if defined( RE_IndirectDiffuse ) #ifdef USE_LIGHTMAP vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; @@ -1682,25 +1608,25 @@ IncidentLight directLight; #ifdef USE_CLEARCOAT clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness ); #endif -#endif`,EOt=`#if defined( RE_IndirectDiffuse ) +#endif`,oOt=`#if defined( RE_IndirectDiffuse ) RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); #endif #if defined( RE_IndirectSpecular ) RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); -#endif`,yOt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) +#endif`,aOt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; -#endif`,vOt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) +#endif`,lOt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) uniform float logDepthBufFC; varying float vFragDepth; varying float vIsPerspective; -#endif`,SOt=`#ifdef USE_LOGDEPTHBUF +#endif`,cOt=`#ifdef USE_LOGDEPTHBUF #ifdef USE_LOGDEPTHBUF_EXT varying float vFragDepth; varying float vIsPerspective; #else uniform float logDepthBufFC; #endif -#endif`,TOt=`#ifdef USE_LOGDEPTHBUF +#endif`,dOt=`#ifdef USE_LOGDEPTHBUF #ifdef USE_LOGDEPTHBUF_EXT vFragDepth = 1.0 + gl_Position.w; vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); @@ -1710,16 +1636,16 @@ IncidentLight directLight; gl_Position.z *= gl_Position.w; } #endif -#endif`,xOt=`#ifdef USE_MAP +#endif`,uOt=`#ifdef USE_MAP vec4 sampledDiffuseColor = texture2D( map, vMapUv ); #ifdef DECODE_VIDEO_TEXTURE sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); #endif diffuseColor *= sampledDiffuseColor; -#endif`,COt=`#ifdef USE_MAP +#endif`,pOt=`#ifdef USE_MAP uniform sampler2D map; -#endif`,wOt=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) +#endif`,_Ot=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) #if defined( USE_POINTS_UV ) vec2 uv = vUv; #else @@ -1731,7 +1657,7 @@ IncidentLight directLight; #endif #ifdef USE_ALPHAMAP diffuseColor.a *= texture2D( alphaMap, uv ).g; -#endif`,ROt=`#if defined( USE_POINTS_UV ) +#endif`,hOt=`#if defined( USE_POINTS_UV ) varying vec2 vUv; #else #if defined( USE_MAP ) || defined( USE_ALPHAMAP ) @@ -1743,13 +1669,13 @@ IncidentLight directLight; #endif #ifdef USE_ALPHAMAP uniform sampler2D alphaMap; -#endif`,AOt=`float metalnessFactor = metalness; +#endif`,fOt=`float metalnessFactor = metalness; #ifdef USE_METALNESSMAP vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv ); metalnessFactor *= texelMetalness.b; -#endif`,NOt=`#ifdef USE_METALNESSMAP +#endif`,mOt=`#ifdef USE_METALNESSMAP uniform sampler2D metalnessMap; -#endif`,OOt=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) +#endif`,gOt=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) vColor *= morphTargetBaseInfluence; for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { #if defined( USE_COLOR_ALPHA ) @@ -1758,7 +1684,7 @@ IncidentLight directLight; if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; #endif } -#endif`,MOt=`#ifdef USE_MORPHNORMALS +#endif`,bOt=`#ifdef USE_MORPHNORMALS objectNormal *= morphTargetBaseInfluence; #ifdef MORPHTARGETS_TEXTURE for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { @@ -1770,7 +1696,7 @@ IncidentLight directLight; objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; #endif -#endif`,IOt=`#ifdef USE_MORPHTARGETS +#endif`,EOt=`#ifdef USE_MORPHTARGETS uniform float morphTargetBaseInfluence; #ifdef MORPHTARGETS_TEXTURE uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; @@ -1790,7 +1716,7 @@ IncidentLight directLight; uniform float morphTargetInfluences[ 4 ]; #endif #endif -#endif`,kOt=`#ifdef USE_MORPHTARGETS +#endif`,yOt=`#ifdef USE_MORPHTARGETS transformed *= morphTargetBaseInfluence; #ifdef MORPHTARGETS_TEXTURE for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { @@ -1808,7 +1734,7 @@ IncidentLight directLight; transformed += morphTarget7 * morphTargetInfluences[ 7 ]; #endif #endif -#endif`,DOt=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; +#endif`,vOt=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; #ifdef FLAT_SHADED vec3 fdx = dFdx( vViewPosition ); vec3 fdy = dFdy( vViewPosition ); @@ -1849,7 +1775,7 @@ IncidentLight directLight; tbn2[1] *= faceDirection; #endif #endif -vec3 nonPerturbedNormal = normal;`,LOt=`#ifdef USE_NORMALMAP_OBJECTSPACE +vec3 nonPerturbedNormal = normal;`,SOt=`#ifdef USE_NORMALMAP_OBJECTSPACE normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; #ifdef FLIP_SIDED normal = - normal; @@ -1864,25 +1790,25 @@ vec3 nonPerturbedNormal = normal;`,LOt=`#ifdef USE_NORMALMAP_OBJECTSPACE normal = normalize( tbn * mapN ); #elif defined( USE_BUMPMAP ) normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); -#endif`,POt=`#ifndef FLAT_SHADED +#endif`,TOt=`#ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif -#endif`,FOt=`#ifndef FLAT_SHADED +#endif`,xOt=`#ifndef FLAT_SHADED varying vec3 vNormal; #ifdef USE_TANGENT varying vec3 vTangent; varying vec3 vBitangent; #endif -#endif`,UOt=`#ifndef FLAT_SHADED +#endif`,COt=`#ifndef FLAT_SHADED vNormal = normalize( transformedNormal ); #ifdef USE_TANGENT vTangent = normalize( transformedTangent ); vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); #endif -#endif`,BOt=`#ifdef USE_NORMALMAP +#endif`,wOt=`#ifdef USE_NORMALMAP uniform sampler2D normalMap; uniform vec2 normalScale; #endif @@ -1904,13 +1830,13 @@ vec3 nonPerturbedNormal = normal;`,LOt=`#ifdef USE_NORMALMAP_OBJECTSPACE float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det ); return mat3( T * scale, B * scale, N ); } -#endif`,GOt=`#ifdef USE_CLEARCOAT +#endif`,ROt=`#ifdef USE_CLEARCOAT vec3 clearcoatNormal = nonPerturbedNormal; -#endif`,VOt=`#ifdef USE_CLEARCOAT_NORMALMAP +#endif`,AOt=`#ifdef USE_CLEARCOAT_NORMALMAP vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0; clearcoatMapN.xy *= clearcoatNormalScale; clearcoatNormal = normalize( tbn2 * clearcoatMapN ); -#endif`,zOt=`#ifdef USE_CLEARCOATMAP +#endif`,NOt=`#ifdef USE_CLEARCOATMAP uniform sampler2D clearcoatMap; #endif #ifdef USE_CLEARCOAT_NORMALMAP @@ -1919,18 +1845,18 @@ vec3 nonPerturbedNormal = normal;`,LOt=`#ifdef USE_NORMALMAP_OBJECTSPACE #endif #ifdef USE_CLEARCOAT_ROUGHNESSMAP uniform sampler2D clearcoatRoughnessMap; -#endif`,HOt=`#ifdef USE_IRIDESCENCEMAP +#endif`,OOt=`#ifdef USE_IRIDESCENCEMAP uniform sampler2D iridescenceMap; #endif #ifdef USE_IRIDESCENCE_THICKNESSMAP uniform sampler2D iridescenceThicknessMap; -#endif`,qOt=`#ifdef OPAQUE +#endif`,IOt=`#ifdef OPAQUE diffuseColor.a = 1.0; #endif #ifdef USE_TRANSMISSION diffuseColor.a *= material.transmissionAlpha; #endif -gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,$Ot=`vec3 packNormalToRGB( const in vec3 normal ) { +gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,MOt=`vec3 packNormalToRGB( const in vec3 normal ) { return normalize( normal ) * 0.5 + 0.5; } vec3 unpackRGBToNormal( const in vec3 rgb ) { @@ -1971,9 +1897,9 @@ float viewZToPerspectiveDepth( const in float viewZ, const in float near, const } float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) { return ( near * far ) / ( ( far - near ) * depth - far ); -}`,YOt=`#ifdef PREMULTIPLIED_ALPHA +}`,kOt=`#ifdef PREMULTIPLIED_ALPHA gl_FragColor.rgb *= gl_FragColor.a; -#endif`,WOt=`vec4 mvPosition = vec4( transformed, 1.0 ); +#endif`,DOt=`vec4 mvPosition = vec4( transformed, 1.0 ); #ifdef USE_BATCHING mvPosition = batchingMatrix * mvPosition; #endif @@ -1981,22 +1907,22 @@ float perspectiveDepthToViewZ( const in float depth, const in float near, const mvPosition = instanceMatrix * mvPosition; #endif mvPosition = modelViewMatrix * mvPosition; -gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING +gl_Position = projectionMatrix * mvPosition;`,LOt=`#ifdef DITHERING gl_FragColor.rgb = dithering( gl_FragColor.rgb ); -#endif`,jOt=`#ifdef DITHERING +#endif`,POt=`#ifdef DITHERING vec3 dithering( vec3 color ) { float grid_position = rand( gl_FragCoord.xy ); vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); return color + dither_shift_RGB; } -#endif`,QOt=`float roughnessFactor = roughness; +#endif`,FOt=`float roughnessFactor = roughness; #ifdef USE_ROUGHNESSMAP vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv ); roughnessFactor *= texelRoughness.g; -#endif`,XOt=`#ifdef USE_ROUGHNESSMAP +#endif`,UOt=`#ifdef USE_ROUGHNESSMAP uniform sampler2D roughnessMap; -#endif`,ZOt=`#if NUM_SPOT_LIGHT_COORDS > 0 +#endif`,BOt=`#if NUM_SPOT_LIGHT_COORDS > 0 varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; #endif #if NUM_SPOT_LIGHT_MAPS > 0 @@ -2173,7 +2099,7 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); #endif } -#endif`,JOt=`#if NUM_SPOT_LIGHT_COORDS > 0 +#endif`,GOt=`#if NUM_SPOT_LIGHT_COORDS > 0 uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; #endif @@ -2211,7 +2137,7 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING }; uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; #endif -#endif`,eMt=`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) +#endif`,VOt=`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); vec4 shadowWorldPosition; #endif @@ -2243,7 +2169,7 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; } #pragma unroll_loop_end -#endif`,tMt=`float getShadowMask() { +#endif`,zOt=`float getShadowMask() { float shadow = 1.0; #ifdef USE_SHADOWMAP #if NUM_DIR_LIGHT_SHADOWS > 0 @@ -2275,12 +2201,12 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING #endif #endif return shadow; -}`,nMt=`#ifdef USE_SKINNING +}`,HOt=`#ifdef USE_SKINNING mat4 boneMatX = getBoneMatrix( skinIndex.x ); mat4 boneMatY = getBoneMatrix( skinIndex.y ); mat4 boneMatZ = getBoneMatrix( skinIndex.z ); mat4 boneMatW = getBoneMatrix( skinIndex.w ); -#endif`,sMt=`#ifdef USE_SKINNING +#endif`,qOt=`#ifdef USE_SKINNING uniform mat4 bindMatrix; uniform mat4 bindMatrixInverse; uniform highp sampler2D boneTexture; @@ -2295,7 +2221,7 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 ); return mat4( v1, v2, v3, v4 ); } -#endif`,iMt=`#ifdef USE_SKINNING +#endif`,$Ot=`#ifdef USE_SKINNING vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); vec4 skinned = vec4( 0.0 ); skinned += boneMatX * skinVertex * skinWeight.x; @@ -2303,7 +2229,7 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING skinned += boneMatZ * skinVertex * skinWeight.z; skinned += boneMatW * skinVertex * skinWeight.w; transformed = ( bindMatrixInverse * skinned ).xyz; -#endif`,rMt=`#ifdef USE_SKINNING +#endif`,YOt=`#ifdef USE_SKINNING mat4 skinMatrix = mat4( 0.0 ); skinMatrix += skinWeight.x * boneMatX; skinMatrix += skinWeight.y * boneMatY; @@ -2314,17 +2240,17 @@ gl_Position = projectionMatrix * mvPosition;`,KOt=`#ifdef DITHERING #ifdef USE_TANGENT objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; #endif -#endif`,oMt=`float specularStrength; +#endif`,WOt=`float specularStrength; #ifdef USE_SPECULARMAP vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv ); specularStrength = texelSpecular.r; #else specularStrength = 1.0; -#endif`,aMt=`#ifdef USE_SPECULARMAP +#endif`,KOt=`#ifdef USE_SPECULARMAP uniform sampler2D specularMap; -#endif`,lMt=`#if defined( TONE_MAPPING ) +#endif`,jOt=`#if defined( TONE_MAPPING ) gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); -#endif`,cMt=`#ifndef saturate +#endif`,QOt=`#ifndef saturate #define saturate( a ) clamp( a, 0.0, 1.0 ) #endif uniform float toneMappingExposure; @@ -2360,7 +2286,7 @@ vec3 ACESFilmicToneMapping( vec3 color ) { color = ACESOutputMat * color; return saturate( color ); } -vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMISSION +vec3 CustomToneMapping( vec3 color ) { return color; }`,XOt=`#ifdef USE_TRANSMISSION material.transmission = transmission; material.transmissionAlpha = 1.0; material.thickness = thickness; @@ -2381,7 +2307,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMIS material.attenuationColor, material.attenuationDistance ); material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission ); totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission ); -#endif`,uMt=`#ifdef USE_TRANSMISSION +#endif`,ZOt=`#ifdef USE_TRANSMISSION uniform float transmission; uniform float thickness; uniform float attenuationDistance; @@ -2487,7 +2413,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMIS float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0; return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor ); } -#endif`,pMt=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) +#endif`,JOt=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) varying vec2 vUv; #endif #ifdef USE_MAP @@ -2557,7 +2483,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMIS #ifdef USE_THICKNESSMAP uniform mat3 thicknessMapTransform; varying vec2 vThicknessMapUv; -#endif`,_Mt=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) +#endif`,eIt=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) varying vec2 vUv; #endif #ifdef USE_MAP @@ -2651,7 +2577,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMIS #ifdef USE_THICKNESSMAP uniform mat3 thicknessMapTransform; varying vec2 vThicknessMapUv; -#endif`,hMt=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) +#endif`,tIt=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) vUv = vec3( uv, 1 ).xy; #endif #ifdef USE_MAP @@ -2722,7 +2648,7 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMIS #endif #ifdef USE_THICKNESSMAP vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy; -#endif`,fMt=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 +#endif`,nIt=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 vec4 worldPosition = vec4( transformed, 1.0 ); #ifdef USE_BATCHING worldPosition = batchingMatrix * worldPosition; @@ -2731,12 +2657,12 @@ vec3 CustomToneMapping( vec3 color ) { return color; }`,dMt=`#ifdef USE_TRANSMIS worldPosition = instanceMatrix * worldPosition; #endif worldPosition = modelMatrix * worldPosition; -#endif`;const mMt=`varying vec2 vUv; +#endif`;const sIt=`varying vec2 vUv; uniform mat3 uvTransform; void main() { vUv = ( uvTransform * vec3( uv, 1 ) ).xy; gl_Position = vec4( position.xy, 1.0, 1.0 ); -}`,gMt=`uniform sampler2D t2D; +}`,iIt=`uniform sampler2D t2D; uniform float backgroundIntensity; varying vec2 vUv; void main() { @@ -2748,14 +2674,14 @@ void main() { gl_FragColor = texColor; #include #include -}`,bMt=`varying vec3 vWorldDirection; +}`,rIt=`varying vec3 vWorldDirection; #include void main() { vWorldDirection = transformDirection( position, modelMatrix ); #include #include gl_Position.z = gl_Position.w; -}`,EMt=`#ifdef ENVMAP_TYPE_CUBE +}`,oIt=`#ifdef ENVMAP_TYPE_CUBE uniform samplerCube envMap; #elif defined( ENVMAP_TYPE_CUBE_UV ) uniform sampler2D envMap; @@ -2777,14 +2703,14 @@ void main() { gl_FragColor = texColor; #include #include -}`,yMt=`varying vec3 vWorldDirection; +}`,aIt=`varying vec3 vWorldDirection; #include void main() { vWorldDirection = transformDirection( position, modelMatrix ); #include #include gl_Position.z = gl_Position.w; -}`,vMt=`uniform samplerCube tCube; +}`,lIt=`uniform samplerCube tCube; uniform float tFlip; uniform float opacity; varying vec3 vWorldDirection; @@ -2794,7 +2720,7 @@ void main() { gl_FragColor.a *= opacity; #include #include -}`,SMt=`#include +}`,cIt=`#include #include #include #include @@ -2820,7 +2746,7 @@ void main() { #include #include vHighPrecisionZW = gl_Position.zw; -}`,TMt=`#if DEPTH_PACKING == 3200 +}`,dIt=`#if DEPTH_PACKING == 3200 uniform float opacity; #endif #include @@ -2850,7 +2776,7 @@ void main() { #elif DEPTH_PACKING == 3201 gl_FragColor = packDepthToRGBA( fragCoordZ ); #endif -}`,xMt=`#define DISTANCE +}`,uIt=`#define DISTANCE varying vec3 vWorldPosition; #include #include @@ -2876,7 +2802,7 @@ void main() { #include #include vWorldPosition = worldPosition.xyz; -}`,CMt=`#define DISTANCE +}`,pIt=`#define DISTANCE uniform vec3 referencePosition; uniform float nearDistance; uniform float farDistance; @@ -2900,13 +2826,13 @@ void main () { dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); dist = saturate( dist ); gl_FragColor = packDepthToRGBA( dist ); -}`,wMt=`varying vec3 vWorldDirection; +}`,_It=`varying vec3 vWorldDirection; #include void main() { vWorldDirection = transformDirection( position, modelMatrix ); #include #include -}`,RMt=`uniform sampler2D tEquirect; +}`,hIt=`uniform sampler2D tEquirect; varying vec3 vWorldDirection; #include void main() { @@ -2915,7 +2841,7 @@ void main() { gl_FragColor = texture2D( tEquirect, sampleUV ); #include #include -}`,AMt=`uniform float scale; +}`,fIt=`uniform float scale; attribute float lineDistance; varying float vLineDistance; #include @@ -2936,7 +2862,7 @@ void main() { #include #include #include -}`,NMt=`uniform vec3 diffuse; +}`,mIt=`uniform vec3 diffuse; uniform float opacity; uniform float dashSize; uniform float totalSize; @@ -2964,7 +2890,7 @@ void main() { #include #include #include -}`,OMt=`#include +}`,gIt=`#include #include #include #include @@ -2995,7 +2921,7 @@ void main() { #include #include #include -}`,MMt=`uniform vec3 diffuse; +}`,bIt=`uniform vec3 diffuse; uniform float opacity; #ifndef FLAT_SHADED varying vec3 vNormal; @@ -3043,7 +2969,7 @@ void main() { #include #include #include -}`,IMt=`#define LAMBERT +}`,EIt=`#define LAMBERT varying vec3 vViewPosition; #include #include @@ -3081,7 +3007,7 @@ void main() { #include #include #include -}`,kMt=`#define LAMBERT +}`,yIt=`#define LAMBERT uniform vec3 diffuse; uniform vec3 emissive; uniform float opacity; @@ -3138,7 +3064,7 @@ void main() { #include #include #include -}`,DMt=`#define MATCAP +}`,vIt=`#define MATCAP varying vec3 vViewPosition; #include #include @@ -3171,7 +3097,7 @@ void main() { #include #include vViewPosition = - mvPosition.xyz; -}`,LMt=`#define MATCAP +}`,SIt=`#define MATCAP uniform vec3 diffuse; uniform float opacity; uniform sampler2D matcap; @@ -3217,7 +3143,7 @@ void main() { #include #include #include -}`,PMt=`#define NORMAL +}`,TIt=`#define NORMAL #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) varying vec3 vViewPosition; #endif @@ -3249,7 +3175,7 @@ void main() { #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) vViewPosition = - mvPosition.xyz; #endif -}`,FMt=`#define NORMAL +}`,xIt=`#define NORMAL uniform float opacity; #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) varying vec3 vViewPosition; @@ -3270,7 +3196,7 @@ void main() { #ifdef OPAQUE gl_FragColor.a = 1.0; #endif -}`,UMt=`#define PHONG +}`,CIt=`#define PHONG varying vec3 vViewPosition; #include #include @@ -3308,7 +3234,7 @@ void main() { #include #include #include -}`,BMt=`#define PHONG +}`,wIt=`#define PHONG uniform vec3 diffuse; uniform vec3 emissive; uniform vec3 specular; @@ -3367,7 +3293,7 @@ void main() { #include #include #include -}`,GMt=`#define STANDARD +}`,RIt=`#define STANDARD varying vec3 vViewPosition; #ifdef USE_TRANSMISSION varying vec3 vWorldPosition; @@ -3409,7 +3335,7 @@ void main() { #ifdef USE_TRANSMISSION vWorldPosition = worldPosition.xyz; #endif -}`,VMt=`#define STANDARD +}`,AIt=`#define STANDARD #ifdef PHYSICAL #define IOR #define USE_SPECULAR @@ -3531,7 +3457,7 @@ void main() { #include #include #include -}`,zMt=`#define TOON +}`,NIt=`#define TOON varying vec3 vViewPosition; #include #include @@ -3567,7 +3493,7 @@ void main() { #include #include #include -}`,HMt=`#define TOON +}`,OIt=`#define TOON uniform vec3 diffuse; uniform vec3 emissive; uniform float opacity; @@ -3620,7 +3546,7 @@ void main() { #include #include #include -}`,qMt=`uniform float size; +}`,IIt=`uniform float size; uniform float scale; #include #include @@ -3650,7 +3576,7 @@ void main() { #include #include #include -}`,$Mt=`uniform vec3 diffuse; +}`,MIt=`uniform vec3 diffuse; uniform float opacity; #include #include @@ -3675,7 +3601,7 @@ void main() { #include #include #include -}`,YMt=`#include +}`,kIt=`#include #include #include #include @@ -3697,7 +3623,7 @@ void main() { #include #include #include -}`,WMt=`uniform vec3 color; +}`,DIt=`uniform vec3 color; uniform float opacity; #include #include @@ -3713,7 +3639,7 @@ void main() { #include #include #include -}`,KMt=`uniform float rotation; +}`,LIt=`uniform float rotation; uniform vec2 center; #include #include @@ -3739,7 +3665,7 @@ void main() { #include #include #include -}`,jMt=`uniform vec3 diffuse; +}`,PIt=`uniform vec3 diffuse; uniform float opacity; #include #include @@ -3764,7 +3690,7 @@ void main() { #include #include #include -}`,St={alphahash_fragment:gNt,alphahash_pars_fragment:bNt,alphamap_fragment:ENt,alphamap_pars_fragment:yNt,alphatest_fragment:vNt,alphatest_pars_fragment:SNt,aomap_fragment:TNt,aomap_pars_fragment:xNt,batching_pars_vertex:CNt,batching_vertex:wNt,begin_vertex:RNt,beginnormal_vertex:ANt,bsdfs:NNt,iridescence_fragment:ONt,bumpmap_pars_fragment:MNt,clipping_planes_fragment:INt,clipping_planes_pars_fragment:kNt,clipping_planes_pars_vertex:DNt,clipping_planes_vertex:LNt,color_fragment:PNt,color_pars_fragment:FNt,color_pars_vertex:UNt,color_vertex:BNt,common:GNt,cube_uv_reflection_fragment:VNt,defaultnormal_vertex:zNt,displacementmap_pars_vertex:HNt,displacementmap_vertex:qNt,emissivemap_fragment:$Nt,emissivemap_pars_fragment:YNt,colorspace_fragment:WNt,colorspace_pars_fragment:KNt,envmap_fragment:jNt,envmap_common_pars_fragment:QNt,envmap_pars_fragment:XNt,envmap_pars_vertex:ZNt,envmap_physical_pars_fragment:dOt,envmap_vertex:JNt,fog_vertex:eOt,fog_pars_vertex:tOt,fog_fragment:nOt,fog_pars_fragment:sOt,gradientmap_pars_fragment:iOt,lightmap_fragment:rOt,lightmap_pars_fragment:oOt,lights_lambert_fragment:aOt,lights_lambert_pars_fragment:lOt,lights_pars_begin:cOt,lights_toon_fragment:uOt,lights_toon_pars_fragment:pOt,lights_phong_fragment:_Ot,lights_phong_pars_fragment:hOt,lights_physical_fragment:fOt,lights_physical_pars_fragment:mOt,lights_fragment_begin:gOt,lights_fragment_maps:bOt,lights_fragment_end:EOt,logdepthbuf_fragment:yOt,logdepthbuf_pars_fragment:vOt,logdepthbuf_pars_vertex:SOt,logdepthbuf_vertex:TOt,map_fragment:xOt,map_pars_fragment:COt,map_particle_fragment:wOt,map_particle_pars_fragment:ROt,metalnessmap_fragment:AOt,metalnessmap_pars_fragment:NOt,morphcolor_vertex:OOt,morphnormal_vertex:MOt,morphtarget_pars_vertex:IOt,morphtarget_vertex:kOt,normal_fragment_begin:DOt,normal_fragment_maps:LOt,normal_pars_fragment:POt,normal_pars_vertex:FOt,normal_vertex:UOt,normalmap_pars_fragment:BOt,clearcoat_normal_fragment_begin:GOt,clearcoat_normal_fragment_maps:VOt,clearcoat_pars_fragment:zOt,iridescence_pars_fragment:HOt,opaque_fragment:qOt,packing:$Ot,premultiplied_alpha_fragment:YOt,project_vertex:WOt,dithering_fragment:KOt,dithering_pars_fragment:jOt,roughnessmap_fragment:QOt,roughnessmap_pars_fragment:XOt,shadowmap_pars_fragment:ZOt,shadowmap_pars_vertex:JOt,shadowmap_vertex:eMt,shadowmask_pars_fragment:tMt,skinbase_vertex:nMt,skinning_pars_vertex:sMt,skinning_vertex:iMt,skinnormal_vertex:rMt,specularmap_fragment:oMt,specularmap_pars_fragment:aMt,tonemapping_fragment:lMt,tonemapping_pars_fragment:cMt,transmission_fragment:dMt,transmission_pars_fragment:uMt,uv_pars_fragment:pMt,uv_pars_vertex:_Mt,uv_vertex:hMt,worldpos_vertex:fMt,background_vert:mMt,background_frag:gMt,backgroundCube_vert:bMt,backgroundCube_frag:EMt,cube_vert:yMt,cube_frag:vMt,depth_vert:SMt,depth_frag:TMt,distanceRGBA_vert:xMt,distanceRGBA_frag:CMt,equirect_vert:wMt,equirect_frag:RMt,linedashed_vert:AMt,linedashed_frag:NMt,meshbasic_vert:OMt,meshbasic_frag:MMt,meshlambert_vert:IMt,meshlambert_frag:kMt,meshmatcap_vert:DMt,meshmatcap_frag:LMt,meshnormal_vert:PMt,meshnormal_frag:FMt,meshphong_vert:UMt,meshphong_frag:BMt,meshphysical_vert:GMt,meshphysical_frag:VMt,meshtoon_vert:zMt,meshtoon_frag:HMt,points_vert:qMt,points_frag:$Mt,shadow_vert:YMt,shadow_frag:WMt,sprite_vert:KMt,sprite_frag:jMt},We={common:{diffuse:{value:new _t(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Tt},alphaMap:{value:null},alphaMapTransform:{value:new Tt},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Tt}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Tt}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Tt}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Tt},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Tt},normalScale:{value:new At(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Tt},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Tt}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Tt}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Tt}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new _t(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new _t(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Tt},alphaTest:{value:0},uvTransform:{value:new Tt}},sprite:{diffuse:{value:new _t(16777215)},opacity:{value:1},center:{value:new At(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Tt},alphaMap:{value:null},alphaMapTransform:{value:new Tt},alphaTest:{value:0}}},si={basic:{uniforms:Bn([We.common,We.specularmap,We.envmap,We.aomap,We.lightmap,We.fog]),vertexShader:St.meshbasic_vert,fragmentShader:St.meshbasic_frag},lambert:{uniforms:Bn([We.common,We.specularmap,We.envmap,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.fog,We.lights,{emissive:{value:new _t(0)}}]),vertexShader:St.meshlambert_vert,fragmentShader:St.meshlambert_frag},phong:{uniforms:Bn([We.common,We.specularmap,We.envmap,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.fog,We.lights,{emissive:{value:new _t(0)},specular:{value:new _t(1118481)},shininess:{value:30}}]),vertexShader:St.meshphong_vert,fragmentShader:St.meshphong_frag},standard:{uniforms:Bn([We.common,We.envmap,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.roughnessmap,We.metalnessmap,We.fog,We.lights,{emissive:{value:new _t(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:St.meshphysical_vert,fragmentShader:St.meshphysical_frag},toon:{uniforms:Bn([We.common,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.gradientmap,We.fog,We.lights,{emissive:{value:new _t(0)}}]),vertexShader:St.meshtoon_vert,fragmentShader:St.meshtoon_frag},matcap:{uniforms:Bn([We.common,We.bumpmap,We.normalmap,We.displacementmap,We.fog,{matcap:{value:null}}]),vertexShader:St.meshmatcap_vert,fragmentShader:St.meshmatcap_frag},points:{uniforms:Bn([We.points,We.fog]),vertexShader:St.points_vert,fragmentShader:St.points_frag},dashed:{uniforms:Bn([We.common,We.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:St.linedashed_vert,fragmentShader:St.linedashed_frag},depth:{uniforms:Bn([We.common,We.displacementmap]),vertexShader:St.depth_vert,fragmentShader:St.depth_frag},normal:{uniforms:Bn([We.common,We.bumpmap,We.normalmap,We.displacementmap,{opacity:{value:1}}]),vertexShader:St.meshnormal_vert,fragmentShader:St.meshnormal_frag},sprite:{uniforms:Bn([We.sprite,We.fog]),vertexShader:St.sprite_vert,fragmentShader:St.sprite_frag},background:{uniforms:{uvTransform:{value:new Tt},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:St.background_vert,fragmentShader:St.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:St.backgroundCube_vert,fragmentShader:St.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:St.cube_vert,fragmentShader:St.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:St.equirect_vert,fragmentShader:St.equirect_frag},distanceRGBA:{uniforms:Bn([We.common,We.displacementmap,{referencePosition:{value:new ae},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:St.distanceRGBA_vert,fragmentShader:St.distanceRGBA_frag},shadow:{uniforms:Bn([We.lights,We.fog,{color:{value:new _t(0)},opacity:{value:1}}]),vertexShader:St.shadow_vert,fragmentShader:St.shadow_frag}};si.physical={uniforms:Bn([si.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Tt},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Tt},clearcoatNormalScale:{value:new At(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Tt},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Tt},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Tt},sheen:{value:0},sheenColor:{value:new _t(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Tt},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Tt},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Tt},transmissionSamplerSize:{value:new At},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Tt},attenuationDistance:{value:0},attenuationColor:{value:new _t(0)},specularColor:{value:new _t(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Tt},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Tt},anisotropyVector:{value:new At},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Tt}}]),vertexShader:St.meshphysical_vert,fragmentShader:St.meshphysical_frag};const md={r:0,b:0,g:0};function QMt(n,e,t,s,i,r,o){const a=new _t(0);let c=r===!0?0:1,d,u,h=null,f=0,m=null;function _(b,E){let y=!1,v=E.isScene===!0?E.background:null;v&&v.isTexture&&(v=(E.backgroundBlurriness>0?t:e).get(v)),v===null?g(a,c):v&&v.isColor&&(g(v,1),y=!0);const S=n.xr.getEnvironmentBlendMode();S==="additive"?s.buffers.color.setClear(0,0,0,1,o):S==="alpha-blend"&&s.buffers.color.setClear(0,0,0,0,o),(n.autoClear||y)&&n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil),v&&(v.isCubeTexture||v.mapping===bp)?(u===void 0&&(u=new Vn(new yr(1,1,1),new po({name:"BackgroundCubeMaterial",uniforms:xa(si.backgroundCube.uniforms),vertexShader:si.backgroundCube.vertexShader,fragmentShader:si.backgroundCube.fragmentShader,side:Kn,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(R,w,A){this.matrixWorld.copyPosition(A.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(u)),u.material.uniforms.envMap.value=v,u.material.uniforms.flipEnvMap.value=v.isCubeTexture&&v.isRenderTargetTexture===!1?-1:1,u.material.uniforms.backgroundBlurriness.value=E.backgroundBlurriness,u.material.uniforms.backgroundIntensity.value=E.backgroundIntensity,u.material.toneMapped=Ft.getTransfer(v.colorSpace)!==Xt,(h!==v||f!==v.version||m!==n.toneMapping)&&(u.material.needsUpdate=!0,h=v,f=v.version,m=n.toneMapping),u.layers.enableAll(),b.unshift(u,u.geometry,u.material,0,0,null)):v&&v.isTexture&&(d===void 0&&(d=new Vn(new my(2,2),new po({name:"BackgroundMaterial",uniforms:xa(si.background.uniforms),vertexShader:si.background.vertexShader,fragmentShader:si.background.fragmentShader,side:Vi,depthTest:!1,depthWrite:!1,fog:!1})),d.geometry.deleteAttribute("normal"),Object.defineProperty(d.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(d)),d.material.uniforms.t2D.value=v,d.material.uniforms.backgroundIntensity.value=E.backgroundIntensity,d.material.toneMapped=Ft.getTransfer(v.colorSpace)!==Xt,v.matrixAutoUpdate===!0&&v.updateMatrix(),d.material.uniforms.uvTransform.value.copy(v.matrix),(h!==v||f!==v.version||m!==n.toneMapping)&&(d.material.needsUpdate=!0,h=v,f=v.version,m=n.toneMapping),d.layers.enableAll(),b.unshift(d,d.geometry,d.material,0,0,null))}function g(b,E){b.getRGB(md,TO(n)),s.buffers.color.setClear(md.r,md.g,md.b,E,o)}return{getClearColor:function(){return a},setClearColor:function(b,E=1){a.set(b),c=E,g(a,c)},getClearAlpha:function(){return c},setClearAlpha:function(b){c=b,g(a,c)},render:_}}function XMt(n,e,t,s){const i=n.getParameter(n.MAX_VERTEX_ATTRIBS),r=s.isWebGL2?null:e.get("OES_vertex_array_object"),o=s.isWebGL2||r!==null,a={},c=b(null);let d=c,u=!1;function h(k,$,q,F,W){let ne=!1;if(o){const le=g(F,q,$);d!==le&&(d=le,m(d.object)),ne=E(k,F,q,W),ne&&y(k,F,q,W)}else{const le=$.wireframe===!0;(d.geometry!==F.id||d.program!==q.id||d.wireframe!==le)&&(d.geometry=F.id,d.program=q.id,d.wireframe=le,ne=!0)}W!==null&&t.update(W,n.ELEMENT_ARRAY_BUFFER),(ne||u)&&(u=!1,I(k,$,q,F),W!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,t.get(W).buffer))}function f(){return s.isWebGL2?n.createVertexArray():r.createVertexArrayOES()}function m(k){return s.isWebGL2?n.bindVertexArray(k):r.bindVertexArrayOES(k)}function _(k){return s.isWebGL2?n.deleteVertexArray(k):r.deleteVertexArrayOES(k)}function g(k,$,q){const F=q.wireframe===!0;let W=a[k.id];W===void 0&&(W={},a[k.id]=W);let ne=W[$.id];ne===void 0&&(ne={},W[$.id]=ne);let le=ne[F];return le===void 0&&(le=b(f()),ne[F]=le),le}function b(k){const $=[],q=[],F=[];for(let W=0;W=0){const Ee=W[Se];let Me=ne[Se];if(Me===void 0&&(Se==="instanceMatrix"&&k.instanceMatrix&&(Me=k.instanceMatrix),Se==="instanceColor"&&k.instanceColor&&(Me=k.instanceColor)),Ee===void 0||Ee.attribute!==Me||Me&&Ee.data!==Me.data)return!0;le++}return d.attributesNum!==le||d.index!==F}function y(k,$,q,F){const W={},ne=$.attributes;let le=0;const me=q.getAttributes();for(const Se in me)if(me[Se].location>=0){let Ee=ne[Se];Ee===void 0&&(Se==="instanceMatrix"&&k.instanceMatrix&&(Ee=k.instanceMatrix),Se==="instanceColor"&&k.instanceColor&&(Ee=k.instanceColor));const Me={};Me.attribute=Ee,Ee&&Ee.data&&(Me.data=Ee.data),W[Se]=Me,le++}d.attributes=W,d.attributesNum=le,d.index=F}function v(){const k=d.newAttributes;for(let $=0,q=k.length;$=0){let de=W[me];if(de===void 0&&(me==="instanceMatrix"&&k.instanceMatrix&&(de=k.instanceMatrix),me==="instanceColor"&&k.instanceColor&&(de=k.instanceColor)),de!==void 0){const Ee=de.normalized,Me=de.itemSize,ke=t.get(de);if(ke===void 0)continue;const Z=ke.buffer,he=ke.type,_e=ke.bytesPerElement,we=s.isWebGL2===!0&&(he===n.INT||he===n.UNSIGNED_INT||de.gpuType===rO);if(de.isInterleavedBufferAttribute){const Pe=de.data,N=Pe.stride,z=de.offset;if(Pe.isInstancedInterleavedBuffer){for(let Y=0;Y0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";A="mediump"}return A==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}const o=typeof WebGL2RenderingContext<"u"&&n.constructor.name==="WebGL2RenderingContext";let a=t.precision!==void 0?t.precision:"highp";const c=r(a);c!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",c,"instead."),a=c);const d=o||e.has("WEBGL_draw_buffers"),u=t.logarithmicDepthBuffer===!0,h=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),f=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),m=n.getParameter(n.MAX_TEXTURE_SIZE),_=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),g=n.getParameter(n.MAX_VERTEX_ATTRIBS),b=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),E=n.getParameter(n.MAX_VARYING_VECTORS),y=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),v=f>0,S=o||e.has("OES_texture_float"),R=v&&S,w=o?n.getParameter(n.MAX_SAMPLES):0;return{isWebGL2:o,drawBuffers:d,getMaxAnisotropy:i,getMaxPrecision:r,precision:a,logarithmicDepthBuffer:u,maxTextures:h,maxVertexTextures:f,maxTextureSize:m,maxCubemapSize:_,maxAttributes:g,maxVertexUniforms:b,maxVaryings:E,maxFragmentUniforms:y,vertexTextures:v,floatFragmentTextures:S,floatVertexTextures:R,maxSamples:w}}function eIt(n){const e=this;let t=null,s=0,i=!1,r=!1;const o=new Ur,a=new Tt,c={value:null,needsUpdate:!1};this.uniform=c,this.numPlanes=0,this.numIntersection=0,this.init=function(h,f){const m=h.length!==0||f||s!==0||i;return i=f,s=h.length,m},this.beginShadows=function(){r=!0,u(null)},this.endShadows=function(){r=!1},this.setGlobalState=function(h,f){t=u(h,f,0)},this.setState=function(h,f,m){const _=h.clippingPlanes,g=h.clipIntersection,b=h.clipShadows,E=n.get(h);if(!i||_===null||_.length===0||r&&!b)r?u(null):d();else{const y=r?0:s,v=y*4;let S=E.clippingState||null;c.value=S,S=u(_,f,v,m);for(let R=0;R!==v;++R)S[R]=t[R];E.clippingState=S,this.numIntersection=g?this.numPlanes:0,this.numPlanes+=y}};function d(){c.value!==t&&(c.value=t,c.needsUpdate=s>0),e.numPlanes=s,e.numIntersection=0}function u(h,f,m,_){const g=h!==null?h.length:0;let b=null;if(g!==0){if(b=c.value,_!==!0||b===null){const E=m+g*4,y=f.matrixWorldInverse;a.getNormalMatrix(y),(b===null||b.length0){const d=new _Nt(c.height/2);return d.fromEquirectangularTexture(n,o),e.set(o,d),o.addEventListener("dispose",i),t(d.texture,o.mapping)}else return null}}return o}function i(o){const a=o.target;a.removeEventListener("dispose",i);const c=e.get(a);c!==void 0&&(e.delete(a),c.dispose())}function r(){e=new WeakMap}return{get:s,dispose:r}}class gy extends xO{constructor(e=-1,t=1,s=1,i=-1,r=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=s,this.bottom=i,this.near=r,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,s,i,r,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=s,this.view.offsetY=i,this.view.width=r,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),s=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let r=s-e,o=s+e,a=i+t,c=i-t;if(this.view!==null&&this.view.enabled){const d=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;r+=d*this.view.offsetX,o=r+d*this.view.width,a-=u*this.view.offsetY,c=a-u*this.view.height}this.projectionMatrix.makeOrthographic(r,o,a,c,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}}const Wo=4,tw=[.125,.215,.35,.446,.526,.582],$r=20,_g=new gy,nw=new _t;let hg=null,fg=0,mg=0;const Br=(1+Math.sqrt(5))/2,Vo=1/Br,sw=[new ae(1,1,1),new ae(-1,1,1),new ae(1,1,-1),new ae(-1,1,-1),new ae(0,Br,Vo),new ae(0,Br,-Vo),new ae(Vo,0,Br),new ae(-Vo,0,Br),new ae(Br,Vo,0),new ae(-Br,Vo,0)];class iw{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,s=.1,i=100){hg=this._renderer.getRenderTarget(),fg=this._renderer.getActiveCubeFace(),mg=this._renderer.getActiveMipmapLevel(),this._setSize(256);const r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(e,s,i,r),t>0&&this._blur(r,0,0,t),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=aw(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=ow(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?v:0,v,v),u.setRenderTarget(i),g&&u.render(_,a),u.render(e,a)}_.geometry.dispose(),_.material.dispose(),u.toneMapping=f,u.autoClear=h,e.background=b}_textureToCubeUV(e,t){const s=this._renderer,i=e.mapping===ba||e.mapping===Ea;i?(this._cubemapMaterial===null&&(this._cubemapMaterial=aw()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=ow());const r=i?this._cubemapMaterial:this._equirectMaterial,o=new Vn(this._lodPlanes[0],r),a=r.uniforms;a.envMap.value=e;const c=this._cubeSize;gd(t,0,0,3*c,2*c),s.setRenderTarget(t),s.render(o,_g)}_applyPMREM(e){const t=this._renderer,s=t.autoClear;t.autoClear=!1;for(let i=1;i$r&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${b} samples when the maximum is set to ${$r}`);const E=[];let y=0;for(let A=0;A<$r;++A){const I=A/g,C=Math.exp(-I*I/2);E.push(C),A===0?y+=C:Av-Wo?i-v+Wo:0),w=4*(this._cubeSize-S);gd(t,R,w,3*S,2*S),c.setRenderTarget(t),c.render(h,_g)}}function nIt(n){const e=[],t=[],s=[];let i=n;const r=n-Wo+1+tw.length;for(let o=0;on-Wo?c=tw[o-n+Wo-1]:o===0&&(c=0),s.push(c);const d=1/(a-2),u=-d,h=1+d,f=[u,u,h,u,h,h,u,u,h,h,u,h],m=6,_=6,g=3,b=2,E=1,y=new Float32Array(g*_*m),v=new Float32Array(b*_*m),S=new Float32Array(E*_*m);for(let w=0;w2?0:-1,C=[A,I,0,A+2/3,I,0,A+2/3,I+1,0,A,I,0,A+2/3,I+1,0,A,I+1,0];y.set(C,g*_*w),v.set(f,b*_*w);const O=[w,w,w,w,w,w];S.set(O,E*_*w)}const R=new Ei;R.setAttribute("position",new zn(y,g)),R.setAttribute("uv",new zn(v,b)),R.setAttribute("faceIndex",new zn(S,E)),e.push(R),i>Wo&&i--}return{lodPlanes:e,sizeLods:t,sigmas:s}}function rw(n,e,t){const s=new uo(n,e,t);return s.texture.mapping=bp,s.texture.name="PMREM.cubeUv",s.scissorTest=!0,s}function gd(n,e,t,s,i){n.viewport.set(e,t,s,i),n.scissor.set(e,t,s,i)}function sIt(n,e,t){const s=new Float32Array($r),i=new ae(0,1,0);return new po({name:"SphericalGaussianBlur",defines:{n:$r,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:s},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:by(),fragmentShader:` +}`,St={alphahash_fragment:iNt,alphahash_pars_fragment:rNt,alphamap_fragment:oNt,alphamap_pars_fragment:aNt,alphatest_fragment:lNt,alphatest_pars_fragment:cNt,aomap_fragment:dNt,aomap_pars_fragment:uNt,batching_pars_vertex:pNt,batching_vertex:_Nt,begin_vertex:hNt,beginnormal_vertex:fNt,bsdfs:mNt,iridescence_fragment:gNt,bumpmap_pars_fragment:bNt,clipping_planes_fragment:ENt,clipping_planes_pars_fragment:yNt,clipping_planes_pars_vertex:vNt,clipping_planes_vertex:SNt,color_fragment:TNt,color_pars_fragment:xNt,color_pars_vertex:CNt,color_vertex:wNt,common:RNt,cube_uv_reflection_fragment:ANt,defaultnormal_vertex:NNt,displacementmap_pars_vertex:ONt,displacementmap_vertex:INt,emissivemap_fragment:MNt,emissivemap_pars_fragment:kNt,colorspace_fragment:DNt,colorspace_pars_fragment:LNt,envmap_fragment:PNt,envmap_common_pars_fragment:FNt,envmap_pars_fragment:UNt,envmap_pars_vertex:BNt,envmap_physical_pars_fragment:XNt,envmap_vertex:GNt,fog_vertex:VNt,fog_pars_vertex:zNt,fog_fragment:HNt,fog_pars_fragment:qNt,gradientmap_pars_fragment:$Nt,lightmap_fragment:YNt,lightmap_pars_fragment:WNt,lights_lambert_fragment:KNt,lights_lambert_pars_fragment:jNt,lights_pars_begin:QNt,lights_toon_fragment:ZNt,lights_toon_pars_fragment:JNt,lights_phong_fragment:eOt,lights_phong_pars_fragment:tOt,lights_physical_fragment:nOt,lights_physical_pars_fragment:sOt,lights_fragment_begin:iOt,lights_fragment_maps:rOt,lights_fragment_end:oOt,logdepthbuf_fragment:aOt,logdepthbuf_pars_fragment:lOt,logdepthbuf_pars_vertex:cOt,logdepthbuf_vertex:dOt,map_fragment:uOt,map_pars_fragment:pOt,map_particle_fragment:_Ot,map_particle_pars_fragment:hOt,metalnessmap_fragment:fOt,metalnessmap_pars_fragment:mOt,morphcolor_vertex:gOt,morphnormal_vertex:bOt,morphtarget_pars_vertex:EOt,morphtarget_vertex:yOt,normal_fragment_begin:vOt,normal_fragment_maps:SOt,normal_pars_fragment:TOt,normal_pars_vertex:xOt,normal_vertex:COt,normalmap_pars_fragment:wOt,clearcoat_normal_fragment_begin:ROt,clearcoat_normal_fragment_maps:AOt,clearcoat_pars_fragment:NOt,iridescence_pars_fragment:OOt,opaque_fragment:IOt,packing:MOt,premultiplied_alpha_fragment:kOt,project_vertex:DOt,dithering_fragment:LOt,dithering_pars_fragment:POt,roughnessmap_fragment:FOt,roughnessmap_pars_fragment:UOt,shadowmap_pars_fragment:BOt,shadowmap_pars_vertex:GOt,shadowmap_vertex:VOt,shadowmask_pars_fragment:zOt,skinbase_vertex:HOt,skinning_pars_vertex:qOt,skinning_vertex:$Ot,skinnormal_vertex:YOt,specularmap_fragment:WOt,specularmap_pars_fragment:KOt,tonemapping_fragment:jOt,tonemapping_pars_fragment:QOt,transmission_fragment:XOt,transmission_pars_fragment:ZOt,uv_pars_fragment:JOt,uv_pars_vertex:eIt,uv_vertex:tIt,worldpos_vertex:nIt,background_vert:sIt,background_frag:iIt,backgroundCube_vert:rIt,backgroundCube_frag:oIt,cube_vert:aIt,cube_frag:lIt,depth_vert:cIt,depth_frag:dIt,distanceRGBA_vert:uIt,distanceRGBA_frag:pIt,equirect_vert:_It,equirect_frag:hIt,linedashed_vert:fIt,linedashed_frag:mIt,meshbasic_vert:gIt,meshbasic_frag:bIt,meshlambert_vert:EIt,meshlambert_frag:yIt,meshmatcap_vert:vIt,meshmatcap_frag:SIt,meshnormal_vert:TIt,meshnormal_frag:xIt,meshphong_vert:CIt,meshphong_frag:wIt,meshphysical_vert:RIt,meshphysical_frag:AIt,meshtoon_vert:NIt,meshtoon_frag:OIt,points_vert:IIt,points_frag:MIt,shadow_vert:kIt,shadow_frag:DIt,sprite_vert:LIt,sprite_frag:PIt},We={common:{diffuse:{value:new _t(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Tt},alphaMap:{value:null},alphaMapTransform:{value:new Tt},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Tt}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Tt}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Tt}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Tt},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Tt},normalScale:{value:new At(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Tt},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Tt}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Tt}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Tt}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new _t(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new _t(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Tt},alphaTest:{value:0},uvTransform:{value:new Tt}},sprite:{diffuse:{value:new _t(16777215)},opacity:{value:1},center:{value:new At(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Tt},alphaMap:{value:null},alphaMapTransform:{value:new Tt},alphaTest:{value:0}}},si={basic:{uniforms:Bn([We.common,We.specularmap,We.envmap,We.aomap,We.lightmap,We.fog]),vertexShader:St.meshbasic_vert,fragmentShader:St.meshbasic_frag},lambert:{uniforms:Bn([We.common,We.specularmap,We.envmap,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.fog,We.lights,{emissive:{value:new _t(0)}}]),vertexShader:St.meshlambert_vert,fragmentShader:St.meshlambert_frag},phong:{uniforms:Bn([We.common,We.specularmap,We.envmap,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.fog,We.lights,{emissive:{value:new _t(0)},specular:{value:new _t(1118481)},shininess:{value:30}}]),vertexShader:St.meshphong_vert,fragmentShader:St.meshphong_frag},standard:{uniforms:Bn([We.common,We.envmap,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.roughnessmap,We.metalnessmap,We.fog,We.lights,{emissive:{value:new _t(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:St.meshphysical_vert,fragmentShader:St.meshphysical_frag},toon:{uniforms:Bn([We.common,We.aomap,We.lightmap,We.emissivemap,We.bumpmap,We.normalmap,We.displacementmap,We.gradientmap,We.fog,We.lights,{emissive:{value:new _t(0)}}]),vertexShader:St.meshtoon_vert,fragmentShader:St.meshtoon_frag},matcap:{uniforms:Bn([We.common,We.bumpmap,We.normalmap,We.displacementmap,We.fog,{matcap:{value:null}}]),vertexShader:St.meshmatcap_vert,fragmentShader:St.meshmatcap_frag},points:{uniforms:Bn([We.points,We.fog]),vertexShader:St.points_vert,fragmentShader:St.points_frag},dashed:{uniforms:Bn([We.common,We.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:St.linedashed_vert,fragmentShader:St.linedashed_frag},depth:{uniforms:Bn([We.common,We.displacementmap]),vertexShader:St.depth_vert,fragmentShader:St.depth_frag},normal:{uniforms:Bn([We.common,We.bumpmap,We.normalmap,We.displacementmap,{opacity:{value:1}}]),vertexShader:St.meshnormal_vert,fragmentShader:St.meshnormal_frag},sprite:{uniforms:Bn([We.sprite,We.fog]),vertexShader:St.sprite_vert,fragmentShader:St.sprite_frag},background:{uniforms:{uvTransform:{value:new Tt},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:St.background_vert,fragmentShader:St.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1}},vertexShader:St.backgroundCube_vert,fragmentShader:St.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:St.cube_vert,fragmentShader:St.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:St.equirect_vert,fragmentShader:St.equirect_frag},distanceRGBA:{uniforms:Bn([We.common,We.displacementmap,{referencePosition:{value:new ae},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:St.distanceRGBA_vert,fragmentShader:St.distanceRGBA_frag},shadow:{uniforms:Bn([We.lights,We.fog,{color:{value:new _t(0)},opacity:{value:1}}]),vertexShader:St.shadow_vert,fragmentShader:St.shadow_frag}};si.physical={uniforms:Bn([si.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Tt},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Tt},clearcoatNormalScale:{value:new At(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Tt},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Tt},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Tt},sheen:{value:0},sheenColor:{value:new _t(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Tt},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Tt},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Tt},transmissionSamplerSize:{value:new At},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Tt},attenuationDistance:{value:0},attenuationColor:{value:new _t(0)},specularColor:{value:new _t(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Tt},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Tt},anisotropyVector:{value:new At},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Tt}}]),vertexShader:St.meshphysical_vert,fragmentShader:St.meshphysical_frag};const md={r:0,b:0,g:0};function FIt(n,e,t,s,i,r,o){const a=new _t(0);let c=r===!0?0:1,d,u,h=null,f=0,m=null;function _(b,E){let y=!1,v=E.isScene===!0?E.background:null;v&&v.isTexture&&(v=(E.backgroundBlurriness>0?t:e).get(v)),v===null?g(a,c):v&&v.isColor&&(g(v,1),y=!0);const S=n.xr.getEnvironmentBlendMode();S==="additive"?s.buffers.color.setClear(0,0,0,1,o):S==="alpha-blend"&&s.buffers.color.setClear(0,0,0,0,o),(n.autoClear||y)&&n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil),v&&(v.isCubeTexture||v.mapping===bp)?(u===void 0&&(u=new Vn(new yr(1,1,1),new po({name:"BackgroundCubeMaterial",uniforms:Ca(si.backgroundCube.uniforms),vertexShader:si.backgroundCube.vertexShader,fragmentShader:si.backgroundCube.fragmentShader,side:Kn,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(R,w,A){this.matrixWorld.copyPosition(A.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(u)),u.material.uniforms.envMap.value=v,u.material.uniforms.flipEnvMap.value=v.isCubeTexture&&v.isRenderTargetTexture===!1?-1:1,u.material.uniforms.backgroundBlurriness.value=E.backgroundBlurriness,u.material.uniforms.backgroundIntensity.value=E.backgroundIntensity,u.material.toneMapped=Ft.getTransfer(v.colorSpace)!==Xt,(h!==v||f!==v.version||m!==n.toneMapping)&&(u.material.needsUpdate=!0,h=v,f=v.version,m=n.toneMapping),u.layers.enableAll(),b.unshift(u,u.geometry,u.material,0,0,null)):v&&v.isTexture&&(d===void 0&&(d=new Vn(new my(2,2),new po({name:"BackgroundMaterial",uniforms:Ca(si.background.uniforms),vertexShader:si.background.vertexShader,fragmentShader:si.background.fragmentShader,side:Vi,depthTest:!1,depthWrite:!1,fog:!1})),d.geometry.deleteAttribute("normal"),Object.defineProperty(d.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(d)),d.material.uniforms.t2D.value=v,d.material.uniforms.backgroundIntensity.value=E.backgroundIntensity,d.material.toneMapped=Ft.getTransfer(v.colorSpace)!==Xt,v.matrixAutoUpdate===!0&&v.updateMatrix(),d.material.uniforms.uvTransform.value.copy(v.matrix),(h!==v||f!==v.version||m!==n.toneMapping)&&(d.material.needsUpdate=!0,h=v,f=v.version,m=n.toneMapping),d.layers.enableAll(),b.unshift(d,d.geometry,d.material,0,0,null))}function g(b,E){b.getRGB(md,TO(n)),s.buffers.color.setClear(md.r,md.g,md.b,E,o)}return{getClearColor:function(){return a},setClearColor:function(b,E=1){a.set(b),c=E,g(a,c)},getClearAlpha:function(){return c},setClearAlpha:function(b){c=b,g(a,c)},render:_}}function UIt(n,e,t,s){const i=n.getParameter(n.MAX_VERTEX_ATTRIBS),r=s.isWebGL2?null:e.get("OES_vertex_array_object"),o=s.isWebGL2||r!==null,a={},c=b(null);let d=c,u=!1;function h(k,$,q,F,W){let ne=!1;if(o){const le=g(F,q,$);d!==le&&(d=le,m(d.object)),ne=E(k,F,q,W),ne&&y(k,F,q,W)}else{const le=$.wireframe===!0;(d.geometry!==F.id||d.program!==q.id||d.wireframe!==le)&&(d.geometry=F.id,d.program=q.id,d.wireframe=le,ne=!0)}W!==null&&t.update(W,n.ELEMENT_ARRAY_BUFFER),(ne||u)&&(u=!1,M(k,$,q,F),W!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,t.get(W).buffer))}function f(){return s.isWebGL2?n.createVertexArray():r.createVertexArrayOES()}function m(k){return s.isWebGL2?n.bindVertexArray(k):r.bindVertexArrayOES(k)}function _(k){return s.isWebGL2?n.deleteVertexArray(k):r.deleteVertexArrayOES(k)}function g(k,$,q){const F=q.wireframe===!0;let W=a[k.id];W===void 0&&(W={},a[k.id]=W);let ne=W[$.id];ne===void 0&&(ne={},W[$.id]=ne);let le=ne[F];return le===void 0&&(le=b(f()),ne[F]=le),le}function b(k){const $=[],q=[],F=[];for(let W=0;W=0){const Ee=W[Se];let Ie=ne[Se];if(Ie===void 0&&(Se==="instanceMatrix"&&k.instanceMatrix&&(Ie=k.instanceMatrix),Se==="instanceColor"&&k.instanceColor&&(Ie=k.instanceColor)),Ee===void 0||Ee.attribute!==Ie||Ie&&Ee.data!==Ie.data)return!0;le++}return d.attributesNum!==le||d.index!==F}function y(k,$,q,F){const W={},ne=$.attributes;let le=0;const me=q.getAttributes();for(const Se in me)if(me[Se].location>=0){let Ee=ne[Se];Ee===void 0&&(Se==="instanceMatrix"&&k.instanceMatrix&&(Ee=k.instanceMatrix),Se==="instanceColor"&&k.instanceColor&&(Ee=k.instanceColor));const Ie={};Ie.attribute=Ee,Ee&&Ee.data&&(Ie.data=Ee.data),W[Se]=Ie,le++}d.attributes=W,d.attributesNum=le,d.index=F}function v(){const k=d.newAttributes;for(let $=0,q=k.length;$=0){let de=W[me];if(de===void 0&&(me==="instanceMatrix"&&k.instanceMatrix&&(de=k.instanceMatrix),me==="instanceColor"&&k.instanceColor&&(de=k.instanceColor)),de!==void 0){const Ee=de.normalized,Ie=de.itemSize,ke=t.get(de);if(ke===void 0)continue;const Z=ke.buffer,he=ke.type,_e=ke.bytesPerElement,we=s.isWebGL2===!0&&(he===n.INT||he===n.UNSIGNED_INT||de.gpuType===rO);if(de.isInterleavedBufferAttribute){const Pe=de.data,N=Pe.stride,z=de.offset;if(Pe.isInstancedInterleavedBuffer){for(let Y=0;Y0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";A="mediump"}return A==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}const o=typeof WebGL2RenderingContext<"u"&&n.constructor.name==="WebGL2RenderingContext";let a=t.precision!==void 0?t.precision:"highp";const c=r(a);c!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",c,"instead."),a=c);const d=o||e.has("WEBGL_draw_buffers"),u=t.logarithmicDepthBuffer===!0,h=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),f=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),m=n.getParameter(n.MAX_TEXTURE_SIZE),_=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),g=n.getParameter(n.MAX_VERTEX_ATTRIBS),b=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),E=n.getParameter(n.MAX_VARYING_VECTORS),y=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),v=f>0,S=o||e.has("OES_texture_float"),R=v&&S,w=o?n.getParameter(n.MAX_SAMPLES):0;return{isWebGL2:o,drawBuffers:d,getMaxAnisotropy:i,getMaxPrecision:r,precision:a,logarithmicDepthBuffer:u,maxTextures:h,maxVertexTextures:f,maxTextureSize:m,maxCubemapSize:_,maxAttributes:g,maxVertexUniforms:b,maxVaryings:E,maxFragmentUniforms:y,vertexTextures:v,floatFragmentTextures:S,floatVertexTextures:R,maxSamples:w}}function VIt(n){const e=this;let t=null,s=0,i=!1,r=!1;const o=new Ur,a=new Tt,c={value:null,needsUpdate:!1};this.uniform=c,this.numPlanes=0,this.numIntersection=0,this.init=function(h,f){const m=h.length!==0||f||s!==0||i;return i=f,s=h.length,m},this.beginShadows=function(){r=!0,u(null)},this.endShadows=function(){r=!1},this.setGlobalState=function(h,f){t=u(h,f,0)},this.setState=function(h,f,m){const _=h.clippingPlanes,g=h.clipIntersection,b=h.clipShadows,E=n.get(h);if(!i||_===null||_.length===0||r&&!b)r?u(null):d();else{const y=r?0:s,v=y*4;let S=E.clippingState||null;c.value=S,S=u(_,f,v,m);for(let R=0;R!==v;++R)S[R]=t[R];E.clippingState=S,this.numIntersection=g?this.numPlanes:0,this.numPlanes+=y}};function d(){c.value!==t&&(c.value=t,c.needsUpdate=s>0),e.numPlanes=s,e.numIntersection=0}function u(h,f,m,_){const g=h!==null?h.length:0;let b=null;if(g!==0){if(b=c.value,_!==!0||b===null){const E=m+g*4,y=f.matrixWorldInverse;a.getNormalMatrix(y),(b===null||b.length0){const d=new eNt(c.height/2);return d.fromEquirectangularTexture(n,o),e.set(o,d),o.addEventListener("dispose",i),t(d.texture,o.mapping)}else return null}}return o}function i(o){const a=o.target;a.removeEventListener("dispose",i);const c=e.get(a);c!==void 0&&(e.delete(a),c.dispose())}function r(){e=new WeakMap}return{get:s,dispose:r}}class gy extends xO{constructor(e=-1,t=1,s=1,i=-1,r=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=s,this.bottom=i,this.near=r,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,t,s,i,r,o){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=s,this.view.offsetY=i,this.view.width=r,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),s=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let r=s-e,o=s+e,a=i+t,c=i-t;if(this.view!==null&&this.view.enabled){const d=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;r+=d*this.view.offsetX,o=r+d*this.view.width,a-=u*this.view.offsetY,c=a-u*this.view.height}this.projectionMatrix.makeOrthographic(r,o,a,c,this.near,this.far,this.coordinateSystem),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,this.view!==null&&(t.object.view=Object.assign({},this.view)),t}}const Ko=4,tw=[.125,.215,.35,.446,.526,.582],$r=20,_g=new gy,nw=new _t;let hg=null,fg=0,mg=0;const Br=(1+Math.sqrt(5))/2,zo=1/Br,sw=[new ae(1,1,1),new ae(-1,1,1),new ae(1,1,-1),new ae(-1,1,-1),new ae(0,Br,zo),new ae(0,Br,-zo),new ae(zo,0,Br),new ae(-zo,0,Br),new ae(Br,zo,0),new ae(-Br,zo,0)];class iw{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,s=.1,i=100){hg=this._renderer.getRenderTarget(),fg=this._renderer.getActiveCubeFace(),mg=this._renderer.getActiveMipmapLevel(),this._setSize(256);const r=this._allocateTargets();return r.depthBuffer=!0,this._sceneToCubeUV(e,s,i,r),t>0&&this._blur(r,0,0,t),this._applyPMREM(r),this._cleanup(r),r}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=aw(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=ow(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?v:0,v,v),u.setRenderTarget(i),g&&u.render(_,a),u.render(e,a)}_.geometry.dispose(),_.material.dispose(),u.toneMapping=f,u.autoClear=h,e.background=b}_textureToCubeUV(e,t){const s=this._renderer,i=e.mapping===Ea||e.mapping===ya;i?(this._cubemapMaterial===null&&(this._cubemapMaterial=aw()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=ow());const r=i?this._cubemapMaterial:this._equirectMaterial,o=new Vn(this._lodPlanes[0],r),a=r.uniforms;a.envMap.value=e;const c=this._cubeSize;gd(t,0,0,3*c,2*c),s.setRenderTarget(t),s.render(o,_g)}_applyPMREM(e){const t=this._renderer,s=t.autoClear;t.autoClear=!1;for(let i=1;i$r&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${b} samples when the maximum is set to ${$r}`);const E=[];let y=0;for(let A=0;A<$r;++A){const M=A/g,x=Math.exp(-M*M/2);E.push(x),A===0?y+=x:Av-Ko?i-v+Ko:0),w=4*(this._cubeSize-S);gd(t,R,w,3*S,2*S),c.setRenderTarget(t),c.render(h,_g)}}function HIt(n){const e=[],t=[],s=[];let i=n;const r=n-Ko+1+tw.length;for(let o=0;on-Ko?c=tw[o-n+Ko-1]:o===0&&(c=0),s.push(c);const d=1/(a-2),u=-d,h=1+d,f=[u,u,h,u,h,h,u,u,h,h,u,h],m=6,_=6,g=3,b=2,E=1,y=new Float32Array(g*_*m),v=new Float32Array(b*_*m),S=new Float32Array(E*_*m);for(let w=0;w2?0:-1,x=[A,M,0,A+2/3,M,0,A+2/3,M+1,0,A,M,0,A+2/3,M+1,0,A,M+1,0];y.set(x,g*_*w),v.set(f,b*_*w);const O=[w,w,w,w,w,w];S.set(O,E*_*w)}const R=new Ei;R.setAttribute("position",new zn(y,g)),R.setAttribute("uv",new zn(v,b)),R.setAttribute("faceIndex",new zn(S,E)),e.push(R),i>Ko&&i--}return{lodPlanes:e,sizeLods:t,sigmas:s}}function rw(n,e,t){const s=new uo(n,e,t);return s.texture.mapping=bp,s.texture.name="PMREM.cubeUv",s.scissorTest=!0,s}function gd(n,e,t,s,i){n.viewport.set(e,t,s,i),n.scissor.set(e,t,s,i)}function qIt(n,e,t){const s=new Float32Array($r),i=new ae(0,1,0);return new po({name:"SphericalGaussianBlur",defines:{n:$r,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/t,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:s},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:by(),fragmentShader:` precision mediump float; precision mediump int; @@ -3914,26 +3840,26 @@ void main() { gl_Position = vec4( position, 1.0 ); } - `}function iIt(n){let e=new WeakMap,t=null;function s(a){if(a&&a.isTexture){const c=a.mapping,d=c===mb||c===gb,u=c===ba||c===Ea;if(d||u)if(a.isRenderTargetTexture&&a.needsPMREMUpdate===!0){a.needsPMREMUpdate=!1;let h=e.get(a);return t===null&&(t=new iw(n)),h=d?t.fromEquirectangular(a,h):t.fromCubemap(a,h),e.set(a,h),h.texture}else{if(e.has(a))return e.get(a).texture;{const h=a.image;if(d&&h&&h.height>0||u&&h&&i(h)){t===null&&(t=new iw(n));const f=d?t.fromEquirectangular(a):t.fromCubemap(a);return e.set(a,f),a.addEventListener("dispose",r),f.texture}else return null}}}return a}function i(a){let c=0;const d=6;for(let u=0;ue.maxTextureSize&&(B=Math.ceil(O/e.maxTextureSize),O=e.maxTextureSize);const H=new Float32Array(O*B*4*g),te=new bO(H,O,B,g);te.type=Di,te.needsUpdate=!0;const k=C*4;for(let q=0;q0)return n;const i=e*t;let r=lw[i];if(r===void 0&&(r=new Float32Array(i),lw[i]=r),e!==0){s.toArray(r,0);for(let o=1,a=0;o!==e;++o)a+=t,n[o].toArray(r,a)}return r}function mn(n,e){if(n.length!==e.length)return!1;for(let t=0,s=n.length;t0||u&&h&&i(h)){t===null&&(t=new iw(n));const f=d?t.fromEquirectangular(a):t.fromCubemap(a);return e.set(a,f),a.addEventListener("dispose",r),f.texture}else return null}}}return a}function i(a){let c=0;const d=6;for(let u=0;ue.maxTextureSize&&(B=Math.ceil(O/e.maxTextureSize),O=e.maxTextureSize);const H=new Float32Array(O*B*4*g),te=new bO(H,O,B,g);te.type=Di,te.needsUpdate=!0;const k=x*4;for(let q=0;q0)return n;const i=e*t;let r=lw[i];if(r===void 0&&(r=new Float32Array(i),lw[i]=r),e!==0){s.toArray(r,0);for(let o=1,a=0;o!==e;++o)a+=t,n[o].toArray(r,a)}return r}function mn(n,e){if(n.length!==e.length)return!1;for(let t=0,s=n.length;t":" "} ${a}: ${t[o]}`)}return s.join(` -`)}function okt(n){const e=Ft.getPrimaries(Ft.workingColorSpace),t=Ft.getPrimaries(n);let s;switch(e===t?s="":e===vu&&t===yu?s="LinearDisplayP3ToLinearSRGB":e===yu&&t===vu&&(s="LinearSRGBToLinearDisplayP3"),n){case Nn:case Ep:return[s,"LinearTransferOETF"];case rn:case _y:return[s,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space:",n),[s,"LinearTransferOETF"]}}function fw(n,e,t){const s=n.getShaderParameter(e,n.COMPILE_STATUS),i=n.getShaderInfoLog(e).trim();if(s&&i==="")return"";const r=/ERROR: 0:(\d+)/.exec(i);if(r){const o=parseInt(r[1]);return t.toUpperCase()+` +`)}function WMt(n){const e=Ft.getPrimaries(Ft.workingColorSpace),t=Ft.getPrimaries(n);let s;switch(e===t?s="":e===vu&&t===yu?s="LinearDisplayP3ToLinearSRGB":e===yu&&t===vu&&(s="LinearSRGBToLinearDisplayP3"),n){case Nn:case Ep:return[s,"LinearTransferOETF"];case rn:case _y:return[s,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space:",n),[s,"LinearTransferOETF"]}}function fw(n,e,t){const s=n.getShaderParameter(e,n.COMPILE_STATUS),i=n.getShaderInfoLog(e).trim();if(s&&i==="")return"";const r=/ERROR: 0:(\d+)/.exec(i);if(r){const o=parseInt(r[1]);return t.toUpperCase()+` `+i+` -`+rkt(n.getShaderSource(e),o)}else return i}function akt(n,e){const t=okt(e);return`vec4 ${n}( vec4 value ) { return ${t[0]}( ${t[1]}( value ) ); }`}function lkt(n,e){let t;switch(e){case i2t:t="Linear";break;case r2t:t="Reinhard";break;case o2t:t="OptimizedCineon";break;case a2t:t="ACESFilmic";break;case l2t:t="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),t="Linear"}return"vec3 "+n+"( vec3 color ) { return "+t+"ToneMapping( color ); }"}function ckt(n){return[n.extensionDerivatives||n.envMapCubeUVHeight||n.bumpMap||n.normalMapTangentSpace||n.clearcoatNormalMap||n.flatShading||n.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(n.extensionFragDepth||n.logarithmicDepthBuffer)&&n.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",n.extensionDrawBuffers&&n.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(n.extensionShaderTextureLOD||n.envMap||n.transmission)&&n.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Sl).join(` -`)}function dkt(n){const e=[];for(const t in n){const s=n[t];s!==!1&&e.push("#define "+t+" "+s)}return e.join(` -`)}function ukt(n,e){const t={},s=n.getProgramParameter(e,n.ACTIVE_ATTRIBUTES);for(let i=0;i/gm;function Tb(n){return n.replace(pkt,hkt)}const _kt=new Map([["encodings_fragment","colorspace_fragment"],["encodings_pars_fragment","colorspace_pars_fragment"],["output_fragment","opaque_fragment"]]);function hkt(n,e){let t=St[e];if(t===void 0){const s=_kt.get(e);if(s!==void 0)t=St[s],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,s);else throw new Error("Can not resolve #include <"+e+">")}return Tb(t)}const fkt=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function bw(n){return n.replace(fkt,mkt)}function mkt(n,e,t,s){let i="";for(let r=parseInt(e);r/gm;function Tb(n){return n.replace(JMt,tkt)}const ekt=new Map([["encodings_fragment","colorspace_fragment"],["encodings_pars_fragment","colorspace_pars_fragment"],["output_fragment","opaque_fragment"]]);function tkt(n,e){let t=St[e];if(t===void 0){const s=ekt.get(e);if(s!==void 0)t=St[s],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',e,s);else throw new Error("Can not resolve #include <"+e+">")}return Tb(t)}const nkt=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function bw(n){return n.replace(nkt,skt)}function skt(n,e,t,s){let i="";for(let r=parseInt(e);r0&&(b+=` `),E=[m,"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,_].filter(Sl).join(` `),E.length>0&&(E+=` `)):(b=[Ew(t),"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,_,t.batching?"#define USE_BATCHING":"",t.instancing?"#define USE_INSTANCING":"",t.instancingColor?"#define USE_INSTANCING_COLOR":"",t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+u:"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",t.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",t.displacementMap?"#define USE_DISPLACEMENTMAP":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.anisotropy?"#define USE_ANISOTROPY":"",t.anisotropyMap?"#define USE_ANISOTROPYMAP":"",t.clearcoatMap?"#define USE_CLEARCOATMAP":"",t.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",t.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",t.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.alphaHash?"#define USE_ALPHAHASH":"",t.transmission?"#define USE_TRANSMISSION":"",t.transmissionMap?"#define USE_TRANSMISSIONMAP":"",t.thicknessMap?"#define USE_THICKNESSMAP":"",t.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",t.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",t.mapUv?"#define MAP_UV "+t.mapUv:"",t.alphaMapUv?"#define ALPHAMAP_UV "+t.alphaMapUv:"",t.lightMapUv?"#define LIGHTMAP_UV "+t.lightMapUv:"",t.aoMapUv?"#define AOMAP_UV "+t.aoMapUv:"",t.emissiveMapUv?"#define EMISSIVEMAP_UV "+t.emissiveMapUv:"",t.bumpMapUv?"#define BUMPMAP_UV "+t.bumpMapUv:"",t.normalMapUv?"#define NORMALMAP_UV "+t.normalMapUv:"",t.displacementMapUv?"#define DISPLACEMENTMAP_UV "+t.displacementMapUv:"",t.metalnessMapUv?"#define METALNESSMAP_UV "+t.metalnessMapUv:"",t.roughnessMapUv?"#define ROUGHNESSMAP_UV "+t.roughnessMapUv:"",t.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+t.anisotropyMapUv:"",t.clearcoatMapUv?"#define CLEARCOATMAP_UV "+t.clearcoatMapUv:"",t.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+t.clearcoatNormalMapUv:"",t.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+t.clearcoatRoughnessMapUv:"",t.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+t.iridescenceMapUv:"",t.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+t.iridescenceThicknessMapUv:"",t.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+t.sheenColorMapUv:"",t.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+t.sheenRoughnessMapUv:"",t.specularMapUv?"#define SPECULARMAP_UV "+t.specularMapUv:"",t.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+t.specularColorMapUv:"",t.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+t.specularIntensityMapUv:"",t.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+t.transmissionMapUv:"",t.thicknessMapUv?"#define THICKNESSMAP_UV "+t.thicknessMapUv:"",t.vertexTangents&&t.flatShading===!1?"#define USE_TANGENT":"",t.vertexColors?"#define USE_COLOR":"",t.vertexAlphas?"#define USE_COLOR_ALPHA":"",t.vertexUv1s?"#define USE_UV1":"",t.vertexUv2s?"#define USE_UV2":"",t.vertexUv3s?"#define USE_UV3":"",t.pointsUvs?"#define USE_POINTS_UV":"",t.flatShading?"#define FLAT_SHADED":"",t.skinning?"#define USE_SKINNING":"",t.morphTargets?"#define USE_MORPHTARGETS":"",t.morphNormals&&t.flatShading===!1?"#define USE_MORPHNORMALS":"",t.morphColors&&t.isWebGL2?"#define USE_MORPHCOLORS":"",t.morphTargetsCount>0&&t.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",t.morphTargetsCount>0&&t.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+t.morphTextureStride:"",t.morphTargetsCount>0&&t.isWebGL2?"#define MORPHTARGETS_COUNT "+t.morphTargetsCount:"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+c:"",t.sizeAttenuation?"#define USE_SIZEATTENUATION":"",t.numLightProbes>0?"#define USE_LIGHT_PROBES":"",t.useLegacyLights?"#define LEGACY_LIGHTS":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` `].filter(Sl).join(` -`),E=[m,Ew(t),"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,_,t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.matcap?"#define USE_MATCAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+d:"",t.envMap?"#define "+u:"",t.envMap?"#define "+h:"",f?"#define CUBEUV_TEXEL_WIDTH "+f.texelWidth:"",f?"#define CUBEUV_TEXEL_HEIGHT "+f.texelHeight:"",f?"#define CUBEUV_MAX_MIP "+f.maxMip+".0":"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",t.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.anisotropy?"#define USE_ANISOTROPY":"",t.anisotropyMap?"#define USE_ANISOTROPYMAP":"",t.clearcoat?"#define USE_CLEARCOAT":"",t.clearcoatMap?"#define USE_CLEARCOATMAP":"",t.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.iridescence?"#define USE_IRIDESCENCE":"",t.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",t.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",t.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.alphaTest?"#define USE_ALPHATEST":"",t.alphaHash?"#define USE_ALPHAHASH":"",t.sheen?"#define USE_SHEEN":"",t.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",t.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",t.transmission?"#define USE_TRANSMISSION":"",t.transmissionMap?"#define USE_TRANSMISSIONMAP":"",t.thicknessMap?"#define USE_THICKNESSMAP":"",t.vertexTangents&&t.flatShading===!1?"#define USE_TANGENT":"",t.vertexColors||t.instancingColor?"#define USE_COLOR":"",t.vertexAlphas?"#define USE_COLOR_ALPHA":"",t.vertexUv1s?"#define USE_UV1":"",t.vertexUv2s?"#define USE_UV2":"",t.vertexUv3s?"#define USE_UV3":"",t.pointsUvs?"#define USE_POINTS_UV":"",t.gradientMap?"#define USE_GRADIENTMAP":"",t.flatShading?"#define FLAT_SHADED":"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+c:"",t.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",t.numLightProbes>0?"#define USE_LIGHT_PROBES":"",t.useLegacyLights?"#define LEGACY_LIGHTS":"",t.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",t.toneMapping!==br?"#define TONE_MAPPING":"",t.toneMapping!==br?St.tonemapping_pars_fragment:"",t.toneMapping!==br?lkt("toneMapping",t.toneMapping):"",t.dithering?"#define DITHERING":"",t.opaque?"#define OPAQUE":"",St.colorspace_pars_fragment,akt("linearToOutputTexel",t.outputColorSpace),t.useDepthPacking?"#define DEPTH_PACKING "+t.depthPacking:"",` +`),E=[m,Ew(t),"#define SHADER_TYPE "+t.shaderType,"#define SHADER_NAME "+t.shaderName,_,t.useFog&&t.fog?"#define USE_FOG":"",t.useFog&&t.fogExp2?"#define FOG_EXP2":"",t.map?"#define USE_MAP":"",t.matcap?"#define USE_MATCAP":"",t.envMap?"#define USE_ENVMAP":"",t.envMap?"#define "+d:"",t.envMap?"#define "+u:"",t.envMap?"#define "+h:"",f?"#define CUBEUV_TEXEL_WIDTH "+f.texelWidth:"",f?"#define CUBEUV_TEXEL_HEIGHT "+f.texelHeight:"",f?"#define CUBEUV_MAX_MIP "+f.maxMip+".0":"",t.lightMap?"#define USE_LIGHTMAP":"",t.aoMap?"#define USE_AOMAP":"",t.bumpMap?"#define USE_BUMPMAP":"",t.normalMap?"#define USE_NORMALMAP":"",t.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",t.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",t.emissiveMap?"#define USE_EMISSIVEMAP":"",t.anisotropy?"#define USE_ANISOTROPY":"",t.anisotropyMap?"#define USE_ANISOTROPYMAP":"",t.clearcoat?"#define USE_CLEARCOAT":"",t.clearcoatMap?"#define USE_CLEARCOATMAP":"",t.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",t.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",t.iridescence?"#define USE_IRIDESCENCE":"",t.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",t.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",t.specularMap?"#define USE_SPECULARMAP":"",t.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",t.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",t.roughnessMap?"#define USE_ROUGHNESSMAP":"",t.metalnessMap?"#define USE_METALNESSMAP":"",t.alphaMap?"#define USE_ALPHAMAP":"",t.alphaTest?"#define USE_ALPHATEST":"",t.alphaHash?"#define USE_ALPHAHASH":"",t.sheen?"#define USE_SHEEN":"",t.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",t.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",t.transmission?"#define USE_TRANSMISSION":"",t.transmissionMap?"#define USE_TRANSMISSIONMAP":"",t.thicknessMap?"#define USE_THICKNESSMAP":"",t.vertexTangents&&t.flatShading===!1?"#define USE_TANGENT":"",t.vertexColors||t.instancingColor?"#define USE_COLOR":"",t.vertexAlphas?"#define USE_COLOR_ALPHA":"",t.vertexUv1s?"#define USE_UV1":"",t.vertexUv2s?"#define USE_UV2":"",t.vertexUv3s?"#define USE_UV3":"",t.pointsUvs?"#define USE_POINTS_UV":"",t.gradientMap?"#define USE_GRADIENTMAP":"",t.flatShading?"#define FLAT_SHADED":"",t.doubleSided?"#define DOUBLE_SIDED":"",t.flipSided?"#define FLIP_SIDED":"",t.shadowMapEnabled?"#define USE_SHADOWMAP":"",t.shadowMapEnabled?"#define "+c:"",t.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",t.numLightProbes>0?"#define USE_LIGHT_PROBES":"",t.useLegacyLights?"#define LEGACY_LIGHTS":"",t.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",t.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",t.logarithmicDepthBuffer&&t.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",t.toneMapping!==br?"#define TONE_MAPPING":"",t.toneMapping!==br?St.tonemapping_pars_fragment:"",t.toneMapping!==br?jMt("toneMapping",t.toneMapping):"",t.dithering?"#define DITHERING":"",t.opaque?"#define OPAQUE":"",St.colorspace_pars_fragment,KMt("linearToOutputTexel",t.outputColorSpace),t.useDepthPacking?"#define DEPTH_PACKING "+t.depthPacking:"",` `].filter(Sl).join(` `)),o=Tb(o),o=mw(o,t),o=gw(o,t),a=Tb(a),a=mw(a,t),a=gw(a,t),o=bw(o),a=bw(a),t.isWebGL2&&t.isRawShaderMaterial!==!0&&(y=`#version 300 es `,b=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(` @@ -3944,9 +3870,9 @@ precision `+n.precision+" int;";return n.precision==="highp"?e+=` Program Info Log: `+H+` `+F+` -`+W)}else H!==""?console.warn("THREE.WebGLProgram: Program Info Log:",H):(te===""||k==="")&&(q=!1);q&&(B.diagnostics={runnable:$,programLog:H,vertexShader:{log:te,prefix:b},fragmentShader:{log:k,prefix:E}})}i.deleteShader(R),i.deleteShader(w),I=new zd(i,g),C=ukt(i,g)}let I;this.getUniforms=function(){return I===void 0&&A(this),I};let C;this.getAttributes=function(){return C===void 0&&A(this),C};let O=t.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return O===!1&&(O=i.getProgramParameter(g,skt)),O},this.destroy=function(){s.releaseStatesOfProgram(this),i.deleteProgram(g),this.program=void 0},this.type=t.shaderType,this.name=t.shaderName,this.id=ikt++,this.cacheKey=e,this.usedTimes=1,this.program=g,this.vertexShader=R,this.fragmentShader=w,this}let Tkt=0;class xkt{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,s=e.fragmentShader,i=this._getShaderStage(t),r=this._getShaderStage(s),o=this._getShaderCacheForMaterial(e);return o.has(i)===!1&&(o.add(i),i.usedTimes++),o.has(r)===!1&&(o.add(r),r.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const s of t)s.usedTimes--,s.usedTimes===0&&this.shaderCache.delete(s.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let s=t.get(e);return s===void 0&&(s=new Set,t.set(e,s)),s}_getShaderStage(e){const t=this.shaderCache;let s=t.get(e);return s===void 0&&(s=new Ckt(e),t.set(e,s)),s}}class Ckt{constructor(e){this.id=Tkt++,this.code=e,this.usedTimes=0}}function wkt(n,e,t,s,i,r,o){const a=new EO,c=new xkt,d=[],u=i.isWebGL2,h=i.logarithmicDepthBuffer,f=i.vertexTextures;let m=i.precision;const _={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function g(C){return C===0?"uv":`uv${C}`}function b(C,O,B,H,te){const k=H.fog,$=te.geometry,q=C.isMeshStandardMaterial?H.environment:null,F=(C.isMeshStandardMaterial?t:e).get(C.envMap||q),W=F&&F.mapping===bp?F.image.height:null,ne=_[C.type];C.precision!==null&&(m=i.getMaxPrecision(C.precision),m!==C.precision&&console.warn("THREE.WebGLProgram.getParameters:",C.precision,"not supported, using",m,"instead."));const le=$.morphAttributes.position||$.morphAttributes.normal||$.morphAttributes.color,me=le!==void 0?le.length:0;let Se=0;$.morphAttributes.position!==void 0&&(Se=1),$.morphAttributes.normal!==void 0&&(Se=2),$.morphAttributes.color!==void 0&&(Se=3);let de,Ee,Me,ke;if(ne){const Sn=si[ne];de=Sn.vertexShader,Ee=Sn.fragmentShader}else de=C.vertexShader,Ee=C.fragmentShader,c.update(C),Me=c.getVertexShaderID(C),ke=c.getFragmentShaderID(C);const Z=n.getRenderTarget(),he=te.isInstancedMesh===!0,_e=te.isBatchedMesh===!0,we=!!C.map,Pe=!!C.matcap,N=!!F,z=!!C.aoMap,Y=!!C.lightMap,ce=!!C.bumpMap,oe=!!C.normalMap,xe=!!C.displacementMap,Ne=!!C.emissiveMap,ie=!!C.metalnessMap,Re=!!C.roughnessMap,ge=C.anisotropy>0,De=C.clearcoat>0,L=C.iridescence>0,M=C.sheen>0,Q=C.transmission>0,ye=ge&&!!C.anisotropyMap,X=De&&!!C.clearcoatMap,se=De&&!!C.clearcoatNormalMap,Ae=De&&!!C.clearcoatRoughnessMap,Ce=L&&!!C.iridescenceMap,Ue=L&&!!C.iridescenceThicknessMap,Ze=M&&!!C.sheenColorMap,ft=M&&!!C.sheenRoughnessMap,Be=!!C.specularMap,pt=!!C.specularColorMap,st=!!C.specularIntensityMap,Ye=Q&&!!C.transmissionMap,nt=Q&&!!C.thicknessMap,je=!!C.gradientMap,yt=!!C.alphaMap,ee=C.alphaTest>0,Qe=!!C.alphaHash,Ve=!!C.extensions,Oe=!!$.attributes.uv1,He=!!$.attributes.uv2,lt=!!$.attributes.uv3;let Nt=br;return C.toneMapped&&(Z===null||Z.isXRRenderTarget===!0)&&(Nt=n.toneMapping),{isWebGL2:u,shaderID:ne,shaderType:C.type,shaderName:C.name,vertexShader:de,fragmentShader:Ee,defines:C.defines,customVertexShaderID:Me,customFragmentShaderID:ke,isRawShaderMaterial:C.isRawShaderMaterial===!0,glslVersion:C.glslVersion,precision:m,batching:_e,instancing:he,instancingColor:he&&te.instanceColor!==null,supportsVertexTextures:f,outputColorSpace:Z===null?n.outputColorSpace:Z.isXRRenderTarget===!0?Z.texture.colorSpace:Nn,map:we,matcap:Pe,envMap:N,envMapMode:N&&F.mapping,envMapCubeUVHeight:W,aoMap:z,lightMap:Y,bumpMap:ce,normalMap:oe,displacementMap:f&&xe,emissiveMap:Ne,normalMapObjectSpace:oe&&C.normalMapType===S2t,normalMapTangentSpace:oe&&C.normalMapType===py,metalnessMap:ie,roughnessMap:Re,anisotropy:ge,anisotropyMap:ye,clearcoat:De,clearcoatMap:X,clearcoatNormalMap:se,clearcoatRoughnessMap:Ae,iridescence:L,iridescenceMap:Ce,iridescenceThicknessMap:Ue,sheen:M,sheenColorMap:Ze,sheenRoughnessMap:ft,specularMap:Be,specularColorMap:pt,specularIntensityMap:st,transmission:Q,transmissionMap:Ye,thicknessMap:nt,gradientMap:je,opaque:C.transparent===!1&&C.blending===sa,alphaMap:yt,alphaTest:ee,alphaHash:Qe,combine:C.combine,mapUv:we&&g(C.map.channel),aoMapUv:z&&g(C.aoMap.channel),lightMapUv:Y&&g(C.lightMap.channel),bumpMapUv:ce&&g(C.bumpMap.channel),normalMapUv:oe&&g(C.normalMap.channel),displacementMapUv:xe&&g(C.displacementMap.channel),emissiveMapUv:Ne&&g(C.emissiveMap.channel),metalnessMapUv:ie&&g(C.metalnessMap.channel),roughnessMapUv:Re&&g(C.roughnessMap.channel),anisotropyMapUv:ye&&g(C.anisotropyMap.channel),clearcoatMapUv:X&&g(C.clearcoatMap.channel),clearcoatNormalMapUv:se&&g(C.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:Ae&&g(C.clearcoatRoughnessMap.channel),iridescenceMapUv:Ce&&g(C.iridescenceMap.channel),iridescenceThicknessMapUv:Ue&&g(C.iridescenceThicknessMap.channel),sheenColorMapUv:Ze&&g(C.sheenColorMap.channel),sheenRoughnessMapUv:ft&&g(C.sheenRoughnessMap.channel),specularMapUv:Be&&g(C.specularMap.channel),specularColorMapUv:pt&&g(C.specularColorMap.channel),specularIntensityMapUv:st&&g(C.specularIntensityMap.channel),transmissionMapUv:Ye&&g(C.transmissionMap.channel),thicknessMapUv:nt&&g(C.thicknessMap.channel),alphaMapUv:yt&&g(C.alphaMap.channel),vertexTangents:!!$.attributes.tangent&&(oe||ge),vertexColors:C.vertexColors,vertexAlphas:C.vertexColors===!0&&!!$.attributes.color&&$.attributes.color.itemSize===4,vertexUv1s:Oe,vertexUv2s:He,vertexUv3s:lt,pointsUvs:te.isPoints===!0&&!!$.attributes.uv&&(we||yt),fog:!!k,useFog:C.fog===!0,fogExp2:k&&k.isFogExp2,flatShading:C.flatShading===!0,sizeAttenuation:C.sizeAttenuation===!0,logarithmicDepthBuffer:h,skinning:te.isSkinnedMesh===!0,morphTargets:$.morphAttributes.position!==void 0,morphNormals:$.morphAttributes.normal!==void 0,morphColors:$.morphAttributes.color!==void 0,morphTargetsCount:me,morphTextureStride:Se,numDirLights:O.directional.length,numPointLights:O.point.length,numSpotLights:O.spot.length,numSpotLightMaps:O.spotLightMap.length,numRectAreaLights:O.rectArea.length,numHemiLights:O.hemi.length,numDirLightShadows:O.directionalShadowMap.length,numPointLightShadows:O.pointShadowMap.length,numSpotLightShadows:O.spotShadowMap.length,numSpotLightShadowsWithMaps:O.numSpotLightShadowsWithMaps,numLightProbes:O.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:C.dithering,shadowMapEnabled:n.shadowMap.enabled&&B.length>0,shadowMapType:n.shadowMap.type,toneMapping:Nt,useLegacyLights:n._useLegacyLights,decodeVideoTexture:we&&C.map.isVideoTexture===!0&&Ft.getTransfer(C.map.colorSpace)===Xt,premultipliedAlpha:C.premultipliedAlpha,doubleSided:C.side===ri,flipSided:C.side===Kn,useDepthPacking:C.depthPacking>=0,depthPacking:C.depthPacking||0,index0AttributeName:C.index0AttributeName,extensionDerivatives:Ve&&C.extensions.derivatives===!0,extensionFragDepth:Ve&&C.extensions.fragDepth===!0,extensionDrawBuffers:Ve&&C.extensions.drawBuffers===!0,extensionShaderTextureLOD:Ve&&C.extensions.shaderTextureLOD===!0,rendererExtensionFragDepth:u||s.has("EXT_frag_depth"),rendererExtensionDrawBuffers:u||s.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:u||s.has("EXT_shader_texture_lod"),rendererExtensionParallelShaderCompile:s.has("KHR_parallel_shader_compile"),customProgramCacheKey:C.customProgramCacheKey()}}function E(C){const O=[];if(C.shaderID?O.push(C.shaderID):(O.push(C.customVertexShaderID),O.push(C.customFragmentShaderID)),C.defines!==void 0)for(const B in C.defines)O.push(B),O.push(C.defines[B]);return C.isRawShaderMaterial===!1&&(y(O,C),v(O,C),O.push(n.outputColorSpace)),O.push(C.customProgramCacheKey),O.join()}function y(C,O){C.push(O.precision),C.push(O.outputColorSpace),C.push(O.envMapMode),C.push(O.envMapCubeUVHeight),C.push(O.mapUv),C.push(O.alphaMapUv),C.push(O.lightMapUv),C.push(O.aoMapUv),C.push(O.bumpMapUv),C.push(O.normalMapUv),C.push(O.displacementMapUv),C.push(O.emissiveMapUv),C.push(O.metalnessMapUv),C.push(O.roughnessMapUv),C.push(O.anisotropyMapUv),C.push(O.clearcoatMapUv),C.push(O.clearcoatNormalMapUv),C.push(O.clearcoatRoughnessMapUv),C.push(O.iridescenceMapUv),C.push(O.iridescenceThicknessMapUv),C.push(O.sheenColorMapUv),C.push(O.sheenRoughnessMapUv),C.push(O.specularMapUv),C.push(O.specularColorMapUv),C.push(O.specularIntensityMapUv),C.push(O.transmissionMapUv),C.push(O.thicknessMapUv),C.push(O.combine),C.push(O.fogExp2),C.push(O.sizeAttenuation),C.push(O.morphTargetsCount),C.push(O.morphAttributeCount),C.push(O.numDirLights),C.push(O.numPointLights),C.push(O.numSpotLights),C.push(O.numSpotLightMaps),C.push(O.numHemiLights),C.push(O.numRectAreaLights),C.push(O.numDirLightShadows),C.push(O.numPointLightShadows),C.push(O.numSpotLightShadows),C.push(O.numSpotLightShadowsWithMaps),C.push(O.numLightProbes),C.push(O.shadowMapType),C.push(O.toneMapping),C.push(O.numClippingPlanes),C.push(O.numClipIntersection),C.push(O.depthPacking)}function v(C,O){a.disableAll(),O.isWebGL2&&a.enable(0),O.supportsVertexTextures&&a.enable(1),O.instancing&&a.enable(2),O.instancingColor&&a.enable(3),O.matcap&&a.enable(4),O.envMap&&a.enable(5),O.normalMapObjectSpace&&a.enable(6),O.normalMapTangentSpace&&a.enable(7),O.clearcoat&&a.enable(8),O.iridescence&&a.enable(9),O.alphaTest&&a.enable(10),O.vertexColors&&a.enable(11),O.vertexAlphas&&a.enable(12),O.vertexUv1s&&a.enable(13),O.vertexUv2s&&a.enable(14),O.vertexUv3s&&a.enable(15),O.vertexTangents&&a.enable(16),O.anisotropy&&a.enable(17),O.alphaHash&&a.enable(18),O.batching&&a.enable(19),C.push(a.mask),a.disableAll(),O.fog&&a.enable(0),O.useFog&&a.enable(1),O.flatShading&&a.enable(2),O.logarithmicDepthBuffer&&a.enable(3),O.skinning&&a.enable(4),O.morphTargets&&a.enable(5),O.morphNormals&&a.enable(6),O.morphColors&&a.enable(7),O.premultipliedAlpha&&a.enable(8),O.shadowMapEnabled&&a.enable(9),O.useLegacyLights&&a.enable(10),O.doubleSided&&a.enable(11),O.flipSided&&a.enable(12),O.useDepthPacking&&a.enable(13),O.dithering&&a.enable(14),O.transmission&&a.enable(15),O.sheen&&a.enable(16),O.opaque&&a.enable(17),O.pointsUvs&&a.enable(18),O.decodeVideoTexture&&a.enable(19),C.push(a.mask)}function S(C){const O=_[C.type];let B;if(O){const H=si[O];B=cNt.clone(H.uniforms)}else B=C.uniforms;return B}function R(C,O){let B;for(let H=0,te=d.length;H0?s.push(E):m.transparent===!0?i.push(E):t.push(E)}function c(h,f,m,_,g,b){const E=o(h,f,m,_,g,b);m.transmission>0?s.unshift(E):m.transparent===!0?i.unshift(E):t.unshift(E)}function d(h,f){t.length>1&&t.sort(h||Akt),s.length>1&&s.sort(f||yw),i.length>1&&i.sort(f||yw)}function u(){for(let h=e,f=n.length;h=r.length?(o=new vw,r.push(o)):o=r[i],o}function t(){n=new WeakMap}return{get:e,dispose:t}}function Okt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={direction:new ae,color:new _t};break;case"SpotLight":t={position:new ae,direction:new ae,color:new _t,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":t={position:new ae,color:new _t,distance:0,decay:0};break;case"HemisphereLight":t={direction:new ae,skyColor:new _t,groundColor:new _t};break;case"RectAreaLight":t={color:new _t,position:new ae,halfWidth:new ae,halfHeight:new ae};break}return n[e.id]=t,t}}}function Mkt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new At};break;case"SpotLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new At};break;case"PointLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new At,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[e.id]=t,t}}}let Ikt=0;function kkt(n,e){return(e.castShadow?2:0)-(n.castShadow?2:0)+(e.map?1:0)-(n.map?1:0)}function Dkt(n,e){const t=new Okt,s=Mkt(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let u=0;u<9;u++)i.probe.push(new ae);const r=new ae,o=new xt,a=new xt;function c(u,h){let f=0,m=0,_=0;for(let H=0;H<9;H++)i.probe[H].set(0,0,0);let g=0,b=0,E=0,y=0,v=0,S=0,R=0,w=0,A=0,I=0,C=0;u.sort(kkt);const O=h===!0?Math.PI:1;for(let H=0,te=u.length;H0&&(e.isWebGL2||n.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=We.LTC_FLOAT_1,i.rectAreaLTC2=We.LTC_FLOAT_2):n.has("OES_texture_half_float_linear")===!0?(i.rectAreaLTC1=We.LTC_HALF_1,i.rectAreaLTC2=We.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=f,i.ambient[1]=m,i.ambient[2]=_;const B=i.hash;(B.directionalLength!==g||B.pointLength!==b||B.spotLength!==E||B.rectAreaLength!==y||B.hemiLength!==v||B.numDirectionalShadows!==S||B.numPointShadows!==R||B.numSpotShadows!==w||B.numSpotMaps!==A||B.numLightProbes!==C)&&(i.directional.length=g,i.spot.length=E,i.rectArea.length=y,i.point.length=b,i.hemi.length=v,i.directionalShadow.length=S,i.directionalShadowMap.length=S,i.pointShadow.length=R,i.pointShadowMap.length=R,i.spotShadow.length=w,i.spotShadowMap.length=w,i.directionalShadowMatrix.length=S,i.pointShadowMatrix.length=R,i.spotLightMatrix.length=w+A-I,i.spotLightMap.length=A,i.numSpotLightShadowsWithMaps=I,i.numLightProbes=C,B.directionalLength=g,B.pointLength=b,B.spotLength=E,B.rectAreaLength=y,B.hemiLength=v,B.numDirectionalShadows=S,B.numPointShadows=R,B.numSpotShadows=w,B.numSpotMaps=A,B.numLightProbes=C,i.version=Ikt++)}function d(u,h){let f=0,m=0,_=0,g=0,b=0;const E=h.matrixWorldInverse;for(let y=0,v=u.length;y=a.length?(c=new Sw(n,e),a.push(c)):c=a[o],c}function i(){t=new WeakMap}return{get:s,dispose:i}}class Pkt extends Ws{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=y2t,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class Fkt extends Ws{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const Ukt=`void main() { +`+W)}else H!==""?console.warn("THREE.WebGLProgram: Program Info Log:",H):(te===""||k==="")&&(q=!1);q&&(B.diagnostics={runnable:$,programLog:H,vertexShader:{log:te,prefix:b},fragmentShader:{log:k,prefix:E}})}i.deleteShader(R),i.deleteShader(w),M=new zd(i,g),x=ZMt(i,g)}let M;this.getUniforms=function(){return M===void 0&&A(this),M};let x;this.getAttributes=function(){return x===void 0&&A(this),x};let O=t.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return O===!1&&(O=i.getProgramParameter(g,qMt)),O},this.destroy=function(){s.releaseStatesOfProgram(this),i.deleteProgram(g),this.program=void 0},this.type=t.shaderType,this.name=t.shaderName,this.id=$Mt++,this.cacheKey=e,this.usedTimes=1,this.program=g,this.vertexShader=R,this.fragmentShader=w,this}let dkt=0;class ukt{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,s=e.fragmentShader,i=this._getShaderStage(t),r=this._getShaderStage(s),o=this._getShaderCacheForMaterial(e);return o.has(i)===!1&&(o.add(i),i.usedTimes++),o.has(r)===!1&&(o.add(r),r.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const s of t)s.usedTimes--,s.usedTimes===0&&this.shaderCache.delete(s.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let s=t.get(e);return s===void 0&&(s=new Set,t.set(e,s)),s}_getShaderStage(e){const t=this.shaderCache;let s=t.get(e);return s===void 0&&(s=new pkt(e),t.set(e,s)),s}}class pkt{constructor(e){this.id=dkt++,this.code=e,this.usedTimes=0}}function _kt(n,e,t,s,i,r,o){const a=new EO,c=new ukt,d=[],u=i.isWebGL2,h=i.logarithmicDepthBuffer,f=i.vertexTextures;let m=i.precision;const _={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function g(x){return x===0?"uv":`uv${x}`}function b(x,O,B,H,te){const k=H.fog,$=te.geometry,q=x.isMeshStandardMaterial?H.environment:null,F=(x.isMeshStandardMaterial?t:e).get(x.envMap||q),W=F&&F.mapping===bp?F.image.height:null,ne=_[x.type];x.precision!==null&&(m=i.getMaxPrecision(x.precision),m!==x.precision&&console.warn("THREE.WebGLProgram.getParameters:",x.precision,"not supported, using",m,"instead."));const le=$.morphAttributes.position||$.morphAttributes.normal||$.morphAttributes.color,me=le!==void 0?le.length:0;let Se=0;$.morphAttributes.position!==void 0&&(Se=1),$.morphAttributes.normal!==void 0&&(Se=2),$.morphAttributes.color!==void 0&&(Se=3);let de,Ee,Ie,ke;if(ne){const Sn=si[ne];de=Sn.vertexShader,Ee=Sn.fragmentShader}else de=x.vertexShader,Ee=x.fragmentShader,c.update(x),Ie=c.getVertexShaderID(x),ke=c.getFragmentShaderID(x);const Z=n.getRenderTarget(),he=te.isInstancedMesh===!0,_e=te.isBatchedMesh===!0,we=!!x.map,Pe=!!x.matcap,N=!!F,z=!!x.aoMap,Y=!!x.lightMap,ce=!!x.bumpMap,oe=!!x.normalMap,xe=!!x.displacementMap,Ne=!!x.emissiveMap,ie=!!x.metalnessMap,Re=!!x.roughnessMap,ge=x.anisotropy>0,De=x.clearcoat>0,L=x.iridescence>0,I=x.sheen>0,Q=x.transmission>0,ye=ge&&!!x.anisotropyMap,X=De&&!!x.clearcoatMap,se=De&&!!x.clearcoatNormalMap,Ae=De&&!!x.clearcoatRoughnessMap,Ce=L&&!!x.iridescenceMap,Fe=L&&!!x.iridescenceThicknessMap,Ze=I&&!!x.sheenColorMap,ft=I&&!!x.sheenRoughnessMap,Ue=!!x.specularMap,pt=!!x.specularColorMap,st=!!x.specularIntensityMap,Ye=Q&&!!x.transmissionMap,nt=Q&&!!x.thicknessMap,Ke=!!x.gradientMap,yt=!!x.alphaMap,ee=x.alphaTest>0,je=!!x.alphaHash,Ve=!!x.extensions,Oe=!!$.attributes.uv1,He=!!$.attributes.uv2,lt=!!$.attributes.uv3;let Nt=br;return x.toneMapped&&(Z===null||Z.isXRRenderTarget===!0)&&(Nt=n.toneMapping),{isWebGL2:u,shaderID:ne,shaderType:x.type,shaderName:x.name,vertexShader:de,fragmentShader:Ee,defines:x.defines,customVertexShaderID:Ie,customFragmentShaderID:ke,isRawShaderMaterial:x.isRawShaderMaterial===!0,glslVersion:x.glslVersion,precision:m,batching:_e,instancing:he,instancingColor:he&&te.instanceColor!==null,supportsVertexTextures:f,outputColorSpace:Z===null?n.outputColorSpace:Z.isXRRenderTarget===!0?Z.texture.colorSpace:Nn,map:we,matcap:Pe,envMap:N,envMapMode:N&&F.mapping,envMapCubeUVHeight:W,aoMap:z,lightMap:Y,bumpMap:ce,normalMap:oe,displacementMap:f&&xe,emissiveMap:Ne,normalMapObjectSpace:oe&&x.normalMapType===c2t,normalMapTangentSpace:oe&&x.normalMapType===py,metalnessMap:ie,roughnessMap:Re,anisotropy:ge,anisotropyMap:ye,clearcoat:De,clearcoatMap:X,clearcoatNormalMap:se,clearcoatRoughnessMap:Ae,iridescence:L,iridescenceMap:Ce,iridescenceThicknessMap:Fe,sheen:I,sheenColorMap:Ze,sheenRoughnessMap:ft,specularMap:Ue,specularColorMap:pt,specularIntensityMap:st,transmission:Q,transmissionMap:Ye,thicknessMap:nt,gradientMap:Ke,opaque:x.transparent===!1&&x.blending===ia,alphaMap:yt,alphaTest:ee,alphaHash:je,combine:x.combine,mapUv:we&&g(x.map.channel),aoMapUv:z&&g(x.aoMap.channel),lightMapUv:Y&&g(x.lightMap.channel),bumpMapUv:ce&&g(x.bumpMap.channel),normalMapUv:oe&&g(x.normalMap.channel),displacementMapUv:xe&&g(x.displacementMap.channel),emissiveMapUv:Ne&&g(x.emissiveMap.channel),metalnessMapUv:ie&&g(x.metalnessMap.channel),roughnessMapUv:Re&&g(x.roughnessMap.channel),anisotropyMapUv:ye&&g(x.anisotropyMap.channel),clearcoatMapUv:X&&g(x.clearcoatMap.channel),clearcoatNormalMapUv:se&&g(x.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:Ae&&g(x.clearcoatRoughnessMap.channel),iridescenceMapUv:Ce&&g(x.iridescenceMap.channel),iridescenceThicknessMapUv:Fe&&g(x.iridescenceThicknessMap.channel),sheenColorMapUv:Ze&&g(x.sheenColorMap.channel),sheenRoughnessMapUv:ft&&g(x.sheenRoughnessMap.channel),specularMapUv:Ue&&g(x.specularMap.channel),specularColorMapUv:pt&&g(x.specularColorMap.channel),specularIntensityMapUv:st&&g(x.specularIntensityMap.channel),transmissionMapUv:Ye&&g(x.transmissionMap.channel),thicknessMapUv:nt&&g(x.thicknessMap.channel),alphaMapUv:yt&&g(x.alphaMap.channel),vertexTangents:!!$.attributes.tangent&&(oe||ge),vertexColors:x.vertexColors,vertexAlphas:x.vertexColors===!0&&!!$.attributes.color&&$.attributes.color.itemSize===4,vertexUv1s:Oe,vertexUv2s:He,vertexUv3s:lt,pointsUvs:te.isPoints===!0&&!!$.attributes.uv&&(we||yt),fog:!!k,useFog:x.fog===!0,fogExp2:k&&k.isFogExp2,flatShading:x.flatShading===!0,sizeAttenuation:x.sizeAttenuation===!0,logarithmicDepthBuffer:h,skinning:te.isSkinnedMesh===!0,morphTargets:$.morphAttributes.position!==void 0,morphNormals:$.morphAttributes.normal!==void 0,morphColors:$.morphAttributes.color!==void 0,morphTargetsCount:me,morphTextureStride:Se,numDirLights:O.directional.length,numPointLights:O.point.length,numSpotLights:O.spot.length,numSpotLightMaps:O.spotLightMap.length,numRectAreaLights:O.rectArea.length,numHemiLights:O.hemi.length,numDirLightShadows:O.directionalShadowMap.length,numPointLightShadows:O.pointShadowMap.length,numSpotLightShadows:O.spotShadowMap.length,numSpotLightShadowsWithMaps:O.numSpotLightShadowsWithMaps,numLightProbes:O.numLightProbes,numClippingPlanes:o.numPlanes,numClipIntersection:o.numIntersection,dithering:x.dithering,shadowMapEnabled:n.shadowMap.enabled&&B.length>0,shadowMapType:n.shadowMap.type,toneMapping:Nt,useLegacyLights:n._useLegacyLights,decodeVideoTexture:we&&x.map.isVideoTexture===!0&&Ft.getTransfer(x.map.colorSpace)===Xt,premultipliedAlpha:x.premultipliedAlpha,doubleSided:x.side===ri,flipSided:x.side===Kn,useDepthPacking:x.depthPacking>=0,depthPacking:x.depthPacking||0,index0AttributeName:x.index0AttributeName,extensionDerivatives:Ve&&x.extensions.derivatives===!0,extensionFragDepth:Ve&&x.extensions.fragDepth===!0,extensionDrawBuffers:Ve&&x.extensions.drawBuffers===!0,extensionShaderTextureLOD:Ve&&x.extensions.shaderTextureLOD===!0,rendererExtensionFragDepth:u||s.has("EXT_frag_depth"),rendererExtensionDrawBuffers:u||s.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:u||s.has("EXT_shader_texture_lod"),rendererExtensionParallelShaderCompile:s.has("KHR_parallel_shader_compile"),customProgramCacheKey:x.customProgramCacheKey()}}function E(x){const O=[];if(x.shaderID?O.push(x.shaderID):(O.push(x.customVertexShaderID),O.push(x.customFragmentShaderID)),x.defines!==void 0)for(const B in x.defines)O.push(B),O.push(x.defines[B]);return x.isRawShaderMaterial===!1&&(y(O,x),v(O,x),O.push(n.outputColorSpace)),O.push(x.customProgramCacheKey),O.join()}function y(x,O){x.push(O.precision),x.push(O.outputColorSpace),x.push(O.envMapMode),x.push(O.envMapCubeUVHeight),x.push(O.mapUv),x.push(O.alphaMapUv),x.push(O.lightMapUv),x.push(O.aoMapUv),x.push(O.bumpMapUv),x.push(O.normalMapUv),x.push(O.displacementMapUv),x.push(O.emissiveMapUv),x.push(O.metalnessMapUv),x.push(O.roughnessMapUv),x.push(O.anisotropyMapUv),x.push(O.clearcoatMapUv),x.push(O.clearcoatNormalMapUv),x.push(O.clearcoatRoughnessMapUv),x.push(O.iridescenceMapUv),x.push(O.iridescenceThicknessMapUv),x.push(O.sheenColorMapUv),x.push(O.sheenRoughnessMapUv),x.push(O.specularMapUv),x.push(O.specularColorMapUv),x.push(O.specularIntensityMapUv),x.push(O.transmissionMapUv),x.push(O.thicknessMapUv),x.push(O.combine),x.push(O.fogExp2),x.push(O.sizeAttenuation),x.push(O.morphTargetsCount),x.push(O.morphAttributeCount),x.push(O.numDirLights),x.push(O.numPointLights),x.push(O.numSpotLights),x.push(O.numSpotLightMaps),x.push(O.numHemiLights),x.push(O.numRectAreaLights),x.push(O.numDirLightShadows),x.push(O.numPointLightShadows),x.push(O.numSpotLightShadows),x.push(O.numSpotLightShadowsWithMaps),x.push(O.numLightProbes),x.push(O.shadowMapType),x.push(O.toneMapping),x.push(O.numClippingPlanes),x.push(O.numClipIntersection),x.push(O.depthPacking)}function v(x,O){a.disableAll(),O.isWebGL2&&a.enable(0),O.supportsVertexTextures&&a.enable(1),O.instancing&&a.enable(2),O.instancingColor&&a.enable(3),O.matcap&&a.enable(4),O.envMap&&a.enable(5),O.normalMapObjectSpace&&a.enable(6),O.normalMapTangentSpace&&a.enable(7),O.clearcoat&&a.enable(8),O.iridescence&&a.enable(9),O.alphaTest&&a.enable(10),O.vertexColors&&a.enable(11),O.vertexAlphas&&a.enable(12),O.vertexUv1s&&a.enable(13),O.vertexUv2s&&a.enable(14),O.vertexUv3s&&a.enable(15),O.vertexTangents&&a.enable(16),O.anisotropy&&a.enable(17),O.alphaHash&&a.enable(18),O.batching&&a.enable(19),x.push(a.mask),a.disableAll(),O.fog&&a.enable(0),O.useFog&&a.enable(1),O.flatShading&&a.enable(2),O.logarithmicDepthBuffer&&a.enable(3),O.skinning&&a.enable(4),O.morphTargets&&a.enable(5),O.morphNormals&&a.enable(6),O.morphColors&&a.enable(7),O.premultipliedAlpha&&a.enable(8),O.shadowMapEnabled&&a.enable(9),O.useLegacyLights&&a.enable(10),O.doubleSided&&a.enable(11),O.flipSided&&a.enable(12),O.useDepthPacking&&a.enable(13),O.dithering&&a.enable(14),O.transmission&&a.enable(15),O.sheen&&a.enable(16),O.opaque&&a.enable(17),O.pointsUvs&&a.enable(18),O.decodeVideoTexture&&a.enable(19),x.push(a.mask)}function S(x){const O=_[x.type];let B;if(O){const H=si[O];B=Q2t.clone(H.uniforms)}else B=x.uniforms;return B}function R(x,O){let B;for(let H=0,te=d.length;H0?s.push(E):m.transparent===!0?i.push(E):t.push(E)}function c(h,f,m,_,g,b){const E=o(h,f,m,_,g,b);m.transmission>0?s.unshift(E):m.transparent===!0?i.unshift(E):t.unshift(E)}function d(h,f){t.length>1&&t.sort(h||fkt),s.length>1&&s.sort(f||yw),i.length>1&&i.sort(f||yw)}function u(){for(let h=e,f=n.length;h=r.length?(o=new vw,r.push(o)):o=r[i],o}function t(){n=new WeakMap}return{get:e,dispose:t}}function gkt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={direction:new ae,color:new _t};break;case"SpotLight":t={position:new ae,direction:new ae,color:new _t,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":t={position:new ae,color:new _t,distance:0,decay:0};break;case"HemisphereLight":t={direction:new ae,skyColor:new _t,groundColor:new _t};break;case"RectAreaLight":t={color:new _t,position:new ae,halfWidth:new ae,halfHeight:new ae};break}return n[e.id]=t,t}}}function bkt(){const n={};return{get:function(e){if(n[e.id]!==void 0)return n[e.id];let t;switch(e.type){case"DirectionalLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new At};break;case"SpotLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new At};break;case"PointLight":t={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new At,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[e.id]=t,t}}}let Ekt=0;function ykt(n,e){return(e.castShadow?2:0)-(n.castShadow?2:0)+(e.map?1:0)-(n.map?1:0)}function vkt(n,e){const t=new gkt,s=bkt(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let u=0;u<9;u++)i.probe.push(new ae);const r=new ae,o=new xt,a=new xt;function c(u,h){let f=0,m=0,_=0;for(let H=0;H<9;H++)i.probe[H].set(0,0,0);let g=0,b=0,E=0,y=0,v=0,S=0,R=0,w=0,A=0,M=0,x=0;u.sort(ykt);const O=h===!0?Math.PI:1;for(let H=0,te=u.length;H0&&(e.isWebGL2||n.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=We.LTC_FLOAT_1,i.rectAreaLTC2=We.LTC_FLOAT_2):n.has("OES_texture_half_float_linear")===!0?(i.rectAreaLTC1=We.LTC_HALF_1,i.rectAreaLTC2=We.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=f,i.ambient[1]=m,i.ambient[2]=_;const B=i.hash;(B.directionalLength!==g||B.pointLength!==b||B.spotLength!==E||B.rectAreaLength!==y||B.hemiLength!==v||B.numDirectionalShadows!==S||B.numPointShadows!==R||B.numSpotShadows!==w||B.numSpotMaps!==A||B.numLightProbes!==x)&&(i.directional.length=g,i.spot.length=E,i.rectArea.length=y,i.point.length=b,i.hemi.length=v,i.directionalShadow.length=S,i.directionalShadowMap.length=S,i.pointShadow.length=R,i.pointShadowMap.length=R,i.spotShadow.length=w,i.spotShadowMap.length=w,i.directionalShadowMatrix.length=S,i.pointShadowMatrix.length=R,i.spotLightMatrix.length=w+A-M,i.spotLightMap.length=A,i.numSpotLightShadowsWithMaps=M,i.numLightProbes=x,B.directionalLength=g,B.pointLength=b,B.spotLength=E,B.rectAreaLength=y,B.hemiLength=v,B.numDirectionalShadows=S,B.numPointShadows=R,B.numSpotShadows=w,B.numSpotMaps=A,B.numLightProbes=x,i.version=Ekt++)}function d(u,h){let f=0,m=0,_=0,g=0,b=0;const E=h.matrixWorldInverse;for(let y=0,v=u.length;y=a.length?(c=new Sw(n,e),a.push(c)):c=a[o],c}function i(){t=new WeakMap}return{get:s,dispose:i}}class Tkt extends Ws{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=a2t,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class xkt extends Ws{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const Ckt=`void main() { gl_Position = vec4( position, 1.0 ); -}`,Bkt=`uniform sampler2D shadow_pass; +}`,wkt=`uniform sampler2D shadow_pass; uniform vec2 resolution; uniform float radius; #include @@ -3972,14 +3898,14 @@ void main() { squared_mean = squared_mean / samples; float std_dev = sqrt( squared_mean - mean * mean ); gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); -}`;function Gkt(n,e,t){let s=new fy;const i=new At,r=new At,o=new Wt,a=new Pkt({depthPacking:v2t}),c=new Fkt,d={},u=t.maxTextureSize,h={[Vi]:Kn,[Kn]:Vi,[ri]:ri},f=new po({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new At},radius:{value:4}},vertexShader:Ukt,fragmentShader:Bkt}),m=f.clone();m.defines.HORIZONTAL_PASS=1;const _=new Ei;_.setAttribute("position",new zn(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const g=new Vn(_,f),b=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=nO;let E=this.type;this.render=function(R,w,A){if(b.enabled===!1||b.autoUpdate===!1&&b.needsUpdate===!1||R.length===0)return;const I=n.getRenderTarget(),C=n.getActiveCubeFace(),O=n.getActiveMipmapLevel(),B=n.state;B.setBlending(gr),B.buffers.color.setClear(1,1,1,1),B.buffers.depth.setTest(!0),B.setScissorTest(!1);const H=E!==Mi&&this.type===Mi,te=E===Mi&&this.type!==Mi;for(let k=0,$=R.length;k<$;k++){const q=R[k],F=q.shadow;if(F===void 0){console.warn("THREE.WebGLShadowMap:",q,"has no shadow.");continue}if(F.autoUpdate===!1&&F.needsUpdate===!1)continue;i.copy(F.mapSize);const W=F.getFrameExtents();if(i.multiply(W),r.copy(F.mapSize),(i.x>u||i.y>u)&&(i.x>u&&(r.x=Math.floor(u/W.x),i.x=r.x*W.x,F.mapSize.x=r.x),i.y>u&&(r.y=Math.floor(u/W.y),i.y=r.y*W.y,F.mapSize.y=r.y)),F.map===null||H===!0||te===!0){const le=this.type!==Mi?{minFilter:yn,magFilter:yn}:{};F.map!==null&&F.map.dispose(),F.map=new uo(i.x,i.y,le),F.map.texture.name=q.name+".shadowMap",F.camera.updateProjectionMatrix()}n.setRenderTarget(F.map),n.clear();const ne=F.getViewportCount();for(let le=0;le0||w.map&&w.alphaTest>0){const B=C.uuid,H=w.uuid;let te=d[B];te===void 0&&(te={},d[B]=te);let k=te[H];k===void 0&&(k=C.clone(),te[H]=k),C=k}if(C.visible=w.visible,C.wireframe=w.wireframe,I===Mi?C.side=w.shadowSide!==null?w.shadowSide:w.side:C.side=w.shadowSide!==null?w.shadowSide:h[w.side],C.alphaMap=w.alphaMap,C.alphaTest=w.alphaTest,C.map=w.map,C.clipShadows=w.clipShadows,C.clippingPlanes=w.clippingPlanes,C.clipIntersection=w.clipIntersection,C.displacementMap=w.displacementMap,C.displacementScale=w.displacementScale,C.displacementBias=w.displacementBias,C.wireframeLinewidth=w.wireframeLinewidth,C.linewidth=w.linewidth,A.isPointLight===!0&&C.isMeshDistanceMaterial===!0){const B=n.properties.get(C);B.light=A}return C}function S(R,w,A,I,C){if(R.visible===!1)return;if(R.layers.test(w.layers)&&(R.isMesh||R.isLine||R.isPoints)&&(R.castShadow||R.receiveShadow&&C===Mi)&&(!R.frustumCulled||s.intersectsObject(R))){R.modelViewMatrix.multiplyMatrices(A.matrixWorldInverse,R.matrixWorld);const H=e.update(R),te=R.material;if(Array.isArray(te)){const k=H.groups;for(let $=0,q=k.length;$=1):le.indexOf("OpenGL ES")!==-1&&(ne=parseFloat(/^OpenGL ES (\d)/.exec(le)[1]),W=ne>=2);let me=null,Se={};const de=n.getParameter(n.SCISSOR_BOX),Ee=n.getParameter(n.VIEWPORT),Me=new Wt().fromArray(de),ke=new Wt().fromArray(Ee);function Z(ee,Qe,Ve,Oe){const He=new Uint8Array(4),lt=n.createTexture();n.bindTexture(ee,lt),n.texParameteri(ee,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(ee,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let Nt=0;Nt"u"?!1:/OculusBrowser/g.test(navigator.userAgent),_=new WeakMap;let g;const b=new WeakMap;let E=!1;try{E=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function y(L,M){return E?new OffscreenCanvas(L,M):ic("canvas")}function v(L,M,Q,ye){let X=1;if((L.width>ye||L.height>ye)&&(X=ye/Math.max(L.width,L.height)),X<1||M===!0)if(typeof HTMLImageElement<"u"&&L instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&L instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&L instanceof ImageBitmap){const se=M?Tu:Math.floor,Ae=se(X*L.width),Ce=se(X*L.height);g===void 0&&(g=y(Ae,Ce));const Ue=Q?y(Ae,Ce):g;return Ue.width=Ae,Ue.height=Ce,Ue.getContext("2d").drawImage(L,0,0,Ae,Ce),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+L.width+"x"+L.height+") to ("+Ae+"x"+Ce+")."),Ue}else return"data"in L&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+L.width+"x"+L.height+")."),L;return L}function S(L){return Sb(L.width)&&Sb(L.height)}function R(L){return a?!1:L.wrapS!==fs||L.wrapT!==fs||L.minFilter!==yn&&L.minFilter!==$n}function w(L,M){return L.generateMipmaps&&M&&L.minFilter!==yn&&L.minFilter!==$n}function A(L){n.generateMipmap(L)}function I(L,M,Q,ye,X=!1){if(a===!1)return M;if(L!==null){if(n[L]!==void 0)return n[L];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+L+"'")}let se=M;if(M===n.RED&&(Q===n.FLOAT&&(se=n.R32F),Q===n.HALF_FLOAT&&(se=n.R16F),Q===n.UNSIGNED_BYTE&&(se=n.R8)),M===n.RED_INTEGER&&(Q===n.UNSIGNED_BYTE&&(se=n.R8UI),Q===n.UNSIGNED_SHORT&&(se=n.R16UI),Q===n.UNSIGNED_INT&&(se=n.R32UI),Q===n.BYTE&&(se=n.R8I),Q===n.SHORT&&(se=n.R16I),Q===n.INT&&(se=n.R32I)),M===n.RG&&(Q===n.FLOAT&&(se=n.RG32F),Q===n.HALF_FLOAT&&(se=n.RG16F),Q===n.UNSIGNED_BYTE&&(se=n.RG8)),M===n.RGBA){const Ae=X?Eu:Ft.getTransfer(ye);Q===n.FLOAT&&(se=n.RGBA32F),Q===n.HALF_FLOAT&&(se=n.RGBA16F),Q===n.UNSIGNED_BYTE&&(se=Ae===Xt?n.SRGB8_ALPHA8:n.RGBA8),Q===n.UNSIGNED_SHORT_4_4_4_4&&(se=n.RGBA4),Q===n.UNSIGNED_SHORT_5_5_5_1&&(se=n.RGB5_A1)}return(se===n.R16F||se===n.R32F||se===n.RG16F||se===n.RG32F||se===n.RGBA16F||se===n.RGBA32F)&&e.get("EXT_color_buffer_float"),se}function C(L,M,Q){return w(L,Q)===!0||L.isFramebufferTexture&&L.minFilter!==yn&&L.minFilter!==$n?Math.log2(Math.max(M.width,M.height))+1:L.mipmaps!==void 0&&L.mipmaps.length>0?L.mipmaps.length:L.isCompressedTexture&&Array.isArray(L.image)?M.mipmaps.length:1}function O(L){return L===yn||L===bb||L===Vd?n.NEAREST:n.LINEAR}function B(L){const M=L.target;M.removeEventListener("dispose",B),te(M),M.isVideoTexture&&_.delete(M)}function H(L){const M=L.target;M.removeEventListener("dispose",H),$(M)}function te(L){const M=s.get(L);if(M.__webglInit===void 0)return;const Q=L.source,ye=b.get(Q);if(ye){const X=ye[M.__cacheKey];X.usedTimes--,X.usedTimes===0&&k(L),Object.keys(ye).length===0&&b.delete(Q)}s.remove(L)}function k(L){const M=s.get(L);n.deleteTexture(M.__webglTexture);const Q=L.source,ye=b.get(Q);delete ye[M.__cacheKey],o.memory.textures--}function $(L){const M=L.texture,Q=s.get(L),ye=s.get(M);if(ye.__webglTexture!==void 0&&(n.deleteTexture(ye.__webglTexture),o.memory.textures--),L.depthTexture&&L.depthTexture.dispose(),L.isWebGLCubeRenderTarget)for(let X=0;X<6;X++){if(Array.isArray(Q.__webglFramebuffer[X]))for(let se=0;se=c&&console.warn("THREE.WebGLTextures: Trying to use "+L+" texture units while this GPU supports only "+c),q+=1,L}function ne(L){const M=[];return M.push(L.wrapS),M.push(L.wrapT),M.push(L.wrapR||0),M.push(L.magFilter),M.push(L.minFilter),M.push(L.anisotropy),M.push(L.internalFormat),M.push(L.format),M.push(L.type),M.push(L.generateMipmaps),M.push(L.premultiplyAlpha),M.push(L.flipY),M.push(L.unpackAlignment),M.push(L.colorSpace),M.join()}function le(L,M){const Q=s.get(L);if(L.isVideoTexture&&ge(L),L.isRenderTargetTexture===!1&&L.version>0&&Q.__version!==L.version){const ye=L.image;if(ye===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(ye.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{_e(Q,L,M);return}}t.bindTexture(n.TEXTURE_2D,Q.__webglTexture,n.TEXTURE0+M)}function me(L,M){const Q=s.get(L);if(L.version>0&&Q.__version!==L.version){_e(Q,L,M);return}t.bindTexture(n.TEXTURE_2D_ARRAY,Q.__webglTexture,n.TEXTURE0+M)}function Se(L,M){const Q=s.get(L);if(L.version>0&&Q.__version!==L.version){_e(Q,L,M);return}t.bindTexture(n.TEXTURE_3D,Q.__webglTexture,n.TEXTURE0+M)}function de(L,M){const Q=s.get(L);if(L.version>0&&Q.__version!==L.version){we(Q,L,M);return}t.bindTexture(n.TEXTURE_CUBE_MAP,Q.__webglTexture,n.TEXTURE0+M)}const Ee={[ya]:n.REPEAT,[fs]:n.CLAMP_TO_EDGE,[bu]:n.MIRRORED_REPEAT},Me={[yn]:n.NEAREST,[bb]:n.NEAREST_MIPMAP_NEAREST,[Vd]:n.NEAREST_MIPMAP_LINEAR,[$n]:n.LINEAR,[iO]:n.LINEAR_MIPMAP_NEAREST,[co]:n.LINEAR_MIPMAP_LINEAR},ke={[T2t]:n.NEVER,[N2t]:n.ALWAYS,[x2t]:n.LESS,[hO]:n.LEQUAL,[C2t]:n.EQUAL,[A2t]:n.GEQUAL,[w2t]:n.GREATER,[R2t]:n.NOTEQUAL};function Z(L,M,Q){if(Q?(n.texParameteri(L,n.TEXTURE_WRAP_S,Ee[M.wrapS]),n.texParameteri(L,n.TEXTURE_WRAP_T,Ee[M.wrapT]),(L===n.TEXTURE_3D||L===n.TEXTURE_2D_ARRAY)&&n.texParameteri(L,n.TEXTURE_WRAP_R,Ee[M.wrapR]),n.texParameteri(L,n.TEXTURE_MAG_FILTER,Me[M.magFilter]),n.texParameteri(L,n.TEXTURE_MIN_FILTER,Me[M.minFilter])):(n.texParameteri(L,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(L,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(L===n.TEXTURE_3D||L===n.TEXTURE_2D_ARRAY)&&n.texParameteri(L,n.TEXTURE_WRAP_R,n.CLAMP_TO_EDGE),(M.wrapS!==fs||M.wrapT!==fs)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),n.texParameteri(L,n.TEXTURE_MAG_FILTER,O(M.magFilter)),n.texParameteri(L,n.TEXTURE_MIN_FILTER,O(M.minFilter)),M.minFilter!==yn&&M.minFilter!==$n&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),M.compareFunction&&(n.texParameteri(L,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(L,n.TEXTURE_COMPARE_FUNC,ke[M.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){const ye=e.get("EXT_texture_filter_anisotropic");if(M.magFilter===yn||M.minFilter!==Vd&&M.minFilter!==co||M.type===Di&&e.has("OES_texture_float_linear")===!1||a===!1&&M.type===nc&&e.has("OES_texture_half_float_linear")===!1)return;(M.anisotropy>1||s.get(M).__currentAnisotropy)&&(n.texParameterf(L,ye.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(M.anisotropy,i.getMaxAnisotropy())),s.get(M).__currentAnisotropy=M.anisotropy)}}function he(L,M){let Q=!1;L.__webglInit===void 0&&(L.__webglInit=!0,M.addEventListener("dispose",B));const ye=M.source;let X=b.get(ye);X===void 0&&(X={},b.set(ye,X));const se=ne(M);if(se!==L.__cacheKey){X[se]===void 0&&(X[se]={texture:n.createTexture(),usedTimes:0},o.memory.textures++,Q=!0),X[se].usedTimes++;const Ae=X[L.__cacheKey];Ae!==void 0&&(X[L.__cacheKey].usedTimes--,Ae.usedTimes===0&&k(M)),L.__cacheKey=se,L.__webglTexture=X[se].texture}return Q}function _e(L,M,Q){let ye=n.TEXTURE_2D;(M.isDataArrayTexture||M.isCompressedArrayTexture)&&(ye=n.TEXTURE_2D_ARRAY),M.isData3DTexture&&(ye=n.TEXTURE_3D);const X=he(L,M),se=M.source;t.bindTexture(ye,L.__webglTexture,n.TEXTURE0+Q);const Ae=s.get(se);if(se.version!==Ae.__version||X===!0){t.activeTexture(n.TEXTURE0+Q);const Ce=Ft.getPrimaries(Ft.workingColorSpace),Ue=M.colorSpace===gs?null:Ft.getPrimaries(M.colorSpace),Ze=M.colorSpace===gs||Ce===Ue?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,M.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,M.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,M.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Ze);const ft=R(M)&&S(M.image)===!1;let Be=v(M.image,ft,!1,u);Be=De(M,Be);const pt=S(Be)||a,st=r.convert(M.format,M.colorSpace);let Ye=r.convert(M.type),nt=I(M.internalFormat,st,Ye,M.colorSpace,M.isVideoTexture);Z(ye,M,pt);let je;const yt=M.mipmaps,ee=a&&M.isVideoTexture!==!0&&nt!==uO,Qe=Ae.__version===void 0||X===!0,Ve=C(M,Be,pt);if(M.isDepthTexture)nt=n.DEPTH_COMPONENT,a?M.type===Di?nt=n.DEPTH_COMPONENT32F:M.type===_r?nt=n.DEPTH_COMPONENT24:M.type===eo?nt=n.DEPTH24_STENCIL8:nt=n.DEPTH_COMPONENT16:M.type===Di&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),M.format===to&&nt===n.DEPTH_COMPONENT&&M.type!==uy&&M.type!==_r&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),M.type=_r,Ye=r.convert(M.type)),M.format===va&&nt===n.DEPTH_COMPONENT&&(nt=n.DEPTH_STENCIL,M.type!==eo&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),M.type=eo,Ye=r.convert(M.type))),Qe&&(ee?t.texStorage2D(n.TEXTURE_2D,1,nt,Be.width,Be.height):t.texImage2D(n.TEXTURE_2D,0,nt,Be.width,Be.height,0,st,Ye,null));else if(M.isDataTexture)if(yt.length>0&&pt){ee&&Qe&&t.texStorage2D(n.TEXTURE_2D,Ve,nt,yt[0].width,yt[0].height);for(let Oe=0,He=yt.length;Oe>=1,He>>=1}}else if(yt.length>0&&pt){ee&&Qe&&t.texStorage2D(n.TEXTURE_2D,Ve,nt,yt[0].width,yt[0].height);for(let Oe=0,He=yt.length;Oe0&&Qe++,t.texStorage2D(n.TEXTURE_CUBE_MAP,Qe,je,Be[0].width,Be[0].height));for(let Oe=0;Oe<6;Oe++)if(ft){yt?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Oe,0,0,0,Be[Oe].width,Be[Oe].height,Ye,nt,Be[Oe].data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Oe,0,je,Be[Oe].width,Be[Oe].height,0,Ye,nt,Be[Oe].data);for(let He=0;He>se),Be=Math.max(1,M.height>>se);X===n.TEXTURE_3D||X===n.TEXTURE_2D_ARRAY?t.texImage3D(X,se,Ue,ft,Be,M.depth,0,Ae,Ce,null):t.texImage2D(X,se,Ue,ft,Be,0,Ae,Ce,null)}t.bindFramebuffer(n.FRAMEBUFFER,L),Re(M)?f.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,ye,X,s.get(Q).__webglTexture,0,ie(M)):(X===n.TEXTURE_2D||X>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&X<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,ye,X,s.get(Q).__webglTexture,se),t.bindFramebuffer(n.FRAMEBUFFER,null)}function N(L,M,Q){if(n.bindRenderbuffer(n.RENDERBUFFER,L),M.depthBuffer&&!M.stencilBuffer){let ye=a===!0?n.DEPTH_COMPONENT24:n.DEPTH_COMPONENT16;if(Q||Re(M)){const X=M.depthTexture;X&&X.isDepthTexture&&(X.type===Di?ye=n.DEPTH_COMPONENT32F:X.type===_r&&(ye=n.DEPTH_COMPONENT24));const se=ie(M);Re(M)?f.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,se,ye,M.width,M.height):n.renderbufferStorageMultisample(n.RENDERBUFFER,se,ye,M.width,M.height)}else n.renderbufferStorage(n.RENDERBUFFER,ye,M.width,M.height);n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.RENDERBUFFER,L)}else if(M.depthBuffer&&M.stencilBuffer){const ye=ie(M);Q&&Re(M)===!1?n.renderbufferStorageMultisample(n.RENDERBUFFER,ye,n.DEPTH24_STENCIL8,M.width,M.height):Re(M)?f.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,ye,n.DEPTH24_STENCIL8,M.width,M.height):n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,M.width,M.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,L)}else{const ye=M.isWebGLMultipleRenderTargets===!0?M.texture:[M.texture];for(let X=0;X0){Q.__webglFramebuffer[Ce]=[];for(let Ue=0;Ue0){Q.__webglFramebuffer=[];for(let Ce=0;Ce0&&Re(L)===!1){const Ce=se?M:[M];Q.__webglMultisampledFramebuffer=n.createFramebuffer(),Q.__webglColorRenderbuffer=[],t.bindFramebuffer(n.FRAMEBUFFER,Q.__webglMultisampledFramebuffer);for(let Ue=0;Ue0)for(let Ue=0;Ue0)for(let Ue=0;Ue0&&Re(L)===!1){const M=L.isWebGLMultipleRenderTargets?L.texture:[L.texture],Q=L.width,ye=L.height;let X=n.COLOR_BUFFER_BIT;const se=[],Ae=L.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,Ce=s.get(L),Ue=L.isWebGLMultipleRenderTargets===!0;if(Ue)for(let Ze=0;Ze0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&M.__useRenderToTexture!==!1}function ge(L){const M=o.render.frame;_.get(L)!==M&&(_.set(L,M),L.update())}function De(L,M){const Q=L.colorSpace,ye=L.format,X=L.type;return L.isCompressedTexture===!0||L.isVideoTexture===!0||L.format===vb||Q!==Nn&&Q!==gs&&(Ft.getTransfer(Q)===Xt?a===!1?e.has("EXT_sRGB")===!0&&ye===ms?(L.format=vb,L.minFilter=$n,L.generateMipmaps=!1):M=mO.sRGBToLinear(M):(ye!==ms||X!==Er)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",Q)),M}this.allocateTextureUnit=W,this.resetTextureUnits=F,this.setTexture2D=le,this.setTexture2DArray=me,this.setTexture3D=Se,this.setTextureCube=de,this.rebindTextures=ce,this.setupRenderTarget=oe,this.updateRenderTargetMipmap=xe,this.updateMultisampleRenderTarget=Ne,this.setupDepthRenderbuffer=Y,this.setupFrameBufferTexture=Pe,this.useMultisampledRTT=Re}function Hkt(n,e,t){const s=t.isWebGL2;function i(r,o=gs){let a;const c=Ft.getTransfer(o);if(r===Er)return n.UNSIGNED_BYTE;if(r===oO)return n.UNSIGNED_SHORT_4_4_4_4;if(r===aO)return n.UNSIGNED_SHORT_5_5_5_1;if(r===d2t)return n.BYTE;if(r===u2t)return n.SHORT;if(r===uy)return n.UNSIGNED_SHORT;if(r===rO)return n.INT;if(r===_r)return n.UNSIGNED_INT;if(r===Di)return n.FLOAT;if(r===nc)return s?n.HALF_FLOAT:(a=e.get("OES_texture_half_float"),a!==null?a.HALF_FLOAT_OES:null);if(r===p2t)return n.ALPHA;if(r===ms)return n.RGBA;if(r===_2t)return n.LUMINANCE;if(r===h2t)return n.LUMINANCE_ALPHA;if(r===to)return n.DEPTH_COMPONENT;if(r===va)return n.DEPTH_STENCIL;if(r===vb)return a=e.get("EXT_sRGB"),a!==null?a.SRGB_ALPHA_EXT:null;if(r===f2t)return n.RED;if(r===lO)return n.RED_INTEGER;if(r===m2t)return n.RG;if(r===cO)return n.RG_INTEGER;if(r===dO)return n.RGBA_INTEGER;if(r===qm||r===$m||r===Ym||r===Wm)if(c===Xt)if(a=e.get("WEBGL_compressed_texture_s3tc_srgb"),a!==null){if(r===qm)return a.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(r===$m)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(r===Ym)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(r===Wm)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(a=e.get("WEBGL_compressed_texture_s3tc"),a!==null){if(r===qm)return a.COMPRESSED_RGB_S3TC_DXT1_EXT;if(r===$m)return a.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(r===Ym)return a.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(r===Wm)return a.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(r===lC||r===cC||r===dC||r===uC)if(a=e.get("WEBGL_compressed_texture_pvrtc"),a!==null){if(r===lC)return a.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(r===cC)return a.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(r===dC)return a.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(r===uC)return a.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(r===uO)return a=e.get("WEBGL_compressed_texture_etc1"),a!==null?a.COMPRESSED_RGB_ETC1_WEBGL:null;if(r===pC||r===_C)if(a=e.get("WEBGL_compressed_texture_etc"),a!==null){if(r===pC)return c===Xt?a.COMPRESSED_SRGB8_ETC2:a.COMPRESSED_RGB8_ETC2;if(r===_C)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:a.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(r===hC||r===fC||r===mC||r===gC||r===bC||r===EC||r===yC||r===vC||r===SC||r===TC||r===xC||r===CC||r===wC||r===RC)if(a=e.get("WEBGL_compressed_texture_astc"),a!==null){if(r===hC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:a.COMPRESSED_RGBA_ASTC_4x4_KHR;if(r===fC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:a.COMPRESSED_RGBA_ASTC_5x4_KHR;if(r===mC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:a.COMPRESSED_RGBA_ASTC_5x5_KHR;if(r===gC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:a.COMPRESSED_RGBA_ASTC_6x5_KHR;if(r===bC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:a.COMPRESSED_RGBA_ASTC_6x6_KHR;if(r===EC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:a.COMPRESSED_RGBA_ASTC_8x5_KHR;if(r===yC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:a.COMPRESSED_RGBA_ASTC_8x6_KHR;if(r===vC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:a.COMPRESSED_RGBA_ASTC_8x8_KHR;if(r===SC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:a.COMPRESSED_RGBA_ASTC_10x5_KHR;if(r===TC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:a.COMPRESSED_RGBA_ASTC_10x6_KHR;if(r===xC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:a.COMPRESSED_RGBA_ASTC_10x8_KHR;if(r===CC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:a.COMPRESSED_RGBA_ASTC_10x10_KHR;if(r===wC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:a.COMPRESSED_RGBA_ASTC_12x10_KHR;if(r===RC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:a.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(r===Km||r===AC||r===NC)if(a=e.get("EXT_texture_compression_bptc"),a!==null){if(r===Km)return c===Xt?a.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:a.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(r===AC)return a.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(r===NC)return a.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(r===g2t||r===OC||r===MC||r===IC)if(a=e.get("EXT_texture_compression_rgtc"),a!==null){if(r===Km)return a.COMPRESSED_RED_RGTC1_EXT;if(r===OC)return a.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(r===MC)return a.COMPRESSED_RED_GREEN_RGTC2_EXT;if(r===IC)return a.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return r===eo?s?n.UNSIGNED_INT_24_8:(a=e.get("WEBGL_depth_texture"),a!==null?a.UNSIGNED_INT_24_8_WEBGL:null):n[r]!==void 0?n[r]:null}return{convert:i}}class qkt extends Gn{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class jr extends nn{constructor(){super(),this.isGroup=!0,this.type="Group"}}const $kt={type:"move"};class bg{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new jr,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new jr,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ae,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ae),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new jr,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ae,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ae),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const s of e.hand.values())this._getHandJoint(t,s)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,s){let i=null,r=null,o=null;const a=this._targetRay,c=this._grip,d=this._hand;if(e&&t.session.visibilityState!=="visible-blurred"){if(d&&e.hand){o=!0;for(const g of e.hand.values()){const b=t.getJointPose(g,s),E=this._getHandJoint(d,g);b!==null&&(E.matrix.fromArray(b.transform.matrix),E.matrix.decompose(E.position,E.rotation,E.scale),E.matrixWorldNeedsUpdate=!0,E.jointRadius=b.radius),E.visible=b!==null}const u=d.joints["index-finger-tip"],h=d.joints["thumb-tip"],f=u.position.distanceTo(h.position),m=.02,_=.005;d.inputState.pinching&&f>m+_?(d.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!d.inputState.pinching&&f<=m-_&&(d.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else c!==null&&e.gripSpace&&(r=t.getPose(e.gripSpace,s),r!==null&&(c.matrix.fromArray(r.transform.matrix),c.matrix.decompose(c.position,c.rotation,c.scale),c.matrixWorldNeedsUpdate=!0,r.linearVelocity?(c.hasLinearVelocity=!0,c.linearVelocity.copy(r.linearVelocity)):c.hasLinearVelocity=!1,r.angularVelocity?(c.hasAngularVelocity=!0,c.angularVelocity.copy(r.angularVelocity)):c.hasAngularVelocity=!1));a!==null&&(i=t.getPose(e.targetRaySpace,s),i===null&&r!==null&&(i=r),i!==null&&(a.matrix.fromArray(i.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,i.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(i.linearVelocity)):a.hasLinearVelocity=!1,i.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(i.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent($kt)))}return a!==null&&(a.visible=i!==null),c!==null&&(c.visible=r!==null),d!==null&&(d.visible=o!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){const s=new jr;s.matrixAutoUpdate=!1,s.visible=!1,e.joints[t.jointName]=s,e.add(s)}return e.joints[t.jointName]}}class Ykt extends $a{constructor(e,t){super();const s=this;let i=null,r=1,o=null,a="local-floor",c=1,d=null,u=null,h=null,f=null,m=null,_=null;const g=t.getContextAttributes();let b=null,E=null;const y=[],v=[],S=new At;let R=null;const w=new Gn;w.layers.enable(1),w.viewport=new Wt;const A=new Gn;A.layers.enable(2),A.viewport=new Wt;const I=[w,A],C=new qkt;C.layers.enable(1),C.layers.enable(2);let O=null,B=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(de){let Ee=y[de];return Ee===void 0&&(Ee=new bg,y[de]=Ee),Ee.getTargetRaySpace()},this.getControllerGrip=function(de){let Ee=y[de];return Ee===void 0&&(Ee=new bg,y[de]=Ee),Ee.getGripSpace()},this.getHand=function(de){let Ee=y[de];return Ee===void 0&&(Ee=new bg,y[de]=Ee),Ee.getHandSpace()};function H(de){const Ee=v.indexOf(de.inputSource);if(Ee===-1)return;const Me=y[Ee];Me!==void 0&&(Me.update(de.inputSource,de.frame,d||o),Me.dispatchEvent({type:de.type,data:de.inputSource}))}function te(){i.removeEventListener("select",H),i.removeEventListener("selectstart",H),i.removeEventListener("selectend",H),i.removeEventListener("squeeze",H),i.removeEventListener("squeezestart",H),i.removeEventListener("squeezeend",H),i.removeEventListener("end",te),i.removeEventListener("inputsourceschange",k);for(let de=0;de=0&&(v[ke]=null,y[ke].disconnect(Me))}for(let Ee=0;Ee=v.length){v.push(Me),ke=he;break}else if(v[he]===null){v[he]=Me,ke=he;break}if(ke===-1)break}const Z=y[ke];Z&&Z.connect(Me)}}const $=new ae,q=new ae;function F(de,Ee,Me){$.setFromMatrixPosition(Ee.matrixWorld),q.setFromMatrixPosition(Me.matrixWorld);const ke=$.distanceTo(q),Z=Ee.projectionMatrix.elements,he=Me.projectionMatrix.elements,_e=Z[14]/(Z[10]-1),we=Z[14]/(Z[10]+1),Pe=(Z[9]+1)/Z[5],N=(Z[9]-1)/Z[5],z=(Z[8]-1)/Z[0],Y=(he[8]+1)/he[0],ce=_e*z,oe=_e*Y,xe=ke/(-z+Y),Ne=xe*-z;Ee.matrixWorld.decompose(de.position,de.quaternion,de.scale),de.translateX(Ne),de.translateZ(xe),de.matrixWorld.compose(de.position,de.quaternion,de.scale),de.matrixWorldInverse.copy(de.matrixWorld).invert();const ie=_e+xe,Re=we+xe,ge=ce-Ne,De=oe+(ke-Ne),L=Pe*we/Re*ie,M=N*we/Re*ie;de.projectionMatrix.makePerspective(ge,De,L,M,ie,Re),de.projectionMatrixInverse.copy(de.projectionMatrix).invert()}function W(de,Ee){Ee===null?de.matrixWorld.copy(de.matrix):de.matrixWorld.multiplyMatrices(Ee.matrixWorld,de.matrix),de.matrixWorldInverse.copy(de.matrixWorld).invert()}this.updateCamera=function(de){if(i===null)return;C.near=A.near=w.near=de.near,C.far=A.far=w.far=de.far,(O!==C.near||B!==C.far)&&(i.updateRenderState({depthNear:C.near,depthFar:C.far}),O=C.near,B=C.far);const Ee=de.parent,Me=C.cameras;W(C,Ee);for(let ke=0;ke0&&(b.alphaTest.value=E.alphaTest);const y=e.get(E).envMap;if(y&&(b.envMap.value=y,b.flipEnvMap.value=y.isCubeTexture&&y.isRenderTargetTexture===!1?-1:1,b.reflectivity.value=E.reflectivity,b.ior.value=E.ior,b.refractionRatio.value=E.refractionRatio),E.lightMap){b.lightMap.value=E.lightMap;const v=n._useLegacyLights===!0?Math.PI:1;b.lightMapIntensity.value=E.lightMapIntensity*v,t(E.lightMap,b.lightMapTransform)}E.aoMap&&(b.aoMap.value=E.aoMap,b.aoMapIntensity.value=E.aoMapIntensity,t(E.aoMap,b.aoMapTransform))}function o(b,E){b.diffuse.value.copy(E.color),b.opacity.value=E.opacity,E.map&&(b.map.value=E.map,t(E.map,b.mapTransform))}function a(b,E){b.dashSize.value=E.dashSize,b.totalSize.value=E.dashSize+E.gapSize,b.scale.value=E.scale}function c(b,E,y,v){b.diffuse.value.copy(E.color),b.opacity.value=E.opacity,b.size.value=E.size*y,b.scale.value=v*.5,E.map&&(b.map.value=E.map,t(E.map,b.uvTransform)),E.alphaMap&&(b.alphaMap.value=E.alphaMap,t(E.alphaMap,b.alphaMapTransform)),E.alphaTest>0&&(b.alphaTest.value=E.alphaTest)}function d(b,E){b.diffuse.value.copy(E.color),b.opacity.value=E.opacity,b.rotation.value=E.rotation,E.map&&(b.map.value=E.map,t(E.map,b.mapTransform)),E.alphaMap&&(b.alphaMap.value=E.alphaMap,t(E.alphaMap,b.alphaMapTransform)),E.alphaTest>0&&(b.alphaTest.value=E.alphaTest)}function u(b,E){b.specular.value.copy(E.specular),b.shininess.value=Math.max(E.shininess,1e-4)}function h(b,E){E.gradientMap&&(b.gradientMap.value=E.gradientMap)}function f(b,E){b.metalness.value=E.metalness,E.metalnessMap&&(b.metalnessMap.value=E.metalnessMap,t(E.metalnessMap,b.metalnessMapTransform)),b.roughness.value=E.roughness,E.roughnessMap&&(b.roughnessMap.value=E.roughnessMap,t(E.roughnessMap,b.roughnessMapTransform)),e.get(E).envMap&&(b.envMapIntensity.value=E.envMapIntensity)}function m(b,E,y){b.ior.value=E.ior,E.sheen>0&&(b.sheenColor.value.copy(E.sheenColor).multiplyScalar(E.sheen),b.sheenRoughness.value=E.sheenRoughness,E.sheenColorMap&&(b.sheenColorMap.value=E.sheenColorMap,t(E.sheenColorMap,b.sheenColorMapTransform)),E.sheenRoughnessMap&&(b.sheenRoughnessMap.value=E.sheenRoughnessMap,t(E.sheenRoughnessMap,b.sheenRoughnessMapTransform))),E.clearcoat>0&&(b.clearcoat.value=E.clearcoat,b.clearcoatRoughness.value=E.clearcoatRoughness,E.clearcoatMap&&(b.clearcoatMap.value=E.clearcoatMap,t(E.clearcoatMap,b.clearcoatMapTransform)),E.clearcoatRoughnessMap&&(b.clearcoatRoughnessMap.value=E.clearcoatRoughnessMap,t(E.clearcoatRoughnessMap,b.clearcoatRoughnessMapTransform)),E.clearcoatNormalMap&&(b.clearcoatNormalMap.value=E.clearcoatNormalMap,t(E.clearcoatNormalMap,b.clearcoatNormalMapTransform),b.clearcoatNormalScale.value.copy(E.clearcoatNormalScale),E.side===Kn&&b.clearcoatNormalScale.value.negate())),E.iridescence>0&&(b.iridescence.value=E.iridescence,b.iridescenceIOR.value=E.iridescenceIOR,b.iridescenceThicknessMinimum.value=E.iridescenceThicknessRange[0],b.iridescenceThicknessMaximum.value=E.iridescenceThicknessRange[1],E.iridescenceMap&&(b.iridescenceMap.value=E.iridescenceMap,t(E.iridescenceMap,b.iridescenceMapTransform)),E.iridescenceThicknessMap&&(b.iridescenceThicknessMap.value=E.iridescenceThicknessMap,t(E.iridescenceThicknessMap,b.iridescenceThicknessMapTransform))),E.transmission>0&&(b.transmission.value=E.transmission,b.transmissionSamplerMap.value=y.texture,b.transmissionSamplerSize.value.set(y.width,y.height),E.transmissionMap&&(b.transmissionMap.value=E.transmissionMap,t(E.transmissionMap,b.transmissionMapTransform)),b.thickness.value=E.thickness,E.thicknessMap&&(b.thicknessMap.value=E.thicknessMap,t(E.thicknessMap,b.thicknessMapTransform)),b.attenuationDistance.value=E.attenuationDistance,b.attenuationColor.value.copy(E.attenuationColor)),E.anisotropy>0&&(b.anisotropyVector.value.set(E.anisotropy*Math.cos(E.anisotropyRotation),E.anisotropy*Math.sin(E.anisotropyRotation)),E.anisotropyMap&&(b.anisotropyMap.value=E.anisotropyMap,t(E.anisotropyMap,b.anisotropyMapTransform))),b.specularIntensity.value=E.specularIntensity,b.specularColor.value.copy(E.specularColor),E.specularColorMap&&(b.specularColorMap.value=E.specularColorMap,t(E.specularColorMap,b.specularColorMapTransform)),E.specularIntensityMap&&(b.specularIntensityMap.value=E.specularIntensityMap,t(E.specularIntensityMap,b.specularIntensityMapTransform))}function _(b,E){E.matcap&&(b.matcap.value=E.matcap)}function g(b,E){const y=e.get(E).light;b.referencePosition.value.setFromMatrixPosition(y.matrixWorld),b.nearDistance.value=y.shadow.camera.near,b.farDistance.value=y.shadow.camera.far}return{refreshFogUniforms:s,refreshMaterialUniforms:i}}function Kkt(n,e,t,s){let i={},r={},o=[];const a=t.isWebGL2?n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS):0;function c(y,v){const S=v.program;s.uniformBlockBinding(y,S)}function d(y,v){let S=i[y.id];S===void 0&&(_(y),S=u(y),i[y.id]=S,y.addEventListener("dispose",b));const R=v.program;s.updateUBOMapping(y,R);const w=e.render.frame;r[y.id]!==w&&(f(y),r[y.id]=w)}function u(y){const v=h();y.__bindingPointIndex=v;const S=n.createBuffer(),R=y.__size,w=y.usage;return n.bindBuffer(n.UNIFORM_BUFFER,S),n.bufferData(n.UNIFORM_BUFFER,R,w),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,v,S),S}function h(){for(let y=0;y0){w=S%R;const H=R-w;w!==0&&H-O.boundary<0&&(S+=R-w,C.__offset=S)}S+=O.storage}return w=S%R,w>0&&(S+=R-w),y.__size=S,y.__cache={},this}function g(y){const v={boundary:0,storage:0};return typeof y=="number"?(v.boundary=4,v.storage=4):y.isVector2?(v.boundary=8,v.storage=8):y.isVector3||y.isColor?(v.boundary=16,v.storage=12):y.isVector4?(v.boundary=16,v.storage=16):y.isMatrix3?(v.boundary=48,v.storage=48):y.isMatrix4?(v.boundary=64,v.storage=64):y.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",y),v}function b(y){const v=y.target;v.removeEventListener("dispose",b);const S=o.indexOf(v.__bindingPointIndex);o.splice(S,1),n.deleteBuffer(i[v.id]),delete i[v.id],delete r[v.id]}function E(){for(const y in i)n.deleteBuffer(i[y]);o=[],i={},r={}}return{bind:c,update:d,dispose:E}}class kO{constructor(e={}){const{canvas:t=$2t(),context:s=null,depth:i=!0,stencil:r=!0,alpha:o=!1,antialias:a=!1,premultipliedAlpha:c=!0,preserveDrawingBuffer:d=!1,powerPreference:u="default",failIfMajorPerformanceCaveat:h=!1}=e;this.isWebGLRenderer=!0;let f;s!==null?f=s.getContextAttributes().alpha:f=o;const m=new Uint32Array(4),_=new Int32Array(4);let g=null,b=null;const E=[],y=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=rn,this._useLegacyLights=!1,this.toneMapping=br,this.toneMappingExposure=1;const v=this;let S=!1,R=0,w=0,A=null,I=-1,C=null;const O=new Wt,B=new Wt;let H=null;const te=new _t(0);let k=0,$=t.width,q=t.height,F=1,W=null,ne=null;const le=new Wt(0,0,$,q),me=new Wt(0,0,$,q);let Se=!1;const de=new fy;let Ee=!1,Me=!1,ke=null;const Z=new xt,he=new At,_e=new ae,we={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Pe(){return A===null?F:1}let N=s;function z(U,ue){for(let be=0;be{function Xe(){if(ve.forEach(function(it){Ne.get(it).currentProgram.isReady()&&ve.delete(it)}),ve.size===0){fe(U);return}setTimeout(Xe,10)}Y.get("KHR_parallel_shader_compile")!==null?Xe():setTimeout(Xe,10)})};let Nt=null;function an(U){Nt&&Nt(U)}function Sn(){Tn.stop()}function Vt(){Tn.start()}const Tn=new wO;Tn.setAnimationLoop(an),typeof self<"u"&&Tn.setContext(self),this.setAnimationLoop=function(U){Nt=U,je.setAnimationLoop(U),U===null?Tn.stop():Tn.start()},je.addEventListener("sessionstart",Sn),je.addEventListener("sessionend",Vt),this.render=function(U,ue){if(ue!==void 0&&ue.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(S===!0)return;U.matrixWorldAutoUpdate===!0&&U.updateMatrixWorld(),ue.parent===null&&ue.matrixWorldAutoUpdate===!0&&ue.updateMatrixWorld(),je.enabled===!0&&je.isPresenting===!0&&(je.cameraAutoUpdate===!0&&je.updateCamera(ue),ue=je.getCamera()),U.isScene===!0&&U.onBeforeRender(v,U,ue,A),b=se.get(U,y.length),b.init(),y.push(b),Z.multiplyMatrices(ue.projectionMatrix,ue.matrixWorldInverse),de.setFromProjectionMatrix(Z),Me=this.localClippingEnabled,Ee=Ae.init(this.clippingPlanes,Me),g=X.get(U,E.length),g.init(),E.push(g),cs(U,ue,0,v.sortObjects),g.finish(),v.sortObjects===!0&&g.sort(W,ne),this.info.render.frame++,Ee===!0&&Ae.beginShadows();const be=b.state.shadowsArray;if(Ce.render(be,U,ue),Ee===!0&&Ae.endShadows(),this.info.autoReset===!0&&this.info.reset(),Ue.render(g,U),b.setupLights(v._useLegacyLights),ue.isArrayCamera){const ve=ue.cameras;for(let fe=0,Xe=ve.length;fe0?b=y[y.length-1]:b=null,E.pop(),E.length>0?g=E[E.length-1]:g=null};function cs(U,ue,be,ve){if(U.visible===!1)return;if(U.layers.test(ue.layers)){if(U.isGroup)be=U.renderOrder;else if(U.isLOD)U.autoUpdate===!0&&U.update(ue);else if(U.isLight)b.pushLight(U),U.castShadow&&b.pushShadow(U);else if(U.isSprite){if(!U.frustumCulled||de.intersectsSprite(U)){ve&&_e.setFromMatrixPosition(U.matrixWorld).applyMatrix4(Z);const it=M.update(U),at=U.material;at.visible&&g.push(U,it,at,be,_e.z,null)}}else if((U.isMesh||U.isLine||U.isPoints)&&(!U.frustumCulled||de.intersectsObject(U))){const it=M.update(U),at=U.material;if(ve&&(U.boundingSphere!==void 0?(U.boundingSphere===null&&U.computeBoundingSphere(),_e.copy(U.boundingSphere.center)):(it.boundingSphere===null&&it.computeBoundingSphere(),_e.copy(it.boundingSphere.center)),_e.applyMatrix4(U.matrixWorld).applyMatrix4(Z)),Array.isArray(at)){const ut=it.groups;for(let Et=0,ht=ut.length;Et0&&Rp(fe,Xe,ue,be),ve&&oe.viewport(O.copy(ve)),fe.length>0&&Eo(fe,ue,be),Xe.length>0&&Eo(Xe,ue,be),it.length>0&&Eo(it,ue,be),oe.buffers.depth.setTest(!0),oe.buffers.depth.setMask(!0),oe.buffers.color.setMask(!0),oe.setPolygonOffset(!1)}function Rp(U,ue,be,ve){if((be.isScene===!0?be.overrideMaterial:null)!==null)return;const Xe=ce.isWebGL2;ke===null&&(ke=new uo(1,1,{generateMipmaps:!0,type:Y.has("EXT_color_buffer_half_float")?nc:Er,minFilter:co,samples:Xe?4:0})),v.getDrawingBufferSize(he),Xe?ke.setSize(he.x,he.y):ke.setSize(Tu(he.x),Tu(he.y));const it=v.getRenderTarget();v.setRenderTarget(ke),v.getClearColor(te),k=v.getClearAlpha(),k<1&&v.setClearColor(16777215,.5),v.clear();const at=v.toneMapping;v.toneMapping=br,Eo(U,be,ve),ie.updateMultisampleRenderTarget(ke),ie.updateRenderTargetMipmap(ke);let ut=!1;for(let Et=0,ht=ue.length;Et0),mt=!!be.morphAttributes.position,tn=!!be.morphAttributes.normal,Pn=!!be.morphAttributes.color;let ln=br;ve.toneMapped&&(A===null||A.isXRRenderTarget===!0)&&(ln=v.toneMapping);const Is=be.morphAttributes.position||be.morphAttributes.normal||be.morphAttributes.color,Qt=Is!==void 0?Is.length:0,vt=Ne.get(ve),Xa=b.state.lights;if(Ee===!0&&(Me===!0||U!==C)){const Hn=U===C&&ve.id===I;Ae.setState(ve,U,Hn)}let Jt=!1;ve.version===vt.__version?(vt.needsLights&&vt.lightsStateVersion!==Xa.state.version||vt.outputColorSpace!==at||fe.isBatchedMesh&&vt.batching===!1||!fe.isBatchedMesh&&vt.batching===!0||fe.isInstancedMesh&&vt.instancing===!1||!fe.isInstancedMesh&&vt.instancing===!0||fe.isSkinnedMesh&&vt.skinning===!1||!fe.isSkinnedMesh&&vt.skinning===!0||fe.isInstancedMesh&&vt.instancingColor===!0&&fe.instanceColor===null||fe.isInstancedMesh&&vt.instancingColor===!1&&fe.instanceColor!==null||vt.envMap!==ut||ve.fog===!0&&vt.fog!==Xe||vt.numClippingPlanes!==void 0&&(vt.numClippingPlanes!==Ae.numPlanes||vt.numIntersection!==Ae.numIntersection)||vt.vertexAlphas!==Et||vt.vertexTangents!==ht||vt.morphTargets!==mt||vt.morphNormals!==tn||vt.morphColors!==Pn||vt.toneMapping!==ln||ce.isWebGL2===!0&&vt.morphTargetsCount!==Qt)&&(Jt=!0):(Jt=!0,vt.__version=ve.version);let vi=vt.currentProgram;Jt===!0&&(vi=yo(ve,ue,fe));let wc=!1,Rr=!1,Za=!1;const bn=vi.getUniforms(),Si=vt.uniforms;if(oe.useProgram(vi.program)&&(wc=!0,Rr=!0,Za=!0),ve.id!==I&&(I=ve.id,Rr=!0),wc||C!==U){bn.setValue(N,"projectionMatrix",U.projectionMatrix),bn.setValue(N,"viewMatrix",U.matrixWorldInverse);const Hn=bn.map.cameraPosition;Hn!==void 0&&Hn.setValue(N,_e.setFromMatrixPosition(U.matrixWorld)),ce.logarithmicDepthBuffer&&bn.setValue(N,"logDepthBufFC",2/(Math.log(U.far+1)/Math.LN2)),(ve.isMeshPhongMaterial||ve.isMeshToonMaterial||ve.isMeshLambertMaterial||ve.isMeshBasicMaterial||ve.isMeshStandardMaterial||ve.isShaderMaterial)&&bn.setValue(N,"isOrthographic",U.isOrthographicCamera===!0),C!==U&&(C=U,Rr=!0,Za=!0)}if(fe.isSkinnedMesh){bn.setOptional(N,fe,"bindMatrix"),bn.setOptional(N,fe,"bindMatrixInverse");const Hn=fe.skeleton;Hn&&(ce.floatVertexTextures?(Hn.boneTexture===null&&Hn.computeBoneTexture(),bn.setValue(N,"boneTexture",Hn.boneTexture,ie)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}fe.isBatchedMesh&&(bn.setOptional(N,fe,"batchingTexture"),bn.setValue(N,"batchingTexture",fe._matricesTexture,ie));const Ja=be.morphAttributes;if((Ja.position!==void 0||Ja.normal!==void 0||Ja.color!==void 0&&ce.isWebGL2===!0)&&Ze.update(fe,be,vi),(Rr||vt.receiveShadow!==fe.receiveShadow)&&(vt.receiveShadow=fe.receiveShadow,bn.setValue(N,"receiveShadow",fe.receiveShadow)),ve.isMeshGouraudMaterial&&ve.envMap!==null&&(Si.envMap.value=ut,Si.flipEnvMap.value=ut.isCubeTexture&&ut.isRenderTargetTexture===!1?-1:1),Rr&&(bn.setValue(N,"toneMappingExposure",v.toneMappingExposure),vt.needsLights&&Np(Si,Za),Xe&&ve.fog===!0&&ye.refreshFogUniforms(Si,Xe),ye.refreshMaterialUniforms(Si,ve,F,q,ke),zd.upload(N,xc(vt),Si,ie)),ve.isShaderMaterial&&ve.uniformsNeedUpdate===!0&&(zd.upload(N,xc(vt),Si,ie),ve.uniformsNeedUpdate=!1),ve.isSpriteMaterial&&bn.setValue(N,"center",fe.center),bn.setValue(N,"modelViewMatrix",fe.modelViewMatrix),bn.setValue(N,"normalMatrix",fe.normalMatrix),bn.setValue(N,"modelMatrix",fe.matrixWorld),ve.isShaderMaterial||ve.isRawShaderMaterial){const Hn=ve.uniformsGroups;for(let el=0,Mp=Hn.length;el0&&ie.useMultisampledRTT(U)===!1?fe=Ne.get(U).__webglMultisampledFramebuffer:Array.isArray(ht)?fe=ht[be]:fe=ht,O.copy(U.viewport),B.copy(U.scissor),H=U.scissorTest}else O.copy(le).multiplyScalar(F).floor(),B.copy(me).multiplyScalar(F).floor(),H=Se;if(oe.bindFramebuffer(N.FRAMEBUFFER,fe)&&ce.drawBuffers&&ve&&oe.drawBuffers(U,fe),oe.viewport(O),oe.scissor(B),oe.setScissorTest(H),Xe){const ut=Ne.get(U.texture);N.framebufferTexture2D(N.FRAMEBUFFER,N.COLOR_ATTACHMENT0,N.TEXTURE_CUBE_MAP_POSITIVE_X+ue,ut.__webglTexture,be)}else if(it){const ut=Ne.get(U.texture),Et=ue||0;N.framebufferTextureLayer(N.FRAMEBUFFER,N.COLOR_ATTACHMENT0,ut.__webglTexture,be||0,Et)}I=-1},this.readRenderTargetPixels=function(U,ue,be,ve,fe,Xe,it){if(!(U&&U.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let at=Ne.get(U).__webglFramebuffer;if(U.isWebGLCubeRenderTarget&&it!==void 0&&(at=at[it]),at){oe.bindFramebuffer(N.FRAMEBUFFER,at);try{const ut=U.texture,Et=ut.format,ht=ut.type;if(Et!==ms&&pt.convert(Et)!==N.getParameter(N.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const mt=ht===nc&&(Y.has("EXT_color_buffer_half_float")||ce.isWebGL2&&Y.has("EXT_color_buffer_float"));if(ht!==Er&&pt.convert(ht)!==N.getParameter(N.IMPLEMENTATION_COLOR_READ_TYPE)&&!(ht===Di&&(ce.isWebGL2||Y.has("OES_texture_float")||Y.has("WEBGL_color_buffer_float")))&&!mt){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}ue>=0&&ue<=U.width-ve&&be>=0&&be<=U.height-fe&&N.readPixels(ue,be,ve,fe,pt.convert(Et),pt.convert(ht),Xe)}finally{const ut=A!==null?Ne.get(A).__webglFramebuffer:null;oe.bindFramebuffer(N.FRAMEBUFFER,ut)}}},this.copyFramebufferToTexture=function(U,ue,be=0){const ve=Math.pow(2,-be),fe=Math.floor(ue.image.width*ve),Xe=Math.floor(ue.image.height*ve);ie.setTexture2D(ue,0),N.copyTexSubImage2D(N.TEXTURE_2D,be,0,0,U.x,U.y,fe,Xe),oe.unbindTexture()},this.copyTextureToTexture=function(U,ue,be,ve=0){const fe=ue.image.width,Xe=ue.image.height,it=pt.convert(be.format),at=pt.convert(be.type);ie.setTexture2D(be,0),N.pixelStorei(N.UNPACK_FLIP_Y_WEBGL,be.flipY),N.pixelStorei(N.UNPACK_PREMULTIPLY_ALPHA_WEBGL,be.premultiplyAlpha),N.pixelStorei(N.UNPACK_ALIGNMENT,be.unpackAlignment),ue.isDataTexture?N.texSubImage2D(N.TEXTURE_2D,ve,U.x,U.y,fe,Xe,it,at,ue.image.data):ue.isCompressedTexture?N.compressedTexSubImage2D(N.TEXTURE_2D,ve,U.x,U.y,ue.mipmaps[0].width,ue.mipmaps[0].height,it,ue.mipmaps[0].data):N.texSubImage2D(N.TEXTURE_2D,ve,U.x,U.y,it,at,ue.image),ve===0&&be.generateMipmaps&&N.generateMipmap(N.TEXTURE_2D),oe.unbindTexture()},this.copyTextureToTexture3D=function(U,ue,be,ve,fe=0){if(v.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const Xe=U.max.x-U.min.x+1,it=U.max.y-U.min.y+1,at=U.max.z-U.min.z+1,ut=pt.convert(ve.format),Et=pt.convert(ve.type);let ht;if(ve.isData3DTexture)ie.setTexture3D(ve,0),ht=N.TEXTURE_3D;else if(ve.isDataArrayTexture)ie.setTexture2DArray(ve,0),ht=N.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}N.pixelStorei(N.UNPACK_FLIP_Y_WEBGL,ve.flipY),N.pixelStorei(N.UNPACK_PREMULTIPLY_ALPHA_WEBGL,ve.premultiplyAlpha),N.pixelStorei(N.UNPACK_ALIGNMENT,ve.unpackAlignment);const mt=N.getParameter(N.UNPACK_ROW_LENGTH),tn=N.getParameter(N.UNPACK_IMAGE_HEIGHT),Pn=N.getParameter(N.UNPACK_SKIP_PIXELS),ln=N.getParameter(N.UNPACK_SKIP_ROWS),Is=N.getParameter(N.UNPACK_SKIP_IMAGES),Qt=be.isCompressedTexture?be.mipmaps[0]:be.image;N.pixelStorei(N.UNPACK_ROW_LENGTH,Qt.width),N.pixelStorei(N.UNPACK_IMAGE_HEIGHT,Qt.height),N.pixelStorei(N.UNPACK_SKIP_PIXELS,U.min.x),N.pixelStorei(N.UNPACK_SKIP_ROWS,U.min.y),N.pixelStorei(N.UNPACK_SKIP_IMAGES,U.min.z),be.isDataTexture||be.isData3DTexture?N.texSubImage3D(ht,fe,ue.x,ue.y,ue.z,Xe,it,at,ut,Et,Qt.data):be.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),N.compressedTexSubImage3D(ht,fe,ue.x,ue.y,ue.z,Xe,it,at,ut,Qt.data)):N.texSubImage3D(ht,fe,ue.x,ue.y,ue.z,Xe,it,at,ut,Et,Qt),N.pixelStorei(N.UNPACK_ROW_LENGTH,mt),N.pixelStorei(N.UNPACK_IMAGE_HEIGHT,tn),N.pixelStorei(N.UNPACK_SKIP_PIXELS,Pn),N.pixelStorei(N.UNPACK_SKIP_ROWS,ln),N.pixelStorei(N.UNPACK_SKIP_IMAGES,Is),fe===0&&ve.generateMipmaps&&N.generateMipmap(ht),oe.unbindTexture()},this.initTexture=function(U){U.isCubeTexture?ie.setTextureCube(U,0):U.isData3DTexture?ie.setTexture3D(U,0):U.isDataArrayTexture||U.isCompressedArrayTexture?ie.setTexture2DArray(U,0):ie.setTexture2D(U,0),oe.unbindTexture()},this.resetState=function(){R=0,w=0,A=null,oe.reset(),st.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return Li}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=e===_y?"display-p3":"srgb",t.unpackColorSpace=Ft.workingColorSpace===Ep?"display-p3":"srgb"}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(e){console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!e}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===rn?no:_O}set outputEncoding(e){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=e===no?rn:Nn}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(e){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=e}}class jkt extends kO{}jkt.prototype.isWebGL1Renderer=!0;class Qkt extends nn{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t}}class Xkt{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=yb,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=Ys()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return console.warn('THREE.InterleavedBuffer: "updateRange" is deprecated and removed in r169. Use "addUpdateRange()" instead.'),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,s){e*=this.stride,s*=t.stride;for(let i=0,r=this.stride;ic)continue;f.applyMatrix4(this.matrixWorld);const I=e.ray.origin.distanceTo(f);Ie.far||t.push({distance:I,point:h.clone().applyMatrix4(this.matrixWorld),index:v,face:null,faceIndex:null,object:this})}}else{const E=Math.max(0,o.start),y=Math.min(b.count,o.start+o.count);for(let v=E,S=y-1;vc)continue;f.applyMatrix4(this.matrixWorld);const w=e.ray.origin.distanceTo(f);we.far||t.push({distance:w,point:h.clone().applyMatrix4(this.matrixWorld),index:v,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,s=Object.keys(t);if(s.length>0){const i=t[s[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,o=i.length;r0){const i=t[s[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,o=i.length;ri.far)return;r.push({distance:d,distanceToRay:Math.sqrt(a),point:c,index:e,face:null,object:o})}}class Sy extends Ws{constructor(e){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new _t(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new _t(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=py,this.normalScale=new At(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class $i extends Sy{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new At(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return In(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new _t(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new _t(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new _t(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(e)}get anisotropy(){return this._anisotropy}set anisotropy(e){this._anisotropy>0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class Uw extends Ws{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new _t(16777215),this.specular=new _t(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new _t(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=py,this.normalScale=new At(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=dy,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}function Td(n,e,t){return!n||!t&&n.constructor===e?n:typeof e.BYTES_PER_ELEMENT=="number"?new e(n):Array.prototype.slice.call(n)}function aDt(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function lDt(n){function e(i,r){return n[i]-n[r]}const t=n.length,s=new Array(t);for(let i=0;i!==t;++i)s[i]=i;return s.sort(e),s}function Bw(n,e,t){const s=n.length,i=new n.constructor(s);for(let r=0,o=0;o!==s;++r){const a=t[r]*e;for(let c=0;c!==e;++c)i[o++]=n[a+c]}return i}function FO(n,e,t,s){let i=1,r=n[0];for(;r!==void 0&&r[s]===void 0;)r=n[i++];if(r===void 0)return;let o=r[s];if(o!==void 0)if(Array.isArray(o))do o=r[s],o!==void 0&&(e.push(r.time),t.push.apply(t,o)),r=n[i++];while(r!==void 0);else if(o.toArray!==void 0)do o=r[s],o!==void 0&&(e.push(r.time),o.toArray(t,t.length)),r=n[i++];while(r!==void 0);else do o=r[s],o!==void 0&&(e.push(r.time),t.push(o)),r=n[i++];while(r!==void 0)}class gc{constructor(e,t,s,i){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=i!==void 0?i:new t.constructor(s),this.sampleValues=t,this.valueSize=s,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let s=this._cachedIndex,i=t[s],r=t[s-1];e:{t:{let o;n:{s:if(!(e=r)){const a=t[1];e=r)break t}o=s,s=0;break n}break e}for(;s>>1;et;)--o;if(++o,r!==0||o!==i){r>=o&&(o=Math.max(o,1),r=o-1);const a=this.getValueSize();this.times=s.slice(r,o),this.values=this.values.slice(r*a,o*a)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const s=this.times,i=this.values,r=s.length;r===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==r;a++){const c=s[a];if(typeof c=="number"&&isNaN(c)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,c),e=!1;break}if(o!==null&&o>c){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,c,o),e=!1;break}o=c}if(i!==void 0&&aDt(i))for(let a=0,c=i.length;a!==c;++a){const d=i[a];if(isNaN(d)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,d),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),s=this.getValueSize(),i=this.getInterpolation()===jm,r=e.length-1;let o=1;for(let a=1;a0){e[o]=e[r];for(let a=r*s,c=o*s,d=0;d!==s;++d)t[c+d]=t[a+d];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*s)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),s=this.constructor,i=new s(this.name,e,t);return i.createInterpolant=this.createInterpolant,i}}yi.prototype.TimeBufferType=Float32Array;yi.prototype.ValueBufferType=Float32Array;yi.prototype.DefaultInterpolation=Sa;class Wa extends yi{}Wa.prototype.ValueTypeName="bool";Wa.prototype.ValueBufferType=Array;Wa.prototype.DefaultInterpolation=sc;Wa.prototype.InterpolantFactoryMethodLinear=void 0;Wa.prototype.InterpolantFactoryMethodSmooth=void 0;class UO extends yi{}UO.prototype.ValueTypeName="color";class Ca extends yi{}Ca.prototype.ValueTypeName="number";class pDt extends gc{constructor(e,t,s,i){super(e,t,s,i)}interpolate_(e,t,s,i){const r=this.resultBuffer,o=this.sampleValues,a=this.valueSize,c=(s-t)/(i-t);let d=e*a;for(let u=d+a;d!==u;d+=4)wr.slerpFlat(r,0,o,d-a,o,d,c);return r}}class _o extends yi{InterpolantFactoryMethodLinear(e){return new pDt(this.times,this.values,this.getValueSize(),e)}}_o.prototype.ValueTypeName="quaternion";_o.prototype.DefaultInterpolation=Sa;_o.prototype.InterpolantFactoryMethodSmooth=void 0;class Ka extends yi{}Ka.prototype.ValueTypeName="string";Ka.prototype.ValueBufferType=Array;Ka.prototype.DefaultInterpolation=sc;Ka.prototype.InterpolantFactoryMethodLinear=void 0;Ka.prototype.InterpolantFactoryMethodSmooth=void 0;class wa extends yi{}wa.prototype.ValueTypeName="vector";class _Dt{constructor(e,t=-1,s,i=b2t){this.name=e,this.tracks=s,this.duration=t,this.blendMode=i,this.uuid=Ys(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],s=e.tracks,i=1/(e.fps||1);for(let o=0,a=s.length;o!==a;++o)t.push(fDt(s[o]).scale(i));const r=new this(e.name,e.duration,t,e.blendMode);return r.uuid=e.uuid,r}static toJSON(e){const t=[],s=e.tracks,i={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let r=0,o=s.length;r!==o;++r)t.push(yi.toJSON(s[r]));return i}static CreateFromMorphTargetSequence(e,t,s,i){const r=t.length,o=[];for(let a=0;a1){const h=u[1];let f=i[h];f||(i[h]=f=[]),f.push(d)}}const o=[];for(const a in i)o.push(this.CreateFromMorphTargetSequence(a,i[a],t,s));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const s=function(h,f,m,_,g){if(m.length!==0){const b=[],E=[];FO(m,b,E,_),b.length!==0&&g.push(new h(f,b,E))}},i=[],r=e.name||"default",o=e.fps||30,a=e.blendMode;let c=e.length||-1;const d=e.hierarchy||[];for(let h=0;h{t&&t(r),this.manager.itemEnd(e)},0),r;if(Ni[e]!==void 0){Ni[e].push({onLoad:t,onProgress:s,onError:i});return}Ni[e]=[],Ni[e].push({onLoad:t,onProgress:s,onError:i});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,c=this.responseType;fetch(o).then(d=>{if(d.status===200||d.status===0){if(d.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||d.body===void 0||d.body.getReader===void 0)return d;const u=Ni[e],h=d.body.getReader(),f=d.headers.get("Content-Length")||d.headers.get("X-File-Size"),m=f?parseInt(f):0,_=m!==0;let g=0;const b=new ReadableStream({start(E){y();function y(){h.read().then(({done:v,value:S})=>{if(v)E.close();else{g+=S.byteLength;const R=new ProgressEvent("progress",{lengthComputable:_,loaded:g,total:m});for(let w=0,A=u.length;w{switch(c){case"arraybuffer":return d.arrayBuffer();case"blob":return d.blob();case"document":return d.text().then(u=>new DOMParser().parseFromString(u,a));case"json":return d.json();default:if(a===void 0)return d.text();{const h=/charset="?([^;"\s]*)"?/i.exec(a),f=h&&h[1]?h[1].toLowerCase():void 0,m=new TextDecoder(f);return d.arrayBuffer().then(_=>m.decode(_))}}}).then(d=>{Ra.add(e,d);const u=Ni[e];delete Ni[e];for(let h=0,f=u.length;h{const u=Ni[e];if(u===void 0)throw this.manager.itemError(e),d;delete Ni[e];for(let h=0,f=u.length;h{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class EDt extends ja{constructor(e){super(e)}load(e,t,s,i){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const r=this,o=Ra.get(e);if(o!==void 0)return r.manager.itemStart(e),setTimeout(function(){t&&t(o),r.manager.itemEnd(e)},0),o;const a=ic("img");function c(){u(),Ra.add(e,this),t&&t(this),r.manager.itemEnd(e)}function d(h){u(),i&&i(h),r.manager.itemError(e),r.manager.itemEnd(e)}function u(){a.removeEventListener("load",c,!1),a.removeEventListener("error",d,!1)}return a.addEventListener("load",c,!1),a.addEventListener("error",d,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),r.manager.itemStart(e),a.src=e,a}}class GO extends ja{constructor(e){super(e)}load(e,t,s,i){const r=new An,o=new EDt(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(e,function(a){r.image=a,r.needsUpdate=!0,t!==void 0&&t(r)},s,i),r}}class Tp extends nn{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new _t(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,this.groundColor!==void 0&&(t.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(t.object.distance=this.distance),this.angle!==void 0&&(t.object.angle=this.angle),this.decay!==void 0&&(t.object.decay=this.decay),this.penumbra!==void 0&&(t.object.penumbra=this.penumbra),this.shadow!==void 0&&(t.object.shadow=this.shadow.toJSON()),t}}const Sg=new xt,Gw=new ae,Vw=new ae;class Ty{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new At(512,512),this.map=null,this.mapPass=null,this.matrix=new xt,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new fy,this._frameExtents=new At(1,1),this._viewportCount=1,this._viewports=[new Wt(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,s=this.matrix;Gw.setFromMatrixPosition(e.matrixWorld),t.position.copy(Gw),Vw.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(Vw),t.updateMatrixWorld(),Sg.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Sg),s.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),s.multiply(Sg)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const e={};return this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class yDt extends Ty{constructor(){super(new Gn(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(e){const t=this.camera,s=Ta*2*e.angle*this.focus,i=this.mapSize.width/this.mapSize.height,r=e.distance||t.far;(s!==t.fov||i!==t.aspect||r!==t.far)&&(t.fov=s,t.aspect=i,t.far=r,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class vDt extends Tp{constructor(e,t,s=0,i=Math.PI/3,r=0,o=2){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(nn.DEFAULT_UP),this.updateMatrix(),this.target=new nn,this.distance=s,this.angle=i,this.penumbra=r,this.decay=o,this.map=null,this.shadow=new yDt}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const zw=new xt,_l=new ae,Tg=new ae;class SDt extends Ty{constructor(){super(new Gn(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new At(4,2),this._viewportCount=6,this._viewports=[new Wt(2,1,1,1),new Wt(0,1,1,1),new Wt(3,1,1,1),new Wt(1,1,1,1),new Wt(3,0,1,1),new Wt(1,0,1,1)],this._cubeDirections=[new ae(1,0,0),new ae(-1,0,0),new ae(0,0,1),new ae(0,0,-1),new ae(0,1,0),new ae(0,-1,0)],this._cubeUps=[new ae(0,1,0),new ae(0,1,0),new ae(0,1,0),new ae(0,1,0),new ae(0,0,1),new ae(0,0,-1)]}updateMatrices(e,t=0){const s=this.camera,i=this.matrix,r=e.distance||s.far;r!==s.far&&(s.far=r,s.updateProjectionMatrix()),_l.setFromMatrixPosition(e.matrixWorld),s.position.copy(_l),Tg.copy(s.position),Tg.add(this._cubeDirections[t]),s.up.copy(this._cubeUps[t]),s.lookAt(Tg),s.updateMatrixWorld(),i.makeTranslation(-_l.x,-_l.y,-_l.z),zw.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),this._frustum.setFromProjectionMatrix(zw)}}class TDt extends Tp{constructor(e,t,s=0,i=2){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=s,this.decay=i,this.shadow=new SDt}get power(){return this.intensity*4*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class xDt extends Ty{constructor(){super(new gy(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class VO extends Tp{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(nn.DEFAULT_UP),this.updateMatrix(),this.target=new nn,this.shadow=new xDt}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class CDt extends Tp{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type="AmbientLight"}}class Pl{static decodeText(e){if(typeof TextDecoder<"u")return new TextDecoder().decode(e);let t="";for(let s=0,i=e.length;s"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,s,i){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const r=this,o=Ra.get(e);if(o!==void 0)return r.manager.itemStart(e),setTimeout(function(){t&&t(o),r.manager.itemEnd(e)},0),o;const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then(function(c){return c.blob()}).then(function(c){return createImageBitmap(c,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(c){Ra.add(e,c),t&&t(c),r.manager.itemEnd(e)}).catch(function(c){i&&i(c),r.manager.itemError(e),r.manager.itemEnd(e)}),r.manager.itemStart(e)}}const xy="\\[\\]\\.:\\/",RDt=new RegExp("["+xy+"]","g"),Cy="[^"+xy+"]",ADt="[^"+xy.replace("\\.","")+"]",NDt=/((?:WC+[\/:])*)/.source.replace("WC",Cy),ODt=/(WCOD+)?/.source.replace("WCOD",ADt),MDt=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Cy),IDt=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Cy),kDt=new RegExp("^"+NDt+ODt+MDt+IDt+"$"),DDt=["material","materials","bones","map"];class LDt{constructor(e,t,s){const i=s||Bt.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,i)}getValue(e,t){this.bind();const s=this._targetGroup.nCachedObjects_,i=this._bindings[s];i!==void 0&&i.getValue(e,t)}setValue(e,t){const s=this._bindings;for(let i=this._targetGroup.nCachedObjects_,r=s.length;i!==r;++i)s[i].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,s=e.length;t!==s;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,s=e.length;t!==s;++t)e[t].unbind()}}class Bt{constructor(e,t,s){this.path=t,this.parsedPath=s||Bt.parseTrackName(t),this.node=Bt.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,s){return e&&e.isAnimationObjectGroup?new Bt.Composite(e,t,s):new Bt(e,t,s)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(RDt,"")}static parseTrackName(e){const t=kDt.exec(e);if(t===null)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const s={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},i=s.nodeName&&s.nodeName.lastIndexOf(".");if(i!==void 0&&i!==-1){const r=s.nodeName.substring(i+1);DDt.indexOf(r)!==-1&&(s.nodeName=s.nodeName.substring(0,i),s.objectName=r)}if(s.propertyName===null||s.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return s}static findNode(e,t){if(t===void 0||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){const s=e.skeleton.getBoneByName(t);if(s!==void 0)return s}if(e.children){const s=function(r){for(let o=0;o=2.0 are supported."));return}const d=new hLt(r,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});d.fileLoader.setRequestHeader(this.requestHeader);for(let u=0;u=0&&a[h]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+h+'".')}}d.setExtensions(o),d.setPlugins(a),d.parse(s,i)}parseAsync(e,t){const s=this;return new Promise(function(i,r){s.parse(e,t,i,r)})}}function FDt(){let n={};return{get:function(e){return n[e]},add:function(e,t){n[e]=t},remove:function(e){delete n[e]},removeAll:function(){n={}}}}const Rt={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class UDt{constructor(e){this.parser=e,this.name=Rt.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let s=0,i=t.length;s=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,r.source,o)}}class XDt{constructor(e){this.parser=e,this.name=Rt.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,s=this.parser,i=s.json,r=i.textures[e];if(!r.extensions||!r.extensions[t])return null;const o=r.extensions[t],a=i.images[o.source];let c=s.textureLoader;if(a.uri){const d=s.options.manager.getHandler(a.uri);d!==null&&(c=d)}return this.detectSupport().then(function(d){if(d)return s.loadTextureImage(e,o.source,c);if(i.extensionsRequired&&i.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return s.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class ZDt{constructor(e){this.parser=e,this.name=Rt.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){const t=this.name,s=this.parser,i=s.json,r=i.textures[e];if(!r.extensions||!r.extensions[t])return null;const o=r.extensions[t],a=i.images[o.source];let c=s.textureLoader;if(a.uri){const d=s.options.manager.getHandler(a.uri);d!==null&&(c=d)}return this.detectSupport().then(function(d){if(d)return s.loadTextureImage(e,o.source,c);if(i.extensionsRequired&&i.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return s.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class JDt{constructor(e){this.name=Rt.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,s=t.bufferViews[e];if(s.extensions&&s.extensions[this.name]){const i=s.extensions[this.name],r=this.parser.getDependency("buffer",i.buffer),o=this.parser.options.meshoptDecoder;if(!o||!o.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return r.then(function(a){const c=i.byteOffset||0,d=i.byteLength||0,u=i.count,h=i.byteStride,f=new Uint8Array(a,c,d);return o.decodeGltfBufferAsync?o.decodeGltfBufferAsync(u,h,f,i.mode,i.filter).then(function(m){return m.buffer}):o.ready.then(function(){const m=new ArrayBuffer(u*h);return o.decodeGltfBuffer(new Uint8Array(m),u,h,f,i.mode,i.filter),m})})}else return null}}class eLt{constructor(e){this.name=Rt.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){const t=this.parser.json,s=t.nodes[e];if(!s.extensions||!s.extensions[this.name]||s.mesh===void 0)return null;const i=t.meshes[s.mesh];for(const d of i.primitives)if(d.mode!==_s.TRIANGLES&&d.mode!==_s.TRIANGLE_STRIP&&d.mode!==_s.TRIANGLE_FAN&&d.mode!==void 0)return null;const o=s.extensions[this.name].attributes,a=[],c={};for(const d in o)a.push(this.parser.getDependency("accessor",o[d]).then(u=>(c[d]=u,c[d])));return a.length<1?null:(a.push(this.parser.createNodeMesh(e)),Promise.all(a).then(d=>{const u=d.pop(),h=u.isGroup?u.children:[u],f=d[0].count,m=[];for(const _ of h){const g=new xt,b=new ae,E=new wr,y=new ae(1,1,1),v=new sDt(_.geometry,_.material,f);for(let S=0;S0||n.search(/^data\:image\/jpeg/)===0?"image/jpeg":n.search(/\.webp($|\?)/i)>0||n.search(/^data\:image\/webp/)===0?"image/webp":"image/png"}const _Lt=new xt;class hLt{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new FDt,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let s=!1,i=!1,r=-1;typeof navigator<"u"&&(s=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===!0,i=navigator.userAgent.indexOf("Firefox")>-1,r=i?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),typeof createImageBitmap>"u"||s||i&&r<98?this.textureLoader=new GO(this.options.manager):this.textureLoader=new wDt(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new BO(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),this.options.crossOrigin==="use-credentials"&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const s=this,i=this.json,r=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(o){return o._markDefs&&o._markDefs()}),Promise.all(this._invokeAll(function(o){return o.beforeRoot&&o.beforeRoot()})).then(function(){return Promise.all([s.getDependencies("scene"),s.getDependencies("animation"),s.getDependencies("camera")])}).then(function(o){const a={scene:o[0][i.scene||0],scenes:o[0],animations:o[1],cameras:o[2],asset:i.asset,parser:s,userData:{}};return Pr(r,a,i),dr(a,i),Promise.all(s._invokeAll(function(c){return c.afterRoot&&c.afterRoot(a)})).then(function(){e(a)})}).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],s=this.json.meshes||[];for(let i=0,r=t.length;i{const c=this.associations.get(o);c!=null&&this.associations.set(a,c);for(const[d,u]of o.children.entries())r(u,a.children[d])};return r(s,i),i.name+="_instance_"+e.uses[t]++,i}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let s=0;s=2&&b.setY(C,w[A*c+1]),c>=3&&b.setZ(C,w[A*c+2]),c>=4&&b.setW(C,w[A*c+3]),c>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return b})}loadTexture(e){const t=this.json,s=this.options,r=t.textures[e].source,o=t.images[r];let a=this.textureLoader;if(o.uri){const c=s.manager.getHandler(o.uri);c!==null&&(a=c)}return this.loadTextureImage(e,r,a)}loadTextureImage(e,t,s){const i=this,r=this.json,o=r.textures[e],a=r.images[t],c=(a.uri||a.bufferView)+":"+o.sampler;if(this.textureCache[c])return this.textureCache[c];const d=this.loadImageSource(t,s).then(function(u){u.flipY=!1,u.name=o.name||a.name||"",u.name===""&&typeof a.uri=="string"&&a.uri.startsWith("data:image/")===!1&&(u.name=a.uri);const f=(r.samplers||{})[o.sampler]||{};return u.magFilter=$w[f.magFilter]||$n,u.minFilter=$w[f.minFilter]||co,u.wrapS=Yw[f.wrapS]||ya,u.wrapT=Yw[f.wrapT]||ya,i.associations.set(u,{textures:e}),u}).catch(function(){return null});return this.textureCache[c]=d,d}loadImageSource(e,t){const s=this,i=this.json,r=this.options;if(this.sourceCache[e]!==void 0)return this.sourceCache[e].then(h=>h.clone());const o=i.images[e],a=self.URL||self.webkitURL;let c=o.uri||"",d=!1;if(o.bufferView!==void 0)c=s.getDependency("bufferView",o.bufferView).then(function(h){d=!0;const f=new Blob([h],{type:o.mimeType});return c=a.createObjectURL(f),c});else if(o.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const u=Promise.resolve(c).then(function(h){return new Promise(function(f,m){let _=f;t.isImageBitmapLoader===!0&&(_=function(g){const b=new An(g);b.needsUpdate=!0,f(b)}),t.load(Pl.resolveURL(h,r.path),_,void 0,m)})}).then(function(h){return d===!0&&a.revokeObjectURL(c),h.userData.mimeType=o.mimeType||pLt(o.uri),h}).catch(function(h){throw console.error("THREE.GLTFLoader: Couldn't load texture",c),h});return this.sourceCache[e]=u,u}assignTexture(e,t,s,i){const r=this;return this.getDependency("texture",s.index).then(function(o){if(!o)return null;if(s.texCoord!==void 0&&s.texCoord>0&&(o=o.clone(),o.channel=s.texCoord),r.extensions[Rt.KHR_TEXTURE_TRANSFORM]){const a=s.extensions!==void 0?s.extensions[Rt.KHR_TEXTURE_TRANSFORM]:void 0;if(a){const c=r.associations.get(o);o=r.extensions[Rt.KHR_TEXTURE_TRANSFORM].extendTexture(o,a),r.associations.set(o,c)}}return i!==void 0&&(o.colorSpace=i),e[t]=o,o})}assignFinalMaterial(e){const t=e.geometry;let s=e.material;const i=t.attributes.tangent===void 0,r=t.attributes.color!==void 0,o=t.attributes.normal===void 0;if(e.isPoints){const a="PointsMaterial:"+s.uuid;let c=this.cache.get(a);c||(c=new PO,Ws.prototype.copy.call(c,s),c.color.copy(s.color),c.map=s.map,c.sizeAttenuation=!1,this.cache.add(a,c)),s=c}else if(e.isLine){const a="LineBasicMaterial:"+s.uuid;let c=this.cache.get(a);c||(c=new LO,Ws.prototype.copy.call(c,s),c.color.copy(s.color),c.map=s.map,this.cache.add(a,c)),s=c}if(i||r||o){let a="ClonedMaterial:"+s.uuid+":";i&&(a+="derivative-tangents:"),r&&(a+="vertex-colors:"),o&&(a+="flat-shading:");let c=this.cache.get(a);c||(c=s.clone(),r&&(c.vertexColors=!0),o&&(c.flatShading=!0),i&&(c.normalScale&&(c.normalScale.y*=-1),c.clearcoatNormalScale&&(c.clearcoatNormalScale.y*=-1)),this.cache.add(a,c),this.associations.set(c,this.associations.get(s))),s=c}e.material=s}getMaterialType(){return Sy}loadMaterial(e){const t=this,s=this.json,i=this.extensions,r=s.materials[e];let o;const a={},c=r.extensions||{},d=[];if(c[Rt.KHR_MATERIALS_UNLIT]){const h=i[Rt.KHR_MATERIALS_UNLIT];o=h.getMaterialType(),d.push(h.extendParams(a,r,t))}else{const h=r.pbrMetallicRoughness||{};if(a.color=new _t(1,1,1),a.opacity=1,Array.isArray(h.baseColorFactor)){const f=h.baseColorFactor;a.color.setRGB(f[0],f[1],f[2],Nn),a.opacity=f[3]}h.baseColorTexture!==void 0&&d.push(t.assignTexture(a,"map",h.baseColorTexture,rn)),a.metalness=h.metallicFactor!==void 0?h.metallicFactor:1,a.roughness=h.roughnessFactor!==void 0?h.roughnessFactor:1,h.metallicRoughnessTexture!==void 0&&(d.push(t.assignTexture(a,"metalnessMap",h.metallicRoughnessTexture)),d.push(t.assignTexture(a,"roughnessMap",h.metallicRoughnessTexture))),o=this._invokeOne(function(f){return f.getMaterialType&&f.getMaterialType(e)}),d.push(Promise.all(this._invokeAll(function(f){return f.extendMaterialParams&&f.extendMaterialParams(e,a)})))}r.doubleSided===!0&&(a.side=ri);const u=r.alphaMode||Cg.OPAQUE;if(u===Cg.BLEND?(a.transparent=!0,a.depthWrite=!1):(a.transparent=!1,u===Cg.MASK&&(a.alphaTest=r.alphaCutoff!==void 0?r.alphaCutoff:.5)),r.normalTexture!==void 0&&o!==hr&&(d.push(t.assignTexture(a,"normalMap",r.normalTexture)),a.normalScale=new At(1,1),r.normalTexture.scale!==void 0)){const h=r.normalTexture.scale;a.normalScale.set(h,h)}if(r.occlusionTexture!==void 0&&o!==hr&&(d.push(t.assignTexture(a,"aoMap",r.occlusionTexture)),r.occlusionTexture.strength!==void 0&&(a.aoMapIntensity=r.occlusionTexture.strength)),r.emissiveFactor!==void 0&&o!==hr){const h=r.emissiveFactor;a.emissive=new _t().setRGB(h[0],h[1],h[2],Nn)}return r.emissiveTexture!==void 0&&o!==hr&&d.push(t.assignTexture(a,"emissiveMap",r.emissiveTexture,rn)),Promise.all(d).then(function(){const h=new o(a);return r.name&&(h.name=r.name),dr(h,r),t.associations.set(h,{materials:e}),r.extensions&&Pr(i,h,r),h})}createUniqueName(e){const t=Bt.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){const t=this,s=this.extensions,i=this.primitiveCache;function r(a){return s[Rt.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(a,t).then(function(c){return Ww(c,a,t)})}const o=[];for(let a=0,c=e.length;a0&&dLt(E,r),E.name=t.createUniqueName(r.name||"mesh_"+e),dr(E,r),b.extensions&&Pr(i,E,b),t.assignFinalMaterial(E),h.push(E)}for(let m=0,_=h.length;m<_;m++)t.associations.set(h[m],{meshes:e,primitives:m});if(h.length===1)return r.extensions&&Pr(i,h[0],r),h[0];const f=new jr;r.extensions&&Pr(i,f,r),t.associations.set(f,{meshes:e});for(let m=0,_=h.length;m<_;m++)f.add(h[m]);return f})}loadCamera(e){let t;const s=this.json.cameras[e],i=s[s.type];if(!i){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}return s.type==="perspective"?t=new Gn(q2t.radToDeg(i.yfov),i.aspectRatio||1,i.znear||1,i.zfar||2e6):s.type==="orthographic"&&(t=new gy(-i.xmag,i.xmag,i.ymag,-i.ymag,i.znear,i.zfar)),s.name&&(t.name=this.createUniqueName(s.name)),dr(t,s),Promise.resolve(t)}loadSkin(e){const t=this.json.skins[e],s=[];for(let i=0,r=t.joints.length;i1?u=new jr:d.length===1?u=d[0]:u=new nn,u!==d[0])for(let h=0,f=d.length;h{const h=new Map;for(const[f,m]of i.associations)(f instanceof Ws||f instanceof An)&&h.set(f,m);return u.traverse(f=>{const m=i.associations.get(f);m!=null&&h.set(f,m)}),h};return i.associations=d(r),r})}_createAnimationTracks(e,t,s,i,r){const o=[],a=e.name?e.name:e.uuid,c=[];tr[r.path]===tr.weights?e.traverse(function(f){f.morphTargetInfluences&&c.push(f.name?f.name:f.uuid)}):c.push(a);let d;switch(tr[r.path]){case tr.weights:d=Ca;break;case tr.rotation:d=_o;break;case tr.position:case tr.scale:d=wa;break;default:switch(s.itemSize){case 1:d=Ca;break;case 2:case 3:default:d=wa;break}break}const u=i.interpolation!==void 0?aLt[i.interpolation]:Sa,h=this._getArrayFromAccessor(s);for(let f=0,m=c.length;f{ze.replace()})},stopVideoStream(){this.isVideoActive=!1,this.imageData=null,qe.emit("stop_webcam_video_stream"),Le(()=>{ze.replace()})},startDrag(n){this.isDragging=!0,this.zIndex=5001,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.stopDrag)},drag(n){if(this.isDragging){const e=n.clientX-this.dragStart.x,t=n.clientY-this.dragStart.y;this.position.bottom-=t,this.position.right-=e,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY}},stopDrag(){this.isDragging=!1,this.zIndex=0,document.removeEventListener("mousemove",this.drag),document.removeEventListener("mouseup",this.stopDrag)}},mounted(){ze.replace(),qe.on("video_stream_image",n=>{if(this.isVideoActive){this.imageDataUrl="data:image/jpeg;base64,"+n,this.frameCount++;const e=Date.now();e-this.lastFrameTime>=1e3&&(this.frameRate=this.frameCount,this.frameCount=0,this.lastFrameTime=e)}})}},gLt=["src"],bLt=["src"],ELt={class:"controls"},yLt=l("i",{"data-feather":"video"},null,-1),vLt=[yLt],SLt=l("i",{"data-feather":"video"},null,-1),TLt=[SLt],xLt={key:2};function CLt(n,e,t,s,i,r){return T(),x("div",{class:"floating-frame bg-white",style:Kt({bottom:i.position.bottom+"px",right:i.position.right+"px","z-index":i.zIndex}),onMousedown:e[4]||(e[4]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[5]||(e[5]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},[l("div",{class:"handle",onMousedown:e[0]||(e[0]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[1]||(e[1]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},"Drag Me",32),i.isVideoActive&&i.imageDataUrl!=null?(T(),x("img",{key:0,src:i.imageDataUrl,alt:"Webcam Frame",width:"300",height:"300"},null,8,gLt)):G("",!0),i.isVideoActive&&i.imageDataUrl==null?(T(),x("p",{key:1,src:i.imageDataUrl,alt:"Webcam Frame",width:"300",height:"300"},"Loading. Please wait...",8,bLt)):G("",!0),l("div",ELt,[i.isVideoActive?G("",!0):(T(),x("button",{key:0,class:"bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded",onClick:e[2]||(e[2]=(...o)=>r.startVideoStream&&r.startVideoStream(...o))},vLt)),i.isVideoActive?(T(),x("button",{key:1,class:"bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",onClick:e[3]||(e[3]=(...o)=>r.stopVideoStream&&r.stopVideoStream(...o))},TLt)):G("",!0),i.isVideoActive?(T(),x("span",xLt,"FPS: "+K(i.frameRate),1)):G("",!0)])],36)}const wLt=ot(mLt,[["render",CLt]]);const RLt={data(){return{isAudioActive:!1,imageDataUrl:null,isDragging:!1,position:{bottom:0,right:0},dragStart:{x:0,y:0},zIndex:0,frameRate:0,frameCount:0,lastFrameTime:Date.now()}},methods:{startAudioStream(){qe.emit("start_audio_stream",()=>{this.isAudioActive=!0}),Le(()=>{ze.replace()})},stopAudioStream(){qe.emit("stop_audio_stream",()=>{this.isAudioActive=!1,this.imageDataUrl=null}),Le(()=>{ze.replace()})},startDrag(n){this.isDragging=!0,this.zIndex=5001,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.stopDrag)},drag(n){if(this.isDragging){const e=n.clientX-this.dragStart.x,t=n.clientY-this.dragStart.y;this.position.bottom-=t,this.position.right-=e,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY}},stopDrag(){this.isDragging=!1,this.zIndex=0,document.removeEventListener("mousemove",this.drag),document.removeEventListener("mouseup",this.stopDrag)}},mounted(){ze.replace(),qe.on("update_spectrogram",n=>{if(this.isAudioActive){this.imageDataUrl="data:image/jpeg;base64,"+n,this.frameCount++;const e=Date.now();e-this.lastFrameTime>=1e3&&(this.frameRate=this.frameCount,this.frameCount=0,this.lastFrameTime=e)}})}},ALt=["src"],NLt={class:"controls"},OLt=l("i",{"data-feather":"mic"},null,-1),MLt=[OLt],ILt=l("i",{"data-feather":"mic"},null,-1),kLt=[ILt];function DLt(n,e,t,s,i,r){return T(),x("div",{class:"floating-frame bg-white",style:Kt({bottom:i.position.bottom+"px",right:i.position.right+"px","z-index":i.zIndex}),onMousedown:e[4]||(e[4]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[5]||(e[5]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},[l("div",{class:"handle",onMousedown:e[0]||(e[0]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[1]||(e[1]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},"Drag Me",32),i.isAudioActive&&i.imageDataUrl!=null?(T(),x("img",{key:0,src:i.imageDataUrl,alt:"Spectrogram",width:"300",height:"300"},null,8,ALt)):G("",!0),l("div",NLt,[i.isAudioActive?G("",!0):(T(),x("button",{key:0,class:"bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded",onClick:e[2]||(e[2]=(...o)=>r.startAudioStream&&r.startAudioStream(...o))},MLt)),i.isAudioActive?(T(),x("button",{key:1,class:"bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",onClick:e[3]||(e[3]=(...o)=>r.stopAudioStream&&r.stopAudioStream(...o))},kLt)):G("",!0)])],36)}const LLt=ot(RLt,[["render",DLt]]);const PLt={data(){return{activePersonality:null}},props:{personality:{type:Object,default:()=>({})}},components:{VideoFrame:wLt,AudioFrame:LLt},computed:{isReady:{get(){return this.$store.state.ready}}},watch:{"$store.state.mountedPersArr":"updatePersonality","$store.state.config.active_personality_id":"updatePersonality"},async mounted(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));console.log("Personality:",this.personality),this.initWebGLScene(),this.updatePersonality(),Le(()=>{ze.replace()}),this.$refs.video_frame.position={bottom:0,right:0},this.$refs.audio_frame.position={bottom:0,right:100}},beforeDestroy(){},methods:{initWebGLScene(){this.scene=new Qkt,this.camera=new Gn(75,window.innerWidth/window.innerHeight,.1,1e3),this.renderer=new kO,this.renderer.setSize(window.innerWidth,window.innerHeight),this.$refs.webglContainer.appendChild(this.renderer.domElement);const n=new yr,e=new Uw({color:65280});this.cube=new Vn(n,e),this.scene.add(this.cube);const t=new CDt(4210752),s=new VO(16777215,.5);s.position.set(0,1,0),this.scene.add(t),this.scene.add(s),this.camera.position.z=5,this.animate()},updatePersonality(){const{mountedPersArr:n,config:e}=this.$store.state;this.activePersonality=n[e.active_personality_id],this.activePersonality.avatar?this.showBoxWithAvatar(this.activePersonality.avatar):this.showDefaultCube(),this.$emit("update:personality",this.activePersonality)},loadScene(n){new PDt().load(n,t=>{this.scene.remove(this.cube),this.cube=t.scene,this.scene.add(this.cube)})},showBoxWithAvatar(n){this.cube&&this.scene.remove(this.cube);const e=new yr,t=new GO().load(n),s=new hr({map:t});this.cube=new Vn(e,s),this.scene.add(this.cube)},showDefaultCube(){this.scene.remove(this.cube);const n=new yr,e=new Uw({color:65280});this.cube=new Vn(n,e),this.scene.add(this.cube)},animate(){requestAnimationFrame(this.animate),this.cube&&(this.cube.rotation.x+=.01,this.cube.rotation.y+=.01),this.renderer.render(this.scene,this.camera)}}},FLt={ref:"webglContainer"},ULt={class:"flex-col y-overflow 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"},BLt={key:0,class:"text-center"},GLt={key:1,class:"text-center"},VLt={class:"floating-frame2"},zLt=["innerHTML"];function HLt(n,e,t,s,i,r){const o=tt("VideoFrame"),a=tt("AudioFrame");return T(),x(Fe,null,[l("div",FLt,null,512),l("div",ULt,[!i.activePersonality||!i.activePersonality.scene_path?(T(),x("div",BLt," Personality does not have a 3d avatar. ")):G("",!0),!i.activePersonality||!i.activePersonality.avatar||i.activePersonality.avatar===""?(T(),x("div",GLt," Personality does not have an avatar. ")):G("",!0),l("div",VLt,[l("div",{innerHTML:n.htmlContent},null,8,zLt)])]),V(o,{ref:"video_frame"},null,512),V(a,{ref:"audio_frame"},null,512)],64)}const qLt=ot(PLt,[["render",HLt]]);let xd;const $Lt=new Uint8Array(16);function YLt(){if(!xd&&(xd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xd($Lt)}const xn=[];for(let n=0;n<256;++n)xn.push((n+256).toString(16).slice(1));function WLt(n,e=0){return xn[n[e+0]]+xn[n[e+1]]+xn[n[e+2]]+xn[n[e+3]]+"-"+xn[n[e+4]]+xn[n[e+5]]+"-"+xn[n[e+6]]+xn[n[e+7]]+"-"+xn[n[e+8]]+xn[n[e+9]]+"-"+xn[n[e+10]]+xn[n[e+11]]+xn[n[e+12]]+xn[n[e+13]]+xn[n[e+14]]+xn[n[e+15]]}const KLt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Kw={randomUUID:KLt};function Fi(n,e,t){if(Kw.randomUUID&&!e&&!n)return Kw.randomUUID();n=n||{};const s=n.random||(n.rng||YLt)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=s[i];return e}return WLt(s)}class so{constructor(){this.listenerMap=new Map,this._listeners=[],this.proxyMap=new Map,this.proxies=[]}get listeners(){return this._listeners.concat(this.proxies.flatMap(e=>e()))}subscribe(e,t){this.listenerMap.has(e)&&(console.warn(`Already subscribed. Unsubscribing for you. +}`;function Rkt(n,e,t){let s=new fy;const i=new At,r=new At,o=new Wt,a=new Tkt({depthPacking:l2t}),c=new xkt,d={},u=t.maxTextureSize,h={[Vi]:Kn,[Kn]:Vi,[ri]:ri},f=new po({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new At},radius:{value:4}},vertexShader:Ckt,fragmentShader:wkt}),m=f.clone();m.defines.HORIZONTAL_PASS=1;const _=new Ei;_.setAttribute("position",new zn(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const g=new Vn(_,f),b=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=nO;let E=this.type;this.render=function(R,w,A){if(b.enabled===!1||b.autoUpdate===!1&&b.needsUpdate===!1||R.length===0)return;const M=n.getRenderTarget(),x=n.getActiveCubeFace(),O=n.getActiveMipmapLevel(),B=n.state;B.setBlending(gr),B.buffers.color.setClear(1,1,1,1),B.buffers.depth.setTest(!0),B.setScissorTest(!1);const H=E!==Ii&&this.type===Ii,te=E===Ii&&this.type!==Ii;for(let k=0,$=R.length;k<$;k++){const q=R[k],F=q.shadow;if(F===void 0){console.warn("THREE.WebGLShadowMap:",q,"has no shadow.");continue}if(F.autoUpdate===!1&&F.needsUpdate===!1)continue;i.copy(F.mapSize);const W=F.getFrameExtents();if(i.multiply(W),r.copy(F.mapSize),(i.x>u||i.y>u)&&(i.x>u&&(r.x=Math.floor(u/W.x),i.x=r.x*W.x,F.mapSize.x=r.x),i.y>u&&(r.y=Math.floor(u/W.y),i.y=r.y*W.y,F.mapSize.y=r.y)),F.map===null||H===!0||te===!0){const le=this.type!==Ii?{minFilter:yn,magFilter:yn}:{};F.map!==null&&F.map.dispose(),F.map=new uo(i.x,i.y,le),F.map.texture.name=q.name+".shadowMap",F.camera.updateProjectionMatrix()}n.setRenderTarget(F.map),n.clear();const ne=F.getViewportCount();for(let le=0;le0||w.map&&w.alphaTest>0){const B=x.uuid,H=w.uuid;let te=d[B];te===void 0&&(te={},d[B]=te);let k=te[H];k===void 0&&(k=x.clone(),te[H]=k),x=k}if(x.visible=w.visible,x.wireframe=w.wireframe,M===Ii?x.side=w.shadowSide!==null?w.shadowSide:w.side:x.side=w.shadowSide!==null?w.shadowSide:h[w.side],x.alphaMap=w.alphaMap,x.alphaTest=w.alphaTest,x.map=w.map,x.clipShadows=w.clipShadows,x.clippingPlanes=w.clippingPlanes,x.clipIntersection=w.clipIntersection,x.displacementMap=w.displacementMap,x.displacementScale=w.displacementScale,x.displacementBias=w.displacementBias,x.wireframeLinewidth=w.wireframeLinewidth,x.linewidth=w.linewidth,A.isPointLight===!0&&x.isMeshDistanceMaterial===!0){const B=n.properties.get(x);B.light=A}return x}function S(R,w,A,M,x){if(R.visible===!1)return;if(R.layers.test(w.layers)&&(R.isMesh||R.isLine||R.isPoints)&&(R.castShadow||R.receiveShadow&&x===Ii)&&(!R.frustumCulled||s.intersectsObject(R))){R.modelViewMatrix.multiplyMatrices(A.matrixWorldInverse,R.matrixWorld);const H=e.update(R),te=R.material;if(Array.isArray(te)){const k=H.groups;for(let $=0,q=k.length;$=1):le.indexOf("OpenGL ES")!==-1&&(ne=parseFloat(/^OpenGL ES (\d)/.exec(le)[1]),W=ne>=2);let me=null,Se={};const de=n.getParameter(n.SCISSOR_BOX),Ee=n.getParameter(n.VIEWPORT),Ie=new Wt().fromArray(de),ke=new Wt().fromArray(Ee);function Z(ee,je,Ve,Oe){const He=new Uint8Array(4),lt=n.createTexture();n.bindTexture(ee,lt),n.texParameteri(ee,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(ee,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let Nt=0;Nt"u"?!1:/OculusBrowser/g.test(navigator.userAgent),_=new WeakMap;let g;const b=new WeakMap;let E=!1;try{E=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function y(L,I){return E?new OffscreenCanvas(L,I):ic("canvas")}function v(L,I,Q,ye){let X=1;if((L.width>ye||L.height>ye)&&(X=ye/Math.max(L.width,L.height)),X<1||I===!0)if(typeof HTMLImageElement<"u"&&L instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&L instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&L instanceof ImageBitmap){const se=I?Tu:Math.floor,Ae=se(X*L.width),Ce=se(X*L.height);g===void 0&&(g=y(Ae,Ce));const Fe=Q?y(Ae,Ce):g;return Fe.width=Ae,Fe.height=Ce,Fe.getContext("2d").drawImage(L,0,0,Ae,Ce),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+L.width+"x"+L.height+") to ("+Ae+"x"+Ce+")."),Fe}else return"data"in L&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+L.width+"x"+L.height+")."),L;return L}function S(L){return Sb(L.width)&&Sb(L.height)}function R(L){return a?!1:L.wrapS!==fs||L.wrapT!==fs||L.minFilter!==yn&&L.minFilter!==$n}function w(L,I){return L.generateMipmaps&&I&&L.minFilter!==yn&&L.minFilter!==$n}function A(L){n.generateMipmap(L)}function M(L,I,Q,ye,X=!1){if(a===!1)return I;if(L!==null){if(n[L]!==void 0)return n[L];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+L+"'")}let se=I;if(I===n.RED&&(Q===n.FLOAT&&(se=n.R32F),Q===n.HALF_FLOAT&&(se=n.R16F),Q===n.UNSIGNED_BYTE&&(se=n.R8)),I===n.RED_INTEGER&&(Q===n.UNSIGNED_BYTE&&(se=n.R8UI),Q===n.UNSIGNED_SHORT&&(se=n.R16UI),Q===n.UNSIGNED_INT&&(se=n.R32UI),Q===n.BYTE&&(se=n.R8I),Q===n.SHORT&&(se=n.R16I),Q===n.INT&&(se=n.R32I)),I===n.RG&&(Q===n.FLOAT&&(se=n.RG32F),Q===n.HALF_FLOAT&&(se=n.RG16F),Q===n.UNSIGNED_BYTE&&(se=n.RG8)),I===n.RGBA){const Ae=X?Eu:Ft.getTransfer(ye);Q===n.FLOAT&&(se=n.RGBA32F),Q===n.HALF_FLOAT&&(se=n.RGBA16F),Q===n.UNSIGNED_BYTE&&(se=Ae===Xt?n.SRGB8_ALPHA8:n.RGBA8),Q===n.UNSIGNED_SHORT_4_4_4_4&&(se=n.RGBA4),Q===n.UNSIGNED_SHORT_5_5_5_1&&(se=n.RGB5_A1)}return(se===n.R16F||se===n.R32F||se===n.RG16F||se===n.RG32F||se===n.RGBA16F||se===n.RGBA32F)&&e.get("EXT_color_buffer_float"),se}function x(L,I,Q){return w(L,Q)===!0||L.isFramebufferTexture&&L.minFilter!==yn&&L.minFilter!==$n?Math.log2(Math.max(I.width,I.height))+1:L.mipmaps!==void 0&&L.mipmaps.length>0?L.mipmaps.length:L.isCompressedTexture&&Array.isArray(L.image)?I.mipmaps.length:1}function O(L){return L===yn||L===bb||L===Vd?n.NEAREST:n.LINEAR}function B(L){const I=L.target;I.removeEventListener("dispose",B),te(I),I.isVideoTexture&&_.delete(I)}function H(L){const I=L.target;I.removeEventListener("dispose",H),$(I)}function te(L){const I=s.get(L);if(I.__webglInit===void 0)return;const Q=L.source,ye=b.get(Q);if(ye){const X=ye[I.__cacheKey];X.usedTimes--,X.usedTimes===0&&k(L),Object.keys(ye).length===0&&b.delete(Q)}s.remove(L)}function k(L){const I=s.get(L);n.deleteTexture(I.__webglTexture);const Q=L.source,ye=b.get(Q);delete ye[I.__cacheKey],o.memory.textures--}function $(L){const I=L.texture,Q=s.get(L),ye=s.get(I);if(ye.__webglTexture!==void 0&&(n.deleteTexture(ye.__webglTexture),o.memory.textures--),L.depthTexture&&L.depthTexture.dispose(),L.isWebGLCubeRenderTarget)for(let X=0;X<6;X++){if(Array.isArray(Q.__webglFramebuffer[X]))for(let se=0;se=c&&console.warn("THREE.WebGLTextures: Trying to use "+L+" texture units while this GPU supports only "+c),q+=1,L}function ne(L){const I=[];return I.push(L.wrapS),I.push(L.wrapT),I.push(L.wrapR||0),I.push(L.magFilter),I.push(L.minFilter),I.push(L.anisotropy),I.push(L.internalFormat),I.push(L.format),I.push(L.type),I.push(L.generateMipmaps),I.push(L.premultiplyAlpha),I.push(L.flipY),I.push(L.unpackAlignment),I.push(L.colorSpace),I.join()}function le(L,I){const Q=s.get(L);if(L.isVideoTexture&&ge(L),L.isRenderTargetTexture===!1&&L.version>0&&Q.__version!==L.version){const ye=L.image;if(ye===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(ye.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{_e(Q,L,I);return}}t.bindTexture(n.TEXTURE_2D,Q.__webglTexture,n.TEXTURE0+I)}function me(L,I){const Q=s.get(L);if(L.version>0&&Q.__version!==L.version){_e(Q,L,I);return}t.bindTexture(n.TEXTURE_2D_ARRAY,Q.__webglTexture,n.TEXTURE0+I)}function Se(L,I){const Q=s.get(L);if(L.version>0&&Q.__version!==L.version){_e(Q,L,I);return}t.bindTexture(n.TEXTURE_3D,Q.__webglTexture,n.TEXTURE0+I)}function de(L,I){const Q=s.get(L);if(L.version>0&&Q.__version!==L.version){we(Q,L,I);return}t.bindTexture(n.TEXTURE_CUBE_MAP,Q.__webglTexture,n.TEXTURE0+I)}const Ee={[va]:n.REPEAT,[fs]:n.CLAMP_TO_EDGE,[bu]:n.MIRRORED_REPEAT},Ie={[yn]:n.NEAREST,[bb]:n.NEAREST_MIPMAP_NEAREST,[Vd]:n.NEAREST_MIPMAP_LINEAR,[$n]:n.LINEAR,[iO]:n.LINEAR_MIPMAP_NEAREST,[co]:n.LINEAR_MIPMAP_LINEAR},ke={[d2t]:n.NEVER,[m2t]:n.ALWAYS,[u2t]:n.LESS,[hO]:n.LEQUAL,[p2t]:n.EQUAL,[f2t]:n.GEQUAL,[_2t]:n.GREATER,[h2t]:n.NOTEQUAL};function Z(L,I,Q){if(Q?(n.texParameteri(L,n.TEXTURE_WRAP_S,Ee[I.wrapS]),n.texParameteri(L,n.TEXTURE_WRAP_T,Ee[I.wrapT]),(L===n.TEXTURE_3D||L===n.TEXTURE_2D_ARRAY)&&n.texParameteri(L,n.TEXTURE_WRAP_R,Ee[I.wrapR]),n.texParameteri(L,n.TEXTURE_MAG_FILTER,Ie[I.magFilter]),n.texParameteri(L,n.TEXTURE_MIN_FILTER,Ie[I.minFilter])):(n.texParameteri(L,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(L,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),(L===n.TEXTURE_3D||L===n.TEXTURE_2D_ARRAY)&&n.texParameteri(L,n.TEXTURE_WRAP_R,n.CLAMP_TO_EDGE),(I.wrapS!==fs||I.wrapT!==fs)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),n.texParameteri(L,n.TEXTURE_MAG_FILTER,O(I.magFilter)),n.texParameteri(L,n.TEXTURE_MIN_FILTER,O(I.minFilter)),I.minFilter!==yn&&I.minFilter!==$n&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),I.compareFunction&&(n.texParameteri(L,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(L,n.TEXTURE_COMPARE_FUNC,ke[I.compareFunction])),e.has("EXT_texture_filter_anisotropic")===!0){const ye=e.get("EXT_texture_filter_anisotropic");if(I.magFilter===yn||I.minFilter!==Vd&&I.minFilter!==co||I.type===Di&&e.has("OES_texture_float_linear")===!1||a===!1&&I.type===nc&&e.has("OES_texture_half_float_linear")===!1)return;(I.anisotropy>1||s.get(I).__currentAnisotropy)&&(n.texParameterf(L,ye.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(I.anisotropy,i.getMaxAnisotropy())),s.get(I).__currentAnisotropy=I.anisotropy)}}function he(L,I){let Q=!1;L.__webglInit===void 0&&(L.__webglInit=!0,I.addEventListener("dispose",B));const ye=I.source;let X=b.get(ye);X===void 0&&(X={},b.set(ye,X));const se=ne(I);if(se!==L.__cacheKey){X[se]===void 0&&(X[se]={texture:n.createTexture(),usedTimes:0},o.memory.textures++,Q=!0),X[se].usedTimes++;const Ae=X[L.__cacheKey];Ae!==void 0&&(X[L.__cacheKey].usedTimes--,Ae.usedTimes===0&&k(I)),L.__cacheKey=se,L.__webglTexture=X[se].texture}return Q}function _e(L,I,Q){let ye=n.TEXTURE_2D;(I.isDataArrayTexture||I.isCompressedArrayTexture)&&(ye=n.TEXTURE_2D_ARRAY),I.isData3DTexture&&(ye=n.TEXTURE_3D);const X=he(L,I),se=I.source;t.bindTexture(ye,L.__webglTexture,n.TEXTURE0+Q);const Ae=s.get(se);if(se.version!==Ae.__version||X===!0){t.activeTexture(n.TEXTURE0+Q);const Ce=Ft.getPrimaries(Ft.workingColorSpace),Fe=I.colorSpace===gs?null:Ft.getPrimaries(I.colorSpace),Ze=I.colorSpace===gs||Ce===Fe?n.NONE:n.BROWSER_DEFAULT_WEBGL;n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL,I.flipY),n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,I.premultiplyAlpha),n.pixelStorei(n.UNPACK_ALIGNMENT,I.unpackAlignment),n.pixelStorei(n.UNPACK_COLORSPACE_CONVERSION_WEBGL,Ze);const ft=R(I)&&S(I.image)===!1;let Ue=v(I.image,ft,!1,u);Ue=De(I,Ue);const pt=S(Ue)||a,st=r.convert(I.format,I.colorSpace);let Ye=r.convert(I.type),nt=M(I.internalFormat,st,Ye,I.colorSpace,I.isVideoTexture);Z(ye,I,pt);let Ke;const yt=I.mipmaps,ee=a&&I.isVideoTexture!==!0&&nt!==uO,je=Ae.__version===void 0||X===!0,Ve=x(I,Ue,pt);if(I.isDepthTexture)nt=n.DEPTH_COMPONENT,a?I.type===Di?nt=n.DEPTH_COMPONENT32F:I.type===_r?nt=n.DEPTH_COMPONENT24:I.type===eo?nt=n.DEPTH24_STENCIL8:nt=n.DEPTH_COMPONENT16:I.type===Di&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),I.format===to&&nt===n.DEPTH_COMPONENT&&I.type!==uy&&I.type!==_r&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),I.type=_r,Ye=r.convert(I.type)),I.format===Sa&&nt===n.DEPTH_COMPONENT&&(nt=n.DEPTH_STENCIL,I.type!==eo&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),I.type=eo,Ye=r.convert(I.type))),je&&(ee?t.texStorage2D(n.TEXTURE_2D,1,nt,Ue.width,Ue.height):t.texImage2D(n.TEXTURE_2D,0,nt,Ue.width,Ue.height,0,st,Ye,null));else if(I.isDataTexture)if(yt.length>0&&pt){ee&&je&&t.texStorage2D(n.TEXTURE_2D,Ve,nt,yt[0].width,yt[0].height);for(let Oe=0,He=yt.length;Oe>=1,He>>=1}}else if(yt.length>0&&pt){ee&&je&&t.texStorage2D(n.TEXTURE_2D,Ve,nt,yt[0].width,yt[0].height);for(let Oe=0,He=yt.length;Oe0&&je++,t.texStorage2D(n.TEXTURE_CUBE_MAP,je,Ke,Ue[0].width,Ue[0].height));for(let Oe=0;Oe<6;Oe++)if(ft){yt?t.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Oe,0,0,0,Ue[Oe].width,Ue[Oe].height,Ye,nt,Ue[Oe].data):t.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Oe,0,Ke,Ue[Oe].width,Ue[Oe].height,0,Ye,nt,Ue[Oe].data);for(let He=0;He>se),Ue=Math.max(1,I.height>>se);X===n.TEXTURE_3D||X===n.TEXTURE_2D_ARRAY?t.texImage3D(X,se,Fe,ft,Ue,I.depth,0,Ae,Ce,null):t.texImage2D(X,se,Fe,ft,Ue,0,Ae,Ce,null)}t.bindFramebuffer(n.FRAMEBUFFER,L),Re(I)?f.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,ye,X,s.get(Q).__webglTexture,0,ie(I)):(X===n.TEXTURE_2D||X>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&X<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,ye,X,s.get(Q).__webglTexture,se),t.bindFramebuffer(n.FRAMEBUFFER,null)}function N(L,I,Q){if(n.bindRenderbuffer(n.RENDERBUFFER,L),I.depthBuffer&&!I.stencilBuffer){let ye=a===!0?n.DEPTH_COMPONENT24:n.DEPTH_COMPONENT16;if(Q||Re(I)){const X=I.depthTexture;X&&X.isDepthTexture&&(X.type===Di?ye=n.DEPTH_COMPONENT32F:X.type===_r&&(ye=n.DEPTH_COMPONENT24));const se=ie(I);Re(I)?f.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,se,ye,I.width,I.height):n.renderbufferStorageMultisample(n.RENDERBUFFER,se,ye,I.width,I.height)}else n.renderbufferStorage(n.RENDERBUFFER,ye,I.width,I.height);n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_ATTACHMENT,n.RENDERBUFFER,L)}else if(I.depthBuffer&&I.stencilBuffer){const ye=ie(I);Q&&Re(I)===!1?n.renderbufferStorageMultisample(n.RENDERBUFFER,ye,n.DEPTH24_STENCIL8,I.width,I.height):Re(I)?f.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,ye,n.DEPTH24_STENCIL8,I.width,I.height):n.renderbufferStorage(n.RENDERBUFFER,n.DEPTH_STENCIL,I.width,I.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,n.DEPTH_STENCIL_ATTACHMENT,n.RENDERBUFFER,L)}else{const ye=I.isWebGLMultipleRenderTargets===!0?I.texture:[I.texture];for(let X=0;X0){Q.__webglFramebuffer[Ce]=[];for(let Fe=0;Fe0){Q.__webglFramebuffer=[];for(let Ce=0;Ce0&&Re(L)===!1){const Ce=se?I:[I];Q.__webglMultisampledFramebuffer=n.createFramebuffer(),Q.__webglColorRenderbuffer=[],t.bindFramebuffer(n.FRAMEBUFFER,Q.__webglMultisampledFramebuffer);for(let Fe=0;Fe0)for(let Fe=0;Fe0)for(let Fe=0;Fe0&&Re(L)===!1){const I=L.isWebGLMultipleRenderTargets?L.texture:[L.texture],Q=L.width,ye=L.height;let X=n.COLOR_BUFFER_BIT;const se=[],Ae=L.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,Ce=s.get(L),Fe=L.isWebGLMultipleRenderTargets===!0;if(Fe)for(let Ze=0;Ze0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&I.__useRenderToTexture!==!1}function ge(L){const I=o.render.frame;_.get(L)!==I&&(_.set(L,I),L.update())}function De(L,I){const Q=L.colorSpace,ye=L.format,X=L.type;return L.isCompressedTexture===!0||L.isVideoTexture===!0||L.format===vb||Q!==Nn&&Q!==gs&&(Ft.getTransfer(Q)===Xt?a===!1?e.has("EXT_sRGB")===!0&&ye===ms?(L.format=vb,L.minFilter=$n,L.generateMipmaps=!1):I=mO.sRGBToLinear(I):(ye!==ms||X!==Er)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",Q)),I}this.allocateTextureUnit=W,this.resetTextureUnits=F,this.setTexture2D=le,this.setTexture2DArray=me,this.setTexture3D=Se,this.setTextureCube=de,this.rebindTextures=ce,this.setupRenderTarget=oe,this.updateRenderTargetMipmap=xe,this.updateMultisampleRenderTarget=Ne,this.setupDepthRenderbuffer=Y,this.setupFrameBufferTexture=Pe,this.useMultisampledRTT=Re}function Okt(n,e,t){const s=t.isWebGL2;function i(r,o=gs){let a;const c=Ft.getTransfer(o);if(r===Er)return n.UNSIGNED_BYTE;if(r===oO)return n.UNSIGNED_SHORT_4_4_4_4;if(r===aO)return n.UNSIGNED_SHORT_5_5_5_1;if(r===XAt)return n.BYTE;if(r===ZAt)return n.SHORT;if(r===uy)return n.UNSIGNED_SHORT;if(r===rO)return n.INT;if(r===_r)return n.UNSIGNED_INT;if(r===Di)return n.FLOAT;if(r===nc)return s?n.HALF_FLOAT:(a=e.get("OES_texture_half_float"),a!==null?a.HALF_FLOAT_OES:null);if(r===JAt)return n.ALPHA;if(r===ms)return n.RGBA;if(r===e2t)return n.LUMINANCE;if(r===t2t)return n.LUMINANCE_ALPHA;if(r===to)return n.DEPTH_COMPONENT;if(r===Sa)return n.DEPTH_STENCIL;if(r===vb)return a=e.get("EXT_sRGB"),a!==null?a.SRGB_ALPHA_EXT:null;if(r===n2t)return n.RED;if(r===lO)return n.RED_INTEGER;if(r===s2t)return n.RG;if(r===cO)return n.RG_INTEGER;if(r===dO)return n.RGBA_INTEGER;if(r===qm||r===$m||r===Ym||r===Wm)if(c===Xt)if(a=e.get("WEBGL_compressed_texture_s3tc_srgb"),a!==null){if(r===qm)return a.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(r===$m)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(r===Ym)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(r===Wm)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(a=e.get("WEBGL_compressed_texture_s3tc"),a!==null){if(r===qm)return a.COMPRESSED_RGB_S3TC_DXT1_EXT;if(r===$m)return a.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(r===Ym)return a.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(r===Wm)return a.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(r===lC||r===cC||r===dC||r===uC)if(a=e.get("WEBGL_compressed_texture_pvrtc"),a!==null){if(r===lC)return a.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(r===cC)return a.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(r===dC)return a.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(r===uC)return a.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(r===uO)return a=e.get("WEBGL_compressed_texture_etc1"),a!==null?a.COMPRESSED_RGB_ETC1_WEBGL:null;if(r===pC||r===_C)if(a=e.get("WEBGL_compressed_texture_etc"),a!==null){if(r===pC)return c===Xt?a.COMPRESSED_SRGB8_ETC2:a.COMPRESSED_RGB8_ETC2;if(r===_C)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:a.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(r===hC||r===fC||r===mC||r===gC||r===bC||r===EC||r===yC||r===vC||r===SC||r===TC||r===xC||r===CC||r===wC||r===RC)if(a=e.get("WEBGL_compressed_texture_astc"),a!==null){if(r===hC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:a.COMPRESSED_RGBA_ASTC_4x4_KHR;if(r===fC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:a.COMPRESSED_RGBA_ASTC_5x4_KHR;if(r===mC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:a.COMPRESSED_RGBA_ASTC_5x5_KHR;if(r===gC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:a.COMPRESSED_RGBA_ASTC_6x5_KHR;if(r===bC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:a.COMPRESSED_RGBA_ASTC_6x6_KHR;if(r===EC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:a.COMPRESSED_RGBA_ASTC_8x5_KHR;if(r===yC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:a.COMPRESSED_RGBA_ASTC_8x6_KHR;if(r===vC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:a.COMPRESSED_RGBA_ASTC_8x8_KHR;if(r===SC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:a.COMPRESSED_RGBA_ASTC_10x5_KHR;if(r===TC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:a.COMPRESSED_RGBA_ASTC_10x6_KHR;if(r===xC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:a.COMPRESSED_RGBA_ASTC_10x8_KHR;if(r===CC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:a.COMPRESSED_RGBA_ASTC_10x10_KHR;if(r===wC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:a.COMPRESSED_RGBA_ASTC_12x10_KHR;if(r===RC)return c===Xt?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:a.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(r===Km||r===AC||r===NC)if(a=e.get("EXT_texture_compression_bptc"),a!==null){if(r===Km)return c===Xt?a.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:a.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(r===AC)return a.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(r===NC)return a.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(r===i2t||r===OC||r===IC||r===MC)if(a=e.get("EXT_texture_compression_rgtc"),a!==null){if(r===Km)return a.COMPRESSED_RED_RGTC1_EXT;if(r===OC)return a.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(r===IC)return a.COMPRESSED_RED_GREEN_RGTC2_EXT;if(r===MC)return a.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return r===eo?s?n.UNSIGNED_INT_24_8:(a=e.get("WEBGL_depth_texture"),a!==null?a.UNSIGNED_INT_24_8_WEBGL:null):n[r]!==void 0?n[r]:null}return{convert:i}}class Ikt extends Gn{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class jr extends nn{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Mkt={type:"move"};class bg{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new jr,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new jr,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new ae,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new ae),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new jr,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new ae,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new ae),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const s of e.hand.values())this._getHandJoint(t,s)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,t,s){let i=null,r=null,o=null;const a=this._targetRay,c=this._grip,d=this._hand;if(e&&t.session.visibilityState!=="visible-blurred"){if(d&&e.hand){o=!0;for(const g of e.hand.values()){const b=t.getJointPose(g,s),E=this._getHandJoint(d,g);b!==null&&(E.matrix.fromArray(b.transform.matrix),E.matrix.decompose(E.position,E.rotation,E.scale),E.matrixWorldNeedsUpdate=!0,E.jointRadius=b.radius),E.visible=b!==null}const u=d.joints["index-finger-tip"],h=d.joints["thumb-tip"],f=u.position.distanceTo(h.position),m=.02,_=.005;d.inputState.pinching&&f>m+_?(d.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!d.inputState.pinching&&f<=m-_&&(d.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else c!==null&&e.gripSpace&&(r=t.getPose(e.gripSpace,s),r!==null&&(c.matrix.fromArray(r.transform.matrix),c.matrix.decompose(c.position,c.rotation,c.scale),c.matrixWorldNeedsUpdate=!0,r.linearVelocity?(c.hasLinearVelocity=!0,c.linearVelocity.copy(r.linearVelocity)):c.hasLinearVelocity=!1,r.angularVelocity?(c.hasAngularVelocity=!0,c.angularVelocity.copy(r.angularVelocity)):c.hasAngularVelocity=!1));a!==null&&(i=t.getPose(e.targetRaySpace,s),i===null&&r!==null&&(i=r),i!==null&&(a.matrix.fromArray(i.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,i.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(i.linearVelocity)):a.hasLinearVelocity=!1,i.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(i.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(Mkt)))}return a!==null&&(a.visible=i!==null),c!==null&&(c.visible=r!==null),d!==null&&(d.visible=o!==null),this}_getHandJoint(e,t){if(e.joints[t.jointName]===void 0){const s=new jr;s.matrixAutoUpdate=!1,s.visible=!1,e.joints[t.jointName]=s,e.add(s)}return e.joints[t.jointName]}}class kkt extends $a{constructor(e,t){super();const s=this;let i=null,r=1,o=null,a="local-floor",c=1,d=null,u=null,h=null,f=null,m=null,_=null;const g=t.getContextAttributes();let b=null,E=null;const y=[],v=[],S=new At;let R=null;const w=new Gn;w.layers.enable(1),w.viewport=new Wt;const A=new Gn;A.layers.enable(2),A.viewport=new Wt;const M=[w,A],x=new Ikt;x.layers.enable(1),x.layers.enable(2);let O=null,B=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(de){let Ee=y[de];return Ee===void 0&&(Ee=new bg,y[de]=Ee),Ee.getTargetRaySpace()},this.getControllerGrip=function(de){let Ee=y[de];return Ee===void 0&&(Ee=new bg,y[de]=Ee),Ee.getGripSpace()},this.getHand=function(de){let Ee=y[de];return Ee===void 0&&(Ee=new bg,y[de]=Ee),Ee.getHandSpace()};function H(de){const Ee=v.indexOf(de.inputSource);if(Ee===-1)return;const Ie=y[Ee];Ie!==void 0&&(Ie.update(de.inputSource,de.frame,d||o),Ie.dispatchEvent({type:de.type,data:de.inputSource}))}function te(){i.removeEventListener("select",H),i.removeEventListener("selectstart",H),i.removeEventListener("selectend",H),i.removeEventListener("squeeze",H),i.removeEventListener("squeezestart",H),i.removeEventListener("squeezeend",H),i.removeEventListener("end",te),i.removeEventListener("inputsourceschange",k);for(let de=0;de=0&&(v[ke]=null,y[ke].disconnect(Ie))}for(let Ee=0;Ee=v.length){v.push(Ie),ke=he;break}else if(v[he]===null){v[he]=Ie,ke=he;break}if(ke===-1)break}const Z=y[ke];Z&&Z.connect(Ie)}}const $=new ae,q=new ae;function F(de,Ee,Ie){$.setFromMatrixPosition(Ee.matrixWorld),q.setFromMatrixPosition(Ie.matrixWorld);const ke=$.distanceTo(q),Z=Ee.projectionMatrix.elements,he=Ie.projectionMatrix.elements,_e=Z[14]/(Z[10]-1),we=Z[14]/(Z[10]+1),Pe=(Z[9]+1)/Z[5],N=(Z[9]-1)/Z[5],z=(Z[8]-1)/Z[0],Y=(he[8]+1)/he[0],ce=_e*z,oe=_e*Y,xe=ke/(-z+Y),Ne=xe*-z;Ee.matrixWorld.decompose(de.position,de.quaternion,de.scale),de.translateX(Ne),de.translateZ(xe),de.matrixWorld.compose(de.position,de.quaternion,de.scale),de.matrixWorldInverse.copy(de.matrixWorld).invert();const ie=_e+xe,Re=we+xe,ge=ce-Ne,De=oe+(ke-Ne),L=Pe*we/Re*ie,I=N*we/Re*ie;de.projectionMatrix.makePerspective(ge,De,L,I,ie,Re),de.projectionMatrixInverse.copy(de.projectionMatrix).invert()}function W(de,Ee){Ee===null?de.matrixWorld.copy(de.matrix):de.matrixWorld.multiplyMatrices(Ee.matrixWorld,de.matrix),de.matrixWorldInverse.copy(de.matrixWorld).invert()}this.updateCamera=function(de){if(i===null)return;x.near=A.near=w.near=de.near,x.far=A.far=w.far=de.far,(O!==x.near||B!==x.far)&&(i.updateRenderState({depthNear:x.near,depthFar:x.far}),O=x.near,B=x.far);const Ee=de.parent,Ie=x.cameras;W(x,Ee);for(let ke=0;ke0&&(b.alphaTest.value=E.alphaTest);const y=e.get(E).envMap;if(y&&(b.envMap.value=y,b.flipEnvMap.value=y.isCubeTexture&&y.isRenderTargetTexture===!1?-1:1,b.reflectivity.value=E.reflectivity,b.ior.value=E.ior,b.refractionRatio.value=E.refractionRatio),E.lightMap){b.lightMap.value=E.lightMap;const v=n._useLegacyLights===!0?Math.PI:1;b.lightMapIntensity.value=E.lightMapIntensity*v,t(E.lightMap,b.lightMapTransform)}E.aoMap&&(b.aoMap.value=E.aoMap,b.aoMapIntensity.value=E.aoMapIntensity,t(E.aoMap,b.aoMapTransform))}function o(b,E){b.diffuse.value.copy(E.color),b.opacity.value=E.opacity,E.map&&(b.map.value=E.map,t(E.map,b.mapTransform))}function a(b,E){b.dashSize.value=E.dashSize,b.totalSize.value=E.dashSize+E.gapSize,b.scale.value=E.scale}function c(b,E,y,v){b.diffuse.value.copy(E.color),b.opacity.value=E.opacity,b.size.value=E.size*y,b.scale.value=v*.5,E.map&&(b.map.value=E.map,t(E.map,b.uvTransform)),E.alphaMap&&(b.alphaMap.value=E.alphaMap,t(E.alphaMap,b.alphaMapTransform)),E.alphaTest>0&&(b.alphaTest.value=E.alphaTest)}function d(b,E){b.diffuse.value.copy(E.color),b.opacity.value=E.opacity,b.rotation.value=E.rotation,E.map&&(b.map.value=E.map,t(E.map,b.mapTransform)),E.alphaMap&&(b.alphaMap.value=E.alphaMap,t(E.alphaMap,b.alphaMapTransform)),E.alphaTest>0&&(b.alphaTest.value=E.alphaTest)}function u(b,E){b.specular.value.copy(E.specular),b.shininess.value=Math.max(E.shininess,1e-4)}function h(b,E){E.gradientMap&&(b.gradientMap.value=E.gradientMap)}function f(b,E){b.metalness.value=E.metalness,E.metalnessMap&&(b.metalnessMap.value=E.metalnessMap,t(E.metalnessMap,b.metalnessMapTransform)),b.roughness.value=E.roughness,E.roughnessMap&&(b.roughnessMap.value=E.roughnessMap,t(E.roughnessMap,b.roughnessMapTransform)),e.get(E).envMap&&(b.envMapIntensity.value=E.envMapIntensity)}function m(b,E,y){b.ior.value=E.ior,E.sheen>0&&(b.sheenColor.value.copy(E.sheenColor).multiplyScalar(E.sheen),b.sheenRoughness.value=E.sheenRoughness,E.sheenColorMap&&(b.sheenColorMap.value=E.sheenColorMap,t(E.sheenColorMap,b.sheenColorMapTransform)),E.sheenRoughnessMap&&(b.sheenRoughnessMap.value=E.sheenRoughnessMap,t(E.sheenRoughnessMap,b.sheenRoughnessMapTransform))),E.clearcoat>0&&(b.clearcoat.value=E.clearcoat,b.clearcoatRoughness.value=E.clearcoatRoughness,E.clearcoatMap&&(b.clearcoatMap.value=E.clearcoatMap,t(E.clearcoatMap,b.clearcoatMapTransform)),E.clearcoatRoughnessMap&&(b.clearcoatRoughnessMap.value=E.clearcoatRoughnessMap,t(E.clearcoatRoughnessMap,b.clearcoatRoughnessMapTransform)),E.clearcoatNormalMap&&(b.clearcoatNormalMap.value=E.clearcoatNormalMap,t(E.clearcoatNormalMap,b.clearcoatNormalMapTransform),b.clearcoatNormalScale.value.copy(E.clearcoatNormalScale),E.side===Kn&&b.clearcoatNormalScale.value.negate())),E.iridescence>0&&(b.iridescence.value=E.iridescence,b.iridescenceIOR.value=E.iridescenceIOR,b.iridescenceThicknessMinimum.value=E.iridescenceThicknessRange[0],b.iridescenceThicknessMaximum.value=E.iridescenceThicknessRange[1],E.iridescenceMap&&(b.iridescenceMap.value=E.iridescenceMap,t(E.iridescenceMap,b.iridescenceMapTransform)),E.iridescenceThicknessMap&&(b.iridescenceThicknessMap.value=E.iridescenceThicknessMap,t(E.iridescenceThicknessMap,b.iridescenceThicknessMapTransform))),E.transmission>0&&(b.transmission.value=E.transmission,b.transmissionSamplerMap.value=y.texture,b.transmissionSamplerSize.value.set(y.width,y.height),E.transmissionMap&&(b.transmissionMap.value=E.transmissionMap,t(E.transmissionMap,b.transmissionMapTransform)),b.thickness.value=E.thickness,E.thicknessMap&&(b.thicknessMap.value=E.thicknessMap,t(E.thicknessMap,b.thicknessMapTransform)),b.attenuationDistance.value=E.attenuationDistance,b.attenuationColor.value.copy(E.attenuationColor)),E.anisotropy>0&&(b.anisotropyVector.value.set(E.anisotropy*Math.cos(E.anisotropyRotation),E.anisotropy*Math.sin(E.anisotropyRotation)),E.anisotropyMap&&(b.anisotropyMap.value=E.anisotropyMap,t(E.anisotropyMap,b.anisotropyMapTransform))),b.specularIntensity.value=E.specularIntensity,b.specularColor.value.copy(E.specularColor),E.specularColorMap&&(b.specularColorMap.value=E.specularColorMap,t(E.specularColorMap,b.specularColorMapTransform)),E.specularIntensityMap&&(b.specularIntensityMap.value=E.specularIntensityMap,t(E.specularIntensityMap,b.specularIntensityMapTransform))}function _(b,E){E.matcap&&(b.matcap.value=E.matcap)}function g(b,E){const y=e.get(E).light;b.referencePosition.value.setFromMatrixPosition(y.matrixWorld),b.nearDistance.value=y.shadow.camera.near,b.farDistance.value=y.shadow.camera.far}return{refreshFogUniforms:s,refreshMaterialUniforms:i}}function Lkt(n,e,t,s){let i={},r={},o=[];const a=t.isWebGL2?n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS):0;function c(y,v){const S=v.program;s.uniformBlockBinding(y,S)}function d(y,v){let S=i[y.id];S===void 0&&(_(y),S=u(y),i[y.id]=S,y.addEventListener("dispose",b));const R=v.program;s.updateUBOMapping(y,R);const w=e.render.frame;r[y.id]!==w&&(f(y),r[y.id]=w)}function u(y){const v=h();y.__bindingPointIndex=v;const S=n.createBuffer(),R=y.__size,w=y.usage;return n.bindBuffer(n.UNIFORM_BUFFER,S),n.bufferData(n.UNIFORM_BUFFER,R,w),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,v,S),S}function h(){for(let y=0;y0){w=S%R;const H=R-w;w!==0&&H-O.boundary<0&&(S+=R-w,x.__offset=S)}S+=O.storage}return w=S%R,w>0&&(S+=R-w),y.__size=S,y.__cache={},this}function g(y){const v={boundary:0,storage:0};return typeof y=="number"?(v.boundary=4,v.storage=4):y.isVector2?(v.boundary=8,v.storage=8):y.isVector3||y.isColor?(v.boundary=16,v.storage=12):y.isVector4?(v.boundary=16,v.storage=16):y.isMatrix3?(v.boundary=48,v.storage=48):y.isMatrix4?(v.boundary=64,v.storage=64):y.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",y),v}function b(y){const v=y.target;v.removeEventListener("dispose",b);const S=o.indexOf(v.__bindingPointIndex);o.splice(S,1),n.deleteBuffer(i[v.id]),delete i[v.id],delete r[v.id]}function E(){for(const y in i)n.deleteBuffer(i[y]);o=[],i={},r={}}return{bind:c,update:d,dispose:E}}class kO{constructor(e={}){const{canvas:t=M2t(),context:s=null,depth:i=!0,stencil:r=!0,alpha:o=!1,antialias:a=!1,premultipliedAlpha:c=!0,preserveDrawingBuffer:d=!1,powerPreference:u="default",failIfMajorPerformanceCaveat:h=!1}=e;this.isWebGLRenderer=!0;let f;s!==null?f=s.getContextAttributes().alpha:f=o;const m=new Uint32Array(4),_=new Int32Array(4);let g=null,b=null;const E=[],y=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this._outputColorSpace=rn,this._useLegacyLights=!1,this.toneMapping=br,this.toneMappingExposure=1;const v=this;let S=!1,R=0,w=0,A=null,M=-1,x=null;const O=new Wt,B=new Wt;let H=null;const te=new _t(0);let k=0,$=t.width,q=t.height,F=1,W=null,ne=null;const le=new Wt(0,0,$,q),me=new Wt(0,0,$,q);let Se=!1;const de=new fy;let Ee=!1,Ie=!1,ke=null;const Z=new xt,he=new At,_e=new ae,we={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Pe(){return A===null?F:1}let N=s;function z(U,ue){for(let be=0;be{function Qe(){if(ve.forEach(function(it){Ne.get(it).currentProgram.isReady()&&ve.delete(it)}),ve.size===0){fe(U);return}setTimeout(Qe,10)}Y.get("KHR_parallel_shader_compile")!==null?Qe():setTimeout(Qe,10)})};let Nt=null;function an(U){Nt&&Nt(U)}function Sn(){Tn.stop()}function Vt(){Tn.start()}const Tn=new wO;Tn.setAnimationLoop(an),typeof self<"u"&&Tn.setContext(self),this.setAnimationLoop=function(U){Nt=U,Ke.setAnimationLoop(U),U===null?Tn.stop():Tn.start()},Ke.addEventListener("sessionstart",Sn),Ke.addEventListener("sessionend",Vt),this.render=function(U,ue){if(ue!==void 0&&ue.isCamera!==!0){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(S===!0)return;U.matrixWorldAutoUpdate===!0&&U.updateMatrixWorld(),ue.parent===null&&ue.matrixWorldAutoUpdate===!0&&ue.updateMatrixWorld(),Ke.enabled===!0&&Ke.isPresenting===!0&&(Ke.cameraAutoUpdate===!0&&Ke.updateCamera(ue),ue=Ke.getCamera()),U.isScene===!0&&U.onBeforeRender(v,U,ue,A),b=se.get(U,y.length),b.init(),y.push(b),Z.multiplyMatrices(ue.projectionMatrix,ue.matrixWorldInverse),de.setFromProjectionMatrix(Z),Ie=this.localClippingEnabled,Ee=Ae.init(this.clippingPlanes,Ie),g=X.get(U,E.length),g.init(),E.push(g),cs(U,ue,0,v.sortObjects),g.finish(),v.sortObjects===!0&&g.sort(W,ne),this.info.render.frame++,Ee===!0&&Ae.beginShadows();const be=b.state.shadowsArray;if(Ce.render(be,U,ue),Ee===!0&&Ae.endShadows(),this.info.autoReset===!0&&this.info.reset(),Fe.render(g,U),b.setupLights(v._useLegacyLights),ue.isArrayCamera){const ve=ue.cameras;for(let fe=0,Qe=ve.length;fe0?b=y[y.length-1]:b=null,E.pop(),E.length>0?g=E[E.length-1]:g=null};function cs(U,ue,be,ve){if(U.visible===!1)return;if(U.layers.test(ue.layers)){if(U.isGroup)be=U.renderOrder;else if(U.isLOD)U.autoUpdate===!0&&U.update(ue);else if(U.isLight)b.pushLight(U),U.castShadow&&b.pushShadow(U);else if(U.isSprite){if(!U.frustumCulled||de.intersectsSprite(U)){ve&&_e.setFromMatrixPosition(U.matrixWorld).applyMatrix4(Z);const it=I.update(U),at=U.material;at.visible&&g.push(U,it,at,be,_e.z,null)}}else if((U.isMesh||U.isLine||U.isPoints)&&(!U.frustumCulled||de.intersectsObject(U))){const it=I.update(U),at=U.material;if(ve&&(U.boundingSphere!==void 0?(U.boundingSphere===null&&U.computeBoundingSphere(),_e.copy(U.boundingSphere.center)):(it.boundingSphere===null&&it.computeBoundingSphere(),_e.copy(it.boundingSphere.center)),_e.applyMatrix4(U.matrixWorld).applyMatrix4(Z)),Array.isArray(at)){const ut=it.groups;for(let Et=0,ht=ut.length;Et0&&Rp(fe,Qe,ue,be),ve&&oe.viewport(O.copy(ve)),fe.length>0&&yo(fe,ue,be),Qe.length>0&&yo(Qe,ue,be),it.length>0&&yo(it,ue,be),oe.buffers.depth.setTest(!0),oe.buffers.depth.setMask(!0),oe.buffers.color.setMask(!0),oe.setPolygonOffset(!1)}function Rp(U,ue,be,ve){if((be.isScene===!0?be.overrideMaterial:null)!==null)return;const Qe=ce.isWebGL2;ke===null&&(ke=new uo(1,1,{generateMipmaps:!0,type:Y.has("EXT_color_buffer_half_float")?nc:Er,minFilter:co,samples:Qe?4:0})),v.getDrawingBufferSize(he),Qe?ke.setSize(he.x,he.y):ke.setSize(Tu(he.x),Tu(he.y));const it=v.getRenderTarget();v.setRenderTarget(ke),v.getClearColor(te),k=v.getClearAlpha(),k<1&&v.setClearColor(16777215,.5),v.clear();const at=v.toneMapping;v.toneMapping=br,yo(U,be,ve),ie.updateMultisampleRenderTarget(ke),ie.updateRenderTargetMipmap(ke);let ut=!1;for(let Et=0,ht=ue.length;Et0),mt=!!be.morphAttributes.position,tn=!!be.morphAttributes.normal,Pn=!!be.morphAttributes.color;let ln=br;ve.toneMapped&&(A===null||A.isXRRenderTarget===!0)&&(ln=v.toneMapping);const Ms=be.morphAttributes.position||be.morphAttributes.normal||be.morphAttributes.color,Qt=Ms!==void 0?Ms.length:0,vt=Ne.get(ve),Xa=b.state.lights;if(Ee===!0&&(Ie===!0||U!==x)){const Hn=U===x&&ve.id===M;Ae.setState(ve,U,Hn)}let Jt=!1;ve.version===vt.__version?(vt.needsLights&&vt.lightsStateVersion!==Xa.state.version||vt.outputColorSpace!==at||fe.isBatchedMesh&&vt.batching===!1||!fe.isBatchedMesh&&vt.batching===!0||fe.isInstancedMesh&&vt.instancing===!1||!fe.isInstancedMesh&&vt.instancing===!0||fe.isSkinnedMesh&&vt.skinning===!1||!fe.isSkinnedMesh&&vt.skinning===!0||fe.isInstancedMesh&&vt.instancingColor===!0&&fe.instanceColor===null||fe.isInstancedMesh&&vt.instancingColor===!1&&fe.instanceColor!==null||vt.envMap!==ut||ve.fog===!0&&vt.fog!==Qe||vt.numClippingPlanes!==void 0&&(vt.numClippingPlanes!==Ae.numPlanes||vt.numIntersection!==Ae.numIntersection)||vt.vertexAlphas!==Et||vt.vertexTangents!==ht||vt.morphTargets!==mt||vt.morphNormals!==tn||vt.morphColors!==Pn||vt.toneMapping!==ln||ce.isWebGL2===!0&&vt.morphTargetsCount!==Qt)&&(Jt=!0):(Jt=!0,vt.__version=ve.version);let vi=vt.currentProgram;Jt===!0&&(vi=vo(ve,ue,fe));let wc=!1,Rr=!1,Za=!1;const bn=vi.getUniforms(),Si=vt.uniforms;if(oe.useProgram(vi.program)&&(wc=!0,Rr=!0,Za=!0),ve.id!==M&&(M=ve.id,Rr=!0),wc||x!==U){bn.setValue(N,"projectionMatrix",U.projectionMatrix),bn.setValue(N,"viewMatrix",U.matrixWorldInverse);const Hn=bn.map.cameraPosition;Hn!==void 0&&Hn.setValue(N,_e.setFromMatrixPosition(U.matrixWorld)),ce.logarithmicDepthBuffer&&bn.setValue(N,"logDepthBufFC",2/(Math.log(U.far+1)/Math.LN2)),(ve.isMeshPhongMaterial||ve.isMeshToonMaterial||ve.isMeshLambertMaterial||ve.isMeshBasicMaterial||ve.isMeshStandardMaterial||ve.isShaderMaterial)&&bn.setValue(N,"isOrthographic",U.isOrthographicCamera===!0),x!==U&&(x=U,Rr=!0,Za=!0)}if(fe.isSkinnedMesh){bn.setOptional(N,fe,"bindMatrix"),bn.setOptional(N,fe,"bindMatrixInverse");const Hn=fe.skeleton;Hn&&(ce.floatVertexTextures?(Hn.boneTexture===null&&Hn.computeBoneTexture(),bn.setValue(N,"boneTexture",Hn.boneTexture,ie)):console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."))}fe.isBatchedMesh&&(bn.setOptional(N,fe,"batchingTexture"),bn.setValue(N,"batchingTexture",fe._matricesTexture,ie));const Ja=be.morphAttributes;if((Ja.position!==void 0||Ja.normal!==void 0||Ja.color!==void 0&&ce.isWebGL2===!0)&&Ze.update(fe,be,vi),(Rr||vt.receiveShadow!==fe.receiveShadow)&&(vt.receiveShadow=fe.receiveShadow,bn.setValue(N,"receiveShadow",fe.receiveShadow)),ve.isMeshGouraudMaterial&&ve.envMap!==null&&(Si.envMap.value=ut,Si.flipEnvMap.value=ut.isCubeTexture&&ut.isRenderTargetTexture===!1?-1:1),Rr&&(bn.setValue(N,"toneMappingExposure",v.toneMappingExposure),vt.needsLights&&Np(Si,Za),Qe&&ve.fog===!0&&ye.refreshFogUniforms(Si,Qe),ye.refreshMaterialUniforms(Si,ve,F,q,ke),zd.upload(N,xc(vt),Si,ie)),ve.isShaderMaterial&&ve.uniformsNeedUpdate===!0&&(zd.upload(N,xc(vt),Si,ie),ve.uniformsNeedUpdate=!1),ve.isSpriteMaterial&&bn.setValue(N,"center",fe.center),bn.setValue(N,"modelViewMatrix",fe.modelViewMatrix),bn.setValue(N,"normalMatrix",fe.normalMatrix),bn.setValue(N,"modelMatrix",fe.matrixWorld),ve.isShaderMaterial||ve.isRawShaderMaterial){const Hn=ve.uniformsGroups;for(let el=0,Ip=Hn.length;el0&&ie.useMultisampledRTT(U)===!1?fe=Ne.get(U).__webglMultisampledFramebuffer:Array.isArray(ht)?fe=ht[be]:fe=ht,O.copy(U.viewport),B.copy(U.scissor),H=U.scissorTest}else O.copy(le).multiplyScalar(F).floor(),B.copy(me).multiplyScalar(F).floor(),H=Se;if(oe.bindFramebuffer(N.FRAMEBUFFER,fe)&&ce.drawBuffers&&ve&&oe.drawBuffers(U,fe),oe.viewport(O),oe.scissor(B),oe.setScissorTest(H),Qe){const ut=Ne.get(U.texture);N.framebufferTexture2D(N.FRAMEBUFFER,N.COLOR_ATTACHMENT0,N.TEXTURE_CUBE_MAP_POSITIVE_X+ue,ut.__webglTexture,be)}else if(it){const ut=Ne.get(U.texture),Et=ue||0;N.framebufferTextureLayer(N.FRAMEBUFFER,N.COLOR_ATTACHMENT0,ut.__webglTexture,be||0,Et)}M=-1},this.readRenderTargetPixels=function(U,ue,be,ve,fe,Qe,it){if(!(U&&U.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let at=Ne.get(U).__webglFramebuffer;if(U.isWebGLCubeRenderTarget&&it!==void 0&&(at=at[it]),at){oe.bindFramebuffer(N.FRAMEBUFFER,at);try{const ut=U.texture,Et=ut.format,ht=ut.type;if(Et!==ms&&pt.convert(Et)!==N.getParameter(N.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const mt=ht===nc&&(Y.has("EXT_color_buffer_half_float")||ce.isWebGL2&&Y.has("EXT_color_buffer_float"));if(ht!==Er&&pt.convert(ht)!==N.getParameter(N.IMPLEMENTATION_COLOR_READ_TYPE)&&!(ht===Di&&(ce.isWebGL2||Y.has("OES_texture_float")||Y.has("WEBGL_color_buffer_float")))&&!mt){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}ue>=0&&ue<=U.width-ve&&be>=0&&be<=U.height-fe&&N.readPixels(ue,be,ve,fe,pt.convert(Et),pt.convert(ht),Qe)}finally{const ut=A!==null?Ne.get(A).__webglFramebuffer:null;oe.bindFramebuffer(N.FRAMEBUFFER,ut)}}},this.copyFramebufferToTexture=function(U,ue,be=0){const ve=Math.pow(2,-be),fe=Math.floor(ue.image.width*ve),Qe=Math.floor(ue.image.height*ve);ie.setTexture2D(ue,0),N.copyTexSubImage2D(N.TEXTURE_2D,be,0,0,U.x,U.y,fe,Qe),oe.unbindTexture()},this.copyTextureToTexture=function(U,ue,be,ve=0){const fe=ue.image.width,Qe=ue.image.height,it=pt.convert(be.format),at=pt.convert(be.type);ie.setTexture2D(be,0),N.pixelStorei(N.UNPACK_FLIP_Y_WEBGL,be.flipY),N.pixelStorei(N.UNPACK_PREMULTIPLY_ALPHA_WEBGL,be.premultiplyAlpha),N.pixelStorei(N.UNPACK_ALIGNMENT,be.unpackAlignment),ue.isDataTexture?N.texSubImage2D(N.TEXTURE_2D,ve,U.x,U.y,fe,Qe,it,at,ue.image.data):ue.isCompressedTexture?N.compressedTexSubImage2D(N.TEXTURE_2D,ve,U.x,U.y,ue.mipmaps[0].width,ue.mipmaps[0].height,it,ue.mipmaps[0].data):N.texSubImage2D(N.TEXTURE_2D,ve,U.x,U.y,it,at,ue.image),ve===0&&be.generateMipmaps&&N.generateMipmap(N.TEXTURE_2D),oe.unbindTexture()},this.copyTextureToTexture3D=function(U,ue,be,ve,fe=0){if(v.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const Qe=U.max.x-U.min.x+1,it=U.max.y-U.min.y+1,at=U.max.z-U.min.z+1,ut=pt.convert(ve.format),Et=pt.convert(ve.type);let ht;if(ve.isData3DTexture)ie.setTexture3D(ve,0),ht=N.TEXTURE_3D;else if(ve.isDataArrayTexture)ie.setTexture2DArray(ve,0),ht=N.TEXTURE_2D_ARRAY;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}N.pixelStorei(N.UNPACK_FLIP_Y_WEBGL,ve.flipY),N.pixelStorei(N.UNPACK_PREMULTIPLY_ALPHA_WEBGL,ve.premultiplyAlpha),N.pixelStorei(N.UNPACK_ALIGNMENT,ve.unpackAlignment);const mt=N.getParameter(N.UNPACK_ROW_LENGTH),tn=N.getParameter(N.UNPACK_IMAGE_HEIGHT),Pn=N.getParameter(N.UNPACK_SKIP_PIXELS),ln=N.getParameter(N.UNPACK_SKIP_ROWS),Ms=N.getParameter(N.UNPACK_SKIP_IMAGES),Qt=be.isCompressedTexture?be.mipmaps[0]:be.image;N.pixelStorei(N.UNPACK_ROW_LENGTH,Qt.width),N.pixelStorei(N.UNPACK_IMAGE_HEIGHT,Qt.height),N.pixelStorei(N.UNPACK_SKIP_PIXELS,U.min.x),N.pixelStorei(N.UNPACK_SKIP_ROWS,U.min.y),N.pixelStorei(N.UNPACK_SKIP_IMAGES,U.min.z),be.isDataTexture||be.isData3DTexture?N.texSubImage3D(ht,fe,ue.x,ue.y,ue.z,Qe,it,at,ut,Et,Qt.data):be.isCompressedArrayTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),N.compressedTexSubImage3D(ht,fe,ue.x,ue.y,ue.z,Qe,it,at,ut,Qt.data)):N.texSubImage3D(ht,fe,ue.x,ue.y,ue.z,Qe,it,at,ut,Et,Qt),N.pixelStorei(N.UNPACK_ROW_LENGTH,mt),N.pixelStorei(N.UNPACK_IMAGE_HEIGHT,tn),N.pixelStorei(N.UNPACK_SKIP_PIXELS,Pn),N.pixelStorei(N.UNPACK_SKIP_ROWS,ln),N.pixelStorei(N.UNPACK_SKIP_IMAGES,Ms),fe===0&&ve.generateMipmaps&&N.generateMipmap(ht),oe.unbindTexture()},this.initTexture=function(U){U.isCubeTexture?ie.setTextureCube(U,0):U.isData3DTexture?ie.setTexture3D(U,0):U.isDataArrayTexture||U.isCompressedArrayTexture?ie.setTexture2DArray(U,0):ie.setTexture2D(U,0),oe.unbindTexture()},this.resetState=function(){R=0,w=0,A=null,oe.reset(),st.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return Li}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=e===_y?"display-p3":"srgb",t.unpackColorSpace=Ft.workingColorSpace===Ep?"display-p3":"srgb"}get physicallyCorrectLights(){return console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),!this.useLegacyLights}set physicallyCorrectLights(e){console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."),this.useLegacyLights=!e}get outputEncoding(){return console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace===rn?no:_O}set outputEncoding(e){console.warn("THREE.WebGLRenderer: Property .outputEncoding has been removed. Use .outputColorSpace instead."),this.outputColorSpace=e===no?rn:Nn}get useLegacyLights(){return console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights}set useLegacyLights(e){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733."),this._useLegacyLights=e}}class Pkt extends kO{}Pkt.prototype.isWebGL1Renderer=!0;class Fkt extends nn{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return this.fog!==null&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(t.object.backgroundIntensity=this.backgroundIntensity),t}}class Ukt{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=e!==void 0?e.length/t:0,this.usage=yb,this._updateRange={offset:0,count:-1},this.updateRanges=[],this.version=0,this.uuid=Ys()}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}get updateRange(){return console.warn('THREE.InterleavedBuffer: "updateRange" is deprecated and removed in r169. Use "addUpdateRange()" instead.'),this._updateRange}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,s){e*=this.stride,s*=t.stride;for(let i=0,r=this.stride;ic)continue;f.applyMatrix4(this.matrixWorld);const M=e.ray.origin.distanceTo(f);Me.far||t.push({distance:M,point:h.clone().applyMatrix4(this.matrixWorld),index:v,face:null,faceIndex:null,object:this})}}else{const E=Math.max(0,o.start),y=Math.min(b.count,o.start+o.count);for(let v=E,S=y-1;vc)continue;f.applyMatrix4(this.matrixWorld);const w=e.ray.origin.distanceTo(f);we.far||t.push({distance:w,point:h.clone().applyMatrix4(this.matrixWorld),index:v,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const t=this.geometry.morphAttributes,s=Object.keys(t);if(s.length>0){const i=t[s[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,o=i.length;r0){const i=t[s[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let r=0,o=i.length;ri.far)return;r.push({distance:d,distanceToRay:Math.sqrt(a),point:c,index:e,face:null,object:o})}}class Sy extends Ws{constructor(e){super(),this.isMeshStandardMaterial=!0,this.defines={STANDARD:""},this.type="MeshStandardMaterial",this.color=new _t(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new _t(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=py,this.normalScale=new At(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class $i extends Sy{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new At(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return Mn(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(t){this.ior=(1+.4*t)/(1-.4*t)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new _t(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new _t(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new _t(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(e)}get anisotropy(){return this._anisotropy}set anisotropy(e){this._anisotropy>0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}}class Uw extends Ws{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new _t(16777215),this.specular=new _t(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new _t(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=py,this.normalScale=new At(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=dy,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}function Td(n,e,t){return!n||!t&&n.constructor===e?n:typeof e.BYTES_PER_ELEMENT=="number"?new e(n):Array.prototype.slice.call(n)}function Kkt(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function jkt(n){function e(i,r){return n[i]-n[r]}const t=n.length,s=new Array(t);for(let i=0;i!==t;++i)s[i]=i;return s.sort(e),s}function Bw(n,e,t){const s=n.length,i=new n.constructor(s);for(let r=0,o=0;o!==s;++r){const a=t[r]*e;for(let c=0;c!==e;++c)i[o++]=n[a+c]}return i}function FO(n,e,t,s){let i=1,r=n[0];for(;r!==void 0&&r[s]===void 0;)r=n[i++];if(r===void 0)return;let o=r[s];if(o!==void 0)if(Array.isArray(o))do o=r[s],o!==void 0&&(e.push(r.time),t.push.apply(t,o)),r=n[i++];while(r!==void 0);else if(o.toArray!==void 0)do o=r[s],o!==void 0&&(e.push(r.time),o.toArray(t,t.length)),r=n[i++];while(r!==void 0);else do o=r[s],o!==void 0&&(e.push(r.time),t.push(o)),r=n[i++];while(r!==void 0)}class gc{constructor(e,t,s,i){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=i!==void 0?i:new t.constructor(s),this.sampleValues=t,this.valueSize=s,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let s=this._cachedIndex,i=t[s],r=t[s-1];e:{t:{let o;n:{s:if(!(e=r)){const a=t[1];e=r)break t}o=s,s=0;break n}break e}for(;s>>1;et;)--o;if(++o,r!==0||o!==i){r>=o&&(o=Math.max(o,1),r=o-1);const a=this.getValueSize();this.times=s.slice(r,o),this.values=this.values.slice(r*a,o*a)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const s=this.times,i=this.values,r=s.length;r===0&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let a=0;a!==r;a++){const c=s[a];if(typeof c=="number"&&isNaN(c)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,a,c),e=!1;break}if(o!==null&&o>c){console.error("THREE.KeyframeTrack: Out of order keys.",this,a,c,o),e=!1;break}o=c}if(i!==void 0&&Kkt(i))for(let a=0,c=i.length;a!==c;++a){const d=i[a];if(isNaN(d)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,a,d),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),s=this.getValueSize(),i=this.getInterpolation()===jm,r=e.length-1;let o=1;for(let a=1;a0){e[o]=e[r];for(let a=r*s,c=o*s,d=0;d!==s;++d)t[c+d]=t[a+d];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*s)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),s=this.constructor,i=new s(this.name,e,t);return i.createInterpolant=this.createInterpolant,i}}yi.prototype.TimeBufferType=Float32Array;yi.prototype.ValueBufferType=Float32Array;yi.prototype.DefaultInterpolation=Ta;class Wa extends yi{}Wa.prototype.ValueTypeName="bool";Wa.prototype.ValueBufferType=Array;Wa.prototype.DefaultInterpolation=sc;Wa.prototype.InterpolantFactoryMethodLinear=void 0;Wa.prototype.InterpolantFactoryMethodSmooth=void 0;class UO extends yi{}UO.prototype.ValueTypeName="color";class wa extends yi{}wa.prototype.ValueTypeName="number";class Jkt extends gc{constructor(e,t,s,i){super(e,t,s,i)}interpolate_(e,t,s,i){const r=this.resultBuffer,o=this.sampleValues,a=this.valueSize,c=(s-t)/(i-t);let d=e*a;for(let u=d+a;d!==u;d+=4)wr.slerpFlat(r,0,o,d-a,o,d,c);return r}}class _o extends yi{InterpolantFactoryMethodLinear(e){return new Jkt(this.times,this.values,this.getValueSize(),e)}}_o.prototype.ValueTypeName="quaternion";_o.prototype.DefaultInterpolation=Ta;_o.prototype.InterpolantFactoryMethodSmooth=void 0;class Ka extends yi{}Ka.prototype.ValueTypeName="string";Ka.prototype.ValueBufferType=Array;Ka.prototype.DefaultInterpolation=sc;Ka.prototype.InterpolantFactoryMethodLinear=void 0;Ka.prototype.InterpolantFactoryMethodSmooth=void 0;class Ra extends yi{}Ra.prototype.ValueTypeName="vector";class eDt{constructor(e,t=-1,s,i=r2t){this.name=e,this.tracks=s,this.duration=t,this.blendMode=i,this.uuid=Ys(),this.duration<0&&this.resetDuration()}static parse(e){const t=[],s=e.tracks,i=1/(e.fps||1);for(let o=0,a=s.length;o!==a;++o)t.push(nDt(s[o]).scale(i));const r=new this(e.name,e.duration,t,e.blendMode);return r.uuid=e.uuid,r}static toJSON(e){const t=[],s=e.tracks,i={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode};for(let r=0,o=s.length;r!==o;++r)t.push(yi.toJSON(s[r]));return i}static CreateFromMorphTargetSequence(e,t,s,i){const r=t.length,o=[];for(let a=0;a1){const h=u[1];let f=i[h];f||(i[h]=f=[]),f.push(d)}}const o=[];for(const a in i)o.push(this.CreateFromMorphTargetSequence(a,i[a],t,s));return o}static parseAnimation(e,t){if(!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const s=function(h,f,m,_,g){if(m.length!==0){const b=[],E=[];FO(m,b,E,_),b.length!==0&&g.push(new h(f,b,E))}},i=[],r=e.name||"default",o=e.fps||30,a=e.blendMode;let c=e.length||-1;const d=e.hierarchy||[];for(let h=0;h{t&&t(r),this.manager.itemEnd(e)},0),r;if(Ni[e]!==void 0){Ni[e].push({onLoad:t,onProgress:s,onError:i});return}Ni[e]=[],Ni[e].push({onLoad:t,onProgress:s,onError:i});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,c=this.responseType;fetch(o).then(d=>{if(d.status===200||d.status===0){if(d.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||d.body===void 0||d.body.getReader===void 0)return d;const u=Ni[e],h=d.body.getReader(),f=d.headers.get("Content-Length")||d.headers.get("X-File-Size"),m=f?parseInt(f):0,_=m!==0;let g=0;const b=new ReadableStream({start(E){y();function y(){h.read().then(({done:v,value:S})=>{if(v)E.close();else{g+=S.byteLength;const R=new ProgressEvent("progress",{lengthComputable:_,loaded:g,total:m});for(let w=0,A=u.length;w{switch(c){case"arraybuffer":return d.arrayBuffer();case"blob":return d.blob();case"document":return d.text().then(u=>new DOMParser().parseFromString(u,a));case"json":return d.json();default:if(a===void 0)return d.text();{const h=/charset="?([^;"\s]*)"?/i.exec(a),f=h&&h[1]?h[1].toLowerCase():void 0,m=new TextDecoder(f);return d.arrayBuffer().then(_=>m.decode(_))}}}).then(d=>{Aa.add(e,d);const u=Ni[e];delete Ni[e];for(let h=0,f=u.length;h{const u=Ni[e];if(u===void 0)throw this.manager.itemError(e),d;delete Ni[e];for(let h=0,f=u.length;h{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class oDt extends ja{constructor(e){super(e)}load(e,t,s,i){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const r=this,o=Aa.get(e);if(o!==void 0)return r.manager.itemStart(e),setTimeout(function(){t&&t(o),r.manager.itemEnd(e)},0),o;const a=ic("img");function c(){u(),Aa.add(e,this),t&&t(this),r.manager.itemEnd(e)}function d(h){u(),i&&i(h),r.manager.itemError(e),r.manager.itemEnd(e)}function u(){a.removeEventListener("load",c,!1),a.removeEventListener("error",d,!1)}return a.addEventListener("load",c,!1),a.addEventListener("error",d,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),r.manager.itemStart(e),a.src=e,a}}class GO extends ja{constructor(e){super(e)}load(e,t,s,i){const r=new An,o=new oDt(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(e,function(a){r.image=a,r.needsUpdate=!0,t!==void 0&&t(r)},s,i),r}}class Tp extends nn{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new _t(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,this.groundColor!==void 0&&(t.object.groundColor=this.groundColor.getHex()),this.distance!==void 0&&(t.object.distance=this.distance),this.angle!==void 0&&(t.object.angle=this.angle),this.decay!==void 0&&(t.object.decay=this.decay),this.penumbra!==void 0&&(t.object.penumbra=this.penumbra),this.shadow!==void 0&&(t.object.shadow=this.shadow.toJSON()),t}}const Sg=new xt,Gw=new ae,Vw=new ae;class Ty{constructor(e){this.camera=e,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new At(512,512),this.map=null,this.mapPass=null,this.matrix=new xt,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new fy,this._frameExtents=new At(1,1),this._viewportCount=1,this._viewports=[new Wt(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,s=this.matrix;Gw.setFromMatrixPosition(e.matrixWorld),t.position.copy(Gw),Vw.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(Vw),t.updateMatrixWorld(),Sg.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Sg),s.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),s.multiply(Sg)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.bias=e.bias,this.radius=e.radius,this.mapSize.copy(e.mapSize),this}clone(){return new this.constructor().copy(this)}toJSON(){const e={};return this.bias!==0&&(e.bias=this.bias),this.normalBias!==0&&(e.normalBias=this.normalBias),this.radius!==1&&(e.radius=this.radius),(this.mapSize.x!==512||this.mapSize.y!==512)&&(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class aDt extends Ty{constructor(){super(new Gn(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1}updateMatrices(e){const t=this.camera,s=xa*2*e.angle*this.focus,i=this.mapSize.width/this.mapSize.height,r=e.distance||t.far;(s!==t.fov||i!==t.aspect||r!==t.far)&&(t.fov=s,t.aspect=i,t.far=r,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class lDt extends Tp{constructor(e,t,s=0,i=Math.PI/3,r=0,o=2){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(nn.DEFAULT_UP),this.updateMatrix(),this.target=new nn,this.distance=s,this.angle=i,this.penumbra=r,this.decay=o,this.map=null,this.shadow=new aDt}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const zw=new xt,_l=new ae,Tg=new ae;class cDt extends Ty{constructor(){super(new Gn(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new At(4,2),this._viewportCount=6,this._viewports=[new Wt(2,1,1,1),new Wt(0,1,1,1),new Wt(3,1,1,1),new Wt(1,1,1,1),new Wt(3,0,1,1),new Wt(1,0,1,1)],this._cubeDirections=[new ae(1,0,0),new ae(-1,0,0),new ae(0,0,1),new ae(0,0,-1),new ae(0,1,0),new ae(0,-1,0)],this._cubeUps=[new ae(0,1,0),new ae(0,1,0),new ae(0,1,0),new ae(0,1,0),new ae(0,0,1),new ae(0,0,-1)]}updateMatrices(e,t=0){const s=this.camera,i=this.matrix,r=e.distance||s.far;r!==s.far&&(s.far=r,s.updateProjectionMatrix()),_l.setFromMatrixPosition(e.matrixWorld),s.position.copy(_l),Tg.copy(s.position),Tg.add(this._cubeDirections[t]),s.up.copy(this._cubeUps[t]),s.lookAt(Tg),s.updateMatrixWorld(),i.makeTranslation(-_l.x,-_l.y,-_l.z),zw.multiplyMatrices(s.projectionMatrix,s.matrixWorldInverse),this._frustum.setFromProjectionMatrix(zw)}}class dDt extends Tp{constructor(e,t,s=0,i=2){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=s,this.decay=i,this.shadow=new cDt}get power(){return this.intensity*4*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class uDt extends Ty{constructor(){super(new gy(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class VO extends Tp{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(nn.DEFAULT_UP),this.updateMatrix(),this.target=new nn,this.shadow=new uDt}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class pDt extends Tp{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type="AmbientLight"}}class Pl{static decodeText(e){if(typeof TextDecoder<"u")return new TextDecoder().decode(e);let t="";for(let s=0,i=e.length;s"u"&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"}}setOptions(e){return this.options=e,this}load(e,t,s,i){e===void 0&&(e=""),this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const r=this,o=Aa.get(e);if(o!==void 0)return r.manager.itemStart(e),setTimeout(function(){t&&t(o),r.manager.itemEnd(e)},0),o;const a={};a.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",a.headers=this.requestHeader,fetch(e,a).then(function(c){return c.blob()}).then(function(c){return createImageBitmap(c,Object.assign(r.options,{colorSpaceConversion:"none"}))}).then(function(c){Aa.add(e,c),t&&t(c),r.manager.itemEnd(e)}).catch(function(c){i&&i(c),r.manager.itemError(e),r.manager.itemEnd(e)}),r.manager.itemStart(e)}}const xy="\\[\\]\\.:\\/",hDt=new RegExp("["+xy+"]","g"),Cy="[^"+xy+"]",fDt="[^"+xy.replace("\\.","")+"]",mDt=/((?:WC+[\/:])*)/.source.replace("WC",Cy),gDt=/(WCOD+)?/.source.replace("WCOD",fDt),bDt=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",Cy),EDt=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",Cy),yDt=new RegExp("^"+mDt+gDt+bDt+EDt+"$"),vDt=["material","materials","bones","map"];class SDt{constructor(e,t,s){const i=s||Bt.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,i)}getValue(e,t){this.bind();const s=this._targetGroup.nCachedObjects_,i=this._bindings[s];i!==void 0&&i.getValue(e,t)}setValue(e,t){const s=this._bindings;for(let i=this._targetGroup.nCachedObjects_,r=s.length;i!==r;++i)s[i].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,s=e.length;t!==s;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,s=e.length;t!==s;++t)e[t].unbind()}}class Bt{constructor(e,t,s){this.path=t,this.parsedPath=s||Bt.parseTrackName(t),this.node=Bt.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,s){return e&&e.isAnimationObjectGroup?new Bt.Composite(e,t,s):new Bt(e,t,s)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(hDt,"")}static parseTrackName(e){const t=yDt.exec(e);if(t===null)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const s={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},i=s.nodeName&&s.nodeName.lastIndexOf(".");if(i!==void 0&&i!==-1){const r=s.nodeName.substring(i+1);vDt.indexOf(r)!==-1&&(s.nodeName=s.nodeName.substring(0,i),s.objectName=r)}if(s.propertyName===null||s.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return s}static findNode(e,t){if(t===void 0||t===""||t==="."||t===-1||t===e.name||t===e.uuid)return e;if(e.skeleton){const s=e.skeleton.getBoneByName(t);if(s!==void 0)return s}if(e.children){const s=function(r){for(let o=0;o=2.0 are supported."));return}const d=new tLt(r,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});d.fileLoader.setRequestHeader(this.requestHeader);for(let u=0;u=0&&a[h]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+h+'".')}}d.setExtensions(o),d.setPlugins(a),d.parse(s,i)}parseAsync(e,t){const s=this;return new Promise(function(i,r){s.parse(e,t,i,r)})}}function xDt(){let n={};return{get:function(e){return n[e]},add:function(e,t){n[e]=t},remove:function(e){delete n[e]},removeAll:function(){n={}}}}const Rt={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class CDt{constructor(e){this.parser=e,this.name=Rt.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let s=0,i=t.length;s=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,r.source,o)}}class UDt{constructor(e){this.parser=e,this.name=Rt.EXT_TEXTURE_WEBP,this.isSupported=null}loadTexture(e){const t=this.name,s=this.parser,i=s.json,r=i.textures[e];if(!r.extensions||!r.extensions[t])return null;const o=r.extensions[t],a=i.images[o.source];let c=s.textureLoader;if(a.uri){const d=s.options.manager.getHandler(a.uri);d!==null&&(c=d)}return this.detectSupport().then(function(d){if(d)return s.loadTextureImage(e,o.source,c);if(i.extensionsRequired&&i.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return s.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class BDt{constructor(e){this.parser=e,this.name=Rt.EXT_TEXTURE_AVIF,this.isSupported=null}loadTexture(e){const t=this.name,s=this.parser,i=s.json,r=i.textures[e];if(!r.extensions||!r.extensions[t])return null;const o=r.extensions[t],a=i.images[o.source];let c=s.textureLoader;if(a.uri){const d=s.options.manager.getHandler(a.uri);d!==null&&(c=d)}return this.detectSupport().then(function(d){if(d)return s.loadTextureImage(e,o.source,c);if(i.extensionsRequired&&i.extensionsRequired.indexOf(t)>=0)throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return s.loadTexture(e)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(e){const t=new Image;t.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",t.onload=t.onerror=function(){e(t.height===1)}})),this.isSupported}}class GDt{constructor(e){this.name=Rt.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,s=t.bufferViews[e];if(s.extensions&&s.extensions[this.name]){const i=s.extensions[this.name],r=this.parser.getDependency("buffer",i.buffer),o=this.parser.options.meshoptDecoder;if(!o||!o.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return r.then(function(a){const c=i.byteOffset||0,d=i.byteLength||0,u=i.count,h=i.byteStride,f=new Uint8Array(a,c,d);return o.decodeGltfBufferAsync?o.decodeGltfBufferAsync(u,h,f,i.mode,i.filter).then(function(m){return m.buffer}):o.ready.then(function(){const m=new ArrayBuffer(u*h);return o.decodeGltfBuffer(new Uint8Array(m),u,h,f,i.mode,i.filter),m})})}else return null}}class VDt{constructor(e){this.name=Rt.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){const t=this.parser.json,s=t.nodes[e];if(!s.extensions||!s.extensions[this.name]||s.mesh===void 0)return null;const i=t.meshes[s.mesh];for(const d of i.primitives)if(d.mode!==_s.TRIANGLES&&d.mode!==_s.TRIANGLE_STRIP&&d.mode!==_s.TRIANGLE_FAN&&d.mode!==void 0)return null;const o=s.extensions[this.name].attributes,a=[],c={};for(const d in o)a.push(this.parser.getDependency("accessor",o[d]).then(u=>(c[d]=u,c[d])));return a.length<1?null:(a.push(this.parser.createNodeMesh(e)),Promise.all(a).then(d=>{const u=d.pop(),h=u.isGroup?u.children:[u],f=d[0].count,m=[];for(const _ of h){const g=new xt,b=new ae,E=new wr,y=new ae(1,1,1),v=new qkt(_.geometry,_.material,f);for(let S=0;S0||n.search(/^data\:image\/jpeg/)===0?"image/jpeg":n.search(/\.webp($|\?)/i)>0||n.search(/^data\:image\/webp/)===0?"image/webp":"image/png"}const eLt=new xt;class tLt{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new xDt,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let s=!1,i=!1,r=-1;typeof navigator<"u"&&(s=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===!0,i=navigator.userAgent.indexOf("Firefox")>-1,r=i?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1),typeof createImageBitmap>"u"||s||i&&r<98?this.textureLoader=new GO(this.options.manager):this.textureLoader=new _Dt(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new BO(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),this.options.crossOrigin==="use-credentials"&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const s=this,i=this.json,r=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(o){return o._markDefs&&o._markDefs()}),Promise.all(this._invokeAll(function(o){return o.beforeRoot&&o.beforeRoot()})).then(function(){return Promise.all([s.getDependencies("scene"),s.getDependencies("animation"),s.getDependencies("camera")])}).then(function(o){const a={scene:o[0][i.scene||0],scenes:o[0],animations:o[1],cameras:o[2],asset:i.asset,parser:s,userData:{}};return Pr(r,a,i),dr(a,i),Promise.all(s._invokeAll(function(c){return c.afterRoot&&c.afterRoot(a)})).then(function(){e(a)})}).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],s=this.json.meshes||[];for(let i=0,r=t.length;i{const c=this.associations.get(o);c!=null&&this.associations.set(a,c);for(const[d,u]of o.children.entries())r(u,a.children[d])};return r(s,i),i.name+="_instance_"+e.uses[t]++,i}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let s=0;s=2&&b.setY(x,w[A*c+1]),c>=3&&b.setZ(x,w[A*c+2]),c>=4&&b.setW(x,w[A*c+3]),c>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return b})}loadTexture(e){const t=this.json,s=this.options,r=t.textures[e].source,o=t.images[r];let a=this.textureLoader;if(o.uri){const c=s.manager.getHandler(o.uri);c!==null&&(a=c)}return this.loadTextureImage(e,r,a)}loadTextureImage(e,t,s){const i=this,r=this.json,o=r.textures[e],a=r.images[t],c=(a.uri||a.bufferView)+":"+o.sampler;if(this.textureCache[c])return this.textureCache[c];const d=this.loadImageSource(t,s).then(function(u){u.flipY=!1,u.name=o.name||a.name||"",u.name===""&&typeof a.uri=="string"&&a.uri.startsWith("data:image/")===!1&&(u.name=a.uri);const f=(r.samplers||{})[o.sampler]||{};return u.magFilter=$w[f.magFilter]||$n,u.minFilter=$w[f.minFilter]||co,u.wrapS=Yw[f.wrapS]||va,u.wrapT=Yw[f.wrapT]||va,i.associations.set(u,{textures:e}),u}).catch(function(){return null});return this.textureCache[c]=d,d}loadImageSource(e,t){const s=this,i=this.json,r=this.options;if(this.sourceCache[e]!==void 0)return this.sourceCache[e].then(h=>h.clone());const o=i.images[e],a=self.URL||self.webkitURL;let c=o.uri||"",d=!1;if(o.bufferView!==void 0)c=s.getDependency("bufferView",o.bufferView).then(function(h){d=!0;const f=new Blob([h],{type:o.mimeType});return c=a.createObjectURL(f),c});else if(o.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const u=Promise.resolve(c).then(function(h){return new Promise(function(f,m){let _=f;t.isImageBitmapLoader===!0&&(_=function(g){const b=new An(g);b.needsUpdate=!0,f(b)}),t.load(Pl.resolveURL(h,r.path),_,void 0,m)})}).then(function(h){return d===!0&&a.revokeObjectURL(c),h.userData.mimeType=o.mimeType||JDt(o.uri),h}).catch(function(h){throw console.error("THREE.GLTFLoader: Couldn't load texture",c),h});return this.sourceCache[e]=u,u}assignTexture(e,t,s,i){const r=this;return this.getDependency("texture",s.index).then(function(o){if(!o)return null;if(s.texCoord!==void 0&&s.texCoord>0&&(o=o.clone(),o.channel=s.texCoord),r.extensions[Rt.KHR_TEXTURE_TRANSFORM]){const a=s.extensions!==void 0?s.extensions[Rt.KHR_TEXTURE_TRANSFORM]:void 0;if(a){const c=r.associations.get(o);o=r.extensions[Rt.KHR_TEXTURE_TRANSFORM].extendTexture(o,a),r.associations.set(o,c)}}return i!==void 0&&(o.colorSpace=i),e[t]=o,o})}assignFinalMaterial(e){const t=e.geometry;let s=e.material;const i=t.attributes.tangent===void 0,r=t.attributes.color!==void 0,o=t.attributes.normal===void 0;if(e.isPoints){const a="PointsMaterial:"+s.uuid;let c=this.cache.get(a);c||(c=new PO,Ws.prototype.copy.call(c,s),c.color.copy(s.color),c.map=s.map,c.sizeAttenuation=!1,this.cache.add(a,c)),s=c}else if(e.isLine){const a="LineBasicMaterial:"+s.uuid;let c=this.cache.get(a);c||(c=new LO,Ws.prototype.copy.call(c,s),c.color.copy(s.color),c.map=s.map,this.cache.add(a,c)),s=c}if(i||r||o){let a="ClonedMaterial:"+s.uuid+":";i&&(a+="derivative-tangents:"),r&&(a+="vertex-colors:"),o&&(a+="flat-shading:");let c=this.cache.get(a);c||(c=s.clone(),r&&(c.vertexColors=!0),o&&(c.flatShading=!0),i&&(c.normalScale&&(c.normalScale.y*=-1),c.clearcoatNormalScale&&(c.clearcoatNormalScale.y*=-1)),this.cache.add(a,c),this.associations.set(c,this.associations.get(s))),s=c}e.material=s}getMaterialType(){return Sy}loadMaterial(e){const t=this,s=this.json,i=this.extensions,r=s.materials[e];let o;const a={},c=r.extensions||{},d=[];if(c[Rt.KHR_MATERIALS_UNLIT]){const h=i[Rt.KHR_MATERIALS_UNLIT];o=h.getMaterialType(),d.push(h.extendParams(a,r,t))}else{const h=r.pbrMetallicRoughness||{};if(a.color=new _t(1,1,1),a.opacity=1,Array.isArray(h.baseColorFactor)){const f=h.baseColorFactor;a.color.setRGB(f[0],f[1],f[2],Nn),a.opacity=f[3]}h.baseColorTexture!==void 0&&d.push(t.assignTexture(a,"map",h.baseColorTexture,rn)),a.metalness=h.metallicFactor!==void 0?h.metallicFactor:1,a.roughness=h.roughnessFactor!==void 0?h.roughnessFactor:1,h.metallicRoughnessTexture!==void 0&&(d.push(t.assignTexture(a,"metalnessMap",h.metallicRoughnessTexture)),d.push(t.assignTexture(a,"roughnessMap",h.metallicRoughnessTexture))),o=this._invokeOne(function(f){return f.getMaterialType&&f.getMaterialType(e)}),d.push(Promise.all(this._invokeAll(function(f){return f.extendMaterialParams&&f.extendMaterialParams(e,a)})))}r.doubleSided===!0&&(a.side=ri);const u=r.alphaMode||Cg.OPAQUE;if(u===Cg.BLEND?(a.transparent=!0,a.depthWrite=!1):(a.transparent=!1,u===Cg.MASK&&(a.alphaTest=r.alphaCutoff!==void 0?r.alphaCutoff:.5)),r.normalTexture!==void 0&&o!==hr&&(d.push(t.assignTexture(a,"normalMap",r.normalTexture)),a.normalScale=new At(1,1),r.normalTexture.scale!==void 0)){const h=r.normalTexture.scale;a.normalScale.set(h,h)}if(r.occlusionTexture!==void 0&&o!==hr&&(d.push(t.assignTexture(a,"aoMap",r.occlusionTexture)),r.occlusionTexture.strength!==void 0&&(a.aoMapIntensity=r.occlusionTexture.strength)),r.emissiveFactor!==void 0&&o!==hr){const h=r.emissiveFactor;a.emissive=new _t().setRGB(h[0],h[1],h[2],Nn)}return r.emissiveTexture!==void 0&&o!==hr&&d.push(t.assignTexture(a,"emissiveMap",r.emissiveTexture,rn)),Promise.all(d).then(function(){const h=new o(a);return r.name&&(h.name=r.name),dr(h,r),t.associations.set(h,{materials:e}),r.extensions&&Pr(i,h,r),h})}createUniqueName(e){const t=Bt.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){const t=this,s=this.extensions,i=this.primitiveCache;function r(a){return s[Rt.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(a,t).then(function(c){return Ww(c,a,t)})}const o=[];for(let a=0,c=e.length;a0&&XDt(E,r),E.name=t.createUniqueName(r.name||"mesh_"+e),dr(E,r),b.extensions&&Pr(i,E,b),t.assignFinalMaterial(E),h.push(E)}for(let m=0,_=h.length;m<_;m++)t.associations.set(h[m],{meshes:e,primitives:m});if(h.length===1)return r.extensions&&Pr(i,h[0],r),h[0];const f=new jr;r.extensions&&Pr(i,f,r),t.associations.set(f,{meshes:e});for(let m=0,_=h.length;m<_;m++)f.add(h[m]);return f})}loadCamera(e){let t;const s=this.json.cameras[e],i=s[s.type];if(!i){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}return s.type==="perspective"?t=new Gn(I2t.radToDeg(i.yfov),i.aspectRatio||1,i.znear||1,i.zfar||2e6):s.type==="orthographic"&&(t=new gy(-i.xmag,i.xmag,i.ymag,-i.ymag,i.znear,i.zfar)),s.name&&(t.name=this.createUniqueName(s.name)),dr(t,s),Promise.resolve(t)}loadSkin(e){const t=this.json.skins[e],s=[];for(let i=0,r=t.joints.length;i1?u=new jr:d.length===1?u=d[0]:u=new nn,u!==d[0])for(let h=0,f=d.length;h{const h=new Map;for(const[f,m]of i.associations)(f instanceof Ws||f instanceof An)&&h.set(f,m);return u.traverse(f=>{const m=i.associations.get(f);m!=null&&h.set(f,m)}),h};return i.associations=d(r),r})}_createAnimationTracks(e,t,s,i,r){const o=[],a=e.name?e.name:e.uuid,c=[];tr[r.path]===tr.weights?e.traverse(function(f){f.morphTargetInfluences&&c.push(f.name?f.name:f.uuid)}):c.push(a);let d;switch(tr[r.path]){case tr.weights:d=wa;break;case tr.rotation:d=_o;break;case tr.position:case tr.scale:d=Ra;break;default:switch(s.itemSize){case 1:d=wa;break;case 2:case 3:default:d=Ra;break}break}const u=i.interpolation!==void 0?KDt[i.interpolation]:Ta,h=this._getArrayFromAccessor(s);for(let f=0,m=c.length;f{ze.replace()})},stopVideoStream(){this.isVideoActive=!1,this.imageData=null,qe.emit("stop_webcam_video_stream"),Le(()=>{ze.replace()})},startDrag(n){this.isDragging=!0,this.zIndex=5001,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.stopDrag)},drag(n){if(this.isDragging){const e=n.clientX-this.dragStart.x,t=n.clientY-this.dragStart.y;this.position.bottom-=t,this.position.right-=e,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY}},stopDrag(){this.isDragging=!1,this.zIndex=0,document.removeEventListener("mousemove",this.drag),document.removeEventListener("mouseup",this.stopDrag)}},mounted(){ze.replace(),qe.on("video_stream_image",n=>{if(this.isVideoActive){this.imageDataUrl="data:image/jpeg;base64,"+n,this.frameCount++;const e=Date.now();e-this.lastFrameTime>=1e3&&(this.frameRate=this.frameCount,this.frameCount=0,this.lastFrameTime=e)}})}},iLt=["src"],rLt=["src"],oLt={class:"controls"},aLt=l("i",{"data-feather":"video"},null,-1),lLt=[aLt],cLt=l("i",{"data-feather":"video"},null,-1),dLt=[cLt],uLt={key:2};function pLt(n,e,t,s,i,r){return T(),C("div",{class:"floating-frame bg-white",style:jt({bottom:i.position.bottom+"px",right:i.position.right+"px","z-index":i.zIndex}),onMousedown:e[4]||(e[4]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[5]||(e[5]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},[l("div",{class:"handle",onMousedown:e[0]||(e[0]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[1]||(e[1]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},"Drag Me",32),i.isVideoActive&&i.imageDataUrl!=null?(T(),C("img",{key:0,src:i.imageDataUrl,alt:"Webcam Frame",width:"300",height:"300"},null,8,iLt)):G("",!0),i.isVideoActive&&i.imageDataUrl==null?(T(),C("p",{key:1,src:i.imageDataUrl,alt:"Webcam Frame",width:"300",height:"300"},"Loading. Please wait...",8,rLt)):G("",!0),l("div",oLt,[i.isVideoActive?G("",!0):(T(),C("button",{key:0,class:"bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded",onClick:e[2]||(e[2]=(...o)=>r.startVideoStream&&r.startVideoStream(...o))},lLt)),i.isVideoActive?(T(),C("button",{key:1,class:"bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",onClick:e[3]||(e[3]=(...o)=>r.stopVideoStream&&r.stopVideoStream(...o))},dLt)):G("",!0),i.isVideoActive?(T(),C("span",uLt,"FPS: "+K(i.frameRate),1)):G("",!0)])],36)}const _Lt=ot(sLt,[["render",pLt]]);const hLt={data(){return{isAudioActive:!1,imageDataUrl:null,isDragging:!1,position:{bottom:0,right:0},dragStart:{x:0,y:0},zIndex:0,frameRate:0,frameCount:0,lastFrameTime:Date.now()}},methods:{startAudioStream(){qe.emit("start_audio_stream",()=>{this.isAudioActive=!0}),Le(()=>{ze.replace()})},stopAudioStream(){qe.emit("stop_audio_stream",()=>{this.isAudioActive=!1,this.imageDataUrl=null}),Le(()=>{ze.replace()})},startDrag(n){this.isDragging=!0,this.zIndex=5001,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY,document.addEventListener("mousemove",this.drag),document.addEventListener("mouseup",this.stopDrag)},drag(n){if(this.isDragging){const e=n.clientX-this.dragStart.x,t=n.clientY-this.dragStart.y;this.position.bottom-=t,this.position.right-=e,this.dragStart.x=n.clientX,this.dragStart.y=n.clientY}},stopDrag(){this.isDragging=!1,this.zIndex=0,document.removeEventListener("mousemove",this.drag),document.removeEventListener("mouseup",this.stopDrag)}},mounted(){ze.replace(),qe.on("update_spectrogram",n=>{if(this.isAudioActive){this.imageDataUrl="data:image/jpeg;base64,"+n,this.frameCount++;const e=Date.now();e-this.lastFrameTime>=1e3&&(this.frameRate=this.frameCount,this.frameCount=0,this.lastFrameTime=e)}})}},fLt=["src"],mLt={class:"controls"},gLt=l("i",{"data-feather":"mic"},null,-1),bLt=[gLt],ELt=l("i",{"data-feather":"mic"},null,-1),yLt=[ELt];function vLt(n,e,t,s,i,r){return T(),C("div",{class:"floating-frame bg-white",style:jt({bottom:i.position.bottom+"px",right:i.position.right+"px","z-index":i.zIndex}),onMousedown:e[4]||(e[4]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[5]||(e[5]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},[l("div",{class:"handle",onMousedown:e[0]||(e[0]=j((...o)=>r.startDrag&&r.startDrag(...o),["stop"])),onMouseup:e[1]||(e[1]=j((...o)=>r.stopDrag&&r.stopDrag(...o),["stop"]))},"Drag Me",32),i.isAudioActive&&i.imageDataUrl!=null?(T(),C("img",{key:0,src:i.imageDataUrl,alt:"Spectrogram",width:"300",height:"300"},null,8,fLt)):G("",!0),l("div",mLt,[i.isAudioActive?G("",!0):(T(),C("button",{key:0,class:"bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded",onClick:e[2]||(e[2]=(...o)=>r.startAudioStream&&r.startAudioStream(...o))},bLt)),i.isAudioActive?(T(),C("button",{key:1,class:"bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",onClick:e[3]||(e[3]=(...o)=>r.stopAudioStream&&r.stopAudioStream(...o))},yLt)):G("",!0)])],36)}const SLt=ot(hLt,[["render",vLt]]);const TLt={data(){return{activePersonality:null}},props:{personality:{type:Object,default:()=>({})}},components:{VideoFrame:_Lt,AudioFrame:SLt},computed:{isReady:{get(){return this.$store.state.ready}}},watch:{"$store.state.mountedPersArr":"updatePersonality","$store.state.config.active_personality_id":"updatePersonality"},async mounted(){for(;this.isReady===!1;)await new Promise(n=>setTimeout(n,100));console.log("Personality:",this.personality),this.initWebGLScene(),this.updatePersonality(),Le(()=>{ze.replace()}),this.$refs.video_frame.position={bottom:0,right:0},this.$refs.audio_frame.position={bottom:0,right:100}},beforeDestroy(){},methods:{initWebGLScene(){this.scene=new Fkt,this.camera=new Gn(75,window.innerWidth/window.innerHeight,.1,1e3),this.renderer=new kO,this.renderer.setSize(window.innerWidth,window.innerHeight),this.$refs.webglContainer.appendChild(this.renderer.domElement);const n=new yr,e=new Uw({color:65280});this.cube=new Vn(n,e),this.scene.add(this.cube);const t=new pDt(4210752),s=new VO(16777215,.5);s.position.set(0,1,0),this.scene.add(t),this.scene.add(s),this.camera.position.z=5,this.animate()},updatePersonality(){const{mountedPersArr:n,config:e}=this.$store.state;this.activePersonality=n[e.active_personality_id],this.activePersonality.avatar?this.showBoxWithAvatar(this.activePersonality.avatar):this.showDefaultCube(),this.$emit("update:personality",this.activePersonality)},loadScene(n){new TDt().load(n,t=>{this.scene.remove(this.cube),this.cube=t.scene,this.scene.add(this.cube)})},showBoxWithAvatar(n){this.cube&&this.scene.remove(this.cube);const e=new yr,t=new GO().load(n),s=new hr({map:t});this.cube=new Vn(e,s),this.scene.add(this.cube)},showDefaultCube(){this.scene.remove(this.cube);const n=new yr,e=new Uw({color:65280});this.cube=new Vn(n,e),this.scene.add(this.cube)},animate(){requestAnimationFrame(this.animate),this.cube&&(this.cube.rotation.x+=.01,this.cube.rotation.y+=.01),this.renderer.render(this.scene,this.camera)}}},xLt={ref:"webglContainer"},CLt={class:"flex-col y-overflow 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"},wLt={key:0,class:"text-center"},RLt={key:1,class:"text-center"},ALt={class:"floating-frame2"},NLt=["innerHTML"];function OLt(n,e,t,s,i,r){const o=tt("VideoFrame"),a=tt("AudioFrame");return T(),C(Ge,null,[l("div",xLt,null,512),l("div",CLt,[!i.activePersonality||!i.activePersonality.scene_path?(T(),C("div",wLt," Personality does not have a 3d avatar. ")):G("",!0),!i.activePersonality||!i.activePersonality.avatar||i.activePersonality.avatar===""?(T(),C("div",RLt," Personality does not have an avatar. ")):G("",!0),l("div",ALt,[l("div",{innerHTML:n.htmlContent},null,8,NLt)])]),V(o,{ref:"video_frame"},null,512),V(a,{ref:"audio_frame"},null,512)],64)}const ILt=ot(TLt,[["render",OLt]]);let xd;const MLt=new Uint8Array(16);function kLt(){if(!xd&&(xd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xd(MLt)}const xn=[];for(let n=0;n<256;++n)xn.push((n+256).toString(16).slice(1));function DLt(n,e=0){return xn[n[e+0]]+xn[n[e+1]]+xn[n[e+2]]+xn[n[e+3]]+"-"+xn[n[e+4]]+xn[n[e+5]]+"-"+xn[n[e+6]]+xn[n[e+7]]+"-"+xn[n[e+8]]+xn[n[e+9]]+"-"+xn[n[e+10]]+xn[n[e+11]]+xn[n[e+12]]+xn[n[e+13]]+xn[n[e+14]]+xn[n[e+15]]}const LLt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Kw={randomUUID:LLt};function Fi(n,e,t){if(Kw.randomUUID&&!e&&!n)return Kw.randomUUID();n=n||{};const s=n.random||(n.rng||kLt)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=s[i];return e}return DLt(s)}class so{constructor(){this.listenerMap=new Map,this._listeners=[],this.proxyMap=new Map,this.proxies=[]}get listeners(){return this._listeners.concat(this.proxies.flatMap(e=>e()))}subscribe(e,t){this.listenerMap.has(e)&&(console.warn(`Already subscribed. Unsubscribing for you. Please check that you don't accidentally use the same token twice to register two different handlers for the same event/hook.`),this.unsubscribe(e)),this.listenerMap.set(e,t),this._listeners.push(t)}unsubscribe(e){if(this.listenerMap.has(e)){const t=this.listenerMap.get(e);this.listenerMap.delete(e);const s=this._listeners.indexOf(t);s>=0&&this._listeners.splice(s,1)}}registerProxy(e,t){this.proxyMap.has(e)&&(console.warn(`Already subscribed. Unsubscribing for you. -Please check that you don't accidentally use the same token twice to register two different proxies for the same event/hook.`),this.unregisterProxy(e)),this.proxyMap.set(e,t),this.proxies.push(t)}unregisterProxy(e){if(!this.proxyMap.has(e))return;const t=this.proxyMap.get(e);this.proxyMap.delete(e);const s=this.proxies.indexOf(t);s>=0&&this.proxies.splice(s,1)}}class Ht extends so{constructor(e){super(),this.entity=e}emit(e){this.listeners.forEach(t=>t(e,this.entity))}}class Dn extends so{constructor(e){super(),this.entity=e}emit(e){let t=!1;const s=()=>[t=!0];for(const i of Array.from(this.listeners.values()))if(i(e,s,this.entity),t)return{prevented:!0};return{prevented:!1}}}class qO extends so{execute(e,t){let s=e;for(const i of this.listeners)s=i(s,t);return s}}class as extends qO{constructor(e){super(),this.entity=e}execute(e){return super.execute(e,this.entity)}}class jLt extends so{constructor(e){super(),this.entity=e}execute(e){const t=[];for(const s of this.listeners)t.push(s(e,this.entity));return t}}function ti(){const n=Symbol(),e=new Map,t=new Set,s=(c,d)=>{d instanceof so&&d.registerProxy(n,()=>{var u,h;return(h=(u=e.get(c))===null||u===void 0?void 0:u.listeners)!==null&&h!==void 0?h:[]})},i=c=>{const d=new so;e.set(c,d),t.forEach(u=>s(c,u[c]))},r=c=>{t.add(c);for(const d of e.keys())s(d,c[d])},o=c=>{for(const d of e.keys())c[d]instanceof so&&c[d].unregisterProxy(n);t.delete(c)},a=()=>{t.forEach(c=>o(c)),e.clear()};return new Proxy({},{get(c,d){return d==="addTarget"?r:d==="removeTarget"?o:d==="destroy"?a:typeof d!="string"||d.startsWith("_")?c[d]:(e.has(d)||i(d),e.get(d))}})}class jw{constructor(e,t){if(this.destructed=!1,this.events={destruct:new Ht(this)},!e||!t)throw new Error("Cannot initialize connection with null/undefined for 'from' or 'to' values");this.id=Fi(),this.from=e,this.to=t,this.from.connectionCount++,this.to.connectionCount++}destruct(){this.events.destruct.emit(),this.from.connectionCount--,this.to.connectionCount--,this.destructed=!0}}class $O{constructor(e,t){if(!e||!t)throw new Error("Cannot initialize connection with null/undefined for 'from' or 'to' values");this.id=Fi(),this.from=e,this.to=t}}function Ab(n,e){return Object.fromEntries(Object.entries(n).map(([t,s])=>[t,e(s)]))}class YO{constructor(){this._title="",this.id=Fi(),this.events={loaded:new Ht(this),beforeAddInput:new Dn(this),addInput:new Ht(this),beforeRemoveInput:new Dn(this),removeInput:new Ht(this),beforeAddOutput:new Dn(this),addOutput:new Ht(this),beforeRemoveOutput:new Dn(this),removeOutput:new Ht(this),beforeTitleChanged:new Dn(this),titleChanged:new Ht(this),update:new Ht(this)},this.hooks={beforeLoad:new as(this),afterSave:new as(this)}}get graph(){return this.graphInstance}get title(){return this._title}set title(e){this.events.beforeTitleChanged.emit(e).prevented||(this._title=e,this.events.titleChanged.emit(e))}addInput(e,t){return this.addInterface("input",e,t)}addOutput(e,t){return this.addInterface("output",e,t)}removeInput(e){return this.removeInterface("input",e)}removeOutput(e){return this.removeInterface("output",e)}registerGraph(e){this.graphInstance=e}load(e){this.hooks.beforeLoad.execute(e),this.id=e.id,this._title=e.title,Object.entries(e.inputs).forEach(([t,s])=>{this.inputs[t]&&(this.inputs[t].load(s),this.inputs[t].nodeId=this.id)}),Object.entries(e.outputs).forEach(([t,s])=>{this.outputs[t]&&(this.outputs[t].load(s),this.outputs[t].nodeId=this.id)}),this.events.loaded.emit(this)}save(){const e=Ab(this.inputs,i=>i.save()),t=Ab(this.outputs,i=>i.save()),s={type:this.type,id:this.id,title:this.title,inputs:e,outputs:t};return this.hooks.afterSave.execute(s)}onPlaced(){}onDestroy(){}initializeIo(){Object.entries(this.inputs).forEach(([e,t])=>this.initializeIntf("input",e,t)),Object.entries(this.outputs).forEach(([e,t])=>this.initializeIntf("output",e,t))}initializeIntf(e,t,s){s.isInput=e==="input",s.nodeId=this.id,s.events.setValue.subscribe(this,()=>this.events.update.emit({type:e,name:t,intf:s}))}addInterface(e,t,s){const i=e==="input"?this.events.beforeAddInput:this.events.beforeAddOutput,r=e==="input"?this.events.addInput:this.events.addOutput,o=e==="input"?this.inputs:this.outputs;return i.emit(s).prevented?!1:(o[t]=s,this.initializeIntf(e,t,s),r.emit(s),!0)}removeInterface(e,t){const s=e==="input"?this.events.beforeRemoveInput:this.events.beforeRemoveOutput,i=e==="input"?this.events.removeInput:this.events.removeOutput,r=e==="input"?this.inputs[t]:this.outputs[t];if(!r||s.emit(r).prevented)return!1;if(r.connectionCount>0)if(this.graphInstance)this.graphInstance.connections.filter(a=>a.from===r||a.to===r).forEach(a=>{this.graphInstance.removeConnection(a)});else throw new Error("Interface is connected, but no graph instance is specified. Unable to delete interface");return r.events.setValue.unsubscribe(this),e==="input"?delete this.inputs[t]:delete this.outputs[t],i.emit(r),!0}}let WO=class extends YO{load(e){super.load(e)}save(){return super.save()}};function Qa(n){return class extends WO{constructor(){var e,t;super(),this.type=n.type,this.inputs={},this.outputs={},this.calculate=n.calculate?(s,i)=>n.calculate.call(this,s,i):void 0,this._title=(e=n.title)!==null&&e!==void 0?e:n.type,this.executeFactory("input",n.inputs),this.executeFactory("output",n.outputs),(t=n.onCreate)===null||t===void 0||t.call(this)}onPlaced(){var e;(e=n.onPlaced)===null||e===void 0||e.call(this)}onDestroy(){var e;(e=n.onDestroy)===null||e===void 0||e.call(this)}executeFactory(e,t){Object.keys(t||{}).forEach(s=>{const i=t[s]();e==="input"?this.addInput(s,i):this.addOutput(s,i)})}}}class en{set connectionCount(e){this._connectionCount=e,this.events.setConnectionCount.emit(e)}get connectionCount(){return this._connectionCount}set value(e){this.events.beforeSetValue.emit(e).prevented||(this._value=e,this.events.setValue.emit(e))}get value(){return this._value}constructor(e,t){this.id=Fi(),this.nodeId="",this.port=!0,this.hidden=!1,this.events={setConnectionCount:new Ht(this),beforeSetValue:new Dn(this),setValue:new Ht(this),updated:new Ht(this)},this.hooks={load:new as(this),save:new as(this)},this._connectionCount=0,this.name=e,this._value=t}load(e){this.id=e.id,this.templateId=e.templateId,this.value=e.value,this.hooks.load.execute(e)}save(){const e={id:this.id,templateId:this.templateId,value:this.value};return this.hooks.save.execute(e)}setComponent(e){return this.component=e,this}setPort(e){return this.port=e,this}setHidden(e){return this.hidden=e,this}use(e,...t){return e(this,...t),this}}const Aa="__baklava_SubgraphInputNode",Na="__baklava_SubgraphOutputNode";class KO extends WO{constructor(){super(),this.graphInterfaceId=Fi()}onPlaced(){super.onPlaced(),this.initializeIo()}save(){return{...super.save(),graphInterfaceId:this.graphInterfaceId}}load(e){super.load(e),this.graphInterfaceId=e.graphInterfaceId}}class jO extends KO{constructor(){super(...arguments),this.type=Aa,this.inputs={name:new en("Name","Input")},this.outputs={placeholder:new en("Value",void 0)}}static isGraphInputNode(e){return e.type===Aa}}class QO extends KO{constructor(){super(...arguments),this.type=Na,this.inputs={name:new en("Name","Output"),placeholder:new en("Value",void 0)},this.outputs={output:new en("Output",void 0).setHidden(!0)},this.calculate=({placeholder:e})=>({output:e})}static isGraphOutputNode(e){return e.type===Na}}class bc{get nodes(){return this._nodes}get connections(){return this._connections}get loading(){return this._loading}get destroying(){return this._destroying}get inputs(){return this.nodes.filter(t=>t.type===Aa).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.placeholder.id}))}get outputs(){return this.nodes.filter(t=>t.type===Na).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.output.id}))}constructor(e,t){this.id=Fi(),this.activeTransactions=0,this._nodes=[],this._connections=[],this._loading=!1,this._destroying=!1,this.events={beforeAddNode:new Dn(this),addNode:new Ht(this),beforeRemoveNode:new Dn(this),removeNode:new Ht(this),beforeAddConnection:new Dn(this),addConnection:new Ht(this),checkConnection:new Dn(this),beforeRemoveConnection:new Dn(this),removeConnection:new Ht(this)},this.hooks={save:new as(this),load:new as(this),checkConnection:new jLt(this)},this.nodeEvents=ti(),this.nodeHooks=ti(),this.connectionEvents=ti(),this.editor=e,this.template=t,e.registerGraph(this)}addNode(e){if(!this.events.beforeAddNode.emit(e).prevented)return this.nodeEvents.addTarget(e.events),this.nodeHooks.addTarget(e.hooks),e.registerGraph(this),this._nodes.push(e),e=this.nodes.find(t=>t.id===e.id),e.onPlaced(),this.events.addNode.emit(e),e}removeNode(e){if(this.nodes.includes(e)){if(this.events.beforeRemoveNode.emit(e).prevented)return;const t=[...Object.values(e.inputs),...Object.values(e.outputs)];this.connections.filter(s=>t.includes(s.from)||t.includes(s.to)).forEach(s=>this.removeConnection(s)),this._nodes.splice(this.nodes.indexOf(e),1),this.events.removeNode.emit(e),e.onDestroy(),this.nodeEvents.removeTarget(e.events),this.nodeHooks.removeTarget(e.hooks)}}addConnection(e,t){const s=this.checkConnection(e,t);if(!s.connectionAllowed||this.events.beforeAddConnection.emit({from:e,to:t}).prevented)return;for(const r of s.connectionsInDanger){const o=this.connections.find(a=>a.id===r.id);o&&this.removeConnection(o)}const i=new jw(s.dummyConnection.from,s.dummyConnection.to);return this.internalAddConnection(i),i}removeConnection(e){if(this.connections.includes(e)){if(this.events.beforeRemoveConnection.emit(e).prevented)return;e.destruct(),this._connections.splice(this.connections.indexOf(e),1),this.events.removeConnection.emit(e),this.connectionEvents.removeTarget(e.events)}}checkConnection(e,t){if(!e||!t)return{connectionAllowed:!1};const s=this.findNodeById(e.nodeId),i=this.findNodeById(t.nodeId);if(s&&i&&s===i)return{connectionAllowed:!1};if(e.isInput&&!t.isInput){const a=e;e=t,t=a}if(e.isInput||!t.isInput)return{connectionAllowed:!1};if(this.connections.some(a=>a.from===e&&a.to===t))return{connectionAllowed:!1};if(this.events.checkConnection.emit({from:e,to:t}).prevented)return{connectionAllowed:!1};const r=this.hooks.checkConnection.execute({from:e,to:t});if(r.some(a=>!a.connectionAllowed))return{connectionAllowed:!1};const o=Array.from(new Set(r.flatMap(a=>a.connectionsInDanger)));return{connectionAllowed:!0,dummyConnection:new $O(e,t),connectionsInDanger:o}}findNodeInterface(e){for(const t of this.nodes){for(const s in t.inputs){const i=t.inputs[s];if(i.id===e)return i}for(const s in t.outputs){const i=t.outputs[s];if(i.id===e)return i}}}findNodeById(e){return this.nodes.find(t=>t.id===e)}load(e){try{this._loading=!0;const t=[];for(let s=this.connections.length-1;s>=0;s--)this.removeConnection(this.connections[s]);for(let s=this.nodes.length-1;s>=0;s--)this.removeNode(this.nodes[s]);this.id=e.id;for(const s of e.nodes){const i=this.editor.nodeTypes.get(s.type);if(!i){t.push(`Node type ${s.type} is not registered`);continue}const r=new i.type;this.addNode(r),r.load(s)}for(const s of e.connections){const i=this.findNodeInterface(s.from),r=this.findNodeInterface(s.to);if(i)if(r){const o=new jw(i,r);o.id=s.id,this.internalAddConnection(o)}else{t.push(`Could not find interface with id ${s.to}`);continue}else{t.push(`Could not find interface with id ${s.from}`);continue}}return this.hooks.load.execute(e),t}finally{this._loading=!1}}save(){const e={id:this.id,nodes:this.nodes.map(t=>t.save()),connections:this.connections.map(t=>({id:t.id,from:t.from.id,to:t.to.id})),inputs:this.inputs,outputs:this.outputs};return this.hooks.save.execute(e)}destroy(){this._destroying=!0;for(const e of this.nodes)this.removeNode(e);this.editor.unregisterGraph(this)}internalAddConnection(e){this.connectionEvents.addTarget(e.events),this._connections.push(e),this.events.addConnection.emit(e)}}const rc="__baklava_GraphNode-";function Oa(n){return rc+n.id}function QLt(n){return class extends YO{constructor(){super(...arguments),this.type=Oa(n),this.inputs={},this.outputs={},this.template=n,this.calculate=async(t,s)=>{var i;if(!this.subgraph)throw new Error(`GraphNode ${this.id}: calculate called without subgraph being initialized`);if(!s.engine||typeof s.engine!="object")throw new Error(`GraphNode ${this.id}: calculate called but no engine provided in context`);const r=s.engine.getInputValues(this.subgraph);for(const c of this.subgraph.inputs)r.set(c.nodeInterfaceId,t[c.id]);const o=await s.engine.runGraph(this.subgraph,r,s.globalValues),a={};for(const c of this.subgraph.outputs)a[c.id]=(i=o.get(c.nodeId))===null||i===void 0?void 0:i.get("output");return a._calculationResults=o,a}}get title(){return this._title}set title(t){this.template.name=t}load(t){if(!this.subgraph)throw new Error("Cannot load a graph node without a graph");if(!this.template)throw new Error("Unable to load graph node without graph template");this.subgraph.load(t.graphState),super.load(t)}save(){if(!this.subgraph)throw new Error("Cannot save a graph node without a graph");return{...super.save(),graphState:this.subgraph.save()}}onPlaced(){this.template.events.updated.subscribe(this,()=>this.initialize()),this.template.events.nameChanged.subscribe(this,t=>{this._title=t}),this.initialize()}onDestroy(){var t;this.template.events.updated.unsubscribe(this),this.template.events.nameChanged.unsubscribe(this),(t=this.subgraph)===null||t===void 0||t.destroy()}initialize(){this.subgraph&&this.subgraph.destroy(),this.subgraph=this.template.createGraph(),this._title=this.template.name,this.updateInterfaces(),this.events.update.emit(null)}updateInterfaces(){if(!this.subgraph)throw new Error("Trying to update interfaces without graph instance");for(const t of this.subgraph.inputs)t.id in this.inputs?this.inputs[t.id].name=t.name:this.addInput(t.id,new en(t.name,void 0));for(const t of Object.keys(this.inputs))this.subgraph.inputs.some(s=>s.id===t)||this.removeInput(t);for(const t of this.subgraph.outputs)t.id in this.outputs?this.outputs[t.id].name=t.name:this.addOutput(t.id,new en(t.name,void 0));for(const t of Object.keys(this.outputs))this.subgraph.outputs.some(s=>s.id===t)||this.removeOutput(t);this.addOutput("_calculationResults",new en("_calculationResults",void 0).setHidden(!0))}}}class xp{static fromGraph(e,t){return new xp(e.save(),t)}get name(){return this._name}set name(e){this._name=e,this.events.nameChanged.emit(e);const t=this.editor.nodeTypes.get(Oa(this));t&&(t.title=e)}get inputs(){return this.nodes.filter(t=>t.type===Aa).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.placeholder.id}))}get outputs(){return this.nodes.filter(t=>t.type===Na).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.output.id}))}constructor(e,t){this.id=Fi(),this._name="Subgraph",this.events={nameChanged:new Ht(this),updated:new Ht(this)},this.hooks={beforeLoad:new as(this),afterSave:new as(this)},this.editor=t,e.id&&(this.id=e.id),e.name&&(this._name=e.name),this.update(e)}update(e){this.nodes=e.nodes,this.connections=e.connections,this.events.updated.emit()}save(){return{id:this.id,name:this.name,nodes:this.nodes,connections:this.connections,inputs:this.inputs,outputs:this.outputs}}createGraph(e){const t=new Map,s=f=>{const m=Fi();return t.set(f,m),m},i=f=>{const m=t.get(f);if(!m)throw new Error(`Unable to create graph from template: Could not map old id ${f} to new id`);return m},r=f=>Ab(f,m=>({id:s(m.id),templateId:m.id,value:m.value})),o=this.nodes.map(f=>({...f,id:s(f.id),inputs:r(f.inputs),outputs:r(f.outputs)})),a=this.connections.map(f=>({id:s(f.id),from:i(f.from),to:i(f.to)})),c=this.inputs.map(f=>({id:f.id,name:f.name,nodeId:i(f.nodeId),nodeInterfaceId:i(f.nodeInterfaceId)})),d=this.outputs.map(f=>({id:f.id,name:f.name,nodeId:i(f.nodeId),nodeInterfaceId:i(f.nodeInterfaceId)})),u={id:Fi(),nodes:o,connections:a,inputs:c,outputs:d};return e||(e=new bc(this.editor)),e.load(u).forEach(f=>console.warn(f)),e.template=this,e}}class XLt{get nodeTypes(){return this._nodeTypes}get graph(){return this._graph}get graphTemplates(){return this._graphTemplates}get graphs(){return this._graphs}get loading(){return this._loading}constructor(){this.events={loaded:new Ht(this),beforeRegisterNodeType:new Dn(this),registerNodeType:new Ht(this),beforeUnregisterNodeType:new Dn(this),unregisterNodeType:new Ht(this),beforeAddGraphTemplate:new Dn(this),addGraphTemplate:new Ht(this),beforeRemoveGraphTemplate:new Dn(this),removeGraphTemplate:new Ht(this),registerGraph:new Ht(this),unregisterGraph:new Ht(this)},this.hooks={save:new as(this),load:new as(this)},this.graphTemplateEvents=ti(),this.graphTemplateHooks=ti(),this.graphEvents=ti(),this.graphHooks=ti(),this.nodeEvents=ti(),this.nodeHooks=ti(),this.connectionEvents=ti(),this._graphs=new Set,this._nodeTypes=new Map,this._graph=new bc(this),this._graphTemplates=[],this._loading=!1,this.registerNodeType(jO),this.registerNodeType(QO)}registerNodeType(e,t){var s,i;if(this.events.beforeRegisterNodeType.emit({type:e,options:t}).prevented)return;const r=new e;this._nodeTypes.set(r.type,{type:e,category:(s=t==null?void 0:t.category)!==null&&s!==void 0?s:"default",title:(i=t==null?void 0:t.title)!==null&&i!==void 0?i:r.title}),this.events.registerNodeType.emit({type:e,options:t})}unregisterNodeType(e){const t=typeof e=="string"?e:new e().type;if(this.nodeTypes.has(t)){if(this.events.beforeUnregisterNodeType.emit(t).prevented)return;this._nodeTypes.delete(t),this.events.unregisterNodeType.emit(t)}}addGraphTemplate(e){if(this.events.beforeAddGraphTemplate.emit(e).prevented)return;this._graphTemplates.push(e),this.graphTemplateEvents.addTarget(e.events),this.graphTemplateHooks.addTarget(e.hooks);const t=QLt(e);this.registerNodeType(t,{category:"Subgraphs",title:e.name}),this.events.addGraphTemplate.emit(e)}removeGraphTemplate(e){if(this.graphTemplates.includes(e)){if(this.events.beforeRemoveGraphTemplate.emit(e).prevented)return;const t=Oa(e);for(const s of[this.graph,...this.graphs.values()]){const i=s.nodes.filter(r=>r.type===t);for(const r of i)s.removeNode(r)}this.unregisterNodeType(t),this._graphTemplates.splice(this._graphTemplates.indexOf(e),1),this.graphTemplateEvents.removeTarget(e.events),this.graphTemplateHooks.removeTarget(e.hooks),this.events.removeGraphTemplate.emit(e)}}registerGraph(e){this.graphEvents.addTarget(e.events),this.graphHooks.addTarget(e.hooks),this.nodeEvents.addTarget(e.nodeEvents),this.nodeHooks.addTarget(e.nodeHooks),this.connectionEvents.addTarget(e.connectionEvents),this.events.registerGraph.emit(e),this._graphs.add(e)}unregisterGraph(e){this.graphEvents.removeTarget(e.events),this.graphHooks.removeTarget(e.hooks),this.nodeEvents.removeTarget(e.nodeEvents),this.nodeHooks.removeTarget(e.nodeHooks),this.connectionEvents.removeTarget(e.connectionEvents),this.events.unregisterGraph.emit(e),this._graphs.delete(e)}load(e){try{this._loading=!0,e=this.hooks.load.execute(e),e.graphTemplates.forEach(s=>{const i=new xp(s,this);this.addGraphTemplate(i)});const t=this._graph.load(e.graph);return this.events.loaded.emit(),t.forEach(s=>console.warn(s)),t}finally{this._loading=!1}}save(){const e={graph:this.graph.save(),graphTemplates:this.graphTemplates.map(t=>t.save())};return this.hooks.save.execute(e)}}function ZLt(n,e){const t=new Map;e.graphs.forEach(s=>{s.nodes.forEach(i=>t.set(i.id,i))}),n.forEach((s,i)=>{const r=t.get(i);r&&s.forEach((o,a)=>{const c=r.outputs[a];c&&(c.value=o)})})}class XO extends Error{constructor(){super("Cycle detected")}}function JLt(n){return typeof n=="string"}function ZO(n,e){const t=new Map,s=new Map,i=new Map;let r,o;if(n instanceof bc)r=n.nodes,o=n.connections;else{if(!e)throw new Error("Invalid argument value: expected array of connections");r=n,o=e}r.forEach(d=>{Object.values(d.inputs).forEach(u=>t.set(u.id,d.id)),Object.values(d.outputs).forEach(u=>t.set(u.id,d.id))}),r.forEach(d=>{const u=o.filter(f=>f.from&&t.get(f.from.id)===d.id),h=new Set(u.map(f=>t.get(f.to.id)).filter(JLt));s.set(d.id,h),i.set(d,u)});const a=r.slice();o.forEach(d=>{const u=a.findIndex(h=>t.get(d.to.id)===h.id);u>=0&&a.splice(u,1)});const c=[];for(;a.length>0;){const d=a.pop();c.push(d);const u=s.get(d.id);for(;u.size>0;){const h=u.values().next().value;if(u.delete(h),Array.from(s.values()).every(f=>!f.has(h))){const f=r.find(m=>m.id===h);a.push(f)}}}if(Array.from(s.values()).some(d=>d.size>0))throw new XO;return{calculationOrder:c,connectionsFromNode:i,interfaceIdToNodeId:t}}function ePt(n,e){try{return ZO(n,e),!1}catch(t){if(t instanceof XO)return!0;throw t}}var qn;(function(n){n.Running="Running",n.Idle="Idle",n.Paused="Paused",n.Stopped="Stopped"})(qn||(qn={}));class tPt{get status(){return this.isRunning?qn.Running:this.internalStatus}constructor(e){this.editor=e,this.events={beforeRun:new Dn(this),afterRun:new Ht(this),statusChange:new Ht(this),beforeNodeCalculation:new Ht(this),afterNodeCalculation:new Ht(this)},this.hooks={gatherCalculationData:new as(this),transferData:new qO},this.recalculateOrder=!0,this.internalStatus=qn.Stopped,this.isRunning=!1,this.editor.nodeEvents.update.subscribe(this,(t,s)=>{s.graph&&!s.graph.loading&&s.graph.activeTransactions===0&&this.internalOnChange(s,t??void 0)}),this.editor.graphEvents.addNode.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphEvents.removeNode.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphEvents.addConnection.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphEvents.removeConnection.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphHooks.checkConnection.subscribe(this,t=>this.checkConnection(t.from,t.to))}start(){this.internalStatus===qn.Stopped&&(this.internalStatus=qn.Idle,this.events.statusChange.emit(this.status))}pause(){this.internalStatus===qn.Idle&&(this.internalStatus=qn.Paused,this.events.statusChange.emit(this.status))}resume(){this.internalStatus===qn.Paused&&(this.internalStatus=qn.Idle,this.events.statusChange.emit(this.status))}stop(){(this.internalStatus===qn.Idle||this.internalStatus===qn.Paused)&&(this.internalStatus=qn.Stopped,this.events.statusChange.emit(this.status))}async runOnce(e,...t){if(this.events.beforeRun.emit(e).prevented)return null;try{this.isRunning=!0,this.events.statusChange.emit(this.status),this.recalculateOrder&&this.calculateOrder();const s=await this.execute(e,...t);return this.events.afterRun.emit(s),s}finally{this.isRunning=!1,this.events.statusChange.emit(this.status)}}checkConnection(e,t){if(e.templateId){const r=this.findInterfaceByTemplateId(this.editor.graph.nodes,e.templateId);if(!r)return{connectionAllowed:!0,connectionsInDanger:[]};e=r}if(t.templateId){const r=this.findInterfaceByTemplateId(this.editor.graph.nodes,t.templateId);if(!r)return{connectionAllowed:!0,connectionsInDanger:[]};t=r}const s=new $O(e,t);let i=this.editor.graph.connections.slice();return t.allowMultipleConnections||(i=i.filter(r=>r.to!==t)),i.push(s),ePt(this.editor.graph.nodes,i)?{connectionAllowed:!1,connectionsInDanger:[]}:{connectionAllowed:!0,connectionsInDanger:t.allowMultipleConnections?[]:this.editor.graph.connections.filter(r=>r.to===t)}}calculateOrder(){this.recalculateOrder=!0}async calculateWithoutData(...e){const t=this.hooks.gatherCalculationData.execute(void 0);return await this.runOnce(t,...e)}validateNodeCalculationOutput(e,t){if(typeof t!="object")throw new Error(`Invalid calculation return value from node ${e.id} (type ${e.type})`);Object.keys(e.outputs).forEach(s=>{if(!(s in t))throw new Error(`Calculation return value from node ${e.id} (type ${e.type}) is missing key "${s}"`)})}internalOnChange(e,t){this.internalStatus===qn.Idle&&this.onChange(this.recalculateOrder,e,t)}findInterfaceByTemplateId(e,t){for(const s of e)for(const i of[...Object.values(s.inputs),...Object.values(s.outputs)])if(i.templateId===t)return i;return null}}class nPt extends tPt{constructor(e){super(e),this.order=new Map}start(){super.start(),this.recalculateOrder=!0,this.calculateWithoutData()}async runGraph(e,t,s){this.order.has(e.id)||this.order.set(e.id,ZO(e));const{calculationOrder:i,connectionsFromNode:r}=this.order.get(e.id),o=new Map;for(const a of i){const c={};Object.entries(a.inputs).forEach(([u,h])=>{c[u]=this.getInterfaceValue(t,h.id)}),this.events.beforeNodeCalculation.emit({inputValues:c,node:a});let d;if(a.calculate)d=await a.calculate(c,{globalValues:s,engine:this});else{d={};for(const[u,h]of Object.entries(a.outputs))d[u]=this.getInterfaceValue(t,h.id)}this.validateNodeCalculationOutput(a,d),this.events.afterNodeCalculation.emit({outputValues:d,node:a}),o.set(a.id,new Map(Object.entries(d))),r.has(a)&&r.get(a).forEach(u=>{var h;const f=(h=Object.entries(a.outputs).find(([,_])=>_.id===u.from.id))===null||h===void 0?void 0:h[0];if(!f)throw new Error(`Could not find key for interface ${u.from.id} +Please check that you don't accidentally use the same token twice to register two different proxies for the same event/hook.`),this.unregisterProxy(e)),this.proxyMap.set(e,t),this.proxies.push(t)}unregisterProxy(e){if(!this.proxyMap.has(e))return;const t=this.proxyMap.get(e);this.proxyMap.delete(e);const s=this.proxies.indexOf(t);s>=0&&this.proxies.splice(s,1)}}class Ht extends so{constructor(e){super(),this.entity=e}emit(e){this.listeners.forEach(t=>t(e,this.entity))}}class Dn extends so{constructor(e){super(),this.entity=e}emit(e){let t=!1;const s=()=>[t=!0];for(const i of Array.from(this.listeners.values()))if(i(e,s,this.entity),t)return{prevented:!0};return{prevented:!1}}}class qO extends so{execute(e,t){let s=e;for(const i of this.listeners)s=i(s,t);return s}}class as extends qO{constructor(e){super(),this.entity=e}execute(e){return super.execute(e,this.entity)}}class PLt extends so{constructor(e){super(),this.entity=e}execute(e){const t=[];for(const s of this.listeners)t.push(s(e,this.entity));return t}}function ti(){const n=Symbol(),e=new Map,t=new Set,s=(c,d)=>{d instanceof so&&d.registerProxy(n,()=>{var u,h;return(h=(u=e.get(c))===null||u===void 0?void 0:u.listeners)!==null&&h!==void 0?h:[]})},i=c=>{const d=new so;e.set(c,d),t.forEach(u=>s(c,u[c]))},r=c=>{t.add(c);for(const d of e.keys())s(d,c[d])},o=c=>{for(const d of e.keys())c[d]instanceof so&&c[d].unregisterProxy(n);t.delete(c)},a=()=>{t.forEach(c=>o(c)),e.clear()};return new Proxy({},{get(c,d){return d==="addTarget"?r:d==="removeTarget"?o:d==="destroy"?a:typeof d!="string"||d.startsWith("_")?c[d]:(e.has(d)||i(d),e.get(d))}})}class jw{constructor(e,t){if(this.destructed=!1,this.events={destruct:new Ht(this)},!e||!t)throw new Error("Cannot initialize connection with null/undefined for 'from' or 'to' values");this.id=Fi(),this.from=e,this.to=t,this.from.connectionCount++,this.to.connectionCount++}destruct(){this.events.destruct.emit(),this.from.connectionCount--,this.to.connectionCount--,this.destructed=!0}}class $O{constructor(e,t){if(!e||!t)throw new Error("Cannot initialize connection with null/undefined for 'from' or 'to' values");this.id=Fi(),this.from=e,this.to=t}}function Ab(n,e){return Object.fromEntries(Object.entries(n).map(([t,s])=>[t,e(s)]))}class YO{constructor(){this._title="",this.id=Fi(),this.events={loaded:new Ht(this),beforeAddInput:new Dn(this),addInput:new Ht(this),beforeRemoveInput:new Dn(this),removeInput:new Ht(this),beforeAddOutput:new Dn(this),addOutput:new Ht(this),beforeRemoveOutput:new Dn(this),removeOutput:new Ht(this),beforeTitleChanged:new Dn(this),titleChanged:new Ht(this),update:new Ht(this)},this.hooks={beforeLoad:new as(this),afterSave:new as(this)}}get graph(){return this.graphInstance}get title(){return this._title}set title(e){this.events.beforeTitleChanged.emit(e).prevented||(this._title=e,this.events.titleChanged.emit(e))}addInput(e,t){return this.addInterface("input",e,t)}addOutput(e,t){return this.addInterface("output",e,t)}removeInput(e){return this.removeInterface("input",e)}removeOutput(e){return this.removeInterface("output",e)}registerGraph(e){this.graphInstance=e}load(e){this.hooks.beforeLoad.execute(e),this.id=e.id,this._title=e.title,Object.entries(e.inputs).forEach(([t,s])=>{this.inputs[t]&&(this.inputs[t].load(s),this.inputs[t].nodeId=this.id)}),Object.entries(e.outputs).forEach(([t,s])=>{this.outputs[t]&&(this.outputs[t].load(s),this.outputs[t].nodeId=this.id)}),this.events.loaded.emit(this)}save(){const e=Ab(this.inputs,i=>i.save()),t=Ab(this.outputs,i=>i.save()),s={type:this.type,id:this.id,title:this.title,inputs:e,outputs:t};return this.hooks.afterSave.execute(s)}onPlaced(){}onDestroy(){}initializeIo(){Object.entries(this.inputs).forEach(([e,t])=>this.initializeIntf("input",e,t)),Object.entries(this.outputs).forEach(([e,t])=>this.initializeIntf("output",e,t))}initializeIntf(e,t,s){s.isInput=e==="input",s.nodeId=this.id,s.events.setValue.subscribe(this,()=>this.events.update.emit({type:e,name:t,intf:s}))}addInterface(e,t,s){const i=e==="input"?this.events.beforeAddInput:this.events.beforeAddOutput,r=e==="input"?this.events.addInput:this.events.addOutput,o=e==="input"?this.inputs:this.outputs;return i.emit(s).prevented?!1:(o[t]=s,this.initializeIntf(e,t,s),r.emit(s),!0)}removeInterface(e,t){const s=e==="input"?this.events.beforeRemoveInput:this.events.beforeRemoveOutput,i=e==="input"?this.events.removeInput:this.events.removeOutput,r=e==="input"?this.inputs[t]:this.outputs[t];if(!r||s.emit(r).prevented)return!1;if(r.connectionCount>0)if(this.graphInstance)this.graphInstance.connections.filter(a=>a.from===r||a.to===r).forEach(a=>{this.graphInstance.removeConnection(a)});else throw new Error("Interface is connected, but no graph instance is specified. Unable to delete interface");return r.events.setValue.unsubscribe(this),e==="input"?delete this.inputs[t]:delete this.outputs[t],i.emit(r),!0}}let WO=class extends YO{load(e){super.load(e)}save(){return super.save()}};function Qa(n){return class extends WO{constructor(){var e,t;super(),this.type=n.type,this.inputs={},this.outputs={},this.calculate=n.calculate?(s,i)=>n.calculate.call(this,s,i):void 0,this._title=(e=n.title)!==null&&e!==void 0?e:n.type,this.executeFactory("input",n.inputs),this.executeFactory("output",n.outputs),(t=n.onCreate)===null||t===void 0||t.call(this)}onPlaced(){var e;(e=n.onPlaced)===null||e===void 0||e.call(this)}onDestroy(){var e;(e=n.onDestroy)===null||e===void 0||e.call(this)}executeFactory(e,t){Object.keys(t||{}).forEach(s=>{const i=t[s]();e==="input"?this.addInput(s,i):this.addOutput(s,i)})}}}class en{set connectionCount(e){this._connectionCount=e,this.events.setConnectionCount.emit(e)}get connectionCount(){return this._connectionCount}set value(e){this.events.beforeSetValue.emit(e).prevented||(this._value=e,this.events.setValue.emit(e))}get value(){return this._value}constructor(e,t){this.id=Fi(),this.nodeId="",this.port=!0,this.hidden=!1,this.events={setConnectionCount:new Ht(this),beforeSetValue:new Dn(this),setValue:new Ht(this),updated:new Ht(this)},this.hooks={load:new as(this),save:new as(this)},this._connectionCount=0,this.name=e,this._value=t}load(e){this.id=e.id,this.templateId=e.templateId,this.value=e.value,this.hooks.load.execute(e)}save(){const e={id:this.id,templateId:this.templateId,value:this.value};return this.hooks.save.execute(e)}setComponent(e){return this.component=e,this}setPort(e){return this.port=e,this}setHidden(e){return this.hidden=e,this}use(e,...t){return e(this,...t),this}}const Na="__baklava_SubgraphInputNode",Oa="__baklava_SubgraphOutputNode";class KO extends WO{constructor(){super(),this.graphInterfaceId=Fi()}onPlaced(){super.onPlaced(),this.initializeIo()}save(){return{...super.save(),graphInterfaceId:this.graphInterfaceId}}load(e){super.load(e),this.graphInterfaceId=e.graphInterfaceId}}class jO extends KO{constructor(){super(...arguments),this.type=Na,this.inputs={name:new en("Name","Input")},this.outputs={placeholder:new en("Value",void 0)}}static isGraphInputNode(e){return e.type===Na}}class QO extends KO{constructor(){super(...arguments),this.type=Oa,this.inputs={name:new en("Name","Output"),placeholder:new en("Value",void 0)},this.outputs={output:new en("Output",void 0).setHidden(!0)},this.calculate=({placeholder:e})=>({output:e})}static isGraphOutputNode(e){return e.type===Oa}}class bc{get nodes(){return this._nodes}get connections(){return this._connections}get loading(){return this._loading}get destroying(){return this._destroying}get inputs(){return this.nodes.filter(t=>t.type===Na).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.placeholder.id}))}get outputs(){return this.nodes.filter(t=>t.type===Oa).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.output.id}))}constructor(e,t){this.id=Fi(),this.activeTransactions=0,this._nodes=[],this._connections=[],this._loading=!1,this._destroying=!1,this.events={beforeAddNode:new Dn(this),addNode:new Ht(this),beforeRemoveNode:new Dn(this),removeNode:new Ht(this),beforeAddConnection:new Dn(this),addConnection:new Ht(this),checkConnection:new Dn(this),beforeRemoveConnection:new Dn(this),removeConnection:new Ht(this)},this.hooks={save:new as(this),load:new as(this),checkConnection:new PLt(this)},this.nodeEvents=ti(),this.nodeHooks=ti(),this.connectionEvents=ti(),this.editor=e,this.template=t,e.registerGraph(this)}addNode(e){if(!this.events.beforeAddNode.emit(e).prevented)return this.nodeEvents.addTarget(e.events),this.nodeHooks.addTarget(e.hooks),e.registerGraph(this),this._nodes.push(e),e=this.nodes.find(t=>t.id===e.id),e.onPlaced(),this.events.addNode.emit(e),e}removeNode(e){if(this.nodes.includes(e)){if(this.events.beforeRemoveNode.emit(e).prevented)return;const t=[...Object.values(e.inputs),...Object.values(e.outputs)];this.connections.filter(s=>t.includes(s.from)||t.includes(s.to)).forEach(s=>this.removeConnection(s)),this._nodes.splice(this.nodes.indexOf(e),1),this.events.removeNode.emit(e),e.onDestroy(),this.nodeEvents.removeTarget(e.events),this.nodeHooks.removeTarget(e.hooks)}}addConnection(e,t){const s=this.checkConnection(e,t);if(!s.connectionAllowed||this.events.beforeAddConnection.emit({from:e,to:t}).prevented)return;for(const r of s.connectionsInDanger){const o=this.connections.find(a=>a.id===r.id);o&&this.removeConnection(o)}const i=new jw(s.dummyConnection.from,s.dummyConnection.to);return this.internalAddConnection(i),i}removeConnection(e){if(this.connections.includes(e)){if(this.events.beforeRemoveConnection.emit(e).prevented)return;e.destruct(),this._connections.splice(this.connections.indexOf(e),1),this.events.removeConnection.emit(e),this.connectionEvents.removeTarget(e.events)}}checkConnection(e,t){if(!e||!t)return{connectionAllowed:!1};const s=this.findNodeById(e.nodeId),i=this.findNodeById(t.nodeId);if(s&&i&&s===i)return{connectionAllowed:!1};if(e.isInput&&!t.isInput){const a=e;e=t,t=a}if(e.isInput||!t.isInput)return{connectionAllowed:!1};if(this.connections.some(a=>a.from===e&&a.to===t))return{connectionAllowed:!1};if(this.events.checkConnection.emit({from:e,to:t}).prevented)return{connectionAllowed:!1};const r=this.hooks.checkConnection.execute({from:e,to:t});if(r.some(a=>!a.connectionAllowed))return{connectionAllowed:!1};const o=Array.from(new Set(r.flatMap(a=>a.connectionsInDanger)));return{connectionAllowed:!0,dummyConnection:new $O(e,t),connectionsInDanger:o}}findNodeInterface(e){for(const t of this.nodes){for(const s in t.inputs){const i=t.inputs[s];if(i.id===e)return i}for(const s in t.outputs){const i=t.outputs[s];if(i.id===e)return i}}}findNodeById(e){return this.nodes.find(t=>t.id===e)}load(e){try{this._loading=!0;const t=[];for(let s=this.connections.length-1;s>=0;s--)this.removeConnection(this.connections[s]);for(let s=this.nodes.length-1;s>=0;s--)this.removeNode(this.nodes[s]);this.id=e.id;for(const s of e.nodes){const i=this.editor.nodeTypes.get(s.type);if(!i){t.push(`Node type ${s.type} is not registered`);continue}const r=new i.type;this.addNode(r),r.load(s)}for(const s of e.connections){const i=this.findNodeInterface(s.from),r=this.findNodeInterface(s.to);if(i)if(r){const o=new jw(i,r);o.id=s.id,this.internalAddConnection(o)}else{t.push(`Could not find interface with id ${s.to}`);continue}else{t.push(`Could not find interface with id ${s.from}`);continue}}return this.hooks.load.execute(e),t}finally{this._loading=!1}}save(){const e={id:this.id,nodes:this.nodes.map(t=>t.save()),connections:this.connections.map(t=>({id:t.id,from:t.from.id,to:t.to.id})),inputs:this.inputs,outputs:this.outputs};return this.hooks.save.execute(e)}destroy(){this._destroying=!0;for(const e of this.nodes)this.removeNode(e);this.editor.unregisterGraph(this)}internalAddConnection(e){this.connectionEvents.addTarget(e.events),this._connections.push(e),this.events.addConnection.emit(e)}}const rc="__baklava_GraphNode-";function Ia(n){return rc+n.id}function FLt(n){return class extends YO{constructor(){super(...arguments),this.type=Ia(n),this.inputs={},this.outputs={},this.template=n,this.calculate=async(t,s)=>{var i;if(!this.subgraph)throw new Error(`GraphNode ${this.id}: calculate called without subgraph being initialized`);if(!s.engine||typeof s.engine!="object")throw new Error(`GraphNode ${this.id}: calculate called but no engine provided in context`);const r=s.engine.getInputValues(this.subgraph);for(const c of this.subgraph.inputs)r.set(c.nodeInterfaceId,t[c.id]);const o=await s.engine.runGraph(this.subgraph,r,s.globalValues),a={};for(const c of this.subgraph.outputs)a[c.id]=(i=o.get(c.nodeId))===null||i===void 0?void 0:i.get("output");return a._calculationResults=o,a}}get title(){return this._title}set title(t){this.template.name=t}load(t){if(!this.subgraph)throw new Error("Cannot load a graph node without a graph");if(!this.template)throw new Error("Unable to load graph node without graph template");this.subgraph.load(t.graphState),super.load(t)}save(){if(!this.subgraph)throw new Error("Cannot save a graph node without a graph");return{...super.save(),graphState:this.subgraph.save()}}onPlaced(){this.template.events.updated.subscribe(this,()=>this.initialize()),this.template.events.nameChanged.subscribe(this,t=>{this._title=t}),this.initialize()}onDestroy(){var t;this.template.events.updated.unsubscribe(this),this.template.events.nameChanged.unsubscribe(this),(t=this.subgraph)===null||t===void 0||t.destroy()}initialize(){this.subgraph&&this.subgraph.destroy(),this.subgraph=this.template.createGraph(),this._title=this.template.name,this.updateInterfaces(),this.events.update.emit(null)}updateInterfaces(){if(!this.subgraph)throw new Error("Trying to update interfaces without graph instance");for(const t of this.subgraph.inputs)t.id in this.inputs?this.inputs[t.id].name=t.name:this.addInput(t.id,new en(t.name,void 0));for(const t of Object.keys(this.inputs))this.subgraph.inputs.some(s=>s.id===t)||this.removeInput(t);for(const t of this.subgraph.outputs)t.id in this.outputs?this.outputs[t.id].name=t.name:this.addOutput(t.id,new en(t.name,void 0));for(const t of Object.keys(this.outputs))this.subgraph.outputs.some(s=>s.id===t)||this.removeOutput(t);this.addOutput("_calculationResults",new en("_calculationResults",void 0).setHidden(!0))}}}class xp{static fromGraph(e,t){return new xp(e.save(),t)}get name(){return this._name}set name(e){this._name=e,this.events.nameChanged.emit(e);const t=this.editor.nodeTypes.get(Ia(this));t&&(t.title=e)}get inputs(){return this.nodes.filter(t=>t.type===Na).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.placeholder.id}))}get outputs(){return this.nodes.filter(t=>t.type===Oa).map(t=>({id:t.graphInterfaceId,name:t.inputs.name.value,nodeId:t.id,nodeInterfaceId:t.outputs.output.id}))}constructor(e,t){this.id=Fi(),this._name="Subgraph",this.events={nameChanged:new Ht(this),updated:new Ht(this)},this.hooks={beforeLoad:new as(this),afterSave:new as(this)},this.editor=t,e.id&&(this.id=e.id),e.name&&(this._name=e.name),this.update(e)}update(e){this.nodes=e.nodes,this.connections=e.connections,this.events.updated.emit()}save(){return{id:this.id,name:this.name,nodes:this.nodes,connections:this.connections,inputs:this.inputs,outputs:this.outputs}}createGraph(e){const t=new Map,s=f=>{const m=Fi();return t.set(f,m),m},i=f=>{const m=t.get(f);if(!m)throw new Error(`Unable to create graph from template: Could not map old id ${f} to new id`);return m},r=f=>Ab(f,m=>({id:s(m.id),templateId:m.id,value:m.value})),o=this.nodes.map(f=>({...f,id:s(f.id),inputs:r(f.inputs),outputs:r(f.outputs)})),a=this.connections.map(f=>({id:s(f.id),from:i(f.from),to:i(f.to)})),c=this.inputs.map(f=>({id:f.id,name:f.name,nodeId:i(f.nodeId),nodeInterfaceId:i(f.nodeInterfaceId)})),d=this.outputs.map(f=>({id:f.id,name:f.name,nodeId:i(f.nodeId),nodeInterfaceId:i(f.nodeInterfaceId)})),u={id:Fi(),nodes:o,connections:a,inputs:c,outputs:d};return e||(e=new bc(this.editor)),e.load(u).forEach(f=>console.warn(f)),e.template=this,e}}class ULt{get nodeTypes(){return this._nodeTypes}get graph(){return this._graph}get graphTemplates(){return this._graphTemplates}get graphs(){return this._graphs}get loading(){return this._loading}constructor(){this.events={loaded:new Ht(this),beforeRegisterNodeType:new Dn(this),registerNodeType:new Ht(this),beforeUnregisterNodeType:new Dn(this),unregisterNodeType:new Ht(this),beforeAddGraphTemplate:new Dn(this),addGraphTemplate:new Ht(this),beforeRemoveGraphTemplate:new Dn(this),removeGraphTemplate:new Ht(this),registerGraph:new Ht(this),unregisterGraph:new Ht(this)},this.hooks={save:new as(this),load:new as(this)},this.graphTemplateEvents=ti(),this.graphTemplateHooks=ti(),this.graphEvents=ti(),this.graphHooks=ti(),this.nodeEvents=ti(),this.nodeHooks=ti(),this.connectionEvents=ti(),this._graphs=new Set,this._nodeTypes=new Map,this._graph=new bc(this),this._graphTemplates=[],this._loading=!1,this.registerNodeType(jO),this.registerNodeType(QO)}registerNodeType(e,t){var s,i;if(this.events.beforeRegisterNodeType.emit({type:e,options:t}).prevented)return;const r=new e;this._nodeTypes.set(r.type,{type:e,category:(s=t==null?void 0:t.category)!==null&&s!==void 0?s:"default",title:(i=t==null?void 0:t.title)!==null&&i!==void 0?i:r.title}),this.events.registerNodeType.emit({type:e,options:t})}unregisterNodeType(e){const t=typeof e=="string"?e:new e().type;if(this.nodeTypes.has(t)){if(this.events.beforeUnregisterNodeType.emit(t).prevented)return;this._nodeTypes.delete(t),this.events.unregisterNodeType.emit(t)}}addGraphTemplate(e){if(this.events.beforeAddGraphTemplate.emit(e).prevented)return;this._graphTemplates.push(e),this.graphTemplateEvents.addTarget(e.events),this.graphTemplateHooks.addTarget(e.hooks);const t=FLt(e);this.registerNodeType(t,{category:"Subgraphs",title:e.name}),this.events.addGraphTemplate.emit(e)}removeGraphTemplate(e){if(this.graphTemplates.includes(e)){if(this.events.beforeRemoveGraphTemplate.emit(e).prevented)return;const t=Ia(e);for(const s of[this.graph,...this.graphs.values()]){const i=s.nodes.filter(r=>r.type===t);for(const r of i)s.removeNode(r)}this.unregisterNodeType(t),this._graphTemplates.splice(this._graphTemplates.indexOf(e),1),this.graphTemplateEvents.removeTarget(e.events),this.graphTemplateHooks.removeTarget(e.hooks),this.events.removeGraphTemplate.emit(e)}}registerGraph(e){this.graphEvents.addTarget(e.events),this.graphHooks.addTarget(e.hooks),this.nodeEvents.addTarget(e.nodeEvents),this.nodeHooks.addTarget(e.nodeHooks),this.connectionEvents.addTarget(e.connectionEvents),this.events.registerGraph.emit(e),this._graphs.add(e)}unregisterGraph(e){this.graphEvents.removeTarget(e.events),this.graphHooks.removeTarget(e.hooks),this.nodeEvents.removeTarget(e.nodeEvents),this.nodeHooks.removeTarget(e.nodeHooks),this.connectionEvents.removeTarget(e.connectionEvents),this.events.unregisterGraph.emit(e),this._graphs.delete(e)}load(e){try{this._loading=!0,e=this.hooks.load.execute(e),e.graphTemplates.forEach(s=>{const i=new xp(s,this);this.addGraphTemplate(i)});const t=this._graph.load(e.graph);return this.events.loaded.emit(),t.forEach(s=>console.warn(s)),t}finally{this._loading=!1}}save(){const e={graph:this.graph.save(),graphTemplates:this.graphTemplates.map(t=>t.save())};return this.hooks.save.execute(e)}}function BLt(n,e){const t=new Map;e.graphs.forEach(s=>{s.nodes.forEach(i=>t.set(i.id,i))}),n.forEach((s,i)=>{const r=t.get(i);r&&s.forEach((o,a)=>{const c=r.outputs[a];c&&(c.value=o)})})}class XO extends Error{constructor(){super("Cycle detected")}}function GLt(n){return typeof n=="string"}function ZO(n,e){const t=new Map,s=new Map,i=new Map;let r,o;if(n instanceof bc)r=n.nodes,o=n.connections;else{if(!e)throw new Error("Invalid argument value: expected array of connections");r=n,o=e}r.forEach(d=>{Object.values(d.inputs).forEach(u=>t.set(u.id,d.id)),Object.values(d.outputs).forEach(u=>t.set(u.id,d.id))}),r.forEach(d=>{const u=o.filter(f=>f.from&&t.get(f.from.id)===d.id),h=new Set(u.map(f=>t.get(f.to.id)).filter(GLt));s.set(d.id,h),i.set(d,u)});const a=r.slice();o.forEach(d=>{const u=a.findIndex(h=>t.get(d.to.id)===h.id);u>=0&&a.splice(u,1)});const c=[];for(;a.length>0;){const d=a.pop();c.push(d);const u=s.get(d.id);for(;u.size>0;){const h=u.values().next().value;if(u.delete(h),Array.from(s.values()).every(f=>!f.has(h))){const f=r.find(m=>m.id===h);a.push(f)}}}if(Array.from(s.values()).some(d=>d.size>0))throw new XO;return{calculationOrder:c,connectionsFromNode:i,interfaceIdToNodeId:t}}function VLt(n,e){try{return ZO(n,e),!1}catch(t){if(t instanceof XO)return!0;throw t}}var qn;(function(n){n.Running="Running",n.Idle="Idle",n.Paused="Paused",n.Stopped="Stopped"})(qn||(qn={}));class zLt{get status(){return this.isRunning?qn.Running:this.internalStatus}constructor(e){this.editor=e,this.events={beforeRun:new Dn(this),afterRun:new Ht(this),statusChange:new Ht(this),beforeNodeCalculation:new Ht(this),afterNodeCalculation:new Ht(this)},this.hooks={gatherCalculationData:new as(this),transferData:new qO},this.recalculateOrder=!0,this.internalStatus=qn.Stopped,this.isRunning=!1,this.editor.nodeEvents.update.subscribe(this,(t,s)=>{s.graph&&!s.graph.loading&&s.graph.activeTransactions===0&&this.internalOnChange(s,t??void 0)}),this.editor.graphEvents.addNode.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphEvents.removeNode.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphEvents.addConnection.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphEvents.removeConnection.subscribe(this,(t,s)=>{this.recalculateOrder=!0,!s.loading&&s.activeTransactions===0&&this.internalOnChange()}),this.editor.graphHooks.checkConnection.subscribe(this,t=>this.checkConnection(t.from,t.to))}start(){this.internalStatus===qn.Stopped&&(this.internalStatus=qn.Idle,this.events.statusChange.emit(this.status))}pause(){this.internalStatus===qn.Idle&&(this.internalStatus=qn.Paused,this.events.statusChange.emit(this.status))}resume(){this.internalStatus===qn.Paused&&(this.internalStatus=qn.Idle,this.events.statusChange.emit(this.status))}stop(){(this.internalStatus===qn.Idle||this.internalStatus===qn.Paused)&&(this.internalStatus=qn.Stopped,this.events.statusChange.emit(this.status))}async runOnce(e,...t){if(this.events.beforeRun.emit(e).prevented)return null;try{this.isRunning=!0,this.events.statusChange.emit(this.status),this.recalculateOrder&&this.calculateOrder();const s=await this.execute(e,...t);return this.events.afterRun.emit(s),s}finally{this.isRunning=!1,this.events.statusChange.emit(this.status)}}checkConnection(e,t){if(e.templateId){const r=this.findInterfaceByTemplateId(this.editor.graph.nodes,e.templateId);if(!r)return{connectionAllowed:!0,connectionsInDanger:[]};e=r}if(t.templateId){const r=this.findInterfaceByTemplateId(this.editor.graph.nodes,t.templateId);if(!r)return{connectionAllowed:!0,connectionsInDanger:[]};t=r}const s=new $O(e,t);let i=this.editor.graph.connections.slice();return t.allowMultipleConnections||(i=i.filter(r=>r.to!==t)),i.push(s),VLt(this.editor.graph.nodes,i)?{connectionAllowed:!1,connectionsInDanger:[]}:{connectionAllowed:!0,connectionsInDanger:t.allowMultipleConnections?[]:this.editor.graph.connections.filter(r=>r.to===t)}}calculateOrder(){this.recalculateOrder=!0}async calculateWithoutData(...e){const t=this.hooks.gatherCalculationData.execute(void 0);return await this.runOnce(t,...e)}validateNodeCalculationOutput(e,t){if(typeof t!="object")throw new Error(`Invalid calculation return value from node ${e.id} (type ${e.type})`);Object.keys(e.outputs).forEach(s=>{if(!(s in t))throw new Error(`Calculation return value from node ${e.id} (type ${e.type}) is missing key "${s}"`)})}internalOnChange(e,t){this.internalStatus===qn.Idle&&this.onChange(this.recalculateOrder,e,t)}findInterfaceByTemplateId(e,t){for(const s of e)for(const i of[...Object.values(s.inputs),...Object.values(s.outputs)])if(i.templateId===t)return i;return null}}class HLt extends zLt{constructor(e){super(e),this.order=new Map}start(){super.start(),this.recalculateOrder=!0,this.calculateWithoutData()}async runGraph(e,t,s){this.order.has(e.id)||this.order.set(e.id,ZO(e));const{calculationOrder:i,connectionsFromNode:r}=this.order.get(e.id),o=new Map;for(const a of i){const c={};Object.entries(a.inputs).forEach(([u,h])=>{c[u]=this.getInterfaceValue(t,h.id)}),this.events.beforeNodeCalculation.emit({inputValues:c,node:a});let d;if(a.calculate)d=await a.calculate(c,{globalValues:s,engine:this});else{d={};for(const[u,h]of Object.entries(a.outputs))d[u]=this.getInterfaceValue(t,h.id)}this.validateNodeCalculationOutput(a,d),this.events.afterNodeCalculation.emit({outputValues:d,node:a}),o.set(a.id,new Map(Object.entries(d))),r.has(a)&&r.get(a).forEach(u=>{var h;const f=(h=Object.entries(a.outputs).find(([,_])=>_.id===u.from.id))===null||h===void 0?void 0:h[0];if(!f)throw new Error(`Could not find key for interface ${u.from.id} This is likely a Baklava internal issue. Please report it on GitHub.`);const m=this.hooks.transferData.execute(d[f],u);u.to.allowMultipleConnections?t.has(u.to.id)?t.get(u.to.id).push(m):t.set(u.to.id,[m]):t.set(u.to.id,m)})}return o}async execute(e){this.recalculateOrder&&(this.order.clear(),this.recalculateOrder=!1);const t=this.getInputValues(this.editor.graph);return await this.runGraph(this.editor.graph,t,e)}getInputValues(e){const t=new Map;for(const s of e.nodes)Object.values(s.inputs).forEach(i=>{i.connectionCount===0&&t.set(i.id,i.value)}),s.calculate||Object.values(s.outputs).forEach(i=>{t.set(i.id,i.value)});return t}onChange(e){this.recalculateOrder=e||this.recalculateOrder,this.calculateWithoutData()}getInterfaceValue(e,t){if(!e.has(t))throw new Error(`Could not find value for interface ${t} -This is likely a Baklava internal issue. Please report it on GitHub.`);return e.get(t)}}let Nb=null;function sPt(n){Nb=n}function Os(){if(!Nb)throw new Error("providePlugin() must be called before usePlugin()");return{viewModel:Nb}}function Js(){const{viewModel:n}=Os();return{graph:Kd(n.value,"displayedGraph"),switchGraph:n.value.switchGraph}}function JO(n){const{graph:e}=Js(),t=ct(null),s=ct(null);return{dragging:et(()=>!!t.value),onPointerDown:c=>{t.value={x:c.pageX,y:c.pageY},s.value={x:n.value.x,y:n.value.y}},onPointerMove:c=>{if(t.value){const d=c.pageX-t.value.x,u=c.pageY-t.value.y;n.value.x=s.value.x+d/e.value.scaling,n.value.y=s.value.y+u/e.value.scaling}},onPointerUp:()=>{t.value=null,s.value=null}}}function eM(n,e,t){if(!e.template)return!1;if(Oa(e.template)===t)return!0;const s=n.graphTemplates.find(r=>Oa(r)===t);return s?s.nodes.filter(r=>r.type.startsWith(rc)).some(r=>eM(n,e,r.type)):!1}function tM(n){return et(()=>{const e=Array.from(n.value.editor.nodeTypes.entries()),t=new Set(e.map(([,i])=>i.category)),s=[];for(const i of t.values()){let r=e.filter(([,o])=>o.category===i);n.value.displayedGraph.template?r=r.filter(([o])=>!eM(n.value.editor,n.value.displayedGraph,o)):r=r.filter(([o])=>![Aa,Na].includes(o)),r.length>0&&s.push({name:i,nodeTypes:Object.fromEntries(r)})}return s.sort((i,r)=>i.name==="default"?-1:r.name==="default"||i.name>r.name?1:-1),s})}function nM(){const{graph:n}=Js();return{transform:(t,s)=>{const i=t/n.value.scaling-n.value.panning.x,r=s/n.value.scaling-n.value.panning.y;return[i,r]}}}function iPt(){const{graph:n}=Js();let e=[],t=-1,s={x:0,y:0};const i=et(()=>n.value.panning),r=JO(i),o=et(()=>({"transform-origin":"0 0",transform:`scale(${n.value.scaling}) translate(${n.value.panning.x}px, ${n.value.panning.y}px)`})),a=(m,_,g)=>{const b=[m/n.value.scaling-n.value.panning.x,_/n.value.scaling-n.value.panning.y],E=[m/g-n.value.panning.x,_/g-n.value.panning.y],y=[E[0]-b[0],E[1]-b[1]];n.value.panning.x+=y[0],n.value.panning.y+=y[1],n.value.scaling=g},c=m=>{m.preventDefault();let _=m.deltaY;m.deltaMode===1&&(_*=32);const g=n.value.scaling*(1-_/3e3);a(m.offsetX,m.offsetY,g)},d=()=>({ax:e[0].clientX,ay:e[0].clientY,bx:e[1].clientX,by:e[1].clientY});return{styles:o,...r,onPointerDown:m=>{if(e.push(m),r.onPointerDown(m),e.length===2){const{ax:_,ay:g,bx:b,by:E}=d();s={x:_+(b-_)/2,y:g+(E-g)/2}}},onPointerMove:m=>{for(let _=0;_0){const R=n.value.scaling*(1+(S-t)/500);a(s.x,s.y,R)}t=S}else r.onPointerMove(m)},onPointerUp:m=>{e=e.filter(_=>_.pointerId!==m.pointerId),t=-1,r.onPointerUp()},onMouseWheel:c}}var bs=(n=>(n[n.NONE=0]="NONE",n[n.ALLOWED=1]="ALLOWED",n[n.FORBIDDEN=2]="FORBIDDEN",n))(bs||{});const sM=Symbol();function rPt(){const{graph:n}=Js(),e=ct(null),t=ct(null),s=a=>{e.value&&(e.value.mx=a.offsetX/n.value.scaling-n.value.panning.x,e.value.my=a.offsetY/n.value.scaling-n.value.panning.y)},i=()=>{if(t.value){if(e.value)return;const a=n.value.connections.find(c=>c.to===t.value);t.value.isInput&&a?(e.value={status:bs.NONE,from:a.from},n.value.removeConnection(a)):e.value={status:bs.NONE,from:t.value},e.value.mx=void 0,e.value.my=void 0}},r=()=>{if(e.value&&t.value){if(e.value.from===t.value)return;n.value.addConnection(e.value.from,e.value.to)}e.value=null},o=a=>{if(t.value=a??null,a&&e.value){e.value.to=a;const c=n.value.checkConnection(e.value.from,e.value.to);if(e.value.status=c.connectionAllowed?bs.ALLOWED:bs.FORBIDDEN,c.connectionAllowed){const d=c.connectionsInDanger.map(u=>u.id);n.value.connections.forEach(u=>{d.includes(u.id)&&(u.isInDanger=!0)})}}else!a&&e.value&&(e.value.to=void 0,e.value.status=bs.NONE,n.value.connections.forEach(c=>{c.isInDanger=!1}))};return ea(sM,{temporaryConnection:e,hoveredOver:o}),{temporaryConnection:e,onMouseMove:s,onMouseDown:i,onMouseUp:r,hoveredOver:o}}function oPt(n){const e=ct(!1),t=ct(0),s=ct(0),i=tM(n),{transform:r}=nM(),o=et(()=>{let u=[];const h={};for(const m of i.value){const _=Object.entries(m.nodeTypes).map(([g,b])=>({label:b.title,value:"addNode:"+g}));m.name==="default"?u=_:h[m.name]=_}const f=[...Object.entries(h).map(([m,_])=>({label:m,submenu:_}))];return f.length>0&&u.length>0&&f.push({isDivider:!0}),f.push(...u),f}),a=et(()=>n.value.settings.contextMenu.additionalItems.length===0?o.value:[{label:"Add node",submenu:o.value},...n.value.settings.contextMenu.additionalItems.map(u=>"isDivider"in u||"submenu"in u?u:{label:u.label,value:"command:"+u.command,disabled:!n.value.commandHandler.canExecuteCommand(u.command)})]);function c(u){e.value=!0,t.value=u.offsetX,s.value=u.offsetY}function d(u){if(u.startsWith("addNode:")){const h=u.substring(8),f=n.value.editor.nodeTypes.get(h);if(!f)return;const m=Qn(new f.type);n.value.displayedGraph.addNode(m);const[_,g]=r(t.value,s.value);m.position.x=_,m.position.y=g}else if(u.startsWith("command:")){const h=u.substring(8);n.value.commandHandler.canExecuteCommand(h)&&n.value.commandHandler.executeCommand(h)}}return{show:e,x:t,y:s,items:a,open:c,onClick:d}}const aPt=pn({setup(){const{viewModel:n}=Os(),{graph:e}=Js();return{styles:et(()=>{const s=n.value.settings.background,i=e.value.panning.x*e.value.scaling,r=e.value.panning.y*e.value.scaling,o=e.value.scaling*s.gridSize,a=o/s.gridDivision,c=`${o}px ${o}px, ${o}px ${o}px`,d=e.value.scaling>s.subGridVisibleThreshold?`, ${a}px ${a}px, ${a}px ${a}px`:"";return{backgroundPosition:`left ${i}px top ${r}px`,backgroundSize:`${c} ${d}`}})}}}),_n=(n,e)=>{const t=n.__vccOpts||n;for(const[s,i]of e)t[s]=i;return t};function lPt(n,e,t,s,i,r){return T(),x("div",{class:"background",style:Kt(n.styles)},null,4)}const cPt=_n(aPt,[["render",lPt]]);function dPt(n){return bR()?(tI(n),!0):!1}function wy(n){return typeof n=="function"?n():Lt(n)}const iM=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uPt=Object.prototype.toString,pPt=n=>uPt.call(n)==="[object Object]",Hd=()=>{},_Pt=hPt();function hPt(){var n,e;return iM&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function fPt(n,e,t=!1){return e.reduce((s,i)=>(i in n&&(!t||n[i]!==void 0)&&(s[i]=n[i]),s),{})}function mPt(n,e={}){if(!fn(n))return PI(n);const t=Array.isArray(n.value)?Array.from({length:n.value.length}):{};for(const s in n.value)t[s]=LI(()=>({get(){return n.value[s]},set(i){var r;if((r=wy(e.replaceRef))!=null?r:!0)if(Array.isArray(n.value)){const a=[...n.value];a[s]=i,n.value=a}else{const a={...n.value,[s]:i};Object.setPrototypeOf(a,Object.getPrototypeOf(n.value)),n.value=a}else n.value[s]=i}}));return t}function Tl(n){var e;const t=wy(n);return(e=t==null?void 0:t.$el)!=null?e:t}const Ry=iM?window:void 0;function Fl(...n){let e,t,s,i;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,s,i]=n,e=Ry):[e,t,s,i]=n,!e)return Hd;Array.isArray(t)||(t=[t]),Array.isArray(s)||(s=[s]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,h,f,m)=>(u.addEventListener(h,f,m),()=>u.removeEventListener(h,f,m)),c=Ln(()=>[Tl(e),wy(i)],([u,h])=>{if(o(),!u)return;const f=pPt(h)?{...h}:h;r.push(...t.flatMap(m=>s.map(_=>a(u,m,_,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),o()};return dPt(d),d}let Qw=!1;function rM(n,e,t={}){const{window:s=Ry,ignore:i=[],capture:r=!0,detectIframe:o=!1}=t;if(!s)return Hd;_Pt&&!Qw&&(Qw=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",Hd)),s.document.documentElement.addEventListener("click",Hd));let a=!0;const c=f=>i.some(m=>{if(typeof m=="string")return Array.from(s.document.querySelectorAll(m)).some(_=>_===f.target||f.composedPath().includes(_));{const _=Tl(m);return _&&(f.target===_||f.composedPath().includes(_))}}),u=[Fl(s,"click",f=>{const m=Tl(n);if(!(!m||m===f.target||f.composedPath().includes(m))){if(f.detail===0&&(a=!c(f)),!a){a=!0;return}e(f)}},{passive:!0,capture:r}),Fl(s,"pointerdown",f=>{const m=Tl(n);a=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),o&&Fl(s,"blur",f=>{setTimeout(()=>{var m;const _=Tl(n);((m=s.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(_!=null&&_.contains(s.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const oM={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},gPt=Object.keys(oM);function bPt(n={}){const{target:e=Ry}=n,t=ct(!1),s=ct(n.initialValue||{});Object.assign(s.value,oM,s.value);const i=r=>{t.value=!0,!(n.pointerTypes&&!n.pointerTypes.includes(r.pointerType))&&(s.value=fPt(r,gPt,!1))};if(e){const r={passive:!0};Fl(e,["pointerdown","pointermove","pointerup"],i,r),Fl(e,"pointerleave",()=>t.value=!1,r)}return{...mPt(s),isInside:t}}const EPt=["onMouseenter","onMouseleave","onClick"],yPt={class:"flex-fill"},vPt={key:0,class:"__submenu-icon",style:{"line-height":"1em"}},SPt=l("svg",{width:"13",height:"13",viewBox:"-60 120 250 250"},[l("path",{d:"M160.875 279.5625 L70.875 369.5625 L70.875 189.5625 L160.875 279.5625 Z",stroke:"none",fill:"white"})],-1),TPt=[SPt],Ay=pn({__name:"ContextMenu",props:{modelValue:{type:Boolean},items:{},x:{default:0},y:{default:0},isNested:{type:Boolean,default:!1},isFlipped:{default:()=>({x:!1,y:!1})},flippable:{type:Boolean,default:!1}},emits:["update:modelValue","click"],setup(n,{emit:e}){const t=n,s=e;let i=null;const r=ct(null),o=ct(-1),a=ct(0),c=ct({x:!1,y:!1}),d=et(()=>t.flippable&&(c.value.x||t.isFlipped.x)),u=et(()=>t.flippable&&(c.value.y||t.isFlipped.y)),h=et(()=>{const y={};return t.isNested||(y.top=(u.value?t.y-a.value:t.y)+"px",y.left=t.x+"px"),y}),f=et(()=>({"--flipped-x":d.value,"--flipped-y":u.value,"--nested":t.isNested})),m=et(()=>t.items.map(y=>({...y,hover:!1})));Ln([()=>t.y,()=>t.items],()=>{var y,v,S,R;a.value=t.items.length*30;const w=((v=(y=r.value)==null?void 0:y.parentElement)==null?void 0:v.offsetWidth)??0,A=((R=(S=r.value)==null?void 0:S.parentElement)==null?void 0:R.offsetHeight)??0;c.value.x=!t.isNested&&t.x>w*.75,c.value.y=!t.isNested&&t.y+a.value>A-20}),rM(r,()=>{t.modelValue&&s("update:modelValue",!1)});const _=y=>{!y.submenu&&y.value&&(s("click",y.value),s("update:modelValue",!1))},g=y=>{s("click",y),o.value=-1,t.isNested||s("update:modelValue",!1)},b=(y,v)=>{t.items[v].submenu&&(o.value=v,i!==null&&(clearTimeout(i),i=null))},E=(y,v)=>{t.items[v].submenu&&(i=window.setTimeout(()=>{o.value=-1,i=null},200))};return(y,v)=>{const S=tt("ContextMenu",!0);return T(),dt(Hs,{name:"slide-fade"},{default:Ie(()=>[P(l("div",{ref_key:"el",ref:r,class:Ge(["baklava-context-menu",f.value]),style:Kt(h.value)},[(T(!0),x(Fe,null,Ke(m.value,(R,w)=>(T(),x(Fe,null,[R.isDivider?(T(),x("div",{key:`d-${w}`,class:"divider"})):(T(),x("div",{key:`i-${w}`,class:Ge(["item",{submenu:!!R.submenu,"--disabled":!!R.disabled}]),onMouseenter:A=>b(A,w),onMouseleave:A=>E(A,w),onClick:j(A=>_(R),["stop","prevent"])},[l("div",yPt,K(R.label),1),R.submenu?(T(),x("div",vPt,TPt)):G("",!0),R.submenu?(T(),dt(S,{key:1,"model-value":o.value===w,items:R.submenu,"is-nested":!0,"is-flipped":{x:d.value,y:u.value},flippable:y.flippable,onClick:g},null,8,["model-value","items","is-flipped","flippable"])):G("",!0)],42,EPt))],64))),256))],6),[[wt,y.modelValue]])]),_:1})}}}),xPt={},CPt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"16",height:"16",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},wPt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),RPt=l("circle",{cx:"12",cy:"12",r:"1"},null,-1),APt=l("circle",{cx:"12",cy:"19",r:"1"},null,-1),NPt=l("circle",{cx:"12",cy:"5",r:"1"},null,-1),OPt=[wPt,RPt,APt,NPt];function MPt(n,e){return T(),x("svg",CPt,OPt)}const aM=_n(xPt,[["render",MPt]]),IPt=["id"],kPt={key:0,class:"__tooltip"},DPt={key:2,class:"align-middle"},Xw=pn({__name:"NodeInterface",props:{node:{},intf:{}},setup(n){const e=(b,E=100)=>{const y=b!=null&&b.toString?b.toString():"";return y.length>E?y.slice(0,E)+"...":y},t=n,{viewModel:s}=Os(),{hoveredOver:i,temporaryConnection:r}=ns(sM),o=ct(null),a=et(()=>t.intf.connectionCount>0),c=ct(!1),d=et(()=>s.value.settings.displayValueOnHover&&c.value),u=et(()=>({"--input":t.intf.isInput,"--output":!t.intf.isInput,"--connected":a.value})),h=et(()=>t.intf.component&&(!t.intf.isInput||!t.intf.port||t.intf.connectionCount===0)),f=()=>{c.value=!0,i(t.intf)},m=()=>{c.value=!1,i(void 0)},_=()=>{o.value&&s.value.hooks.renderInterface.execute({intf:t.intf,el:o.value})},g=()=>{const b=s.value.displayedGraph.sidebar;b.nodeId=t.node.id,b.optionName=t.intf.name,b.visible=!0};return fi(_),lc(_),(b,E)=>{var y;return T(),x("div",{id:b.intf.id,ref_key:"el",ref:o,class:Ge(["baklava-node-interface",u.value])},[b.intf.port?(T(),x("div",{key:0,class:Ge(["__port",{"--selected":((y=Lt(r))==null?void 0:y.from)===b.intf}]),onPointerover:f,onPointerout:m},[hn(b.$slots,"portTooltip",{showTooltip:d.value},()=>[d.value===!0?(T(),x("span",kPt,K(e(b.intf.value)),1)):G("",!0)])],34)):G("",!0),h.value?(T(),dt(Vu(b.intf.component),{key:1,modelValue:b.intf.value,"onUpdate:modelValue":E[0]||(E[0]=v=>b.intf.value=v),node:b.node,intf:b.intf,onOpenSidebar:g},null,40,["modelValue","node","intf"])):(T(),x("span",DPt,K(b.intf.name),1))],10,IPt)}}}),LPt=["id","data-node-type"],PPt={class:"__title-label"},FPt={class:"__menu"},UPt={class:"__outputs"},BPt={class:"__inputs"},GPt=pn({__name:"Node",props:{node:{},selected:{type:Boolean,default:!1},dragging:{type:Boolean}},emits:["select","start-drag"],setup(n,{emit:e}){const t=n,s=e,{viewModel:i}=Os(),{graph:r,switchGraph:o}=Js(),a=ct(null),c=ct(!1),d=ct(""),u=ct(null),h=ct(!1),f=ct(!1),m=et(()=>{const B=[{value:"rename",label:"Rename"},{value:"delete",label:"Delete"}];return t.node.type.startsWith(rc)&&B.push({value:"editSubgraph",label:"Edit Subgraph"}),B}),_=et(()=>({"--selected":t.selected,"--dragging":t.dragging,"--two-column":!!t.node.twoColumn})),g=et(()=>{var B,H;return{top:`${((B=t.node.position)==null?void 0:B.y)??0}px`,left:`${((H=t.node.position)==null?void 0:H.x)??0}px`,"--width":`${t.node.width??i.value.settings.nodes.defaultWidth}px`}}),b=et(()=>Object.values(t.node.inputs).filter(B=>!B.hidden)),E=et(()=>Object.values(t.node.outputs).filter(B=>!B.hidden)),y=()=>{s("select")},v=B=>{t.selected||y(),s("start-drag",B)},S=()=>{f.value=!0},R=async B=>{var H;switch(B){case"delete":r.value.removeNode(t.node);break;case"rename":d.value=t.node.title,c.value=!0,await Le(),(H=u.value)==null||H.focus();break;case"editSubgraph":o(t.node.template);break}},w=()=>{t.node.title=d.value,c.value=!1},A=()=>{a.value&&i.value.hooks.renderNode.execute({node:t.node,el:a.value})},I=B=>{h.value=!0,B.preventDefault()},C=B=>{if(!h.value)return;const H=t.node.width+B.movementX/r.value.scaling,te=i.value.settings.nodes.minWidth,k=i.value.settings.nodes.maxWidth;t.node.width=Math.max(te,Math.min(k,H))},O=()=>{h.value=!1};return fi(()=>{A(),window.addEventListener("mousemove",C),window.addEventListener("mouseup",O)}),lc(A),Pa(()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",O)}),(B,H)=>(T(),x("div",{id:B.node.id,ref_key:"el",ref:a,class:Ge(["baklava-node",_.value]),style:Kt(g.value),"data-node-type":B.node.type,onPointerdown:y},[Lt(i).settings.nodes.resizable?(T(),x("div",{key:0,class:"__resize-handle",onMousedown:I},null,32)):G("",!0),hn(B.$slots,"title",{},()=>[l("div",{class:"__title",onPointerdown:j(v,["self","stop"])},[c.value?P((T(),x("input",{key:1,ref_key:"renameInputEl",ref:u,"onUpdate:modelValue":H[1]||(H[1]=te=>d.value=te),type:"text",class:"baklava-input",placeholder:"Node Name",onBlur:w,onKeydown:Ks(w,["enter"])},null,544)),[[pe,d.value]]):(T(),x(Fe,{key:0},[l("div",PPt,K(B.node.title),1),l("div",FPt,[V(aM,{class:"--clickable",onClick:S}),V(Ay,{modelValue:f.value,"onUpdate:modelValue":H[0]||(H[0]=te=>f.value=te),x:0,y:0,items:m.value,onClick:R},null,8,["modelValue","items"])])],64))],32)]),hn(B.$slots,"content",{},()=>[l("div",{class:"__content",onKeydown:H[2]||(H[2]=Ks(j(()=>{},["stop"]),["delete"]))},[l("div",UPt,[(T(!0),x(Fe,null,Ke(E.value,te=>hn(B.$slots,"nodeInterface",{key:te.id,type:"output",node:B.node,intf:te},()=>[V(Xw,{node:B.node,intf:te},null,8,["node","intf"])])),128))]),l("div",BPt,[(T(!0),x(Fe,null,Ke(b.value,te=>hn(B.$slots,"nodeInterface",{key:te.id,type:"input",node:B.node,intf:te},()=>[V(Xw,{node:B.node,intf:te},null,8,["node","intf"])])),128))])],32)])],46,LPt))}}),VPt=pn({props:{x1:{type:Number,required:!0},y1:{type:Number,required:!0},x2:{type:Number,required:!0},y2:{type:Number,required:!0},state:{type:Number,default:bs.NONE},isTemporary:{type:Boolean,default:!1}},setup(n){const{viewModel:e}=Os(),{graph:t}=Js(),s=(o,a)=>{const c=(o+t.value.panning.x)*t.value.scaling,d=(a+t.value.panning.y)*t.value.scaling;return[c,d]},i=et(()=>{const[o,a]=s(n.x1,n.y1),[c,d]=s(n.x2,n.y2);if(e.value.settings.useStraightConnections)return`M ${o} ${a} L ${c} ${d}`;{const u=.3*Math.abs(o-c);return`M ${o} ${a} C ${o+u} ${a}, ${c-u} ${d}, ${c} ${d}`}}),r=et(()=>({"--temporary":n.isTemporary,"--allowed":n.state===bs.ALLOWED,"--forbidden":n.state===bs.FORBIDDEN}));return{d:i,classes:r}}}),zPt=["d"];function HPt(n,e,t,s,i,r){return T(),x("path",{class:Ge(["baklava-connection",n.classes]),d:n.d},null,10,zPt)}const lM=_n(VPt,[["render",HPt]]);function qPt(n){return document.getElementById(n.id)}function Ma(n){const e=document.getElementById(n.id),t=e==null?void 0:e.getElementsByClassName("__port");return{node:(e==null?void 0:e.closest(".baklava-node"))??null,interface:e,port:t&&t.length>0?t[0]:null}}const $Pt=pn({components:{"connection-view":lM},props:{connection:{type:Object,required:!0}},setup(n){const{graph:e}=Js();let t;const s=ct({x1:0,y1:0,x2:0,y2:0}),i=et(()=>n.connection.isInDanger?bs.FORBIDDEN:bs.NONE),r=et(()=>{var d;return(d=e.value.findNodeById(n.connection.from.nodeId))==null?void 0:d.position}),o=et(()=>{var d;return(d=e.value.findNodeById(n.connection.to.nodeId))==null?void 0:d.position}),a=d=>d.node&&d.interface&&d.port?[d.node.offsetLeft+d.interface.offsetLeft+d.port.offsetLeft+d.port.clientWidth/2,d.node.offsetTop+d.interface.offsetTop+d.port.offsetTop+d.port.clientHeight/2]:[0,0],c=()=>{const d=Ma(n.connection.from),u=Ma(n.connection.to);d.node&&u.node&&(t||(t=new ResizeObserver(()=>{c()}),t.observe(d.node),t.observe(u.node)));const[h,f]=a(d),[m,_]=a(u);s.value={x1:h,y1:f,x2:m,y2:_}};return fi(async()=>{await Le(),c()}),Pa(()=>{t&&t.disconnect()}),Ln([r,o],()=>c(),{deep:!0}),{d:s,state:i}}});function YPt(n,e,t,s,i,r){const o=tt("connection-view");return T(),dt(o,{x1:n.d.x1,y1:n.d.y1,x2:n.d.x2,y2:n.d.y2,state:n.state},null,8,["x1","y1","x2","y2","state"])}const WPt=_n($Pt,[["render",YPt]]);function xu(n){return n.node&&n.interface&&n.port?[n.node.offsetLeft+n.interface.offsetLeft+n.port.offsetLeft+n.port.clientWidth/2,n.node.offsetTop+n.interface.offsetTop+n.port.offsetTop+n.port.clientHeight/2]:[0,0]}const KPt=pn({components:{"connection-view":lM},props:{connection:{type:Object,required:!0}},setup(n){const e=et(()=>n.connection?n.connection.status:bs.NONE);return{d:et(()=>{if(!n.connection)return{input:[0,0],output:[0,0]};const s=xu(Ma(n.connection.from)),i=n.connection.to?xu(Ma(n.connection.to)):[n.connection.mx||s[0],n.connection.my||s[1]];return n.connection.from.isInput?{input:i,output:s}:{input:s,output:i}}),status:e}}});function jPt(n,e,t,s,i,r){const o=tt("connection-view");return T(),dt(o,{x1:n.d.input[0],y1:n.d.input[1],x2:n.d.output[0],y2:n.d.output[1],state:n.status,"is-temporary":""},null,8,["x1","y1","x2","y2","state"])}const QPt=_n(KPt,[["render",jPt]]),XPt=pn({setup(){const{viewModel:n}=Os(),{graph:e}=Js(),t=ct(null),s=Kd(n.value.settings.sidebar,"width"),i=et(()=>n.value.settings.sidebar.resizable),r=et(()=>{const h=e.value.sidebar.nodeId;return e.value.nodes.find(f=>f.id===h)}),o=et(()=>({width:`${s.value}px`})),a=et(()=>r.value?[...Object.values(r.value.inputs),...Object.values(r.value.outputs)].filter(f=>f.displayInSidebar&&f.component):[]),c=()=>{e.value.sidebar.visible=!1},d=()=>{window.addEventListener("mousemove",u),window.addEventListener("mouseup",()=>{window.removeEventListener("mousemove",u)},{once:!0})},u=h=>{var f,m;const _=((m=(f=t.value)==null?void 0:f.parentElement)==null?void 0:m.getBoundingClientRect().width)??500;let g=s.value-h.movementX;g<300?g=300:g>.9*_&&(g=.9*_),s.value=g};return{el:t,graph:e,resizable:i,node:r,styles:o,displayedInterfaces:a,startResize:d,close:c}}}),ZPt={class:"__header"},JPt={class:"__node-name"};function e3t(n,e,t,s,i,r){return T(),x("div",{ref:"el",class:Ge(["baklava-sidebar",{"--open":n.graph.sidebar.visible}]),style:Kt(n.styles)},[n.resizable?(T(),x("div",{key:0,class:"__resizer",onMousedown:e[0]||(e[0]=(...o)=>n.startResize&&n.startResize(...o))},null,32)):G("",!0),l("div",ZPt,[l("button",{tabindex:"-1",class:"__close",onClick:e[1]||(e[1]=(...o)=>n.close&&n.close(...o))},"×"),l("div",JPt,[l("b",null,K(n.node?n.node.title:""),1)])]),(T(!0),x(Fe,null,Ke(n.displayedInterfaces,o=>(T(),x("div",{key:o.id,class:"__interface"},[(T(),dt(Vu(o.component),{modelValue:o.value,"onUpdate:modelValue":a=>o.value=a,node:n.node,intf:o},null,8,["modelValue","onUpdate:modelValue","node","intf"]))]))),128))],6)}const t3t=_n(XPt,[["render",e3t]]),n3t=pn({__name:"Minimap",setup(n){const{viewModel:e}=Os(),{graph:t}=Js(),s=ct(null),i=ct(!1);let r,o=!1,a={x1:0,y1:0,x2:0,y2:0},c;const d=()=>{var w,A;if(!r)return;r.canvas.width=s.value.offsetWidth,r.canvas.height=s.value.offsetHeight;const I=new Map,C=new Map;for(const k of t.value.nodes){const $=qPt(k),q=($==null?void 0:$.offsetWidth)??0,F=($==null?void 0:$.offsetHeight)??0,W=((w=k.position)==null?void 0:w.x)??0,ne=((A=k.position)==null?void 0:A.y)??0;I.set(k,{x1:W,y1:ne,x2:W+q,y2:ne+F}),C.set(k,$)}const O={x1:Number.MAX_SAFE_INTEGER,y1:Number.MAX_SAFE_INTEGER,x2:Number.MIN_SAFE_INTEGER,y2:Number.MIN_SAFE_INTEGER};for(const k of I.values())k.x1O.x2&&(O.x2=k.x2),k.y2>O.y2&&(O.y2=k.y2);const B=50;O.x1-=B,O.y1-=B,O.x2+=B,O.y2+=B,a=O;const H=r.canvas.width/r.canvas.height,te=(a.x2-a.x1)/(a.y2-a.y1);if(H>te){const k=(H-te)*(a.y2-a.y1)*.5;a.x1-=k,a.x2+=k}else{const k=a.x2-a.x1,$=a.y2-a.y1,q=(k-H*$)/H*.5;a.y1-=q,a.y2+=q}r.clearRect(0,0,r.canvas.width,r.canvas.height),r.strokeStyle="white";for(const k of t.value.connections){const[$,q]=xu(Ma(k.from)),[F,W]=xu(Ma(k.to)),[ne,le]=u($,q),[me,Se]=u(F,W);if(r.beginPath(),r.moveTo(ne,le),e.value.settings.useStraightConnections)r.lineTo(me,Se);else{const de=.3*Math.abs(ne-me);r.bezierCurveTo(ne+de,le,me-de,Se,me,Se)}r.stroke()}r.strokeStyle="lightgray";for(const[k,$]of I.entries()){const[q,F]=u($.x1,$.y1),[W,ne]=u($.x2,$.y2);r.fillStyle=f(C.get(k)),r.beginPath(),r.rect(q,F,W-q,ne-F),r.fill(),r.stroke()}if(i.value){const k=_(),[$,q]=u(k.x1,k.y1),[F,W]=u(k.x2,k.y2);r.fillStyle="rgba(255, 255, 255, 0.2)",r.fillRect($,q,F-$,W-q)}},u=(w,A)=>[(w-a.x1)/(a.x2-a.x1)*r.canvas.width,(A-a.y1)/(a.y2-a.y1)*r.canvas.height],h=(w,A)=>[w*(a.x2-a.x1)/r.canvas.width+a.x1,A*(a.y2-a.y1)/r.canvas.height+a.y1],f=w=>{if(w){const A=w.querySelector(".__content");if(A){const C=m(A);if(C)return C}const I=m(w);if(I)return I}return"gray"},m=w=>{const A=getComputedStyle(w).backgroundColor;if(A&&A!=="rgba(0, 0, 0, 0)")return A},_=()=>{const w=s.value.parentElement.offsetWidth,A=s.value.parentElement.offsetHeight,I=w/t.value.scaling-t.value.panning.x,C=A/t.value.scaling-t.value.panning.y;return{x1:-t.value.panning.x,y1:-t.value.panning.y,x2:I,y2:C}},g=w=>{w.button===0&&(o=!0,b(w))},b=w=>{if(o){const[A,I]=h(w.offsetX,w.offsetY),C=_(),O=(C.x2-C.x1)/2,B=(C.y2-C.y1)/2;t.value.panning.x=-(A-O),t.value.panning.y=-(I-B)}},E=()=>{o=!1},y=()=>{i.value=!0},v=()=>{i.value=!1,E()};Ln([i,t.value.panning,()=>t.value.scaling,()=>t.value.connections.length],()=>{d()});const S=et(()=>t.value.nodes.map(w=>w.position)),R=et(()=>t.value.nodes.map(w=>w.width));return Ln([S,R],()=>{d()},{deep:!0}),fi(()=>{r=s.value.getContext("2d"),r.imageSmoothingQuality="high",d(),c=setInterval(d,500)}),Pa(()=>{clearInterval(c)}),(w,A)=>(T(),x("canvas",{ref_key:"canvas",ref:s,class:"baklava-minimap",onMouseenter:y,onMouseleave:v,onMousedown:j(g,["self"]),onMousemove:j(b,["self"]),onMouseup:E},null,544))}}),s3t=pn({components:{ContextMenu:Ay,VerticalDots:aM},props:{type:{type:String,required:!0},title:{type:String,required:!0}},setup(n){const{viewModel:e}=Os(),{switchGraph:t}=Js(),s=ct(!1),i=et(()=>n.type.startsWith(rc));return{showContextMenu:s,hasContextMenu:i,contextMenuItems:[{label:"Edit Subgraph",value:"editSubgraph"},{label:"Delete Subgraph",value:"deleteSubgraph"}],openContextMenu:()=>{s.value=!0},onContextMenuClick:c=>{const d=n.type.substring(rc.length),u=e.value.editor.graphTemplates.find(h=>h.id===d);if(u)switch(c){case"editSubgraph":t(u);break;case"deleteSubgraph":e.value.editor.removeGraphTemplate(u);break}}}}}),i3t=["data-node-type"],r3t={class:"__title"},o3t={class:"__title-label"},a3t={key:0,class:"__menu"};function l3t(n,e,t,s,i,r){const o=tt("vertical-dots"),a=tt("context-menu");return T(),x("div",{class:"baklava-node --palette","data-node-type":n.type},[l("div",r3t,[l("div",o3t,K(n.title),1),n.hasContextMenu?(T(),x("div",a3t,[V(o,{class:"--clickable",onPointerdown:e[0]||(e[0]=j(()=>{},["stop","prevent"])),onClick:j(n.openContextMenu,["stop","prevent"])},null,8,["onClick"]),V(a,{modelValue:n.showContextMenu,"onUpdate:modelValue":e[1]||(e[1]=c=>n.showContextMenu=c),x:-100,y:0,items:n.contextMenuItems,onClick:n.onContextMenuClick,onPointerdown:e[2]||(e[2]=j(()=>{},["stop","prevent"]))},null,8,["modelValue","items","onClick"])])):G("",!0)])],8,i3t)}const Zw=_n(s3t,[["render",l3t]]),c3t={class:"baklava-node-palette"},d3t={key:0},u3t=pn({__name:"NodePalette",setup(n){const{viewModel:e}=Os(),{x:t,y:s}=bPt(),{transform:i}=nM(),r=tM(e),o=ns("editorEl"),a=ct(null),c=et(()=>{if(!a.value||!(o!=null&&o.value))return{};const{left:u,top:h}=o.value.getBoundingClientRect();return{top:`${s.value-h}px`,left:`${t.value-u}px`}}),d=(u,h)=>{a.value={type:u,nodeInformation:h};const f=()=>{const m=Qn(new h.type);e.value.displayedGraph.addNode(m);const _=o.value.getBoundingClientRect(),[g,b]=i(t.value-_.left,s.value-_.top);m.position.x=g,m.position.y=b,a.value=null,document.removeEventListener("pointerup",f)};document.addEventListener("pointerup",f)};return(u,h)=>(T(),x(Fe,null,[l("div",c3t,[(T(!0),x(Fe,null,Ke(Lt(r),f=>(T(),x("section",{key:f.name},[f.name!=="default"?(T(),x("h1",d3t,K(f.name),1)):G("",!0),(T(!0),x(Fe,null,Ke(f.nodeTypes,(m,_)=>(T(),dt(Zw,{key:_,type:_,title:m.title,onPointerdown:g=>d(_,m)},null,8,["type","title","onPointerdown"]))),128))]))),128))]),V(Hs,{name:"fade"},{default:Ie(()=>[a.value?(T(),x("div",{key:0,class:"baklava-dragged-node",style:Kt(c.value)},[V(Zw,{type:a.value.type,title:a.value.nodeInformation.title},null,8,["type","title"])],4)):G("",!0)]),_:1})],64))}});let Cd;const p3t=new Uint8Array(16);function _3t(){if(!Cd&&(Cd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Cd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Cd(p3t)}const Cn=[];for(let n=0;n<256;++n)Cn.push((n+256).toString(16).slice(1));function h3t(n,e=0){return Cn[n[e+0]]+Cn[n[e+1]]+Cn[n[e+2]]+Cn[n[e+3]]+"-"+Cn[n[e+4]]+Cn[n[e+5]]+"-"+Cn[n[e+6]]+Cn[n[e+7]]+"-"+Cn[n[e+8]]+Cn[n[e+9]]+"-"+Cn[n[e+10]]+Cn[n[e+11]]+Cn[n[e+12]]+Cn[n[e+13]]+Cn[n[e+14]]+Cn[n[e+15]]}const f3t=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Jw={randomUUID:f3t};function Cu(n,e,t){if(Jw.randomUUID&&!e&&!n)return Jw.randomUUID();n=n||{};const s=n.random||(n.rng||_3t)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=s[i];return e}return h3t(s)}const oc="SAVE_SUBGRAPH";function m3t(n,e){const t=()=>{const s=n.value;if(!s.template)throw new Error("Graph template property not set");s.template.update(s.save()),s.template.panning=s.panning,s.template.scaling=s.scaling};e.registerCommand(oc,{canExecute:()=>{var s;return n.value!==((s=n.value.editor)==null?void 0:s.graph)},execute:t})}const g3t={},b3t={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},E3t=l("polyline",{points:"6 9 12 15 18 9"},null,-1),y3t=[E3t];function v3t(n,e){return T(),x("svg",b3t,y3t)}const S3t=_n(g3t,[["render",v3t]]),T3t=pn({components:{"i-arrow":S3t},props:{intf:{type:Object,required:!0}},setup(n){const e=ct(null),t=ct(!1),s=et(()=>n.intf.items.find(o=>typeof o=="string"?o===n.intf.value:o.value===n.intf.value)),i=et(()=>s.value?typeof s.value=="string"?s.value:s.value.text:""),r=o=>{n.intf.value=typeof o=="string"?o:o.value};return rM(e,()=>{t.value=!1}),{el:e,open:t,selectedItem:s,selectedText:i,setSelected:r}}}),x3t=["title"],C3t={class:"__selected"},w3t={class:"__text"},R3t={class:"__icon"},A3t={class:"__dropdown"},N3t={class:"item --header"},O3t=["onClick"];function M3t(n,e,t,s,i,r){const o=tt("i-arrow");return T(),x("div",{ref:"el",class:Ge(["baklava-select",{"--open":n.open}]),title:n.intf.name,onClick:e[0]||(e[0]=a=>n.open=!n.open)},[l("div",C3t,[l("div",w3t,K(n.selectedText),1),l("div",R3t,[V(o)])]),V(Hs,{name:"slide-fade"},{default:Ie(()=>[P(l("div",A3t,[l("div",N3t,K(n.intf.name),1),(T(!0),x(Fe,null,Ke(n.intf.items,(a,c)=>(T(),x("div",{key:c,class:Ge(["item",{"--active":a===n.selectedItem}]),onClick:d=>n.setSelected(a)},K(typeof a=="string"?a:a.text),11,O3t))),128))],512),[[wt,n.open]])]),_:1})],10,x3t)}const I3t=_n(T3t,[["render",M3t]]);class k3t extends en{constructor(e,t,s){super(e,t),this.component=ac(I3t),this.items=s}}const D3t=pn({props:{intf:{type:Object,required:!0}}});function L3t(n,e,t,s,i,r){return T(),x("div",null,K(n.intf.value),1)}const P3t=_n(D3t,[["render",L3t]]);class F3t extends en{constructor(e,t){super(e,t),this.component=ac(P3t),this.setPort(!1)}}const U3t=pn({props:{intf:{type:Object,required:!0},modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(n,{emit:e}){return{v:et({get:()=>n.modelValue,set:s=>{e("update:modelValue",s)}})}}}),B3t=["placeholder","title"];function G3t(n,e,t,s,i,r){return T(),x("div",null,[P(l("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>n.v=o),type:"text",class:"baklava-input",placeholder:n.intf.name,title:n.intf.name},null,8,B3t),[[pe,n.v]])])}const V3t=_n(U3t,[["render",G3t]]);class Ec extends en{constructor(){super(...arguments),this.component=ac(V3t)}}class cM extends jO{constructor(){super(...arguments),this._title="Subgraph Input",this.inputs={name:new Ec("Name","Input").setPort(!1)},this.outputs={placeholder:new en("Connection",void 0)}}}class dM extends QO{constructor(){super(...arguments),this._title="Subgraph Output",this.inputs={name:new Ec("Name","Output").setPort(!1),placeholder:new en("Connection",void 0)},this.outputs={output:new en("Output",void 0).setHidden(!0)}}}const uM="CREATE_SUBGRAPH",eR=[Aa,Na];function z3t(n,e,t){const s=()=>n.value.selectedNodes.filter(r=>!eR.includes(r.type)).length>0,i=()=>{const{viewModel:r}=Os(),o=n.value,a=n.value.editor;if(o.selectedNodes.length===0)return;const c=o.selectedNodes.filter(C=>!eR.includes(C.type)),d=c.flatMap(C=>Object.values(C.inputs)),u=c.flatMap(C=>Object.values(C.outputs)),h=o.connections.filter(C=>!u.includes(C.from)&&d.includes(C.to)),f=o.connections.filter(C=>u.includes(C.from)&&!d.includes(C.to)),m=o.connections.filter(C=>u.includes(C.from)&&d.includes(C.to)),_=c.map(C=>C.save()),g=m.map(C=>({id:C.id,from:C.from.id,to:C.to.id})),b=new Map,{xLeft:E,xRight:y,yTop:v}=H3t(c);console.log(E,y,v);for(const[C,O]of h.entries()){const B=new cM;B.inputs.name.value=O.to.name,_.push({...B.save(),position:{x:y-r.value.settings.nodes.defaultWidth-100,y:v+C*200}}),g.push({id:Cu(),from:B.outputs.placeholder.id,to:O.to.id}),b.set(O.to.id,B.graphInterfaceId)}for(const[C,O]of f.entries()){const B=new dM;B.inputs.name.value=O.from.name,_.push({...B.save(),position:{x:E+100,y:v+C*200}}),g.push({id:Cu(),from:O.from.id,to:B.inputs.placeholder.id}),b.set(O.from.id,B.graphInterfaceId)}const S=Qn(new xp({connections:g,nodes:_,inputs:[],outputs:[]},a));a.addGraphTemplate(S);const R=a.nodeTypes.get(Oa(S));if(!R)throw new Error("Unable to create subgraph: Could not find corresponding graph node type");const w=Qn(new R.type);o.addNode(w);const A=Math.round(c.map(C=>C.position.x).reduce((C,O)=>C+O,0)/c.length),I=Math.round(c.map(C=>C.position.y).reduce((C,O)=>C+O,0)/c.length);w.position.x=A,w.position.y=I,h.forEach(C=>{o.removeConnection(C),o.addConnection(C.from,w.inputs[b.get(C.to.id)])}),f.forEach(C=>{o.removeConnection(C),o.addConnection(w.outputs[b.get(C.from.id)],C.to)}),c.forEach(C=>o.removeNode(C)),e.canExecuteCommand(oc)&&e.executeCommand(oc),t(S),n.value.panning={...o.panning},n.value.scaling=o.scaling};e.registerCommand(uM,{canExecute:s,execute:i})}function H3t(n){const e=n.reduce((i,r)=>{const o=r.position.x;return o{const o=r.position.y;return o{const o=r.position.x+r.width;return o>i?o:i},-1/0),xRight:e,yTop:t}}const tR="DELETE_NODES";function q3t(n,e){e.registerCommand(tR,{canExecute:()=>n.value.selectedNodes.length>0,execute(){n.value.selectedNodes.forEach(t=>n.value.removeNode(t))}}),e.registerHotkey(["Delete"],tR)}const pM="SWITCH_TO_MAIN_GRAPH";function $3t(n,e,t){e.registerCommand(pM,{canExecute:()=>n.value!==n.value.editor.graph,execute:()=>{e.executeCommand(oc),t(n.value.editor.graph)}})}function Y3t(n,e,t){q3t(n,e),z3t(n,e,t),m3t(n,e),$3t(n,e,t)}class nR{constructor(e,t){this.type=e,e==="addNode"?this.nodeId=t:this.nodeState=t}undo(e){this.type==="addNode"?this.removeNode(e):this.addNode(e)}redo(e){this.type==="addNode"&&this.nodeState?this.addNode(e):this.type==="removeNode"&&this.nodeId&&this.removeNode(e)}addNode(e){const t=e.editor.nodeTypes.get(this.nodeState.type);if(!t)return;const s=new t.type;e.addNode(s),s.load(this.nodeState),this.nodeId=s.id}removeNode(e){const t=e.nodes.find(s=>s.id===this.nodeId);t&&(this.nodeState=t.save(),e.removeNode(t))}}class sR{constructor(e,t){if(this.type=e,e==="addConnection")this.connectionId=t;else{const s=t;this.connectionState={id:s.id,from:s.from.id,to:s.to.id}}}undo(e){this.type==="addConnection"?this.removeConnection(e):this.addConnection(e)}redo(e){this.type==="addConnection"&&this.connectionState?this.addConnection(e):this.type==="removeConnection"&&this.connectionId&&this.removeConnection(e)}addConnection(e){const t=e.findNodeInterface(this.connectionState.from),s=e.findNodeInterface(this.connectionState.to);!t||!s||e.addConnection(t,s)}removeConnection(e){const t=e.connections.find(s=>s.id===this.connectionId);t&&(this.connectionState={id:t.id,from:t.from.id,to:t.to.id},e.removeConnection(t))}}class W3t{constructor(e){if(this.type="transaction",e.length===0)throw new Error("Can't create a transaction with no steps");this.steps=e}undo(e){for(let t=this.steps.length-1;t>=0;t--)this.steps[t].undo(e)}redo(e){for(let t=0;t{if(!r.value)if(a.value)c.value.push(b);else for(o.value!==i.value.length-1&&(i.value=i.value.slice(0,o.value+1)),i.value.push(b),o.value++;i.value.length>s.value;)i.value.shift()},u=()=>{a.value=!0},h=()=>{a.value=!1,c.value.length>0&&(d(new W3t(c.value)),c.value=[])},f=()=>i.value.length!==0&&o.value!==-1,m=()=>{f()&&(r.value=!0,i.value[o.value--].undo(n.value),r.value=!1)},_=()=>i.value.length!==0&&o.value{_()&&(r.value=!0,i.value[++o.value].redo(n.value),r.value=!1)};return Ln(n,(b,E)=>{E&&(E.events.addNode.unsubscribe(t),E.events.removeNode.unsubscribe(t),E.events.addConnection.unsubscribe(t),E.events.removeConnection.unsubscribe(t)),b&&(b.events.addNode.subscribe(t,y=>{d(new nR("addNode",y.id))}),b.events.removeNode.subscribe(t,y=>{d(new nR("removeNode",y.save()))}),b.events.addConnection.subscribe(t,y=>{d(new sR("addConnection",y.id))}),b.events.removeConnection.subscribe(t,y=>{d(new sR("removeConnection",y))}))},{immediate:!0}),e.registerCommand(Ob,{canExecute:f,execute:m}),e.registerCommand(Mb,{canExecute:_,execute:g}),e.registerCommand(_M,{canExecute:()=>!a.value,execute:u}),e.registerCommand(hM,{canExecute:()=>a.value,execute:h}),e.registerHotkey(["Control","z"],Ob),e.registerHotkey(["Control","y"],Mb),Qn({maxSteps:s})}const Ib="COPY",kb="PASTE",j3t="CLEAR_CLIPBOARD";function Q3t(n,e,t){const s=Symbol("ClipboardToken"),i=ct(""),r=ct(""),o=et(()=>!i.value),a=()=>{i.value="",r.value=""},c=()=>{const h=n.value.selectedNodes.flatMap(m=>[...Object.values(m.inputs),...Object.values(m.outputs)]),f=n.value.connections.filter(m=>h.includes(m.from)||h.includes(m.to)).map(m=>({from:m.from.id,to:m.to.id}));r.value=JSON.stringify(f),i.value=JSON.stringify(n.value.selectedNodes.map(m=>m.save()))},d=(h,f,m)=>{for(const _ of h){let g;if((!m||m==="input")&&(g=Object.values(_.inputs).find(b=>b.id===f)),!g&&(!m||m==="output")&&(g=Object.values(_.outputs).find(b=>b.id===f)),g)return g}},u=()=>{if(o.value)return;const h=new Map,f=JSON.parse(i.value),m=JSON.parse(r.value),_=[],g=[],b=n.value;t.executeCommand(_M);for(const E of f){const y=e.value.nodeTypes.get(E.type);if(!y){console.warn(`Node type ${E.type} not registered`);return}const v=new y.type,S=v.id;_.push(v),v.hooks.beforeLoad.subscribe(s,R=>{const w=R;return w.position&&(w.position.x+=100,w.position.y+=100),v.hooks.beforeLoad.unsubscribe(s),w}),b.addNode(v),v.load({...E,id:S}),v.id=S,h.set(E.id,S);for(const R of Object.values(v.inputs)){const w=Cu();h.set(R.id,w),R.id=w}for(const R of Object.values(v.outputs)){const w=Cu();h.set(R.id,w),R.id=w}}for(const E of m){const y=d(_,h.get(E.from),"output"),v=d(_,h.get(E.to),"input");if(!y||!v)continue;const S=b.addConnection(y,v);S&&g.push(S)}return n.value.selectedNodes=_,t.executeCommand(hM),{newNodes:_,newConnections:g}};return t.registerCommand(Ib,{canExecute:()=>n.value.selectedNodes.length>0,execute:c}),t.registerHotkey(["Control","c"],Ib),t.registerCommand(kb,{canExecute:()=>!o.value,execute:u}),t.registerHotkey(["Control","v"],kb),t.registerCommand(j3t,{canExecute:()=>!0,execute:a}),Qn({isEmpty:o})}const X3t="OPEN_SIDEBAR";function Z3t(n,e){e.registerCommand(X3t,{execute:t=>{n.value.sidebar.nodeId=t,n.value.sidebar.visible=!0},canExecute:()=>!0})}function J3t(n,e){Z3t(n,e)}const eFt={},tFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},nFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),sFt=l("path",{d:"M9 13l-4 -4l4 -4m-4 4h11a4 4 0 0 1 0 8h-1"},null,-1),iFt=[nFt,sFt];function rFt(n,e){return T(),x("svg",tFt,iFt)}const oFt=_n(eFt,[["render",rFt]]),aFt={},lFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},cFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),dFt=l("path",{d:"M15 13l4 -4l-4 -4m4 4h-11a4 4 0 0 0 0 8h1"},null,-1),uFt=[cFt,dFt];function pFt(n,e){return T(),x("svg",lFt,uFt)}const _Ft=_n(aFt,[["render",pFt]]),hFt={},fFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},mFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),gFt=l("line",{x1:"5",y1:"12",x2:"19",y2:"12"},null,-1),bFt=l("line",{x1:"5",y1:"12",x2:"11",y2:"18"},null,-1),EFt=l("line",{x1:"5",y1:"12",x2:"11",y2:"6"},null,-1),yFt=[mFt,gFt,bFt,EFt];function vFt(n,e){return T(),x("svg",fFt,yFt)}const SFt=_n(hFt,[["render",vFt]]),TFt={},xFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},CFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),wFt=l("path",{d:"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"},null,-1),RFt=l("rect",{x:"9",y:"3",width:"6",height:"4",rx:"2"},null,-1),AFt=[CFt,wFt,RFt];function NFt(n,e){return T(),x("svg",xFt,AFt)}const OFt=_n(TFt,[["render",NFt]]),MFt={},IFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},kFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),DFt=l("rect",{x:"8",y:"8",width:"12",height:"12",rx:"2"},null,-1),LFt=l("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"},null,-1),PFt=[kFt,DFt,LFt];function FFt(n,e){return T(),x("svg",IFt,PFt)}const UFt=_n(MFt,[["render",FFt]]),BFt={},GFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},VFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),zFt=l("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"},null,-1),HFt=l("circle",{cx:"12",cy:"14",r:"2"},null,-1),qFt=l("polyline",{points:"14 4 14 8 8 8 8 4"},null,-1),$Ft=[VFt,zFt,HFt,qFt];function YFt(n,e){return T(),x("svg",GFt,$Ft)}const WFt=_n(BFt,[["render",YFt]]),KFt={},jFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},QFt=Fa('',6),XFt=[QFt];function ZFt(n,e){return T(),x("svg",jFt,XFt)}const JFt=_n(KFt,[["render",ZFt]]),eUt=pn({props:{command:{type:String,required:!0},title:{type:String,required:!0},icon:{type:Object,required:!1,default:void 0}},setup(){const{viewModel:n}=Os();return{viewModel:n}}}),tUt=["disabled","title"];function nUt(n,e,t,s,i,r){return T(),x("button",{class:"baklava-toolbar-entry baklava-toolbar-button",disabled:!n.viewModel.commandHandler.canExecuteCommand(n.command),title:n.title,onClick:e[0]||(e[0]=o=>n.viewModel.commandHandler.executeCommand(n.command))},[n.icon?(T(),dt(Vu(n.icon),{key:0})):(T(),x(Fe,{key:1},[Je(K(n.title),1)],64))],8,tUt)}const sUt=_n(eUt,[["render",nUt]]),iUt=pn({components:{ToolbarButton:sUt},setup(){const{viewModel:n}=Os();return{isSubgraph:et(()=>n.value.displayedGraph!==n.value.editor.graph),commands:[{command:Ib,title:"Copy",icon:UFt},{command:kb,title:"Paste",icon:OFt},{command:Ob,title:"Undo",icon:oFt},{command:Mb,title:"Redo",icon:_Ft},{command:uM,title:"Create Subgraph",icon:JFt}],subgraphCommands:[{command:oc,title:"Save Subgraph",icon:WFt},{command:pM,title:"Back to Main Graph",icon:SFt}]}}}),rUt={class:"baklava-toolbar"};function oUt(n,e,t,s,i,r){const o=tt("toolbar-button");return T(),x("div",rUt,[(T(!0),x(Fe,null,Ke(n.commands,a=>(T(),dt(o,{key:a.command,command:a.command,title:a.title,icon:a.icon},null,8,["command","title","icon"]))),128)),n.isSubgraph?(T(!0),x(Fe,{key:0},Ke(n.subgraphCommands,a=>(T(),dt(o,{key:a.command,command:a.command,title:a.title,icon:a.icon},null,8,["command","title","icon"]))),128)):G("",!0)])}const aUt=_n(iUt,[["render",oUt]]),lUt={class:"connections-container"},cUt=pn({__name:"Editor",props:{viewModel:{}},setup(n){const e=n,t=Symbol("EditorToken"),s=Kd(e,"viewModel");sPt(s);const i=ct(null);ea("editorEl",i);const r=et(()=>e.viewModel.displayedGraph.nodes),o=et(()=>e.viewModel.displayedGraph.nodes.map(A=>JO(Kd(A,"position")))),a=et(()=>e.viewModel.displayedGraph.connections),c=et(()=>e.viewModel.displayedGraph.selectedNodes),d=iPt(),u=rPt(),h=oPt(s),f=et(()=>({...d.styles.value})),m=ct(0);e.viewModel.editor.hooks.load.subscribe(t,A=>(m.value++,A));const _=A=>{d.onPointerMove(A),u.onMouseMove(A)},g=A=>{A.button===0&&(A.target===i.value&&(S(),d.onPointerDown(A)),u.onMouseDown())},b=A=>{d.onPointerUp(A),u.onMouseUp()},E=A=>{A.key==="Tab"&&A.preventDefault(),e.viewModel.commandHandler.handleKeyDown(A)},y=A=>{e.viewModel.commandHandler.handleKeyUp(A)},v=A=>{["Control","Shift"].some(I=>e.viewModel.commandHandler.pressedKeys.includes(I))||S(),e.viewModel.displayedGraph.selectedNodes.push(A)},S=()=>{e.viewModel.displayedGraph.selectedNodes=[]},R=A=>{for(const I of e.viewModel.displayedGraph.selectedNodes){const C=r.value.indexOf(I),O=o.value[C];O.onPointerDown(A),document.addEventListener("pointermove",O.onPointerMove)}document.addEventListener("pointerup",w)},w=()=>{for(const A of e.viewModel.displayedGraph.selectedNodes){const I=r.value.indexOf(A),C=o.value[I];C.onPointerUp(),document.removeEventListener("pointermove",C.onPointerMove)}document.removeEventListener("pointerup",w)};return(A,I)=>(T(),x("div",{ref_key:"el",ref:i,tabindex:"-1",class:Ge(["baklava-editor",{"baklava-ignore-mouse":!!Lt(u).temporaryConnection.value||Lt(d).dragging.value,"--temporary-connection":!!Lt(u).temporaryConnection.value}]),onPointermove:j(_,["self"]),onPointerdown:g,onPointerup:b,onWheel:I[1]||(I[1]=j((...C)=>Lt(d).onMouseWheel&&Lt(d).onMouseWheel(...C),["self"])),onKeydown:E,onKeyup:y,onContextmenu:I[2]||(I[2]=j((...C)=>Lt(h).open&&Lt(h).open(...C),["self","prevent"]))},[hn(A.$slots,"background",{},()=>[V(cPt)]),hn(A.$slots,"toolbar",{},()=>[V(aUt)]),hn(A.$slots,"palette",{},()=>[V(u3t)]),(T(),x("svg",lUt,[(T(!0),x(Fe,null,Ke(a.value,C=>(T(),x("g",{key:C.id+m.value.toString()},[hn(A.$slots,"connection",{connection:C},()=>[V(WPt,{connection:C},null,8,["connection"])])]))),128)),hn(A.$slots,"temporaryConnection",{temporaryConnection:Lt(u).temporaryConnection.value},()=>[Lt(u).temporaryConnection.value?(T(),dt(QPt,{key:0,connection:Lt(u).temporaryConnection.value},null,8,["connection"])):G("",!0)])])),l("div",{class:"node-container",style:Kt(f.value)},[V(di,{name:"fade"},{default:Ie(()=>[(T(!0),x(Fe,null,Ke(r.value,(C,O)=>hn(A.$slots,"node",{key:C.id+m.value.toString(),node:C,selected:c.value.includes(C),dragging:o.value[O].dragging.value,onSelect:B=>v(C),onStartDrag:R},()=>[V(GPt,{node:C,selected:c.value.includes(C),dragging:o.value[O].dragging.value,onSelect:B=>v(C),onStartDrag:R},null,8,["node","selected","dragging","onSelect"])])),128))]),_:3})],4),hn(A.$slots,"sidebar",{},()=>[V(t3t)]),hn(A.$slots,"minimap",{},()=>[A.viewModel.settings.enableMinimap?(T(),dt(n3t,{key:0})):G("",!0)]),hn(A.$slots,"contextMenu",{contextMenu:Lt(h)},()=>[A.viewModel.settings.contextMenu.enabled?(T(),dt(Ay,{key:0,modelValue:Lt(h).show.value,"onUpdate:modelValue":I[0]||(I[0]=C=>Lt(h).show.value=C),items:Lt(h).items.value,x:Lt(h).x.value,y:Lt(h).y.value,onClick:Lt(h).onClick},null,8,["modelValue","items","x","y","onClick"])):G("",!0)])],34))}}),dUt=["INPUT","TEXTAREA","SELECT"];function uUt(n){const e=ct([]),t=ct([]);return{pressedKeys:e,handleKeyDown:o=>{var a;e.value.includes(o.key)||e.value.push(o.key),!dUt.includes(((a=document.activeElement)==null?void 0:a.tagName)??"")&&t.value.forEach(c=>{c.keys.every(d=>e.value.includes(d))&&n(c.commandName)})},handleKeyUp:o=>{const a=e.value.indexOf(o.key);a>=0&&e.value.splice(a,1)},registerHotkey:(o,a)=>{t.value.push({keys:o,commandName:a})}}}const pUt=()=>{const n=ct(new Map),e=(r,o)=>{if(n.value.has(r))throw new Error(`Command "${r}" already exists`);n.value.set(r,o)},t=(r,o=!1,...a)=>{if(!n.value.has(r)){if(o)throw new Error(`[CommandHandler] Command ${r} not registered`);return}return n.value.get(r).execute(...a)},s=(r,o=!1,...a)=>{if(!n.value.has(r)){if(o)throw new Error(`[CommandHandler] Command ${r} not registered`);return!1}return n.value.get(r).canExecute(a)},i=uUt(t);return Qn({registerCommand:e,executeCommand:t,canExecuteCommand:s,...i})},_Ut=n=>!(n instanceof bc);function hUt(n,e){return{switchGraph:s=>{let i;if(_Ut(s))i=new bc(n.value),s.createGraph(i);else{if(s!==n.value.graph)throw new Error("Can only switch using 'Graph' instance when it is the root graph. Otherwise a 'GraphTemplate' must be used.");i=s}e.value&&e.value!==n.value.graph&&e.value.destroy(),i.panning=i.panning??s.panning??{x:0,y:0},i.scaling=i.scaling??s.scaling??1,i.selectedNodes=i.selectedNodes??[],i.sidebar=i.sidebar??{visible:!1,nodeId:"",optionName:""},e.value=i}}}function fUt(n,e){n.position=n.position??{x:0,y:0},n.disablePointerEvents=!1,n.twoColumn=n.twoColumn??!1,n.width=n.width??e.defaultWidth}const mUt=()=>({useStraightConnections:!1,enableMinimap:!1,background:{gridSize:100,gridDivision:5,subGridVisibleThreshold:.6},sidebar:{width:300,resizable:!0},displayValueOnHover:!1,nodes:{defaultWidth:200,maxWidth:320,minWidth:150,resizable:!1},contextMenu:{enabled:!0,additionalItems:[]}});function gUt(n){const e=ct(n??new XLt),t=Symbol("ViewModelToken"),s=ct(null),i=OI(s),{switchGraph:r}=hUt(e,s),o=et(()=>i.value&&i.value!==e.value.graph),a=Qn(mUt()),c=pUt(),d=K3t(i,c),u=Q3t(i,e,c),h={renderNode:new as(null),renderInterface:new as(null)};return Y3t(i,c,r),J3t(i,c),Ln(e,(f,m)=>{m&&(m.events.registerGraph.unsubscribe(t),m.graphEvents.beforeAddNode.unsubscribe(t),f.nodeHooks.beforeLoad.unsubscribe(t),f.nodeHooks.afterSave.unsubscribe(t),f.graphTemplateHooks.beforeLoad.unsubscribe(t),f.graphTemplateHooks.afterSave.unsubscribe(t),f.graph.hooks.load.unsubscribe(t),f.graph.hooks.save.unsubscribe(t)),f&&(f.nodeHooks.beforeLoad.subscribe(t,(_,g)=>(g.position=_.position??{x:0,y:0},g.width=_.width??a.nodes.defaultWidth,g.twoColumn=_.twoColumn??!1,_)),f.nodeHooks.afterSave.subscribe(t,(_,g)=>(_.position=g.position,_.width=g.width,_.twoColumn=g.twoColumn,_)),f.graphTemplateHooks.beforeLoad.subscribe(t,(_,g)=>(g.panning=_.panning,g.scaling=_.scaling,_)),f.graphTemplateHooks.afterSave.subscribe(t,(_,g)=>(_.panning=g.panning,_.scaling=g.scaling,_)),f.graph.hooks.load.subscribe(t,(_,g)=>(g.panning=_.panning,g.scaling=_.scaling,_)),f.graph.hooks.save.subscribe(t,(_,g)=>(_.panning=g.panning,_.scaling=g.scaling,_)),f.graphEvents.beforeAddNode.subscribe(t,_=>fUt(_,{defaultWidth:a.nodes.defaultWidth})),e.value.registerNodeType(cM,{category:"Subgraphs"}),e.value.registerNodeType(dM,{category:"Subgraphs"}),r(f.graph))},{immediate:!0}),Qn({editor:e,displayedGraph:i,isSubgraph:o,settings:a,commandHandler:c,history:d,clipboard:u,hooks:h,switchGraph:r})}const bUt=Qa({type:"PersonalityNode",title:"Personality",inputs:{request:()=>new en("Request",""),agent_name:()=>new k3t("Personality","",Fs.state.config.personalities).setPort(!1)},outputs:{response:()=>new en("Response","")},async calculate({request:n}){console.log(Fs.state.config.personalities);let e="";try{e=(await re.post("/generate",{params:{text:n}})).data}catch(t){console.error(t)}return{display:e,response:e}}}),EUt=Qa({type:"RAGNode",title:"RAG",inputs:{request:()=>new en("Prompt",""),document_path:()=>new Ec("Document path","").setPort(!1)},outputs:{prompt:()=>new en("Prompt with Data","")},async calculate({request:n,document_path:e}){let t="";try{t=(await re.get("/rag",{params:{text:n,doc_path:e}})).data}catch(s){console.error(s)}return{response:t}}}),iR=Qa({type:"Task",title:"Task",inputs:{description:()=>new Ec("Task description","").setPort(!1)},outputs:{prompt:()=>new en("Prompt")},calculate({description:n}){return{prompt:n}}}),rR=Qa({type:"TextDisplayNode",title:"TextDisplay",inputs:{text2display:()=>new en("Input","")},outputs:{response:()=>new F3t("Text","")},async calculate({request:n}){}}),oR=Qa({type:"LLMNode",title:"LLM",inputs:{request:()=>new en("Request","")},outputs:{response:()=>new en("Response","")},async calculate({request:n}){console.log(Fs.state.config.personalities);let e="";try{e=(await re.post("/generate",{params:{text:n}})).data}catch(t){console.error(t)}return{display:e,response:e}}}),yUt=Qa({type:"MultichoiceNode",title:"Multichoice",inputs:{question:()=>new en("Question",""),outputs:()=>new Ec("choices, one per line","","").setPort(!1)},outputs:{response:()=>new en("Response","")}}),vUt=pn({components:{"baklava-editor":cUt},setup(){const n=gUt(),e=new nPt(n.editor);n.editor.registerNodeType(bUt),n.editor.registerNodeType(iR),n.editor.registerNodeType(EUt),n.editor.registerNodeType(rR),n.editor.registerNodeType(oR),n.editor.registerNodeType(yUt);const t=Symbol();e.events.afterRun.subscribe(t,a=>{e.pause(),ZLt(a,n.editor),e.resume()}),e.start();function s(a,c,d){const u=new a;return n.displayedGraph.addNode(u),u.position.x=c,u.position.y=d,u}const i=s(iR,300,140),r=s(oR,550,140),o=s(rR,850,140);return n.displayedGraph.addConnection(i.outputs.prompt,r.inputs.request),n.displayedGraph.addConnection(r.outputs.response,o.inputs.text2display),{baklava:n,saveGraph:()=>{const a=e.export();localStorage.setItem("myGraph",JSON.stringify(a))},loadGraph:()=>{const a=JSON.parse(localStorage.getItem("myGraph"));e.import(a)}}}}),SUt={style:{width:"100vw",height:"100vh"}};function TUt(n,e,t,s,i,r){const o=tt("baklava-editor");return T(),x("div",SUt,[V(o,{"view-model":n.baklava},null,8,["view-model"]),l("button",{onClick:e[0]||(e[0]=(...a)=>n.saveGraph&&n.saveGraph(...a))},"Save Graph"),l("button",{onClick:e[1]||(e[1]=(...a)=>n.loadGraph&&n.loadGraph(...a))},"Load Graph")])}const xUt=ot(vUt,[["render",TUt]]),CUt={},wUt={style:{width:"100vw",height:"100vh"}},RUt=["src"];function AUt(n,e,t,s,i,r){return T(),x("div",wUt,[l("iframe",{src:n.$store.state.config.comfyui_base_url,class:"m-0 p-0 w-full h-full"},null,8,RUt)])}const NUt=ot(CUt,[["render",AUt]]),OUt={},MUt={style:{width:"100vw",height:"100vh"}},IUt=["src"];function kUt(n,e,t,s,i,r){return T(),x("div",MUt,[l("iframe",{src:n.$store.state.config.sd_base_url,class:"m-0 p-0 w-full h-full"},null,8,IUt)])}const DUt=ot(OUt,[["render",kUt]]);const LUt={name:"AppCard",props:{app:{type:Object,required:!0},isFavorite:{type:Boolean,default:!1}},methods:{formatDate(n){const e={year:"numeric",month:"short",day:"numeric"};return new Date(n).toLocaleDateString(void 0,e)}}},ls=n=>(Rs("data-v-3803ec00"),n=n(),As(),n),PUt={class:"app-card bg-white border rounded-xl shadow-lg p-6 hover:shadow-xl transition duration-300 ease-in-out flex flex-col h-full"},FUt={class:"flex-grow"},UUt={class:"flex items-center mb-4"},BUt=["src"],GUt={class:"font-bold text-xl text-gray-800"},VUt={class:"text-sm text-gray-600"},zUt={class:"text-sm text-gray-600"},HUt={class:"text-sm text-gray-600"},qUt={class:"text-sm text-gray-600"},$Ut={class:"text-sm text-gray-600"},YUt={class:"mb-4"},WUt=ls(()=>l("h4",{class:"font-semibold mb-1 text-gray-700"},"Description:",-1)),KUt={class:"text-sm text-gray-600 h-20 overflow-y-auto"},jUt={class:"text-sm text-gray-600 mb-2"},QUt={key:0,class:"mb-4"},XUt=ls(()=>l("h4",{class:"font-semibold mb-1 text-gray-700"},"Disclaimer:",-1)),ZUt={class:"text-xs text-gray-500 italic h-16 overflow-y-auto"},JUt={class:"mt-auto pt-4 border-t"},e4t={class:"flex justify-between items-center flex-wrap"},t4t=["title"],n4t=["fill"],s4t=ls(()=>l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"},null,-1)),i4t=[s4t],r4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),o4t=[r4t],a4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),l4t=[a4t],c4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)),d4t=[c4t],u4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})],-1)),p4t=[u4t],_4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)),h4t=[_4t],f4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M12 21a9 9 0 100-18 9 9 0 000 18z"})],-1)),m4t=[f4t],g4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1)),b4t=[g4t],E4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14M12 5l7 7-7 7"})],-1)),y4t=[E4t],v4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)),S4t=ls(()=>l("span",{class:"absolute top-0 right-0 inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-100 transform translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full"},"!",-1)),T4t=[v4t,S4t];function x4t(n,e,t,s,i,r){return T(),x("div",PUt,[l("div",FUt,[l("div",UUt,[l("img",{src:t.app.icon,alt:"App Icon",class:"w-16 h-16 rounded-full border border-gray-300 mr-4"},null,8,BUt),l("div",null,[l("h3",GUt,K(t.app.name),1),l("p",VUt,"Author: "+K(t.app.author),1),l("p",zUt,"Version: "+K(t.app.version),1),l("p",HUt,"Category: "+K(t.app.category),1),l("p",qUt,"Creation date: "+K(r.formatDate(t.app.creation_date)),1),l("p",$Ut,"Last update: "+K(r.formatDate(t.app.last_update_date)),1),l("p",{class:Ge(["text-sm",t.app.is_public?"text-green-600":"text-orange-600"])},K(t.app.is_public?"Public App":"Local App"),3)])]),l("div",YUt,[WUt,l("p",KUt,K(t.app.description),1)]),l("p",jUt,"AI Model: "+K(t.app.model_name),1),t.app.disclaimer&&t.app.disclaimer.trim()!==""?(T(),x("div",QUt,[XUt,l("p",ZUt,K(t.app.disclaimer),1)])):G("",!0)]),l("div",JUt,[l("div",e4t,[l("button",{onClick:e[0]||(e[0]=j(o=>n.$emit("toggle-favorite",t.app.uid),["stop"])),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:t.isFavorite?"Remove from favorites":"Add to favorites"},[(T(),x("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:t.isFavorite?"currentColor":"none",viewBox:"0 0 24 24",stroke:"currentColor"},i4t,8,n4t))],8,t4t),t.app.installed?(T(),x("button",{key:0,onClick:e[1]||(e[1]=j(o=>n.$emit("uninstall",t.app.folder_name),["stop"])),class:"text-red-500 hover:text-red-600 transition duration-300 ease-in-out",title:"Uninstall"},o4t)):t.app.existsInFolder?(T(),x("button",{key:1,onClick:e[2]||(e[2]=j(o=>n.$emit("delete",t.app.name),["stop"])),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:"Delete"},l4t)):(T(),x("button",{key:2,onClick:e[3]||(e[3]=j(o=>n.$emit("install",t.app.folder_name),["stop"])),class:"text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out",title:"Install"},d4t)),t.app.installed?(T(),x("button",{key:3,onClick:e[4]||(e[4]=j(o=>n.$emit("edit",t.app),["stop"])),class:"text-purple-500 hover:text-purple-600 transition duration-300 ease-in-out",title:"Edit"},p4t)):G("",!0),l("button",{onClick:e[5]||(e[5]=j(o=>n.$emit("download",t.app.folder_name),["stop"])),class:"text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Download"},h4t),t.app.has_readme?(T(),x("button",{key:4,onClick:e[6]||(e[6]=j(o=>n.$emit("help",t.app),["stop"])),class:"text-gray-500 hover:text-gray-600 transition duration-300 ease-in-out",title:"Help"},m4t)):G("",!0),t.app.installed?(T(),x("button",{key:5,onClick:e[7]||(e[7]=j(o=>n.$emit("open",t.app),["stop"])),class:"text-indigo-500 hover:text-indigo-600 transition duration-300 ease-in-out",title:"Open"},b4t)):G("",!0),t.app.has_server&&t.app.installed?(T(),x("button",{key:6,onClick:e[8]||(e[8]=j(o=>n.$emit("start-server",t.app.folder_name),["stop"])),class:"text-teal-500 hover:text-teal-600 transition duration-300 ease-in-out",title:"Start Server"},y4t)):G("",!0),t.app.has_update?(T(),x("button",{key:7,onClick:e[9]||(e[9]=j(o=>n.$emit("install",t.app.folder_name),["stop"])),class:"relative text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out animate-pulse",title:"Update Available"},T4t)):G("",!0)])])])}const C4t=ot(LUt,[["render",x4t],["__scopeId","data-v-3803ec00"]]);function Ny(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let bo=Ny();function fM(n){bo=n}const mM=/[&<>"']/,w4t=new RegExp(mM.source,"g"),gM=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,R4t=new RegExp(gM.source,"g"),A4t={"&":"&","<":"<",">":">",'"':""","'":"'"},aR=n=>A4t[n];function ts(n,e){if(e){if(mM.test(n))return n.replace(w4t,aR)}else if(gM.test(n))return n.replace(R4t,aR);return n}const N4t=/(^|[^\[])\^/g;function $t(n,e){let t=typeof n=="string"?n:n.source;e=e||"";const s={replace:(i,r)=>{let o=typeof r=="string"?r:r.source;return o=o.replace(N4t,"$1"),t=t.replace(i,o),s},getRegex:()=>new RegExp(t,e)};return s}function lR(n){try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const Ul={exec:()=>null};function cR(n,e){const t=n.replace(/\|/g,(r,o,a)=>{let c=!1,d=o;for(;--d>=0&&a[d]==="\\";)c=!c;return c?"|":" |"}),s=t.split(/ \|/);let i=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length!!t.value),onPointerDown:c=>{t.value={x:c.pageX,y:c.pageY},s.value={x:n.value.x,y:n.value.y}},onPointerMove:c=>{if(t.value){const d=c.pageX-t.value.x,u=c.pageY-t.value.y;n.value.x=s.value.x+d/e.value.scaling,n.value.y=s.value.y+u/e.value.scaling}},onPointerUp:()=>{t.value=null,s.value=null}}}function eI(n,e,t){if(!e.template)return!1;if(Ia(e.template)===t)return!0;const s=n.graphTemplates.find(r=>Ia(r)===t);return s?s.nodes.filter(r=>r.type.startsWith(rc)).some(r=>eI(n,e,r.type)):!1}function tI(n){return et(()=>{const e=Array.from(n.value.editor.nodeTypes.entries()),t=new Set(e.map(([,i])=>i.category)),s=[];for(const i of t.values()){let r=e.filter(([,o])=>o.category===i);n.value.displayedGraph.template?r=r.filter(([o])=>!eI(n.value.editor,n.value.displayedGraph,o)):r=r.filter(([o])=>![Na,Oa].includes(o)),r.length>0&&s.push({name:i,nodeTypes:Object.fromEntries(r)})}return s.sort((i,r)=>i.name==="default"?-1:r.name==="default"||i.name>r.name?1:-1),s})}function nI(){const{graph:n}=Js();return{transform:(t,s)=>{const i=t/n.value.scaling-n.value.panning.x,r=s/n.value.scaling-n.value.panning.y;return[i,r]}}}function $Lt(){const{graph:n}=Js();let e=[],t=-1,s={x:0,y:0};const i=et(()=>n.value.panning),r=JO(i),o=et(()=>({"transform-origin":"0 0",transform:`scale(${n.value.scaling}) translate(${n.value.panning.x}px, ${n.value.panning.y}px)`})),a=(m,_,g)=>{const b=[m/n.value.scaling-n.value.panning.x,_/n.value.scaling-n.value.panning.y],E=[m/g-n.value.panning.x,_/g-n.value.panning.y],y=[E[0]-b[0],E[1]-b[1]];n.value.panning.x+=y[0],n.value.panning.y+=y[1],n.value.scaling=g},c=m=>{m.preventDefault();let _=m.deltaY;m.deltaMode===1&&(_*=32);const g=n.value.scaling*(1-_/3e3);a(m.offsetX,m.offsetY,g)},d=()=>({ax:e[0].clientX,ay:e[0].clientY,bx:e[1].clientX,by:e[1].clientY});return{styles:o,...r,onPointerDown:m=>{if(e.push(m),r.onPointerDown(m),e.length===2){const{ax:_,ay:g,bx:b,by:E}=d();s={x:_+(b-_)/2,y:g+(E-g)/2}}},onPointerMove:m=>{for(let _=0;_0){const R=n.value.scaling*(1+(S-t)/500);a(s.x,s.y,R)}t=S}else r.onPointerMove(m)},onPointerUp:m=>{e=e.filter(_=>_.pointerId!==m.pointerId),t=-1,r.onPointerUp()},onMouseWheel:c}}var bs=(n=>(n[n.NONE=0]="NONE",n[n.ALLOWED=1]="ALLOWED",n[n.FORBIDDEN=2]="FORBIDDEN",n))(bs||{});const sI=Symbol();function YLt(){const{graph:n}=Js(),e=ct(null),t=ct(null),s=a=>{e.value&&(e.value.mx=a.offsetX/n.value.scaling-n.value.panning.x,e.value.my=a.offsetY/n.value.scaling-n.value.panning.y)},i=()=>{if(t.value){if(e.value)return;const a=n.value.connections.find(c=>c.to===t.value);t.value.isInput&&a?(e.value={status:bs.NONE,from:a.from},n.value.removeConnection(a)):e.value={status:bs.NONE,from:t.value},e.value.mx=void 0,e.value.my=void 0}},r=()=>{if(e.value&&t.value){if(e.value.from===t.value)return;n.value.addConnection(e.value.from,e.value.to)}e.value=null},o=a=>{if(t.value=a??null,a&&e.value){e.value.to=a;const c=n.value.checkConnection(e.value.from,e.value.to);if(e.value.status=c.connectionAllowed?bs.ALLOWED:bs.FORBIDDEN,c.connectionAllowed){const d=c.connectionsInDanger.map(u=>u.id);n.value.connections.forEach(u=>{d.includes(u.id)&&(u.isInDanger=!0)})}}else!a&&e.value&&(e.value.to=void 0,e.value.status=bs.NONE,n.value.connections.forEach(c=>{c.isInDanger=!1}))};return ta(sI,{temporaryConnection:e,hoveredOver:o}),{temporaryConnection:e,onMouseMove:s,onMouseDown:i,onMouseUp:r,hoveredOver:o}}function WLt(n){const e=ct(!1),t=ct(0),s=ct(0),i=tI(n),{transform:r}=nI(),o=et(()=>{let u=[];const h={};for(const m of i.value){const _=Object.entries(m.nodeTypes).map(([g,b])=>({label:b.title,value:"addNode:"+g}));m.name==="default"?u=_:h[m.name]=_}const f=[...Object.entries(h).map(([m,_])=>({label:m,submenu:_}))];return f.length>0&&u.length>0&&f.push({isDivider:!0}),f.push(...u),f}),a=et(()=>n.value.settings.contextMenu.additionalItems.length===0?o.value:[{label:"Add node",submenu:o.value},...n.value.settings.contextMenu.additionalItems.map(u=>"isDivider"in u||"submenu"in u?u:{label:u.label,value:"command:"+u.command,disabled:!n.value.commandHandler.canExecuteCommand(u.command)})]);function c(u){e.value=!0,t.value=u.offsetX,s.value=u.offsetY}function d(u){if(u.startsWith("addNode:")){const h=u.substring(8),f=n.value.editor.nodeTypes.get(h);if(!f)return;const m=Qn(new f.type);n.value.displayedGraph.addNode(m);const[_,g]=r(t.value,s.value);m.position.x=_,m.position.y=g}else if(u.startsWith("command:")){const h=u.substring(8);n.value.commandHandler.canExecuteCommand(h)&&n.value.commandHandler.executeCommand(h)}}return{show:e,x:t,y:s,items:a,open:c,onClick:d}}const KLt=pn({setup(){const{viewModel:n}=Os(),{graph:e}=Js();return{styles:et(()=>{const s=n.value.settings.background,i=e.value.panning.x*e.value.scaling,r=e.value.panning.y*e.value.scaling,o=e.value.scaling*s.gridSize,a=o/s.gridDivision,c=`${o}px ${o}px, ${o}px ${o}px`,d=e.value.scaling>s.subGridVisibleThreshold?`, ${a}px ${a}px, ${a}px ${a}px`:"";return{backgroundPosition:`left ${i}px top ${r}px`,backgroundSize:`${c} ${d}`}})}}}),_n=(n,e)=>{const t=n.__vccOpts||n;for(const[s,i]of e)t[s]=i;return t};function jLt(n,e,t,s,i,r){return T(),C("div",{class:"background",style:jt(n.styles)},null,4)}const QLt=_n(KLt,[["render",jLt]]);function XLt(n){return bR()?(tM(n),!0):!1}function wy(n){return typeof n=="function"?n():Lt(n)}const iI=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ZLt=Object.prototype.toString,JLt=n=>ZLt.call(n)==="[object Object]",Hd=()=>{},ePt=tPt();function tPt(){var n,e;return iI&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function nPt(n,e,t=!1){return e.reduce((s,i)=>(i in n&&(!t||n[i]!==void 0)&&(s[i]=n[i]),s),{})}function sPt(n,e={}){if(!fn(n))return PM(n);const t=Array.isArray(n.value)?Array.from({length:n.value.length}):{};for(const s in n.value)t[s]=LM(()=>({get(){return n.value[s]},set(i){var r;if((r=wy(e.replaceRef))!=null?r:!0)if(Array.isArray(n.value)){const a=[...n.value];a[s]=i,n.value=a}else{const a={...n.value,[s]:i};Object.setPrototypeOf(a,Object.getPrototypeOf(n.value)),n.value=a}else n.value[s]=i}}));return t}function Tl(n){var e;const t=wy(n);return(e=t==null?void 0:t.$el)!=null?e:t}const Ry=iI?window:void 0;function Fl(...n){let e,t,s,i;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,s,i]=n,e=Ry):[e,t,s,i]=n,!e)return Hd;Array.isArray(t)||(t=[t]),Array.isArray(s)||(s=[s]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,h,f,m)=>(u.addEventListener(h,f,m),()=>u.removeEventListener(h,f,m)),c=Ln(()=>[Tl(e),wy(i)],([u,h])=>{if(o(),!u)return;const f=JLt(h)?{...h}:h;r.push(...t.flatMap(m=>s.map(_=>a(u,m,_,f))))},{immediate:!0,flush:"post"}),d=()=>{c(),o()};return XLt(d),d}let Qw=!1;function rI(n,e,t={}){const{window:s=Ry,ignore:i=[],capture:r=!0,detectIframe:o=!1}=t;if(!s)return Hd;ePt&&!Qw&&(Qw=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",Hd)),s.document.documentElement.addEventListener("click",Hd));let a=!0;const c=f=>i.some(m=>{if(typeof m=="string")return Array.from(s.document.querySelectorAll(m)).some(_=>_===f.target||f.composedPath().includes(_));{const _=Tl(m);return _&&(f.target===_||f.composedPath().includes(_))}}),u=[Fl(s,"click",f=>{const m=Tl(n);if(!(!m||m===f.target||f.composedPath().includes(m))){if(f.detail===0&&(a=!c(f)),!a){a=!0;return}e(f)}},{passive:!0,capture:r}),Fl(s,"pointerdown",f=>{const m=Tl(n);a=!c(f)&&!!(m&&!f.composedPath().includes(m))},{passive:!0}),o&&Fl(s,"blur",f=>{setTimeout(()=>{var m;const _=Tl(n);((m=s.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(_!=null&&_.contains(s.document.activeElement))&&e(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const oI={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},iPt=Object.keys(oI);function rPt(n={}){const{target:e=Ry}=n,t=ct(!1),s=ct(n.initialValue||{});Object.assign(s.value,oI,s.value);const i=r=>{t.value=!0,!(n.pointerTypes&&!n.pointerTypes.includes(r.pointerType))&&(s.value=nPt(r,iPt,!1))};if(e){const r={passive:!0};Fl(e,["pointerdown","pointermove","pointerup"],i,r),Fl(e,"pointerleave",()=>t.value=!1,r)}return{...sPt(s),isInside:t}}const oPt=["onMouseenter","onMouseleave","onClick"],aPt={class:"flex-fill"},lPt={key:0,class:"__submenu-icon",style:{"line-height":"1em"}},cPt=l("svg",{width:"13",height:"13",viewBox:"-60 120 250 250"},[l("path",{d:"M160.875 279.5625 L70.875 369.5625 L70.875 189.5625 L160.875 279.5625 Z",stroke:"none",fill:"white"})],-1),dPt=[cPt],Ay=pn({__name:"ContextMenu",props:{modelValue:{type:Boolean},items:{},x:{default:0},y:{default:0},isNested:{type:Boolean,default:!1},isFlipped:{default:()=>({x:!1,y:!1})},flippable:{type:Boolean,default:!1}},emits:["update:modelValue","click"],setup(n,{emit:e}){const t=n,s=e;let i=null;const r=ct(null),o=ct(-1),a=ct(0),c=ct({x:!1,y:!1}),d=et(()=>t.flippable&&(c.value.x||t.isFlipped.x)),u=et(()=>t.flippable&&(c.value.y||t.isFlipped.y)),h=et(()=>{const y={};return t.isNested||(y.top=(u.value?t.y-a.value:t.y)+"px",y.left=t.x+"px"),y}),f=et(()=>({"--flipped-x":d.value,"--flipped-y":u.value,"--nested":t.isNested})),m=et(()=>t.items.map(y=>({...y,hover:!1})));Ln([()=>t.y,()=>t.items],()=>{var y,v,S,R;a.value=t.items.length*30;const w=((v=(y=r.value)==null?void 0:y.parentElement)==null?void 0:v.offsetWidth)??0,A=((R=(S=r.value)==null?void 0:S.parentElement)==null?void 0:R.offsetHeight)??0;c.value.x=!t.isNested&&t.x>w*.75,c.value.y=!t.isNested&&t.y+a.value>A-20}),rI(r,()=>{t.modelValue&&s("update:modelValue",!1)});const _=y=>{!y.submenu&&y.value&&(s("click",y.value),s("update:modelValue",!1))},g=y=>{s("click",y),o.value=-1,t.isNested||s("update:modelValue",!1)},b=(y,v)=>{t.items[v].submenu&&(o.value=v,i!==null&&(clearTimeout(i),i=null))},E=(y,v)=>{t.items[v].submenu&&(i=window.setTimeout(()=>{o.value=-1,i=null},200))};return(y,v)=>{const S=tt("ContextMenu",!0);return T(),dt(Hs,{name:"slide-fade"},{default:Me(()=>[P(l("div",{ref_key:"el",ref:r,class:Be(["baklava-context-menu",f.value]),style:jt(h.value)},[(T(!0),C(Ge,null,Xe(m.value,(R,w)=>(T(),C(Ge,null,[R.isDivider?(T(),C("div",{key:`d-${w}`,class:"divider"})):(T(),C("div",{key:`i-${w}`,class:Be(["item",{submenu:!!R.submenu,"--disabled":!!R.disabled}]),onMouseenter:A=>b(A,w),onMouseleave:A=>E(A,w),onClick:j(A=>_(R),["stop","prevent"])},[l("div",aPt,K(R.label),1),R.submenu?(T(),C("div",lPt,dPt)):G("",!0),R.submenu?(T(),dt(S,{key:1,"model-value":o.value===w,items:R.submenu,"is-nested":!0,"is-flipped":{x:d.value,y:u.value},flippable:y.flippable,onClick:g},null,8,["model-value","items","is-flipped","flippable"])):G("",!0)],42,oPt))],64))),256))],6),[[wt,y.modelValue]])]),_:1})}}}),uPt={},pPt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"16",height:"16",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},_Pt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),hPt=l("circle",{cx:"12",cy:"12",r:"1"},null,-1),fPt=l("circle",{cx:"12",cy:"19",r:"1"},null,-1),mPt=l("circle",{cx:"12",cy:"5",r:"1"},null,-1),gPt=[_Pt,hPt,fPt,mPt];function bPt(n,e){return T(),C("svg",pPt,gPt)}const aI=_n(uPt,[["render",bPt]]),EPt=["id"],yPt={key:0,class:"__tooltip"},vPt={key:2,class:"align-middle"},Xw=pn({__name:"NodeInterface",props:{node:{},intf:{}},setup(n){const e=(b,E=100)=>{const y=b!=null&&b.toString?b.toString():"";return y.length>E?y.slice(0,E)+"...":y},t=n,{viewModel:s}=Os(),{hoveredOver:i,temporaryConnection:r}=ns(sI),o=ct(null),a=et(()=>t.intf.connectionCount>0),c=ct(!1),d=et(()=>s.value.settings.displayValueOnHover&&c.value),u=et(()=>({"--input":t.intf.isInput,"--output":!t.intf.isInput,"--connected":a.value})),h=et(()=>t.intf.component&&(!t.intf.isInput||!t.intf.port||t.intf.connectionCount===0)),f=()=>{c.value=!0,i(t.intf)},m=()=>{c.value=!1,i(void 0)},_=()=>{o.value&&s.value.hooks.renderInterface.execute({intf:t.intf,el:o.value})},g=()=>{const b=s.value.displayedGraph.sidebar;b.nodeId=t.node.id,b.optionName=t.intf.name,b.visible=!0};return fi(_),lc(_),(b,E)=>{var y;return T(),C("div",{id:b.intf.id,ref_key:"el",ref:o,class:Be(["baklava-node-interface",u.value])},[b.intf.port?(T(),C("div",{key:0,class:Be(["__port",{"--selected":((y=Lt(r))==null?void 0:y.from)===b.intf}]),onPointerover:f,onPointerout:m},[hn(b.$slots,"portTooltip",{showTooltip:d.value},()=>[d.value===!0?(T(),C("span",yPt,K(e(b.intf.value)),1)):G("",!0)])],34)):G("",!0),h.value?(T(),dt(Vu(b.intf.component),{key:1,modelValue:b.intf.value,"onUpdate:modelValue":E[0]||(E[0]=v=>b.intf.value=v),node:b.node,intf:b.intf,onOpenSidebar:g},null,40,["modelValue","node","intf"])):(T(),C("span",vPt,K(b.intf.name),1))],10,EPt)}}}),SPt=["id","data-node-type"],TPt={class:"__title-label"},xPt={class:"__menu"},CPt={class:"__outputs"},wPt={class:"__inputs"},RPt=pn({__name:"Node",props:{node:{},selected:{type:Boolean,default:!1},dragging:{type:Boolean}},emits:["select","start-drag"],setup(n,{emit:e}){const t=n,s=e,{viewModel:i}=Os(),{graph:r,switchGraph:o}=Js(),a=ct(null),c=ct(!1),d=ct(""),u=ct(null),h=ct(!1),f=ct(!1),m=et(()=>{const B=[{value:"rename",label:"Rename"},{value:"delete",label:"Delete"}];return t.node.type.startsWith(rc)&&B.push({value:"editSubgraph",label:"Edit Subgraph"}),B}),_=et(()=>({"--selected":t.selected,"--dragging":t.dragging,"--two-column":!!t.node.twoColumn})),g=et(()=>{var B,H;return{top:`${((B=t.node.position)==null?void 0:B.y)??0}px`,left:`${((H=t.node.position)==null?void 0:H.x)??0}px`,"--width":`${t.node.width??i.value.settings.nodes.defaultWidth}px`}}),b=et(()=>Object.values(t.node.inputs).filter(B=>!B.hidden)),E=et(()=>Object.values(t.node.outputs).filter(B=>!B.hidden)),y=()=>{s("select")},v=B=>{t.selected||y(),s("start-drag",B)},S=()=>{f.value=!0},R=async B=>{var H;switch(B){case"delete":r.value.removeNode(t.node);break;case"rename":d.value=t.node.title,c.value=!0,await Le(),(H=u.value)==null||H.focus();break;case"editSubgraph":o(t.node.template);break}},w=()=>{t.node.title=d.value,c.value=!1},A=()=>{a.value&&i.value.hooks.renderNode.execute({node:t.node,el:a.value})},M=B=>{h.value=!0,B.preventDefault()},x=B=>{if(!h.value)return;const H=t.node.width+B.movementX/r.value.scaling,te=i.value.settings.nodes.minWidth,k=i.value.settings.nodes.maxWidth;t.node.width=Math.max(te,Math.min(k,H))},O=()=>{h.value=!1};return fi(()=>{A(),window.addEventListener("mousemove",x),window.addEventListener("mouseup",O)}),lc(A),Fa(()=>{window.removeEventListener("mousemove",x),window.removeEventListener("mouseup",O)}),(B,H)=>(T(),C("div",{id:B.node.id,ref_key:"el",ref:a,class:Be(["baklava-node",_.value]),style:jt(g.value),"data-node-type":B.node.type,onPointerdown:y},[Lt(i).settings.nodes.resizable?(T(),C("div",{key:0,class:"__resize-handle",onMousedown:M},null,32)):G("",!0),hn(B.$slots,"title",{},()=>[l("div",{class:"__title",onPointerdown:j(v,["self","stop"])},[c.value?P((T(),C("input",{key:1,ref_key:"renameInputEl",ref:u,"onUpdate:modelValue":H[1]||(H[1]=te=>d.value=te),type:"text",class:"baklava-input",placeholder:"Node Name",onBlur:w,onKeydown:Ks(w,["enter"])},null,544)),[[pe,d.value]]):(T(),C(Ge,{key:0},[l("div",TPt,K(B.node.title),1),l("div",xPt,[V(aI,{class:"--clickable",onClick:S}),V(Ay,{modelValue:f.value,"onUpdate:modelValue":H[0]||(H[0]=te=>f.value=te),x:0,y:0,items:m.value,onClick:R},null,8,["modelValue","items"])])],64))],32)]),hn(B.$slots,"content",{},()=>[l("div",{class:"__content",onKeydown:H[2]||(H[2]=Ks(j(()=>{},["stop"]),["delete"]))},[l("div",CPt,[(T(!0),C(Ge,null,Xe(E.value,te=>hn(B.$slots,"nodeInterface",{key:te.id,type:"output",node:B.node,intf:te},()=>[V(Xw,{node:B.node,intf:te},null,8,["node","intf"])])),128))]),l("div",wPt,[(T(!0),C(Ge,null,Xe(b.value,te=>hn(B.$slots,"nodeInterface",{key:te.id,type:"input",node:B.node,intf:te},()=>[V(Xw,{node:B.node,intf:te},null,8,["node","intf"])])),128))])],32)])],46,SPt))}}),APt=pn({props:{x1:{type:Number,required:!0},y1:{type:Number,required:!0},x2:{type:Number,required:!0},y2:{type:Number,required:!0},state:{type:Number,default:bs.NONE},isTemporary:{type:Boolean,default:!1}},setup(n){const{viewModel:e}=Os(),{graph:t}=Js(),s=(o,a)=>{const c=(o+t.value.panning.x)*t.value.scaling,d=(a+t.value.panning.y)*t.value.scaling;return[c,d]},i=et(()=>{const[o,a]=s(n.x1,n.y1),[c,d]=s(n.x2,n.y2);if(e.value.settings.useStraightConnections)return`M ${o} ${a} L ${c} ${d}`;{const u=.3*Math.abs(o-c);return`M ${o} ${a} C ${o+u} ${a}, ${c-u} ${d}, ${c} ${d}`}}),r=et(()=>({"--temporary":n.isTemporary,"--allowed":n.state===bs.ALLOWED,"--forbidden":n.state===bs.FORBIDDEN}));return{d:i,classes:r}}}),NPt=["d"];function OPt(n,e,t,s,i,r){return T(),C("path",{class:Be(["baklava-connection",n.classes]),d:n.d},null,10,NPt)}const lI=_n(APt,[["render",OPt]]);function IPt(n){return document.getElementById(n.id)}function Ma(n){const e=document.getElementById(n.id),t=e==null?void 0:e.getElementsByClassName("__port");return{node:(e==null?void 0:e.closest(".baklava-node"))??null,interface:e,port:t&&t.length>0?t[0]:null}}const MPt=pn({components:{"connection-view":lI},props:{connection:{type:Object,required:!0}},setup(n){const{graph:e}=Js();let t;const s=ct({x1:0,y1:0,x2:0,y2:0}),i=et(()=>n.connection.isInDanger?bs.FORBIDDEN:bs.NONE),r=et(()=>{var d;return(d=e.value.findNodeById(n.connection.from.nodeId))==null?void 0:d.position}),o=et(()=>{var d;return(d=e.value.findNodeById(n.connection.to.nodeId))==null?void 0:d.position}),a=d=>d.node&&d.interface&&d.port?[d.node.offsetLeft+d.interface.offsetLeft+d.port.offsetLeft+d.port.clientWidth/2,d.node.offsetTop+d.interface.offsetTop+d.port.offsetTop+d.port.clientHeight/2]:[0,0],c=()=>{const d=Ma(n.connection.from),u=Ma(n.connection.to);d.node&&u.node&&(t||(t=new ResizeObserver(()=>{c()}),t.observe(d.node),t.observe(u.node)));const[h,f]=a(d),[m,_]=a(u);s.value={x1:h,y1:f,x2:m,y2:_}};return fi(async()=>{await Le(),c()}),Fa(()=>{t&&t.disconnect()}),Ln([r,o],()=>c(),{deep:!0}),{d:s,state:i}}});function kPt(n,e,t,s,i,r){const o=tt("connection-view");return T(),dt(o,{x1:n.d.x1,y1:n.d.y1,x2:n.d.x2,y2:n.d.y2,state:n.state},null,8,["x1","y1","x2","y2","state"])}const DPt=_n(MPt,[["render",kPt]]);function xu(n){return n.node&&n.interface&&n.port?[n.node.offsetLeft+n.interface.offsetLeft+n.port.offsetLeft+n.port.clientWidth/2,n.node.offsetTop+n.interface.offsetTop+n.port.offsetTop+n.port.clientHeight/2]:[0,0]}const LPt=pn({components:{"connection-view":lI},props:{connection:{type:Object,required:!0}},setup(n){const e=et(()=>n.connection?n.connection.status:bs.NONE);return{d:et(()=>{if(!n.connection)return{input:[0,0],output:[0,0]};const s=xu(Ma(n.connection.from)),i=n.connection.to?xu(Ma(n.connection.to)):[n.connection.mx||s[0],n.connection.my||s[1]];return n.connection.from.isInput?{input:i,output:s}:{input:s,output:i}}),status:e}}});function PPt(n,e,t,s,i,r){const o=tt("connection-view");return T(),dt(o,{x1:n.d.input[0],y1:n.d.input[1],x2:n.d.output[0],y2:n.d.output[1],state:n.status,"is-temporary":""},null,8,["x1","y1","x2","y2","state"])}const FPt=_n(LPt,[["render",PPt]]),UPt=pn({setup(){const{viewModel:n}=Os(),{graph:e}=Js(),t=ct(null),s=Kd(n.value.settings.sidebar,"width"),i=et(()=>n.value.settings.sidebar.resizable),r=et(()=>{const h=e.value.sidebar.nodeId;return e.value.nodes.find(f=>f.id===h)}),o=et(()=>({width:`${s.value}px`})),a=et(()=>r.value?[...Object.values(r.value.inputs),...Object.values(r.value.outputs)].filter(f=>f.displayInSidebar&&f.component):[]),c=()=>{e.value.sidebar.visible=!1},d=()=>{window.addEventListener("mousemove",u),window.addEventListener("mouseup",()=>{window.removeEventListener("mousemove",u)},{once:!0})},u=h=>{var f,m;const _=((m=(f=t.value)==null?void 0:f.parentElement)==null?void 0:m.getBoundingClientRect().width)??500;let g=s.value-h.movementX;g<300?g=300:g>.9*_&&(g=.9*_),s.value=g};return{el:t,graph:e,resizable:i,node:r,styles:o,displayedInterfaces:a,startResize:d,close:c}}}),BPt={class:"__header"},GPt={class:"__node-name"};function VPt(n,e,t,s,i,r){return T(),C("div",{ref:"el",class:Be(["baklava-sidebar",{"--open":n.graph.sidebar.visible}]),style:jt(n.styles)},[n.resizable?(T(),C("div",{key:0,class:"__resizer",onMousedown:e[0]||(e[0]=(...o)=>n.startResize&&n.startResize(...o))},null,32)):G("",!0),l("div",BPt,[l("button",{tabindex:"-1",class:"__close",onClick:e[1]||(e[1]=(...o)=>n.close&&n.close(...o))},"×"),l("div",GPt,[l("b",null,K(n.node?n.node.title:""),1)])]),(T(!0),C(Ge,null,Xe(n.displayedInterfaces,o=>(T(),C("div",{key:o.id,class:"__interface"},[(T(),dt(Vu(o.component),{modelValue:o.value,"onUpdate:modelValue":a=>o.value=a,node:n.node,intf:o},null,8,["modelValue","onUpdate:modelValue","node","intf"]))]))),128))],6)}const zPt=_n(UPt,[["render",VPt]]),HPt=pn({__name:"Minimap",setup(n){const{viewModel:e}=Os(),{graph:t}=Js(),s=ct(null),i=ct(!1);let r,o=!1,a={x1:0,y1:0,x2:0,y2:0},c;const d=()=>{var w,A;if(!r)return;r.canvas.width=s.value.offsetWidth,r.canvas.height=s.value.offsetHeight;const M=new Map,x=new Map;for(const k of t.value.nodes){const $=IPt(k),q=($==null?void 0:$.offsetWidth)??0,F=($==null?void 0:$.offsetHeight)??0,W=((w=k.position)==null?void 0:w.x)??0,ne=((A=k.position)==null?void 0:A.y)??0;M.set(k,{x1:W,y1:ne,x2:W+q,y2:ne+F}),x.set(k,$)}const O={x1:Number.MAX_SAFE_INTEGER,y1:Number.MAX_SAFE_INTEGER,x2:Number.MIN_SAFE_INTEGER,y2:Number.MIN_SAFE_INTEGER};for(const k of M.values())k.x1O.x2&&(O.x2=k.x2),k.y2>O.y2&&(O.y2=k.y2);const B=50;O.x1-=B,O.y1-=B,O.x2+=B,O.y2+=B,a=O;const H=r.canvas.width/r.canvas.height,te=(a.x2-a.x1)/(a.y2-a.y1);if(H>te){const k=(H-te)*(a.y2-a.y1)*.5;a.x1-=k,a.x2+=k}else{const k=a.x2-a.x1,$=a.y2-a.y1,q=(k-H*$)/H*.5;a.y1-=q,a.y2+=q}r.clearRect(0,0,r.canvas.width,r.canvas.height),r.strokeStyle="white";for(const k of t.value.connections){const[$,q]=xu(Ma(k.from)),[F,W]=xu(Ma(k.to)),[ne,le]=u($,q),[me,Se]=u(F,W);if(r.beginPath(),r.moveTo(ne,le),e.value.settings.useStraightConnections)r.lineTo(me,Se);else{const de=.3*Math.abs(ne-me);r.bezierCurveTo(ne+de,le,me-de,Se,me,Se)}r.stroke()}r.strokeStyle="lightgray";for(const[k,$]of M.entries()){const[q,F]=u($.x1,$.y1),[W,ne]=u($.x2,$.y2);r.fillStyle=f(x.get(k)),r.beginPath(),r.rect(q,F,W-q,ne-F),r.fill(),r.stroke()}if(i.value){const k=_(),[$,q]=u(k.x1,k.y1),[F,W]=u(k.x2,k.y2);r.fillStyle="rgba(255, 255, 255, 0.2)",r.fillRect($,q,F-$,W-q)}},u=(w,A)=>[(w-a.x1)/(a.x2-a.x1)*r.canvas.width,(A-a.y1)/(a.y2-a.y1)*r.canvas.height],h=(w,A)=>[w*(a.x2-a.x1)/r.canvas.width+a.x1,A*(a.y2-a.y1)/r.canvas.height+a.y1],f=w=>{if(w){const A=w.querySelector(".__content");if(A){const x=m(A);if(x)return x}const M=m(w);if(M)return M}return"gray"},m=w=>{const A=getComputedStyle(w).backgroundColor;if(A&&A!=="rgba(0, 0, 0, 0)")return A},_=()=>{const w=s.value.parentElement.offsetWidth,A=s.value.parentElement.offsetHeight,M=w/t.value.scaling-t.value.panning.x,x=A/t.value.scaling-t.value.panning.y;return{x1:-t.value.panning.x,y1:-t.value.panning.y,x2:M,y2:x}},g=w=>{w.button===0&&(o=!0,b(w))},b=w=>{if(o){const[A,M]=h(w.offsetX,w.offsetY),x=_(),O=(x.x2-x.x1)/2,B=(x.y2-x.y1)/2;t.value.panning.x=-(A-O),t.value.panning.y=-(M-B)}},E=()=>{o=!1},y=()=>{i.value=!0},v=()=>{i.value=!1,E()};Ln([i,t.value.panning,()=>t.value.scaling,()=>t.value.connections.length],()=>{d()});const S=et(()=>t.value.nodes.map(w=>w.position)),R=et(()=>t.value.nodes.map(w=>w.width));return Ln([S,R],()=>{d()},{deep:!0}),fi(()=>{r=s.value.getContext("2d"),r.imageSmoothingQuality="high",d(),c=setInterval(d,500)}),Fa(()=>{clearInterval(c)}),(w,A)=>(T(),C("canvas",{ref_key:"canvas",ref:s,class:"baklava-minimap",onMouseenter:y,onMouseleave:v,onMousedown:j(g,["self"]),onMousemove:j(b,["self"]),onMouseup:E},null,544))}}),qPt=pn({components:{ContextMenu:Ay,VerticalDots:aI},props:{type:{type:String,required:!0},title:{type:String,required:!0}},setup(n){const{viewModel:e}=Os(),{switchGraph:t}=Js(),s=ct(!1),i=et(()=>n.type.startsWith(rc));return{showContextMenu:s,hasContextMenu:i,contextMenuItems:[{label:"Edit Subgraph",value:"editSubgraph"},{label:"Delete Subgraph",value:"deleteSubgraph"}],openContextMenu:()=>{s.value=!0},onContextMenuClick:c=>{const d=n.type.substring(rc.length),u=e.value.editor.graphTemplates.find(h=>h.id===d);if(u)switch(c){case"editSubgraph":t(u);break;case"deleteSubgraph":e.value.editor.removeGraphTemplate(u);break}}}}}),$Pt=["data-node-type"],YPt={class:"__title"},WPt={class:"__title-label"},KPt={key:0,class:"__menu"};function jPt(n,e,t,s,i,r){const o=tt("vertical-dots"),a=tt("context-menu");return T(),C("div",{class:"baklava-node --palette","data-node-type":n.type},[l("div",YPt,[l("div",WPt,K(n.title),1),n.hasContextMenu?(T(),C("div",KPt,[V(o,{class:"--clickable",onPointerdown:e[0]||(e[0]=j(()=>{},["stop","prevent"])),onClick:j(n.openContextMenu,["stop","prevent"])},null,8,["onClick"]),V(a,{modelValue:n.showContextMenu,"onUpdate:modelValue":e[1]||(e[1]=c=>n.showContextMenu=c),x:-100,y:0,items:n.contextMenuItems,onClick:n.onContextMenuClick,onPointerdown:e[2]||(e[2]=j(()=>{},["stop","prevent"]))},null,8,["modelValue","items","onClick"])])):G("",!0)])],8,$Pt)}const Zw=_n(qPt,[["render",jPt]]),QPt={class:"baklava-node-palette"},XPt={key:0},ZPt=pn({__name:"NodePalette",setup(n){const{viewModel:e}=Os(),{x:t,y:s}=rPt(),{transform:i}=nI(),r=tI(e),o=ns("editorEl"),a=ct(null),c=et(()=>{if(!a.value||!(o!=null&&o.value))return{};const{left:u,top:h}=o.value.getBoundingClientRect();return{top:`${s.value-h}px`,left:`${t.value-u}px`}}),d=(u,h)=>{a.value={type:u,nodeInformation:h};const f=()=>{const m=Qn(new h.type);e.value.displayedGraph.addNode(m);const _=o.value.getBoundingClientRect(),[g,b]=i(t.value-_.left,s.value-_.top);m.position.x=g,m.position.y=b,a.value=null,document.removeEventListener("pointerup",f)};document.addEventListener("pointerup",f)};return(u,h)=>(T(),C(Ge,null,[l("div",QPt,[(T(!0),C(Ge,null,Xe(Lt(r),f=>(T(),C("section",{key:f.name},[f.name!=="default"?(T(),C("h1",XPt,K(f.name),1)):G("",!0),(T(!0),C(Ge,null,Xe(f.nodeTypes,(m,_)=>(T(),dt(Zw,{key:_,type:_,title:m.title,onPointerdown:g=>d(_,m)},null,8,["type","title","onPointerdown"]))),128))]))),128))]),V(Hs,{name:"fade"},{default:Me(()=>[a.value?(T(),C("div",{key:0,class:"baklava-dragged-node",style:jt(c.value)},[V(Zw,{type:a.value.type,title:a.value.nodeInformation.title},null,8,["type","title"])],4)):G("",!0)]),_:1})],64))}});let Cd;const JPt=new Uint8Array(16);function eFt(){if(!Cd&&(Cd=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Cd))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Cd(JPt)}const Cn=[];for(let n=0;n<256;++n)Cn.push((n+256).toString(16).slice(1));function tFt(n,e=0){return Cn[n[e+0]]+Cn[n[e+1]]+Cn[n[e+2]]+Cn[n[e+3]]+"-"+Cn[n[e+4]]+Cn[n[e+5]]+"-"+Cn[n[e+6]]+Cn[n[e+7]]+"-"+Cn[n[e+8]]+Cn[n[e+9]]+"-"+Cn[n[e+10]]+Cn[n[e+11]]+Cn[n[e+12]]+Cn[n[e+13]]+Cn[n[e+14]]+Cn[n[e+15]]}const nFt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Jw={randomUUID:nFt};function Cu(n,e,t){if(Jw.randomUUID&&!e&&!n)return Jw.randomUUID();n=n||{};const s=n.random||(n.rng||eFt)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=s[i];return e}return tFt(s)}const oc="SAVE_SUBGRAPH";function sFt(n,e){const t=()=>{const s=n.value;if(!s.template)throw new Error("Graph template property not set");s.template.update(s.save()),s.template.panning=s.panning,s.template.scaling=s.scaling};e.registerCommand(oc,{canExecute:()=>{var s;return n.value!==((s=n.value.editor)==null?void 0:s.graph)},execute:t})}const iFt={},rFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},oFt=l("polyline",{points:"6 9 12 15 18 9"},null,-1),aFt=[oFt];function lFt(n,e){return T(),C("svg",rFt,aFt)}const cFt=_n(iFt,[["render",lFt]]),dFt=pn({components:{"i-arrow":cFt},props:{intf:{type:Object,required:!0}},setup(n){const e=ct(null),t=ct(!1),s=et(()=>n.intf.items.find(o=>typeof o=="string"?o===n.intf.value:o.value===n.intf.value)),i=et(()=>s.value?typeof s.value=="string"?s.value:s.value.text:""),r=o=>{n.intf.value=typeof o=="string"?o:o.value};return rI(e,()=>{t.value=!1}),{el:e,open:t,selectedItem:s,selectedText:i,setSelected:r}}}),uFt=["title"],pFt={class:"__selected"},_Ft={class:"__text"},hFt={class:"__icon"},fFt={class:"__dropdown"},mFt={class:"item --header"},gFt=["onClick"];function bFt(n,e,t,s,i,r){const o=tt("i-arrow");return T(),C("div",{ref:"el",class:Be(["baklava-select",{"--open":n.open}]),title:n.intf.name,onClick:e[0]||(e[0]=a=>n.open=!n.open)},[l("div",pFt,[l("div",_Ft,K(n.selectedText),1),l("div",hFt,[V(o)])]),V(Hs,{name:"slide-fade"},{default:Me(()=>[P(l("div",fFt,[l("div",mFt,K(n.intf.name),1),(T(!0),C(Ge,null,Xe(n.intf.items,(a,c)=>(T(),C("div",{key:c,class:Be(["item",{"--active":a===n.selectedItem}]),onClick:d=>n.setSelected(a)},K(typeof a=="string"?a:a.text),11,gFt))),128))],512),[[wt,n.open]])]),_:1})],10,uFt)}const EFt=_n(dFt,[["render",bFt]]);class yFt extends en{constructor(e,t,s){super(e,t),this.component=ac(EFt),this.items=s}}const vFt=pn({props:{intf:{type:Object,required:!0}}});function SFt(n,e,t,s,i,r){return T(),C("div",null,K(n.intf.value),1)}const TFt=_n(vFt,[["render",SFt]]);class xFt extends en{constructor(e,t){super(e,t),this.component=ac(TFt),this.setPort(!1)}}const CFt=pn({props:{intf:{type:Object,required:!0},modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(n,{emit:e}){return{v:et({get:()=>n.modelValue,set:s=>{e("update:modelValue",s)}})}}}),wFt=["placeholder","title"];function RFt(n,e,t,s,i,r){return T(),C("div",null,[P(l("input",{"onUpdate:modelValue":e[0]||(e[0]=o=>n.v=o),type:"text",class:"baklava-input",placeholder:n.intf.name,title:n.intf.name},null,8,wFt),[[pe,n.v]])])}const AFt=_n(CFt,[["render",RFt]]);class Ec extends en{constructor(){super(...arguments),this.component=ac(AFt)}}class cI extends jO{constructor(){super(...arguments),this._title="Subgraph Input",this.inputs={name:new Ec("Name","Input").setPort(!1)},this.outputs={placeholder:new en("Connection",void 0)}}}class dI extends QO{constructor(){super(...arguments),this._title="Subgraph Output",this.inputs={name:new Ec("Name","Output").setPort(!1),placeholder:new en("Connection",void 0)},this.outputs={output:new en("Output",void 0).setHidden(!0)}}}const uI="CREATE_SUBGRAPH",eR=[Na,Oa];function NFt(n,e,t){const s=()=>n.value.selectedNodes.filter(r=>!eR.includes(r.type)).length>0,i=()=>{const{viewModel:r}=Os(),o=n.value,a=n.value.editor;if(o.selectedNodes.length===0)return;const c=o.selectedNodes.filter(x=>!eR.includes(x.type)),d=c.flatMap(x=>Object.values(x.inputs)),u=c.flatMap(x=>Object.values(x.outputs)),h=o.connections.filter(x=>!u.includes(x.from)&&d.includes(x.to)),f=o.connections.filter(x=>u.includes(x.from)&&!d.includes(x.to)),m=o.connections.filter(x=>u.includes(x.from)&&d.includes(x.to)),_=c.map(x=>x.save()),g=m.map(x=>({id:x.id,from:x.from.id,to:x.to.id})),b=new Map,{xLeft:E,xRight:y,yTop:v}=OFt(c);console.log(E,y,v);for(const[x,O]of h.entries()){const B=new cI;B.inputs.name.value=O.to.name,_.push({...B.save(),position:{x:y-r.value.settings.nodes.defaultWidth-100,y:v+x*200}}),g.push({id:Cu(),from:B.outputs.placeholder.id,to:O.to.id}),b.set(O.to.id,B.graphInterfaceId)}for(const[x,O]of f.entries()){const B=new dI;B.inputs.name.value=O.from.name,_.push({...B.save(),position:{x:E+100,y:v+x*200}}),g.push({id:Cu(),from:O.from.id,to:B.inputs.placeholder.id}),b.set(O.from.id,B.graphInterfaceId)}const S=Qn(new xp({connections:g,nodes:_,inputs:[],outputs:[]},a));a.addGraphTemplate(S);const R=a.nodeTypes.get(Ia(S));if(!R)throw new Error("Unable to create subgraph: Could not find corresponding graph node type");const w=Qn(new R.type);o.addNode(w);const A=Math.round(c.map(x=>x.position.x).reduce((x,O)=>x+O,0)/c.length),M=Math.round(c.map(x=>x.position.y).reduce((x,O)=>x+O,0)/c.length);w.position.x=A,w.position.y=M,h.forEach(x=>{o.removeConnection(x),o.addConnection(x.from,w.inputs[b.get(x.to.id)])}),f.forEach(x=>{o.removeConnection(x),o.addConnection(w.outputs[b.get(x.from.id)],x.to)}),c.forEach(x=>o.removeNode(x)),e.canExecuteCommand(oc)&&e.executeCommand(oc),t(S),n.value.panning={...o.panning},n.value.scaling=o.scaling};e.registerCommand(uI,{canExecute:s,execute:i})}function OFt(n){const e=n.reduce((i,r)=>{const o=r.position.x;return o{const o=r.position.y;return o{const o=r.position.x+r.width;return o>i?o:i},-1/0),xRight:e,yTop:t}}const tR="DELETE_NODES";function IFt(n,e){e.registerCommand(tR,{canExecute:()=>n.value.selectedNodes.length>0,execute(){n.value.selectedNodes.forEach(t=>n.value.removeNode(t))}}),e.registerHotkey(["Delete"],tR)}const pI="SWITCH_TO_MAIN_GRAPH";function MFt(n,e,t){e.registerCommand(pI,{canExecute:()=>n.value!==n.value.editor.graph,execute:()=>{e.executeCommand(oc),t(n.value.editor.graph)}})}function kFt(n,e,t){IFt(n,e),NFt(n,e,t),sFt(n,e),MFt(n,e,t)}class nR{constructor(e,t){this.type=e,e==="addNode"?this.nodeId=t:this.nodeState=t}undo(e){this.type==="addNode"?this.removeNode(e):this.addNode(e)}redo(e){this.type==="addNode"&&this.nodeState?this.addNode(e):this.type==="removeNode"&&this.nodeId&&this.removeNode(e)}addNode(e){const t=e.editor.nodeTypes.get(this.nodeState.type);if(!t)return;const s=new t.type;e.addNode(s),s.load(this.nodeState),this.nodeId=s.id}removeNode(e){const t=e.nodes.find(s=>s.id===this.nodeId);t&&(this.nodeState=t.save(),e.removeNode(t))}}class sR{constructor(e,t){if(this.type=e,e==="addConnection")this.connectionId=t;else{const s=t;this.connectionState={id:s.id,from:s.from.id,to:s.to.id}}}undo(e){this.type==="addConnection"?this.removeConnection(e):this.addConnection(e)}redo(e){this.type==="addConnection"&&this.connectionState?this.addConnection(e):this.type==="removeConnection"&&this.connectionId&&this.removeConnection(e)}addConnection(e){const t=e.findNodeInterface(this.connectionState.from),s=e.findNodeInterface(this.connectionState.to);!t||!s||e.addConnection(t,s)}removeConnection(e){const t=e.connections.find(s=>s.id===this.connectionId);t&&(this.connectionState={id:t.id,from:t.from.id,to:t.to.id},e.removeConnection(t))}}class DFt{constructor(e){if(this.type="transaction",e.length===0)throw new Error("Can't create a transaction with no steps");this.steps=e}undo(e){for(let t=this.steps.length-1;t>=0;t--)this.steps[t].undo(e)}redo(e){for(let t=0;t{if(!r.value)if(a.value)c.value.push(b);else for(o.value!==i.value.length-1&&(i.value=i.value.slice(0,o.value+1)),i.value.push(b),o.value++;i.value.length>s.value;)i.value.shift()},u=()=>{a.value=!0},h=()=>{a.value=!1,c.value.length>0&&(d(new DFt(c.value)),c.value=[])},f=()=>i.value.length!==0&&o.value!==-1,m=()=>{f()&&(r.value=!0,i.value[o.value--].undo(n.value),r.value=!1)},_=()=>i.value.length!==0&&o.value{_()&&(r.value=!0,i.value[++o.value].redo(n.value),r.value=!1)};return Ln(n,(b,E)=>{E&&(E.events.addNode.unsubscribe(t),E.events.removeNode.unsubscribe(t),E.events.addConnection.unsubscribe(t),E.events.removeConnection.unsubscribe(t)),b&&(b.events.addNode.subscribe(t,y=>{d(new nR("addNode",y.id))}),b.events.removeNode.subscribe(t,y=>{d(new nR("removeNode",y.save()))}),b.events.addConnection.subscribe(t,y=>{d(new sR("addConnection",y.id))}),b.events.removeConnection.subscribe(t,y=>{d(new sR("removeConnection",y))}))},{immediate:!0}),e.registerCommand(Ob,{canExecute:f,execute:m}),e.registerCommand(Ib,{canExecute:_,execute:g}),e.registerCommand(_I,{canExecute:()=>!a.value,execute:u}),e.registerCommand(hI,{canExecute:()=>a.value,execute:h}),e.registerHotkey(["Control","z"],Ob),e.registerHotkey(["Control","y"],Ib),Qn({maxSteps:s})}const Mb="COPY",kb="PASTE",PFt="CLEAR_CLIPBOARD";function FFt(n,e,t){const s=Symbol("ClipboardToken"),i=ct(""),r=ct(""),o=et(()=>!i.value),a=()=>{i.value="",r.value=""},c=()=>{const h=n.value.selectedNodes.flatMap(m=>[...Object.values(m.inputs),...Object.values(m.outputs)]),f=n.value.connections.filter(m=>h.includes(m.from)||h.includes(m.to)).map(m=>({from:m.from.id,to:m.to.id}));r.value=JSON.stringify(f),i.value=JSON.stringify(n.value.selectedNodes.map(m=>m.save()))},d=(h,f,m)=>{for(const _ of h){let g;if((!m||m==="input")&&(g=Object.values(_.inputs).find(b=>b.id===f)),!g&&(!m||m==="output")&&(g=Object.values(_.outputs).find(b=>b.id===f)),g)return g}},u=()=>{if(o.value)return;const h=new Map,f=JSON.parse(i.value),m=JSON.parse(r.value),_=[],g=[],b=n.value;t.executeCommand(_I);for(const E of f){const y=e.value.nodeTypes.get(E.type);if(!y){console.warn(`Node type ${E.type} not registered`);return}const v=new y.type,S=v.id;_.push(v),v.hooks.beforeLoad.subscribe(s,R=>{const w=R;return w.position&&(w.position.x+=100,w.position.y+=100),v.hooks.beforeLoad.unsubscribe(s),w}),b.addNode(v),v.load({...E,id:S}),v.id=S,h.set(E.id,S);for(const R of Object.values(v.inputs)){const w=Cu();h.set(R.id,w),R.id=w}for(const R of Object.values(v.outputs)){const w=Cu();h.set(R.id,w),R.id=w}}for(const E of m){const y=d(_,h.get(E.from),"output"),v=d(_,h.get(E.to),"input");if(!y||!v)continue;const S=b.addConnection(y,v);S&&g.push(S)}return n.value.selectedNodes=_,t.executeCommand(hI),{newNodes:_,newConnections:g}};return t.registerCommand(Mb,{canExecute:()=>n.value.selectedNodes.length>0,execute:c}),t.registerHotkey(["Control","c"],Mb),t.registerCommand(kb,{canExecute:()=>!o.value,execute:u}),t.registerHotkey(["Control","v"],kb),t.registerCommand(PFt,{canExecute:()=>!0,execute:a}),Qn({isEmpty:o})}const UFt="OPEN_SIDEBAR";function BFt(n,e){e.registerCommand(UFt,{execute:t=>{n.value.sidebar.nodeId=t,n.value.sidebar.visible=!0},canExecute:()=>!0})}function GFt(n,e){BFt(n,e)}const VFt={},zFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},HFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),qFt=l("path",{d:"M9 13l-4 -4l4 -4m-4 4h11a4 4 0 0 1 0 8h-1"},null,-1),$Ft=[HFt,qFt];function YFt(n,e){return T(),C("svg",zFt,$Ft)}const WFt=_n(VFt,[["render",YFt]]),KFt={},jFt={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},QFt=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),XFt=l("path",{d:"M15 13l4 -4l-4 -4m4 4h-11a4 4 0 0 0 0 8h1"},null,-1),ZFt=[QFt,XFt];function JFt(n,e){return T(),C("svg",jFt,ZFt)}const e3t=_n(KFt,[["render",JFt]]),t3t={},n3t={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},s3t=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),i3t=l("line",{x1:"5",y1:"12",x2:"19",y2:"12"},null,-1),r3t=l("line",{x1:"5",y1:"12",x2:"11",y2:"18"},null,-1),o3t=l("line",{x1:"5",y1:"12",x2:"11",y2:"6"},null,-1),a3t=[s3t,i3t,r3t,o3t];function l3t(n,e){return T(),C("svg",n3t,a3t)}const c3t=_n(t3t,[["render",l3t]]),d3t={},u3t={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},p3t=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),_3t=l("path",{d:"M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2"},null,-1),h3t=l("rect",{x:"9",y:"3",width:"6",height:"4",rx:"2"},null,-1),f3t=[p3t,_3t,h3t];function m3t(n,e){return T(),C("svg",u3t,f3t)}const g3t=_n(d3t,[["render",m3t]]),b3t={},E3t={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},y3t=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),v3t=l("rect",{x:"8",y:"8",width:"12",height:"12",rx:"2"},null,-1),S3t=l("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"},null,-1),T3t=[y3t,v3t,S3t];function x3t(n,e){return T(),C("svg",E3t,T3t)}const C3t=_n(b3t,[["render",x3t]]),w3t={},R3t={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},A3t=l("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"},null,-1),N3t=l("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"},null,-1),O3t=l("circle",{cx:"12",cy:"14",r:"2"},null,-1),I3t=l("polyline",{points:"14 4 14 8 8 8 8 4"},null,-1),M3t=[A3t,N3t,O3t,I3t];function k3t(n,e){return T(),C("svg",R3t,M3t)}const D3t=_n(w3t,[["render",k3t]]),L3t={},P3t={xmlns:"http://www.w3.org/2000/svg",class:"baklava-icon",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},F3t=mo('',6),U3t=[F3t];function B3t(n,e){return T(),C("svg",P3t,U3t)}const G3t=_n(L3t,[["render",B3t]]),V3t=pn({props:{command:{type:String,required:!0},title:{type:String,required:!0},icon:{type:Object,required:!1,default:void 0}},setup(){const{viewModel:n}=Os();return{viewModel:n}}}),z3t=["disabled","title"];function H3t(n,e,t,s,i,r){return T(),C("button",{class:"baklava-toolbar-entry baklava-toolbar-button",disabled:!n.viewModel.commandHandler.canExecuteCommand(n.command),title:n.title,onClick:e[0]||(e[0]=o=>n.viewModel.commandHandler.executeCommand(n.command))},[n.icon?(T(),dt(Vu(n.icon),{key:0})):(T(),C(Ge,{key:1},[Je(K(n.title),1)],64))],8,z3t)}const q3t=_n(V3t,[["render",H3t]]),$3t=pn({components:{ToolbarButton:q3t},setup(){const{viewModel:n}=Os();return{isSubgraph:et(()=>n.value.displayedGraph!==n.value.editor.graph),commands:[{command:Mb,title:"Copy",icon:C3t},{command:kb,title:"Paste",icon:g3t},{command:Ob,title:"Undo",icon:WFt},{command:Ib,title:"Redo",icon:e3t},{command:uI,title:"Create Subgraph",icon:G3t}],subgraphCommands:[{command:oc,title:"Save Subgraph",icon:D3t},{command:pI,title:"Back to Main Graph",icon:c3t}]}}}),Y3t={class:"baklava-toolbar"};function W3t(n,e,t,s,i,r){const o=tt("toolbar-button");return T(),C("div",Y3t,[(T(!0),C(Ge,null,Xe(n.commands,a=>(T(),dt(o,{key:a.command,command:a.command,title:a.title,icon:a.icon},null,8,["command","title","icon"]))),128)),n.isSubgraph?(T(!0),C(Ge,{key:0},Xe(n.subgraphCommands,a=>(T(),dt(o,{key:a.command,command:a.command,title:a.title,icon:a.icon},null,8,["command","title","icon"]))),128)):G("",!0)])}const K3t=_n($3t,[["render",W3t]]),j3t={class:"connections-container"},Q3t=pn({__name:"Editor",props:{viewModel:{}},setup(n){const e=n,t=Symbol("EditorToken"),s=Kd(e,"viewModel");qLt(s);const i=ct(null);ta("editorEl",i);const r=et(()=>e.viewModel.displayedGraph.nodes),o=et(()=>e.viewModel.displayedGraph.nodes.map(A=>JO(Kd(A,"position")))),a=et(()=>e.viewModel.displayedGraph.connections),c=et(()=>e.viewModel.displayedGraph.selectedNodes),d=$Lt(),u=YLt(),h=WLt(s),f=et(()=>({...d.styles.value})),m=ct(0);e.viewModel.editor.hooks.load.subscribe(t,A=>(m.value++,A));const _=A=>{d.onPointerMove(A),u.onMouseMove(A)},g=A=>{A.button===0&&(A.target===i.value&&(S(),d.onPointerDown(A)),u.onMouseDown())},b=A=>{d.onPointerUp(A),u.onMouseUp()},E=A=>{A.key==="Tab"&&A.preventDefault(),e.viewModel.commandHandler.handleKeyDown(A)},y=A=>{e.viewModel.commandHandler.handleKeyUp(A)},v=A=>{["Control","Shift"].some(M=>e.viewModel.commandHandler.pressedKeys.includes(M))||S(),e.viewModel.displayedGraph.selectedNodes.push(A)},S=()=>{e.viewModel.displayedGraph.selectedNodes=[]},R=A=>{for(const M of e.viewModel.displayedGraph.selectedNodes){const x=r.value.indexOf(M),O=o.value[x];O.onPointerDown(A),document.addEventListener("pointermove",O.onPointerMove)}document.addEventListener("pointerup",w)},w=()=>{for(const A of e.viewModel.displayedGraph.selectedNodes){const M=r.value.indexOf(A),x=o.value[M];x.onPointerUp(),document.removeEventListener("pointermove",x.onPointerMove)}document.removeEventListener("pointerup",w)};return(A,M)=>(T(),C("div",{ref_key:"el",ref:i,tabindex:"-1",class:Be(["baklava-editor",{"baklava-ignore-mouse":!!Lt(u).temporaryConnection.value||Lt(d).dragging.value,"--temporary-connection":!!Lt(u).temporaryConnection.value}]),onPointermove:j(_,["self"]),onPointerdown:g,onPointerup:b,onWheel:M[1]||(M[1]=j((...x)=>Lt(d).onMouseWheel&&Lt(d).onMouseWheel(...x),["self"])),onKeydown:E,onKeyup:y,onContextmenu:M[2]||(M[2]=j((...x)=>Lt(h).open&&Lt(h).open(...x),["self","prevent"]))},[hn(A.$slots,"background",{},()=>[V(QLt)]),hn(A.$slots,"toolbar",{},()=>[V(K3t)]),hn(A.$slots,"palette",{},()=>[V(ZPt)]),(T(),C("svg",j3t,[(T(!0),C(Ge,null,Xe(a.value,x=>(T(),C("g",{key:x.id+m.value.toString()},[hn(A.$slots,"connection",{connection:x},()=>[V(DPt,{connection:x},null,8,["connection"])])]))),128)),hn(A.$slots,"temporaryConnection",{temporaryConnection:Lt(u).temporaryConnection.value},()=>[Lt(u).temporaryConnection.value?(T(),dt(FPt,{key:0,connection:Lt(u).temporaryConnection.value},null,8,["connection"])):G("",!0)])])),l("div",{class:"node-container",style:jt(f.value)},[V(di,{name:"fade"},{default:Me(()=>[(T(!0),C(Ge,null,Xe(r.value,(x,O)=>hn(A.$slots,"node",{key:x.id+m.value.toString(),node:x,selected:c.value.includes(x),dragging:o.value[O].dragging.value,onSelect:B=>v(x),onStartDrag:R},()=>[V(RPt,{node:x,selected:c.value.includes(x),dragging:o.value[O].dragging.value,onSelect:B=>v(x),onStartDrag:R},null,8,["node","selected","dragging","onSelect"])])),128))]),_:3})],4),hn(A.$slots,"sidebar",{},()=>[V(zPt)]),hn(A.$slots,"minimap",{},()=>[A.viewModel.settings.enableMinimap?(T(),dt(HPt,{key:0})):G("",!0)]),hn(A.$slots,"contextMenu",{contextMenu:Lt(h)},()=>[A.viewModel.settings.contextMenu.enabled?(T(),dt(Ay,{key:0,modelValue:Lt(h).show.value,"onUpdate:modelValue":M[0]||(M[0]=x=>Lt(h).show.value=x),items:Lt(h).items.value,x:Lt(h).x.value,y:Lt(h).y.value,onClick:Lt(h).onClick},null,8,["modelValue","items","x","y","onClick"])):G("",!0)])],34))}}),X3t=["INPUT","TEXTAREA","SELECT"];function Z3t(n){const e=ct([]),t=ct([]);return{pressedKeys:e,handleKeyDown:o=>{var a;e.value.includes(o.key)||e.value.push(o.key),!X3t.includes(((a=document.activeElement)==null?void 0:a.tagName)??"")&&t.value.forEach(c=>{c.keys.every(d=>e.value.includes(d))&&n(c.commandName)})},handleKeyUp:o=>{const a=e.value.indexOf(o.key);a>=0&&e.value.splice(a,1)},registerHotkey:(o,a)=>{t.value.push({keys:o,commandName:a})}}}const J3t=()=>{const n=ct(new Map),e=(r,o)=>{if(n.value.has(r))throw new Error(`Command "${r}" already exists`);n.value.set(r,o)},t=(r,o=!1,...a)=>{if(!n.value.has(r)){if(o)throw new Error(`[CommandHandler] Command ${r} not registered`);return}return n.value.get(r).execute(...a)},s=(r,o=!1,...a)=>{if(!n.value.has(r)){if(o)throw new Error(`[CommandHandler] Command ${r} not registered`);return!1}return n.value.get(r).canExecute(a)},i=Z3t(t);return Qn({registerCommand:e,executeCommand:t,canExecuteCommand:s,...i})},eUt=n=>!(n instanceof bc);function tUt(n,e){return{switchGraph:s=>{let i;if(eUt(s))i=new bc(n.value),s.createGraph(i);else{if(s!==n.value.graph)throw new Error("Can only switch using 'Graph' instance when it is the root graph. Otherwise a 'GraphTemplate' must be used.");i=s}e.value&&e.value!==n.value.graph&&e.value.destroy(),i.panning=i.panning??s.panning??{x:0,y:0},i.scaling=i.scaling??s.scaling??1,i.selectedNodes=i.selectedNodes??[],i.sidebar=i.sidebar??{visible:!1,nodeId:"",optionName:""},e.value=i}}}function nUt(n,e){n.position=n.position??{x:0,y:0},n.disablePointerEvents=!1,n.twoColumn=n.twoColumn??!1,n.width=n.width??e.defaultWidth}const sUt=()=>({useStraightConnections:!1,enableMinimap:!1,background:{gridSize:100,gridDivision:5,subGridVisibleThreshold:.6},sidebar:{width:300,resizable:!0},displayValueOnHover:!1,nodes:{defaultWidth:200,maxWidth:320,minWidth:150,resizable:!1},contextMenu:{enabled:!0,additionalItems:[]}});function iUt(n){const e=ct(n??new ULt),t=Symbol("ViewModelToken"),s=ct(null),i=OM(s),{switchGraph:r}=tUt(e,s),o=et(()=>i.value&&i.value!==e.value.graph),a=Qn(sUt()),c=J3t(),d=LFt(i,c),u=FFt(i,e,c),h={renderNode:new as(null),renderInterface:new as(null)};return kFt(i,c,r),GFt(i,c),Ln(e,(f,m)=>{m&&(m.events.registerGraph.unsubscribe(t),m.graphEvents.beforeAddNode.unsubscribe(t),f.nodeHooks.beforeLoad.unsubscribe(t),f.nodeHooks.afterSave.unsubscribe(t),f.graphTemplateHooks.beforeLoad.unsubscribe(t),f.graphTemplateHooks.afterSave.unsubscribe(t),f.graph.hooks.load.unsubscribe(t),f.graph.hooks.save.unsubscribe(t)),f&&(f.nodeHooks.beforeLoad.subscribe(t,(_,g)=>(g.position=_.position??{x:0,y:0},g.width=_.width??a.nodes.defaultWidth,g.twoColumn=_.twoColumn??!1,_)),f.nodeHooks.afterSave.subscribe(t,(_,g)=>(_.position=g.position,_.width=g.width,_.twoColumn=g.twoColumn,_)),f.graphTemplateHooks.beforeLoad.subscribe(t,(_,g)=>(g.panning=_.panning,g.scaling=_.scaling,_)),f.graphTemplateHooks.afterSave.subscribe(t,(_,g)=>(_.panning=g.panning,_.scaling=g.scaling,_)),f.graph.hooks.load.subscribe(t,(_,g)=>(g.panning=_.panning,g.scaling=_.scaling,_)),f.graph.hooks.save.subscribe(t,(_,g)=>(_.panning=g.panning,_.scaling=g.scaling,_)),f.graphEvents.beforeAddNode.subscribe(t,_=>nUt(_,{defaultWidth:a.nodes.defaultWidth})),e.value.registerNodeType(cI,{category:"Subgraphs"}),e.value.registerNodeType(dI,{category:"Subgraphs"}),r(f.graph))},{immediate:!0}),Qn({editor:e,displayedGraph:i,isSubgraph:o,settings:a,commandHandler:c,history:d,clipboard:u,hooks:h,switchGraph:r})}const rUt=Qa({type:"PersonalityNode",title:"Personality",inputs:{request:()=>new en("Request",""),agent_name:()=>new yFt("Personality","",Fs.state.config.personalities).setPort(!1)},outputs:{response:()=>new en("Response","")},async calculate({request:n}){console.log(Fs.state.config.personalities);let e="";try{e=(await re.post("/generate",{params:{text:n}})).data}catch(t){console.error(t)}return{display:e,response:e}}}),oUt=Qa({type:"RAGNode",title:"RAG",inputs:{request:()=>new en("Prompt",""),document_path:()=>new Ec("Document path","").setPort(!1)},outputs:{prompt:()=>new en("Prompt with Data","")},async calculate({request:n,document_path:e}){let t="";try{t=(await re.get("/rag",{params:{text:n,doc_path:e}})).data}catch(s){console.error(s)}return{response:t}}}),iR=Qa({type:"Task",title:"Task",inputs:{description:()=>new Ec("Task description","").setPort(!1)},outputs:{prompt:()=>new en("Prompt")},calculate({description:n}){return{prompt:n}}}),rR=Qa({type:"TextDisplayNode",title:"TextDisplay",inputs:{text2display:()=>new en("Input","")},outputs:{response:()=>new xFt("Text","")},async calculate({request:n}){}}),oR=Qa({type:"LLMNode",title:"LLM",inputs:{request:()=>new en("Request","")},outputs:{response:()=>new en("Response","")},async calculate({request:n}){console.log(Fs.state.config.personalities);let e="";try{e=(await re.post("/generate",{params:{text:n}})).data}catch(t){console.error(t)}return{display:e,response:e}}}),aUt=Qa({type:"MultichoiceNode",title:"Multichoice",inputs:{question:()=>new en("Question",""),outputs:()=>new Ec("choices, one per line","","").setPort(!1)},outputs:{response:()=>new en("Response","")}}),lUt=pn({components:{"baklava-editor":Q3t},setup(){const n=iUt(),e=new HLt(n.editor);n.editor.registerNodeType(rUt),n.editor.registerNodeType(iR),n.editor.registerNodeType(oUt),n.editor.registerNodeType(rR),n.editor.registerNodeType(oR),n.editor.registerNodeType(aUt);const t=Symbol();e.events.afterRun.subscribe(t,a=>{e.pause(),BLt(a,n.editor),e.resume()}),e.start();function s(a,c,d){const u=new a;return n.displayedGraph.addNode(u),u.position.x=c,u.position.y=d,u}const i=s(iR,300,140),r=s(oR,550,140),o=s(rR,850,140);return n.displayedGraph.addConnection(i.outputs.prompt,r.inputs.request),n.displayedGraph.addConnection(r.outputs.response,o.inputs.text2display),{baklava:n,saveGraph:()=>{const a=e.export();localStorage.setItem("myGraph",JSON.stringify(a))},loadGraph:()=>{const a=JSON.parse(localStorage.getItem("myGraph"));e.import(a)}}}}),cUt={style:{width:"100vw",height:"100vh"}};function dUt(n,e,t,s,i,r){const o=tt("baklava-editor");return T(),C("div",cUt,[V(o,{"view-model":n.baklava},null,8,["view-model"]),l("button",{onClick:e[0]||(e[0]=(...a)=>n.saveGraph&&n.saveGraph(...a))},"Save Graph"),l("button",{onClick:e[1]||(e[1]=(...a)=>n.loadGraph&&n.loadGraph(...a))},"Load Graph")])}const uUt=ot(lUt,[["render",dUt]]),pUt={},_Ut={style:{width:"100vw",height:"100vh"}},hUt=["src"];function fUt(n,e,t,s,i,r){return T(),C("div",_Ut,[l("iframe",{src:n.$store.state.config.comfyui_base_url,class:"m-0 p-0 w-full h-full"},null,8,hUt)])}const mUt=ot(pUt,[["render",fUt]]),gUt={},bUt={style:{width:"100vw",height:"100vh"}},EUt=["src"];function yUt(n,e,t,s,i,r){return T(),C("div",bUt,[l("iframe",{src:n.$store.state.config.sd_base_url,class:"m-0 p-0 w-full h-full"},null,8,EUt)])}const vUt=ot(gUt,[["render",yUt]]);const SUt={name:"AppCard",props:{app:{type:Object,required:!0},isFavorite:{type:Boolean,default:!1}},methods:{formatDate(n){const e={year:"numeric",month:"short",day:"numeric"};return new Date(n).toLocaleDateString(void 0,e)}}},ls=n=>(Rs("data-v-3803ec00"),n=n(),As(),n),TUt={class:"app-card bg-white border rounded-xl shadow-lg p-6 hover:shadow-xl transition duration-300 ease-in-out flex flex-col h-full"},xUt={class:"flex-grow"},CUt={class:"flex items-center mb-4"},wUt=["src"],RUt={class:"font-bold text-xl text-gray-800"},AUt={class:"text-sm text-gray-600"},NUt={class:"text-sm text-gray-600"},OUt={class:"text-sm text-gray-600"},IUt={class:"text-sm text-gray-600"},MUt={class:"text-sm text-gray-600"},kUt={class:"mb-4"},DUt=ls(()=>l("h4",{class:"font-semibold mb-1 text-gray-700"},"Description:",-1)),LUt={class:"text-sm text-gray-600 h-20 overflow-y-auto"},PUt={class:"text-sm text-gray-600 mb-2"},FUt={key:0,class:"mb-4"},UUt=ls(()=>l("h4",{class:"font-semibold mb-1 text-gray-700"},"Disclaimer:",-1)),BUt={class:"text-xs text-gray-500 italic h-16 overflow-y-auto"},GUt={class:"mt-auto pt-4 border-t"},VUt={class:"flex justify-between items-center flex-wrap"},zUt=["title"],HUt=["fill"],qUt=ls(()=>l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"},null,-1)),$Ut=[qUt],YUt=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),WUt=[YUt],KUt=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)),jUt=[KUt],QUt=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)),XUt=[QUt],ZUt=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})],-1)),JUt=[ZUt],e4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)),t4t=[e4t],n4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M12 21a9 9 0 100-18 9 9 0 000 18z"})],-1)),s4t=[n4t],i4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1)),r4t=[i4t],o4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14M12 5l7 7-7 7"})],-1)),a4t=[o4t],l4t=ls(()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)),c4t=ls(()=>l("span",{class:"absolute top-0 right-0 inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-red-100 transform translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full"},"!",-1)),d4t=[l4t,c4t];function u4t(n,e,t,s,i,r){return T(),C("div",TUt,[l("div",xUt,[l("div",CUt,[l("img",{src:t.app.icon,alt:"App Icon",class:"w-16 h-16 rounded-full border border-gray-300 mr-4"},null,8,wUt),l("div",null,[l("h3",RUt,K(t.app.name),1),l("p",AUt,"Author: "+K(t.app.author),1),l("p",NUt,"Version: "+K(t.app.version),1),l("p",OUt,"Category: "+K(t.app.category),1),l("p",IUt,"Creation date: "+K(r.formatDate(t.app.creation_date)),1),l("p",MUt,"Last update: "+K(r.formatDate(t.app.last_update_date)),1),l("p",{class:Be(["text-sm",t.app.is_public?"text-green-600":"text-orange-600"])},K(t.app.is_public?"Public App":"Local App"),3)])]),l("div",kUt,[DUt,l("p",LUt,K(t.app.description),1)]),l("p",PUt,"AI Model: "+K(t.app.model_name),1),t.app.disclaimer&&t.app.disclaimer.trim()!==""?(T(),C("div",FUt,[UUt,l("p",BUt,K(t.app.disclaimer),1)])):G("",!0)]),l("div",GUt,[l("div",VUt,[l("button",{onClick:e[0]||(e[0]=j(o=>n.$emit("toggle-favorite",t.app.uid),["stop"])),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:t.isFavorite?"Remove from favorites":"Add to favorites"},[(T(),C("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:t.isFavorite?"currentColor":"none",viewBox:"0 0 24 24",stroke:"currentColor"},$Ut,8,HUt))],8,zUt),t.app.installed?(T(),C("button",{key:0,onClick:e[1]||(e[1]=j(o=>n.$emit("uninstall",t.app.folder_name),["stop"])),class:"text-red-500 hover:text-red-600 transition duration-300 ease-in-out",title:"Uninstall"},WUt)):t.app.existsInFolder?(T(),C("button",{key:1,onClick:e[2]||(e[2]=j(o=>n.$emit("delete",t.app.name),["stop"])),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:"Delete"},jUt)):(T(),C("button",{key:2,onClick:e[3]||(e[3]=j(o=>n.$emit("install",t.app.folder_name),["stop"])),class:"text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out",title:"Install"},XUt)),t.app.installed?(T(),C("button",{key:3,onClick:e[4]||(e[4]=j(o=>n.$emit("edit",t.app),["stop"])),class:"text-purple-500 hover:text-purple-600 transition duration-300 ease-in-out",title:"Edit"},JUt)):G("",!0),l("button",{onClick:e[5]||(e[5]=j(o=>n.$emit("download",t.app.folder_name),["stop"])),class:"text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Download"},t4t),t.app.has_readme?(T(),C("button",{key:4,onClick:e[6]||(e[6]=j(o=>n.$emit("help",t.app),["stop"])),class:"text-gray-500 hover:text-gray-600 transition duration-300 ease-in-out",title:"Help"},s4t)):G("",!0),t.app.installed?(T(),C("button",{key:5,onClick:e[7]||(e[7]=j(o=>n.$emit("open",t.app),["stop"])),class:"text-indigo-500 hover:text-indigo-600 transition duration-300 ease-in-out",title:"Open"},r4t)):G("",!0),t.app.has_server&&t.app.installed?(T(),C("button",{key:6,onClick:e[8]||(e[8]=j(o=>n.$emit("start-server",t.app.folder_name),["stop"])),class:"text-teal-500 hover:text-teal-600 transition duration-300 ease-in-out",title:"Start Server"},a4t)):G("",!0),t.app.has_update?(T(),C("button",{key:7,onClick:e[9]||(e[9]=j(o=>n.$emit("install",t.app.folder_name),["stop"])),class:"relative text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out animate-pulse",title:"Update Available"},d4t)):G("",!0)])])])}const p4t=ot(SUt,[["render",u4t],["__scopeId","data-v-3803ec00"]]);function Ny(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Eo=Ny();function fI(n){Eo=n}const mI=/[&<>"']/,_4t=new RegExp(mI.source,"g"),gI=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,h4t=new RegExp(gI.source,"g"),f4t={"&":"&","<":"<",">":">",'"':""","'":"'"},aR=n=>f4t[n];function ts(n,e){if(e){if(mI.test(n))return n.replace(_4t,aR)}else if(gI.test(n))return n.replace(h4t,aR);return n}const m4t=/(^|[^\[])\^/g;function $t(n,e){let t=typeof n=="string"?n:n.source;e=e||"";const s={replace:(i,r)=>{let o=typeof r=="string"?r:r.source;return o=o.replace(m4t,"$1"),t=t.replace(i,o),s},getRegex:()=>new RegExp(t,e)};return s}function lR(n){try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const Ul={exec:()=>null};function cR(n,e){const t=n.replace(/\|/g,(r,o,a)=>{let c=!1,d=o;for(;--d>=0&&a[d]==="\\";)c=!c;return c?"|":" |"}),s=t.split(/ \|/);let i=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length{const r=i.match(/^\s+/);if(r===null)return i;const[o]=r;return o.length>=s.length?i.slice(s.length):i}).join(` -`)}class wu{constructor(e){Yt(this,"options");Yt(this,"rules");Yt(this,"lexer");this.options=e||bo}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const s=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?s:fl(s,` -`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const s=t[0],i=M4t(s,t[3]||"");return{type:"code",raw:s,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:i}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let s=t[2].trim();if(/#$/.test(s)){const i=fl(s,"#");(this.options.pedantic||!i||/ $/.test(i))&&(s=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:fl(t[0],` +`)}class wu{constructor(e){Yt(this,"options");Yt(this,"rules");Yt(this,"lexer");this.options=e||Eo}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const s=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?s:fl(s,` +`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const s=t[0],i=b4t(s,t[3]||"");return{type:"code",raw:s,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:i}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let s=t[2].trim();if(/#$/.test(s)){const i=fl(s,"#");(this.options.pedantic||!i||/ $/.test(i))&&(s=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:fl(t[0],` `)}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let s=fl(t[0],` `).split(` `),i="",r="";const o=[];for(;s.length>0;){let a=!1;const c=[];let d;for(d=0;d/.test(s[d]))c.push(s[d]),a=!0;else if(!a)c.push(s[d]);else break;s=s.slice(d);const u=c.join(` @@ -4000,8 +3926,8 @@ ${h}`:h;const f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.block `+f}!m&&!f.trim()&&(m=!0),d+=w+` `,e=e.substring(w.length+1),h=A.slice(_)}}r.loose||(a?r.loose=!0:/\n[ \t]*\n[ \t]*$/.test(d)&&(a=!0));let g=null,b;this.options.gfm&&(g=/^\[[ xX]\] /.exec(u),g&&(b=g[0]!=="[ ] ",u=u.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:d,task:!!g,checked:b,loose:!1,text:u,tokens:[]}),r.raw+=d}r.items[r.items.length-1].raw=r.items[r.items.length-1].raw.trimEnd(),r.items[r.items.length-1].text=r.items[r.items.length-1].text.trimEnd(),r.raw=r.raw.trimEnd();for(let c=0;ch.type==="space"),u=d.length>0&&d.some(h=>/\n.*\n/.test(h.raw));r.loose=u}if(r.loose)for(let c=0;c$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:s,raw:t[0],href:i,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;const s=cR(t[1]),i=t[2].replace(/^\||\| *$/g,"").split("|"),r=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` `):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(s.length===i.length){for(const a of i)/^ *-+: *$/.test(a)?o.align.push("right"):/^ *:-+: *$/.test(a)?o.align.push("center"):/^ *:-+ *$/.test(a)?o.align.push("left"):o.align.push(null);for(let a=0;a({text:c,tokens:this.lexer.inline(c),header:!1,align:o.align[d]})));return o}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const s=t[1].charAt(t[1].length-1)===` -`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:s,tokens:this.lexer.inline(s)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:ts(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const s=t[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const o=fl(s.slice(0,-1),"\\");if((s.length-o.length)%2===0)return}else{const o=O4t(t[2],"()");if(o>-1){const c=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,c).trim(),t[3]=""}}let i=t[2],r="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],r=o[3])}else r=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(s)?i=i.slice(1):i=i.slice(1,-1)),dR(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(e,t){let s;if((s=this.rules.inline.reflink.exec(e))||(s=this.rules.inline.nolink.exec(e))){const i=(s[2]||s[1]).replace(/\s+/g," "),r=t[i.toLowerCase()];if(!r){const o=s[0].charAt(0);return{type:"text",raw:o,text:o}}return dR(s,r,s[0],this.lexer)}}emStrong(e,t,s=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i||i[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const o=[...i[0]].length-1;let a,c,d=o,u=0;const h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+o);(i=h.exec(t))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(c=[...a].length,i[3]||i[4]){d+=c;continue}else if((i[5]||i[6])&&o%3&&!((o+c)%3)){u+=c;continue}if(d-=c,d>0)continue;c=Math.min(c,c+d+u);const f=[...i[0]][0].length,m=e.slice(0,o+i.index+f+c);if(Math.min(o,c)%2){const g=m.slice(1,-1);return{type:"em",raw:m,text:g,tokens:this.lexer.inlineTokens(g)}}const _=m.slice(2,-2);return{type:"strong",raw:m,text:_,tokens:this.lexer.inlineTokens(_)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let s=t[2].replace(/\n/g," ");const i=/[^ ]/.test(s),r=/^ /.test(s)&&/ $/.test(s);return i&&r&&(s=s.substring(1,s.length-1)),s=ts(s,!0),{type:"codespan",raw:t[0],text:s}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let s,i;return t[2]==="@"?(s=ts(t[1]),i="mailto:"+s):(s=ts(t[1]),i=s),{type:"link",raw:t[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}url(e){var s;let t;if(t=this.rules.inline.url.exec(e)){let i,r;if(t[2]==="@")i=ts(t[0]),r="mailto:"+i;else{let o;do o=t[0],t[0]=((s=this.rules.inline._backpedal.exec(t[0]))==null?void 0:s[0])??"";while(o!==t[0]);i=ts(t[0]),t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let s;return this.lexer.state.inRawBlock?s=t[0]:s=ts(t[0]),{type:"text",raw:t[0],text:s}}}}const I4t=/^(?:[ \t]*(?:\n|$))+/,k4t=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,D4t=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,yc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,L4t=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bM=/(?:[*+-]|\d{1,9}[.)])/,EM=$t(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bM).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Oy=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,P4t=/^[^\n]+/,My=/(?!\s*\])(?:\\.|[^\[\]\\])+/,F4t=$t(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",My).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),U4t=$t(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bM).getRegex(),Cp="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Iy=/|$))/,B4t=$t("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Iy).replace("tag",Cp).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),yM=$t(Oy).replace("hr",yc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex(),G4t=$t(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",yM).getRegex(),ky={blockquote:G4t,code:k4t,def:F4t,fences:D4t,heading:L4t,hr:yc,html:B4t,lheading:EM,list:U4t,newline:I4t,paragraph:yM,table:Ul,text:P4t},uR=$t("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",yc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex(),V4t={...ky,table:uR,paragraph:$t(Oy).replace("hr",yc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",uR).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex()},z4t={...ky,html:$t(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Iy).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ul,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$t(Oy).replace("hr",yc).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",EM).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},vM=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,H4t=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,SM=/^( {2,}|\\)\n(?!\s*$)/,q4t=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,W4t=$t(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,vc).getRegex(),K4t=$t("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,vc).getRegex(),j4t=$t("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,vc).getRegex(),Q4t=$t(/\\([punct])/,"gu").replace(/punct/g,vc).getRegex(),X4t=$t(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),Z4t=$t(Iy).replace("(?:-->|$)","-->").getRegex(),J4t=$t("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Z4t).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ru=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,eBt=$t(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ru).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),TM=$t(/^!?\[(label)\]\[(ref)\]/).replace("label",Ru).replace("ref",My).getRegex(),xM=$t(/^!?\[(ref)\](?:\[\])?/).replace("ref",My).getRegex(),tBt=$t("reflink|nolink(?!\\()","g").replace("reflink",TM).replace("nolink",xM).getRegex(),Dy={_backpedal:Ul,anyPunctuation:Q4t,autolink:X4t,blockSkip:Y4t,br:SM,code:H4t,del:Ul,emStrongLDelim:W4t,emStrongRDelimAst:K4t,emStrongRDelimUnd:j4t,escape:vM,link:eBt,nolink:xM,punctuation:$4t,reflink:TM,reflinkSearch:tBt,tag:J4t,text:q4t,url:Ul},nBt={...Dy,link:$t(/^!?\[(label)\]\((.*?)\)/).replace("label",Ru).getRegex(),reflink:$t(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ru).getRegex()},Db={...Dy,escape:$t(vM).replace("])","~|])").getRegex(),url:$t(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const s=t[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const o=fl(s.slice(0,-1),"\\");if((s.length-o.length)%2===0)return}else{const o=g4t(t[2],"()");if(o>-1){const c=(t[0].indexOf("!")===0?5:4)+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,c).trim(),t[3]=""}}let i=t[2],r="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],r=o[3])}else r=t[3]?t[3].slice(1,-1):"";return i=i.trim(),/^$/.test(s)?i=i.slice(1):i=i.slice(1,-1)),dR(t,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(e,t){let s;if((s=this.rules.inline.reflink.exec(e))||(s=this.rules.inline.nolink.exec(e))){const i=(s[2]||s[1]).replace(/\s+/g," "),r=t[i.toLowerCase()];if(!r){const o=s[0].charAt(0);return{type:"text",raw:o,text:o}}return dR(s,r,s[0],this.lexer)}}emStrong(e,t,s=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!i||i[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const o=[...i[0]].length-1;let a,c,d=o,u=0;const h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+o);(i=h.exec(t))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(c=[...a].length,i[3]||i[4]){d+=c;continue}else if((i[5]||i[6])&&o%3&&!((o+c)%3)){u+=c;continue}if(d-=c,d>0)continue;c=Math.min(c,c+d+u);const f=[...i[0]][0].length,m=e.slice(0,o+i.index+f+c);if(Math.min(o,c)%2){const g=m.slice(1,-1);return{type:"em",raw:m,text:g,tokens:this.lexer.inlineTokens(g)}}const _=m.slice(2,-2);return{type:"strong",raw:m,text:_,tokens:this.lexer.inlineTokens(_)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let s=t[2].replace(/\n/g," ");const i=/[^ ]/.test(s),r=/^ /.test(s)&&/ $/.test(s);return i&&r&&(s=s.substring(1,s.length-1)),s=ts(s,!0),{type:"codespan",raw:t[0],text:s}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let s,i;return t[2]==="@"?(s=ts(t[1]),i="mailto:"+s):(s=ts(t[1]),i=s),{type:"link",raw:t[0],text:s,href:i,tokens:[{type:"text",raw:s,text:s}]}}}url(e){var s;let t;if(t=this.rules.inline.url.exec(e)){let i,r;if(t[2]==="@")i=ts(t[0]),r="mailto:"+i;else{let o;do o=t[0],t[0]=((s=this.rules.inline._backpedal.exec(t[0]))==null?void 0:s[0])??"";while(o!==t[0]);i=ts(t[0]),t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let s;return this.lexer.state.inRawBlock?s=t[0]:s=ts(t[0]),{type:"text",raw:t[0],text:s}}}}const E4t=/^(?:[ \t]*(?:\n|$))+/,y4t=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,v4t=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,yc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S4t=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,bI=/(?:[*+-]|\d{1,9}[.)])/,EI=$t(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,bI).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Oy=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,T4t=/^[^\n]+/,Iy=/(?!\s*\])(?:\\.|[^\[\]\\])+/,x4t=$t(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Iy).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),C4t=$t(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,bI).getRegex(),Cp="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",My=/|$))/,w4t=$t("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",My).replace("tag",Cp).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),yI=$t(Oy).replace("hr",yc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex(),R4t=$t(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",yI).getRegex(),ky={blockquote:R4t,code:y4t,def:x4t,fences:v4t,heading:S4t,hr:yc,html:w4t,lheading:EI,list:C4t,newline:E4t,paragraph:yI,table:Ul,text:T4t},uR=$t("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",yc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex(),A4t={...ky,table:uR,paragraph:$t(Oy).replace("hr",yc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",uR).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Cp).getRegex()},N4t={...ky,html:$t(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",My).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ul,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:$t(Oy).replace("hr",yc).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",EI).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},vI=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,O4t=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,SI=/^( {2,}|\\)\n(?!\s*$)/,I4t=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,D4t=$t(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,vc).getRegex(),L4t=$t("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,vc).getRegex(),P4t=$t("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,vc).getRegex(),F4t=$t(/\\([punct])/,"gu").replace(/punct/g,vc).getRegex(),U4t=$t(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),B4t=$t(My).replace("(?:-->|$)","-->").getRegex(),G4t=$t("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",B4t).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ru=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V4t=$t(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ru).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),TI=$t(/^!?\[(label)\]\[(ref)\]/).replace("label",Ru).replace("ref",Iy).getRegex(),xI=$t(/^!?\[(ref)\](?:\[\])?/).replace("ref",Iy).getRegex(),z4t=$t("reflink|nolink(?!\\()","g").replace("reflink",TI).replace("nolink",xI).getRegex(),Dy={_backpedal:Ul,anyPunctuation:F4t,autolink:U4t,blockSkip:k4t,br:SI,code:O4t,del:Ul,emStrongLDelim:D4t,emStrongRDelimAst:L4t,emStrongRDelimUnd:P4t,escape:vI,link:V4t,nolink:xI,punctuation:M4t,reflink:TI,reflinkSearch:z4t,tag:G4t,text:I4t,url:Ul},H4t={...Dy,link:$t(/^!?\[(label)\]\((.*?)\)/).replace("label",Ru).getRegex(),reflink:$t(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ru).getRegex()},Db={...Dy,escape:$t(vI).replace("])","~|])").getRegex(),url:$t(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\(i=a.call({lexer:this},e,t))?(e=e.substring(i.raw.length),t.push(i),!0):!1))){if(i=this.tokenizer.space(e)){e=e.substring(i.raw.length),i.raw.length===1&&t.length>0?t[t.length-1].raw+=` `:t.push(i);continue}if(i=this.tokenizer.code(e)){e=e.substring(i.raw.length),r=t[t.length-1],r&&(r.type==="paragraph"||r.type==="text")?(r.raw+=` `+i.raw,r.text+=` @@ -4011,7 +3937,7 @@ ${h}`:h;const f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.block `+i.raw,r.text+=` `+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(i),s=o.length!==e.length,e=e.substring(i.raw.length);continue}if(i=this.tokenizer.text(e)){e=e.substring(i.raw.length),r=t[t.length-1],r&&r.type==="text"?(r.raw+=` `+i.raw,r.text+=` -`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(i);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let s,i,r,o=e,a,c,d;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(c||(d=""),c=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(s=u.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),i=t[t.length-1],i&&s.type==="text"&&i.type==="text"?(i.raw+=s.raw,i.text+=s.text):t.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length),i=t[t.length-1],i&&s.type==="text"&&i.type==="text"?(i.raw+=s.raw,i.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(e,o,d)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(e)){e=e.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e))){e=e.substring(s.raw.length),t.push(s);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const h=e.slice(1);let f;this.options.extensions.startInline.forEach(m=>{f=m.call({lexer:this},h),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(r=e.substring(0,u+1))}if(s=this.tokenizer.inlineText(r)){e=e.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(d=s.raw.slice(-1)),c=!0,i=t[t.length-1],i&&i.type==="text"?(i.raw+=s.raw,i.text+=s.text):t.push(s);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return t}}class Au{constructor(e){Yt(this,"options");Yt(this,"parser");this.options=e||bo}space(e){return""}code({text:e,lang:t,escaped:s}){var o;const i=(o=(t||"").match(/^\S*/))==null?void 0:o[0],r=e.replace(/\n$/,"")+` +`+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(i);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let s,i,r,o=e,a,c,d;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(c||(d=""),c=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(s=u.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(e)){e=e.substring(s.raw.length),i=t[t.length-1],i&&s.type==="text"&&i.type==="text"?(i.raw+=s.raw,i.text+=s.text):t.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length),i=t[t.length-1],i&&s.type==="text"&&i.type==="text"?(i.raw+=s.raw,i.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(e,o,d)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(e)){e=e.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(e))){e=e.substring(s.raw.length),t.push(s);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const h=e.slice(1);let f;this.options.extensions.startInline.forEach(m=>{f=m.call({lexer:this},h),typeof f=="number"&&f>=0&&(u=Math.min(u,f))}),u<1/0&&u>=0&&(r=e.substring(0,u+1))}if(s=this.tokenizer.inlineText(r)){e=e.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(d=s.raw.slice(-1)),c=!0,i=t[t.length-1],i&&i.type==="text"?(i.raw+=s.raw,i.text+=s.text):t.push(s);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return t}}class Au{constructor(e){Yt(this,"options");Yt(this,"parser");this.options=e||Eo}space(e){return""}code({text:e,lang:t,escaped:s}){var o;const i=(o=(t||"").match(/^\S*/))==null?void 0:o[0],r=e.replace(/\n$/,"")+` `;return i?'
'+(s?r:ts(r,!0))+`
`:"
"+(s?r:ts(r,!0))+`
`}blockquote({tokens:e}){return`
@@ -4029,10 +3955,10 @@ ${this.parser.parse(e)}
`}tablerow({text:e}){return` ${e} `}tablecell(e){const t=this.parser.parseInline(e.tokens),s=e.header?"th":"td";return(e.align?`<${s} align="${e.align}">`:`<${s}>`)+t+` -`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${e}`}br(e){return"
"}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:s}){const i=this.parser.parseInline(s),r=lR(e);if(r===null)return i;e=r;let o='
",o}image({href:e,title:t,text:s}){const i=lR(e);if(i===null)return s;e=i;let r=`${s}{const d=a[c].flat(1/0);s=s.concat(this.walkTokens(d,t))}):a.tokens&&(s=s.concat(this.walkTokens(a.tokens,t)))}}return s}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(s=>{const i={...s};if(i.async=this.defaults.async||i.async||!1,s.extensions&&(s.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const o=t.renderers[r.name];o?t.renderers[r.name]=function(...a){let c=r.renderer.apply(this,a);return c===!1&&(c=o.apply(this,a)),c}:t.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=t[r.level];o?o.unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),i.extensions=t),s.renderer){const r=this.defaults.renderer||new Au(this.defaults);for(const o in s.renderer){if(!(o in r))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const a=o,c=s.renderer[a],d=r[a];r[a]=(...u)=>{let h=c.apply(r,u);return h===!1&&(h=d.apply(r,u)),h||""}}i.renderer=r}if(s.tokenizer){const r=this.defaults.tokenizer||new wu(this.defaults);for(const o in s.tokenizer){if(!(o in r))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const a=o,c=s.tokenizer[a],d=r[a];r[a]=(...u)=>{let h=c.apply(r,u);return h===!1&&(h=d.apply(r,u)),h}}i.tokenizer=r}if(s.hooks){const r=this.defaults.hooks||new Bl;for(const o in s.hooks){if(!(o in r))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const a=o,c=s.hooks[a],d=r[a];Bl.passThroughHooks.has(o)?r[a]=u=>{if(this.defaults.async)return Promise.resolve(c.call(r,u)).then(f=>d.call(r,f));const h=c.call(r,u);return d.call(r,h)}:r[a]=(...u)=>{let h=c.apply(r,u);return h===!1&&(h=d.apply(r,u)),h}}i.hooks=r}if(s.walkTokens){const r=this.defaults.walkTokens,o=s.walkTokens;i.walkTokens=function(a){let c=[];return c.push(o.call(this,a)),r&&(c=c.concat(r.call(this,a))),c}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Es.lex(e,t??this.defaults)}parser(e,t){return ys.parse(e,t??this.defaults)}parseMarkdown(e){return(s,i)=>{const r={...i},o={...this.defaults,...r},a=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&r.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof s>"u"||s===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=e);const c=o.hooks?o.hooks.provideLexer():e?Es.lex:Es.lexInline,d=o.hooks?o.hooks.provideParser():e?ys.parse:ys.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(s):s).then(u=>c(u,o)).then(u=>o.hooks?o.hooks.processAllTokens(u):u).then(u=>o.walkTokens?Promise.all(this.walkTokens(u,o.walkTokens)).then(()=>u):u).then(u=>d(u,o)).then(u=>o.hooks?o.hooks.postprocess(u):u).catch(a);try{o.hooks&&(s=o.hooks.preprocess(s));let u=c(s,o);o.hooks&&(u=o.hooks.processAllTokens(u)),o.walkTokens&&this.walkTokens(u,o.walkTokens);let h=d(u,o);return o.hooks&&(h=o.hooks.postprocess(h)),h}catch(u){return a(u)}}}onError(e,t){return s=>{if(s.message+=` -Please report this to https://github.com/markedjs/marked.`,e){const i="

An error occurred:

"+ts(s.message+"",!0)+"
";return t?Promise.resolve(i):i}if(t)return Promise.reject(s);throw s}}}const ho=new iBt;function Gt(n,e){return ho.parse(n,e)}Gt.options=Gt.setOptions=function(n){return ho.setOptions(n),Gt.defaults=ho.defaults,fM(Gt.defaults),Gt};Gt.getDefaults=Ny;Gt.defaults=bo;Gt.use=function(...n){return ho.use(...n),Gt.defaults=ho.defaults,fM(Gt.defaults),Gt};Gt.walkTokens=function(n,e){return ho.walkTokens(n,e)};Gt.parseInline=ho.parseInline;Gt.Parser=ys;Gt.parser=ys.parse;Gt.Renderer=Au;Gt.TextRenderer=Ly;Gt.Lexer=Es;Gt.lexer=Es.lex;Gt.Tokenizer=wu;Gt.Hooks=Bl;Gt.parse=Gt;Gt.options;Gt.setOptions;Gt.use;Gt.walkTokens;Gt.parseInline;ys.parse;Es.lex;const rBt={components:{AppCard:C4t},data(){return{apps:[],githubApps:[],favorites:[],selectedCategory:"all",selectedApp:null,appCode:"",loading:!1,message:"",successMessage:!0,searchQuery:"",selectedFile:null,isUploading:!1,error:"",sortBy:"update",sortOrder:"desc",showOnlyInstalled:!1}},computed:{currentCategoryName(){return this.selectedCategory==="all"?"All Apps":this.selectedCategory},combinedApps(){this.apps.map(e=>e.name);const n=new Map(this.apps.map(e=>[e.name,{...e,installed:!0,existsInFolder:!0}]));return this.githubApps.forEach(e=>{n.has(e.name)||n.set(e.name,{...e,installed:!1,existsInFolder:!1})}),Array.from(n.values())},categories(){return[...new Set(this.combinedApps.map(n=>n.category))]},filteredApps(){return this.combinedApps.filter(n=>{const e=n.name.toLowerCase().includes(this.searchQuery.toLowerCase())||n.description.toLowerCase().includes(this.searchQuery.toLowerCase())||n.author.toLowerCase().includes(this.searchQuery.toLowerCase()),t=this.selectedCategory==="all"||n.category===this.selectedCategory,s=!this.showOnlyInstalled||n.installed;return e&&t&&s})},sortedAndFilteredApps(){return this.filteredApps.sort((n,e)=>{let t=0;switch(this.sortBy){case"name":t=n.name.localeCompare(e.name);break;case"author":t=n.author.localeCompare(e.author);break;case"date":t=new Date(n.creation_date)-new Date(e.creation_date);break;case"update":t=new Date(n.last_update_date)-new Date(e.last_update_date);break}return this.sortOrder==="asc"?t:-t})},favoriteApps(){return this.combinedApps.filter(n=>this.favorites.includes(n.uid))}},methods:{toggleSortOrder(){this.sortOrder=this.sortOrder==="asc"?"desc":"asc"},toggleFavorite(n){const e=this.favorites.indexOf(n);e===-1?this.favorites.push(n):this.favorites.splice(e,1),this.saveFavoritesToLocalStorage()},saveFavoritesToLocalStorage(){localStorage.setItem("appZooFavorites",JSON.stringify(this.favorites))},loadFavoritesFromLocalStorage(){const n=localStorage.getItem("appZooFavorites");console.log("savedFavorites",n),n&&(this.favorites=JSON.parse(n))},startServer(n){const e={client_id:this.$store.state.client_id,app_name:n};this.$store.state.messageBox.showBlockingMessage(`Loading server. -This may take some time the first time as some libraries need to be installed.`),re.post("/apps/start_server",e).then(t=>{this.$store.state.messageBox.hideMessage(),console.log("Server start initiated:",t.data.message),this.$notify({type:"success",title:"Server Starting",text:t.data.message})}).catch(t=>{var s,i;this.$store.state.messageBox.hideMessage(),console.error("Error starting server:",t),this.$notify({type:"error",title:"Server Start Failed",text:((i=(s=t.response)==null?void 0:s.data)==null?void 0:i.detail)||"An error occurred while starting the server"})})},triggerFileInput(){this.$refs.fileInput.click()},onFileSelected(n){this.selectedFile=n.target.files[0],this.message="",this.error="",this.uploadApp()},async uploadApp(){var e,t;if(!this.selectedFile){this.error="Please select a file to upload.";return}this.isUploading=!0,this.message="",this.error="";const n=new FormData;n.append("file",this.selectedFile),n.append("client_id",this.$store.state.client_id);try{const s=await re.post("/upload_app",n,{headers:{"Content-Type":"multipart/form-data"}});this.message=s.data.message,this.$refs.fileInput.value="",this.selectedFile=null}catch(s){console.error("Error uploading app:",s),this.error=((t=(e=s.response)==null?void 0:e.data)==null?void 0:t.detail)||"Failed to upload the app. Please try again."}finally{this.isUploading=!1}},async fetchApps(){this.loading=!0;try{const n=await re.get("/apps");this.apps=n.data,this.showMessage("Refresh successful!",!0)}catch{this.showMessage("Failed to refresh apps.",!1)}finally{this.loading=!1}},async openAppsFolder(){this.loading=!0;try{console.log("opening apps folder");const n=await re.post("/show_apps_folder",{client_id:this.$store.state.client_id})}catch{this.showMessage("Failed to open apps folder.",!1)}finally{this.loading=!1}},async fetchGithubApps(){this.loading=!0;try{const n=await re.get("/github/apps");this.githubApps=n.data.apps,await this.fetchApps()}catch{this.showMessage("Failed to refresh GitHub apps.",!1)}finally{this.loading=!1}},async handleAppClick(n){if(n.installed){this.selectedApp=n;const e=await re.get(`/apps/${n.folder_name}/README.md`);this.appCode=Gt(e.data)}else this.showMessage(`Please install ${n.folder_name} to view its code.`,!1)},backToZoo(){this.selectedApp=null,this.appCode=""},async installApp(n){this.loading=!0,this.$store.state.messageBox.showBlockingMessage(`Installing app ${n}`);try{await re.post(`/install/${n}`,{client_id:this.$store.state.client_id}),this.showMessage("Installation succeeded!",!0)}catch{this.showMessage("Installation failed.",!1)}finally{this.loading=!1,this.fetchApps(),this.fetchGithubApps(),this.$store.state.messageBox.hideMessage()}},async uninstallApp(n){this.loading=!0;try{await re.post(`/uninstall/${n}`,{client_id:this.$store.state.client_id}),this.showMessage("Uninstallation succeeded!",!0)}catch{this.showMessage("Uninstallation failed.",!1)}finally{this.loading=!1,this.fetchApps()}},async deleteApp(n){this.loading=!0;try{await re.post(`/delete/${n}`,{client_id:this.$store.state.client_id}),this.showMessage("Deletion succeeded!",!0)}catch{this.showMessage("Deletion failed.",!1)}finally{this.loading=!1,this.fetchApps()}},async editApp(n){this.loading=!0;try{const e=await re.post("/open_app_in_vscode",{client_id:this.$store.state.client_id,app_name:n.folder_name});this.showMessage(e.data.message,!0)}catch{this.showMessage("Failed to open folder in VSCode.",!1)}finally{this.loading=!1}},async downloadApp(n){this.isLoading=!0,this.error=null;try{const e=await re.post("/download_app",{client_id:this.$store.state.client_id,app_name:n},{responseType:"arraybuffer"}),t=e.headers["content-disposition"],s=t&&t.match(/filename="?(.+)"?/i),i=s?s[1]:"app.zip",r=new Blob([e.data],{type:"application/zip"}),o=window.URL.createObjectURL(r),a=document.createElement("a");a.style.display="none",a.href=o,a.download=i,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(o),document.body.removeChild(a)}catch(e){console.error("Error downloading app:",e),this.error="Failed to download the app. Please try again."}finally{this.isLoading=!1}},openApp(n){n.installed?window.open(`/apps/${n.folder_name}/index.html?client_id=${this.$store.state.client_id}`,"_blank"):this.showMessage(`Please install ${n.name} before opening.`,!1)},showMessage(n,e){this.message=n,this.successMessage=e,setTimeout(()=>{this.message=""},3e3)}},mounted(){this.fetchGithubApps(),this.loadFavoritesFromLocalStorage()}},oBt={class:"app-zoo background-color w-full p-6 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"},aBt={class:"panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-50 pb-50"},lBt={class:"flex flex-wrap items-center justify-between gap-4"},cBt={class:"flex items-center space-x-4"},dBt=l("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),uBt=l("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 19a2 2 0 01-2-2V7a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1M5 19h14a2 2 0 002-2v-5a2 2 0 00-2-2H9a2 2 0 00-2 2v5a2 2 0 01-2 2z"})],-1),pBt=["disabled"],_Bt={key:0},hBt={key:1,class:"error"},fBt={class:"relative flex-grow max-w-md"},mBt=l("svg",{class:"w-5 h-5 text-gray-400 absolute left-3 top-1/2 transform -translate-y-1/2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("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),gBt={class:"flex items-center space-x-4"},bBt=l("label",{for:"category-select",class:"font-semibold"},"Category:",-1),EBt=l("option",{value:"all"},"All Categories",-1),yBt=["value"],vBt={class:"flex items-center space-x-4"},SBt={for:"installed-only",class:"font-semibold"},TBt={class:"flex items-center space-x-4"},xBt=l("label",{for:"sort-select",class:"font-semibold"},"Sort by:",-1),CBt=l("option",{value:"name"},"Name",-1),wBt=l("option",{value:"author"},"Author",-1),RBt=l("option",{value:"date"},"Creation Date",-1),ABt=l("option",{value:"update"},"Last Update",-1),NBt=[CBt,wBt,RBt,ABt],OBt={key:0,class:"flex justify-center items-center space-x-2 my-8","aria-live":"polite"},MBt=l("div",{class:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"},null,-1),IBt=l("span",{class:"text-xl text-gray-700 font-semibold"},"Loading...",-1),kBt=[MBt,IBt],DBt={key:1},LBt=l("h2",{class:"text-2xl font-bold mb-4"},"Favorite Apps",-1),PBt={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-8"},FBt={class:"text-2xl font-bold mb-4"},UBt={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},BBt={key:2,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},GBt={class:"bg-white rounded-lg p-6 w-11/12 h-5/6 flex flex-col"},VBt={class:"flex justify-between items-center mb-4"},zBt={class:"text-2xl font-bold"},HBt=["srcdoc"],qBt={key:1,class:"text-center text-red-500"};function $Bt(n,e,t,s,i,r){const o=tt("app-card");return T(),x("div",oBt,[l("nav",aBt,[l("div",lBt,[l("div",cBt,[l("button",{onClick:e[0]||(e[0]=(...a)=>r.fetchGithubApps&&r.fetchGithubApps(...a)),class:"btn btn-primary","aria-label":"Refresh apps from GitHub"},[dBt,Je(" Refresh ")]),l("button",{onClick:e[1]||(e[1]=(...a)=>r.openAppsFolder&&r.openAppsFolder(...a)),class:"btn btn-secondary","aria-label":"Open apps folder"},[uBt,Je(" Open Folder ")]),l("input",{type:"file",onChange:e[2]||(e[2]=(...a)=>r.onFileSelected&&r.onFileSelected(...a)),accept:".zip",ref:"fileInput",style:{display:"none"}},null,544),l("button",{onClick:e[3]||(e[3]=(...a)=>r.triggerFileInput&&r.triggerFileInput(...a)),disabled:i.isUploading,class:"btn-secondary text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Upload App"},K(i.isUploading?"Uploading...":"Upload App"),9,pBt)]),i.message?(T(),x("p",_Bt,K(i.message),1)):G("",!0),i.error?(T(),x("p",hBt,K(i.error),1)):G("",!0),l("div",fBt,[P(l("input",{"onUpdate:modelValue":e[4]||(e[4]=a=>i.searchQuery=a),placeholder:"Search apps...",class:"w-full border-b-2 border-gray-300 px-4 py-2 pl-10 focus:outline-none focus:border-blue-500 transition duration-300 ease-in-out","aria-label":"Search apps"},null,512),[[pe,i.searchQuery]]),mBt]),l("div",gBt,[bBt,P(l("select",{id:"category-select","onUpdate:modelValue":e[5]||(e[5]=a=>i.selectedCategory=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},[EBt,(T(!0),x(Fe,null,Ke(r.categories,a=>(T(),x("option",{key:a,value:a},K(a),9,yBt))),128))],512),[[Dt,i.selectedCategory]])]),l("div",vBt,[l("label",SBt,[P(l("input",{id:"installed-only",type:"checkbox","onUpdate:modelValue":e[6]||(e[6]=a=>i.showOnlyInstalled=a),class:"mr-2"},null,512),[[$e,i.showOnlyInstalled]]),Je(" Show only installed apps ")])]),l("div",TBt,[xBt,P(l("select",{id:"sort-select","onUpdate:modelValue":e[7]||(e[7]=a=>i.sortBy=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},NBt,512),[[Dt,i.sortBy]]),l("button",{onClick:e[8]||(e[8]=(...a)=>r.toggleSortOrder&&r.toggleSortOrder(...a)),class:"btn btn-secondary"},K(i.sortOrder==="asc"?"↑":"↓"),1)])])]),i.loading?(T(),x("div",OBt,kBt)):(T(),x("div",DBt,[LBt,l("div",PBt,[(T(!0),x(Fe,null,Ke(r.favoriteApps,a=>(T(),dt(o,{key:a.uid,app:a,onToggleFavorite:r.toggleFavorite,onInstall:r.installApp,onUninstall:r.uninstallApp,onDelete:r.deleteApp,onEdit:r.editApp,onDownload:r.downloadApp,onHelp:r.handleAppClick,onOpen:r.openApp,onStartServer:r.startServer},null,8,["app","onToggleFavorite","onInstall","onUninstall","onDelete","onEdit","onDownload","onHelp","onOpen","onStartServer"]))),128))]),l("h2",FBt,K(r.currentCategoryName)+" ("+K(r.sortedAndFilteredApps.length)+")",1),l("div",UBt,[(T(!0),x(Fe,null,Ke(r.sortedAndFilteredApps,a=>(T(),dt(o,{key:a.uid,app:a,onToggleFavorite:r.toggleFavorite,onInstall:r.installApp,onUninstall:r.uninstallApp,onDelete:r.deleteApp,onEdit:r.editApp,onDownload:r.downloadApp,onHelp:r.handleAppClick,onOpen:r.openApp,onStartServer:r.startServer},null,8,["app","onToggleFavorite","onInstall","onUninstall","onDelete","onEdit","onDownload","onHelp","onOpen","onStartServer"]))),128))])])),i.selectedApp?(T(),x("div",BBt,[l("div",GBt,[l("div",VBt,[l("h2",zBt,K(i.selectedApp.name),1),l("button",{onClick:e[9]||(e[9]=(...a)=>r.backToZoo&&r.backToZoo(...a)),class:"bg-gray-300 hover:bg-gray-400 px-4 py-2 rounded-lg transition duration-300 ease-in-out"},"Close")]),i.appCode?(T(),x("iframe",{key:0,srcdoc:i.appCode,class:"flex-grow border-none"},null,8,HBt)):(T(),x("p",qBt,"Please install this app to view its code."))])])):G("",!0),i.message?(T(),x("div",{key:3,class:Ge(["fixed bottom-4 right-4 px-6 py-3 rounded-lg shadow-md",{"bg-green-100 text-green-800":i.successMessage,"bg-red-100 text-red-800":!i.successMessage}])},K(i.message),3)):G("",!0)])}const YBt=ot(rBt,[["render",$Bt]]);const WBt={components:{PersonalityEntry:WE},data(){return{personalities:[],githubApps:[],favorites:[],selectedCategory:"all",selectedApp:null,appCode:"",loading:!1,message:"",successMessage:!0,searchQuery:"",selectedFile:null,isUploading:!1,error:"",sortBy:"name",sortOrder:"asc"}},computed:{currentCategoryName(){return this.selectedCategory=="all"?"All Personalities":this.selectedCategory},configFile:{get(){return this.$store.state.config},set(n){this.$store.commit("setConfig",n)}},combinedApps(){this.personalities.map(e=>e.name);const n=new Map(this.personalities.map(e=>[e.name,{...e,installed:!0,existsInFolder:!0}]));return this.githubApps.forEach(e=>{n.has(e.name)||n.set(e.name,{...e,installed:!1,existsInFolder:!1})}),Array.from(n.values())},categories(){return[...new Set(this.combinedApps.map(n=>n.category))].sort((n,e)=>n.localeCompare(e))},filteredApps(){return this.combinedApps.filter(n=>{const e=n.name.toLowerCase().includes(this.searchQuery.toLowerCase())||n.author.toLowerCase().includes(this.searchQuery.toLowerCase())||n.description.toLowerCase().includes(this.searchQuery.toLowerCase()),t=this.selectedCategory==="all"||n.category===this.selectedCategory;return e&&t})},sortedAndFilteredApps(){return this.filteredApps.sort((n,e)=>{let t=0;switch(this.sortBy){case"name":t=n.name.localeCompare(e.name);break;case"author":t=n.author.localeCompare(e.author);break;case"date":t=new Date(n.creation_date)-new Date(e.creation_date);break;case"update":t=new Date(n.last_update_date)-new Date(e.last_update_date);break}return this.sortOrder==="asc"?t:-t})},favoriteApps(){return this.combinedApps.filter(n=>this.favorites.includes(n.uid))}},methods:{async onPersonalitySelected(n){if(console.log("on pers",n),this.isLoading&&this.$store.state.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("selecting ",n),n){if(n.selected){this.$store.state.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}let e=n.language==null?n.full_path:n.full_path+":"+n.language;if(console.log("pth",e),n.isMounted&&this.configFile.personalities.includes(e)){const t=await this.select_personality(n);console.log("pers is mounted",t),t&&t.status&&t.active_personality_id>-1?this.$store.state.toast.showToast(`Selected personality: +`}strong({tokens:e}){return`${this.parser.parseInline(e)}`}em({tokens:e}){return`${this.parser.parseInline(e)}`}codespan({text:e}){return`${e}`}br(e){return"
"}del({tokens:e}){return`${this.parser.parseInline(e)}`}link({href:e,title:t,tokens:s}){const i=this.parser.parseInline(s),r=lR(e);if(r===null)return i;e=r;let o='
",o}image({href:e,title:t,text:s}){const i=lR(e);if(i===null)return s;e=i;let r=`${s}{const d=a[c].flat(1/0);s=s.concat(this.walkTokens(d,t))}):a.tokens&&(s=s.concat(this.walkTokens(a.tokens,t)))}}return s}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(s=>{const i={...s};if(i.async=this.defaults.async||i.async||!1,s.extensions&&(s.extensions.forEach(r=>{if(!r.name)throw new Error("extension name required");if("renderer"in r){const o=t.renderers[r.name];o?t.renderers[r.name]=function(...a){let c=r.renderer.apply(this,a);return c===!1&&(c=o.apply(this,a)),c}:t.renderers[r.name]=r.renderer}if("tokenizer"in r){if(!r.level||r.level!=="block"&&r.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=t[r.level];o?o.unshift(r.tokenizer):t[r.level]=[r.tokenizer],r.start&&(r.level==="block"?t.startBlock?t.startBlock.push(r.start):t.startBlock=[r.start]:r.level==="inline"&&(t.startInline?t.startInline.push(r.start):t.startInline=[r.start]))}"childTokens"in r&&r.childTokens&&(t.childTokens[r.name]=r.childTokens)}),i.extensions=t),s.renderer){const r=this.defaults.renderer||new Au(this.defaults);for(const o in s.renderer){if(!(o in r))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const a=o,c=s.renderer[a],d=r[a];r[a]=(...u)=>{let h=c.apply(r,u);return h===!1&&(h=d.apply(r,u)),h||""}}i.renderer=r}if(s.tokenizer){const r=this.defaults.tokenizer||new wu(this.defaults);for(const o in s.tokenizer){if(!(o in r))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const a=o,c=s.tokenizer[a],d=r[a];r[a]=(...u)=>{let h=c.apply(r,u);return h===!1&&(h=d.apply(r,u)),h}}i.tokenizer=r}if(s.hooks){const r=this.defaults.hooks||new Bl;for(const o in s.hooks){if(!(o in r))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const a=o,c=s.hooks[a],d=r[a];Bl.passThroughHooks.has(o)?r[a]=u=>{if(this.defaults.async)return Promise.resolve(c.call(r,u)).then(f=>d.call(r,f));const h=c.call(r,u);return d.call(r,h)}:r[a]=(...u)=>{let h=c.apply(r,u);return h===!1&&(h=d.apply(r,u)),h}}i.hooks=r}if(s.walkTokens){const r=this.defaults.walkTokens,o=s.walkTokens;i.walkTokens=function(a){let c=[];return c.push(o.call(this,a)),r&&(c=c.concat(r.call(this,a))),c}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return Es.lex(e,t??this.defaults)}parser(e,t){return ys.parse(e,t??this.defaults)}parseMarkdown(e){return(s,i)=>{const r={...i},o={...this.defaults,...r},a=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&r.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof s>"u"||s===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=e);const c=o.hooks?o.hooks.provideLexer():e?Es.lex:Es.lexInline,d=o.hooks?o.hooks.provideParser():e?ys.parse:ys.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(s):s).then(u=>c(u,o)).then(u=>o.hooks?o.hooks.processAllTokens(u):u).then(u=>o.walkTokens?Promise.all(this.walkTokens(u,o.walkTokens)).then(()=>u):u).then(u=>d(u,o)).then(u=>o.hooks?o.hooks.postprocess(u):u).catch(a);try{o.hooks&&(s=o.hooks.preprocess(s));let u=c(s,o);o.hooks&&(u=o.hooks.processAllTokens(u)),o.walkTokens&&this.walkTokens(u,o.walkTokens);let h=d(u,o);return o.hooks&&(h=o.hooks.postprocess(h)),h}catch(u){return a(u)}}}onError(e,t){return s=>{if(s.message+=` +Please report this to https://github.com/markedjs/marked.`,e){const i="

An error occurred:

"+ts(s.message+"",!0)+"
";return t?Promise.resolve(i):i}if(t)return Promise.reject(s);throw s}}}const ho=new $4t;function Gt(n,e){return ho.parse(n,e)}Gt.options=Gt.setOptions=function(n){return ho.setOptions(n),Gt.defaults=ho.defaults,fI(Gt.defaults),Gt};Gt.getDefaults=Ny;Gt.defaults=Eo;Gt.use=function(...n){return ho.use(...n),Gt.defaults=ho.defaults,fI(Gt.defaults),Gt};Gt.walkTokens=function(n,e){return ho.walkTokens(n,e)};Gt.parseInline=ho.parseInline;Gt.Parser=ys;Gt.parser=ys.parse;Gt.Renderer=Au;Gt.TextRenderer=Ly;Gt.Lexer=Es;Gt.lexer=Es.lex;Gt.Tokenizer=wu;Gt.Hooks=Bl;Gt.parse=Gt;Gt.options;Gt.setOptions;Gt.use;Gt.walkTokens;Gt.parseInline;ys.parse;Es.lex;const Y4t={components:{AppCard:p4t},data(){return{apps:[],githubApps:[],favorites:[],selectedCategory:"all",selectedApp:null,appCode:"",loading:!1,message:"",successMessage:!0,searchQuery:"",selectedFile:null,isUploading:!1,error:"",sortBy:"update",sortOrder:"desc",showOnlyInstalled:!1}},computed:{currentCategoryName(){return this.selectedCategory==="all"?"All Apps":this.selectedCategory},combinedApps(){this.apps.map(e=>e.name);const n=new Map(this.apps.map(e=>[e.name,{...e,installed:!0,existsInFolder:!0}]));return this.githubApps.forEach(e=>{n.has(e.name)||n.set(e.name,{...e,installed:!1,existsInFolder:!1})}),Array.from(n.values())},categories(){return[...new Set(this.combinedApps.map(n=>n.category))]},filteredApps(){return this.combinedApps.filter(n=>{const e=n.name.toLowerCase().includes(this.searchQuery.toLowerCase())||n.description.toLowerCase().includes(this.searchQuery.toLowerCase())||n.author.toLowerCase().includes(this.searchQuery.toLowerCase()),t=this.selectedCategory==="all"||n.category===this.selectedCategory,s=!this.showOnlyInstalled||n.installed;return e&&t&&s})},sortedAndFilteredApps(){return this.filteredApps.sort((n,e)=>{let t=0;switch(this.sortBy){case"name":t=n.name.localeCompare(e.name);break;case"author":t=n.author.localeCompare(e.author);break;case"date":t=new Date(n.creation_date)-new Date(e.creation_date);break;case"update":t=new Date(n.last_update_date)-new Date(e.last_update_date);break}return this.sortOrder==="asc"?t:-t})},favoriteApps(){return this.combinedApps.filter(n=>this.favorites.includes(n.uid))}},methods:{toggleSortOrder(){this.sortOrder=this.sortOrder==="asc"?"desc":"asc"},toggleFavorite(n){const e=this.favorites.indexOf(n);e===-1?this.favorites.push(n):this.favorites.splice(e,1),this.saveFavoritesToLocalStorage()},saveFavoritesToLocalStorage(){localStorage.setItem("appZooFavorites",JSON.stringify(this.favorites))},loadFavoritesFromLocalStorage(){const n=localStorage.getItem("appZooFavorites");console.log("savedFavorites",n),n&&(this.favorites=JSON.parse(n))},startServer(n){const e={client_id:this.$store.state.client_id,app_name:n};this.$store.state.messageBox.showBlockingMessage(`Loading server. +This may take some time the first time as some libraries need to be installed.`),re.post("/apps/start_server",e).then(t=>{this.$store.state.messageBox.hideMessage(),console.log("Server start initiated:",t.data.message),this.$notify({type:"success",title:"Server Starting",text:t.data.message})}).catch(t=>{var s,i;this.$store.state.messageBox.hideMessage(),console.error("Error starting server:",t),this.$notify({type:"error",title:"Server Start Failed",text:((i=(s=t.response)==null?void 0:s.data)==null?void 0:i.detail)||"An error occurred while starting the server"})})},triggerFileInput(){this.$refs.fileInput.click()},onFileSelected(n){this.selectedFile=n.target.files[0],this.message="",this.error="",this.uploadApp()},async uploadApp(){var e,t;if(!this.selectedFile){this.error="Please select a file to upload.";return}this.isUploading=!0,this.message="",this.error="";const n=new FormData;n.append("file",this.selectedFile),n.append("client_id",this.$store.state.client_id);try{const s=await re.post("/upload_app",n,{headers:{"Content-Type":"multipart/form-data"}});this.message=s.data.message,this.$refs.fileInput.value="",this.selectedFile=null}catch(s){console.error("Error uploading app:",s),this.error=((t=(e=s.response)==null?void 0:e.data)==null?void 0:t.detail)||"Failed to upload the app. Please try again."}finally{this.isUploading=!1}},async fetchApps(){this.loading=!0;try{const n=await re.get("/apps");this.apps=n.data,this.showMessage("Refresh successful!",!0)}catch{this.showMessage("Failed to refresh apps.",!1)}finally{this.loading=!1}},async openAppsFolder(){this.loading=!0;try{console.log("opening apps folder");const n=await re.post("/show_apps_folder",{client_id:this.$store.state.client_id})}catch{this.showMessage("Failed to open apps folder.",!1)}finally{this.loading=!1}},async fetchGithubApps(){this.loading=!0;try{const n=await re.get("/github/apps");this.githubApps=n.data.apps,await this.fetchApps()}catch{this.showMessage("Failed to refresh GitHub apps.",!1)}finally{this.loading=!1}},async handleAppClick(n){if(n.installed){this.selectedApp=n;const e=await re.get(`/apps/${n.folder_name}/README.md`);this.appCode=Gt(e.data)}else this.showMessage(`Please install ${n.folder_name} to view its code.`,!1)},backToZoo(){this.selectedApp=null,this.appCode=""},async installApp(n){this.loading=!0,this.$store.state.messageBox.showBlockingMessage(`Installing app ${n}`);try{await re.post(`/install/${n}`,{client_id:this.$store.state.client_id}),this.showMessage("Installation succeeded!",!0)}catch{this.showMessage("Installation failed.",!1)}finally{this.loading=!1,this.fetchApps(),this.fetchGithubApps(),this.$store.state.messageBox.hideMessage()}},async uninstallApp(n){this.loading=!0;try{await re.post(`/uninstall/${n}`,{client_id:this.$store.state.client_id}),this.showMessage("Uninstallation succeeded!",!0)}catch{this.showMessage("Uninstallation failed.",!1)}finally{this.loading=!1,this.fetchApps()}},async deleteApp(n){this.loading=!0;try{await re.post(`/delete/${n}`,{client_id:this.$store.state.client_id}),this.showMessage("Deletion succeeded!",!0)}catch{this.showMessage("Deletion failed.",!1)}finally{this.loading=!1,this.fetchApps()}},async editApp(n){this.loading=!0;try{const e=await re.post("/open_app_in_vscode",{client_id:this.$store.state.client_id,app_name:n.folder_name});this.showMessage(e.data.message,!0)}catch{this.showMessage("Failed to open folder in VSCode.",!1)}finally{this.loading=!1}},async downloadApp(n){this.isLoading=!0,this.error=null;try{const e=await re.post("/download_app",{client_id:this.$store.state.client_id,app_name:n},{responseType:"arraybuffer"}),t=e.headers["content-disposition"],s=t&&t.match(/filename="?(.+)"?/i),i=s?s[1]:"app.zip",r=new Blob([e.data],{type:"application/zip"}),o=window.URL.createObjectURL(r),a=document.createElement("a");a.style.display="none",a.href=o,a.download=i,document.body.appendChild(a),a.click(),window.URL.revokeObjectURL(o),document.body.removeChild(a)}catch(e){console.error("Error downloading app:",e),this.error="Failed to download the app. Please try again."}finally{this.isLoading=!1}},openApp(n){n.installed?window.open(`/apps/${n.folder_name}/index.html?client_id=${this.$store.state.client_id}`,"_blank"):this.showMessage(`Please install ${n.name} before opening.`,!1)},showMessage(n,e){this.message=n,this.successMessage=e,setTimeout(()=>{this.message=""},3e3)}},mounted(){this.fetchGithubApps(),this.loadFavoritesFromLocalStorage()}},W4t={class:"app-zoo background-color w-full p-6 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"},K4t={class:"panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-50 pb-50"},j4t={class:"flex flex-wrap items-center justify-between gap-4"},Q4t={class:"flex items-center space-x-4"},X4t=l("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),Z4t=l("svg",{class:"w-5 h-5 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 19a2 2 0 01-2-2V7a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1M5 19h14a2 2 0 002-2v-5a2 2 0 00-2-2H9a2 2 0 00-2 2v5a2 2 0 01-2 2z"})],-1),J4t=["disabled"],eBt={key:0},tBt={key:1,class:"error"},nBt={class:"relative flex-grow max-w-md"},sBt=l("svg",{class:"w-5 h-5 text-gray-400 absolute left-3 top-1/2 transform -translate-y-1/2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("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),iBt={class:"flex items-center space-x-4"},rBt=l("label",{for:"category-select",class:"font-semibold"},"Category:",-1),oBt=l("option",{value:"all"},"All Categories",-1),aBt=["value"],lBt={class:"flex items-center space-x-4"},cBt={for:"installed-only",class:"font-semibold"},dBt={class:"flex items-center space-x-4"},uBt=l("label",{for:"sort-select",class:"font-semibold"},"Sort by:",-1),pBt=l("option",{value:"name"},"Name",-1),_Bt=l("option",{value:"author"},"Author",-1),hBt=l("option",{value:"date"},"Creation Date",-1),fBt=l("option",{value:"update"},"Last Update",-1),mBt=[pBt,_Bt,hBt,fBt],gBt={key:0,class:"flex justify-center items-center space-x-2 my-8","aria-live":"polite"},bBt=l("div",{class:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"},null,-1),EBt=l("span",{class:"text-xl text-gray-700 font-semibold"},"Loading...",-1),yBt=[bBt,EBt],vBt={key:1},SBt=l("h2",{class:"text-2xl font-bold mb-4"},"Favorite Apps",-1),TBt={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-8"},xBt={class:"text-2xl font-bold mb-4"},CBt={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},wBt={key:2,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},RBt={class:"bg-white rounded-lg p-6 w-11/12 h-5/6 flex flex-col"},ABt={class:"flex justify-between items-center mb-4"},NBt={class:"text-2xl font-bold"},OBt=["srcdoc"],IBt={key:1,class:"text-center text-red-500"};function MBt(n,e,t,s,i,r){const o=tt("app-card");return T(),C("div",W4t,[l("nav",K4t,[l("div",j4t,[l("div",Q4t,[l("button",{onClick:e[0]||(e[0]=(...a)=>r.fetchGithubApps&&r.fetchGithubApps(...a)),class:"btn btn-primary","aria-label":"Refresh apps from GitHub"},[X4t,Je(" Refresh ")]),l("button",{onClick:e[1]||(e[1]=(...a)=>r.openAppsFolder&&r.openAppsFolder(...a)),class:"btn btn-secondary","aria-label":"Open apps folder"},[Z4t,Je(" Open Folder ")]),l("input",{type:"file",onChange:e[2]||(e[2]=(...a)=>r.onFileSelected&&r.onFileSelected(...a)),accept:".zip",ref:"fileInput",style:{display:"none"}},null,544),l("button",{onClick:e[3]||(e[3]=(...a)=>r.triggerFileInput&&r.triggerFileInput(...a)),disabled:i.isUploading,class:"btn-secondary text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Upload App"},K(i.isUploading?"Uploading...":"Upload App"),9,J4t)]),i.message?(T(),C("p",eBt,K(i.message),1)):G("",!0),i.error?(T(),C("p",tBt,K(i.error),1)):G("",!0),l("div",nBt,[P(l("input",{"onUpdate:modelValue":e[4]||(e[4]=a=>i.searchQuery=a),placeholder:"Search apps...",class:"w-full border-b-2 border-gray-300 px-4 py-2 pl-10 focus:outline-none focus:border-blue-500 transition duration-300 ease-in-out","aria-label":"Search apps"},null,512),[[pe,i.searchQuery]]),sBt]),l("div",iBt,[rBt,P(l("select",{id:"category-select","onUpdate:modelValue":e[5]||(e[5]=a=>i.selectedCategory=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},[oBt,(T(!0),C(Ge,null,Xe(r.categories,a=>(T(),C("option",{key:a,value:a},K(a),9,aBt))),128))],512),[[Dt,i.selectedCategory]])]),l("div",lBt,[l("label",cBt,[P(l("input",{id:"installed-only",type:"checkbox","onUpdate:modelValue":e[6]||(e[6]=a=>i.showOnlyInstalled=a),class:"mr-2"},null,512),[[$e,i.showOnlyInstalled]]),Je(" Show only installed apps ")])]),l("div",dBt,[uBt,P(l("select",{id:"sort-select","onUpdate:modelValue":e[7]||(e[7]=a=>i.sortBy=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},mBt,512),[[Dt,i.sortBy]]),l("button",{onClick:e[8]||(e[8]=(...a)=>r.toggleSortOrder&&r.toggleSortOrder(...a)),class:"btn btn-secondary"},K(i.sortOrder==="asc"?"↑":"↓"),1)])])]),i.loading?(T(),C("div",gBt,yBt)):(T(),C("div",vBt,[SBt,l("div",TBt,[(T(!0),C(Ge,null,Xe(r.favoriteApps,a=>(T(),dt(o,{key:a.uid,app:a,onToggleFavorite:r.toggleFavorite,onInstall:r.installApp,onUninstall:r.uninstallApp,onDelete:r.deleteApp,onEdit:r.editApp,onDownload:r.downloadApp,onHelp:r.handleAppClick,onOpen:r.openApp,onStartServer:r.startServer},null,8,["app","onToggleFavorite","onInstall","onUninstall","onDelete","onEdit","onDownload","onHelp","onOpen","onStartServer"]))),128))]),l("h2",xBt,K(r.currentCategoryName)+" ("+K(r.sortedAndFilteredApps.length)+")",1),l("div",CBt,[(T(!0),C(Ge,null,Xe(r.sortedAndFilteredApps,a=>(T(),dt(o,{key:a.uid,app:a,onToggleFavorite:r.toggleFavorite,onInstall:r.installApp,onUninstall:r.uninstallApp,onDelete:r.deleteApp,onEdit:r.editApp,onDownload:r.downloadApp,onHelp:r.handleAppClick,onOpen:r.openApp,onStartServer:r.startServer},null,8,["app","onToggleFavorite","onInstall","onUninstall","onDelete","onEdit","onDownload","onHelp","onOpen","onStartServer"]))),128))])])),i.selectedApp?(T(),C("div",wBt,[l("div",RBt,[l("div",ABt,[l("h2",NBt,K(i.selectedApp.name),1),l("button",{onClick:e[9]||(e[9]=(...a)=>r.backToZoo&&r.backToZoo(...a)),class:"bg-gray-300 hover:bg-gray-400 px-4 py-2 rounded-lg transition duration-300 ease-in-out"},"Close")]),i.appCode?(T(),C("iframe",{key:0,srcdoc:i.appCode,class:"flex-grow border-none"},null,8,OBt)):(T(),C("p",IBt,"Please install this app to view its code."))])])):G("",!0),i.message?(T(),C("div",{key:3,class:Be(["fixed bottom-4 right-4 px-6 py-3 rounded-lg shadow-md",{"bg-green-100 text-green-800":i.successMessage,"bg-red-100 text-red-800":!i.successMessage}])},K(i.message),3)):G("",!0)])}const kBt=ot(Y4t,[["render",MBt]]);const DBt={components:{PersonalityEntry:WE},data(){return{personalities:[],githubApps:[],favorites:[],selectedCategory:"all",selectedApp:null,appCode:"",loading:!1,message:"",successMessage:!0,searchQuery:"",selectedFile:null,isUploading:!1,error:"",sortBy:"name",sortOrder:"asc"}},computed:{currentCategoryName(){return this.selectedCategory=="all"?"All Personalities":this.selectedCategory},configFile:{get(){return this.$store.state.config},set(n){this.$store.commit("setConfig",n)}},combinedApps(){this.personalities.map(e=>e.name);const n=new Map(this.personalities.map(e=>[e.name,{...e,installed:!0,existsInFolder:!0}]));return this.githubApps.forEach(e=>{n.has(e.name)||n.set(e.name,{...e,installed:!1,existsInFolder:!1})}),Array.from(n.values())},categories(){return[...new Set(this.combinedApps.map(n=>n.category))].sort((n,e)=>n.localeCompare(e))},filteredApps(){return this.combinedApps.filter(n=>{const e=n.name.toLowerCase().includes(this.searchQuery.toLowerCase())||n.author.toLowerCase().includes(this.searchQuery.toLowerCase())||n.description.toLowerCase().includes(this.searchQuery.toLowerCase()),t=this.selectedCategory==="all"||n.category===this.selectedCategory;return e&&t})},sortedAndFilteredApps(){return this.filteredApps.sort((n,e)=>{let t=0;switch(this.sortBy){case"name":t=n.name.localeCompare(e.name);break;case"author":t=n.author.localeCompare(e.author);break;case"date":t=new Date(n.creation_date)-new Date(e.creation_date);break;case"update":t=new Date(n.last_update_date)-new Date(e.last_update_date);break}return this.sortOrder==="asc"?t:-t})},favoriteApps(){return this.combinedApps.filter(n=>this.favorites.includes(n.uid))}},methods:{async onPersonalitySelected(n){if(console.log("on pers",n),this.isLoading&&this.$store.state.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("selecting ",n),n){if(n.selected){this.$store.state.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}let e=n.language==null?n.full_path:n.full_path+":"+n.language;if(console.log("pth",e),n.isMounted&&this.configFile.personalities.includes(e)){const t=await this.select_personality(n);console.log("pers is mounted",t),t&&t.status&&t.active_personality_id>-1?this.$store.state.toast.showToast(`Selected personality: `+n.name,4,!0):this.$store.state.toast.showToast(`Error on select personality: `+n.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.mountPersonality(n);Le(()=>{feather.replace()})}},onModelSelected(n){if(this.isLoading){this.$store.state.toast.showToast("Loading... please wait",4,!1);return}n&&(n.isInstalled?this.update_model(n.model.name).then(e=>{console.log("update_model",e),this.configFile.model_name=n.model.name,e.status?(this.$store.state.toast.showToast(`Selected model: `+n.name,4,!0),Le(()=>{feather.replace(),this.is_loading_zoo=!1}),this.updateModelsZoo(),this.api_get_req("get_model_status").then(t=>{this.$store.commit("setIsModelOk",t)})):(this.$store.state.toast.showToast(`Couldn't select model: @@ -4052,4 +3978,4 @@ You have the freedom to give, sell, or keep the personas you create for yourself The possibilities are endless, they are now yours to mold and customize as you see fit.`),this.$store.dispatch("refreshPersonalitiesZoo")):this.$store.state.toast.showToast(`Personality couldn't be copied to the custom personalities folder: Verify that the personality is not already copied there.`,4,!1)}).catch(e=>{this.$store.state.toast.showToast(`Personality couldn't be copied to the custom personalities folder: `,4,!1),console.error(e)})},async remountPersonality(n){await this.unmountPersonality(n),await this.mountPersonality(n)},onPersonalityReinstall(n){console.log("on reinstall ",n),this.isLoading=!0,console.log("Personality path:",n.personality.path),re.post("/reinstall_personality",{client_id:this.$store.state.client_id,name:n.personality.path},{headers:this.posts_headers}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$store.state.toast.showToast("Personality reinstalled successfully!",4,!0):this.$store.state.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$store.state.toast.showToast(`Could not reinstall personality -`+e.message,4,!1),{status:!1}))},async handleOpenFolder(n){await re.post("/open_personality_folder",{client_id:this.$store.state.client_id,personality_folder:n.personality.folder})},showMessage(n,e){this.message=n,this.successMessage=e,setTimeout(()=>{this.message=""},3e3)},loadPersonalities(){this.loading=!0,setTimeout(()=>{this.personalities=this.$store.state.personalities,this.loading=!1},500)}},mounted(){this.loadFavoritesFromLocalStorage(),this.loading=!0,setTimeout(()=>{this.personalities=this.$store.state.personalities,this.loading=!1},500)}},Ms=n=>(Rs("data-v-4e49bb35"),n=n(),As(),n),KBt={class:"app-zoo mb-100 pb-100 background-color w-full p-6 overflow-y-auto h-screen 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"},jBt={class:"panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-8"},QBt={class:"flex flex-wrap items-center justify-between gap-4"},XBt={key:0},ZBt={key:1,class:"error"},JBt={class:"relative flex-grow max-w-md"},e5t=Ms(()=>l("svg",{class:"w-5 h-5 text-gray-400 absolute left-3 top-1/2 transform -translate-y-1/2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("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)),t5t={class:"flex items-center space-x-4"},n5t=Ms(()=>l("label",{for:"category-select",class:"font-semibold"},"Category:",-1)),s5t=Ms(()=>l("option",{value:"all"},"All Categories",-1)),i5t=["value"],r5t={class:"flex items-center space-x-4"},o5t=Ms(()=>l("label",{for:"sort-select",class:"font-semibold"},"Sort by:",-1)),a5t=Ms(()=>l("option",{value:"name"},"Name",-1)),l5t=Ms(()=>l("option",{value:"author"},"Author",-1)),c5t=Ms(()=>l("option",{value:"date"},"Creation Date",-1)),d5t=Ms(()=>l("option",{value:"update"},"Last Update",-1)),u5t=[a5t,l5t,c5t,d5t],p5t={key:0,class:"flex justify-center items-center space-x-2 my-8","aria-live":"polite"},_5t=Ms(()=>l("div",{class:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"},null,-1)),h5t=Ms(()=>l("span",{class:"text-xl text-gray-700 font-semibold"},"Loading...",-1)),f5t=[_5t,h5t],m5t={key:1},g5t={class:"container mx-auto px-4 flex flex-column pb-20"},b5t={key:0},E5t=Ms(()=>l("h2",{class:"text-2xl font-bold my-8"},"Favorite Apps",-1)),y5t={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 mb-12"},v5t={class:"container mx-auto px-4 flex flex-column pb-20"},S5t={class:"text-2xl font-bold my-8"},T5t={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 mb-12"},x5t={key:2,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 overflow-y-auto"},C5t={class:"bg-white rounded-lg p-6 w-11/12 h-5/6 flex flex-col"},w5t={class:"flex justify-between items-center mb-4"},R5t={class:"text-2xl font-bold"},A5t=["srcdoc"],N5t={key:1,class:"text-center text-red-500"},O5t=Ms(()=>l("div",{class:"h-20"},null,-1));function M5t(n,e,t,s,i,r){const o=tt("personality-entry");return T(),x("div",KBt,[l("nav",jBt,[l("div",QBt,[i.message?(T(),x("p",XBt,K(i.message),1)):G("",!0),i.error?(T(),x("p",ZBt,K(i.error),1)):G("",!0),l("div",JBt,[P(l("input",{"onUpdate:modelValue":e[0]||(e[0]=a=>i.searchQuery=a),placeholder:"Search personalities...",class:"w-full border-b-2 border-gray-300 px-4 py-2 pl-10 focus:outline-none focus:border-blue-500 transition duration-300 ease-in-out","aria-label":"Search personalities"},null,512),[[pe,i.searchQuery]]),e5t]),l("div",t5t,[n5t,P(l("select",{id:"category-select","onUpdate:modelValue":e[1]||(e[1]=a=>i.selectedCategory=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},[s5t,(T(!0),x(Fe,null,Ke(r.categories,a=>(T(),x("option",{key:a,value:a},K(a),9,i5t))),128))],512),[[Dt,i.selectedCategory]])]),l("div",r5t,[o5t,P(l("select",{id:"sort-select","onUpdate:modelValue":e[2]||(e[2]=a=>i.sortBy=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},u5t,512),[[Dt,i.sortBy]]),l("button",{onClick:e[3]||(e[3]=(...a)=>r.toggleSortOrder&&r.toggleSortOrder(...a)),class:"btn btn-secondary"},K(i.sortOrder==="asc"?"↑":"↓"),1)])])]),i.loading?(T(),x("div",p5t,f5t)):(T(),x("div",m5t,[l("div",g5t,[r.favoriteApps.length>0&&!i.searchQuery?(T(),x("div",b5t,[E5t,l("div",y5t,[(T(!0),x(Fe,null,Ke(r.favoriteApps,a=>(T(),dt(o,{ref_for:!0,ref:"personalitiesZoo",key:a.uid,personality:a,select_language:!0,full_path:a.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(c=>c===a.full_path||c===a.full_path+":"+a.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-edit":r.editPersonality,"on-copy-to-custom":r.copyToCustom,"on-reinstall":r.onPersonalityReinstall,"on-settings":n.onSettingsPersonality,"on-copy-personality-name":n.onCopyPersonalityName,"on-copy-to_custom":n.onCopyToCustom,"on-open-folder":r.handleOpenFolder,"on-toggle-favorite":r.toggleFavorite},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder","on-toggle-favorite"]))),128))])])):G("",!0)]),l("div",v5t,[l("h2",S5t,K(r.currentCategoryName)+" ("+K(r.sortedAndFilteredApps.length)+")",1),l("div",T5t,[(T(!0),x(Fe,null,Ke(r.sortedAndFilteredApps,a=>(T(),dt(o,{ref_for:!0,ref:"personalitiesZoo",key:a.uid,personality:a,select_language:!0,full_path:a.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(c=>c===a.full_path||c===a.full_path+":"+a.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-edit":r.editPersonality,"on-copy-to-custom":r.copyToCustom,"on-reinstall":r.onPersonalityReinstall,"on-settings":n.onSettingsPersonality,"on-copy-personality-name":n.onCopyPersonalityName,"on-copy-to_custom":n.onCopyToCustom,"on-open-folder":r.handleOpenFolder,"toggle-favorite":r.toggleFavorite},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder","toggle-favorite"]))),128))])])])),i.selectedApp?(T(),x("div",x5t,[l("div",C5t,[l("div",w5t,[l("h2",R5t,K(i.selectedApp.name),1),l("button",{onClick:e[4]||(e[4]=(...a)=>n.backToZoo&&n.backToZoo(...a)),class:"bg-gray-300 hover:bg-gray-400 px-4 py-2 rounded-lg transition duration-300 ease-in-out"},"Close")]),i.appCode?(T(),x("iframe",{key:0,srcdoc:i.appCode,class:"flex-grow border-none"},null,8,A5t)):(T(),x("p",N5t,"Please install this app to view its code."))])])):G("",!0),i.message?(T(),x("div",{key:3,class:Ge(["fixed bottom-4 right-4 px-6 py-3 rounded-lg shadow-md",{"bg-green-100 text-green-800":i.successMessage,"bg-red-100 text-red-800":!i.successMessage}])},K(i.message),3)):G("",!0),O5t])}const I5t=ot(WBt,[["render",M5t],["__scopeId","data-v-4e49bb35"]]),k5t=I3({history:QP("/"),routes:[{path:"/apps_view/",name:"AppsZoo",component:YBt},{path:"/personalities_view/",name:"PersonalitiesZoo",component:I5t},{path:"/auto_sd_view/",name:"AutoSD",component:DUt},{path:"/comfyui_view/",name:"ComfyUI",component:NUt},{path:"/playground/",name:"playground",component:nst},{path:"/extensions/",name:"extensions",component:_st},{path:"/help_view/",name:"help_view",component:Vst},{path:"/settings/",name:"settings",component:C0t},{path:"/training/",name:"training",component:Y0t},{path:"/quantizing/",name:"quantizing",component:tSt},{path:"/",name:"discussions",component:NAt},{path:"/interactive/",name:"interactive",component:qLt},{path:"/nodes/",name:"nodes",component:xUt}]});const wp=xD(iJe);function D5t(n){const e={};for(const t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}const Fs=QD({state(){return{is_rt_on:!1,language:"english",languages:[],currentTheme:"",personality_editor:null,showPersonalityEditor:!1,selectedPersonality:null,currentPersonConfig:{ai_name:"",ai_author:"",ai_category:"",ai_language:"",ai_description:"",ai_conditionning:"",ai_disclaimer:"",ai_icon:null},posts_headers:{accept:"application/json","Content-Type":"application/json"},client_id:"",yesNoDialog:null,universalForm:null,toast:null,news:null,messageBox:null,api_get_req:null,api_post_req:null,startSpeechRecognition:null,ready:!1,loading_infos:"",loading_progress:0,version:"unknown",settingsChanged:!1,isConnected:!1,isModelOk:!1,isGenerating:!1,config:null,mountedPers:null,mountedPersArr:[],bindingsZoo:[],modelsArr:[],selectedModel:null,personalities:[],diskUsage:null,ramUsage:null,vramUsage:null,modelsZoo:[],installedModels:[],installedBindings:[],currentModel:null,currentBinding:null,databases:[]}},mutations:{setisRTOn(n,e){n.is_rt_on=e},setLanguages(n,e){n.languages=e},setLanguage(n,e){n.language=e},setIsReady(n,e){n.ready=e},setIsConnected(n,e){n.isConnected=e},setIsModelOk(n,e){n.isModelOk=e},setIsGenerating(n,e){n.isGenerating=e},setConfig(n,e){n.config=e},setPersonalities(n,e){n.personalities=e},setMountedPers(n,e){n.mountedPers=e},setMountedPersArr(n,e){n.mountedPersArr=e},setbindingsZoo(n,e){n.bindingsZoo=e},setModelsArr(n,e){n.modelsArr=e},setselectedModel(n,e){n.selectedModel=e},setDiskUsage(n,e){n.diskUsage=e},setRamUsage(n,e){n.ramUsage=e},setVramUsage(n,e){n.vramUsage=e},setModelsZoo(n,e){n.modelsZoo=e},setCurrentBinding(n,e){n.currentBinding=e},setCurrentModel(n,e){n.currentModel=e},setDatabases(n,e){n.databases=e},setTheme(n){this.currentTheme=n}},getters:{getisRTOn(n){return n.is_rt_on},getLanguages(n){return n.languages},getLanguage(n){return n.language},getIsConnected(n){return n.isConnected},getIsModelOk(n){return n.isModelOk},getIsGenerating(n){return n.isGenerating},getConfig(n){return n.config},getPersonalities(n){return n.personalities},getMountedPersArr(n){return n.mountedPersArr},getMountedPers(n){return n.mountedPers},getbindingsZoo(n){return n.bindingsZoo},getModelsArr(n){return n.modelsArr},getDiskUsage(n){return n.diskUsage},getRamUsage(n){return n.ramUsage},getVramUsage(n){return n.vramUsage},getDatabasesList(n){return n.databases},getModelsZoo(n){return n.modelsZoo},getCyrrentBinding(n){return n.currentBinding},getCurrentModel(n){return n.currentModel}},actions:{async getVersion(){try{let n=await re.get("/get_lollms_webui_version",{});n&&(this.state.version=n.data)}catch{console.error("Coudln't get version")}},async refreshConfig({commit:n}){console.log("Fetching configuration");try{console.log("Fetching configuration with client id: ",this.state.client_id);const e=await CM("get_config",this.state.client_id);e.active_personality_id<0&&(e.active_personality_id=0);let t=e.personalities[e.active_personality_id].split("/");e.personality_category=t[0],e.personality_folder=t[1],console.log("Recovered config"),console.log(e),console.log("Committing config"),console.log(e),console.log(this.state.config),n("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshDatabase({commit:n}){let e=await ei("list_databases");console.log("databases:",e),n("setDatabases",e)},async fetchisRTOn({commit:n}){const t=(await re.get("/is_rt_on")).data.status;n("setisRTOn",t)},async fetchLanguages({commit:n}){console.log("get_personality_languages_list",this.state.client_id);const e=await re.post("/get_personality_languages_list",{client_id:this.state.client_id});console.log("response",e);const t=e.data;console.log("languages",t),n("setLanguages",t)},async fetchLanguage({commit:n}){console.log("get_personality_language",this.state.client_id);const e=await re.post("/get_personality_language",{client_id:this.state.client_id});console.log("response",e);const t=e.data;console.log("language",t),n("setLanguage",t)},async changeLanguage({commit:n},e){console.log("Changing language to ",e);let t=await re.post("/set_personality_language",{client_id:this.state.client_id,language:e});console.log("get_personality_languages_list",this.state.client_id),t=await re.post("/get_personality_languages_list",{client_id:this.state.client_id}),console.log("response",t);const s=t.data;console.log("languages",s),n("setLanguages",s),t=await re.post("/get_personality_language",{client_id:this.state.client_id}),console.log("response",t);const i=t.data;console.log("language",i),n("setLanguage",i),console.log("Language changed successfully:",t.data.message)},async deleteLanguage({commit:n},e){console.log("Deleting ",e);let t=await re.post("/del_personality_language",{client_id:this.state.client_id,language:e});console.log("get_personality_languages_list",this.state.client_id),t=await re.post("/get_personality_languages_list",{client_id:this.state.client_id}),console.log("response",t);const s=t.data;console.log("languages",s),n("setLanguages",s),t=await re.post("/get_personality_language",{client_id:this.state.client_id}),console.log("response",t);const i=t.data;console.log("language",i),n("setLanguage",i),console.log("Language changed successfully:",t.data.message)},async refreshPersonalitiesZoo({commit:n}){let e=[];const t=await ei("get_all_personalities"),s=Object.keys(t);console.log("Personalities recovered:"+this.state.config.personalities);for(let i=0;i{let d=!1;for(const h of this.state.config.personalities)if(h.includes(r+"/"+c.folder))if(d=!0,h.includes(":")){const f=h.split(":");c.language=f[1]}else c.language=null;let u={};return u=c,u.category=r,u.full_path=r+"/"+c.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((i,r)=>i.name.localeCompare(r.name)),n("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:n}){this.state.config.active_personality_id<0&&(this.state.config.active_personality_id=0);let e=[];const t=[];for(let s=0;sa.full_path==i||a.full_path==r[0]);if(o>=0){let a=D5t(this.state.personalities[o]);r.length>1&&(a.language=r[1]),a?e.push(a):e.push(this.state.personalities[this.state.personalities.findIndex(c=>c.full_path=="generic/lollms")])}else t.push(s),console.log("Couldn't load personality : ",i)}for(let s=t.length-1;s>=0;s--)console.log("Removing personality : ",this.state.config.personalities[t[s]]),this.state.config.personalities.splice(t[s],1),this.state.config.active_personality_id>t[s]&&(this.state.config.active_personality_id-=1);n("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(s=>s.full_path==this.state.config.personalities[this.state.config.active_personality_id]||s.full_path+":"+s.language==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:n}){let e=await ei("list_bindings");console.log("Loaded bindings zoo :",e),this.state.installedBindings=e.filter(s=>s.installed),console.log("Loaded bindings zoo ",this.state.installedBindings),n("setbindingsZoo",e);const t=e.findIndex(s=>s.name==this.state.config.binding_name);t!=-1&&n("setCurrentBinding",e[t])},async refreshModelsZoo({commit:n}){console.log("Fetching models");const t=(await re.get("/get_available_models")).data.filter(s=>s.variants&&s.variants.length>0);console.log(`get_available_models: ${t}`),n("setModelsZoo",t)},async refreshModelStatus({commit:n}){let e=await ei("get_model_status");n("setIsModelOk",e.status)},async refreshModels({commit:n}){console.log("Fetching models");let e=await ei("list_models");console.log(`Found ${e}`);let t=await ei("get_active_model");console.log("Selected model ",t),t!=null&&n("setselectedModel",t.model),n("setModelsArr",e),console.log("setModelsArr",e),console.log("this.state.modelsZoo",this.state.modelsZoo),this.state.modelsZoo.map(i=>{i.isInstalled=e.includes(i.name)}),this.state.installedModels=this.state.modelsZoo.filter(i=>i.isInstalled);const s=this.state.modelsZoo.findIndex(i=>i.name==this.state.config.model_name);s!=-1&&n("setCurrentModel",this.state.modelsZoo[s])},async refreshDiskUsage({commit:n}){this.state.diskUsage=await ei("disk_usage")},async refreshRamUsage({commit:n}){this.state.ramUsage=await ei("ram_usage")},async refreshVramUsage({commit:n}){const e=await ei("vram_usage"),t=[];if(e.nb_gpus>0){for(let i=0;i{this.message=""},3e3)},loadPersonalities(){this.loading=!0,setTimeout(()=>{this.personalities=this.$store.state.personalities,this.loading=!1},500)}},mounted(){this.loadFavoritesFromLocalStorage(),this.loading=!0,setTimeout(()=>{this.personalities=this.$store.state.personalities,this.loading=!1},500)}},Is=n=>(Rs("data-v-4e49bb35"),n=n(),As(),n),LBt={class:"app-zoo mb-100 pb-100 background-color w-full p-6 overflow-y-auto h-screen 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"},PBt={class:"panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-8"},FBt={class:"flex flex-wrap items-center justify-between gap-4"},UBt={key:0},BBt={key:1,class:"error"},GBt={class:"relative flex-grow max-w-md"},VBt=Is(()=>l("svg",{class:"w-5 h-5 text-gray-400 absolute left-3 top-1/2 transform -translate-y-1/2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[l("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)),zBt={class:"flex items-center space-x-4"},HBt=Is(()=>l("label",{for:"category-select",class:"font-semibold"},"Category:",-1)),qBt=Is(()=>l("option",{value:"all"},"All Categories",-1)),$Bt=["value"],YBt={class:"flex items-center space-x-4"},WBt=Is(()=>l("label",{for:"sort-select",class:"font-semibold"},"Sort by:",-1)),KBt=Is(()=>l("option",{value:"name"},"Name",-1)),jBt=Is(()=>l("option",{value:"author"},"Author",-1)),QBt=Is(()=>l("option",{value:"date"},"Creation Date",-1)),XBt=Is(()=>l("option",{value:"update"},"Last Update",-1)),ZBt=[KBt,jBt,QBt,XBt],JBt={key:0,class:"flex justify-center items-center space-x-2 my-8","aria-live":"polite"},e5t=Is(()=>l("div",{class:"animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"},null,-1)),t5t=Is(()=>l("span",{class:"text-xl text-gray-700 font-semibold"},"Loading...",-1)),n5t=[e5t,t5t],s5t={key:1},i5t={class:"container mx-auto px-4 flex flex-column pb-20"},r5t={key:0},o5t=Is(()=>l("h2",{class:"text-2xl font-bold my-8"},"Favorite Apps",-1)),a5t={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 mb-12"},l5t={class:"container mx-auto px-4 flex flex-column pb-20"},c5t={class:"text-2xl font-bold my-8"},d5t={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 mb-12"},u5t={key:2,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 overflow-y-auto"},p5t={class:"bg-white rounded-lg p-6 w-11/12 h-5/6 flex flex-col"},_5t={class:"flex justify-between items-center mb-4"},h5t={class:"text-2xl font-bold"},f5t=["srcdoc"],m5t={key:1,class:"text-center text-red-500"},g5t=Is(()=>l("div",{class:"h-20"},null,-1));function b5t(n,e,t,s,i,r){const o=tt("personality-entry");return T(),C("div",LBt,[l("nav",PBt,[l("div",FBt,[i.message?(T(),C("p",UBt,K(i.message),1)):G("",!0),i.error?(T(),C("p",BBt,K(i.error),1)):G("",!0),l("div",GBt,[P(l("input",{"onUpdate:modelValue":e[0]||(e[0]=a=>i.searchQuery=a),placeholder:"Search personalities...",class:"w-full border-b-2 border-gray-300 px-4 py-2 pl-10 focus:outline-none focus:border-blue-500 transition duration-300 ease-in-out","aria-label":"Search personalities"},null,512),[[pe,i.searchQuery]]),VBt]),l("div",zBt,[HBt,P(l("select",{id:"category-select","onUpdate:modelValue":e[1]||(e[1]=a=>i.selectedCategory=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},[qBt,(T(!0),C(Ge,null,Xe(r.categories,a=>(T(),C("option",{key:a,value:a},K(a),9,$Bt))),128))],512),[[Dt,i.selectedCategory]])]),l("div",YBt,[WBt,P(l("select",{id:"sort-select","onUpdate:modelValue":e[2]||(e[2]=a=>i.sortBy=a),class:"border-2 border-gray-300 rounded-md px-2 py-1"},ZBt,512),[[Dt,i.sortBy]]),l("button",{onClick:e[3]||(e[3]=(...a)=>r.toggleSortOrder&&r.toggleSortOrder(...a)),class:"btn btn-secondary"},K(i.sortOrder==="asc"?"↑":"↓"),1)])])]),i.loading?(T(),C("div",JBt,n5t)):(T(),C("div",s5t,[l("div",i5t,[r.favoriteApps.length>0&&!i.searchQuery?(T(),C("div",r5t,[o5t,l("div",a5t,[(T(!0),C(Ge,null,Xe(r.favoriteApps,a=>(T(),dt(o,{ref_for:!0,ref:"personalitiesZoo",key:a.uid,personality:a,select_language:!0,full_path:a.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(c=>c===a.full_path||c===a.full_path+":"+a.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-edit":r.editPersonality,"on-copy-to-custom":r.copyToCustom,"on-reinstall":r.onPersonalityReinstall,"on-settings":n.onSettingsPersonality,"on-copy-personality-name":n.onCopyPersonalityName,"on-copy-to_custom":n.onCopyToCustom,"on-open-folder":r.handleOpenFolder,"on-toggle-favorite":r.toggleFavorite},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder","on-toggle-favorite"]))),128))])])):G("",!0)]),l("div",l5t,[l("h2",c5t,K(r.currentCategoryName)+" ("+K(r.sortedAndFilteredApps.length)+")",1),l("div",d5t,[(T(!0),C(Ge,null,Xe(r.sortedAndFilteredApps,a=>(T(),dt(o,{ref_for:!0,ref:"personalitiesZoo",key:a.uid,personality:a,select_language:!0,full_path:a.full_path,selected:r.configFile.active_personality_id==r.configFile.personalities.findIndex(c=>c===a.full_path||c===a.full_path+":"+a.language),"on-selected":r.onPersonalitySelected,"on-mount":r.mountPersonality,"on-un-mount":r.unmountPersonality,"on-remount":r.remountPersonality,"on-edit":r.editPersonality,"on-copy-to-custom":r.copyToCustom,"on-reinstall":r.onPersonalityReinstall,"on-settings":n.onSettingsPersonality,"on-copy-personality-name":n.onCopyPersonalityName,"on-copy-to_custom":n.onCopyToCustom,"on-open-folder":r.handleOpenFolder,"toggle-favorite":r.toggleFavorite},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder","toggle-favorite"]))),128))])])])),i.selectedApp?(T(),C("div",u5t,[l("div",p5t,[l("div",_5t,[l("h2",h5t,K(i.selectedApp.name),1),l("button",{onClick:e[4]||(e[4]=(...a)=>n.backToZoo&&n.backToZoo(...a)),class:"bg-gray-300 hover:bg-gray-400 px-4 py-2 rounded-lg transition duration-300 ease-in-out"},"Close")]),i.appCode?(T(),C("iframe",{key:0,srcdoc:i.appCode,class:"flex-grow border-none"},null,8,f5t)):(T(),C("p",m5t,"Please install this app to view its code."))])])):G("",!0),i.message?(T(),C("div",{key:3,class:Be(["fixed bottom-4 right-4 px-6 py-3 rounded-lg shadow-md",{"bg-green-100 text-green-800":i.successMessage,"bg-red-100 text-red-800":!i.successMessage}])},K(i.message),3)):G("",!0),g5t])}const E5t=ot(DBt,[["render",b5t],["__scopeId","data-v-4e49bb35"]]),y5t=MF({history:QP("/"),routes:[{path:"/apps_view/",name:"AppsZoo",component:kBt},{path:"/personalities_view/",name:"PersonalitiesZoo",component:E5t},{path:"/auto_sd_view/",name:"AutoSD",component:vUt},{path:"/comfyui_view/",name:"ComfyUI",component:mUt},{path:"/playground/",name:"playground",component:nst},{path:"/extensions/",name:"extensions",component:_st},{path:"/help_view/",name:"help_view",component:Est},{path:"/settings/",name:"settings",component:lSt},{path:"/training/",name:"training",component:NSt},{path:"/quantizing/",name:"quantizing",component:USt},{path:"/",name:"discussions",component:mAt},{path:"/interactive/",name:"interactive",component:ILt},{path:"/nodes/",name:"nodes",component:uUt}]});const wp=xD(iJe);function v5t(n){const e={};for(const t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}const Fs=QD({state(){return{is_rt_on:!1,language:"english",languages:[],currentTheme:"",personality_editor:null,showPersonalityEditor:!1,selectedPersonality:null,currentPersonConfig:{ai_name:"",ai_author:"",ai_category:"",ai_language:"",ai_description:"",ai_conditionning:"",ai_disclaimer:"",ai_icon:null},posts_headers:{accept:"application/json","Content-Type":"application/json"},client_id:"",yesNoDialog:null,universalForm:null,toast:null,news:null,messageBox:null,api_get_req:null,api_post_req:null,startSpeechRecognition:null,ready:!1,loading_infos:"",loading_progress:0,version:"unknown",settingsChanged:!1,isConnected:!1,isModelOk:!1,isGenerating:!1,config:null,mountedPers:null,mountedPersArr:[],bindingsZoo:[],modelsArr:[],selectedModel:null,personalities:[],diskUsage:null,ramUsage:null,vramUsage:null,modelsZoo:[],installedModels:[],installedBindings:[],currentModel:null,currentBinding:null,databases:[]}},mutations:{setisRTOn(n,e){n.is_rt_on=e},setLanguages(n,e){n.languages=e},setLanguage(n,e){n.language=e},setIsReady(n,e){n.ready=e},setIsConnected(n,e){n.isConnected=e},setIsModelOk(n,e){n.isModelOk=e},setIsGenerating(n,e){n.isGenerating=e},setConfig(n,e){n.config=e},setPersonalities(n,e){n.personalities=e},setMountedPers(n,e){n.mountedPers=e},setMountedPersArr(n,e){n.mountedPersArr=e},setbindingsZoo(n,e){n.bindingsZoo=e},setModelsArr(n,e){n.modelsArr=e},setselectedModel(n,e){n.selectedModel=e},setDiskUsage(n,e){n.diskUsage=e},setRamUsage(n,e){n.ramUsage=e},setVramUsage(n,e){n.vramUsage=e},setModelsZoo(n,e){n.modelsZoo=e},setCurrentBinding(n,e){n.currentBinding=e},setCurrentModel(n,e){n.currentModel=e},setDatabases(n,e){n.databases=e},setTheme(n){this.currentTheme=n}},getters:{getisRTOn(n){return n.is_rt_on},getLanguages(n){return n.languages},getLanguage(n){return n.language},getIsConnected(n){return n.isConnected},getIsModelOk(n){return n.isModelOk},getIsGenerating(n){return n.isGenerating},getConfig(n){return n.config},getPersonalities(n){return n.personalities},getMountedPersArr(n){return n.mountedPersArr},getMountedPers(n){return n.mountedPers},getbindingsZoo(n){return n.bindingsZoo},getModelsArr(n){return n.modelsArr},getDiskUsage(n){return n.diskUsage},getRamUsage(n){return n.ramUsage},getVramUsage(n){return n.vramUsage},getDatabasesList(n){return n.databases},getModelsZoo(n){return n.modelsZoo},getCyrrentBinding(n){return n.currentBinding},getCurrentModel(n){return n.currentModel}},actions:{async getVersion(){try{let n=await re.get("/get_lollms_webui_version",{});n&&(this.state.version=n.data)}catch{console.error("Coudln't get version")}},async refreshConfig({commit:n}){console.log("Fetching configuration");try{console.log("Fetching configuration with client id: ",this.state.client_id);const e=await CI("get_config",this.state.client_id);e.active_personality_id<0&&(e.active_personality_id=0);let t=e.personalities[e.active_personality_id].split("/");e.personality_category=t[0],e.personality_folder=t[1],console.log("Recovered config"),console.log(e),console.log("Committing config"),console.log(e),console.log(this.state.config),n("setConfig",e)}catch(e){console.log(e.message,"refreshConfig")}},async refreshDatabase({commit:n}){let e=await ei("list_databases");console.log("databases:",e),n("setDatabases",e)},async fetchisRTOn({commit:n}){const t=(await re.get("/is_rt_on")).data.status;n("setisRTOn",t)},async fetchLanguages({commit:n}){console.log("get_personality_languages_list",this.state.client_id);const e=await re.post("/get_personality_languages_list",{client_id:this.state.client_id});console.log("response",e);const t=e.data;console.log("languages",t),n("setLanguages",t)},async fetchLanguage({commit:n}){console.log("get_personality_language",this.state.client_id);const e=await re.post("/get_personality_language",{client_id:this.state.client_id});console.log("response",e);const t=e.data;console.log("language",t),n("setLanguage",t)},async changeLanguage({commit:n},e){console.log("Changing language to ",e);let t=await re.post("/set_personality_language",{client_id:this.state.client_id,language:e});console.log("get_personality_languages_list",this.state.client_id),t=await re.post("/get_personality_languages_list",{client_id:this.state.client_id}),console.log("response",t);const s=t.data;console.log("languages",s),n("setLanguages",s),t=await re.post("/get_personality_language",{client_id:this.state.client_id}),console.log("response",t);const i=t.data;console.log("language",i),n("setLanguage",i),console.log("Language changed successfully:",t.data.message)},async deleteLanguage({commit:n},e){console.log("Deleting ",e);let t=await re.post("/del_personality_language",{client_id:this.state.client_id,language:e});console.log("get_personality_languages_list",this.state.client_id),t=await re.post("/get_personality_languages_list",{client_id:this.state.client_id}),console.log("response",t);const s=t.data;console.log("languages",s),n("setLanguages",s),t=await re.post("/get_personality_language",{client_id:this.state.client_id}),console.log("response",t);const i=t.data;console.log("language",i),n("setLanguage",i),console.log("Language changed successfully:",t.data.message)},async refreshPersonalitiesZoo({commit:n}){let e=[];const t=await ei("get_all_personalities"),s=Object.keys(t);console.log("Personalities recovered:"+this.state.config.personalities);for(let i=0;i{let d=!1;for(const h of this.state.config.personalities)if(h.includes(r+"/"+c.folder))if(d=!0,h.includes(":")){const f=h.split(":");c.language=f[1]}else c.language=null;let u={};return u=c,u.category=r,u.full_path=r+"/"+c.folder,u.isMounted=d,u});e.length==0?e=a:e=e.concat(a)}e.sort((i,r)=>i.name.localeCompare(r.name)),n("setPersonalities",e),console.log("Done loading personalities")},refreshMountedPersonalities({commit:n}){this.state.config.active_personality_id<0&&(this.state.config.active_personality_id=0);let e=[];const t=[];for(let s=0;sa.full_path==i||a.full_path==r[0]);if(o>=0){let a=v5t(this.state.personalities[o]);r.length>1&&(a.language=r[1]),a?e.push(a):e.push(this.state.personalities[this.state.personalities.findIndex(c=>c.full_path=="generic/lollms")])}else t.push(s),console.log("Couldn't load personality : ",i)}for(let s=t.length-1;s>=0;s--)console.log("Removing personality : ",this.state.config.personalities[t[s]]),this.state.config.personalities.splice(t[s],1),this.state.config.active_personality_id>t[s]&&(this.state.config.active_personality_id-=1);n("setMountedPersArr",e),this.state.mountedPers=this.state.personalities[this.state.personalities.findIndex(s=>s.full_path==this.state.config.personalities[this.state.config.active_personality_id]||s.full_path+":"+s.language==this.state.config.personalities[this.state.config.active_personality_id])]},async refreshBindings({commit:n}){let e=await ei("list_bindings");console.log("Loaded bindings zoo :",e),this.state.installedBindings=e.filter(s=>s.installed),console.log("Loaded bindings zoo ",this.state.installedBindings),n("setbindingsZoo",e);const t=e.findIndex(s=>s.name==this.state.config.binding_name);t!=-1&&n("setCurrentBinding",e[t])},async refreshModelsZoo({commit:n}){console.log("Fetching models");const t=(await re.get("/get_available_models")).data.filter(s=>s.variants&&s.variants.length>0);console.log(`get_available_models: ${t}`),n("setModelsZoo",t)},async refreshModelStatus({commit:n}){let e=await ei("get_model_status");n("setIsModelOk",e.status)},async refreshModels({commit:n}){console.log("Fetching models");let e=await ei("list_models");console.log(`Found ${e}`);let t=await ei("get_active_model");console.log("Selected model ",t),t!=null&&n("setselectedModel",t.model),n("setModelsArr",e),console.log("setModelsArr",e),console.log("this.state.modelsZoo",this.state.modelsZoo),this.state.modelsZoo.map(i=>{i.isInstalled=e.includes(i.name)}),this.state.installedModels=this.state.modelsZoo.filter(i=>i.isInstalled);const s=this.state.modelsZoo.findIndex(i=>i.name==this.state.config.model_name);s!=-1&&n("setCurrentModel",this.state.modelsZoo[s])},async refreshDiskUsage({commit:n}){this.state.diskUsage=await ei("disk_usage")},async refreshRamUsage({commit:n}){this.state.ramUsage=await ei("ram_usage")},async refreshVramUsage({commit:n}){const e=await ei("vram_usage"),t=[];if(e.nb_gpus>0){for(let i=0;i - License: see project LICENSE - Touched: 2022 -*/.hljs-meta,.hljs-comment{color:#565f89}.hljs-tag,.hljs-doctag,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-template-tag,.hljs-selector-pseudo,.hljs-selector-attr,.hljs-variable.language_,.hljs-deletion{color:#f7768e}.hljs-variable,.hljs-template-variable,.hljs-number,.hljs-literal,.hljs-type,.hljs-params,.hljs-link{color:#ff9e64}.hljs-built_in,.hljs-attribute{color:#e0af68}.hljs-selector-tag{color:#2ac3de}.hljs-keyword,.hljs-title.function_,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-subst,.hljs-property{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-quote,.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-name,.hljs-keyword,.hljs-operator,.hljs-char.escape_,.hljs-attr{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.code-container{display:flex;margin:0}.line-numbers{flex-shrink:0;padding-right:5px;color:#999;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;margin:0}.code-content{flex-grow:1;margin:0;outline:none}.progress-bar-container{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.progress-bar{background-color:#3498db;height:100%;transition:width .3s ease}.popup-container[data-v-d504dfc9]{background-color:#fff;color:#333;border-radius:8px;box-shadow:0 4px 6px #0000001a;padding:24px;width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.close-button[data-v-d504dfc9]{position:absolute;top:16px;right:16px;background-color:#3490dc;color:#fff;font-weight:700;padding:8px 16px;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.close-button[data-v-d504dfc9]:hover{background-color:#2779bd}.iframe-content[data-v-d504dfc9]{width:100%;height:80%;border:none;margin-bottom:16px}.checkbox-container[data-v-d504dfc9]{display:flex;align-items:center;justify-content:center}.styled-checkbox[data-v-d504dfc9]{width:24px;height:24px;accent-color:#3490dc;cursor:pointer}.checkbox-label[data-v-d504dfc9]{margin-left:8px;font-size:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fade-enter-active[data-v-d504dfc9],.fade-leave-active[data-v-d504dfc9]{transition:opacity .5s}.fade-enter[data-v-d504dfc9],.fade-leave-to[data-v-d504dfc9]{opacity:0}.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.logo-container{position:relative;width:48px;height:48px}.logo-image{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes roll-and-bounce{0%,to{transform:translate(0) rotate(0)}45%{transform:translate(100px) rotate(360deg)}50%{transform:translate(90px) rotate(390deg)}55%{transform:translate(100px) rotate(360deg)}95%{transform:translate(0) rotate(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000}.hovered{transform:scale(1.05);transition:transform .2s ease-in-out}.active{transform:scale(1.1);transition:transform .2s ease-in-out}.dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}:root.dark .dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #ffffff1a,0 2px 4px -1px #ffffff0f}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:500px;background-color:#fff;z-index:1000;overflow-y:auto;height:100%}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}@keyframes glow{0%,to{text-shadow:0 0 5px rgba(59,130,246,.5),0 0 10px rgba(147,51,234,.5)}50%{text-shadow:0 0 20px rgba(59,130,246,.75),0 0 30px rgba(147,51,234,.75)}}.animate-glow{animation:glow 3s ease-in-out infinite}@keyframes fade-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fade-in 1s ease-out}@keyframes fall{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(100vh) rotate(360deg);opacity:0}}.animate-fall{animation:fall linear infinite}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}.dark ::-webkit-scrollbar-track{background:#2d3748}.dark ::-webkit-scrollbar-thumb{background:#4a5568}.dark ::-webkit-scrollbar-thumb:hover{background:#718096}body{font-family:Inter,sans-serif;line-height:1.6}h1,h2,h3,h4,h5,h6{font-family:Poppins,sans-serif;line-height:1.2}a{transition:all .3s ease}a:hover{transform:translateY(-2px)}main section{box-shadow:0 4px 6px #0000001a;border-radius:8px;transition:all .3s ease}main section:hover{box-shadow:0 8px 15px #0000001a;transform:translateY(-2px)}code{font-family:Fira Code,monospace;padding:2px 4px;border-radius:4px;font-size:.9em}.bg-gradient-to-br{background-size:400% 400%;animation:gradientBG 15s ease infinite}@keyframes gradientBG{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}a:focus,button:focus{outline:2px solid #3b82f6;outline-offset:2px}header h1{animation:pulse 2s infinite}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@media (max-width: 640px){header h1{font-size:2rem}nav{position:static;max-height:none}}body{transition:background-color .3s ease,color .3s ease}ul,ol{padding-left:1.5rem}li{margin-bottom:.5rem}footer{animation:fadeInUp 1s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.fade-enter-active[data-v-f43216be],.fade-leave-active[data-v-f43216be]{transition:opacity .3s}.fade-enter[data-v-f43216be],.fade-leave-to[data-v-f43216be]{opacity:0}.heartbeat-text[data-v-c8653825]{font-size:24px;animation:pulsate-c8653825 1.5s infinite}@keyframes pulsate-c8653825{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-c8653825],.list-enter-active[data-v-c8653825],.list-leave-active[data-v-c8653825]{transition:all .5s ease}.list-enter-from[data-v-c8653825]{transform:translatey(-30px)}.list-leave-to[data-v-c8653825]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-c8653825]{position:absolute}.bounce-enter-active[data-v-c8653825]{animation:bounce-in-c8653825 .5s}.bounce-leave-active[data-v-c8653825]{animation:bounce-in-c8653825 .5s reverse}@keyframes bounce-in-c8653825{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-c8653825]{background-color:#0ff}.hover[data-v-c8653825]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-c8653825]{font-weight:700}.json-tree-view[data-v-40406ec6]{margin-left:16px}.json-item[data-v-40406ec6]{margin-bottom:4px}.json-key[data-v-40406ec6]{cursor:pointer;display:flex;align-items:center}.toggle-icon[data-v-40406ec6]{margin-right:4px;width:12px}.key[data-v-40406ec6]{font-weight:700;margin-right:4px}.value[data-v-40406ec6]{margin-left:4px}.string[data-v-40406ec6]{color:#0b7285}.number[data-v-40406ec6]{color:#d9480f}.boolean[data-v-40406ec6]{color:#5c940d}.null[data-v-40406ec6]{color:#868e96}.json-nested[data-v-40406ec6]{margin-left:16px;border-left:1px dashed #ccc;padding-left:8px}.json-viewer[data-v-83fc9727]{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.5;color:#333}.collapsible-section[data-v-83fc9727]{cursor:pointer;padding:8px;background-color:#f0f0f0;border-radius:4px;display:flex;align-items:center;transition:background-color .2s}.collapsible-section[data-v-83fc9727]:hover{background-color:#e0e0e0}.toggle-icon[data-v-83fc9727]{margin-right:8px;transition:transform .2s}.json-content[data-v-83fc9727]{margin-top:8px;padding-left:16px}.step-container[data-v-78f415f6]{margin-bottom:1rem}.step-wrapper[data-v-78f415f6]{display:flex;align-items:flex-start;border-radius:.5rem;padding:1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.step-icon[data-v-78f415f6]{margin-right:1rem;display:flex;height:1.5rem;width:1.5rem;flex-shrink:0;align-items:center;justify-content:center}.feather-icon[data-v-78f415f6]{height:1.5rem;width:1.5rem;stroke:currentColor;stroke-width:2}.spinner[data-v-78f415f6]{height:1.5rem;width:1.5rem}@keyframes spin-78f415f6{to{transform:rotate(360deg)}}.spinner[data-v-78f415f6]{animation:spin-78f415f6 1s linear infinite;border-radius:9999px;border-width:2px;border-top-width:2px;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-border-opacity: 1;border-top-color:rgb(28 100 242 / var(--tw-border-opacity))}.step-content[data-v-78f415f6]{flex-grow:1}.step-text[data-v-78f415f6]{margin-bottom:.25rem;font-size:1.125rem;line-height:1.75rem;font-weight:600}.step-description[data-v-78f415f6]{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}[data-v-78f415f6]:is(.dark .step-description){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs{background:none}.bounce-enter-active[data-v-f44002af]{animation:bounce-in-f44002af .5s}.bounce-leave-active[data-v-f44002af]{animation:bounce-in-f44002af .5s reverse}@keyframes bounce-in-f44002af{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-1a32c141]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-1a32c141]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-1a32c141]{top:calc(-100% - 2rem)}.chat-bar[data-v-31bf958a]{transition:all .3s ease}.chat-bar[data-v-31bf958a]:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.list-move[data-v-31bf958a],.list-enter-active[data-v-31bf958a],.list-leave-active[data-v-31bf958a]{transition:all .5s ease}.list-enter-from[data-v-31bf958a]{transform:translatey(-30px)}.list-leave-to[data-v-31bf958a]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-31bf958a]{position:absolute}@keyframes rolling-ball-7d44caaa{0%{transform:translate(-50px) rotate(0)}25%{transform:translate(0) rotate(90deg)}50%{transform:translate(50px) rotate(180deg)}75%{transform:translate(0) rotate(270deg)}to{transform:translate(-50px) rotate(360deg)}}@keyframes bounce-7d44caaa{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes fade-in-up-7d44caaa{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-rolling-ball[data-v-7d44caaa]{animation:rolling-ball-7d44caaa 4s infinite ease-in-out,bounce-7d44caaa 1s infinite ease-in-out}.animate-fade-in-up[data-v-7d44caaa]{animation:fade-in-up-7d44caaa 1.5s ease-out}@keyframes giggle-b57892be{0%,to{transform:translate(0) rotate(0) scale(1)}25%{transform:translate(-5px) rotate(-10deg) scale(1.05)}50%{transform:translate(5px) rotate(10deg) scale(.95)}75%{transform:translate(-5px) rotate(-10deg) scale(1.05)}}.animate-giggle[data-v-b57892be]{animation:giggle-b57892be 1.5s infinite ease-in-out}.custom-scrollbar[data-v-b57892be]{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar[data-v-b57892be]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-b57892be]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-b57892be]::-webkit-scrollbar-thumb{background-color:#9b9b9b80;border-radius:20px;border:transparent}@keyframes custom-pulse-b57892be{0%,to{box-shadow:0 0 #3b82f680}50%{box-shadow:0 0 0 15px #3b82f600}}.animate-pulse[data-v-b57892be]{animation:custom-pulse-b57892be 2s infinite}.slide-right-enter-active[data-v-b57892be],.slide-right-leave-active[data-v-b57892be]{transition:transform .3s ease}.slide-right-enter[data-v-b57892be],.slide-right-leave-to[data-v-b57892be]{transform:translate(-100%)}.slide-left-enter-active[data-v-b57892be],.slide-left-leave-active[data-v-b57892be]{transition:transform .3s ease}.slide-left-enter[data-v-b57892be],.slide-left-leave-to[data-v-b57892be]{transform:translate(100%)}.fade-and-fly-enter-active[data-v-b57892be]{animation:fade-and-fly-enter-b57892be .5s ease}.fade-and-fly-leave-active[data-v-b57892be]{animation:fade-and-fly-leave-b57892be .5s ease}@keyframes fade-and-fly-enter-b57892be{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-b57892be{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-b57892be],.list-enter-active[data-v-b57892be],.list-leave-active[data-v-b57892be]{transition:all .5s ease}.list-enter-from[data-v-b57892be]{transform:translatey(-30px)}.list-leave-to[data-v-b57892be]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-b57892be]{position:absolute}@keyframes float-b57892be{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.animate-float[data-v-b57892be]{animation:float-b57892be linear infinite}@keyframes star-move-b57892be{0%{transform:translate(0) rotate(0)}50%{transform:translate(20px,20px) rotate(180deg)}to{transform:translate(0) rotate(360deg)}}.animate-star[data-v-b57892be]{animation:star-move-b57892be linear infinite}@keyframes fall-b57892be{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(calc(100vh + 20px)) rotate(360deg);opacity:0}}.animate-fall[data-v-b57892be]{animation:fall-b57892be linear infinite}@keyframes glow-b57892be{0%,to{text-shadow:0 0 5px rgba(66,153,225,.5),0 0 10px rgba(66,153,225,.5)}50%{text-shadow:0 0 20px rgba(66,153,225,.8),0 0 30px rgba(66,153,225,.8)}}.animate-glow[data-v-b57892be]{animation:glow-b57892be 2s ease-in-out infinite}@media (prefers-color-scheme: dark){@keyframes glow-b57892be{0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}}}@keyframes roll-b57892be{0%{transform:translate(-50%) rotate(0)}to{transform:translate(50%) rotate(360deg)}}.animate-roll[data-v-b57892be]{animation:roll-b57892be 4s linear infinite}.container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.floating-frame{margin:15px;float:left;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;z-index:5000;position:fixed;cursor:move;bottom:0;right:0}.handle{width:100%;height:20px;background:#ccc;cursor:move;text-align:center}.floating-frame img{width:100%;height:auto}.controls{margin-top:10px}#webglContainer{top:0;left:0}.floating-frame2{margin:15px;width:800px;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;min-height:200px;z-index:5000}:root{--baklava-control-color-primary: #e28b46;--baklava-control-color-error: #d00000;--baklava-control-color-background: #2c3748;--baklava-control-color-foreground: white;--baklava-control-color-hover: #455670;--baklava-control-color-active: #556986;--baklava-control-color-disabled-foreground: #666c75;--baklava-control-border-radius: 3px;--baklava-sidebar-color-background: #1b202c;--baklava-sidebar-color-foreground: white;--baklava-node-color-background: #1b202c;--baklava-node-color-foreground: white;--baklava-node-color-hover: #e28c4677;--baklava-node-color-selected: var(--baklava-control-color-primary);--baklava-node-color-resize-handle: var(--baklava-control-color-background);--baklava-node-title-color-background: #151a24;--baklava-node-title-color-foreground: white;--baklava-group-node-title-color-background: #215636;--baklava-group-node-title-color-foreground: white;--baklava-node-interface-port-tooltip-color-foreground: var(--baklava-control-color-primary);--baklava-node-interface-port-tooltip-color-background: var(--baklava-editor-background-pattern-black);--baklava-node-border-radius: 6px;--baklava-color-connection-default: #737f96;--baklava-color-connection-allowed: #48bc79;--baklava-color-connection-forbidden: #bc4848;--baklava-editor-background-pattern-default: #202b3c;--baklava-editor-background-pattern-line: #263140;--baklava-editor-background-pattern-black: #263140;--baklava-context-menu-background: #1b202c;--baklava-context-menu-shadow: 0 0 8px rgba(0, 0, 0, .65);--baklava-toolbar-background: #1b202caa;--baklava-toolbar-foreground: white;--baklava-node-palette-background: #1b202caa;--baklava-node-palette-foreground: white;--baklava-visual-transition: .1s linear}.baklava-button{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);transition:background-color var(--baklava-visual-transition);border:none;padding:.45em .35em;border-radius:var(--baklava-control-border-radius);font-size:inherit;cursor:pointer;overflow-x:hidden}.baklava-button:hover{background-color:var(--baklava-control-color-hover)}.baklava-button:active{background-color:var(--baklava-control-color-primary)}.baklava-button.--block{width:100%}.baklava-checkbox{display:flex;padding:.35em 0;cursor:pointer;overflow-x:hidden;align-items:center}.baklava-checkbox .__checkmark-container{display:flex;background-color:var(--baklava-control-color-background);border-radius:var(--baklava-control-border-radius);transition:background-color var(--baklava-visual-transition);width:18px;height:18px}.baklava-checkbox:hover .__checkmark-container{background-color:var(--baklava-control-color-hover)}.baklava-checkbox:active .__checkmark-container{background-color:var(--baklava-control-color-active)}.baklava-checkbox .__checkmark{stroke-dasharray:15;stroke-dashoffset:15;stroke:var(--baklava-control-color-foreground);stroke-width:2px;fill:none;transition:stroke-dashoffset var(--baklava-visual-transition)}.baklava-checkbox.--checked .__checkmark{stroke-dashoffset:0}.baklava-checkbox.--checked .__checkmark-container{background-color:var(--baklava-control-color-primary)}.baklava-checkbox .__label{margin-left:.5rem}.baklava-context-menu{color:var(--baklava-control-color-foreground);position:absolute;display:inline-block;z-index:100;background-color:var(--baklava-context-menu-background);box-shadow:var(--baklava-context-menu-shadow);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);min-width:6rem;width:-moz-max-content;width:max-content}.baklava-context-menu>.item{display:flex;align-items:center;padding:.35em 1em;transition:background .05s linear;position:relative}.baklava-context-menu>.item>.__label{flex:1 1 auto}.baklava-context-menu>.item>.__submenu-icon{margin-left:.75rem}.baklava-context-menu>.item.--disabled{color:var(--baklava-control-color-hover)}.baklava-context-menu>.item:not(.--header):not(.--active):not(.--disabled):hover{background:var(--baklava-control-color-primary)}.baklava-context-menu>.item.--active{background:var(--baklava-control-color-primary)}.baklava-context-menu.--nested{left:100%;top:0}.baklava-context-menu.--flipped-x.--nested{left:unset;right:100%}.baklava-context-menu.--flipped-y.--nested{top:unset;bottom:0}.baklava-context-menu>.divider{margin:.35em 0;height:1px;background-color:var(--baklava-control-color-hover)}.baklava-icon{display:block;height:100%}.baklava-icon.--clickable{cursor:pointer;transition:color var(--baklava-visual-transition)}.baklava-icon.--clickable:hover{color:var(--baklava-control-color-primary)}.baklava-input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);border:none;border-radius:var(--baklava-control-border-radius);padding:.45em .75em;width:100%;transition:background-color var(--baklava-visual-transition);font-size:inherit;font:inherit}.baklava-input:hover{background-color:var(--baklava-control-color-hover)}.baklava-input:active{background-color:var(--baklava-control-color-active)}.baklava-input:focus-visible{outline:1px solid var(--baklava-control-color-primary)}.baklava-input[type=number]::-webkit-inner-spin-button,.baklava-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.baklava-input.--invalid{box-shadow:0 0 2px 2px var(--baklava-control-color-error)}.baklava-num-input{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);width:100%;display:grid;grid-template-columns:20px 1fr 20px}.baklava-num-input>.__button{display:flex;flex:0 0 auto;width:20px;justify-content:center;align-items:center;transition:background var(--baklava-visual-transition);cursor:pointer}.baklava-num-input>.__button:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__button:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__button.--dec{grid-area:1/1/span 1/span 1}.baklava-num-input>.__button.--dec>svg{transform:rotate(90deg)}.baklava-num-input>.__button.--inc{grid-area:1/3/span 1/span 1}.baklava-num-input>.__button.--inc>svg{transform:rotate(-90deg)}.baklava-num-input>.__button path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-num-input>.__content{grid-area:1/2/span 1/span 1;display:inline-flex;cursor:pointer;max-width:100%;min-width:0;align-items:center;transition:background-color var(--baklava-visual-transition)}.baklava-num-input>.__content:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__content:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__content>.__label,.baklava-num-input>.__content>.__value{margin:.35em 0;padding:0 .5em}.baklava-num-input>.__content>.__label{flex:1;min-width:0;overflow:hidden}.baklava-num-input>.__content>.__value{text-align:right}.baklava-num-input>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-select{width:100%;position:relative;color:var(--baklava-control-color-foreground)}.baklava-select.--open>.__selected{border-bottom-left-radius:0;border-bottom-right-radius:0}.baklava-select.--open>.__selected>.__icon{transform:rotate(180deg)}.baklava-select>.__selected{background-color:var(--baklava-control-color-background);padding:.35em .75em;border-radius:var(--baklava-control-border-radius);transition:background var(--baklava-visual-transition);min-height:1.7em;display:flex;align-items:center;cursor:pointer}.baklava-select>.__selected:hover{background:var(--baklava-control-color-hover)}.baklava-select>.__selected:active{background:var(--baklava-control-color-active)}.baklava-select>.__selected>.__text{flex:1 0 auto;flex-basis:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.baklava-select>.__selected>.__icon{flex:0 0 auto;display:flex;justify-content:center;align-items:center;transition:transform .25s ease;width:18px;height:18px}.baklava-select>.__selected>.__icon path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-select>.__dropdown{position:absolute;top:100%;left:0;right:0;z-index:10;background-color:var(--baklava-context-menu-background);filter:drop-shadow(0 0 4px black);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);max-height:15em;overflow-y:scroll}.baklava-select>.__dropdown::-webkit-scrollbar{width:0px;background:transparent}.baklava-select>.__dropdown>.item{padding:.35em .35em .35em 1em;transition:background .05s linear}.baklava-select>.__dropdown>.item:not(.--header):not(.--active){cursor:pointer}.baklava-select>.__dropdown>.item:not(.--header):not(.--active):hover{background:var(--baklava-control-color-hover)}.baklava-select>.__dropdown>.item.--active{background:var(--baklava-control-color-primary)}.baklava-select>.__dropdown>.item.--header{color:var(--baklava-control-color-disabled-foreground);border-bottom:1px solid var(--baklava-control-color-disabled-foreground);padding:.5em .35em .5em 1em}.baklava-slider{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);position:relative;cursor:pointer}.baklava-slider>.__content{display:flex;position:relative}.baklava-slider>.__content>.__label,.baklava-slider>.__content>.__value{flex:1 1 auto;margin:.35em 0;padding:0 .5em;text-overflow:ellipsis}.baklava-slider>.__content>.__value{text-align:right}.baklava-slider>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-slider>.__slider{position:absolute;top:0;bottom:0;left:0;background-color:var(--baklava-control-color-primary);border-radius:var(--baklava-control-border-radius)}.baklava-connection{stroke:var(--baklava-color-connection-default);stroke-width:2px;fill:none}.baklava-connection.--temporary{stroke-width:4px;stroke-dasharray:5 5;stroke-dashoffset:0;animation:dash 1s linear infinite;transform:translateY(-1px)}@keyframes dash{to{stroke-dashoffset:20}}.baklava-connection.--allowed{stroke:var(--baklava-color-connection-allowed)}.baklava-connection.--forbidden{stroke:var(--baklava-color-connection-forbidden)}.baklava-minimap{position:absolute;height:15%;width:15%;min-width:150px;max-width:90%;top:20px;right:20px;z-index:900}.baklava-editor{width:100%;height:100%;position:relative;overflow:hidden;outline:none!important;font-family:Lato,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:15px;touch-action:none}.baklava-editor .background{background-color:var(--baklava-editor-background-pattern-default);background-image:linear-gradient(var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(90deg,var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(var(--baklava-editor-background-pattern-line) 1px,transparent 1px),linear-gradient(90deg,var(--baklava-editor-background-pattern-line) 1px,transparent 1px);background-repeat:repeat;width:100%;height:100%;pointer-events:none!important}.baklava-editor *:not(input):not(textarea){user-select:none;-moz-user-select:none;-webkit-user-select:none;touch-action:none}.baklava-editor .input-user-select{user-select:auto;-moz-user-select:auto;-webkit-user-select:auto}.baklava-editor *,.baklava-editor *:after,.baklava-editor *:before{box-sizing:border-box}.baklava-editor.--temporary-connection{cursor:crosshair}.baklava-editor .connections-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none!important}.baklava-editor .node-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.baklava-editor .node-container *{pointer-events:all}.baklava-ignore-mouse *{pointer-events:none!important}.baklava-ignore-mouse .__port{pointer-events:all!important}.baklava-node-interface{padding:.25em 0;position:relative}.baklava-node-interface .__port{position:absolute;width:10px;height:10px;background:white;border-radius:50%;top:calc(50% - 5px);cursor:crosshair}.baklava-node-interface .__port.--selected{outline:2px var(--baklava-color-connection-default) solid;outline-offset:4px}.baklava-node-interface.--input{text-align:left;padding-left:.5em}.baklava-node-interface.--input .__port{left:-1.1em}.baklava-node-interface.--output{text-align:right;padding-right:.5em}.baklava-node-interface.--output .__port{right:-1.1em}.baklava-node-interface .__tooltip{position:absolute;left:5px;top:15px;transform:translate(-50%);background:var(--baklava-node-interface-port-tooltip-color-background);color:var(--baklava-node-interface-port-tooltip-color-foreground);padding:.25em .5em;text-align:center;z-index:2}.baklava-node-palette{position:absolute;left:0;top:60px;width:250px;height:calc(100% - 60px);z-index:3;padding:2rem;overflow-y:auto;background:var(--baklava-node-palette-background);color:var(--baklava-node-palette-foreground)}.baklava-node-palette h1{margin-top:2rem}.baklava-node.--palette{position:unset;margin:1rem 0;cursor:grab}.baklava-node.--palette:first-child{margin-top:0}.baklava-node.--palette .__title{padding:.5rem;border-radius:var(--baklava-node-border-radius)}.baklava-dragged-node{position:absolute;width:calc(250px - 4rem);height:40px;z-index:4;pointer-events:none}.baklava-node{background:var(--baklava-node-color-background);color:var(--baklava-node-color-foreground);border:1px solid transparent;border-radius:var(--baklava-node-border-radius);position:absolute;box-shadow:0 0 4px #000c;transition:border-color var(--baklava-visual-transition),box-shadow var(--baklava-visual-transition);width:var(--width)}.baklava-node:hover{border-color:var(--baklava-node-color-hover)}.baklava-node:hover .__resize-handle:after{opacity:1}.baklava-node.--selected{z-index:5;border-color:var(--baklava-node-color-selected)}.baklava-node.--dragging{box-shadow:0 0 12px #000c}.baklava-node.--dragging>.__title{cursor:grabbing}.baklava-node>.__title{display:flex;background:var(--baklava-node-title-color-background);color:var(--baklava-node-title-color-foreground);padding:.4em .75em;border-radius:var(--baklava-node-border-radius) var(--baklava-node-border-radius) 0 0;cursor:grab}.baklava-node>.__title>*:first-child{flex-grow:1}.baklava-node>.__title>.__title-label{pointer-events:none}.baklava-node>.__title>.__menu{position:relative;cursor:initial}.baklava-node[data-node-type^=__baklava_]>.__title{background:var(--baklava-group-node-title-color-background);color:var(--baklava-group-node-title-color-foreground)}.baklava-node>.__content{padding:.75em}.baklava-node>.__content>div>div{margin:.5em 0}.baklava-node.--two-column>.__content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-template-areas:". ." ". ."}.baklava-node.--two-column>.__content>.__inputs{grid-row:1;grid-column:1}.baklava-node.--two-column>.__content>.__outputs{grid-row:1;grid-column:2}.baklava-node .__resize-handle{position:absolute;right:0;bottom:0;width:1rem;height:1rem;transform:translate(50%);cursor:ew-resize}.baklava-node .__resize-handle:after{content:"";position:absolute;bottom:0;left:-.5rem;width:1rem;height:1rem;opacity:0;border-bottom-right-radius:var(--baklava-node-border-radius);transition:opacity var(--baklava-visual-transition);background:linear-gradient(-45deg,transparent 10%,var(--baklava-node-color-resize-handle) 10%,var(--baklava-node-color-resize-handle) 15%,transparent 15%,transparent 30%,var(--baklava-node-color-resize-handle) 30%,var(--baklava-node-color-resize-handle) 35%,transparent 35%,transparent 50%,var(--baklava-node-color-resize-handle) 50%,var(--baklava-node-color-resize-handle) 55%,transparent 55%)}.baklava-sidebar{position:absolute;height:100%;width:25%;min-width:300px;max-width:90%;top:0;right:0;z-index:1000;background-color:var(--baklava-sidebar-color-background);color:var(--baklava-sidebar-color-foreground);box-shadow:none;overflow-x:hidden;padding:1em;transform:translate(100%);transition:transform .5s;display:flex;flex-direction:column}.baklava-sidebar.--open{transform:translate(0);box-shadow:0 0 15px #000}.baklava-sidebar .__resizer{position:absolute;left:0;top:0;height:100%;width:4px;cursor:col-resize}.baklava-sidebar .__header{display:flex;align-items:center}.baklava-sidebar .__header .__node-name{margin-left:.5rem}.baklava-sidebar .__close{font-size:2em;border:none;background:none;color:inherit;cursor:pointer}.baklava-sidebar .__interface{margin:.5em 0}.baklava-toolbar{position:absolute;left:0;top:0;width:100%;height:60px;z-index:3;padding:.5rem 2rem;background:var(--baklava-toolbar-background);color:var(--baklava-toolbar-foreground);display:flex;align-items:center}.baklava-toolbar-entry{margin-left:.5rem;margin-right:.5rem}.baklava-toolbar-button{color:var(--baklava-toolbar-foreground);background:none;border:none;transition:color var(--baklava-visual-transition)}.baklava-toolbar-button:not([disabled]){cursor:pointer}.baklava-toolbar-button:hover:not([disabled]){color:var(--baklava-control-color-primary)}.baklava-toolbar-button[disabled]{color:var(--baklava-control-color-disabled-foreground)}.slide-fade-enter-active,.slide-fade-leave-active{transition:all .1s ease-out}.slide-fade-enter-from,.slide-fade-leave-to{transform:translateY(5px);opacity:0}.fade-enter-active,.fade-leave-active{transition:opacity .1s ease-out!important}.fade-enter-from,.fade-leave-to{opacity:0}.loading-indicator[data-v-4e49bb35]{display:flex;justify-content:center;align-items:center;height:100px;font-size:1.2em;color:#666}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}*{scrollbar-color:initial;scrollbar-width:initial}body{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #e0eaff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 234 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #f0e6ff var(--tw-gradient-to-position)}:is(.dark body){background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #0f2647 var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 38 71 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1e1b4b var(--tw-gradient-to-position)}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-left-6{left:-1.5rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-right-6{right:-1.5rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.-top-2{top:-.5rem}.-top-6{top:-1.5rem}.-top-9{top:-2.25rem}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-20{bottom:5rem}.bottom-4{bottom:1rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-20{left:5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-20{right:5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-20{top:5rem}.top-3{top:.75rem}.top-32{top:8rem}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-4{margin:1rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-3\.5{margin-bottom:.875rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[200px\]{height:200px}.h-\[220px\]{height:220px}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-\[400px\]{max-height:400px}.max-h-\[calc\(100vh-8rem\)\]{max-height:calc(100vh - 8rem)}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-\[500px\]{min-height:500px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[1000px\]{width:1000px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-150{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\[50px\,1fr\]{grid-template-columns:50px 1fr}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{border-color:var(--color-bg-dark)}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{border-color:var(--color-primary)}.border-primary-light{border-color:var(--color-primary-light)}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{border-color:var(--color-secondary)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-t-blue-600{--tw-border-opacity: 1;border-top-color:rgb(28 100 242 / var(--tw-border-opacity))}.bg-accent{background-color:var(--color-accent)}.bg-bg-dark-tone-panel{background-color:var(--color-bg-dark-tone-panel)}.bg-bg-light{background-color:var(--color-bg-light)}.bg-bg-light-tone{background-color:var(--color-bg-light-tone)}.bg-bg-light-tone-panel{background-color:var(--color-bg-light-tone-panel)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{background-color:var(--color-primary)}.bg-primary-light{background-color:var(--color-primary-light)}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.bg-secondary{background-color:var(--color-secondary)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-90{--tw-bg-opacity: .9}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: var(--color-bg-light) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: var(--color-bg-light-tone) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-100{--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-200{--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-400{--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-600{--tw-gradient-from: #1C64F2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-100{--tw-gradient-from: #E5EDFF var(--tw-gradient-from-position);--tw-gradient-to: rgb(229 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #5850EC var(--tw-gradient-from-position);--tw-gradient-to: rgb(88 80 236 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-light) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-transparent{--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position)}.to-purple-100{--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}.to-purple-200{--tw-gradient-to: #DCD7FE var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #9061F9 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position)}.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #ffffff var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position: 100%}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-blue-600{fill:#1c64f2}.fill-current{fill:currentColor}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:var(--color-secondary)}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.stroke-2{stroke-width:2}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-80{padding-bottom:20rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-light-text-panel{color:var(--color-light-text-panel)}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(208 56 1 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(253 232 232 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{color:var(--color-secondary)}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(6 148 162 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: var(--color-bg-light) !important}.scrollbar-track-bg-light-tone{--scrollbar-track: var(--color-bg-light-tone) !important}.scrollbar-track-gray-200{--scrollbar-track: #E5E7EB !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: var(--color-bg-light-tone) !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: var(--color-bg-light-tone-panel) !important}.scrollbar-thumb-gray-400{--scrollbar-thumb: #9CA3AF !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{margin-bottom:1.5rem;font-size:2.25rem;line-height:2.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark h1){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}@media (min-width: 768px){h1{font-size:3rem;line-height:1}}h2{margin-bottom:1rem;font-size:1.875rem;line-height:2.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark h2){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}h3{margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark h3){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}h4{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark h4){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}h1,h2{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding-bottom:.5rem}:is(.dark h1),:is(.dark h2){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}p{overflow-wrap:break-word;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark p){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}ul{margin-left:0;list-style-type:disc}li{margin-left:1.25rem;list-style-type:disc}ol{margin-left:1.25rem;list-style-type:decimal}:root{--color-primary: #0e8ef0;--color-primary-light: #3dabff;--color-secondary: #0fd974;--color-accent: #f0700e;--color-light-text-panel: #ffffff;--color-dark-text-panel: #ffffff;--color-bg-light-panel: #7cb5ec;--color-bg-light: #e2edff;--color-bg-light-tone: #b9d2f7;--color-bg-light-code-block: #cad7ed;--color-bg-light-tone-panel: #8fb5ef;--color-bg-light-discussion: #c5d8f8;--color-bg-light-discussion-odd: #d6e7ff;--color-bg-dark: #132e59;--color-bg-dark-tone: #25477d;--color-bg-dark-tone-panel: #4367a3;--color-bg-dark-code-block: #2254a7;--color-bg-dark-discussion: #435E8A;--color-bg-dark-discussion-odd: #284471}textarea,input,select{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark textarea),:is(.dark input),:is(.dark select){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.background-color{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #C3DDFD var(--tw-gradient-to-position)}:is(.dark .background-color){--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position)}.toolbar-color{border-radius:9999px;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #DCD7FE var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .toolbar-color){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #5521B5 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.panels-color{border-radius:.25rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #C3DDFD var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .panels-color){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.unicolor-panels-color{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .unicolor-panels-color){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.chatbox-color{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position)}:is(.dark .chatbox-color){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position)}.message{position:relative;margin:.5rem;display:flex;width:100%;flex-grow:1;flex-direction:column;flex-wrap:wrap;overflow:visible;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding:1.25rem 1.25rem .75rem;font-size:1.125rem;line-height:1.75rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .message){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.message:hover{--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}:is(.dark .message:hover){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.message{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.dark .message{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.message:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}:is(.dark .message:nth-child(2n)){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.message:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .message:nth-child(odd)){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.message-header{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.message-content{font-size:1.125rem;line-height:1.75rem;line-height:1.625}body{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #F3F4F6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #E5E7EB var(--tw-gradient-to-position);font-size:1rem;line-height:1.5rem}:is(.dark body){--tw-gradient-from: #1F2937 var(--tw-gradient-from-position);--tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #111827 var(--tw-gradient-to-position)}.discussion{margin-right:.5rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #A4CAFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(164 202 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #76A9FA var(--tw-gradient-to-position)}.discussion:hover{--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}:is(.dark .discussion){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position)}:is(.dark .discussion):hover{--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.discussion-hilighted{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #CABFFD var(--tw-gradient-to-position)}.discussion-hilighted:hover{--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}:is(.dark .discussion-hilighted){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}:is(.dark .discussion-hilighted):hover{--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.bg-gradient-welcome{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}:is(.dark .bg-gradient-welcome){--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}.bg-gradient-progress{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #DCD7FE var(--tw-gradient-to-position)}:is(.dark .bg-gradient-progress){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #5521B5 var(--tw-gradient-to-position)}.text-gradient-title{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1C64F2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}:is(.dark .text-gradient-title){--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #AC94FA var(--tw-gradient-to-position)}.text-subtitle{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .text-subtitle){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-author{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .text-author){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-loading{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .text-loading){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-progress{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}:is(.dark .text-progress){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.btn-primary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.card{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .card){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.input{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:.5rem 1rem}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .input){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .input:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.label{margin-bottom:.25rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .label){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.link{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.link:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}:is(.dark .link){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}:is(.dark .link:hover){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.navbar-container{border-radius:.25rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .navbar-container){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.game-menu{position:relative;display:flex;align-items:center;justify-content:center}.text-shadow-custom{text-shadow:1px 1px 0px white,-1px -1px 0px white,1px -1px 0px white,-1px 1px 0px white}.menu-item{margin-bottom:.5rem;padding:.5rem 1rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}:is(.dark .menu-item){--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.menu-item:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}:is(.dark .menu-item):hover{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.menu-item.active-link{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-top-left-radius:.375rem;border-top-right-radius:.375rem;--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity));font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);text-shadow:1px 1px 0px white,-1px -1px 0px white,1px -1px 0px white,-1px 1px 0px white}.menu-item.active-link:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}:is(.dark .menu-item.active-link):hover{--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.menu-item.active-link{text-shadow:0 0 10px rgba(255,100,100,.5)}.menu-item.active-link:before{content:"";position:absolute;bottom:-5px;left:0;width:100%;height:5px;background:linear-gradient(to right,#ff3b3b,#ff7b7b,#ff3b3b);border-radius:10px;animation:shimmer 2s infinite}.dark .menu-item.active-link:before{background:linear-gradient(to right,#8b0000,#ff0000,#8b0000)}@keyframes shimmer{0%{background-position:-100% 0}to{background-position:100% 0}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.feather-emoji{display:inline-block;margin-left:5px;animation:bounce 2s infinite}@keyframes lightsaber{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.app-card{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.app-card:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .app-card){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.app-card:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}button{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:#A4CAFE #E1EFFE}.dark .scrollbar-thin{scrollbar-color:#1A56DB #233876}.scrollbar-thin::-webkit-scrollbar{width:.5rem}.scrollbar-thin::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar-thin)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar-thin)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}:is(.dark .scrollbar-thin)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.btn{display:flex;align-items:center;border-radius:.5rem;padding:.5rem 1rem;font-weight:600;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.btn-primary{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.btn-primary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}:is(.dark .btn-primary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.btn-secondary{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.btn-secondary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}:is(.dark .btn-secondary){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .btn-secondary:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .btn-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.search-input{width:100%;border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(195 221 253 / var(--tw-border-opacity));background-color:transparent;padding:.5rem 1rem .5rem 2.5rem;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.search-input:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));outline:2px solid transparent;outline-offset:2px}:is(.dark .search-input){--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .search-input:focus){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:thin}.scrollbar::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar{--scrollbar-track: var(--color-bg-light-tone);--scrollbar-thumb: var(--color-bg-light-tone-panel);scrollbar-width:thin;scrollbar-color:#A4CAFE #E1EFFE}.dark .scrollbar{scrollbar-color:#1A56DB #233876}.scrollbar::-webkit-scrollbar{width:.5rem}.scrollbar::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}:is(.dark .scrollbar)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.scrollbar{--scrollbar-thumb-hover: var(--color-primary);--scrollbar-thumb-active: var(--color-secondary)}:is(.dark .scrollbar){--scrollbar-track: var(--color-bg-dark-tone);--scrollbar-thumb: var(--color-bg-dark-tone-panel);--scrollbar-thumb-hover: var(--color-primary)}.card-title{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .card-title){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.card-content{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .card-content){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.card-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.card-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.card-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.subcard{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .subcard){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.subcard-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .subcard-title){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.subcard-content{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .subcard-content){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.subcard-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.subcard-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.subcard-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.last\:mb-0:last-child{margin-bottom:0}.last\:\!border-transparent:last-child{border-color:transparent!important}.last\:pb-0:last-child{padding-bottom:0}.odd\:bg-bg-light-tone:nth-child(odd){background-color:var(--color-bg-light-tone)}.even\:bg-bg-light-discussion-odd:nth-child(2n){background-color:var(--color-bg-light-discussion-odd)}.even\:bg-bg-light-tone-panel:nth-child(2n){background-color:var(--color-bg-light-tone-panel)}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:bottom-0{bottom:0}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:-translate-x-12{--tw-translate-x: -3rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:-translate-x-8{--tw-translate-x: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:-translate-y-8{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-x-\[0px\]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-y-\[-50px\]{--tw-translate-y: -50px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-secondary{border-color:var(--color-secondary)}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .group-hover\:text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-0{opacity:0}.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{color:var(--color-primary)}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:z-50:hover{z-index:50}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:-translate-y-8:hover{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-150:hover{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(188 240 218 / var(--tw-border-opacity))}.hover\:border-primary:hover{border-color:var(--color-primary)}.hover\:border-primary-light:hover{border-color:var(--color-primary-light)}.hover\:border-secondary:hover{border-color:var(--color-secondary)}.hover\:bg-bg-light-tone:hover{background-color:var(--color-bg-light-tone)}.hover\:bg-bg-light-tone-panel:hover{background-color:var(--color-bg-light-tone-panel)}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:var(--color-primary)}.hover\:bg-primary-light:hover{background-color:var(--color-primary-light)}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-green-300:hover{--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(88 80 236 / var(--tw-text-opacity))}.hover\:text-primary:hover{color:var(--color-primary)}.hover\:text-purple-600:hover{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.hover\:text-secondary:hover{color:var(--color-secondary)}.hover\:text-teal-600:hover{--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(159 88 10 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-none:hover{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: var(--color-primary) !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{border-color:var(--color-secondary)}.focus\:border-transparent:focus{border-color:transparent}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-color: var(--color-secondary)}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:bg-gray-300:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: var(--color-secondary) !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){border-color:var(--color-bg-light)}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){background-color:var(--color-bg-dark)}:is(.dark .dark\:bg-bg-dark-tone){background-color:var(--color-bg-dark-tone)}:is(.dark .dark\:bg-bg-dark-tone-panel){background-color:var(--color-bg-dark-tone-panel)}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-800){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-800){--tw-bg-opacity: 1;background-color:rgb(138 44 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:bg-opacity-90){--tw-bg-opacity: .9}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: var(--color-bg-dark) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: var(--color-bg-dark-tone) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-blue-400){--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-blue-800){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-blue-900){--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-indigo-400){--tw-gradient-from: #8DA2FB var(--tw-gradient-from-position);--tw-gradient-to: rgb(141 162 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-indigo-900){--tw-gradient-from: #362F78 var(--tw-gradient-from-position);--tw-gradient-to: rgb(54 47 120 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-dark) var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:to-gray-800){--tw-gradient-to: #1F2937 var(--tw-gradient-to-position)}:is(.dark .dark\:to-purple-400){--tw-gradient-to: #AC94FA var(--tw-gradient-to-position)}:is(.dark .dark\:to-purple-800){--tw-gradient-to: #5521B5 var(--tw-gradient-to-position)}:is(.dark .dark\:to-purple-900){--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-300){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-400){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-dark-text-panel){color:var(--color-dark-text-panel)}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary){color:var(--color-primary)}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-white){--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-opacity-20){--tw-ring-opacity: .2}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: var(--color-bg-dark) !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: var(--color-bg-dark-tone) !important}:is(.dark .dark\:scrollbar-track-gray-800){--scrollbar-track: #1F2937 !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: var(--color-bg-dark-tone) !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: var(--color-bg-dark-tone-panel) !important}:is(.dark .dark\:scrollbar-thumb-gray-600){--scrollbar-thumb: #4B5563 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){background-color:var(--color-bg-dark-tone)}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(2n)){background-color:var(--color-bg-dark-discussion-odd)}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(2n)){background-color:var(--color-bg-dark-tone-panel)}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){border-color:var(--color-primary)}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){background-color:var(--color-primary)}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{background-color:var(--color-bg-dark-tone)}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{background-color:var(--color-bg-dark-tone-panel)}:is(.dark .dark\:hover\:text-blue-200:hover){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-blue-300:hover){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-300:hover){--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary:hover){color:var(--color-primary)}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: var(--color-primary) !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){border-color:var(--color-secondary)}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-color: var(--color-secondary)}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}:is(.dark .dark\:active\:bg-gray-600:active){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{top:0;right:0;bottom:0;left:0}.md\:order-2{order:2}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-7xl{font-size:4.5rem;line-height:1}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} diff --git a/web/dist/assets/index-c71b7e0a.css b/web/dist/assets/index-c71b7e0a.css new file mode 100644 index 00000000..ae6751cd --- /dev/null +++ b/web/dist/assets/index-c71b7e0a.css @@ -0,0 +1,8 @@ +@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap";.toastItem-enter-active[data-v-46f379e5],.toastItem-leave-active[data-v-46f379e5]{transition:all .5s ease}.toastItem-enter-from[data-v-46f379e5],.toastItem-leave-to[data-v-46f379e5]{opacity:0;transform:translate(-30px)}.hljs-comment,.hljs-quote{color:#7285b7}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#ff9da4}.hljs-number,.hljs-built_in,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#ffc58f}.hljs-attribute{color:#ffeead}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#d1f1a9}.hljs-title,.hljs-section{color:#bbdaff}.hljs-keyword,.hljs-selector-tag{color:#ebbbff}.hljs{background:#002451;color:#fff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! + Theme: Tokyo-night-Dark + origin: https://github.com/enkia/tokyo-night-vscode-theme + Description: Original highlight.js style + Author: (c) Henri Vandersleyen + License: see project LICENSE + Touched: 2022 +*/.hljs-meta,.hljs-comment{color:#565f89}.hljs-tag,.hljs-doctag,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-template-tag,.hljs-selector-pseudo,.hljs-selector-attr,.hljs-variable.language_,.hljs-deletion{color:#f7768e}.hljs-variable,.hljs-template-variable,.hljs-number,.hljs-literal,.hljs-type,.hljs-params,.hljs-link{color:#ff9e64}.hljs-built_in,.hljs-attribute{color:#e0af68}.hljs-selector-tag{color:#2ac3de}.hljs-keyword,.hljs-title.function_,.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-subst,.hljs-property{color:#7dcfff}.hljs-selector-tag{color:#73daca}.hljs-quote,.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#9ece6a}.hljs-code,.hljs-formula,.hljs-section{color:#7aa2f7}.hljs-name,.hljs-keyword,.hljs-operator,.hljs-char.escape_,.hljs-attr{color:#bb9af7}.hljs-punctuation{color:#c0caf5}.hljs{background:#1a1b26;color:#9aa5ce}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.code-container{display:flex;margin:0}.line-numbers{flex-shrink:0;padding-right:5px;color:#999;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;margin:0}.code-content{flex-grow:1;margin:0;outline:none}.progress-bar-container{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.progress-bar{background-color:#3498db;height:100%;transition:width .3s ease}.popup-container[data-v-d504dfc9]{background-color:#fff;color:#333;border-radius:8px;box-shadow:0 4px 6px #0000001a;padding:24px;width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.close-button[data-v-d504dfc9]{position:absolute;top:16px;right:16px;background-color:#3490dc;color:#fff;font-weight:700;padding:8px 16px;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.close-button[data-v-d504dfc9]:hover{background-color:#2779bd}.iframe-content[data-v-d504dfc9]{width:100%;height:80%;border:none;margin-bottom:16px}.checkbox-container[data-v-d504dfc9]{display:flex;align-items:center;justify-content:center}.styled-checkbox[data-v-d504dfc9]{width:24px;height:24px;accent-color:#3490dc;cursor:pointer}.checkbox-label[data-v-d504dfc9]{margin-left:8px;font-size:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fade-enter-active[data-v-d504dfc9],.fade-leave-active[data-v-d504dfc9]{transition:opacity .5s}.fade-enter[data-v-d504dfc9],.fade-leave-to[data-v-d504dfc9]{opacity:0}.dot{width:10px;height:10px;border-radius:50%}.dot-green{background-color:green}.dot-red{background-color:red}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.logo-container{position:relative;width:48px;height:48px}.logo-image{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes roll-and-bounce{0%,to{transform:translate(0) rotate(0)}45%{transform:translate(100px) rotate(360deg)}50%{transform:translate(90px) rotate(390deg)}55%{transform:translate(100px) rotate(360deg)}95%{transform:translate(0) rotate(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000}.hovered{transform:scale(1.05);transition:transform .2s ease-in-out}.active{transform:scale(1.1);transition:transform .2s ease-in-out}.dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}:root.dark .dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #ffffff1a,0 2px 4px -1px #ffffff0f}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:500px;background-color:#fff;z-index:1000;overflow-y:auto;height:100%}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.fade-enter-active[data-v-f43216be],.fade-leave-active[data-v-f43216be]{transition:opacity .3s}.fade-enter[data-v-f43216be],.fade-leave-to[data-v-f43216be]{opacity:0}.heartbeat-text[data-v-ebfd9309]{font-size:24px;animation:pulsate-ebfd9309 1.5s infinite}@keyframes pulsate-ebfd9309{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-ebfd9309],.list-enter-active[data-v-ebfd9309],.list-leave-active[data-v-ebfd9309]{transition:all .5s ease}.list-enter-from[data-v-ebfd9309]{transform:translatey(-30px)}.list-leave-to[data-v-ebfd9309]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-ebfd9309]{position:absolute}.bounce-enter-active[data-v-ebfd9309]{animation:bounce-in-ebfd9309 .5s}.bounce-leave-active[data-v-ebfd9309]{animation:bounce-in-ebfd9309 .5s reverse}@keyframes bounce-in-ebfd9309{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-ebfd9309]{background-color:#0ff}.hover[data-v-ebfd9309]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-ebfd9309]{font-weight:700}.json-tree-view[data-v-40406ec6]{margin-left:16px}.json-item[data-v-40406ec6]{margin-bottom:4px}.json-key[data-v-40406ec6]{cursor:pointer;display:flex;align-items:center}.toggle-icon[data-v-40406ec6]{margin-right:4px;width:12px}.key[data-v-40406ec6]{font-weight:700;margin-right:4px}.value[data-v-40406ec6]{margin-left:4px}.string[data-v-40406ec6]{color:#0b7285}.number[data-v-40406ec6]{color:#d9480f}.boolean[data-v-40406ec6]{color:#5c940d}.null[data-v-40406ec6]{color:#868e96}.json-nested[data-v-40406ec6]{margin-left:16px;border-left:1px dashed #ccc;padding-left:8px}.json-viewer[data-v-83fc9727]{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.5;color:#333}.collapsible-section[data-v-83fc9727]{cursor:pointer;padding:8px;background-color:#f0f0f0;border-radius:4px;display:flex;align-items:center;transition:background-color .2s}.collapsible-section[data-v-83fc9727]:hover{background-color:#e0e0e0}.toggle-icon[data-v-83fc9727]{margin-right:8px;transition:transform .2s}.json-content[data-v-83fc9727]{margin-top:8px;padding-left:16px}.step-container[data-v-78f415f6]{margin-bottom:1rem}.step-wrapper[data-v-78f415f6]{display:flex;align-items:flex-start;border-radius:.5rem;padding:1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.step-icon[data-v-78f415f6]{margin-right:1rem;display:flex;height:1.5rem;width:1.5rem;flex-shrink:0;align-items:center;justify-content:center}.feather-icon[data-v-78f415f6]{height:1.5rem;width:1.5rem;stroke:currentColor;stroke-width:2}.spinner[data-v-78f415f6]{height:1.5rem;width:1.5rem}@keyframes spin-78f415f6{to{transform:rotate(360deg)}}.spinner[data-v-78f415f6]{animation:spin-78f415f6 1s linear infinite;border-radius:9999px;border-width:2px;border-top-width:2px;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-border-opacity: 1;border-top-color:rgb(28 100 242 / var(--tw-border-opacity))}.step-content[data-v-78f415f6]{flex-grow:1}.step-text[data-v-78f415f6]{margin-bottom:.25rem;font-size:1.125rem;line-height:1.75rem;font-weight:600}.step-description[data-v-78f415f6]{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}[data-v-78f415f6]:is(.dark .step-description){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.expand-button{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs{background:none}.bounce-enter-active[data-v-f44002af]{animation:bounce-in-f44002af .5s}.bounce-leave-active[data-v-f44002af]{animation:bounce-in-f44002af .5s reverse}@keyframes bounce-in-f44002af{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-1a32c141]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-1a32c141]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-1a32c141]{top:calc(-100% - 2rem)}.chat-bar[data-v-fc5a462f]{transition:all .3s ease}.chat-bar[data-v-fc5a462f]:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.list-move[data-v-fc5a462f],.list-enter-active[data-v-fc5a462f],.list-leave-active[data-v-fc5a462f]{transition:all .5s ease}.list-enter-from[data-v-fc5a462f]{transform:translatey(-30px)}.list-leave-to[data-v-fc5a462f]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-fc5a462f]{position:absolute}@keyframes rolling-ball-7d44caaa{0%{transform:translate(-50px) rotate(0)}25%{transform:translate(0) rotate(90deg)}50%{transform:translate(50px) rotate(180deg)}75%{transform:translate(0) rotate(270deg)}to{transform:translate(-50px) rotate(360deg)}}@keyframes bounce-7d44caaa{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes fade-in-up-7d44caaa{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-rolling-ball[data-v-7d44caaa]{animation:rolling-ball-7d44caaa 4s infinite ease-in-out,bounce-7d44caaa 1s infinite ease-in-out}.animate-fade-in-up[data-v-7d44caaa]{animation:fade-in-up-7d44caaa 1.5s ease-out}@keyframes giggle-49b908b4{0%,to{transform:translate(0) rotate(0) scale(1)}25%{transform:translate(-5px) rotate(-10deg) scale(1.05)}50%{transform:translate(5px) rotate(10deg) scale(.95)}75%{transform:translate(-5px) rotate(-10deg) scale(1.05)}}.animate-giggle[data-v-49b908b4]{animation:giggle-49b908b4 1.5s infinite ease-in-out}.custom-scrollbar[data-v-49b908b4]{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar[data-v-49b908b4]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-49b908b4]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-49b908b4]::-webkit-scrollbar-thumb{background-color:#9b9b9b80;border-radius:20px;border:transparent}@keyframes custom-pulse-49b908b4{0%,to{box-shadow:0 0 #3b82f680}50%{box-shadow:0 0 0 15px #3b82f600}}.animate-pulse[data-v-49b908b4]{animation:custom-pulse-49b908b4 2s infinite}.slide-right-enter-active[data-v-49b908b4],.slide-right-leave-active[data-v-49b908b4]{transition:transform .3s ease}.slide-right-enter[data-v-49b908b4],.slide-right-leave-to[data-v-49b908b4]{transform:translate(-100%)}.slide-left-enter-active[data-v-49b908b4],.slide-left-leave-active[data-v-49b908b4]{transition:transform .3s ease}.slide-left-enter[data-v-49b908b4],.slide-left-leave-to[data-v-49b908b4]{transform:translate(100%)}.fade-and-fly-enter-active[data-v-49b908b4]{animation:fade-and-fly-enter-49b908b4 .5s ease}.fade-and-fly-leave-active[data-v-49b908b4]{animation:fade-and-fly-leave-49b908b4 .5s ease}@keyframes fade-and-fly-enter-49b908b4{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-49b908b4{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-49b908b4],.list-enter-active[data-v-49b908b4],.list-leave-active[data-v-49b908b4]{transition:all .5s ease}.list-enter-from[data-v-49b908b4]{transform:translatey(-30px)}.list-leave-to[data-v-49b908b4]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-49b908b4]{position:absolute}@keyframes float-49b908b4{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.animate-float[data-v-49b908b4]{animation:float-49b908b4 linear infinite}@keyframes star-move-49b908b4{0%{transform:translate(0) rotate(0)}50%{transform:translate(20px,20px) rotate(180deg)}to{transform:translate(0) rotate(360deg)}}.animate-star[data-v-49b908b4]{animation:star-move-49b908b4 linear infinite}@keyframes fall-49b908b4{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(calc(100vh + 20px)) rotate(360deg);opacity:0}}.animate-fall[data-v-49b908b4]{animation:fall-49b908b4 linear infinite}@keyframes glow-49b908b4{0%,to{text-shadow:0 0 5px rgba(66,153,225,.5),0 0 10px rgba(66,153,225,.5)}50%{text-shadow:0 0 20px rgba(66,153,225,.8),0 0 30px rgba(66,153,225,.8)}}.animate-glow[data-v-49b908b4]{animation:glow-49b908b4 2s ease-in-out infinite}@media (prefers-color-scheme: dark){@keyframes glow-49b908b4{0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}}}@keyframes roll-49b908b4{0%{transform:translate(-50%) rotate(0)}to{transform:translate(50%) rotate(360deg)}}.animate-roll[data-v-49b908b4]{animation:roll-49b908b4 4s linear infinite}.container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.floating-frame{margin:15px;float:left;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;z-index:5000;position:fixed;cursor:move;bottom:0;right:0}.handle{width:100%;height:20px;background:#ccc;cursor:move;text-align:center}.floating-frame img{width:100%;height:auto}.controls{margin-top:10px}#webglContainer{top:0;left:0}.floating-frame2{margin:15px;width:800px;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;min-height:200px;z-index:5000}:root{--baklava-control-color-primary: #e28b46;--baklava-control-color-error: #d00000;--baklava-control-color-background: #2c3748;--baklava-control-color-foreground: white;--baklava-control-color-hover: #455670;--baklava-control-color-active: #556986;--baklava-control-color-disabled-foreground: #666c75;--baklava-control-border-radius: 3px;--baklava-sidebar-color-background: #1b202c;--baklava-sidebar-color-foreground: white;--baklava-node-color-background: #1b202c;--baklava-node-color-foreground: white;--baklava-node-color-hover: #e28c4677;--baklava-node-color-selected: var(--baklava-control-color-primary);--baklava-node-color-resize-handle: var(--baklava-control-color-background);--baklava-node-title-color-background: #151a24;--baklava-node-title-color-foreground: white;--baklava-group-node-title-color-background: #215636;--baklava-group-node-title-color-foreground: white;--baklava-node-interface-port-tooltip-color-foreground: var(--baklava-control-color-primary);--baklava-node-interface-port-tooltip-color-background: var(--baklava-editor-background-pattern-black);--baklava-node-border-radius: 6px;--baklava-color-connection-default: #737f96;--baklava-color-connection-allowed: #48bc79;--baklava-color-connection-forbidden: #bc4848;--baklava-editor-background-pattern-default: #202b3c;--baklava-editor-background-pattern-line: #263140;--baklava-editor-background-pattern-black: #263140;--baklava-context-menu-background: #1b202c;--baklava-context-menu-shadow: 0 0 8px rgba(0, 0, 0, .65);--baklava-toolbar-background: #1b202caa;--baklava-toolbar-foreground: white;--baklava-node-palette-background: #1b202caa;--baklava-node-palette-foreground: white;--baklava-visual-transition: .1s linear}.baklava-button{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);transition:background-color var(--baklava-visual-transition);border:none;padding:.45em .35em;border-radius:var(--baklava-control-border-radius);font-size:inherit;cursor:pointer;overflow-x:hidden}.baklava-button:hover{background-color:var(--baklava-control-color-hover)}.baklava-button:active{background-color:var(--baklava-control-color-primary)}.baklava-button.--block{width:100%}.baklava-checkbox{display:flex;padding:.35em 0;cursor:pointer;overflow-x:hidden;align-items:center}.baklava-checkbox .__checkmark-container{display:flex;background-color:var(--baklava-control-color-background);border-radius:var(--baklava-control-border-radius);transition:background-color var(--baklava-visual-transition);width:18px;height:18px}.baklava-checkbox:hover .__checkmark-container{background-color:var(--baklava-control-color-hover)}.baklava-checkbox:active .__checkmark-container{background-color:var(--baklava-control-color-active)}.baklava-checkbox .__checkmark{stroke-dasharray:15;stroke-dashoffset:15;stroke:var(--baklava-control-color-foreground);stroke-width:2px;fill:none;transition:stroke-dashoffset var(--baklava-visual-transition)}.baklava-checkbox.--checked .__checkmark{stroke-dashoffset:0}.baklava-checkbox.--checked .__checkmark-container{background-color:var(--baklava-control-color-primary)}.baklava-checkbox .__label{margin-left:.5rem}.baklava-context-menu{color:var(--baklava-control-color-foreground);position:absolute;display:inline-block;z-index:100;background-color:var(--baklava-context-menu-background);box-shadow:var(--baklava-context-menu-shadow);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);min-width:6rem;width:-moz-max-content;width:max-content}.baklava-context-menu>.item{display:flex;align-items:center;padding:.35em 1em;transition:background .05s linear;position:relative}.baklava-context-menu>.item>.__label{flex:1 1 auto}.baklava-context-menu>.item>.__submenu-icon{margin-left:.75rem}.baklava-context-menu>.item.--disabled{color:var(--baklava-control-color-hover)}.baklava-context-menu>.item:not(.--header):not(.--active):not(.--disabled):hover{background:var(--baklava-control-color-primary)}.baklava-context-menu>.item.--active{background:var(--baklava-control-color-primary)}.baklava-context-menu.--nested{left:100%;top:0}.baklava-context-menu.--flipped-x.--nested{left:unset;right:100%}.baklava-context-menu.--flipped-y.--nested{top:unset;bottom:0}.baklava-context-menu>.divider{margin:.35em 0;height:1px;background-color:var(--baklava-control-color-hover)}.baklava-icon{display:block;height:100%}.baklava-icon.--clickable{cursor:pointer;transition:color var(--baklava-visual-transition)}.baklava-icon.--clickable:hover{color:var(--baklava-control-color-primary)}.baklava-input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);border:none;border-radius:var(--baklava-control-border-radius);padding:.45em .75em;width:100%;transition:background-color var(--baklava-visual-transition);font-size:inherit;font:inherit}.baklava-input:hover{background-color:var(--baklava-control-color-hover)}.baklava-input:active{background-color:var(--baklava-control-color-active)}.baklava-input:focus-visible{outline:1px solid var(--baklava-control-color-primary)}.baklava-input[type=number]::-webkit-inner-spin-button,.baklava-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.baklava-input.--invalid{box-shadow:0 0 2px 2px var(--baklava-control-color-error)}.baklava-num-input{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);width:100%;display:grid;grid-template-columns:20px 1fr 20px}.baklava-num-input>.__button{display:flex;flex:0 0 auto;width:20px;justify-content:center;align-items:center;transition:background var(--baklava-visual-transition);cursor:pointer}.baklava-num-input>.__button:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__button:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__button.--dec{grid-area:1/1/span 1/span 1}.baklava-num-input>.__button.--dec>svg{transform:rotate(90deg)}.baklava-num-input>.__button.--inc{grid-area:1/3/span 1/span 1}.baklava-num-input>.__button.--inc>svg{transform:rotate(-90deg)}.baklava-num-input>.__button path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-num-input>.__content{grid-area:1/2/span 1/span 1;display:inline-flex;cursor:pointer;max-width:100%;min-width:0;align-items:center;transition:background-color var(--baklava-visual-transition)}.baklava-num-input>.__content:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__content:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__content>.__label,.baklava-num-input>.__content>.__value{margin:.35em 0;padding:0 .5em}.baklava-num-input>.__content>.__label{flex:1;min-width:0;overflow:hidden}.baklava-num-input>.__content>.__value{text-align:right}.baklava-num-input>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-select{width:100%;position:relative;color:var(--baklava-control-color-foreground)}.baklava-select.--open>.__selected{border-bottom-left-radius:0;border-bottom-right-radius:0}.baklava-select.--open>.__selected>.__icon{transform:rotate(180deg)}.baklava-select>.__selected{background-color:var(--baklava-control-color-background);padding:.35em .75em;border-radius:var(--baklava-control-border-radius);transition:background var(--baklava-visual-transition);min-height:1.7em;display:flex;align-items:center;cursor:pointer}.baklava-select>.__selected:hover{background:var(--baklava-control-color-hover)}.baklava-select>.__selected:active{background:var(--baklava-control-color-active)}.baklava-select>.__selected>.__text{flex:1 0 auto;flex-basis:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.baklava-select>.__selected>.__icon{flex:0 0 auto;display:flex;justify-content:center;align-items:center;transition:transform .25s ease;width:18px;height:18px}.baklava-select>.__selected>.__icon path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-select>.__dropdown{position:absolute;top:100%;left:0;right:0;z-index:10;background-color:var(--baklava-context-menu-background);filter:drop-shadow(0 0 4px black);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);max-height:15em;overflow-y:scroll}.baklava-select>.__dropdown::-webkit-scrollbar{width:0px;background:transparent}.baklava-select>.__dropdown>.item{padding:.35em .35em .35em 1em;transition:background .05s linear}.baklava-select>.__dropdown>.item:not(.--header):not(.--active){cursor:pointer}.baklava-select>.__dropdown>.item:not(.--header):not(.--active):hover{background:var(--baklava-control-color-hover)}.baklava-select>.__dropdown>.item.--active{background:var(--baklava-control-color-primary)}.baklava-select>.__dropdown>.item.--header{color:var(--baklava-control-color-disabled-foreground);border-bottom:1px solid var(--baklava-control-color-disabled-foreground);padding:.5em .35em .5em 1em}.baklava-slider{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);position:relative;cursor:pointer}.baklava-slider>.__content{display:flex;position:relative}.baklava-slider>.__content>.__label,.baklava-slider>.__content>.__value{flex:1 1 auto;margin:.35em 0;padding:0 .5em;text-overflow:ellipsis}.baklava-slider>.__content>.__value{text-align:right}.baklava-slider>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-slider>.__slider{position:absolute;top:0;bottom:0;left:0;background-color:var(--baklava-control-color-primary);border-radius:var(--baklava-control-border-radius)}.baklava-connection{stroke:var(--baklava-color-connection-default);stroke-width:2px;fill:none}.baklava-connection.--temporary{stroke-width:4px;stroke-dasharray:5 5;stroke-dashoffset:0;animation:dash 1s linear infinite;transform:translateY(-1px)}@keyframes dash{to{stroke-dashoffset:20}}.baklava-connection.--allowed{stroke:var(--baklava-color-connection-allowed)}.baklava-connection.--forbidden{stroke:var(--baklava-color-connection-forbidden)}.baklava-minimap{position:absolute;height:15%;width:15%;min-width:150px;max-width:90%;top:20px;right:20px;z-index:900}.baklava-editor{width:100%;height:100%;position:relative;overflow:hidden;outline:none!important;font-family:Lato,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:15px;touch-action:none}.baklava-editor .background{background-color:var(--baklava-editor-background-pattern-default);background-image:linear-gradient(var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(90deg,var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(var(--baklava-editor-background-pattern-line) 1px,transparent 1px),linear-gradient(90deg,var(--baklava-editor-background-pattern-line) 1px,transparent 1px);background-repeat:repeat;width:100%;height:100%;pointer-events:none!important}.baklava-editor *:not(input):not(textarea){user-select:none;-moz-user-select:none;-webkit-user-select:none;touch-action:none}.baklava-editor .input-user-select{user-select:auto;-moz-user-select:auto;-webkit-user-select:auto}.baklava-editor *,.baklava-editor *:after,.baklava-editor *:before{box-sizing:border-box}.baklava-editor.--temporary-connection{cursor:crosshair}.baklava-editor .connections-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none!important}.baklava-editor .node-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.baklava-editor .node-container *{pointer-events:all}.baklava-ignore-mouse *{pointer-events:none!important}.baklava-ignore-mouse .__port{pointer-events:all!important}.baklava-node-interface{padding:.25em 0;position:relative}.baklava-node-interface .__port{position:absolute;width:10px;height:10px;background:white;border-radius:50%;top:calc(50% - 5px);cursor:crosshair}.baklava-node-interface .__port.--selected{outline:2px var(--baklava-color-connection-default) solid;outline-offset:4px}.baklava-node-interface.--input{text-align:left;padding-left:.5em}.baklava-node-interface.--input .__port{left:-1.1em}.baklava-node-interface.--output{text-align:right;padding-right:.5em}.baklava-node-interface.--output .__port{right:-1.1em}.baklava-node-interface .__tooltip{position:absolute;left:5px;top:15px;transform:translate(-50%);background:var(--baklava-node-interface-port-tooltip-color-background);color:var(--baklava-node-interface-port-tooltip-color-foreground);padding:.25em .5em;text-align:center;z-index:2}.baklava-node-palette{position:absolute;left:0;top:60px;width:250px;height:calc(100% - 60px);z-index:3;padding:2rem;overflow-y:auto;background:var(--baklava-node-palette-background);color:var(--baklava-node-palette-foreground)}.baklava-node-palette h1{margin-top:2rem}.baklava-node.--palette{position:unset;margin:1rem 0;cursor:grab}.baklava-node.--palette:first-child{margin-top:0}.baklava-node.--palette .__title{padding:.5rem;border-radius:var(--baklava-node-border-radius)}.baklava-dragged-node{position:absolute;width:calc(250px - 4rem);height:40px;z-index:4;pointer-events:none}.baklava-node{background:var(--baklava-node-color-background);color:var(--baklava-node-color-foreground);border:1px solid transparent;border-radius:var(--baklava-node-border-radius);position:absolute;box-shadow:0 0 4px #000c;transition:border-color var(--baklava-visual-transition),box-shadow var(--baklava-visual-transition);width:var(--width)}.baklava-node:hover{border-color:var(--baklava-node-color-hover)}.baklava-node:hover .__resize-handle:after{opacity:1}.baklava-node.--selected{z-index:5;border-color:var(--baklava-node-color-selected)}.baklava-node.--dragging{box-shadow:0 0 12px #000c}.baklava-node.--dragging>.__title{cursor:grabbing}.baklava-node>.__title{display:flex;background:var(--baklava-node-title-color-background);color:var(--baklava-node-title-color-foreground);padding:.4em .75em;border-radius:var(--baklava-node-border-radius) var(--baklava-node-border-radius) 0 0;cursor:grab}.baklava-node>.__title>*:first-child{flex-grow:1}.baklava-node>.__title>.__title-label{pointer-events:none}.baklava-node>.__title>.__menu{position:relative;cursor:initial}.baklava-node[data-node-type^=__baklava_]>.__title{background:var(--baklava-group-node-title-color-background);color:var(--baklava-group-node-title-color-foreground)}.baklava-node>.__content{padding:.75em}.baklava-node>.__content>div>div{margin:.5em 0}.baklava-node.--two-column>.__content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-template-areas:". ." ". ."}.baklava-node.--two-column>.__content>.__inputs{grid-row:1;grid-column:1}.baklava-node.--two-column>.__content>.__outputs{grid-row:1;grid-column:2}.baklava-node .__resize-handle{position:absolute;right:0;bottom:0;width:1rem;height:1rem;transform:translate(50%);cursor:ew-resize}.baklava-node .__resize-handle:after{content:"";position:absolute;bottom:0;left:-.5rem;width:1rem;height:1rem;opacity:0;border-bottom-right-radius:var(--baklava-node-border-radius);transition:opacity var(--baklava-visual-transition);background:linear-gradient(-45deg,transparent 10%,var(--baklava-node-color-resize-handle) 10%,var(--baklava-node-color-resize-handle) 15%,transparent 15%,transparent 30%,var(--baklava-node-color-resize-handle) 30%,var(--baklava-node-color-resize-handle) 35%,transparent 35%,transparent 50%,var(--baklava-node-color-resize-handle) 50%,var(--baklava-node-color-resize-handle) 55%,transparent 55%)}.baklava-sidebar{position:absolute;height:100%;width:25%;min-width:300px;max-width:90%;top:0;right:0;z-index:1000;background-color:var(--baklava-sidebar-color-background);color:var(--baklava-sidebar-color-foreground);box-shadow:none;overflow-x:hidden;padding:1em;transform:translate(100%);transition:transform .5s;display:flex;flex-direction:column}.baklava-sidebar.--open{transform:translate(0);box-shadow:0 0 15px #000}.baklava-sidebar .__resizer{position:absolute;left:0;top:0;height:100%;width:4px;cursor:col-resize}.baklava-sidebar .__header{display:flex;align-items:center}.baklava-sidebar .__header .__node-name{margin-left:.5rem}.baklava-sidebar .__close{font-size:2em;border:none;background:none;color:inherit;cursor:pointer}.baklava-sidebar .__interface{margin:.5em 0}.baklava-toolbar{position:absolute;left:0;top:0;width:100%;height:60px;z-index:3;padding:.5rem 2rem;background:var(--baklava-toolbar-background);color:var(--baklava-toolbar-foreground);display:flex;align-items:center}.baklava-toolbar-entry{margin-left:.5rem;margin-right:.5rem}.baklava-toolbar-button{color:var(--baklava-toolbar-foreground);background:none;border:none;transition:color var(--baklava-visual-transition)}.baklava-toolbar-button:not([disabled]){cursor:pointer}.baklava-toolbar-button:hover:not([disabled]){color:var(--baklava-control-color-primary)}.baklava-toolbar-button[disabled]{color:var(--baklava-control-color-disabled-foreground)}.slide-fade-enter-active,.slide-fade-leave-active{transition:all .1s ease-out}.slide-fade-enter-from,.slide-fade-leave-to{transform:translateY(5px);opacity:0}.fade-enter-active,.fade-leave-active{transition:opacity .1s ease-out!important}.fade-enter-from,.fade-leave-to{opacity:0}.loading-indicator[data-v-4e49bb35]{display:flex;justify-content:center;align-items:center;height:100px;font-size:1.2em;color:#666}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1F2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4B5563}.dark input[type=file]::file-selector-button:hover{background:#6B7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6B7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1C64F2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9CA3AF}.dark input[type=range]:disabled::-moz-range-thumb{background:#6B7280}input[type=range]::-moz-range-progress{background:#3F83F8}input[type=range]::-ms-fill-lower{background:#3F83F8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:white;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1C64F2;border-color:#1c64f2}*{scrollbar-color:initial;scrollbar-width:initial}body{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #e0eaff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 234 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #f0e6ff var(--tw-gradient-to-position)}:is(.dark body){background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #0f2647 var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 38 71 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1e1b4b var(--tw-gradient-to-position)}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1{left:-.25rem}.-left-1\.5{left:-.375rem}.-left-6{left:-1.5rem}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-right-2{right:-.5rem}.-right-6{right:-1.5rem}.-top-1{top:-.25rem}.-top-1\.5{top:-.375rem}.-top-2{top:-.5rem}.-top-6{top:-1.5rem}.-top-9{top:-2.25rem}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-20{bottom:5rem}.bottom-4{bottom:1rem}.bottom-5{bottom:1.25rem}.bottom-\[60px\]{bottom:60px}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-20{left:5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-20{right:5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-20{top:5rem}.top-3{top:.75rem}.top-full{top:100%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-4{margin:1rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-3\.5{margin-bottom:.875rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[200px\]{height:200px}.h-\[220px\]{height:220px}.h-\[600px\]{height:600px}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-64{max-height:16rem}.max-h-96{max-height:24rem}.max-h-\[400px\]{max-height:400px}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-\[500px\]{min-height:500px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[1000px\]{width:1000px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-\[23rem\]{min-width:23rem}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[23rem\]{max-width:23rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-0{--tw-translate-y: -0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-150{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\[50px\,1fr\]{grid-template-columns:50px 1fr}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-t-4{border-top-width:4px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-bg-dark{border-color:var(--color-bg-dark)}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{border-color:var(--color-primary)}.border-primary-light{border-color:var(--color-primary-light)}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{border-color:var(--color-secondary)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-t-blue-600{--tw-border-opacity: 1;border-top-color:rgb(28 100 242 / var(--tw-border-opacity))}.bg-accent{background-color:var(--color-accent)}.bg-bg-dark-tone-panel{background-color:var(--color-bg-dark-tone-panel)}.bg-bg-light{background-color:var(--color-bg-light)}.bg-bg-light-tone{background-color:var(--color-bg-light-tone)}.bg-bg-light-tone-panel{background-color:var(--color-bg-light-tone-panel)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{background-color:var(--color-primary)}.bg-primary-light{background-color:var(--color-primary-light)}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.bg-secondary{background-color:var(--color-secondary)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: var(--color-bg-light) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-bg-light-tone{--tw-gradient-from: var(--color-bg-light-tone) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-100{--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-200{--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-400{--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-100{--tw-gradient-from: #E5EDFF var(--tw-gradient-from-position);--tw-gradient-to: rgb(229 237 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #5850EC var(--tw-gradient-from-position);--tw-gradient-to: rgb(88 80 236 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-light) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-transparent{--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position)}.to-purple-100{--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}.to-purple-200{--tw-gradient-to: #DCD7FE var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #9061F9 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position)}.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #ffffff var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position: 100%}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-blue-600{fill:#1c64f2}.fill-current{fill:currentColor}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:var(--color-secondary)}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.stroke-2{stroke-width:2}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-80{padding-bottom:20rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-light-text-panel{color:var(--color-light-text-panel)}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(208 56 1 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(253 232 232 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{color:var(--color-secondary)}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(6 148 162 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.scrollbar{scrollbar-width:auto}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: var(--color-bg-light) !important}.scrollbar-track-bg-light-tone{--scrollbar-track: var(--color-bg-light-tone) !important}.scrollbar-track-gray-200{--scrollbar-track: #E5E7EB !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: var(--color-bg-light-tone) !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: var(--color-bg-light-tone-panel) !important}.scrollbar-thumb-gray-400{--scrollbar-thumb: #9CA3AF !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{margin-bottom:1.5rem;font-size:2.25rem;line-height:2.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark h1){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}@media (min-width: 768px){h1{font-size:3rem;line-height:1}}h2{margin-bottom:1rem;font-size:1.875rem;line-height:2.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark h2){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}h3{margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark h3){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}h4{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark h4){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}h1,h2{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding-bottom:.5rem}:is(.dark h1),:is(.dark h2){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}p{overflow-wrap:break-word;font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark p){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}ul{margin-left:0;list-style-type:disc}li{margin-left:1.25rem;list-style-type:disc}ol{margin-left:1.25rem;list-style-type:decimal}:root{--color-primary: #0e8ef0;--color-primary-light: #3dabff;--color-secondary: #0fd974;--color-accent: #f0700e;--color-light-text-panel: #ffffff;--color-dark-text-panel: #ffffff;--color-bg-light-panel: #7cb5ec;--color-bg-light: #e2edff;--color-bg-light-tone: #b9d2f7;--color-bg-light-code-block: #cad7ed;--color-bg-light-tone-panel: #8fb5ef;--color-bg-light-discussion: #c5d8f8;--color-bg-light-discussion-odd: #d6e7ff;--color-bg-dark: #132e59;--color-bg-dark-tone: #25477d;--color-bg-dark-tone-panel: #4367a3;--color-bg-dark-code-block: #2254a7;--color-bg-dark-discussion: #435E8A;--color-bg-dark-discussion-odd: #284471}textarea,input,select{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark textarea),:is(.dark input),:is(.dark select){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.background-color{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #C3DDFD var(--tw-gradient-to-position)}:is(.dark .background-color){--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position)}.toolbar-color{border-radius:9999px;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #DCD7FE var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .toolbar-color){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #5521B5 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.panels-color{border-radius:.25rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #C3DDFD var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .panels-color){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.unicolor-panels-color{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .unicolor-panels-color){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.chatbox-color{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position)}:is(.dark .chatbox-color){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position)}.message{position:relative;margin:.5rem;display:flex;width:100%;flex-grow:1;flex-direction:column;flex-wrap:wrap;overflow:visible;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding:1.25rem 1.25rem .75rem;font-size:1.125rem;line-height:1.75rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .message){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.message:hover{--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}:is(.dark .message:hover){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.message{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.dark .message{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.message:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}:is(.dark .message:nth-child(2n)){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.message:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .message:nth-child(odd)){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.message-header{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.message-content{font-size:1.125rem;line-height:1.75rem;line-height:1.625}body{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #F3F4F6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #E5E7EB var(--tw-gradient-to-position);font-size:1rem;line-height:1.5rem}:is(.dark body){--tw-gradient-from: #1F2937 var(--tw-gradient-from-position);--tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #111827 var(--tw-gradient-to-position)}.discussion{margin-right:.5rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #A4CAFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(164 202 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #76A9FA var(--tw-gradient-to-position)}.discussion:hover{--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}:is(.dark .discussion){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position)}:is(.dark .discussion):hover{--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.discussion-hilighted{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #CABFFD var(--tw-gradient-to-position)}.discussion-hilighted:hover{--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}:is(.dark .discussion-hilighted){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}:is(.dark .discussion-hilighted):hover{--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.bg-gradient-welcome{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #EDEBFE var(--tw-gradient-to-position)}:is(.dark .bg-gradient-welcome){--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}.bg-gradient-progress{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #DCD7FE var(--tw-gradient-to-position)}:is(.dark .bg-gradient-progress){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #5521B5 var(--tw-gradient-to-position)}.text-gradient-title{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1C64F2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}:is(.dark .text-gradient-title){--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #AC94FA var(--tw-gradient-to-position)}.text-subtitle{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .text-subtitle){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-author{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .text-author){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-loading{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .text-loading){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-progress{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}:is(.dark .text-progress){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.btn-primary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.card{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .card){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.input{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:.5rem 1rem}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .input){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .input:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.label{margin-bottom:.25rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .label){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.link{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.link:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}:is(.dark .link){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}:is(.dark .link:hover){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.navbar-container{border-radius:.25rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .navbar-container){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.game-menu{position:relative;display:flex;align-items:center;justify-content:center}.text-shadow-custom{text-shadow:1px 1px 0px white,-1px -1px 0px white,1px -1px 0px white,-1px 1px 0px white}.menu-item{margin-bottom:.5rem;padding:.5rem 1rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}:is(.dark .menu-item){--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.menu-item:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}:is(.dark .menu-item):hover{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.menu-item.active-link{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-top-left-radius:.375rem;border-top-right-radius:.375rem;--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity));font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);text-shadow:1px 1px 0px white,-1px -1px 0px white,1px -1px 0px white,-1px 1px 0px white}.menu-item.active-link:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}:is(.dark .menu-item.active-link):hover{--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.menu-item.active-link{text-shadow:0 0 10px rgba(255,100,100,.5)}.menu-item.active-link:before{content:"";position:absolute;bottom:-5px;left:0;width:100%;height:5px;background:linear-gradient(to right,#ff3b3b,#ff7b7b,#ff3b3b);border-radius:10px;animation:shimmer 2s infinite}.dark .menu-item.active-link:before{background:linear-gradient(to right,#8b0000,#ff0000,#8b0000)}@keyframes shimmer{0%{background-position:-100% 0}to{background-position:100% 0}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.feather-emoji{display:inline-block;margin-left:5px;animation:bounce 2s infinite}@keyframes lightsaber{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}.app-card{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.app-card:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .app-card){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.app-card:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}button{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:#A4CAFE #E1EFFE}.dark .scrollbar-thin{scrollbar-color:#1A56DB #233876}.scrollbar-thin::-webkit-scrollbar{width:.5rem}.scrollbar-thin::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar-thin)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar-thin)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}:is(.dark .scrollbar-thin)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.btn{display:flex;align-items:center;border-radius:.5rem;padding:.5rem 1rem;font-weight:600;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.btn-primary{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.btn-primary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}:is(.dark .btn-primary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.btn-secondary{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.btn-secondary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}:is(.dark .btn-secondary){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .btn-secondary:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .btn-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.search-input{width:100%;border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(195 221 253 / var(--tw-border-opacity));background-color:transparent;padding:.5rem 1rem .5rem 2.5rem;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.search-input:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));outline:2px solid transparent;outline-offset:2px}:is(.dark .search-input){--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .search-input:focus){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:thin}.scrollbar::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar{--scrollbar-track: var(--color-bg-light-tone);--scrollbar-thumb: var(--color-bg-light-tone-panel);scrollbar-width:thin;scrollbar-color:#A4CAFE #E1EFFE}.dark .scrollbar{scrollbar-color:#1A56DB #233876}.scrollbar::-webkit-scrollbar{width:.5rem}.scrollbar::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .scrollbar)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}:is(.dark .scrollbar)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.scrollbar{--scrollbar-thumb-hover: var(--color-primary);--scrollbar-thumb-active: var(--color-secondary)}:is(.dark .scrollbar){--scrollbar-track: var(--color-bg-dark-tone);--scrollbar-thumb: var(--color-bg-dark-tone-panel);--scrollbar-thumb-hover: var(--color-primary)}.card-title{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .card-title){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.card-content{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .card-content){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.card-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.card-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.card-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.subcard{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .subcard){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.subcard-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .subcard-title){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.subcard-content{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .subcard-content){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.subcard-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.subcard-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.subcard-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.last\:mb-0:last-child{margin-bottom:0}.last\:\!border-transparent:last-child{border-color:transparent!important}.last\:pb-0:last-child{padding-bottom:0}.odd\:bg-bg-light-tone:nth-child(odd){background-color:var(--color-bg-light-tone)}.even\:bg-bg-light-discussion-odd:nth-child(2n){background-color:var(--color-bg-light-discussion-odd)}.even\:bg-bg-light-tone-panel:nth-child(2n){background-color:var(--color-bg-light-tone-panel)}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:bottom-0{bottom:0}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:-translate-x-12{--tw-translate-x: -3rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:-translate-x-8{--tw-translate-x: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:-translate-y-8{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-x-\[0px\]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:translate-y-\[-50px\]{--tw-translate-y: -50px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-secondary{border-color:var(--color-secondary)}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group:hover .group-hover\:text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-0{opacity:0}.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:text-primary{color:var(--color-primary)}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:z-50:hover{z-index:50}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:-translate-y-8:hover{--tw-translate-y: -2rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-150:hover{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(188 240 218 / var(--tw-border-opacity))}.hover\:border-primary:hover{border-color:var(--color-primary)}.hover\:border-primary-light:hover{border-color:var(--color-primary-light)}.hover\:border-secondary:hover{border-color:var(--color-secondary)}.hover\:bg-bg-light-tone:hover{background-color:var(--color-bg-light-tone)}.hover\:bg-bg-light-tone-panel:hover{background-color:var(--color-bg-light-tone-panel)}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:var(--color-primary)}.hover\:bg-primary-light:hover{background-color:var(--color-primary-light)}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-green-300:hover{--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(88 80 236 / var(--tw-text-opacity))}.hover\:text-primary:hover{color:var(--color-primary)}.hover\:text-purple-600:hover{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.hover\:text-secondary:hover{color:var(--color-secondary)}.hover\:text-teal-600:hover{--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(159 88 10 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-none:hover{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: var(--color-primary) !important}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{border-color:var(--color-secondary)}.focus\:border-transparent:focus{border-color:transparent}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-color: var(--color-secondary)}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:bg-gray-300:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: var(--color-secondary) !important}:is(.dark .dark\:divide-gray-700)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}:is(.dark .dark\:border-bg-light){border-color:var(--color-bg-light)}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-transparent){border-color:transparent}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){background-color:var(--color-bg-dark)}:is(.dark .dark\:bg-bg-dark-tone){background-color:var(--color-bg-dark-tone)}:is(.dark .dark\:bg-bg-dark-tone-panel){background-color:var(--color-bg-dark-tone-panel)}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-800){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/30){background-color:#1f29374d}:is(.dark .dark\:bg-gray-800\/50){background-color:#1f293780}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(1 71 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-800){--tw-bg-opacity: 1;background-color:rgb(138 44 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:from-bg-dark){--tw-gradient-from: var(--color-bg-dark) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: var(--color-bg-dark-tone) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-blue-800){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-blue-900){--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-indigo-400){--tw-gradient-from: #8DA2FB var(--tw-gradient-from-position);--tw-gradient-to: rgb(141 162 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:from-indigo-900){--tw-gradient-from: #362F78 var(--tw-gradient-from-position);--tw-gradient-to: rgb(54 47 120 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:via-bg-dark){--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-dark) var(--tw-gradient-via-position), var(--tw-gradient-to)}:is(.dark .dark\:to-gray-800){--tw-gradient-to: #1F2937 var(--tw-gradient-to-position)}:is(.dark .dark\:to-purple-400){--tw-gradient-to: #AC94FA var(--tw-gradient-to-position)}:is(.dark .dark\:to-purple-800){--tw-gradient-to: #5521B5 var(--tw-gradient-to-position)}:is(.dark .dark\:to-purple-900){--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}:is(.dark .dark\:fill-gray-300){fill:#d1d5db}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-400){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}:is(.dark .dark\:text-dark-text-panel){color:var(--color-dark-text-panel)}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary){color:var(--color-primary)}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:shadow-lg){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:is(.dark .dark\:shadow-blue-800\/80){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-cyan-800\/80){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-green-800\/80){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-lime-800\/80){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-pink-800\/80){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-purple-800\/80){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-red-800\/80){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-teal-800\/80){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:ring-gray-500){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-white){--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-opacity-20){--tw-ring-opacity: .2}:is(.dark .dark\:ring-offset-gray-700){--tw-ring-offset-color: #374151}:is(.dark .dark\:ring-offset-gray-800){--tw-ring-offset-color: #1F2937}:is(.dark .dark\:scrollbar-track-bg-dark){--scrollbar-track: var(--color-bg-dark) !important}:is(.dark .dark\:scrollbar-track-bg-dark-tone){--scrollbar-track: var(--color-bg-dark-tone) !important}:is(.dark .dark\:scrollbar-track-gray-800){--scrollbar-track: #1F2937 !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone){--scrollbar-thumb: var(--color-bg-dark-tone) !important}:is(.dark .dark\:scrollbar-thumb-bg-dark-tone-panel){--scrollbar-thumb: var(--color-bg-dark-tone-panel) !important}:is(.dark .dark\:scrollbar-thumb-gray-600){--scrollbar-thumb: #4B5563 !important}:is(.dark .odd\:dark\:bg-bg-dark-tone):nth-child(odd){background-color:var(--color-bg-dark-tone)}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(2n)){background-color:var(--color-bg-dark-discussion-odd)}:is(.dark .dark\:even\:bg-bg-dark-tone-panel:nth-child(2n)){background-color:var(--color-bg-dark-tone-panel)}:is(.dark .group:hover .dark\:group-hover\:bg-gray-800\/60){background-color:#1f293799}:is(.dark .group:hover .dark\:group-hover\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .group:focus .dark\:group-focus\:ring-gray-800\/70){--tw-ring-color: rgb(31 41 55 / .7)}:is(.dark .dark\:hover\:border-gray-600:hover){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-primary:hover){border-color:var(--color-primary)}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){background-color:var(--color-primary)}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-bg-dark-tone):hover{background-color:var(--color-bg-dark-tone)}:is(.dark .hover\:dark\:bg-bg-dark-tone-panel):hover{background-color:var(--color-bg-dark-tone-panel)}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-900:hover){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-300:hover){--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary:hover){color:var(--color-primary)}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:scrollbar-thumb-primary){--scrollbar-thumb-hover: var(--color-primary) !important}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){border-color:var(--color-secondary)}:is(.dark .dark\:focus\:text-white:focus){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-blue-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-cyan-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-green-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-lime-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-pink-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-purple-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-color: var(--color-secondary)}:is(.dark .dark\:focus\:ring-teal-700:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-teal-800:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-yellow-900:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-offset-gray-700:focus){--tw-ring-offset-color: #374151}:is(.dark .dark\:active\:bg-gray-600:active){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:inset-0{top:0;right:0;bottom:0;left:0}.md\:order-2{order:2}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/4{width:25%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-7xl{font-size:4.5rem;line-height:1}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}:is(.dark .md\:dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .md\:dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .md\:dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}} diff --git a/web/dist/index.html b/web/dist/index.html index 5a3b1f46..e455d592 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,8 +6,8 @@ LoLLMS WebUI - - + +
diff --git a/web/src/components/ChatBox.vue b/web/src/components/ChatBox.vue index 33f44869..106fd176 100644 --- a/web/src/components/ChatBox.vue +++ b/web/src/components/ChatBox.vue @@ -159,39 +159,51 @@ -
-
+
+
-
-
-
- +
+
+ +
+ + + +
+
-
+
-
+
@@ -642,6 +654,10 @@ export default { navigator.clipboard.writeText(this.binding_name + "::" + this.model_name); this.$store.state.toast.showToast("Model name copyed to clipboard: "+this.binding_name + "::" + this.model_name, 4, true) }, + copyModelNameFrom(model){ + navigator.clipboard.writeText(this.binding_name + "::" + model); + this.$store.state.toast.showToast("Model name copyed to clipboard: "+this.binding_name + "::" + this.model_name, 4, true) + }, showModelConfig(){ try { this.isLoading = true diff --git a/web/src/views/DiscussionsView.vue b/web/src/views/DiscussionsView.vue index 4e956959..1f081810 100644 --- a/web/src/views/DiscussionsView.vue +++ b/web/src/views/DiscussionsView.vue @@ -1,55 +1,55 @@