diff --git a/365085a8-a90a-43f9-a779-f8769ec7eca1.html b/365085a8-a90a-43f9-a779-f8769ec7eca1.html index 966ea6b66b..1213a90d81 100644 --- a/365085a8-a90a-43f9-a779-f8769ec7eca1.html +++ b/365085a8-a90a-43f9-a779-f8769ec7eca1.html @@ -10,8 +10,8 @@ - - + + diff --git a/404.html b/404.html index 4b1279ab08..9115e4a3c0 100644 --- a/404.html +++ b/404.html @@ -10,8 +10,8 @@ - - + + diff --git a/Starter-Projects/starter-projects-complex-agent.html b/Starter-Projects/starter-projects-complex-agent.html index 16d8c5c20d..e8c5d264db 100644 --- a/Starter-Projects/starter-projects-complex-agent.html +++ b/Starter-Projects/starter-projects-complex-agent.html @@ -10,8 +10,8 @@ - - + + diff --git a/Starter-Projects/starter-projects-hierarchical-crew.html b/Starter-Projects/starter-projects-hierarchical-crew.html index 88f9ae491c..81f08090de 100644 --- a/Starter-Projects/starter-projects-hierarchical-crew.html +++ b/Starter-Projects/starter-projects-hierarchical-crew.html @@ -10,8 +10,8 @@ - - + + diff --git a/Starter-Projects/starter-projects-sequential-crew.html b/Starter-Projects/starter-projects-sequential-crew.html index 09e76d4de1..8382caa093 100644 --- a/Starter-Projects/starter-projects-sequential-crew.html +++ b/Starter-Projects/starter-projects-sequential-crew.html @@ -10,8 +10,8 @@ - - + + diff --git a/assets/js/0be1d5fe.4524db73.js b/assets/js/0be1d5fe.4524db73.js deleted file mode 100644 index 6127e6900a..0000000000 --- a/assets/js/0be1d5fe.4524db73.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[145],{75:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>l,toc:()=>c});var t=s(4848),i=s(8453);const r={title:"Models",sidebar_position:5,slug:"/components-models"},o=void 0,l={id:"Components/components-models",title:"Models",description:"This page may contain outdated information. It will be updated as soon as possible.",source:"@site/docs/Components/components-models.md",sourceDirName:"Components",slug:"/components-models",permalink:"/components-models",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{title:"Models",sidebar_position:5,slug:"/components-models"},sidebar:"defaultSidebar",previous:{title:"Helpers",permalink:"/components-helpers"},next:{title:"Embedding Models",permalink:"/components-embedding-models"}},d={},c=[{value:"Amazon Bedrock",id:"3b8ceacef3424234814f95895a25bf43",level:2},{value:"Anthropic",id:"a6ae46f98c4c4d389d44b8408bf151a1",level:2},{value:"Azure OpenAI",id:"7e3bff29ce714479b07feeb4445680cd",level:2},{value:"Cohere",id:"706396a33bf94894966c95571252d78b",level:2},{value:"Google Generative AI",id:"074d9623463449f99d41b44699800e8a",level:2},{value:"Hugging Face API",id:"c1267b9a6b36487cb2ee127ce9b64dbb",level:2},{value:"LiteLLM Model",id:"9fb59dad3b294a05966320d39f483a50",level:2},{value:"Ollama",id:"14e8e411d28d4711add53bfc3e52c6cd",level:2},{value:"OpenAI",id:"fe6cd793446748eda6eaad72e30f70b3",level:2},{value:"Qianfan",id:"6e4a6b2370ee4b9f8beb899e7cf9c8f6",level:2},{value:"Vertex AI",id:"86b7d539e17c436fb758c47ec3ffb084",level:2}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"This page may contain outdated information. It will be updated as soon as possible."})}),"\n",(0,t.jsx)(n.h2,{id:"3b8ceacef3424234814f95895a25bf43",children:"Amazon Bedrock"}),"\n",(0,t.jsx)(n.p,{children:"This component facilitates the generation of text using the LLM (Large Language Model) model from Amazon Bedrock."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0Specifies the input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model ID (Optional):"}),"\xa0Specifies the model ID to be used for text generation. Defaults to\xa0",(0,t.jsx)(n.code,{children:'"anthropic.claude-instant-v1"'}),". Available options include:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ai21.j2-grande-instruct"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ai21.j2-jumbo-instruct"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ai21.j2-mid"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ai21.j2-mid-v1"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ai21.j2-ultra"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ai21.j2-ultra-v1"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"anthropic.claude-instant-v1"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"anthropic.claude-v1"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"anthropic.claude-v2"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"cohere.command-text-v14"'})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Credentials Profile Name (Optional):"}),"\xa0Specifies the name of the credentials profile."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Region Name (Optional):"}),"\xa0Specifies the region name."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Kwargs (Optional):"}),"\xa0Additional keyword arguments for the model."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Endpoint URL (Optional):"}),"\xa0Specifies the endpoint URL."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Streaming (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Cache (Optional):"}),"\xa0Specifies whether to cache the response."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"NOTE"}),"\n",(0,t.jsx)(n.p,{children:"Ensure that necessary credentials are provided to connect to the Amazon Bedrock API. If connection fails, a ValueError will be raised."}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"a6ae46f98c4c4d389d44b8408bf151a1",children:"Anthropic"}),"\n",(0,t.jsx)(n.p,{children:"This component allows the generation of text using Anthropic Chat&Completion large language models."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Name:"}),"\xa0Specifies the name of the Anthropic model to be used for text generation. Available options include (and not limited to):","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"claude-2.1"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"claude-2.0"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"claude-instant-1.2"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"claude-instant-1"'})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Anthropic API Key:"}),"\xa0Your Anthropic API key."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Tokens (Optional):"}),"\xa0Specifies the maximum number of tokens to generate. Defaults to\xa0",(0,t.jsx)(n.code,{children:"256"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature (Optional):"}),"\xa0Specifies the sampling temperature. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.7"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"API Endpoint (Optional):"}),"\xa0Specifies the endpoint of the Anthropic API. Defaults to\xa0",(0,t.jsx)(n.code,{children:'"https://api.anthropic.com"'}),"if not specified."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0Specifies the input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["For detailed documentation and integration guides, please refer to the\xa0",(0,t.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/chat/anthropic",children:"Anthropic Component Documentation"}),"."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"7e3bff29ce714479b07feeb4445680cd",children:"Azure OpenAI"}),"\n",(0,t.jsx)(n.p,{children:"This component allows the generation of text using the LLM (Large Language Model) model from Azure OpenAI."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Name:"}),"\xa0Specifies the name of the Azure OpenAI model to be used for text generation. Available options include:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-35-turbo"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-35-turbo-16k"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-35-turbo-instruct"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-4"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-4-32k"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-4-vision"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"gpt-4o"'})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Azure Endpoint:"}),"\xa0Your Azure endpoint, including the resource. Example:\xa0",(0,t.jsx)(n.code,{children:"https://example-resource.azure.openai.com/"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Deployment Name:"}),"\xa0Specifies the name of the deployment."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"API Version:"}),"\xa0Specifies the version of the Azure OpenAI API to be used. Available options include:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-03-15-preview"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-05-15"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-06-01-preview"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-07-01-preview"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-08-01-preview"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-09-01-preview"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"2023-12-01-preview"'})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"API Key:"}),"\xa0Your Azure OpenAI API key."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature (Optional):"}),"\xa0Specifies the sampling temperature. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.7"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Tokens (Optional):"}),"\xa0Specifies the maximum number of tokens to generate. Defaults to\xa0",(0,t.jsx)(n.code,{children:"1000"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0Specifies the input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["For detailed documentation and integration guides, please refer to the\xa0",(0,t.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/llms/azure_openai",children:"Azure OpenAI Component Documentation"}),"."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"706396a33bf94894966c95571252d78b",children:"Cohere"}),"\n",(0,t.jsx)(n.p,{children:"This component enables text generation using Cohere large language models."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Cohere API Key:"}),"\xa0Your Cohere API key."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Tokens (Optional):"}),"\xa0Specifies the maximum number of tokens to generate. Defaults to\xa0",(0,t.jsx)(n.code,{children:"256"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature (Optional):"}),"\xa0Specifies the sampling temperature. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.75"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0Specifies the input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"074d9623463449f99d41b44699800e8a",children:"Google Generative AI"}),"\n",(0,t.jsx)(n.p,{children:"This component enables text generation using Google Generative AI."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Google API Key:"}),"\xa0Your Google API key to use for the Google Generative AI."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model:"}),"\xa0The name of the model to use. Supported examples are\xa0",(0,t.jsx)(n.code,{children:'"gemini-pro"'}),"\xa0and\xa0",(0,t.jsx)(n.code,{children:'"gemini-pro-vision"'}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Output Tokens (Optional):"}),"\xa0The maximum number of tokens to generate."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature:"}),"\xa0Run inference with this temperature. Must be in the closed interval [0.0, 1.0]."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top K (Optional):"}),"\xa0Decode using top-k sampling: consider the set of top_k most probable tokens. Must be positive."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top P (Optional):"}),"\xa0The maximum cumulative probability of tokens to consider when sampling."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"N (Optional):"}),"\xa0Number of chat completions to generate for each prompt. Note that the API may not return the full n completions if duplicates are generated."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0The input to the model."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"c1267b9a6b36487cb2ee127ce9b64dbb",children:"Hugging Face API"}),"\n",(0,t.jsx)(n.p,{children:"This component facilitates text generation using LLM models from the Hugging Face Inference API."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Endpoint URL:"}),"\xa0The URL of the Hugging Face Inference API endpoint. Should be provided along with necessary authentication credentials."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Task:"}),"\xa0Specifies the task for text generation. Options include\xa0",(0,t.jsx)(n.code,{children:'"text2text-generation"'}),",\xa0",(0,t.jsx)(n.code,{children:'"text-generation"'}),", and\xa0",(0,t.jsx)(n.code,{children:'"summarization"'}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"API Token:"}),"\xa0The API token required for authentication with the Hugging Face Hub."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Keyword Arguments (Optional):"}),"\xa0Additional keyword arguments for the model. Should be provided as a Python dictionary."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0The input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"9fb59dad3b294a05966320d39f483a50",children:"LiteLLM Model"}),"\n",(0,t.jsxs)(n.p,{children:["Generates text using the\xa0",(0,t.jsx)(n.code,{children:"LiteLLM"}),"\xa0collection of large language models."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Parameters"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model name:"}),"\xa0The name of the model to use. For example,\xa0",(0,t.jsx)(n.code,{children:"gpt-3.5-turbo"}),". (Type: str)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"API key:"}),"\xa0The API key to use for accessing the provider's API. (Type: str, Optional)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Provider:"}),'\xa0The provider of the API key. (Type: str, Choices: "OpenAI", "Azure", "Anthropic", "Replicate", "Cohere", "OpenRouter")']}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature:"}),"\xa0Controls the randomness of the text generation. (Type: float, Default: 0.7)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model kwargs:"}),"\xa0Additional keyword arguments for the model. (Type: Dict, Optional)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top p:"}),"\xa0Filter responses to keep the cumulative probability within the top p tokens. (Type: float, Optional)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top k:"}),"\xa0Filter responses to only include the top k tokens. (Type: int, Optional)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"N:"}),"\xa0Number of chat completions to generate for each prompt. (Type: int, Default: 1)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max tokens:"}),"\xa0The maximum number of tokens to generate for each chat completion. (Type: int, Default: 256)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max retries:"}),"\xa0Maximum number of retries for failed requests. (Type: int, Default: 6)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Verbose:"}),"\xa0Whether to print verbose output. (Type: bool, Default: False)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input:"}),"\xa0The input prompt for text generation. (Type: str)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream:"}),"\xa0Whether to stream the output. (Type: bool, Default: False)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System message:"}),"\xa0System message to pass to the model. (Type: str, Optional)"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"14e8e411d28d4711add53bfc3e52c6cd",children:"Ollama"}),"\n",(0,t.jsx)(n.p,{children:"Generate text using Ollama Local LLMs."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Parameters"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Base URL:"}),"\xa0Endpoint of the Ollama API. Defaults to '",(0,t.jsx)(n.a,{href:"http://localhost:11434/",children:"http://localhost:11434"}),"' if not specified."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Name:"}),"\xa0The model name to use. Refer to\xa0",(0,t.jsx)(n.a,{href:"https://ollama.ai/library",children:"Ollama Library"}),"\xa0for more models."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature:"}),"\xa0Controls the creativity of model responses. (Default: 0.8)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Cache:"}),"\xa0Enable or disable caching. (Default: False)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Format:"}),"\xa0Specify the format of the output (e.g., json). (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Metadata:"}),"\xa0Metadata to add to the run trace. (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Mirostat:"}),"\xa0Enable/disable Mirostat sampling for controlling perplexity. (Default: Disabled)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Mirostat Eta:"}),"\xa0Learning rate for Mirostat algorithm. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Mirostat Tau:"}),"\xa0Controls the balance between coherence and diversity of the output. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Context Window Size:"}),"\xa0Size of the context window for generating tokens. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Number of GPUs:"}),"\xa0Number of GPUs to use for computation. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Number of Threads:"}),"\xa0Number of threads to use during computation. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Repeat Last N:"}),"\xa0How far back the model looks to prevent repetition. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Repeat Penalty:"}),"\xa0Penalty for repetitions in generated text. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"TFS Z:"}),"\xa0Tail free sampling value. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Timeout:"}),"\xa0Timeout for the request stream. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top K:"}),"\xa0Limits token selection to top K. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top P:"}),"\xa0Works together with top-k. (Default: None) (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Verbose:"}),"\xa0Whether to print out response text."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Tags:"}),"\xa0Tags to add to the run trace. (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stop Tokens:"}),"\xa0List of tokens to signal the model to stop generating text. (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System:"}),"\xa0System to use for generating text. (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Template:"}),"\xa0Template to use for generating text. (Advanced)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input:"}),"\xa0The input text."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream:"}),"\xa0Whether to stream the response."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message:"}),"\xa0System message to pass to the model. (Advanced)"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"fe6cd793446748eda6eaad72e30f70b3",children:"OpenAI"}),"\n",(0,t.jsx)(n.p,{children:"This component facilitates text generation using OpenAI's models."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0The input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Tokens (Optional):"}),"\xa0The maximum number of tokens to generate. Defaults to\xa0",(0,t.jsx)(n.code,{children:"256"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Kwargs (Optional):"}),"\xa0Additional keyword arguments for the model. Should be provided as a nested dictionary."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Name (Optional):"}),"\xa0The name of the model to use. Defaults to\xa0",(0,t.jsx)(n.code,{children:"gpt-4-1106-preview"}),". Supported options include:\xa0",(0,t.jsx)(n.code,{children:"gpt-4-turbo-preview"}),",\xa0",(0,t.jsx)(n.code,{children:"gpt-4-0125-preview"}),",\xa0",(0,t.jsx)(n.code,{children:"gpt-4-1106-preview"}),",\xa0",(0,t.jsx)(n.code,{children:"gpt-4-vision-preview"}),",\xa0",(0,t.jsx)(n.code,{children:"gpt-3.5-turbo-0125"}),",\xa0",(0,t.jsx)(n.code,{children:"gpt-3.5-turbo-1106"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"OpenAI API Base (Optional):"}),"\xa0The base URL of the OpenAI API. Defaults to\xa0",(0,t.jsx)(n.code,{children:"https://api.openai.com/v1"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"OpenAI API Key (Optional):"}),"\xa0The API key for accessing the OpenAI API."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature:"}),"\xa0Controls the creativity of model responses. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.7"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0System message to pass to the model."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"6e4a6b2370ee4b9f8beb899e7cf9c8f6",children:"Qianfan"}),"\n",(0,t.jsx)(n.p,{children:"This component facilitates the generation of text using Baidu Qianfan chat models."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Name:"}),"\xa0Specifies the name of the Qianfan chat model to be used for text generation. Available options include:","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ERNIE-Bot"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ERNIE-Bot-turbo"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"BLOOMZ-7B"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"Llama-2-7b-chat"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"Llama-2-13b-chat"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"Llama-2-70b-chat"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"Qianfan-BLOOMZ-7B-compressed"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"Qianfan-Chinese-Llama-2-7B"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"ChatGLM2-6B-32K"'})}),"\n",(0,t.jsx)(n.li,{children:(0,t.jsx)(n.code,{children:'"AquilaChat-7B"'})}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Qianfan Ak:"}),"\xa0Your Baidu Qianfan access key, obtainable from\xa0",(0,t.jsx)(n.a,{href:"https://cloud.baidu.com/product/wenxinworkshop",children:"here"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Qianfan Sk:"}),"\xa0Your Baidu Qianfan secret key, obtainable from\xa0",(0,t.jsx)(n.a,{href:"https://cloud.baidu.com/product/wenxinworkshop",children:"here"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top p (Optional):"}),"\xa0Model parameter. Specifies the top-p value. Only supported in ERNIE-Bot and ERNIE-Bot-turbo models. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.8"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature (Optional):"}),"\xa0Model parameter. Specifies the sampling temperature. Only supported in ERNIE-Bot and ERNIE-Bot-turbo models. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.95"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Penalty Score (Optional):"}),"\xa0Model parameter. Specifies the penalty score. Only supported in ERNIE-Bot and ERNIE-Bot-turbo models. Defaults to\xa0",(0,t.jsx)(n.code,{children:"1.0"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Endpoint (Optional):"}),"\xa0Endpoint of the Qianfan LLM, required if custom model is used."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0Specifies the input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0A system message to pass to the model."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"86b7d539e17c436fb758c47ec3ffb084",children:"Vertex AI"}),"\n",(0,t.jsxs)(n.p,{children:["The\xa0",(0,t.jsx)(n.code,{children:"ChatVertexAI"}),"\xa0is a component for generating text using Vertex AI Chat large language models API."]}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Params"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Credentials:"}),"\xa0The JSON file containing the credentials for accessing the Vertex AI Chat API."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Project:"}),"\xa0The name of the project associated with the Vertex AI Chat API."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Examples (Optional):"}),"\xa0List of examples to provide context for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Location:"}),"\xa0The location of the Vertex AI Chat API service. Defaults to\xa0",(0,t.jsx)(n.code,{children:"us-central1"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Output Tokens:"}),"\xa0The maximum number of tokens to generate. Defaults to\xa0",(0,t.jsx)(n.code,{children:"128"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Model Name:"}),"\xa0The name of the model to use. Defaults to\xa0",(0,t.jsx)(n.code,{children:"chat-bison"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Temperature:"}),"\xa0Controls the creativity of model responses. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.0"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Input Value:"}),"\xa0The input text for text generation."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top K:"}),"\xa0Limits token selection to top K. Defaults to\xa0",(0,t.jsx)(n.code,{children:"40"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Top P:"}),"\xa0Works together with top-k. Defaults to\xa0",(0,t.jsx)(n.code,{children:"0.95"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Verbose:"}),"\xa0Whether to print out response text. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Stream (Optional):"}),"\xa0Specifies whether to stream the response from the model. Defaults to\xa0",(0,t.jsx)(n.code,{children:"False"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"System Message (Optional):"}),"\xa0System message to pass to the model."]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>l});var t=s(6540);const i={},r=t.createContext(i);function o(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0be1d5fe.6a62a03b.js b/assets/js/0be1d5fe.6a62a03b.js new file mode 100644 index 0000000000..b32ce12613 --- /dev/null +++ b/assets/js/0be1d5fe.6a62a03b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[145],{75:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>i,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>c});var r=n(4848),s=n(8453);const d={title:"Models",sidebar_position:5,slug:"/components-models"},i="Models",l={id:"Components/components-models",title:"Models",description:"Model components are used to generate text using language models. These components can be used to generate text for various tasks such as chatbots, content generation, and more.",source:"@site/docs/Components/components-models.md",sourceDirName:"Components",slug:"/components-models",permalink:"/components-models",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{title:"Models",sidebar_position:5,slug:"/components-models"},sidebar:"defaultSidebar",previous:{title:"Helpers",permalink:"/components-helpers"},next:{title:"Embedding Models",permalink:"/components-embedding-models"}},h={},c=[{value:"AI/ML API",id:"aiml-api",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Outputs",id:"outputs",level:4},{value:"Amazon Bedrock",id:"amazon-bedrock",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Inputs",id:"inputs-1",level:4},{value:"Outputs",id:"outputs-1",level:4},{value:"Anthropic",id:"anthropic",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Inputs",id:"inputs-2",level:4},{value:"Outputs",id:"outputs-2",level:4},{value:"Azure OpenAI",id:"azure-openai",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Inputs",id:"inputs-3",level:4},{value:"Cohere",id:"cohere",level:2},{value:"Parameters",id:"parameters-4",level:3},{value:"Inputs",id:"inputs-4",level:4},{value:"Google Generative AI",id:"google-generative-ai",level:2},{value:"Parameters",id:"parameters-5",level:3},{value:"Inputs",id:"inputs-5",level:4},{value:"Groq",id:"groq",level:2},{value:"Parameters",id:"parameters-6",level:3},{value:"Inputs",id:"inputs-6",level:4},{value:"Outputs",id:"outputs-3",level:4},{value:"Hugging Face API",id:"hugging-face-api",level:2},{value:"Parameters",id:"parameters-7",level:3},{value:"Inputs",id:"inputs-7",level:4},{value:"Maritalk",id:"maritalk",level:2},{value:"Parameters",id:"parameters-8",level:3},{value:"Inputs",id:"inputs-8",level:4},{value:"Outputs",id:"outputs-4",level:4},{value:"Mistral",id:"mistral",level:2},{value:"Parameters",id:"parameters-9",level:3},{value:"Inputs",id:"inputs-9",level:4},{value:"Outputs",id:"outputs-5",level:4},{value:"NVIDIA",id:"nvidia",level:2},{value:"Parameters",id:"parameters-10",level:3},{value:"Inputs",id:"inputs-10",level:4},{value:"Outputs",id:"outputs-6",level:4},{value:"Ollama",id:"ollama",level:2},{value:"Parameters",id:"parameters-11",level:3},{value:"Inputs",id:"inputs-11",level:4},{value:"OpenAI",id:"openai",level:2},{value:"Parameters",id:"parameters-12",level:3},{value:"Inputs",id:"inputs-12",level:4},{value:"Outputs",id:"outputs-7",level:4},{value:"Qianfan",id:"qianfan",level:2},{value:"Perplexity",id:"perplexity",level:2},{value:"Parameters",id:"parameters-13",level:3},{value:"Inputs",id:"inputs-13",level:4},{value:"Outputs",id:"outputs-8",level:4},{value:"VertexAI",id:"vertexai",level:2},{value:"Parameters",id:"parameters-14",level:3},{value:"Inputs",id:"inputs-14",level:4},{value:"Outputs",id:"outputs-9",level:4}];function a(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"models",children:"Models"}),"\n",(0,r.jsx)(t.p,{children:"Model components are used to generate text using language models. These components can be used to generate text for various tasks such as chatbots, content generation, and more."}),"\n",(0,r.jsx)(t.h2,{id:"aiml-api",children:"AI/ML API"}),"\n",(0,r.jsx)(t.p,{children:"This component creates a ChatOpenAI model instance using the AIML API."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://docs.aimlapi.com/",children:"AIML documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens. Range: 0-128000."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_kwargs"}),(0,r.jsx)(t.td,{children:"Dictionary"}),(0,r.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"The name of the AIML model to use. Options are predefined in AIML_CHAT_MODELS."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"aiml_api_base"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsxs)(t.td,{children:["The base URL of the AIML API. Defaults to ",(0,r.jsx)(t.a,{href:"https://api.aimlapi.com",children:"https://api.aimlapi.com"}),"."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"The AIML API Key to use for the model."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.1."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"seed"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Controls reproducibility of the job."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatOpenAI configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"amazon-bedrock",children:"Amazon Bedrock"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Amazon Bedrock LLMs."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://docs.aws.amazon.com/bedrock",children:"Amazon Bedrock documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-1",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_id"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"The ID of the Amazon Bedrock model to use. Options include various models."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"aws_access_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"AWS Access Key for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"aws_secret_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"AWS Secret Key for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"credentials_profile_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"Name of the AWS credentials profile to use (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"region_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'AWS region name. Default: "us-east-1".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_kwargs"}),(0,r.jsx)(t.td,{children:"Dictionary"}),(0,r.jsx)(t.td,{children:"Additional keyword arguments for the model (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"endpoint_url"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"Custom endpoint URL for the Bedrock service (advanced)."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-1",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatBedrock configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"anthropic",children:"Anthropic"}),"\n",(0,r.jsx)(t.p,{children:"This component allows the generation of text using Anthropic Chat and Language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see the ",(0,r.jsx)(t.a,{href:"https://docs.anthropic.com/en/docs/welcome",children:"Anthropic documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-2",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens. Default: 4096."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"The name of the Anthropic model to use. Options include various Claude 3 models."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"anthropic_api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"Your Anthropic API key for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.1."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"anthropic_api_url"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsxs)(t.td,{children:["Endpoint of the Anthropic API. Defaults to '",(0,r.jsx)(t.a,{href:"https://api.anthropic.com",children:"https://api.anthropic.com"}),"' if not specified (advanced)."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"prefill"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"Prefill text to guide the model's response (advanced)."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-2",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatAnthropic configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"azure-openai",children:"Azure OpenAI"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Azure OpenAI LLM."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see the ",(0,r.jsx)(t.a,{href:"https://learn.microsoft.com/en-us/azure/ai-services/openai/",children:"Azure OpenAI documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-3",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Model Name"}),(0,r.jsx)(t.td,{children:"Model Name"}),(0,r.jsx)(t.td,{children:"Specifies the name of the Azure OpenAI model to be used for text generation."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Azure Endpoint"}),(0,r.jsx)(t.td,{children:"Azure Endpoint"}),(0,r.jsx)(t.td,{children:"Your Azure endpoint, including the resource."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Deployment Name"}),(0,r.jsx)(t.td,{children:"Deployment Name"}),(0,r.jsx)(t.td,{children:"Specifies the name of the deployment."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"API Version"}),(0,r.jsx)(t.td,{children:"API Version"}),(0,r.jsx)(t.td,{children:"Specifies the version of the Azure OpenAI API to be used."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"API Key"}),(0,r.jsx)(t.td,{children:"API Key"}),(0,r.jsx)(t.td,{children:"Your Azure OpenAI API key."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsxs)(t.td,{children:["Specifies the sampling temperature. Defaults to ",(0,r.jsx)(t.code,{children:"0.7"}),"."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Max Tokens"}),(0,r.jsx)(t.td,{children:"Max Tokens"}),(0,r.jsxs)(t.td,{children:["Specifies the maximum number of tokens to generate. Defaults to ",(0,r.jsx)(t.code,{children:"1000"}),"."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Input Value"}),(0,r.jsx)(t.td,{children:"Input Value"}),(0,r.jsx)(t.td,{children:"Specifies the input text for text generation."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Stream"}),(0,r.jsx)(t.td,{children:"Stream"}),(0,r.jsxs)(t.td,{children:["Specifies whether to stream the response from the model. Defaults to ",(0,r.jsx)(t.code,{children:"False"}),"."]})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"cohere",children:"Cohere"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Cohere's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see the ",(0,r.jsx)(t.a,{href:"https://cohere.ai/",children:"Cohere documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-4",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-4",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Cohere API Key"}),(0,r.jsx)(t.td,{children:"Cohere API Key"}),(0,r.jsx)(t.td,{children:"Your Cohere API key."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Max Tokens"}),(0,r.jsx)(t.td,{children:"Max Tokens"}),(0,r.jsxs)(t.td,{children:["Specifies the maximum number of tokens to generate. Defaults to ",(0,r.jsx)(t.code,{children:"256"}),"."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsxs)(t.td,{children:["Specifies the sampling temperature. Defaults to ",(0,r.jsx)(t.code,{children:"0.75"}),"."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Input Value"}),(0,r.jsx)(t.td,{children:"Input Value"}),(0,r.jsx)(t.td,{children:"Specifies the input text for text generation."})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"google-generative-ai",children:"Google Generative AI"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Google's Generative AI models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see the ",(0,r.jsx)(t.a,{href:"https://cloud.google.com/ai-platform/training/docs/algorithms/gpt-3",children:"Google Generative AI documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-5",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-5",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Google API Key"}),(0,r.jsx)(t.td,{children:"Google API Key"}),(0,r.jsx)(t.td,{children:"Your Google API key to use for the Google Generative AI."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Model"}),(0,r.jsx)(t.td,{children:"Model"}),(0,r.jsxs)(t.td,{children:["The name of the model to use, such as ",(0,r.jsx)(t.code,{children:'"gemini-pro"'}),"."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Max Output Tokens"}),(0,r.jsx)(t.td,{children:"Max Output Tokens"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsx)(t.td,{children:"Run inference with this temperature."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Top K"}),(0,r.jsx)(t.td,{children:"Top K"}),(0,r.jsx)(t.td,{children:"Consider the set of top K most probable tokens."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Top P"}),(0,r.jsx)(t.td,{children:"Top P"}),(0,r.jsx)(t.td,{children:"The maximum cumulative probability of tokens to consider when sampling."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"N"}),(0,r.jsx)(t.td,{children:"N"}),(0,r.jsx)(t.td,{children:"Number of chat completions to generate for each prompt."})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"groq",children:"Groq"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Groq's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see the ",(0,r.jsx)(t.a,{href:"https://groq.com/",children:"Groq documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-6",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-6",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"groq_api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"API key for the Groq API."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"groq_api_base"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsxs)(t.td,{children:['Base URL path for API requests. Default: "',(0,r.jsx)(t.a,{href:"https://api.groq.com",children:"https://api.groq.com"}),'" (advanced).']})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.1."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"n"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Number of chat completions to generate for each prompt (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"The name of the Groq model to use. Options are dynamically fetched from the Groq API."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-3",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatGroq configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"hugging-face-api",children:"Hugging Face API"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Hugging Face's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see the ",(0,r.jsx)(t.a,{href:"https://huggingface.co/",children:"Hugging Face documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-7",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-7",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Endpoint URL"}),(0,r.jsx)(t.td,{children:"Endpoint URL"}),(0,r.jsx)(t.td,{children:"The URL of the Hugging Face Inference API endpoint."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Task"}),(0,r.jsx)(t.td,{children:"Task"}),(0,r.jsx)(t.td,{children:"Specifies the task for text generation."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"API Token"}),(0,r.jsx)(t.td,{children:"API Token"}),(0,r.jsx)(t.td,{children:"The API token required for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Model Kwargs"}),(0,r.jsx)(t.td,{children:"Model Kwargs"}),(0,r.jsx)(t.td,{children:"Additional keyword arguments for the model."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Input Value"}),(0,r.jsx)(t.td,{children:"Input Value"}),(0,r.jsx)(t.td,{children:"The input text for text generation."})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"maritalk",children:"Maritalk"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Maritalk LLMs."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://www.maritalk.com/",children:"Maritalk documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-8",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-8",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens. Default: 512."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'The name of the Maritalk model to use. Options: "sabia-2-small", "sabia-2-medium". Default: "sabia-2-small".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"The Maritalk API Key to use for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.5."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"endpoint_url"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsxs)(t.td,{children:["The Maritalk API endpoint. Default: ",(0,r.jsx)(t.a,{href:"https://api.maritalk.com",children:"https://api.maritalk.com"}),"."]})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-4",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatMaritalk configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"mistral",children:"Mistral"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using MistralAI LLMs."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://docs.mistral.ai/",children:"Mistral AI documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-9",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-9",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'The name of the Mistral AI model to use. Options include "open-mixtral-8x7b", "open-mixtral-8x22b", "mistral-small-latest", "mistral-medium-latest", "mistral-large-latest", and "codestral-latest". Default: "codestral-latest".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"mistral_api_base"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsxs)(t.td,{children:["The base URL of the Mistral API. Defaults to ",(0,r.jsx)(t.a,{href:"https://api.mistral.ai/v1",children:"https://api.mistral.ai/v1"})," (advanced)."]})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"The Mistral API Key to use for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.5."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_retries"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Maximum number of retries for API calls. Default: 5 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"timeout"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Timeout for API calls in seconds. Default: 60 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_concurrent_requests"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Maximum number of concurrent API requests. Default: 3 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"top_p"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Nucleus sampling parameter. Default: 1 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"random_seed"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Seed for random number generation. Default: 1 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"safe_mode"}),(0,r.jsx)(t.td,{children:"Boolean"}),(0,r.jsx)(t.td,{children:"Enables safe mode for content generation (advanced)."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-5",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatMistralAI configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"nvidia",children:"NVIDIA"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using NVIDIA LLMs."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://developer.nvidia.com/ai-foundation-models",children:"NVIDIA AI Foundation Models documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-10",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-10",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'The name of the NVIDIA model to use. Default: "mistralai/mixtral-8x7b-instruct-v0.1".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"base_url"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsxs)(t.td,{children:['The base URL of the NVIDIA API. Default: "',(0,r.jsx)(t.a,{href:"https://integrate.api.nvidia.com/v1",children:"https://integrate.api.nvidia.com/v1"}),'".']})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"nvidia_api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"The NVIDIA API Key for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.1."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"seed"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The seed controls the reproducibility of the job (advanced). Default: 1."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-6",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatNVIDIA configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"ollama",children:"Ollama"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Ollama's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://ollama.com/",children:"Ollama documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-11",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-11",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Base URL"}),(0,r.jsx)(t.td,{children:"Base URL"}),(0,r.jsx)(t.td,{children:"Endpoint of the Ollama API."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Model Name"}),(0,r.jsx)(t.td,{children:"Model Name"}),(0,r.jsx)(t.td,{children:"The model name to use."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsx)(t.td,{children:"Temperature"}),(0,r.jsx)(t.td,{children:"Controls the creativity of model responses."})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"openai",children:"OpenAI"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using OpenAI's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://beta.openai.com/docs/",children:"OpenAI documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-12",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-12",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"Your OpenAI API Key."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'The name of the OpenAI model to use. Options include "gpt-3.5-turbo" and "gpt-4".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate. Set to 0 for unlimited tokens."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Range: [0.0, 1.0]. Default: 0.7."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"top_p"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls the nucleus sampling. Range: [0.0, 1.0]. Default: 1.0."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"frequency_penalty"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls the frequency penalty. Range: [0.0, 2.0]. Default: 0.0."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"presence_penalty"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls the presence penalty. Range: [0.0, 2.0]. Default: 0.0."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-7",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of OpenAI model configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"qianfan",children:"Qianfan"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Qianfan's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://github.com/baidubce/bce-qianfan-sdk",children:"Qianfan documentation"}),"."]}),"\n",(0,r.jsx)(t.h2,{id:"perplexity",children:"Perplexity"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Perplexity's language models."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://perplexity.ai/",children:"Perplexity documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-13",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-13",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"The name of the Perplexity model to use. Options include various Llama 3.1 models."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_output_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"api_key"}),(0,r.jsx)(t.td,{children:"SecretString"}),(0,r.jsx)(t.td,{children:"The Perplexity API Key for authentication."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.75."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"top_p"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"The maximum cumulative probability of tokens to consider when sampling (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"n"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Number of chat completions to generate for each prompt (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"top_k"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Number of top tokens to consider for top-k sampling. Must be positive (advanced)."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-8",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatPerplexity configured with the specified parameters."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"vertexai",children:"VertexAI"}),"\n",(0,r.jsx)(t.p,{children:"This component generates text using Vertex AI LLMs."}),"\n",(0,r.jsxs)(t.p,{children:["For more information, see ",(0,r.jsx)(t.a,{href:"https://cloud.google.com/vertex-ai",children:"Google Vertex AI documentation"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-14",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-14",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"credentials"}),(0,r.jsx)(t.td,{children:"File"}),(0,r.jsx)(t.td,{children:"JSON credentials file. Leave empty to fallback to environment variables. File type: JSON."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model_name"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'The name of the Vertex AI model to use. Default: "gemini-1.5-pro".'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"project"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"The project ID (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"location"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:'The location for the Vertex AI API. Default: "us-central1" (advanced).'})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_output_tokens"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The maximum number of tokens to generate (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_retries"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"Maximum number of retries for API calls. Default: 1 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"temperature"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"Controls randomness in the output. Default: 0.0."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"top_k"}),(0,r.jsx)(t.td,{children:"Integer"}),(0,r.jsx)(t.td,{children:"The number of highest probability vocabulary tokens to keep for top-k-filtering (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"top_p"}),(0,r.jsx)(t.td,{children:"Float"}),(0,r.jsx)(t.td,{children:"The cumulative probability of parameter highest probability vocabulary tokens to keep for nucleus sampling. Default: 0.95 (advanced)."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"verbose"}),(0,r.jsx)(t.td,{children:"Boolean"}),(0,r.jsx)(t.td,{children:"Whether to print verbose output. Default: False (advanced)."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-9",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"model"}),(0,r.jsx)(t.td,{children:"LanguageModel"}),(0,r.jsx)(t.td,{children:"An instance of ChatVertexAI configured with the specified parameters."})]})})]})]})}function o(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>l});var r=n(6540);const s={},d=r.createContext(s);function i(e){const t=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(d.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/11478de3.a5274620.js b/assets/js/11478de3.a5274620.js deleted file mode 100644 index 39090fd9bb..0000000000 --- a/assets/js/11478de3.a5274620.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7258],{7431:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>a,toc:()=>l});var s=r(4848),t=r(8453);const o={title:"RAG",sidebar_position:9,slug:"/components-rag"},i=void 0,a={id:"Components/components-rag",title:"RAG",description:"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user's question.",source:"@site/docs/Components/components-rag.md",sourceDirName:"Components",slug:"/components-rag",permalink:"/components-rag",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:9,frontMatter:{title:"RAG",sidebar_position:9,slug:"/components-rag"},sidebar:"defaultSidebar",previous:{title:"Custom Components",permalink:"/components-custom-components"},next:{title:"Loaders",permalink:"/components-loaders"}},c={},l=[{value:"Vectara",id:"vectara",level:3}];function d(e){const n={a:"a",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user's question."}),"\n",(0,s.jsx)(n.h3,{id:"vectara",children:"Vectara"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Vectara"})," performs RAG using a Vectara corpus, including document retrieval, reranking results, and summary generation."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara Customer ID:"})," Customer ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara Corpus ID:"})," Corpus ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara API Key:"})," API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Query:"})," User query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Lexical Interpolation:"})," How much to weigh lexical vs. embedding scores."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metadata Filters:"})," Filters to narrow down the search documents and parts."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Reranker Type:"})," How to rerank the retrieved results."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Number of Results to Rerank:"})," Maximum reranked results."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Diversity Bias:"})," How much to diversify retrieved results (only for MMR reranker)."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Max Results to Summarize:"})," Maximum search results to provide to summarizer."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Response Language:"})," The language code (use ISO 639-1 or 639-3 codes) of the summary."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Prompt Name:"})," The summarizer prompt."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For more information, consult the ",(0,s.jsx)(n.a,{href:"https://docs.vectara.com/docs",children:"Vectara documentation"})]})]})}function u(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>i,x:()=>a});var s=r(6540);const t={},o=s.createContext(t);function i(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/11478de3.a9a0ccb4.js b/assets/js/11478de3.a9a0ccb4.js new file mode 100644 index 0000000000..19dfcaf9d7 --- /dev/null +++ b/assets/js/11478de3.a9a0ccb4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7258],{7431:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>a,contentTitle:()=>d,default:()=>h,frontMatter:()=>i,metadata:()=>c,toc:()=>o});var n=r(4848),s=r(8453);const i={title:"RAG",sidebar_position:9,slug:"/components-rag"},d=void 0,c={id:"Components/components-rag",title:"RAG",description:"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user's question.",source:"@site/docs/Components/components-rag.md",sourceDirName:"Components",slug:"/components-rag",permalink:"/components-rag",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:9,frontMatter:{title:"RAG",sidebar_position:9,slug:"/components-rag"},sidebar:"defaultSidebar",previous:{title:"Custom Components",permalink:"/components-custom-components"},next:{title:"Loaders",permalink:"/components-loaders"}},a={},o=[{value:"Vectara RAG",id:"vectara-rag",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Outputs",id:"outputs",level:4}];function l(e){const t={a:"a",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user's question."}),"\n",(0,n.jsx)(t.h2,{id:"vectara-rag",children:"Vectara RAG"}),"\n",(0,n.jsxs)(t.p,{children:["This component leverages Vectara's Retrieval Augmented Generation (RAG) capabilities to search and summarize documents based on the provided input. For more information, see the ",(0,n.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,n.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"vectara_customer_id"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"vectara_corpus_id"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"vectara_api_key"}),(0,n.jsx)(t.td,{children:"SecretString"}),(0,n.jsx)(t.td,{children:"Vectara API key"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"search_query"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:"The query to receive an answer on"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"lexical_interpolation"}),(0,n.jsx)(t.td,{children:"Float"}),(0,n.jsx)(t.td,{children:"Hybrid search factor (0.005 to 0.1)"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"filter"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:"Metadata filters to narrow the search"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"reranker"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:"Reranker type (mmr, rerank_multilingual_v1, none)"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"reranker_k"}),(0,n.jsx)(t.td,{children:"Integer"}),(0,n.jsx)(t.td,{children:"Number of results to rerank (1 to 100)"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"diversity_bias"}),(0,n.jsx)(t.td,{children:"Float"}),(0,n.jsx)(t.td,{children:"Diversity bias for MMR reranker (0 to 1)"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"max_results"}),(0,n.jsx)(t.td,{children:"Integer"}),(0,n.jsx)(t.td,{children:"Maximum number of search results to summarize (1 to 100)"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"response_lang"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:'Language code for the response (e.g., "eng", "auto")'})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"prompt"}),(0,n.jsx)(t.td,{children:"String"}),(0,n.jsx)(t.td,{children:"Prompt name for summarization"})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"outputs",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Type"}),(0,n.jsx)(t.th,{children:"Description"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"answer"}),(0,n.jsx)(t.td,{children:"Message"}),(0,n.jsx)(t.td,{children:"Generated RAG response"})]})})]})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>d,x:()=>c});var n=r(6540);const s={},i=n.createContext(s);function d(e){const t=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:d(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/22dd74f7.6bb59f33.js b/assets/js/22dd74f7.6bb59f33.js deleted file mode 100644 index c11f0e4ffd..0000000000 --- a/assets/js/22dd74f7.6bb59f33.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1567],{5226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"defaultSidebar":[{"type":"category","label":"What\u2019s New?","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"1.0 - A new chapter for Langflow","href":"/whats-new-a-new-chapter-langflow","docId":"What\u2019s-New/whats-new-a-new-chapter-langflow","unlisted":false}]},{"type":"category","label":"Getting Started","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"\ud83d\udc4b\xa0Welcome to Langflow","href":"/","docId":"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow","unlisted":false},{"type":"link","label":"\ud83d\udce6\xa0Installation","href":"/getting-started-installation","docId":"Getting-Started/getting-started-installation","unlisted":false},{"type":"link","label":"\u26a1\ufe0f Quickstart","href":"/getting-started-quickstart","docId":"Getting-Started/getting-started-quickstart","unlisted":false},{"type":"link","label":"\u2757\ufe0f Common Installation Issues","href":"/getting-started-common-installation-issues","docId":"Getting-Started/getting-started-common-installation-issues","unlisted":false}]},{"type":"category","label":"Starter Projects","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Basic Prompting","href":"/starter-projects-basic-prompting","docId":"Starter-Projects/starter-projects-basic-prompting","unlisted":false},{"type":"link","label":"Blog Writer","href":"/starter-projects-blog-writer","docId":"Starter-Projects/starter-projects-blog-writer","unlisted":false},{"type":"link","label":"Document QA","href":"/starter-projects-document-qa","docId":"Starter-Projects/starter-projects-document-qa","unlisted":false},{"type":"link","label":"Memory Chatbot","href":"/starter-projects-memory-chatbot","docId":"Starter-Projects/starter-projects-memory-chatbot","unlisted":false},{"type":"link","label":"Vector Store RAG","href":"/starter-projects-vector-store-rag","docId":"Starter-Projects/starter-projects-vector-store-rag","unlisted":false},{"type":"link","label":"Complex Agent","href":"/Starter-Projects/starter-projects-complex-agent","docId":"Starter-Projects/starter-projects-complex-agent","unlisted":false},{"type":"link","label":"Hierarchical Tasks Agent","href":"/Starter-Projects/starter-projects-hierarchical-crew","docId":"Starter-Projects/starter-projects-hierarchical-crew","unlisted":false},{"type":"link","label":"Sequential Tasks Agent","href":"/Starter-Projects/starter-projects-sequential-crew","docId":"Starter-Projects/starter-projects-sequential-crew","unlisted":false}]},{"type":"category","label":"Guides","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"\ud83d\udcda New to LLMs?","href":"/guides-new-to-llms","docId":"Guides/guides-new-to-llms","unlisted":false},{"type":"link","label":"Chat Memory","href":"/guides-chat-memory","docId":"Guides/guides-chat-memory","unlisted":false},{"type":"link","label":"Data & Message","href":"/guides-data-message","docId":"Guides/guides-data-message","unlisted":false}]},{"type":"category","label":"Workspace","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Playground","href":"/workspace-playground","docId":"Workspace/workspace-playground","unlisted":false},{"type":"link","label":"API","href":"/workspace-api","docId":"Workspace/workspace-api","unlisted":false},{"type":"link","label":"Logs","href":"/workspace-logs","docId":"Workspace/workspace-logs","unlisted":false}],"href":"/workspace"},{"type":"category","label":"Components","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Inputs & Outputs","href":"/components-io","docId":"Components/components-io","unlisted":false},{"type":"link","label":"Prompts","href":"/components-prompts","docId":"Components/components-prompts","unlisted":false},{"type":"link","label":"Data","href":"/components-data","docId":"Components/components-data","unlisted":false},{"type":"link","label":"Helpers","href":"/components-helpers","docId":"Components/components-helpers","unlisted":false},{"type":"link","label":"Models","href":"/components-models","docId":"Components/components-models","unlisted":false},{"type":"link","label":"Embedding Models","href":"/components-embedding-models","docId":"Components/components-embedding-models","unlisted":false},{"type":"link","label":"Vector Stores","href":"/components-vector-stores","docId":"Components/components-vector-stores","unlisted":false},{"type":"link","label":"Custom Components","href":"/components-custom-components","docId":"Components/components-custom-components","unlisted":false},{"type":"link","label":"RAG","href":"/components-rag","docId":"Components/components-rag","unlisted":false},{"type":"link","label":"Loaders","href":"/components-loaders","docId":"Components/components-loaders","unlisted":false}],"href":"/components"},{"type":"category","label":"Deployment","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"\ud83e\udd17\xa0Spaces","href":"/deployment-hugging-face-spaces","docId":"Deployment/deployment-hugging-face-spaces","unlisted":false},{"type":"link","label":"Kubernetes","href":"/deployment-kubernetes","docId":"Deployment/deployment-kubernetes","unlisted":false},{"type":"link","label":"Docker","href":"/deployment-docker","docId":"Deployment/deployment-docker","unlisted":false},{"type":"link","label":"GCP","href":"/deployment-gcp","docId":"Deployment/deployment-gcp","unlisted":false},{"type":"link","label":"Render","href":"/deployment-render","docId":"Deployment/deployment-render","unlisted":false},{"type":"link","label":"Railway","href":"/deployment-railway","docId":"Deployment/deployment-railway","unlisted":false}]},{"type":"category","label":"Settings","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Global Variables","href":"/settings-global-variables","docId":"Settings/settings-global-variables","unlisted":false},{"type":"link","label":"Project & General Settings","href":"/settings-project-general-settings","docId":"Settings/settings-project-general-settings","unlisted":false}]},{"type":"category","label":"Configuration","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Authentication","href":"/configuration-authentication","docId":"Configuration/configuration-authentication","unlisted":false},{"type":"link","label":"API Keys","href":"/configuration-api-keys","docId":"Configuration/configuration-api-keys","unlisted":false},{"type":"link","label":"Command Line Interface (CLI)","href":"/configuration-cli","docId":"Configuration/configuration-cli","unlisted":false},{"type":"link","label":"My Collection","href":"/365085a8-a90a-43f9-a779-f8769ec7eca1","docId":"Configuration/My-Collection","unlisted":false},{"type":"link","label":"Backend-Only","href":"/configuration-backend-only","docId":"Configuration/configuration-backend-only","unlisted":false},{"type":"link","label":"Auto-saving","href":"/configuration-auto-save","docId":"Configuration/configuration-auto-saving","unlisted":false}]},{"type":"category","label":"Integrations","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"LangSmith","href":"/integrations-langsmith","docId":"Integrations/integrations-langsmith","unlisted":false},{"type":"link","label":"LangWatch","href":"/integrations-langwatch","docId":"Integrations/integrations-langwatch","unlisted":false}]},{"type":"category","label":"Contributing","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Telemetry","href":"/contributing-telemetry","docId":"Contributing/contributing-telemetry","unlisted":false},{"type":"link","label":"How to contribute?","href":"/contributing-how-to-contribute","docId":"Contributing/contributing-how-to-contribute","unlisted":false},{"type":"link","label":"GitHub Issues","href":"/contributing-github-issues","docId":"Contributing/contributing-github-issues","unlisted":false},{"type":"link","label":"Community","href":"/contributing-community","docId":"Contributing/contributing-community","unlisted":false}]}]},"docs":{"Components/components":{"id":"Components/components","title":"Intro to Components","description":"Component","sidebar":"defaultSidebar"},"Components/components-custom-components":{"id":"Components/components-custom-components","title":"Custom Components","description":"Custom components are created within Langflow and extend the platform\'s functionality with custom, resusable Python code.","sidebar":"defaultSidebar"},"Components/components-data":{"id":"Components/components-data","title":"Data","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Components/components-embedding-models":{"id":"Components/components-embedding-models","title":"Embedding Models","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Components/components-helpers":{"id":"Components/components-helpers","title":"Helpers","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Components/components-io":{"id":"Components/components-io","title":"Inputs & Outputs","description":"Inputs and Outputs are a category of components that are used to define where data comes in and out of your flow. They also dynamically change the Playground and can be renamed to facilitate building and maintaining your flows.","sidebar":"defaultSidebar"},"Components/components-loaders":{"id":"Components/components-loaders","title":"Loaders","description":"Loaders are components used to load documents from various sources, such as databases, websites, and local files. They can be used to fetch data from external sources and convert it into a format that can be processed by other components.","sidebar":"defaultSidebar"},"Components/components-models":{"id":"Components/components-models","title":"Models","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Components/components-prompts":{"id":"Components/components-prompts","title":"Prompts","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Components/components-rag":{"id":"Components/components-rag","title":"RAG","description":"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user\'s question.","sidebar":"defaultSidebar"},"Components/components-vector-stores":{"id":"Components/components-vector-stores","title":"Vector Stores","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-api-keys":{"id":"Configuration/configuration-api-keys","title":"API Keys","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-authentication":{"id":"Configuration/configuration-authentication","title":"Authentication","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-auto-saving":{"id":"Configuration/configuration-auto-saving","title":"Auto-saving","description":"Langflow currently supports both manual and auto-saving functionality.","sidebar":"defaultSidebar"},"Configuration/configuration-backend-only":{"id":"Configuration/configuration-backend-only","title":"Backend-Only","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-cli":{"id":"Configuration/configuration-cli","title":"Command Line Interface (CLI)","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/My-Collection":{"id":"Configuration/My-Collection","title":"My Collection","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Contributing/contributing-community":{"id":"Contributing/contributing-community","title":"Community","description":"\ud83e\udd16 Join\xa0Langflow\xa0Discord server","sidebar":"defaultSidebar"},"Contributing/contributing-github-issues":{"id":"Contributing/contributing-github-issues","title":"GitHub Issues","description":"Our\xa0issues\xa0page is kept up to date with bugs, improvements, and feature requests. There is a taxonomy of labels to help with sorting and discovery of issues of interest.","sidebar":"defaultSidebar"},"Contributing/contributing-how-to-contribute":{"id":"Contributing/contributing-how-to-contribute","title":"How to contribute?","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Contributing/contributing-telemetry":{"id":"Contributing/contributing-telemetry","title":"Telemetry","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Deployment/deployment-docker":{"id":"Deployment/deployment-docker","title":"Docker","description":"This guide will help you get LangFlow up and running using Docker and Docker Compose.","sidebar":"defaultSidebar"},"Deployment/deployment-gcp":{"id":"Deployment/deployment-gcp","title":"GCP","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Deployment/deployment-hugging-face-spaces":{"id":"Deployment/deployment-hugging-face-spaces","title":"\ud83e\udd17\xa0Spaces","description":"HuggingFace Spaces","sidebar":"defaultSidebar"},"Deployment/deployment-kubernetes":{"id":"Deployment/deployment-kubernetes","title":"Kubernetes","description":"This guide will help you get LangFlow up and running in Kubernetes cluster, including the following steps:","sidebar":"defaultSidebar"},"Deployment/deployment-railway":{"id":"Deployment/deployment-railway","title":"Railway","description":"Deploy on Railway","sidebar":"defaultSidebar"},"Deployment/deployment-render":{"id":"Deployment/deployment-render","title":"Render","description":"Deploy on Render","sidebar":"defaultSidebar"},"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow":{"id":"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow","title":"\ud83d\udc4b\xa0Welcome to Langflow","description":"Introduction","sidebar":"defaultSidebar"},"Getting-Started/getting-started-common-installation-issues":{"id":"Getting-Started/getting-started-common-installation-issues","title":"\u2757\ufe0f Common Installation Issues","description":"This is a list of possible issues that you may encounter when installing Langflow and how to solve them.","sidebar":"defaultSidebar"},"Getting-Started/getting-started-installation":{"id":"Getting-Started/getting-started-installation","title":"\ud83d\udce6\xa0Installation","description":"DataStax Langflow","sidebar":"defaultSidebar"},"Getting-Started/getting-started-quickstart":{"id":"Getting-Started/getting-started-quickstart","title":"\u26a1\ufe0f Quickstart","description":"Prerequisites","sidebar":"defaultSidebar"},"Guides/guides-chat-memory":{"id":"Guides/guides-chat-memory","title":"Chat Memory","description":"Langflow allows every chat message to be stored, and a single flow can have multiple memory sessions. This enables you to create separate memories for agents to store and recall information as needed.","sidebar":"defaultSidebar"},"Guides/guides-data-message":{"id":"Guides/guides-data-message","title":"Data & Message","description":"In Langflow, the\xa0Data\xa0and\xa0Message\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform.","sidebar":"defaultSidebar"},"Guides/guides-new-to-llms":{"id":"Guides/guides-new-to-llms","title":"\ud83d\udcda New to LLMs?","description":"Large Language Models, or LLMs, are part of an exciting new world in computing.","sidebar":"defaultSidebar"},"Integrations/integrations-langsmith":{"id":"Integrations/integrations-langsmith","title":"LangSmith","description":"LangSmith is a full-lifecycle DevOps service from LangChain that provides monitoring and observability. To integrate with Langflow, just add your LangChain API key as a Langflow environment variable and you are good to go!","sidebar":"defaultSidebar"},"Integrations/integrations-langwatch":{"id":"Integrations/integrations-langwatch","title":"LangWatch","description":"938674091aac4d9d9aa4aa6eb5c215b4}","sidebar":"defaultSidebar"},"Settings/settings-global-variables":{"id":"Settings/settings-global-variables","title":"Global Variables","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Settings/settings-project-general-settings":{"id":"Settings/settings-project-general-settings","title":"Project & General Settings","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-basic-prompting":{"id":"Starter-Projects/starter-projects-basic-prompting","title":"Basic Prompting","description":"Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-blog-writer":{"id":"Starter-Projects/starter-projects-blog-writer","title":"Blog Writer","description":"Build a blog writer with OpenAI that uses URLs for reference content.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-complex-agent":{"id":"Starter-Projects/starter-projects-complex-agent","title":"Complex Agent","description":"Build a Complex Agent flow for a chatbot application using CrewAI. This flow uses CrewAI to manage a Hierarchical Crew of Agents as they perform a sequence of Tasks.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-document-qa":{"id":"Starter-Projects/starter-projects-document-qa","title":"Document QA","description":"Build a question-and-answer chatbot with a document loaded from local memory.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-hierarchical-crew":{"id":"Starter-Projects/starter-projects-hierarchical-crew","title":"Hierarchical Tasks Agent","description":"Build a Hierarchical Tasks Agent flow for a multi-shot application using CrewAI. This flow uses CrewAI to manage a Hierarchical Crew of Agents as they perform disparate tasks under the control of a Manager Agent.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-memory-chatbot":{"id":"Starter-Projects/starter-projects-memory-chatbot","title":"Memory Chatbot","description":"This flow extends the\xa0Basic Prompting\xa0flow to include a chat memory. This makes the AI remember previous user inputs.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-sequential-crew":{"id":"Starter-Projects/starter-projects-sequential-crew","title":"Sequential Tasks Agent","description":"Build a Sequential Tasks Agent flow for a multi-shot application using CrewAI. This flow uses CrewAI to manage a Crew of Agents as they perform a sequence of Tasks.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-vector-store-rag":{"id":"Starter-Projects/starter-projects-vector-store-rag","title":"Vector Store RAG","description":"Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it.","sidebar":"defaultSidebar"},"What\u2019s-New/whats-new-a-new-chapter-langflow":{"id":"What\u2019s-New/whats-new-a-new-chapter-langflow","title":"1.0 - A new chapter for Langflow","description":"First things first","sidebar":"defaultSidebar"},"Workspace/workspace":{"id":"Workspace/workspace","title":"Workspace Overview","description":"The Langflow Workspace","sidebar":"defaultSidebar"},"Workspace/workspace-api":{"id":"Workspace/workspace-api","title":"API","description":"The\xa0API\xa0section presents code templates for integrating your flow into external applications.","sidebar":"defaultSidebar"},"Workspace/workspace-logs":{"id":"Workspace/workspace-logs","title":"Logs","description":"The\xa0Logs\xa0page provides a detailed record of all component executions within a workspace. It is designed to help you track actions, debug issues, and understand the flow of data through various components.","sidebar":"defaultSidebar"},"Workspace/workspace-playground":{"id":"Workspace/workspace-playground","title":"Playground","description":"The\xa0Playground\xa0is a dynamic interface designed for real-time interaction with AIs, allowing users to chat, access memories and monitor inputs and outputs. Here, users can directly prototype and their models, making adjustments and observing different outcomes.","sidebar":"defaultSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/22dd74f7.d34c15a6.js b/assets/js/22dd74f7.d34c15a6.js new file mode 100644 index 0000000000..d14fae2220 --- /dev/null +++ b/assets/js/22dd74f7.d34c15a6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1567],{5226:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"defaultSidebar":[{"type":"category","label":"What\u2019s New?","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"1.0 - A new chapter for Langflow","href":"/whats-new-a-new-chapter-langflow","docId":"What\u2019s-New/whats-new-a-new-chapter-langflow","unlisted":false}]},{"type":"category","label":"Getting Started","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"\ud83d\udc4b\xa0Welcome to Langflow","href":"/","docId":"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow","unlisted":false},{"type":"link","label":"\ud83d\udce6\xa0Installation","href":"/getting-started-installation","docId":"Getting-Started/getting-started-installation","unlisted":false},{"type":"link","label":"\u26a1\ufe0f Quickstart","href":"/getting-started-quickstart","docId":"Getting-Started/getting-started-quickstart","unlisted":false},{"type":"link","label":"\u2757\ufe0f Common Installation Issues","href":"/getting-started-common-installation-issues","docId":"Getting-Started/getting-started-common-installation-issues","unlisted":false}]},{"type":"category","label":"Starter Projects","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Basic Prompting","href":"/starter-projects-basic-prompting","docId":"Starter-Projects/starter-projects-basic-prompting","unlisted":false},{"type":"link","label":"Blog Writer","href":"/starter-projects-blog-writer","docId":"Starter-Projects/starter-projects-blog-writer","unlisted":false},{"type":"link","label":"Document QA","href":"/starter-projects-document-qa","docId":"Starter-Projects/starter-projects-document-qa","unlisted":false},{"type":"link","label":"Memory Chatbot","href":"/starter-projects-memory-chatbot","docId":"Starter-Projects/starter-projects-memory-chatbot","unlisted":false},{"type":"link","label":"Vector Store RAG","href":"/starter-projects-vector-store-rag","docId":"Starter-Projects/starter-projects-vector-store-rag","unlisted":false},{"type":"link","label":"Complex Agent","href":"/Starter-Projects/starter-projects-complex-agent","docId":"Starter-Projects/starter-projects-complex-agent","unlisted":false},{"type":"link","label":"Hierarchical Tasks Agent","href":"/Starter-Projects/starter-projects-hierarchical-crew","docId":"Starter-Projects/starter-projects-hierarchical-crew","unlisted":false},{"type":"link","label":"Sequential Tasks Agent","href":"/Starter-Projects/starter-projects-sequential-crew","docId":"Starter-Projects/starter-projects-sequential-crew","unlisted":false}]},{"type":"category","label":"Guides","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"\ud83d\udcda New to LLMs?","href":"/guides-new-to-llms","docId":"Guides/guides-new-to-llms","unlisted":false},{"type":"link","label":"Chat Memory","href":"/guides-chat-memory","docId":"Guides/guides-chat-memory","unlisted":false},{"type":"link","label":"Data & Message","href":"/guides-data-message","docId":"Guides/guides-data-message","unlisted":false}]},{"type":"category","label":"Workspace","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Playground","href":"/workspace-playground","docId":"Workspace/workspace-playground","unlisted":false},{"type":"link","label":"API","href":"/workspace-api","docId":"Workspace/workspace-api","unlisted":false},{"type":"link","label":"Logs","href":"/workspace-logs","docId":"Workspace/workspace-logs","unlisted":false}],"href":"/workspace"},{"type":"category","label":"Components","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Inputs & Outputs","href":"/components-io","docId":"Components/components-io","unlisted":false},{"type":"link","label":"Prompts","href":"/components-prompts","docId":"Components/components-prompts","unlisted":false},{"type":"link","label":"Data","href":"/components-data","docId":"Components/components-data","unlisted":false},{"type":"link","label":"Helpers","href":"/components-helpers","docId":"Components/components-helpers","unlisted":false},{"type":"link","label":"Models","href":"/components-models","docId":"Components/components-models","unlisted":false},{"type":"link","label":"Embedding Models","href":"/components-embedding-models","docId":"Components/components-embedding-models","unlisted":false},{"type":"link","label":"Vector Stores","href":"/components-vector-stores","docId":"Components/components-vector-stores","unlisted":false},{"type":"link","label":"Custom Components","href":"/components-custom-components","docId":"Components/components-custom-components","unlisted":false},{"type":"link","label":"RAG","href":"/components-rag","docId":"Components/components-rag","unlisted":false},{"type":"link","label":"Loaders","href":"/components-loaders","docId":"Components/components-loaders","unlisted":false}],"href":"/components"},{"type":"category","label":"Deployment","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"\ud83e\udd17\xa0Spaces","href":"/deployment-hugging-face-spaces","docId":"Deployment/deployment-hugging-face-spaces","unlisted":false},{"type":"link","label":"Kubernetes","href":"/deployment-kubernetes","docId":"Deployment/deployment-kubernetes","unlisted":false},{"type":"link","label":"Docker","href":"/deployment-docker","docId":"Deployment/deployment-docker","unlisted":false},{"type":"link","label":"GCP","href":"/deployment-gcp","docId":"Deployment/deployment-gcp","unlisted":false},{"type":"link","label":"Render","href":"/deployment-render","docId":"Deployment/deployment-render","unlisted":false},{"type":"link","label":"Railway","href":"/deployment-railway","docId":"Deployment/deployment-railway","unlisted":false}]},{"type":"category","label":"Settings","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Global Variables","href":"/settings-global-variables","docId":"Settings/settings-global-variables","unlisted":false},{"type":"link","label":"Project & General Settings","href":"/settings-project-general-settings","docId":"Settings/settings-project-general-settings","unlisted":false}]},{"type":"category","label":"Configuration","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Authentication","href":"/configuration-authentication","docId":"Configuration/configuration-authentication","unlisted":false},{"type":"link","label":"API Keys","href":"/configuration-api-keys","docId":"Configuration/configuration-api-keys","unlisted":false},{"type":"link","label":"Command Line Interface (CLI)","href":"/configuration-cli","docId":"Configuration/configuration-cli","unlisted":false},{"type":"link","label":"My Collection","href":"/365085a8-a90a-43f9-a779-f8769ec7eca1","docId":"Configuration/My-Collection","unlisted":false},{"type":"link","label":"Backend-Only","href":"/configuration-backend-only","docId":"Configuration/configuration-backend-only","unlisted":false},{"type":"link","label":"Auto-saving","href":"/configuration-auto-save","docId":"Configuration/configuration-auto-saving","unlisted":false}]},{"type":"category","label":"Integrations","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"LangSmith","href":"/integrations-langsmith","docId":"Integrations/integrations-langsmith","unlisted":false},{"type":"link","label":"LangWatch","href":"/integrations-langwatch","docId":"Integrations/integrations-langwatch","unlisted":false}]},{"type":"category","label":"Contributing","collapsible":true,"collapsed":false,"items":[{"type":"link","label":"Telemetry","href":"/contributing-telemetry","docId":"Contributing/contributing-telemetry","unlisted":false},{"type":"link","label":"How to contribute?","href":"/contributing-how-to-contribute","docId":"Contributing/contributing-how-to-contribute","unlisted":false},{"type":"link","label":"GitHub Issues","href":"/contributing-github-issues","docId":"Contributing/contributing-github-issues","unlisted":false},{"type":"link","label":"Community","href":"/contributing-community","docId":"Contributing/contributing-community","unlisted":false}]}]},"docs":{"Components/components":{"id":"Components/components","title":"Intro to Components","description":"Component","sidebar":"defaultSidebar"},"Components/components-custom-components":{"id":"Components/components-custom-components","title":"Custom Components","description":"Custom components are created within Langflow and extend the platform\'s functionality with custom, resusable Python code.","sidebar":"defaultSidebar"},"Components/components-data":{"id":"Components/components-data","title":"Data","description":"API Request","sidebar":"defaultSidebar"},"Components/components-embedding-models":{"id":"Components/components-embedding-models","title":"Embedding Models","description":"Embeddings models are used to convert text into numerical vectors. These vectors can be used for various tasks such as similarity search, clustering, and classification.","sidebar":"defaultSidebar"},"Components/components-helpers":{"id":"Components/components-helpers","title":"Helpers","description":"Helper components provide utility functions to help manage data, tasks, and other components in your flow.","sidebar":"defaultSidebar"},"Components/components-io":{"id":"Components/components-io","title":"Inputs & Outputs","description":"This category of components defines where data enters and exits your flow. They dynamically alter the Playground and can be renamed to facilitate building and maintaining your flows.","sidebar":"defaultSidebar"},"Components/components-loaders":{"id":"Components/components-loaders","title":"Loaders","description":"Loaders are components used to load documents from various sources, such as databases, websites, and local files. They can be used to fetch data from external sources and convert it into a format that can be processed by other components.","sidebar":"defaultSidebar"},"Components/components-models":{"id":"Components/components-models","title":"Models","description":"Model components are used to generate text using language models. These components can be used to generate text for various tasks such as chatbots, content generation, and more.","sidebar":"defaultSidebar"},"Components/components-prompts":{"id":"Components/components-prompts","title":"Prompts","description":"A prompt serves as the input to a language model, comprising multiple components that can be parameterized using prompt templates.","sidebar":"defaultSidebar"},"Components/components-rag":{"id":"Components/components-rag","title":"RAG","description":"RAG (Retrieval-Augmented Generation) components process a user query by retrieving relevant documents and generating a concise summary that addresses the user\'s question.","sidebar":"defaultSidebar"},"Components/components-vector-stores":{"id":"Components/components-vector-stores","title":"Vector Stores","description":"Vector databases are used to store and search for vectors. They can be used to store embeddings, search for similar vectors, and perform other vector operations.","sidebar":"defaultSidebar"},"Configuration/configuration-api-keys":{"id":"Configuration/configuration-api-keys","title":"API Keys","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-authentication":{"id":"Configuration/configuration-authentication","title":"Authentication","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-auto-saving":{"id":"Configuration/configuration-auto-saving","title":"Auto-saving","description":"Langflow currently supports both manual and auto-saving functionality.","sidebar":"defaultSidebar"},"Configuration/configuration-backend-only":{"id":"Configuration/configuration-backend-only","title":"Backend-Only","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/configuration-cli":{"id":"Configuration/configuration-cli","title":"Command Line Interface (CLI)","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Configuration/My-Collection":{"id":"Configuration/My-Collection","title":"My Collection","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Contributing/contributing-community":{"id":"Contributing/contributing-community","title":"Community","description":"\ud83e\udd16 Join\xa0Langflow\xa0Discord server","sidebar":"defaultSidebar"},"Contributing/contributing-github-issues":{"id":"Contributing/contributing-github-issues","title":"GitHub Issues","description":"Our\xa0issues\xa0page is kept up to date with bugs, improvements, and feature requests. There is a taxonomy of labels to help with sorting and discovery of issues of interest.","sidebar":"defaultSidebar"},"Contributing/contributing-how-to-contribute":{"id":"Contributing/contributing-how-to-contribute","title":"How to contribute?","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Contributing/contributing-telemetry":{"id":"Contributing/contributing-telemetry","title":"Telemetry","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Deployment/deployment-docker":{"id":"Deployment/deployment-docker","title":"Docker","description":"This guide will help you get LangFlow up and running using Docker and Docker Compose.","sidebar":"defaultSidebar"},"Deployment/deployment-gcp":{"id":"Deployment/deployment-gcp","title":"GCP","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Deployment/deployment-hugging-face-spaces":{"id":"Deployment/deployment-hugging-face-spaces","title":"\ud83e\udd17\xa0Spaces","description":"HuggingFace Spaces","sidebar":"defaultSidebar"},"Deployment/deployment-kubernetes":{"id":"Deployment/deployment-kubernetes","title":"Kubernetes","description":"This guide will help you get LangFlow up and running in Kubernetes cluster, including the following steps:","sidebar":"defaultSidebar"},"Deployment/deployment-railway":{"id":"Deployment/deployment-railway","title":"Railway","description":"Deploy on Railway","sidebar":"defaultSidebar"},"Deployment/deployment-render":{"id":"Deployment/deployment-render","title":"Render","description":"Deploy on Render","sidebar":"defaultSidebar"},"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow":{"id":"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow","title":"\ud83d\udc4b\xa0Welcome to Langflow","description":"Introduction","sidebar":"defaultSidebar"},"Getting-Started/getting-started-common-installation-issues":{"id":"Getting-Started/getting-started-common-installation-issues","title":"\u2757\ufe0f Common Installation Issues","description":"This is a list of possible issues that you may encounter when installing Langflow and how to solve them.","sidebar":"defaultSidebar"},"Getting-Started/getting-started-installation":{"id":"Getting-Started/getting-started-installation","title":"\ud83d\udce6\xa0Installation","description":"DataStax Langflow","sidebar":"defaultSidebar"},"Getting-Started/getting-started-quickstart":{"id":"Getting-Started/getting-started-quickstart","title":"\u26a1\ufe0f Quickstart","description":"Prerequisites","sidebar":"defaultSidebar"},"Guides/guides-chat-memory":{"id":"Guides/guides-chat-memory","title":"Chat Memory","description":"Langflow allows every chat message to be stored, and a single flow can have multiple memory sessions. This enables you to create separate memories for agents to store and recall information as needed.","sidebar":"defaultSidebar"},"Guides/guides-data-message":{"id":"Guides/guides-data-message","title":"Data & Message","description":"In Langflow, the\xa0Data\xa0and\xa0Message\xa0objects serve as structured, functional representations of data that enhance the capabilities and reliability of the platform.","sidebar":"defaultSidebar"},"Guides/guides-new-to-llms":{"id":"Guides/guides-new-to-llms","title":"\ud83d\udcda New to LLMs?","description":"Large Language Models, or LLMs, are part of an exciting new world in computing.","sidebar":"defaultSidebar"},"Integrations/integrations-langsmith":{"id":"Integrations/integrations-langsmith","title":"LangSmith","description":"LangSmith is a full-lifecycle DevOps service from LangChain that provides monitoring and observability. To integrate with Langflow, just add your LangChain API key as a Langflow environment variable and you are good to go!","sidebar":"defaultSidebar"},"Integrations/integrations-langwatch":{"id":"Integrations/integrations-langwatch","title":"LangWatch","description":"938674091aac4d9d9aa4aa6eb5c215b4}","sidebar":"defaultSidebar"},"Settings/settings-global-variables":{"id":"Settings/settings-global-variables","title":"Global Variables","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Settings/settings-project-general-settings":{"id":"Settings/settings-project-general-settings","title":"Project & General Settings","description":"This page may contain outdated information. It will be updated as soon as possible.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-basic-prompting":{"id":"Starter-Projects/starter-projects-basic-prompting","title":"Basic Prompting","description":"Prompts serve as the inputs to a large language model (LLM), acting as the interface between human instructions and computational tasks.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-blog-writer":{"id":"Starter-Projects/starter-projects-blog-writer","title":"Blog Writer","description":"Build a blog writer with OpenAI that uses URLs for reference content.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-complex-agent":{"id":"Starter-Projects/starter-projects-complex-agent","title":"Complex Agent","description":"Build a Complex Agent flow for a chatbot application using CrewAI. This flow uses CrewAI to manage a Hierarchical Crew of Agents as they perform a sequence of Tasks.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-document-qa":{"id":"Starter-Projects/starter-projects-document-qa","title":"Document QA","description":"Build a question-and-answer chatbot with a document loaded from local memory.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-hierarchical-crew":{"id":"Starter-Projects/starter-projects-hierarchical-crew","title":"Hierarchical Tasks Agent","description":"Build a Hierarchical Tasks Agent flow for a multi-shot application using CrewAI. This flow uses CrewAI to manage a Hierarchical Crew of Agents as they perform disparate tasks under the control of a Manager Agent.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-memory-chatbot":{"id":"Starter-Projects/starter-projects-memory-chatbot","title":"Memory Chatbot","description":"This flow extends the\xa0Basic Prompting\xa0flow to include a chat memory. This makes the AI remember previous user inputs.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-sequential-crew":{"id":"Starter-Projects/starter-projects-sequential-crew","title":"Sequential Tasks Agent","description":"Build a Sequential Tasks Agent flow for a multi-shot application using CrewAI. This flow uses CrewAI to manage a Crew of Agents as they perform a sequence of Tasks.","sidebar":"defaultSidebar"},"Starter-Projects/starter-projects-vector-store-rag":{"id":"Starter-Projects/starter-projects-vector-store-rag","title":"Vector Store RAG","description":"Retrieval Augmented Generation, or RAG, is a pattern for training LLMs on your data and querying it.","sidebar":"defaultSidebar"},"What\u2019s-New/whats-new-a-new-chapter-langflow":{"id":"What\u2019s-New/whats-new-a-new-chapter-langflow","title":"1.0 - A new chapter for Langflow","description":"First things first","sidebar":"defaultSidebar"},"Workspace/workspace":{"id":"Workspace/workspace","title":"Workspace Overview","description":"The Langflow Workspace","sidebar":"defaultSidebar"},"Workspace/workspace-api":{"id":"Workspace/workspace-api","title":"API","description":"The\xa0API\xa0section presents code templates for integrating your flow into external applications.","sidebar":"defaultSidebar"},"Workspace/workspace-logs":{"id":"Workspace/workspace-logs","title":"Logs","description":"The\xa0Logs\xa0page provides a detailed record of all component executions within a workspace. It is designed to help you track actions, debug issues, and understand the flow of data through various components.","sidebar":"defaultSidebar"},"Workspace/workspace-playground":{"id":"Workspace/workspace-playground","title":"Playground","description":"The\xa0Playground\xa0is a dynamic interface designed for real-time interaction with AIs, allowing users to chat, access memories and monitor inputs and outputs. Here, users can directly prototype and their models, making adjustments and observing different outcomes.","sidebar":"defaultSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/3ae94ad4.8c54d710.js b/assets/js/3ae94ad4.8c54d710.js deleted file mode 100644 index 6bf3bf6ad1..0000000000 --- a/assets/js/3ae94ad4.8c54d710.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7408],{2553:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>r,contentTitle:()=>a,default:()=>l,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=t(4848),i=t(8453);const o={title:"Inputs & Outputs",sidebar_position:1,slug:"/components-io"},a=void 0,d={id:"Components/components-io",title:"Inputs & Outputs",description:"Inputs and Outputs are a category of components that are used to define where data comes in and out of your flow. They also dynamically change the Playground and can be renamed to facilitate building and maintaining your flows.",source:"@site/docs/Components/components-io.md",sourceDirName:"Components",slug:"/components-io",permalink:"/components-io",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Inputs & Outputs",sidebar_position:1,slug:"/components-io"},sidebar:"defaultSidebar",previous:{title:"Intro to Components",permalink:"/components"},next:{title:"Prompts",permalink:"/components-prompts"}},r={},c=[{value:"Inputs",id:"6b1421ec66994d5ebe9fcce000829328",level:2},{value:"Chat Input",id:"2a5f02262f364f8fb75bcfa246e7bb26",level:3},{value:"Text Input",id:"260aef3726834896b496b56cdefb6d4a",level:3},{value:"Outputs",id:"f62c5ad37a6f45a39b463c9b35ce7842",level:2},{value:"Chat Output",id:"1edd49b72781432ea29d70acbda4e7e7",level:3},{value:"Text Output",id:"b607000bc0c5402db0433c1a7d734d01",level:3}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.p,{children:"Inputs and Outputs are a category of components that are used to define where data comes in and out of your flow. They also dynamically change the Playground and can be renamed to facilitate building and maintaining your flows."}),"\n",(0,s.jsx)(n.h2,{id:"6b1421ec66994d5ebe9fcce000829328",children:"Inputs"}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.p,{children:"Inputs are components used to define where data enters your flow. They can receive data from the user, a database, or any other source that can be converted to Text or Data."}),"\n",(0,s.jsx)(n.p,{children:"The difference between Chat Input and other Input components is the output format, the number of configurable fields, and the way they are displayed in the Playground."}),"\n",(0,s.jsxs)(n.p,{children:["Chat Input components can output\xa0",(0,s.jsx)(n.code,{children:"Text"}),"\xa0or\xa0",(0,s.jsx)(n.code,{children:"Data"}),". When you want to pass the sender name or sender to the next component, use the\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0output. To pass only the message, use the\xa0",(0,s.jsx)(n.code,{children:"Text"}),"\xa0output, useful when saving the message to a database or memory system like Zep."]}),"\n",(0,s.jsxs)(n.p,{children:["You can find out more about Chat Input and other Inputs\xa0",(0,s.jsx)(n.a,{href:"/components-io",children:"here"}),"."]}),"\n",(0,s.jsx)(n.h3,{id:"2a5f02262f364f8fb75bcfa246e7bb26",children:"Chat Input"}),"\n",(0,s.jsx)(n.p,{children:"This component collects user input from the chat."}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Sender Type:"}),"\xa0Specifies the sender type. Defaults to\xa0",(0,s.jsx)(n.code,{children:"User"}),". Options are\xa0",(0,s.jsx)(n.code,{children:"Machine"}),"\xa0and\xa0",(0,s.jsx)(n.code,{children:"User"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Sender Name:"}),"\xa0Specifies the name of the sender. Defaults to\xa0",(0,s.jsx)(n.code,{children:"User"}),"."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Message:"}),"\xa0Specifies the message text. It is a multiline text input."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Session ID:"}),"\xa0Specifies the session ID of the chat history. If provided, the message will be saved in the Message History."]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:["If\xa0",(0,s.jsx)(n.code,{children:"As Data"}),"\xa0is\xa0",(0,s.jsx)(n.code,{children:"true"}),"\xa0and the\xa0",(0,s.jsx)(n.code,{children:"Message"}),"\xa0is a\xa0",(0,s.jsx)(n.code,{children:"Data"}),", the data of the\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0will be updated with the\xa0",(0,s.jsx)(n.code,{children:"Sender"}),",\xa0",(0,s.jsx)(n.code,{children:"Sender Name"}),", and\xa0",(0,s.jsx)(n.code,{children:"Session ID"}),"."]})}),"\n",(0,s.jsx)(n.p,{children:"One significant capability of the Chat Input component is its ability to transform the Playground into a chat window. This feature is particularly valuable for scenarios requiring user input to initiate or influence the flow."}),"\n",(0,s.jsx)(n.h3,{id:"260aef3726834896b496b56cdefb6d4a",children:"Text Input"}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.strong,{children:"Text Input"}),"\xa0component adds an\xa0",(0,s.jsx)(n.strong,{children:"Input"}),"\xa0field on the Playground. This enables you to define parameters while running and testing your flow."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Value:"}),"\xa0Specifies the text input value. This is where the user inputs text data that will be passed to the next component in the sequence. If no value is provided, it defaults to an empty string."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Data Template:"}),"\xa0Specifies how a\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0should be converted into\xa0",(0,s.jsx)(n.code,{children:"Text"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.strong,{children:"Data Template"}),"\xa0field is used to specify how a\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0should be converted into\xa0",(0,s.jsx)(n.code,{children:"Text"}),". This is particularly useful when you want to extract specific information from a\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0and pass it as text to the next component in the sequence."]}),"\n",(0,s.jsxs)(n.p,{children:["For example, if you have a\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0with the following structure:"]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:'{ "name": "John Doe", "age": 30, "email": "johndoe@email.com"}'})}),"\n",(0,s.jsxs)(n.p,{children:["A template with\xa0",(0,s.jsx)(n.code,{children:"Name: {name}, Age: {age}"}),"\xa0will convert the\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0into a text string of\xa0",(0,s.jsx)(n.code,{children:"Name: John Doe, Age: 30"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["If you pass more than one\xa0",(0,s.jsx)(n.code,{children:"Data"}),", the text will be concatenated with a new line separator."]}),"\n",(0,s.jsx)(n.h2,{id:"f62c5ad37a6f45a39b463c9b35ce7842",children:"Outputs"}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.p,{children:"Outputs are components that are used to define where data comes out of your flow. They can be used to send data to the user, to the Playground, or to define how the data will be displayed in the Playground."}),"\n",(0,s.jsx)(n.p,{children:"The Chat Output works similarly to the Chat Input but does not have a field that allows for written input. It is used as an Output definition and can be used to send data to the user."}),"\n",(0,s.jsxs)(n.p,{children:["You can find out more about it and the other Outputs\xa0",(0,s.jsx)(n.a,{href:"/components-io",children:"here"}),"."]}),"\n",(0,s.jsx)(n.h3,{id:"1edd49b72781432ea29d70acbda4e7e7",children:"Chat Output"}),"\n",(0,s.jsx)(n.p,{children:"This component sends a message to the chat."}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Sender Type:"}),"\xa0Specifies the sender type. Default is\xa0",(0,s.jsx)(n.code,{children:'"Machine"'}),". Options are\xa0",(0,s.jsx)(n.code,{children:'"Machine"'}),"\xa0and\xa0",(0,s.jsx)(n.code,{children:'"User"'}),"."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Sender Name:"}),"\xa0Specifies the sender's name. Default is\xa0",(0,s.jsx)(n.code,{children:'"AI"'}),"."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Session ID:"}),"\xa0Specifies the session ID of the chat history. If provided, messages are saved in the Message History."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Message:"}),"\xa0Specifies the text of the message."]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:["If\xa0",(0,s.jsx)(n.code,{children:"As Data"}),"\xa0is\xa0",(0,s.jsx)(n.code,{children:"true"}),"\xa0and the\xa0",(0,s.jsx)(n.code,{children:"Message"}),"\xa0is a\xa0",(0,s.jsx)(n.code,{children:"Data"}),", the data in the\xa0",(0,s.jsx)(n.code,{children:"Data"}),"\xa0is updated with the\xa0",(0,s.jsx)(n.code,{children:"Sender"}),",\xa0",(0,s.jsx)(n.code,{children:"Sender Name"}),", and\xa0",(0,s.jsx)(n.code,{children:"Session ID"}),"."]})}),"\n",(0,s.jsx)(n.h3,{id:"b607000bc0c5402db0433c1a7d734d01",children:"Text Output"}),"\n",(0,s.jsx)(n.p,{children:"This component displays text data to the user. It is useful when you want to show text without sending it to the chat."}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Value:"}),"\xa0Specifies the text data to be displayed. Defaults to an empty string."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.code,{children:"TextOutput"}),"\xa0component provides a simple way to display text data. It allows textual data to be visible in the chat window during your interaction flow."]})]})}function l(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>a,x:()=>d});var s=t(6540);const i={},o=s.createContext(i);function a(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3ae94ad4.95af4b45.js b/assets/js/3ae94ad4.95af4b45.js new file mode 100644 index 0000000000..6f46e7d15d --- /dev/null +++ b/assets/js/3ae94ad4.95af4b45.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7408],{2553:(e,t,n)=>{n.r(t),n.d(t,{CH:()=>c,assets:()=>h,chCodeConfig:()=>l,contentTitle:()=>d,default:()=>x,frontMatter:()=>i,metadata:()=>a,toc:()=>u});var s=n(4848),r=n(8453),o=n(4754);const i={title:"Inputs & Outputs",sidebar_position:1,slug:"/components-io"},d="Inputs & Outputs",a={id:"Components/components-io",title:"Inputs & Outputs",description:"This category of components defines where data enters and exits your flow. They dynamically alter the Playground and can be renamed to facilitate building and maintaining your flows.",source:"@site/docs/Components/components-io.md",sourceDirName:"Components",slug:"/components-io",permalink:"/components-io",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Inputs & Outputs",sidebar_position:1,slug:"/components-io"},sidebar:"defaultSidebar",previous:{title:"Intro to Components",permalink:"/components"},next:{title:"Prompts",permalink:"/components-prompts"}},h={},c={annotations:o.hk,Code:o.Cy},l={staticMediaQuery:"not screen, (max-width: 768px)",lineNumbers:!0,showCopyButton:!0,themeName:"github-dark"},u=[{value:"Inputs",id:"inputs",level:2},{value:"Chat Input",id:"chat-input",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Text Input",id:"text-input",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Outputs",id:"outputs",level:2},{value:"Chat Output",id:"chat-output",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Text Output",id:"text-output",level:3},{value:"Parameters",id:"parameters-3",level:4}];function p(e){const t={admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return c||m("CH",!1),c.Code||m("CH.Code",!0),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:'[data-ch-theme="github-dark"] { --ch-t-colorScheme: dark;--ch-t-foreground: #c9d1d9;--ch-t-background: #0d1117;--ch-t-lighter-inlineBackground: #0d1117e6;--ch-t-editor-background: #0d1117;--ch-t-editor-foreground: #c9d1d9;--ch-t-editor-lineHighlightBackground: #6e76811a;--ch-t-editor-rangeHighlightBackground: #ffffff0b;--ch-t-editor-infoForeground: #3794FF;--ch-t-editor-selectionBackground: #264F78;--ch-t-focusBorder: #1f6feb;--ch-t-tab-activeBackground: #0d1117;--ch-t-tab-activeForeground: #c9d1d9;--ch-t-tab-inactiveBackground: #010409;--ch-t-tab-inactiveForeground: #8b949e;--ch-t-tab-border: #30363d;--ch-t-tab-activeBorder: #0d1117;--ch-t-editorGroup-border: #30363d;--ch-t-editorGroupHeader-tabsBackground: #010409;--ch-t-editorLineNumber-foreground: #6e7681;--ch-t-input-background: #0d1117;--ch-t-input-foreground: #c9d1d9;--ch-t-input-border: #30363d;--ch-t-icon-foreground: #8b949e;--ch-t-sideBar-background: #010409;--ch-t-sideBar-foreground: #c9d1d9;--ch-t-sideBar-border: #30363d;--ch-t-list-activeSelectionBackground: #6e768166;--ch-t-list-activeSelectionForeground: #c9d1d9;--ch-t-list-hoverBackground: #6e76811a;--ch-t-list-hoverForeground: #c9d1d9; }'}}),"\n",(0,s.jsx)(t.h1,{id:"inputs--outputs",children:"Inputs & Outputs"}),"\n",(0,s.jsx)(t.p,{children:"This category of components defines where data enters and exits your flow. They dynamically alter the Playground and can be renamed to facilitate building and maintaining your flows."}),"\n",(0,s.jsx)(t.h2,{id:"inputs",children:"Inputs"}),"\n",(0,s.jsx)(t.p,{children:"Inputs are components used to define where data enters your flow. They can receive data from various sources, such as users, databases, or any other source that can be converted to Text or Data."}),"\n",(0,s.jsx)(t.h3,{id:"chat-input",children:"Chat Input"}),"\n",(0,s.jsx)(t.p,{children:"This component collects user input from the chat."}),"\n",(0,s.jsx)(t.p,{children:"The difference between Chat Input and other Input components is the output format, the number of configurable fields, and the way they are displayed in the Playground."}),"\n",(0,s.jsx)(t.p,{children:"Chat Input components can output Text or Data. When you want to pass the sender name or sender to the next component, use the Data output. To pass only the message, use the Text output. Passing only the message is useful when saving the message to a database or a memory system like Zep."}),"\n",(0,s.jsx)(t.h4,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Sender Type"}),(0,s.jsx)(t.td,{children:"Sender Type"}),(0,s.jsx)(t.td,{children:"Specifies the sender type (User or Machine). Defaults to User"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Sender Name"}),(0,s.jsx)(t.td,{children:"Sender Name"}),(0,s.jsx)(t.td,{children:"Specifies the name of the sender. Defaults to User"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Message"}),(0,s.jsx)(t.td,{children:"Message"}),(0,s.jsx)(t.td,{children:"Specifies the message text. Multiline text input"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Session ID"}),(0,s.jsx)(t.td,{children:"Session ID"}),(0,s.jsx)(t.td,{children:"Specifies the session ID of the chat history"})]})]})]}),"\n",(0,s.jsx)(t.admonition,{type:"note",children:(0,s.jsx)(t.p,{children:'If "As Data" is true and the "Message" is a Data, the data will be updated with the Sender, Sender Name, and Session ID.'})}),"\n",(0,s.jsx)(t.h3,{id:"text-input",children:"Text Input"}),"\n",(0,s.jsx)(t.p,{children:"This component adds an Input field on the Playground, allowing parameter definition while running and testing your flow."}),"\n",(0,s.jsx)(t.p,{children:"The Data Template field specifies how a Data should be converted into Text. This is particularly useful when you want to extract specific information from a Data and pass it as text to the next component in the sequence."}),"\n",(0,s.jsx)(t.p,{children:"For example, if you have a Data with the following structure:"}),"\n",(0,s.jsx)(c.Code,{codeConfig:l,northPanel:{tabs:[""],active:"",heightRatio:1},files:[{name:"",focus:"",code:{lines:[{tokens:[{content:"{ ",props:{style:{color:"#C9D1D9"}}},{content:'"name"',props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:'"John Doe"',props:{style:{color:"#A5D6FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:'"age"',props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:"30",props:{style:{color:"#79C0FF"}}},{content:", ",props:{style:{color:"#C9D1D9"}}},{content:'"email"',props:{style:{color:"#7EE787"}}},{content:": ",props:{style:{color:"#C9D1D9"}}},{content:'"johndoe@email.com"',props:{style:{color:"#A5D6FF"}}},{content:"}",props:{style:{color:"#C9D1D9"}}}]}],lang:"json"},annotations:[]}]}),"\n",(0,s.jsxs)(t.p,{children:["A template with Name: ",(0,s.jsx)(t.code,{children:"{name}, Age: {age}"})," will convert the Data into a text string of ",(0,s.jsx)(t.code,{children:"Name: John Doe, Age: 30"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"If you pass more than one Data, the text will be concatenated with a new line separator."}),"\n",(0,s.jsx)(t.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Value"}),(0,s.jsx)(t.td,{children:"Value"}),(0,s.jsx)(t.td,{children:"Specifies the text input value. Defaults to an empty string"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Data Template"}),(0,s.jsx)(t.td,{children:"Data Template"}),(0,s.jsx)(t.td,{children:"Specifies how a Data should be converted into Text"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"outputs",children:"Outputs"}),"\n",(0,s.jsx)(t.p,{children:"Outputs define where data exits your flow. They can send data to the user, the Playground, or define how data will be displayed in the Playground."}),"\n",(0,s.jsx)(t.h3,{id:"chat-output",children:"Chat Output"}),"\n",(0,s.jsx)(t.p,{children:"This component sends a message to the chat."}),"\n",(0,s.jsx)(t.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Sender Type"}),(0,s.jsx)(t.td,{children:"Sender Type"}),(0,s.jsx)(t.td,{children:"Specifies the sender type (Machine or User). Defaults to Machine"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Sender Name"}),(0,s.jsx)(t.td,{children:"Sender Name"}),(0,s.jsx)(t.td,{children:"Specifies the sender's name. Defaults to AI"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Session ID"}),(0,s.jsx)(t.td,{children:"Session ID"}),(0,s.jsx)(t.td,{children:"Specifies the session ID of the chat history"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Message"}),(0,s.jsx)(t.td,{children:"Message"}),(0,s.jsx)(t.td,{children:"Specifies the text of the message"})]})]})]}),"\n",(0,s.jsx)(t.admonition,{type:"note",children:(0,s.jsx)(t.p,{children:'If "As Data" is true and the "Message" is a Data, the data will be updated with the Sender, Sender Name, and Session ID.'})}),"\n",(0,s.jsx)(t.h3,{id:"text-output",children:"Text Output"}),"\n",(0,s.jsx)(t.p,{children:"This component displays text data to the user without sending it to the chat. Defaults to an empty string."}),"\n",(0,s.jsx)(t.h4,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"Value"}),(0,s.jsx)(t.td,{children:"Value"}),(0,s.jsx)(t.td,{children:"Specifies the text data to be displayed"})]})})]})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}function m(e,t){throw new Error("Expected "+(t?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}}}]); \ No newline at end of file diff --git a/assets/js/647965d5.d5386d93.js b/assets/js/647965d5.d5386d93.js new file mode 100644 index 0000000000..668d274530 --- /dev/null +++ b/assets/js/647965d5.d5386d93.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1227],{3250:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var s=n(4848),r=n(8453);const i={title:"Prompts",sidebar_position:2,slug:"/components-prompts"},o="Prompts",a={id:"Components/components-prompts",title:"Prompts",description:"A prompt serves as the input to a language model, comprising multiple components that can be parameterized using prompt templates.",source:"@site/docs/Components/components-prompts.md",sourceDirName:"Components",slug:"/components-prompts",permalink:"/components-prompts",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Prompts",sidebar_position:2,slug:"/components-prompts"},sidebar:"defaultSidebar",previous:{title:"Inputs & Outputs",permalink:"/components-io"},next:{title:"Data",permalink:"/components-data"}},l={},d=[{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Outputs",id:"outputs",level:4},{value:"Langchain Hub Prompt Template",id:"langchain-hub-prompt-template",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Inputs",id:"inputs-1",level:4},{value:"Outputs",id:"outputs-1",level:4}];function p(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"prompts",children:"Prompts"}),"\n",(0,s.jsx)(t.p,{children:"A prompt serves as the input to a language model, comprising multiple components that can be parameterized using prompt templates."}),"\n",(0,s.jsx)(t.p,{children:"Prompt templates provide a systematic approach for generating prompts, allowing for reproducible customization through defined input variables."}),"\n",(0,s.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"template"}),(0,s.jsx)(t.td,{children:"Template"}),(0,s.jsx)(t.td,{children:"Create a prompt template with dynamic variables."})]})})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"prompt"}),(0,s.jsx)(t.td,{children:"Prompt Message"}),(0,s.jsxs)(t.td,{children:["The built prompt message returned by the ",(0,s.jsx)(t.code,{children:"build_prompt"})," method."]})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"langchain-hub-prompt-template",children:"Langchain Hub Prompt Template"}),"\n",(0,s.jsxs)(t.p,{children:["This component fetches prompts from the ",(0,s.jsx)(t.a,{href:"https://docs.smith.langchain.com/old/category/prompt-hub",children:"Langchain Hub"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:['When a prompt is loaded, the component generates input fields for custom variables. For example, the default prompt "efriis/my-first-prompt" generates fields for ',(0,s.jsx)(t.code,{children:"profession"})," and ",(0,s.jsx)(t.code,{children:"question"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-1",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"langchain_api_key"}),(0,s.jsx)(t.td,{children:"Your LangChain API Key"}),(0,s.jsx)(t.td,{children:"The LangChain API Key to use."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"langchain_hub_prompt"}),(0,s.jsx)(t.td,{children:"LangChain Hub Prompt"}),(0,s.jsx)(t.td,{children:"The LangChain Hub prompt to use."})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-1",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Display Name"}),(0,s.jsx)(t.th,{children:"Info"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"prompt"}),(0,s.jsx)(t.td,{children:"Build Prompt"}),(0,s.jsxs)(t.td,{children:["The built prompt message returned by the ",(0,s.jsx)(t.code,{children:"build_prompt"})," method."]})]})})]})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>a});var s=n(6540);const r={},i=s.createContext(r);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/647965d5.f67bd117.js b/assets/js/647965d5.f67bd117.js deleted file mode 100644 index b6cc9613e1..0000000000 --- a/assets/js/647965d5.f67bd117.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[1227],{3250:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>r,toc:()=>p});var o=n(4848),s=n(8453);const a={title:"Prompts",sidebar_position:2,slug:"/components-prompts"},i=void 0,r={id:"Components/components-prompts",title:"Prompts",description:"This page may contain outdated information. It will be updated as soon as possible.",source:"@site/docs/Components/components-prompts.md",sourceDirName:"Components",slug:"/components-prompts",permalink:"/components-prompts",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Prompts",sidebar_position:2,slug:"/components-prompts"},sidebar:"defaultSidebar",previous:{title:"Inputs & Outputs",permalink:"/components-io"},next:{title:"Data",permalink:"/components-data"}},l={},p=[{value:"Prompt",id:"c852d1761e6c46b19ce72e5f7c70958c",level:3},{value:"PromptTemplate",id:"6e32412f062b42efbdf56857eafb3651",level:3}];function c(e){const t={admonition:"admonition",code:"code",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.admonition,{type:"info",children:(0,o.jsx)(t.p,{children:"This page may contain outdated information. It will be updated as soon as possible."})}),"\n",(0,o.jsx)(t.p,{children:"A prompt is the input provided to a language model, consisting of multiple components and can be parameterized using prompt templates. A prompt template offers a reproducible method for generating prompts, enabling easy customization through input variables."}),"\n",(0,o.jsx)(t.h3,{id:"c852d1761e6c46b19ce72e5f7c70958c",children:"Prompt"}),"\n",(0,o.jsx)(t.p,{children:"This component creates a prompt template with dynamic variables. This is useful for structuring prompts and passing dynamic data to a language model."}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.strong,{children:"Parameters"})}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Template:"}),"\xa0The template for the prompt. This field allows you to create other fields dynamically by using curly brackets\xa0",(0,o.jsx)(t.code,{children:"{}"}),". For example, if you have a template like\xa0",(0,o.jsx)(t.code,{children:"Hello {name}, how are you?"}),", a new field called\xa0",(0,o.jsx)(t.code,{children:"name"}),"\xa0will be created. Prompt variables can be created with any name inside curly brackets, e.g.\xa0",(0,o.jsx)(t.code,{children:"{variable_name}"}),"."]}),"\n"]}),"\n",(0,o.jsx)(t.h3,{id:"6e32412f062b42efbdf56857eafb3651",children:"PromptTemplate"}),"\n",(0,o.jsxs)(t.p,{children:["The\xa0",(0,o.jsx)(t.code,{children:"PromptTemplate"}),"\xa0component enables users to create prompts and define variables that control how the model is instructed. Users can input a set of variables which the template uses to generate the prompt when a conversation starts."]}),"\n",(0,o.jsx)(t.p,{children:"After defining a variable in the prompt template, it acts as its own component input."}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"template:"}),"\xa0The template used to format an individual request."]}),"\n"]})]})}function d(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>r});var o=n(6540);const s={},a=o.createContext(s);function i(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/921b5fc1.8828b31d.js b/assets/js/921b5fc1.8828b31d.js deleted file mode 100644 index e3a2f5c4a8..0000000000 --- a/assets/js/921b5fc1.8828b31d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7462],{6875:(e,d,s)=>{s.r(d),s.d(d,{assets:()=>l,contentTitle:()=>c,default:()=>x,frontMatter:()=>t,metadata:()=>i,toc:()=>h});var r=s(4848),n=s(8453);const t={title:"Embedding Models",sidebar_position:6,slug:"/components-embedding-models"},c=void 0,i={id:"Components/components-embedding-models",title:"Embedding Models",description:"This page may contain outdated information. It will be updated as soon as possible.",source:"@site/docs/Components/components-embedding-models.md",sourceDirName:"Components",slug:"/components-embedding-models",permalink:"/components-embedding-models",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:6,frontMatter:{title:"Embedding Models",sidebar_position:6,slug:"/components-embedding-models"},sidebar:"defaultSidebar",previous:{title:"Models",permalink:"/components-models"},next:{title:"Vector Stores",permalink:"/components-vector-stores"}},l={},h=[{value:"Amazon Bedrock Embeddings",id:"4ddcfde8c1664e358d3f16d718e944d8",level:2},{value:"Astra vectorize",id:"c1e6d1373824424ea130e052ba0f46af",level:2},{value:"Cohere Embeddings",id:"0c5b7b8790da448fabd4c5ddba1fcbde",level:2},{value:"Azure OpenAI Embeddings",id:"8ffb790d5a6c484dab3fe6c777638a44",level:2},{value:"Hugging Face API Embeddings",id:"8536e4ee907b48688e603ae9bf7822cb",level:2},{value:"Hugging Face Embeddings",id:"b2b74732874743d3be6fdf8aae049e74",level:2},{value:"OpenAI Embeddings",id:"af7630df05a245d1a632e1bf6db2a4c5",level:2},{value:"Ollama Embeddings",id:"a26d2cb92e6d44669c2cfff71a5e9431",level:2},{value:"VertexAI Embeddings",id:"707b38c23cb9413fbbaab1ae7b872311",level:2}];function o(e){const d={a:"a",admonition:"admonition",code:"code",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.admonition,{type:"info",children:(0,r.jsx)(d.p,{children:"This page may contain outdated information. It will be updated as soon as possible."})}),"\n",(0,r.jsx)(d.h2,{id:"4ddcfde8c1664e358d3f16d718e944d8",children:"Amazon Bedrock Embeddings"}),"\n",(0,r.jsxs)(d.p,{children:["Used to load embedding models from\xa0",(0,r.jsx)(d.a,{href:"https://aws.amazon.com/bedrock/",children:"Amazon Bedrock"}),"."]}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"credentials_profile_name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Name of the AWS credentials profile in ~/.aws/credentials or ~/.aws/config, which has access keys or role information."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"model_id"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsxs)(d.td,{children:["ID of the model to call, e.g.,\xa0",(0,r.jsx)(d.code,{children:"amazon.titan-embed-text-v1"}),". This is equivalent to the\xa0",(0,r.jsx)(d.code,{children:"modelId"}),"\xa0property in the\xa0",(0,r.jsx)(d.code,{children:"list-foundation-models"}),"\xa0API."]}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"endpoint_url"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"URL to set a specific service endpoint other than the default AWS endpoint."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"region_name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsxs)(d.td,{children:["AWS region to use, e.g.,\xa0",(0,r.jsx)(d.code,{children:"us-west-2"}),". Falls back to\xa0",(0,r.jsx)(d.code,{children:"AWS_DEFAULT_REGION"}),"\xa0environment variable or region specified in ~/.aws/config if not provided."]}),(0,r.jsx)(d.td,{})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"c1e6d1373824424ea130e052ba0f46af",children:"Astra vectorize"}),"\n",(0,r.jsxs)(d.p,{children:["Used to generate server-side embeddings using\xa0",(0,r.jsx)(d.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"DataStax Astra"}),"."]}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"provider"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The embedding provider to use."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"model_name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The embedding model to use."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"authentication"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"dict"})}),(0,r.jsx)(d.td,{children:"Authentication parameters. Use the Astra Portal to add the embedding provider integration to your Astra organization."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"provider_api_key"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"An alternative to the Astra Authentication that let you use directly the API key of the provider."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"model_parameters"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"dict"})}),(0,r.jsx)(d.td,{children:"Additional model parameters."}),(0,r.jsx)(d.td,{})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"0c5b7b8790da448fabd4c5ddba1fcbde",children:"Cohere Embeddings"}),"\n",(0,r.jsxs)(d.p,{children:["Used to load embedding models from\xa0",(0,r.jsx)(d.a,{href:"https://cohere.com/",children:"Cohere"}),"."]}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"cohere_api_key"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"API key required to authenticate with the Cohere service."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"model"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Language model used for embedding text documents and performing queries."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"embed-english-v2.0"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"truncate"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsx)(d.td,{children:"Whether to truncate the input text to fit within the model's constraints."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"False"})})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"8ffb790d5a6c484dab3fe6c777638a44",children:"Azure OpenAI Embeddings"}),"\n",(0,r.jsx)(d.p,{children:"Generate embeddings using Azure OpenAI models."}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Azure Endpoint"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsxs)(d.td,{children:["Your Azure endpoint, including the resource. Example:\xa0",(0,r.jsx)(d.code,{children:"https://example-resource.azure.openai.com/"})]}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Deployment Name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The name of the deployment."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"API Version"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The API version to use, options include various dates."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"API Key"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The API key to access the Azure OpenAI service."}),(0,r.jsx)(d.td,{})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"8536e4ee907b48688e603ae9bf7822cb",children:"Hugging Face API Embeddings"}),"\n",(0,r.jsx)(d.p,{children:"Generate embeddings using Hugging Face Inference API models."}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"API Key"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"API key for accessing the Hugging Face Inference API."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"API URL"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"URL of the Hugging Face Inference API."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"http://localhost:8080"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model Name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Name of the model to use for embeddings."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"BAAI/bge-large-en-v1.5"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Cache Folder"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Folder path to cache Hugging Face models."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Encode Kwargs"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"dict"})}),(0,r.jsx)(d.td,{children:"Additional arguments for the encoding process."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model Kwargs"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"dict"})}),(0,r.jsx)(d.td,{children:"Additional arguments for the model."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Multi Process"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsx)(d.td,{children:"Whether to use multiple processes."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"False"})})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"b2b74732874743d3be6fdf8aae049e74",children:"Hugging Face Embeddings"}),"\n",(0,r.jsxs)(d.p,{children:["Used to load embedding models from\xa0",(0,r.jsx)(d.a,{href:"https://huggingface.co/",children:"HuggingFace"}),"."]}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Cache Folder"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Folder path to cache HuggingFace models."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Encode Kwargs"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"dict"})}),(0,r.jsx)(d.td,{children:"Additional arguments for the encoding process."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model Kwargs"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"dict"})}),(0,r.jsx)(d.td,{children:"Additional arguments for the model."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model Name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Name of the HuggingFace model to use."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"sentence-transformers/all-mpnet-base-v2"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Multi Process"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsx)(d.td,{children:"Whether to use multiple processes."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"False"})})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"af7630df05a245d1a632e1bf6db2a4c5",children:"OpenAI Embeddings"}),"\n",(0,r.jsxs)(d.p,{children:["Used to load embedding models from\xa0",(0,r.jsx)(d.a,{href:"https://openai.com/",children:"OpenAI"}),"."]}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"OpenAI API Key"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The API key to use for accessing the OpenAI API."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Default Headers"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Dict[str, str]"})}),(0,r.jsx)(d.td,{children:"Default headers for the HTTP requests."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Default Query"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"NestedDict"})}),(0,r.jsx)(d.td,{children:"Default query parameters for the HTTP requests."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Allowed Special"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"List[str]"})}),(0,r.jsx)(d.td,{children:"Special tokens allowed for processing."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"[]"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Disallowed Special"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"List[str]"})}),(0,r.jsx)(d.td,{children:"Special tokens disallowed for processing."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:'["all"]'})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Chunk Size"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"int"})}),(0,r.jsx)(d.td,{children:"Chunk size for processing."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"1000"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Client"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Any"})}),(0,r.jsx)(d.td,{children:"HTTP client for making requests."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Deployment"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Deployment name for the model."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"text-embedding-3-small"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Embedding Context Length"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"int"})}),(0,r.jsx)(d.td,{children:"Length of embedding context."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"8191"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Max Retries"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"int"})}),(0,r.jsx)(d.td,{children:"Maximum number of retries for failed requests."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"6"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Name of the model to use."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"text-embedding-3-small"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model Kwargs"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"NestedDict"})}),(0,r.jsx)(d.td,{children:"Additional keyword arguments for the model."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"OpenAI API Base"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Base URL of the OpenAI API."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"OpenAI API Type"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Type of the OpenAI API."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"OpenAI API Version"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Version of the OpenAI API."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"OpenAI Organization"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Organization associated with the API key."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"OpenAI Proxy"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Proxy server for the requests."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Request Timeout"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"float"})}),(0,r.jsx)(d.td,{children:"Timeout for the HTTP requests."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Show Progress Bar"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsx)(d.td,{children:"Whether to show a progress bar for processing."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"False"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Skip Empty"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsx)(d.td,{children:"Whether to skip empty inputs."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"False"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"TikToken Enable"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsx)(d.td,{children:"Whether to enable TikToken."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"True"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"TikToken Model Name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Name of the TikToken model."}),(0,r.jsx)(d.td,{})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"a26d2cb92e6d44669c2cfff71a5e9431",children:"Ollama Embeddings"}),"\n",(0,r.jsx)(d.p,{children:"Generate embeddings using Ollama models."}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Ollama Model"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Name of the Ollama model to use."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"llama2"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Ollama Base URL"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"Base URL of the Ollama API."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"http://localhost:11434"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Model Temperature"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"float"})}),(0,r.jsx)(d.td,{children:"Temperature parameter for the model. Adjusts the randomness in the generated embeddings."}),(0,r.jsx)(d.td,{})]})]})]}),"\n",(0,r.jsx)(d.h2,{id:"707b38c23cb9413fbbaab1ae7b872311",children:"VertexAI Embeddings"}),"\n",(0,r.jsxs)(d.p,{children:["Wrapper around\xa0",(0,r.jsx)(d.a,{href:"https://cloud.google.com/vertex-ai",children:"Google Vertex AI"}),"\xa0",(0,r.jsx)(d.a,{href:"https://cloud.google.com/vertex-ai/docs/generative-ai/embeddings/get-text-embeddings",children:"Embeddings API"}),"."]}),"\n",(0,r.jsxs)(d.table,{children:[(0,r.jsx)(d.thead,{children:(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Parameter"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Type"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Description"})}),(0,r.jsx)(d.th,{children:(0,r.jsx)(d.strong,{children:"Default"})})]})}),(0,r.jsxs)(d.tbody,{children:[(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"credentials"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"Credentials"})}),(0,r.jsx)(d.td,{children:"The default custom credentials to use."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"location"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The default location to use when making API calls."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"us-central1"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"max_output_tokens"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"int"})}),(0,r.jsx)(d.td,{children:"Token limit determines the maximum amount of text output from one prompt."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"128"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"model_name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The name of the Vertex AI large language model."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"text-bison"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"project"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsx)(d.td,{children:"The default GCP project to use when making Vertex API calls."}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"request_parallelism"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"int"})}),(0,r.jsx)(d.td,{children:"The amount of parallelism allowed for requests issued to VertexAI models."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"5"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"temperature"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"float"})}),(0,r.jsx)(d.td,{children:"Tunes the degree of randomness in text generations. Should be a non-negative value."}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"0"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"top_k"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"int"})}),(0,r.jsxs)(d.td,{children:["How the model selects tokens for output, the next token is selected from the top\xa0",(0,r.jsx)(d.code,{children:"k"}),"\xa0tokens."]}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"40"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"top_p"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"float"})}),(0,r.jsxs)(d.td,{children:["Tokens are selected from the most probable to least until the sum of their probabilities exceeds the top\xa0",(0,r.jsx)(d.code,{children:"p"}),"\xa0value."]}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"0.95"})})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"tuned_model_name"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"str"})}),(0,r.jsxs)(d.td,{children:["The name of a tuned model. If provided,\xa0",(0,r.jsx)(d.code,{children:"model_name"}),"\xa0is ignored."]}),(0,r.jsx)(d.td,{})]}),(0,r.jsxs)(d.tr,{children:[(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"verbose"})}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"bool"})}),(0,r.jsxs)(d.td,{children:["This parameter controls the level of detail in the output. When set to\xa0",(0,r.jsx)(d.code,{children:"True"}),", it prints internal states of the chain to help debug."]}),(0,r.jsx)(d.td,{children:(0,r.jsx)(d.code,{children:"False"})})]})]})]}),"\n",(0,r.jsx)(d.p,{children:(0,r.jsx)(d.a,{href:"/components-vector-stores",children:"Previous Vector Stores"})})]})}function x(e={}){const{wrapper:d}={...(0,n.R)(),...e.components};return d?(0,r.jsx)(d,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},8453:(e,d,s)=>{s.d(d,{R:()=>c,x:()=>i});var r=s(6540);const n={},t=r.createContext(n);function c(e){const d=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(d):{...d,...e}}),[d,e])}function i(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(t.Provider,{value:d},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/921b5fc1.e13156fa.js b/assets/js/921b5fc1.e13156fa.js new file mode 100644 index 0000000000..7462ec4272 --- /dev/null +++ b/assets/js/921b5fc1.e13156fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7462],{6875:(e,d,s)=>{s.r(d),s.d(d,{assets:()=>h,contentTitle:()=>r,default:()=>x,frontMatter:()=>i,metadata:()=>l,toc:()=>c});var t=s(4848),n=s(8453);const i={title:"Embedding Models",sidebar_position:6,slug:"/components-embedding-models"},r="Embedding Models",l={id:"Components/components-embedding-models",title:"Embedding Models",description:"Embeddings models are used to convert text into numerical vectors. These vectors can be used for various tasks such as similarity search, clustering, and classification.",source:"@site/docs/Components/components-embedding-models.md",sourceDirName:"Components",slug:"/components-embedding-models",permalink:"/components-embedding-models",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:6,frontMatter:{title:"Embedding Models",sidebar_position:6,slug:"/components-embedding-models"},sidebar:"defaultSidebar",previous:{title:"Models",permalink:"/components-models"},next:{title:"Vector Stores",permalink:"/components-vector-stores"}},h={},c=[{value:"AI/ML",id:"aiml",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Outputs",id:"outputs",level:4},{value:"Amazon Bedrock Embeddings",id:"amazon-bedrock-embeddings",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Inputs",id:"inputs-1",level:4},{value:"Outputs",id:"outputs-1",level:4},{value:"Astra vectorize",id:"astra-vectorize",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Inputs",id:"inputs-2",level:4},{value:"Outputs",id:"outputs-2",level:4},{value:"Azure OpenAI Embeddings",id:"azure-openai-embeddings",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Inputs",id:"inputs-3",level:4},{value:"Outputs",id:"outputs-3",level:4},{value:"Cohere Embeddings",id:"cohere-embeddings",level:2},{value:"Parameters",id:"parameters-4",level:3},{value:"Inputs",id:"inputs-4",level:4},{value:"Outputs",id:"outputs-4",level:4},{value:"Hugging Face Inference API Embeddings",id:"hugging-face-inference-api-embeddings",level:2},{value:"Parameters",id:"parameters-5",level:3},{value:"Inputs",id:"inputs-5",level:4},{value:"Outputs",id:"outputs-5",level:4},{value:"MistralAI",id:"mistralai",level:2},{value:"Parameters",id:"parameters-6",level:3},{value:"Inputs",id:"inputs-6",level:4},{value:"Outputs",id:"outputs-6",level:4},{value:"NVIDIA",id:"nvidia",level:2},{value:"Parameters",id:"parameters-7",level:3},{value:"Inputs",id:"inputs-7",level:4},{value:"Outputs",id:"outputs-7",level:4},{value:"Ollama Embeddings",id:"ollama-embeddings",level:2},{value:"Parameters",id:"parameters-8",level:3},{value:"Inputs",id:"inputs-8",level:4},{value:"Outputs",id:"outputs-8",level:4},{value:"OpenAI Embeddings",id:"openai-embeddings",level:2},{value:"Parameters",id:"parameters-9",level:3},{value:"Inputs",id:"inputs-9",level:4},{value:"Outputs",id:"outputs-9",level:4},{value:"VertexAI Embeddings",id:"vertexai-embeddings",level:2},{value:"Parameters",id:"parameters-10",level:3},{value:"Inputs",id:"inputs-10",level:4},{value:"Outputs",id:"outputs-10",level:4}];function a(e){const d={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.h1,{id:"embedding-models",children:"Embedding Models"}),"\n",(0,t.jsx)(d.p,{children:"Embeddings models are used to convert text into numerical vectors. These vectors can be used for various tasks such as similarity search, clustering, and classification."}),"\n",(0,t.jsx)(d.h2,{id:"aiml",children:"AI/ML"}),"\n",(0,t.jsxs)(d.p,{children:["This component generates embeddings using the ",(0,t.jsx)(d.a,{href:"https://docs.aimlapi.com/api-overview/embeddings",children:"AI/ML API"}),"."]}),"\n",(0,t.jsx)(d.h3,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model_name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The name of the AI/ML embedding model to use"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"aiml_api_key"}),(0,t.jsx)(d.td,{children:"SecretString"}),(0,t.jsx)(d.td,{children:"API key for authenticating with the AI/ML service"})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance of AIMLEmbeddingsImpl for generating embeddings"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"amazon-bedrock-embeddings",children:"Amazon Bedrock Embeddings"}),"\n",(0,t.jsxs)(d.p,{children:["This component is used to load embedding models from ",(0,t.jsx)(d.a,{href:"https://aws.amazon.com/bedrock/",children:"Amazon Bedrock"}),"."]}),"\n",(0,t.jsx)(d.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-1",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"credentials_profile_name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Name of the AWS credentials profile in ~/.aws/credentials or ~/.aws/config, which has access keys or role information"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model_id"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["ID of the model to call, e.g., ",(0,t.jsx)(d.code,{children:"amazon.titan-embed-text-v1"}),". This is equivalent to the ",(0,t.jsx)(d.code,{children:"modelId"})," property in the ",(0,t.jsx)(d.code,{children:"list-foundation-models"})," API"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"endpoint_url"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"URL to set a specific service endpoint other than the default AWS endpoint"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"region_name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["AWS region to use, e.g., ",(0,t.jsx)(d.code,{children:"us-west-2"}),". Falls back to ",(0,t.jsx)(d.code,{children:"AWS_DEFAULT_REGION"})," environment variable or region specified in ~/.aws/config if not provided"]})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-1",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using Amazon Bedrock"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"astra-vectorize",children:"Astra vectorize"}),"\n",(0,t.jsxs)(d.p,{children:["This component is used to generate server-side embeddings using ",(0,t.jsx)(d.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/embedding-generation.html",children:"DataStax Astra"}),"."]}),"\n",(0,t.jsx)(d.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-2",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"provider"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The embedding provider to use"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model_name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The embedding model to use"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"authentication"}),(0,t.jsx)(d.td,{children:"Dict"}),(0,t.jsx)(d.td,{children:"Authentication parameters. Use the Astra Portal to add the embedding provider integration to your Astra organization"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"provider_api_key"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"An alternative to the Astra Authentication that lets you use directly the API key of the provider"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model_parameters"}),(0,t.jsx)(d.td,{children:"Dict"}),(0,t.jsx)(d.td,{children:"Additional model parameters"})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-2",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using Astra vectorize"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"azure-openai-embeddings",children:"Azure OpenAI Embeddings"}),"\n",(0,t.jsx)(d.p,{children:"This component generates embeddings using Azure OpenAI models."}),"\n",(0,t.jsx)(d.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-3",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Azure Endpoint"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Your Azure endpoint, including the resource. Example: ",(0,t.jsx)(d.code,{children:"https://example-resource.azure.openai.com/"})]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Deployment Name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The name of the deployment"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"API Version"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The API version to use, options include various dates"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"API Key"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The API key to access the Azure OpenAI service"})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-3",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using Azure OpenAI"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"cohere-embeddings",children:"Cohere Embeddings"}),"\n",(0,t.jsxs)(d.p,{children:["This component is used to load embedding models from ",(0,t.jsx)(d.a,{href:"https://cohere.com/",children:"Cohere"}),"."]}),"\n",(0,t.jsx)(d.h3,{id:"parameters-4",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-4",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"cohere_api_key"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"API key required to authenticate with the Cohere service"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Language model used for embedding text documents and performing queries (default: ",(0,t.jsx)(d.code,{children:"embed-english-v2.0"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"truncate"}),(0,t.jsx)(d.td,{children:"Boolean"}),(0,t.jsxs)(d.td,{children:["Whether to truncate the input text to fit within the model's constraints (default: ",(0,t.jsx)(d.code,{children:"False"}),")"]})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-4",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using Cohere"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"hugging-face-inference-api-embeddings",children:"Hugging Face Inference API Embeddings"}),"\n",(0,t.jsx)(d.p,{children:"This component generates embeddings using Hugging Face Inference API models."}),"\n",(0,t.jsx)(d.h3,{id:"parameters-5",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-5",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"API Key"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"API key for accessing the Hugging Face Inference API"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"API URL"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["URL of the Hugging Face Inference API (default: ",(0,t.jsx)(d.code,{children:"http://localhost:8080"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Model Name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Name of the model to use for embeddings (default: ",(0,t.jsx)(d.code,{children:"BAAI/bge-large-en-v1.5"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Cache Folder"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Folder path to cache Hugging Face models"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Encode Kwargs"}),(0,t.jsx)(d.td,{children:"Dict"}),(0,t.jsx)(d.td,{children:"Additional arguments for the encoding process"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Model Kwargs"}),(0,t.jsx)(d.td,{children:"Dict"}),(0,t.jsx)(d.td,{children:"Additional arguments for the model"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Multi Process"}),(0,t.jsx)(d.td,{children:"Boolean"}),(0,t.jsxs)(d.td,{children:["Whether to use multiple processes (default: ",(0,t.jsx)(d.code,{children:"False"}),")"]})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-5",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using Hugging Face Inference API"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"mistralai",children:"MistralAI"}),"\n",(0,t.jsx)(d.p,{children:"This component generates embeddings using MistralAI models."}),"\n",(0,t.jsx)(d.h3,{id:"parameters-6",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-6",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:'The MistralAI model to use (default: "mistral-embed")'})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"mistral_api_key"}),(0,t.jsx)(d.td,{children:"SecretString"}),(0,t.jsx)(d.td,{children:"API key for authenticating with MistralAI"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"max_concurrent_requests"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsx)(d.td,{children:"Maximum number of concurrent API requests (default: 64)"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"max_retries"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsx)(d.td,{children:"Maximum number of retry attempts for failed requests (default: 5)"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"timeout"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsx)(d.td,{children:"Request timeout in seconds (default: 120)"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"endpoint"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:['Custom API endpoint URL (default: "',(0,t.jsx)(d.a,{href:"https://api.mistral.ai/v1/",children:"https://api.mistral.ai/v1/"}),'")']})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-6",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"MistralAIEmbeddings instance for generating embeddings"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"nvidia",children:"NVIDIA"}),"\n",(0,t.jsx)(d.p,{children:"This component generates embeddings using NVIDIA models."}),"\n",(0,t.jsx)(d.h3,{id:"parameters-7",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-7",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The NVIDIA model to use for embeddings (e.g., nvidia/nv-embed-v1)"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"base_url"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Base URL for the NVIDIA API (default: ",(0,t.jsx)(d.a,{href:"https://integrate.api.nvidia.com/v1",children:"https://integrate.api.nvidia.com/v1"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"nvidia_api_key"}),(0,t.jsx)(d.td,{children:"SecretString"}),(0,t.jsx)(d.td,{children:"API key for authenticating with NVIDIA's service"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"temperature"}),(0,t.jsx)(d.td,{children:"Float"}),(0,t.jsx)(d.td,{children:"Model temperature for embedding generation (default: 0.1)"})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-7",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"NVIDIAEmbeddings instance for generating embeddings"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"ollama-embeddings",children:"Ollama Embeddings"}),"\n",(0,t.jsx)(d.p,{children:"This component generates embeddings using Ollama models."}),"\n",(0,t.jsx)(d.h3,{id:"parameters-8",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-8",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Ollama Model"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Name of the Ollama model to use (default: ",(0,t.jsx)(d.code,{children:"llama2"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Ollama Base URL"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Base URL of the Ollama API (default: ",(0,t.jsx)(d.code,{children:"http://localhost:11434"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Model Temperature"}),(0,t.jsx)(d.td,{children:"Float"}),(0,t.jsx)(d.td,{children:"Temperature parameter for the model. Adjusts the randomness in the generated embeddings"})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-8",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using Ollama"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"openai-embeddings",children:"OpenAI Embeddings"}),"\n",(0,t.jsxs)(d.p,{children:["This component is used to load embedding models from ",(0,t.jsx)(d.a,{href:"https://openai.com/",children:"OpenAI"}),"."]}),"\n",(0,t.jsx)(d.h3,{id:"parameters-9",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-9",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"OpenAI API Key"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The API key to use for accessing the OpenAI API"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Default Headers"}),(0,t.jsx)(d.td,{children:"Dict"}),(0,t.jsx)(d.td,{children:"Default headers for the HTTP requests"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Default Query"}),(0,t.jsx)(d.td,{children:"NestedDict"}),(0,t.jsx)(d.td,{children:"Default query parameters for the HTTP requests"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Allowed Special"}),(0,t.jsx)(d.td,{children:"List"}),(0,t.jsxs)(d.td,{children:["Special tokens allowed for processing (default: ",(0,t.jsx)(d.code,{children:"[]"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Disallowed Special"}),(0,t.jsx)(d.td,{children:"List"}),(0,t.jsxs)(d.td,{children:["Special tokens disallowed for processing (default: ",(0,t.jsx)(d.code,{children:'["all"]'}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Chunk Size"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsxs)(d.td,{children:["Chunk size for processing (default: ",(0,t.jsx)(d.code,{children:"1000"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Client"}),(0,t.jsx)(d.td,{children:"Any"}),(0,t.jsx)(d.td,{children:"HTTP client for making requests"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Deployment"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Deployment name for the model (default: ",(0,t.jsx)(d.code,{children:"text-embedding-3-small"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Embedding Context Length"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsxs)(d.td,{children:["Length of embedding context (default: ",(0,t.jsx)(d.code,{children:"8191"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Max Retries"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsxs)(d.td,{children:["Maximum number of retries for failed requests (default: ",(0,t.jsx)(d.code,{children:"6"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Model"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["Name of the model to use (default: ",(0,t.jsx)(d.code,{children:"text-embedding-3-small"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Model Kwargs"}),(0,t.jsx)(d.td,{children:"NestedDict"}),(0,t.jsx)(d.td,{children:"Additional keyword arguments for the model"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"OpenAI API Base"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Base URL of the OpenAI API"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"OpenAI API Type"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Type of the OpenAI API"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"OpenAI API Version"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Version of the OpenAI API"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"OpenAI Organization"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Organization associated with the API key"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"OpenAI Proxy"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Proxy server for the requests"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Request Timeout"}),(0,t.jsx)(d.td,{children:"Float"}),(0,t.jsx)(d.td,{children:"Timeout for the HTTP requests"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Show Progress Bar"}),(0,t.jsx)(d.td,{children:"Boolean"}),(0,t.jsxs)(d.td,{children:["Whether to show a progress bar for processing (default: ",(0,t.jsx)(d.code,{children:"False"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"Skip Empty"}),(0,t.jsx)(d.td,{children:"Boolean"}),(0,t.jsxs)(d.td,{children:["Whether to skip empty inputs (default: ",(0,t.jsx)(d.code,{children:"False"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"TikToken Enable"}),(0,t.jsx)(d.td,{children:"Boolean"}),(0,t.jsxs)(d.td,{children:["Whether to enable TikToken (default: ",(0,t.jsx)(d.code,{children:"True"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"TikToken Model Name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"Name of the TikToken model"})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-9",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using OpenAI"})]})})]}),"\n",(0,t.jsx)(d.h2,{id:"vertexai-embeddings",children:"VertexAI Embeddings"}),"\n",(0,t.jsxs)(d.p,{children:["This component is a wrapper around ",(0,t.jsx)(d.a,{href:"https://cloud.google.com/vertex-ai",children:"Google Vertex AI"})," ",(0,t.jsx)(d.a,{href:"https://cloud.google.com/vertex-ai/docs/generative-ai/embeddings/get-text-embeddings",children:"Embeddings API"}),"."]}),"\n",(0,t.jsx)(d.h3,{id:"parameters-10",children:"Parameters"}),"\n",(0,t.jsx)(d.h4,{id:"inputs-10",children:"Inputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsxs)(d.tbody,{children:[(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"credentials"}),(0,t.jsx)(d.td,{children:"Credentials"}),(0,t.jsx)(d.td,{children:"The default custom credentials to use"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"location"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["The default location to use when making API calls (default: ",(0,t.jsx)(d.code,{children:"us-central1"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"max_output_tokens"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsxs)(d.td,{children:["Token limit determines the maximum amount of text output from one prompt (default: ",(0,t.jsx)(d.code,{children:"128"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"model_name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["The name of the Vertex AI large language model (default: ",(0,t.jsx)(d.code,{children:"text-bison"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"project"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsx)(d.td,{children:"The default GCP project to use when making Vertex API calls"})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"request_parallelism"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsxs)(d.td,{children:["The amount of parallelism allowed for requests issued to VertexAI models (default: ",(0,t.jsx)(d.code,{children:"5"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"temperature"}),(0,t.jsx)(d.td,{children:"Float"}),(0,t.jsxs)(d.td,{children:["Tunes the degree of randomness in text generations. Should be a non-negative value (default: ",(0,t.jsx)(d.code,{children:"0"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"top_k"}),(0,t.jsx)(d.td,{children:"Integer"}),(0,t.jsxs)(d.td,{children:["How the model selects tokens for output, the next token is selected from the top ",(0,t.jsx)(d.code,{children:"k"})," tokens (default: ",(0,t.jsx)(d.code,{children:"40"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"top_p"}),(0,t.jsx)(d.td,{children:"Float"}),(0,t.jsxs)(d.td,{children:["Tokens are selected from the most probable to least until the sum of their probabilities exceeds the top ",(0,t.jsx)(d.code,{children:"p"})," value (default: ",(0,t.jsx)(d.code,{children:"0.95"}),")"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"tuned_model_name"}),(0,t.jsx)(d.td,{children:"String"}),(0,t.jsxs)(d.td,{children:["The name of a tuned model. If provided, ",(0,t.jsx)(d.code,{children:"model_name"})," is ignored"]})]}),(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"verbose"}),(0,t.jsx)(d.td,{children:"Boolean"}),(0,t.jsxs)(d.td,{children:["This parameter controls the level of detail in the output. When set to ",(0,t.jsx)(d.code,{children:"True"}),", it prints internal states of the chain to help debug (default: ",(0,t.jsx)(d.code,{children:"False"}),")"]})]})]})]}),"\n",(0,t.jsx)(d.h4,{id:"outputs-10",children:"Outputs"}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"Name"}),(0,t.jsx)(d.th,{children:"Type"}),(0,t.jsx)(d.th,{children:"Description"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"embeddings"}),(0,t.jsx)(d.td,{children:"Embeddings"}),(0,t.jsx)(d.td,{children:"An instance for generating embeddings using VertexAI"})]})})]}),"\n",(0,t.jsx)(d.p,{children:(0,t.jsx)(d.a,{href:"/components-vector-stores",children:"Previous Vector Stores"})})]})}function x(e={}){const{wrapper:d}={...(0,n.R)(),...e.components};return d?(0,t.jsx)(d,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},8453:(e,d,s)=>{s.d(d,{R:()=>r,x:()=>l});var t=s(6540);const n={},i=t.createContext(n);function r(e){const d=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(d):{...d,...e}}),[d,e])}function l(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),t.createElement(i.Provider,{value:d},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c39b795e.7e36b89c.js b/assets/js/c39b795e.7e36b89c.js new file mode 100644 index 0000000000..ef954f6cce --- /dev/null +++ b/assets/js/c39b795e.7e36b89c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7338],{5056:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>h});var n=s(4848),r=s(8453);const d={title:"Helpers",sidebar_position:4,slug:"/components-helpers"},i="Helpers",l={id:"Components/components-helpers",title:"Helpers",description:"Helper components provide utility functions to help manage data, tasks, and other components in your flow.",source:"@site/docs/Components/components-helpers.md",sourceDirName:"Components",slug:"/components-helpers",permalink:"/components-helpers",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{title:"Helpers",sidebar_position:4,slug:"/components-helpers"},sidebar:"defaultSidebar",previous:{title:"Data",permalink:"/components-data"},next:{title:"Models",permalink:"/components-models"}},a={},h=[{value:"Chat Memory",id:"chat-memory",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Outputs",id:"outputs",level:4},{value:"Combine Text",id:"combine-text",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Inputs",id:"inputs-1",level:4},{value:"Create List",id:"create-list",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Inputs",id:"inputs-2",level:4},{value:"Custom Component",id:"custom-component",level:2},{value:"Filter Data",id:"filter-data",level:2},{value:"Hierarchical Task",id:"hierarchical-task",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Inputs",id:"inputs-3",level:4},{value:"Outputs",id:"outputs-1",level:4},{value:"ID Generator",id:"id-generator",level:2},{value:"Parameters",id:"parameters-4",level:3},{value:"Outputs",id:"outputs-2",level:4},{value:"Merge Data",id:"merge-data",level:2},{value:"Parse Data",id:"parse-data",level:2},{value:"Parameters",id:"parameters-5",level:3},{value:"Inputs",id:"inputs-4",level:4},{value:"Outputs",id:"outputs-3",level:4},{value:"Sequential Task",id:"sequential-task",level:2},{value:"Parameters",id:"parameters-6",level:3},{value:"Inputs",id:"inputs-5",level:4},{value:"Outputs",id:"outputs-4",level:4},{value:"Split Text",id:"split-text",level:2},{value:"Parameters",id:"parameters-7",level:3},{value:"Inputs",id:"inputs-6",level:4},{value:"Store Message",id:"store-message",level:2},{value:"Parameters",id:"parameters-8",level:3},{value:"Inputs",id:"inputs-7",level:4},{value:"Outputs",id:"outputs-5",level:4}];function c(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"helpers",children:"Helpers"}),"\n",(0,n.jsx)(t.p,{children:"Helper components provide utility functions to help manage data, tasks, and other components in your flow."}),"\n",(0,n.jsx)(t.h2,{id:"chat-memory",children:"Chat Memory"}),"\n",(0,n.jsx)(t.p,{children:"This component retrieves and manages chat messages from Langflow tables or an external memory."}),"\n",(0,n.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"memory"}),(0,n.jsx)(t.td,{children:"External Memory"}),(0,n.jsx)(t.td,{children:"Retrieve messages from an external memory. If empty, it will use the Langflow tables."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"sender"}),(0,n.jsx)(t.td,{children:"Sender Type"}),(0,n.jsx)(t.td,{children:"Filter by sender type."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"sender_name"}),(0,n.jsx)(t.td,{children:"Sender Name"}),(0,n.jsx)(t.td,{children:"Filter by sender name."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"n_messages"}),(0,n.jsx)(t.td,{children:"Number of Messages"}),(0,n.jsx)(t.td,{children:"Number of messages to retrieve."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"session_id"}),(0,n.jsx)(t.td,{children:"Session ID"}),(0,n.jsx)(t.td,{children:"The session ID of the chat. If empty, the current session ID parameter will be used."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"order"}),(0,n.jsx)(t.td,{children:"Order"}),(0,n.jsx)(t.td,{children:"Order of the messages."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"template"}),(0,n.jsx)(t.td,{children:"Template"}),(0,n.jsxs)(t.td,{children:["The template to use for formatting the data. It can contain the keys ",(0,n.jsx)(t.code,{children:"{text}"}),", ",(0,n.jsx)(t.code,{children:"{sender}"})," or any other key in the message data."]})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"outputs",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"messages"}),(0,n.jsx)(t.td,{children:"Messages (Data)"}),(0,n.jsx)(t.td,{children:"Retrieved messages as Data objects."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"messages_text"}),(0,n.jsx)(t.td,{children:"Messages (Text)"}),(0,n.jsx)(t.td,{children:"Retrieved messages formatted as text."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"lc_memory"}),(0,n.jsx)(t.td,{children:"Memory"}),(0,n.jsx)(t.td,{children:"Built LangChain memory object."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"combine-text",children:"Combine Text"}),"\n",(0,n.jsx)(t.p,{children:"This component concatenates two text sources into a single text chunk using a specified delimiter."}),"\n",(0,n.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-1",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"first_text"}),(0,n.jsx)(t.td,{children:"First Text"}),(0,n.jsx)(t.td,{children:"The first text input to concatenate."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"second_text"}),(0,n.jsx)(t.td,{children:"Second Text"}),(0,n.jsx)(t.td,{children:"The second text input to concatenate."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"delimiter"}),(0,n.jsx)(t.td,{children:"Delimiter"}),(0,n.jsx)(t.td,{children:"A string used to separate the two text inputs. Defaults to a space."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"create-list",children:"Create List"}),"\n",(0,n.jsx)(t.p,{children:"This component dynamically creates a record with a specified number of fields."}),"\n",(0,n.jsx)(t.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-2",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"n_fields"}),(0,n.jsx)(t.td,{children:"Number of Fields"}),(0,n.jsx)(t.td,{children:"Number of fields to be added to the record."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"text_key"}),(0,n.jsx)(t.td,{children:"Text Key"}),(0,n.jsx)(t.td,{children:"Key used as text."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"custom-component",children:"Custom Component"}),"\n",(0,n.jsx)(t.p,{children:"Use this component as a template to create your custom component."}),"\n",(0,n.jsx)(t.h2,{id:"filter-data",children:"Filter Data"}),"\n",(0,n.jsx)(t.p,{children:"This component converts LangChain documents into Data."}),"\n",(0,n.jsx)(t.h2,{id:"hierarchical-task",children:"Hierarchical Task"}),"\n",(0,n.jsx)(t.p,{children:"This component creates and manages hierarchical tasks for CrewAI agents in a Playground environment."}),"\n",(0,n.jsxs)(t.p,{children:["For more information, see the ",(0,n.jsx)(t.a,{href:"https://docs.crewai.com/how-to/Hierarchical/",children:"CrewAI documentation"}),"."]}),"\n",(0,n.jsx)(t.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-3",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"task_description"}),(0,n.jsx)(t.td,{children:"Description"}),(0,n.jsx)(t.td,{children:"Descriptive text detailing task's purpose and execution."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"expected_output"}),(0,n.jsx)(t.td,{children:"Expected Output"}),(0,n.jsx)(t.td,{children:"Clear definition of expected task outcome."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"tools"}),(0,n.jsx)(t.td,{children:"Tools"}),(0,n.jsx)(t.td,{children:"List of tools/resources limited for task execution. Uses the Agent tools by default."})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"outputs-1",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"task_output"}),(0,n.jsx)(t.td,{children:"Task"}),(0,n.jsx)(t.td,{children:"The built hierarchical task."})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"id-generator",children:"ID Generator"}),"\n",(0,n.jsx)(t.p,{children:"This component generates a unique ID."}),"\n",(0,n.jsx)(t.h3,{id:"parameters-4",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"outputs-2",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"value"}),(0,n.jsx)(t.td,{children:"Value"}),(0,n.jsx)(t.td,{children:"Unique ID generated."})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"merge-data",children:"Merge Data"}),"\n",(0,n.jsx)(t.h2,{id:"parse-data",children:"Parse Data"}),"\n",(0,n.jsx)(t.p,{children:"The ParseData component converts Data objects into plain text using a specified template.\nThis component transforms structured data into human-readable text formats, allowing for customizable output through the use of templates."}),"\n",(0,n.jsx)(t.h3,{id:"parameters-5",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-4",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"data"}),(0,n.jsx)(t.td,{children:"Data"}),(0,n.jsx)(t.td,{children:"The data to convert to text"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"template"}),(0,n.jsx)(t.td,{children:"Template"}),(0,n.jsxs)(t.td,{children:["The template to use for formatting the data. It can contain the keys ",(0,n.jsx)(t.code,{children:"{text}"}),", ",(0,n.jsx)(t.code,{children:"{data}"})," or any other key in the Data"]})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"sep"}),(0,n.jsx)(t.td,{children:"Separator"}),(0,n.jsx)(t.td,{children:"The separator to use between multiple data items"})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"outputs-3",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"text"}),(0,n.jsx)(t.td,{children:"Text"}),(0,n.jsx)(t.td,{children:"The resulting formatted text string as a Message object"})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"sequential-task",children:"Sequential Task"}),"\n",(0,n.jsx)(t.p,{children:"This component creates and manage sequential tasks for CrewAI agents. It builds a SequentialTask object with the provided description, expected output, and agent, allowing for the specification of tools and asynchronous execution."}),"\n",(0,n.jsxs)(t.p,{children:["For more information, see the ",(0,n.jsx)(t.a,{href:"https://docs.crewai.com/how-to/Sequential/",children:"CrewAI documentation"}),"."]}),"\n",(0,n.jsx)(t.h3,{id:"parameters-6",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-5",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"task_description"}),(0,n.jsx)(t.td,{children:"Description"}),(0,n.jsx)(t.td,{children:"Descriptive text detailing task's purpose and execution."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"expected_output"}),(0,n.jsx)(t.td,{children:"Expected Output"}),(0,n.jsx)(t.td,{children:"Clear definition of expected task outcome."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"tools"}),(0,n.jsx)(t.td,{children:"Tools"}),(0,n.jsx)(t.td,{children:"List of tools/resources limited for task execution. Uses the Agent tools by default."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"agent"}),(0,n.jsx)(t.td,{children:"Agent"}),(0,n.jsx)(t.td,{children:"CrewAI Agent that will perform the task."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"task"}),(0,n.jsx)(t.td,{children:"Task"}),(0,n.jsx)(t.td,{children:"CrewAI Task that will perform the task."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"async_execution"}),(0,n.jsx)(t.td,{children:"Async Execution"}),(0,n.jsx)(t.td,{children:"Boolean flag indicating asynchronous task execution."})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"outputs-4",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"task_output"}),(0,n.jsx)(t.td,{children:"Task"}),(0,n.jsx)(t.td,{children:"The built sequential task or list of tasks."})]})})]}),"\n",(0,n.jsx)(t.h2,{id:"split-text",children:"Split Text"}),"\n",(0,n.jsx)(t.p,{children:"This component splits text into chunks of a specified length."}),"\n",(0,n.jsx)(t.h3,{id:"parameters-7",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-6",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"texts"}),(0,n.jsx)(t.td,{children:"Texts"}),(0,n.jsx)(t.td,{children:"Texts to split."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"separators"}),(0,n.jsx)(t.td,{children:"Separators"}),(0,n.jsx)(t.td,{children:"Characters to split on. Defaults to a space."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"max_chunk_size"}),(0,n.jsx)(t.td,{children:"Max Chunk Size"}),(0,n.jsx)(t.td,{children:"The maximum length (in characters) of each chunk."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"chunk_overlap"}),(0,n.jsx)(t.td,{children:"Chunk Overlap"}),(0,n.jsx)(t.td,{children:"The amount of character overlap between chunks."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"recursive"}),(0,n.jsx)(t.td,{children:"Recursive"}),(0,n.jsx)(t.td,{children:"Whether to split recursively."})]})]})]}),"\n",(0,n.jsx)(t.h2,{id:"store-message",children:"Store Message"}),"\n",(0,n.jsx)(t.p,{children:"This component stores chat messages or text into Langflow tables or an external memory."}),"\n",(0,n.jsx)(t.p,{children:"It provides flexibility in managing message storage and retrieval within a chat system."}),"\n",(0,n.jsx)(t.h3,{id:"parameters-8",children:"Parameters"}),"\n",(0,n.jsx)(t.h4,{id:"inputs-7",children:"Inputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsxs)(t.tbody,{children:[(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"message"}),(0,n.jsx)(t.td,{children:"Message"}),(0,n.jsx)(t.td,{children:"The chat message to be stored. (Required)"})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"memory"}),(0,n.jsx)(t.td,{children:"External Memory"}),(0,n.jsx)(t.td,{children:"The external memory to store the message. If empty, it will use the Langflow tables."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"sender"}),(0,n.jsx)(t.td,{children:"Sender"}),(0,n.jsx)(t.td,{children:"The sender of the message. Can be Machine or User. If empty, the current sender parameter will be used."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"sender_name"}),(0,n.jsx)(t.td,{children:"Sender Name"}),(0,n.jsx)(t.td,{children:"The name of the sender. Can be AI or User. If empty, the current sender parameter will be used."})]}),(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"session_id"}),(0,n.jsx)(t.td,{children:"Session ID"}),(0,n.jsx)(t.td,{children:"The session ID of the chat. If empty, the current session ID parameter will be used."})]})]})]}),"\n",(0,n.jsx)(t.h4,{id:"outputs-5",children:"Outputs"}),"\n",(0,n.jsxs)(t.table,{children:[(0,n.jsx)(t.thead,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.th,{children:"Name"}),(0,n.jsx)(t.th,{children:"Display Name"}),(0,n.jsx)(t.th,{children:"Info"})]})}),(0,n.jsx)(t.tbody,{children:(0,n.jsxs)(t.tr,{children:[(0,n.jsx)(t.td,{children:"stored_messages"}),(0,n.jsx)(t.td,{children:"Stored Messages"}),(0,n.jsx)(t.td,{children:"The list of stored messages after the current message has been added."})]})})]})]})}function o(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>i,x:()=>l});var n=s(6540);const r={},d=n.createContext(r);function i(e){const t=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),n.createElement(d.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c39b795e.894a81dc.js b/assets/js/c39b795e.894a81dc.js deleted file mode 100644 index 9d132fbb0a..0000000000 --- a/assets/js/c39b795e.894a81dc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7338],{5056:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>a,metadata:()=>d,toc:()=>o});var t=s(4848),r=s(8453);const a={title:"Helpers",sidebar_position:4,slug:"/components-helpers"},i=void 0,d={id:"Components/components-helpers",title:"Helpers",description:"This page may contain outdated information. It will be updated as soon as possible.",source:"@site/docs/Components/components-helpers.md",sourceDirName:"Components",slug:"/components-helpers",permalink:"/components-helpers",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{title:"Helpers",sidebar_position:4,slug:"/components-helpers"},sidebar:"defaultSidebar",previous:{title:"Data",permalink:"/components-data"},next:{title:"Models",permalink:"/components-models"}},l={},o=[{value:"Chat memory",id:"304dc4a3bea74efb9068093ff18a56ad",level:2},{value:"Parameters",id:"e0af57d97f844ce99789958161d19767",level:3},{value:"Combine text",id:"13443183e6054d0694d65f8df08833d5",level:3},{value:"Parameters",id:"246676d119604fc5bf1be85fe93044aa",level:3},{value:"Create record",id:"506f43345854473b8199631bf68a3b4a",level:3},{value:"Parameters",id:"08735e90bd10406695771bad8a95976a",level:3},{value:"Custom component",id:"cda421d4bccb4e7db2e48615884ed753",level:3},{value:"Parameters",id:"04f9eb5e6da4431593a5bee8831f2327",level:3},{value:"Documents to Data",id:"53a6a99a54f0435e9209169cf7730c55",level:3},{value:"Parameters",id:"0eb5fce528774c2db4a3677973e75cf8",level:3},{value:"ID generator",id:"4a8fbfb95ebe44ee8718725546db5393",level:3},{value:"Parameters",id:"4629dd15594c47399c97d9511060e114",level:3},{value:"Message history",id:"6a1a60688641490197c6443df573960e",level:3},{value:"Parameters",id:"31c7fc2a3e8c4f7c89f923e700f4ea34",level:3},{value:"Data to text",id:"f60ab5bbc0db4b27b427897eba97fe29",level:3},{value:"Parameters",id:"01b91376569149a49cfcfd9321323688",level:3},{value:"Split text",id:"210be0ae518d411695d6caafdd7700eb",level:3},{value:"Parameters",id:"04197fcd05e64e10b189de1171a32682",level:3},{value:"Update record",id:"d3b6116dfd8d4af080ad01bc8fd2b0b3",level:3},{value:"Parameters",id:"c830224edc1d486aaaa5e2889f4f6689",level:3}];function c(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"This page may contain outdated information. It will be updated as soon as possible."})}),"\n",(0,t.jsx)(n.h2,{id:"304dc4a3bea74efb9068093ff18a56ad",children:"Chat memory"}),"\n",(0,t.jsx)(n.p,{children:"This component retrieves stored chat messages based on a specific session ID."}),"\n",(0,t.jsx)(n.h3,{id:"e0af57d97f844ce99789958161d19767",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Sender type:"}),'\xa0Choose the sender type from options like "Machine", "User", or "Both".']}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Sender name:"}),"\xa0(Optional) The name of the sender."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Number of messages:"}),"\xa0Number of messages to retrieve."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Session ID:"}),"\xa0The session ID of the chat history."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Order:"}),'\xa0Choose the message order, either "Ascending" or "Descending".']}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Data template:"}),"\xa0(Optional) Template to convert a record to text. If left empty, the system dynamically sets it to the record's text key."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"13443183e6054d0694d65f8df08833d5",children:"Combine text"}),"\n",(0,t.jsx)(n.p,{children:"This component concatenates two text sources into a single text chunk using a specified delimiter."}),"\n",(0,t.jsx)(n.h3,{id:"246676d119604fc5bf1be85fe93044aa",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"First text:"}),"\xa0The first text input to concatenate."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Second text:"}),"\xa0The second text input to concatenate."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Delimiter:"}),"\xa0A string used to separate the two text inputs. Defaults to a space."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"506f43345854473b8199631bf68a3b4a",children:"Create record"}),"\n",(0,t.jsx)(n.p,{children:"This component dynamically creates a record with a specified number of fields."}),"\n",(0,t.jsx)(n.h3,{id:"08735e90bd10406695771bad8a95976a",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Number of fields:"}),"\xa0Number of fields to be added to the record."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Text key:"}),"\xa0Key used as text."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"cda421d4bccb4e7db2e48615884ed753",children:"Custom component"}),"\n",(0,t.jsx)(n.p,{children:"Use this component as a template to create your custom component."}),"\n",(0,t.jsx)(n.h3,{id:"04f9eb5e6da4431593a5bee8831f2327",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Parameter:"}),"\xa0Describe the purpose of this parameter."]}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"INFO"}),"\n",(0,t.jsxs)(n.p,{children:["Customize the\xa0",(0,t.jsx)(n.code,{children:"build_config"}),"\xa0and\xa0",(0,t.jsx)(n.code,{children:"build"}),"\xa0methods according to your requirements."]}),"\n",(0,t.jsxs)(n.p,{children:["Learn more about creating custom components at\xa0",(0,t.jsx)(n.a,{href:"http://docs.langflow.org/components/custom",children:"Custom Component"}),"."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"53a6a99a54f0435e9209169cf7730c55",children:"Documents to Data"}),"\n",(0,t.jsx)(n.p,{children:"Convert LangChain documents into Data."}),"\n",(0,t.jsx)(n.h3,{id:"0eb5fce528774c2db4a3677973e75cf8",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Documents:"}),"\xa0Documents to be converted into Data."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"4a8fbfb95ebe44ee8718725546db5393",children:"ID generator"}),"\n",(0,t.jsx)(n.p,{children:"Generates a unique ID."}),"\n",(0,t.jsx)(n.h3,{id:"4629dd15594c47399c97d9511060e114",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Value:"}),"\xa0Unique ID generated."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"6a1a60688641490197c6443df573960e",children:"Message history"}),"\n",(0,t.jsx)(n.p,{children:"Retrieves stored chat messages based on a specific session ID."}),"\n",(0,t.jsx)(n.h3,{id:"31c7fc2a3e8c4f7c89f923e700f4ea34",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Sender type:"}),"\xa0Options for the sender type."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Sender name:"}),"\xa0Sender name."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Number of messages:"}),"\xa0Number of messages to retrieve."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Session ID:"}),"\xa0Session ID of the chat history."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Order:"}),"\xa0Order of the messages."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"f60ab5bbc0db4b27b427897eba97fe29",children:"Data to text"}),"\n",(0,t.jsx)(n.p,{children:"Convert Data into plain text following a specified template."}),"\n",(0,t.jsx)(n.h3,{id:"01b91376569149a49cfcfd9321323688",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Data:"}),"\xa0The Data to convert to text."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Template:"}),"\xa0The template used for formatting the Data. It can contain keys like\xa0",(0,t.jsx)(n.code,{children:"{text}"}),",\xa0",(0,t.jsx)(n.code,{children:"{data}"}),", or any other key in the record."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"210be0ae518d411695d6caafdd7700eb",children:"Split text"}),"\n",(0,t.jsx)(n.p,{children:"Split text into chunks of a specified length."}),"\n",(0,t.jsx)(n.h3,{id:"04197fcd05e64e10b189de1171a32682",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Texts:"}),"\xa0Texts to split."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Separators:"}),"\xa0Characters to split on. Defaults to a space."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max chunk size:"}),"\xa0The maximum length (in characters) of each chunk."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Chunk overlap:"}),"\xa0The amount of character overlap between chunks."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Recursive:"}),"\xa0Whether to split recursively."]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"d3b6116dfd8d4af080ad01bc8fd2b0b3",children:"Update record"}),"\n",(0,t.jsx)(n.p,{children:"Update a record with text-based key/value pairs, similar to updating a Python dictionary."}),"\n",(0,t.jsx)(n.h3,{id:"c830224edc1d486aaaa5e2889f4f6689",children:"Parameters"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Data:"}),"\xa0The record to update."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"New data:"}),"\xa0The new data to update the record with."]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>d});var t=s(6540);const r={},a=t.createContext(r);function i(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f66238ae.54c3def7.js b/assets/js/f66238ae.54c3def7.js new file mode 100644 index 0000000000..afe70fbd64 --- /dev/null +++ b/assets/js/f66238ae.54c3def7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[5772],{9481:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>h,contentTitle:()=>i,default:()=>x,frontMatter:()=>n,metadata:()=>c,toc:()=>l});var s=r(4848),d=r(8453);const n={title:"Vector Stores",sidebar_position:7,slug:"/components-vector-stores"},i="Vector Stores",c={id:"Components/components-vector-stores",title:"Vector Stores",description:"Vector databases are used to store and search for vectors. They can be used to store embeddings, search for similar vectors, and perform other vector operations.",source:"@site/docs/Components/components-vector-stores.md",sourceDirName:"Components",slug:"/components-vector-stores",permalink:"/components-vector-stores",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:7,frontMatter:{title:"Vector Stores",sidebar_position:7,slug:"/components-vector-stores"},sidebar:"defaultSidebar",previous:{title:"Embedding Models",permalink:"/components-embedding-models"},next:{title:"Custom Components",permalink:"/components-custom-components"}},h={},l=[{value:"Astra DB Serverless",id:"astra-db-serverless",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Intputs",id:"intputs",level:4},{value:"Outputs",id:"outputs",level:4},{value:"Cassandra",id:"cassandra",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Intputs",id:"intputs-1",level:4},{value:"Outputs",id:"outputs-1",level:4},{value:"Chroma DB",id:"chroma-db",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Intputs",id:"intputs-2",level:4},{value:"Outputs",id:"outputs-2",level:4},{value:"Couchbase",id:"couchbase",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Intputs",id:"intputs-3",level:4},{value:"Outputs",id:"outputs-3",level:4},{value:"FAISS",id:"faiss",level:2},{value:"Parameters",id:"parameters-4",level:3},{value:"Intputs",id:"intputs-4",level:4},{value:"Outputs",id:"outputs-4",level:4},{value:"Milvus",id:"milvus",level:2},{value:"Parameters",id:"parameters-5",level:3},{value:"Intputs",id:"intputs-5",level:4},{value:"Outputs",id:"outputs-5",level:4},{value:"MongoDB Atlas",id:"mongodb-atlas",level:2},{value:"Parameters",id:"parameters-6",level:3},{value:"Intputs",id:"intputs-6",level:6},{value:"Outputs",id:"outputs-6",level:4},{value:"PGVector",id:"pgvector",level:2},{value:"Parameters",id:"parameters-7",level:3},{value:"Intputs",id:"intputs-7",level:6},{value:"Outputs",id:"outputs-7",level:4},{value:"Pinecone",id:"pinecone",level:2},{value:"Parameters",id:"parameters-8",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Outputs",id:"outputs-8",level:4},{value:"Qdrant",id:"qdrant",level:2},{value:"Parameters",id:"parameters-9",level:3},{value:"Inputs",id:"inputs-1",level:4},{value:"Outputs",id:"outputs-9",level:4},{value:"Redis",id:"redis",level:2},{value:"Parameters",id:"parameters-10",level:3},{value:"Inputs",id:"inputs-2",level:4},{value:"Outputs",id:"outputs-10",level:4},{value:"Supabase",id:"supabase",level:2},{value:"Parameters",id:"parameters-11",level:3},{value:"Inputs",id:"inputs-3",level:4},{value:"Outputs",id:"outputs-11",level:4},{value:"Upstash",id:"upstash",level:2},{value:"Parameters",id:"parameters-12",level:3},{value:"Inputs",id:"inputs-4",level:4},{value:"Outputs",id:"outputs-12",level:4},{value:"Vectara",id:"vectara",level:2},{value:"Parameters",id:"parameters-13",level:3},{value:"Inputs",id:"inputs-5",level:4},{value:"Outputs",id:"outputs-13",level:4},{value:"Vectara Search",id:"vectara-search",level:2},{value:"Parameters",id:"parameters-14",level:3},{value:"Inputs",id:"inputs-6",level:4},{value:"Outputs",id:"outputs-14",level:4},{value:"Weaviate",id:"weaviate",level:2},{value:"Parameters",id:"parameters-15",level:3},{value:"Inputs",id:"inputs-7",level:4},{value:"Outputs",id:"outputs-15",level:4},{value:"Weaviate Search",id:"weaviate-search",level:2},{value:"Parameters",id:"parameters-16",level:3},{value:"Inputs",id:"inputs-8",level:4},{value:"Outputs",id:"outputs-16",level:4}];function a(e){const t={a:"a",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h6:"h6",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"vector-stores",children:"Vector Stores"}),"\n",(0,s.jsx)(t.p,{children:"Vector databases are used to store and search for vectors. They can be used to store embeddings, search for similar vectors, and perform other vector operations."}),"\n",(0,s.jsx)(t.h2,{id:"astra-db-serverless",children:"Astra DB Serverless"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates an Astra DB Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.datastax.com/en/astra-db-serverless/databases/create-database.html",children:"DataStax documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"intputs",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the collection in Astra DB"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"token"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Astra DB Application Token"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"api_endpoint"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"API endpoint URL for Astra DB"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_input"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"namespace"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Optional namespace within Astra DB"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"metric"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Distance metric for vector comparisons"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"batch_size"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"setup_mode"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Configuration mode for setting up the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"pre_delete_collection"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Whether to delete the collection before creating a new one"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings/Dict"}),(0,s.jsx)(t.td,{children:"Embedding model or Astra Vectorize configuration"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_type"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Type of search to perform"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_score_threshold"}),(0,s.jsx)(t.td,{children:"Float"}),(0,s.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_filter"}),(0,s.jsx)(t.td,{children:"Dict"}),(0,s.jsx)(t.td,{children:"Metadata filters for search query"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"AstraDB"}),(0,s.jsx)(t.td,{children:"Astra DB vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"cassandra",children:"Cassandra"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Cassandra Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://cassandra.apache.org/doc/latest/cassandra/vector-search/overview.html",children:"Cassandra documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"intputs-1",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"database_ref"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Contact points for the database or AstraDB database ID"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"username"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Username for the database (leave empty for AstraDB)"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"token"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"User password for the database or AstraDB token"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"keyspace"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Table Keyspace or AstraDB namespace"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"table_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the table or AstraDB collection"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ttl_seconds"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Time-to-live for added texts"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"batch_size"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"setup_mode"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Configuration mode for setting up the Cassandra table"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"cluster_kwargs"}),(0,s.jsx)(t.td,{children:"Dict"}),(0,s.jsx)(t.td,{children:"Additional keyword arguments for the Cassandra cluster"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_type"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Type of search to perform"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_score_threshold"}),(0,s.jsx)(t.td,{children:"Float"}),(0,s.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_filter"}),(0,s.jsx)(t.td,{children:"Dict"}),(0,s.jsx)(t.td,{children:"Metadata filters for search query"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"body_search"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Document textual search terms"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"enable_body_search"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Flag to enable body search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-1",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"Cassandra"}),(0,s.jsx)(t.td,{children:"Cassandra vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"chroma-db",children:"Chroma DB"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Chroma Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.trychroma.com/",children:"Chroma documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"intputs-2",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:'The name of the Chroma collection. Default: "langflow".'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"persist_directory"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"The directory to persist the Chroma database."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"chroma_server_cors_allow_origins"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"CORS allow origins for the Chroma server."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"chroma_server_host"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Host for the Chroma server."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"chroma_server_http_port"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"HTTP port for the Chroma server."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"chroma_server_grpc_port"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"gRPC port for the Chroma server."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"chroma_server_ssl_enabled"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Enable SSL for the Chroma server."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"allow_duplicates"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Allow duplicate documents in the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_type"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:'Type of search to perform: "Similarity" or "MMR".'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return from the search. Default: 10."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"limit"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Limit the number of records to compare when Allow Duplicates is False."})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-2",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"Chroma"}),(0,s.jsx)(t.td,{children:"Chroma vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"couchbase",children:"Couchbase"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Couchbase Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.couchbase.com/home/index.html",children:"Couchbase documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"intputs-3",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"couchbase_connection_string"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Couchbase Cluster connection string (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"couchbase_username"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Couchbase username (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"couchbase_password"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Couchbase password (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"bucket_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Couchbase bucket (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"scope_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Couchbase scope (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Couchbase collection (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Couchbase index (required)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return from the search. Default: 4 (advanced)."})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-3",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"CouchbaseVectorStore"}),(0,s.jsx)(t.td,{children:"A Couchbase vector store instance configured with the specified parameters."})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"faiss",children:"FAISS"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a FAISS Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://faiss.ai/index.html",children:"FAISS documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-4",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"intputs-4",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:'The name of the FAISS index. Default: "langflow_index".'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"persist_directory"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Path to save the FAISS index. It will be relative to where Langflow is running."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"The query to search for in the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"The data to ingest into the vector store (list of Data objects or documents)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"allow_dangerous_deserialization"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Set to True to allow loading pickle files from untrusted sources. Default: True (advanced)."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"The embedding function to use for the vector store."})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return from the search. Default: 4 (advanced)."})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-4",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"FAISS"}),(0,s.jsx)(t.td,{children:"A FAISS vector store instance configured with the specified parameters."})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"milvus",children:"Milvus"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Milvus Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://milvus.io/docs",children:"Milvus documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-5",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"intputs-5",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Milvus collection"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_description"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Description of the Milvus collection"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"uri"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Connection URI for Milvus"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"password"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Password for Milvus"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"username"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Username for Milvus"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"batch_size"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of data to process in a single batch"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_type"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Type of search to perform"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_score_threshold"}),(0,s.jsx)(t.td,{children:"Float"}),(0,s.jsx)(t.td,{children:"Minimum similarity score for search results"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_filter"}),(0,s.jsx)(t.td,{children:"Dict"}),(0,s.jsx)(t.td,{children:"Metadata filters for search query"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"setup_mode"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Configuration mode for setting up the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_dimensions"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of dimensions of the vectors"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"pre_delete_collection"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Whether to delete the collection before creating a new one"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-5",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"Milvus"}),(0,s.jsx)(t.td,{children:"A Milvus vector store instance configured with the specified parameters."})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"mongodb-atlas",children:"MongoDB Atlas"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a MongoDB Atlas Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://www.mongodb.com/docs/atlas/atlas-vector-search/tutorials/vector-search-quick-start/",children:"MongoDB Atlas documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-6",children:"Parameters"}),"\n",(0,s.jsx)(t.h6,{id:"intputs-6",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"mongodb_atlas_cluster_uri"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"MongoDB Atlas Cluster URI"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"db_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Database name"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Collection name"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Index name"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-6",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"MongoDBAtlasVectorSearch"}),(0,s.jsx)(t.td,{children:"MongoDB Atlas vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"pgvector",children:"PGVector"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a PGVector Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://github.com/pgvector/pgvector",children:"PGVector documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-7",children:"Parameters"}),"\n",(0,s.jsx)(t.h6,{id:"intputs-7",children:"Intputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"pg_server_url"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"PostgreSQL server connection string"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Table name for the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-7",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"PGVector"}),(0,s.jsx)(t.td,{children:"PGVector vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"pinecone",children:"Pinecone"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Pinecone Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.pinecone.io/home",children:"Pinecone documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-8",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Pinecone index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"namespace"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Namespace for the index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"distance_strategy"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Strategy for calculating distance between vectors"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"pinecone_api_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"API key for Pinecone"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"text_key"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Key in the record to use as text"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-8",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"Pinecone"}),(0,s.jsx)(t.td,{children:"Pinecone vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"qdrant",children:"Qdrant"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Qdrant Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://qdrant.tech/documentation/",children:"Qdrant documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-9",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-1",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"collection_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Qdrant collection"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"host"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Qdrant server host"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"port"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Qdrant server port"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"grpc_port"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Qdrant gRPC port"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"api_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"API key for Qdrant"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"prefix"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Prefix for Qdrant"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"timeout"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Timeout for Qdrant operations"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"path"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Path for Qdrant"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"url"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"URL for Qdrant"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"distance_func"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Distance function for vector similarity"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"content_payload_key"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Key for content payload"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"metadata_payload_key"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Key for metadata payload"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-9",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"Qdrant"}),(0,s.jsx)(t.td,{children:"Qdrant vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"redis",children:"Redis"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Redis Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/vectors/",children:"Redis documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-10",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-2",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"redis_server_url"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Redis server connection string"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"redis_index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the Redis index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"code"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Custom code for Redis (advanced)"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"schema"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Schema for Redis index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-10",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"Redis"}),(0,s.jsx)(t.td,{children:"Redis vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"supabase",children:"Supabase"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Supabase Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://supabase.com/docs/guides/ai",children:"Supabase documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-11",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-3",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"supabase_url"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"URL of the Supabase instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"supabase_service_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Service key for Supabase authentication"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"table_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the table in Supabase"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"query_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Name of the query to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-11",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"SupabaseVectorStore"}),(0,s.jsx)(t.td,{children:"Supabase vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"upstash",children:"Upstash"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates an Upstash Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://upstash.com/docs/introduction",children:"Upstash documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-12",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-4",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_url"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"The URL of the Upstash index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_token"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"The token for the Upstash index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"text_key"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"The key in the record to use as text"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"namespace"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Namespace for the index"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"metadata_filter"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Filters documents by metadata"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"Data"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use (optional)"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-12",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"UpstashVectorStore"}),(0,s.jsx)(t.td,{children:"Upstash vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"vectara",children:"Vectara"}),"\n",(0,s.jsxs)(t.p,{children:["This component creates a Vectara Vector Store with search capabilities.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-13",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-5",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vectara_customer_id"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vectara_corpus_id"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vectara_api_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Vectara API key"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Embedding function to use (optional)"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"ingest_data"}),(0,s.jsx)(t.td,{children:"List[Document/Data]"}),(0,s.jsx)(t.td,{children:"Data to be ingested into the vector store"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_query"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Query for similarity search"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"number_of_results"}),(0,s.jsx)(t.td,{children:"Integer"}),(0,s.jsx)(t.td,{children:"Number of results to return in search"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-13",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"VectaraVectorStore"}),(0,s.jsx)(t.td,{children:"Vectara vector store instance"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})]})]}),"\n",(0,s.jsx)(t.h2,{id:"vectara-search",children:"Vectara Search"}),"\n",(0,s.jsxs)(t.p,{children:["This component searches a Vectara Vector Store for documents based on the provided input.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://docs.vectara.com/docs/",children:"Vectara documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-14",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-6",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_type"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:'Type of search, such as "Similarity" or "MMR"'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"input_value"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Search query"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vectara_customer_id"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Vectara customer ID"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vectara_corpus_id"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Vectara corpus ID"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vectara_api_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Vectara API key"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"files_url"}),(0,s.jsx)(t.td,{children:"List[String]"}),(0,s.jsx)(t.td,{children:"Optional URLs for file initialization"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-14",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})})]}),"\n",(0,s.jsx)(t.h2,{id:"weaviate",children:"Weaviate"}),"\n",(0,s.jsxs)(t.p,{children:["This component facilitates a Weaviate Vector Store setup, optimizing text and document indexing and retrieval.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://weaviate.io/developers/weaviate",children:"Weaviate Documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-15",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-7",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"weaviate_url"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Default instance URL"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_by_text"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Indicates whether to search by text"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"api_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Optional API key for authentication"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Optional index name"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"text_key"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Default text extraction key"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"input"}),(0,s.jsx)(t.td,{children:"Document"}),(0,s.jsx)(t.td,{children:"Document or record"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Model used"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"attributes"}),(0,s.jsx)(t.td,{children:"List[String]"}),(0,s.jsx)(t.td,{children:"Optional additional attributes"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-15",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"vector_store"}),(0,s.jsx)(t.td,{children:"WeaviateVectorStore"}),(0,s.jsx)(t.td,{children:"Weaviate vector store instance"})]})})]}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"Note:"})," Ensure Weaviate instance is running and accessible. Verify API key, index name, text key, and attributes are set correctly."]}),"\n",(0,s.jsx)(t.h2,{id:"weaviate-search",children:"Weaviate Search"}),"\n",(0,s.jsxs)(t.p,{children:["This component searches a Weaviate Vector Store for documents similar to the input.\nFor more information, see the ",(0,s.jsx)(t.a,{href:"https://weaviate.io/developers/weaviate",children:"Weaviate Documentation"}),"."]}),"\n",(0,s.jsx)(t.h3,{id:"parameters-16",children:"Parameters"}),"\n",(0,s.jsx)(t.h4,{id:"inputs-8",children:"Inputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_type"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:'Type of search, such as "Similarity" or "MMR"'})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"input_value"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Search query"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"weaviate_url"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Default instance URL"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_by_text"}),(0,s.jsx)(t.td,{children:"Boolean"}),(0,s.jsx)(t.td,{children:"Indicates whether to search by text"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"api_key"}),(0,s.jsx)(t.td,{children:"SecretString"}),(0,s.jsx)(t.td,{children:"Optional API key for authentication"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"index_name"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Optional index name"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"text_key"}),(0,s.jsx)(t.td,{children:"String"}),(0,s.jsx)(t.td,{children:"Default text extraction key"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"embedding"}),(0,s.jsx)(t.td,{children:"Embeddings"}),(0,s.jsx)(t.td,{children:"Model used"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"attributes"}),(0,s.jsx)(t.td,{children:"List[String]"}),(0,s.jsx)(t.td,{children:"Optional additional attributes"})]})]})]}),"\n",(0,s.jsx)(t.h4,{id:"outputs-16",children:"Outputs"}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{children:"Name"}),(0,s.jsx)(t.th,{children:"Type"}),(0,s.jsx)(t.th,{children:"Description"})]})}),(0,s.jsx)(t.tbody,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{children:"search_results"}),(0,s.jsx)(t.td,{children:"List[Data]"}),(0,s.jsx)(t.td,{children:"Results of similarity search"})]})})]})]})}function x(e={}){const{wrapper:t}={...(0,d.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},8453:(e,t,r)=>{r.d(t,{R:()=>i,x:()=>c});var s=r(6540);const d={},n=s.createContext(d);function i(e){const t=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:i(e.components),s.createElement(n.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f66238ae.84317656.js b/assets/js/f66238ae.84317656.js deleted file mode 100644 index 7f30064c21..0000000000 --- a/assets/js/f66238ae.84317656.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[5772],{9481:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>t,metadata:()=>c,toc:()=>o});var s=r(4848),i=r(8453);const t={title:"Vector Stores",sidebar_position:7,slug:"/components-vector-stores"},l=void 0,c={id:"Components/components-vector-stores",title:"Vector Stores",description:"This page may contain outdated information. It will be updated as soon as possible.",source:"@site/docs/Components/components-vector-stores.md",sourceDirName:"Components",slug:"/components-vector-stores",permalink:"/components-vector-stores",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:7,frontMatter:{title:"Vector Stores",sidebar_position:7,slug:"/components-vector-stores"},sidebar:"defaultSidebar",previous:{title:"Embedding Models",permalink:"/components-embedding-models"},next:{title:"Custom Components",permalink:"/components-custom-components"}},d={},o=[{value:"Astra DB",id:"453bcf5664154e37a920f1b602bd39da",level:3},{value:"Astra DB Search",id:"26f25d1933a9459bad2d6725f87beb11",level:3},{value:"Chroma",id:"74730795605143cba53e1f4c4f2ef5d6",level:3},{value:"Chroma Search",id:"5718072a155441f3a443b944ad4d638f",level:3},{value:"Couchbase",id:"6900a79347164f35af27ae27f0d64a6d",level:3},{value:"Couchbase Search",id:"c77bb09425a3426f9677d38d8237d9ba",level:3},{value:"FAISS",id:"5b3f4e6592a847b69e07df2f674a03f0",level:3},{value:"FAISS Search",id:"81ff12d7205940a3b14e3ddf304630f8",level:3},{value:"MongoDB Atlas",id:"eba8892f7a204b97ad1c353e82948149",level:3},{value:"MongoDB Atlas Search",id:"686ba0e30a54438cbc7153b81ee4b1df",level:3},{value:"PGVector",id:"7ceebdd84ab14f8e8589c13c58370e5b",level:3},{value:"PGVector Search",id:"196bf22ea2844bdbba971b5082750943",level:3},{value:"Pinecone",id:"67abbe3e27c34fb4bcb35926ce831727",level:3},{value:"Pinecone Search",id:"977944558cad4cf2ba332ea4f06bf485",level:3},{value:"Qdrant",id:"88df77f3044e4ac6980950835a919fb0",level:3},{value:"Qdrant Search",id:"5ba5f8dca0f249d7ad00778f49901e6c",level:3},{value:"Redis",id:"a0fb8a9d244a40eb8439d0f8c22a2562",level:3},{value:"Redis Search",id:"80aea4da515f490e979c8576099ee880",level:3},{value:"Supabase",id:"e86fb3cc507e4b5494f0a421f94e853b",level:3},{value:"Supabase Search",id:"fd02d550b9b2457f91f2f4073656cb09",level:3},{value:"Upstash Vector",id:"upstash-vector",level:3},{value:"Vectara",id:"b4e05230b62a47c792a89c5511af97ac",level:3},{value:"Vectara Search",id:"31a47221c23f4fbba4a7465cf1d89eb0",level:3},{value:"Weaviate",id:"57c7969574b1418dbb079ac5fc8cd857",level:3},{value:"Weaviate Search",id:"6d4e616dfd6143b28dc055bc1c40ecae",level:3}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h3:"h3",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"This page may contain outdated information. It will be updated as soon as possible."})}),"\n",(0,s.jsx)(n.h3,{id:"453bcf5664154e37a920f1b602bd39da",children:"Astra DB"}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.code,{children:"Astra DB"}),"\xa0initializes a vector store using Astra DB from Data. It creates Astra DB-based vector indexes to efficiently store and retrieve documents."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents or Data for input."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding or Astra vectorize:"}),"\xa0External or server-side model Astra DB uses."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Name of the Astra DB collection."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Token:"}),"\xa0Authentication token for Astra DB."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API Endpoint:"}),"\xa0API endpoint for Astra DB."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Namespace:"}),"\xa0Astra DB namespace."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metric:"}),"\xa0Metric used by Astra DB."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Batch Size:"}),"\xa0Batch size for operations."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bulk Insert Batch Concurrency:"}),"\xa0Concurrency level for bulk inserts."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bulk Insert Overwrite Concurrency:"}),"\xa0Concurrency level for overwriting during bulk inserts."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bulk Delete Concurrency:"}),"\xa0Concurrency level for bulk deletions."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Setup Mode:"}),"\xa0Setup mode for the vector store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pre Delete Collection:"}),"\xa0Option to delete the collection before setup."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metadata Indexing Include:"}),"\xa0Fields to include in metadata indexing."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metadata Indexing Exclude:"}),"\xa0Fields to exclude from metadata indexing."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Indexing Policy:"}),"\xa0Indexing policy for the collection."]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"NOTE"}),"\n",(0,s.jsx)(n.p,{children:"Ensure you configure the necessary Astra DB token and API endpoint before starting."}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"26f25d1933a9459bad2d6725f87beb11",children:"Astra DB Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Astra DBSearch"}),"\xa0searches an existing Astra DB vector store for documents similar to the input. It uses the\xa0",(0,s.jsx)(n.code,{children:"Astra DB"}),"component's functionality for efficient retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),"\xa0Type of search, such as Similarity or MMR."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Value to search for."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding or Astra vectorize:"}),"\xa0External or server-side model Astra DB uses."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Name of the Astra DB collection."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Token:"}),"\xa0Authentication token for Astra DB."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API Endpoint:"}),"\xa0API endpoint for Astra DB."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Namespace:"}),"\xa0Astra DB namespace."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metric:"}),"\xa0Metric used by Astra DB."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Batch Size:"}),"\xa0Batch size for operations."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bulk Insert Batch Concurrency:"}),"\xa0Concurrency level for bulk inserts."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bulk Insert Overwrite Concurrency:"}),"\xa0Concurrency level for overwriting during bulk inserts."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bulk Delete Concurrency:"}),"\xa0Concurrency level for bulk deletions."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Setup Mode:"}),"\xa0Setup mode for the vector store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pre Delete Collection:"}),"\xa0Option to delete the collection before setup."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metadata Indexing Include:"}),"\xa0Fields to include in metadata indexing."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metadata Indexing Exclude:"}),"\xa0Fields to exclude from metadata indexing."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Indexing Policy:"}),"\xa0Indexing policy for the collection."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"74730795605143cba53e1f4c4f2ef5d6",children:"Chroma"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Chroma"}),"\xa0sets up a vector store using Chroma for efficient vector storage and retrieval within language processing workflows."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Name of the collection."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Persist Directory:"}),"\xa0Directory to persist the Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server CORS Allow Origins (Optional):"}),"\xa0CORS allow origins for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server Host (Optional):"}),"\xa0Host for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server Port (Optional):"}),"\xa0Port for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server gRPC Port (Optional):"}),"\xa0gRPC port for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server SSL Enabled (Optional):"}),"\xa0SSL configuration for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Input data for creating the Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Embeddings used for the Vector Store."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For detailed documentation and integration guides, please refer to the\xa0",(0,s.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/vectorstores/chroma",children:"Chroma Component Documentation"}),"."]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"5718072a155441f3a443b944ad4d638f",children:"Chroma Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"ChromaSearch"}),"\xa0searches a Chroma collection for documents similar to the input text. It leverages Chroma to ensure efficient document retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Input text for search."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),"\xa0Type of search, such as Similarity or MMR."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Name of the Chroma collection."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Directory:"}),"\xa0Directory where the Chroma index is stored."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Embedding model used for vectorization."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server CORS Allow Origins (Optional):"}),"\xa0CORS allow origins for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server Host (Optional):"}),"\xa0Host for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server Port (Optional):"}),"\xa0Port for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server gRPC Port (Optional):"}),"\xa0gRPC port for the Chroma server."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Server SSL Enabled (Optional):"}),"\xa0SSL configuration for the Chroma server."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"6900a79347164f35af27ae27f0d64a6d",children:"Couchbase"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Couchbase"}),"\xa0builds a Couchbase vector store from Data, streamlining the storage and retrieval of documents."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used by Couchbase."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents or Data."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Couchbase Cluster Connection String:"}),"\xa0Cluster Connection string."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Couchbase Cluster Username:"}),"\xa0Cluster Username."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Couchbase Cluster Password:"}),"\xa0Cluster Password."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bucket Name:"}),"\xa0Bucket identifier in Couchbase."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Scope Name:"}),"\xa0Scope identifier in Couchbase."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Collection identifier in Couchbase."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For detailed documentation and integration guides, please refer to the\xa0",(0,s.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/vectorstores/couchbase",children:"Couchbase Component Documentation"}),"."]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"c77bb09425a3426f9677d38d8237d9ba",children:"Couchbase Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"CouchbaseSearch"}),"\xa0leverages the Couchbase component to search for documents based on similarity metric."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used in the Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Couchbase Cluster Connection String:"}),"\xa0Cluster Connection string."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Couchbase Cluster Username:"}),"\xa0Cluster Username."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Couchbase Cluster Password:"}),"\xa0Cluster Password."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Bucket Name:"}),"\xa0Bucket identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Scope Name:"}),"\xa0Scope identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Collection identifier in Couchbase."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"5b3f4e6592a847b69e07df2f674a03f0",children:"FAISS"}),"\n",(0,s.jsxs)(n.p,{children:["The\xa0",(0,s.jsx)(n.code,{children:"FAISS"}),"\xa0component manages document ingestion into a FAISS Vector Store, optimizing document indexing and retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used for vectorizing inputs."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents to ingest."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Folder Path:"}),"\xa0Save path for the FAISS index, relative to Langflow."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For more details, see the\xa0",(0,s.jsx)(n.a,{href:"https://faiss.ai/index.html",children:"FAISS Component Documentation"}),"."]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"81ff12d7205940a3b14e3ddf304630f8",children:"FAISS Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"FAISSSearch"}),"\xa0searches a FAISS Vector Store for documents similar to a given input, using similarity metrics for efficient retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used in the FAISS Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Folder Path:"}),"\xa0Path to load the FAISS index from, relative to Langflow."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"eba8892f7a204b97ad1c353e82948149",children:"MongoDB Atlas"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"MongoDBAtlas"}),"\xa0builds a MongoDB Atlas-based vector store from Data, streamlining the storage and retrieval of documents."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used by MongoDB Atlas."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents or Data."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Collection identifier in MongoDB Atlas."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Database Name:"}),"\xa0Database identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"MongoDB Atlas Cluster URI:"}),"\xa0Cluster URI."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Kwargs:"}),"\xa0Additional search parameters."]}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"NOTE"}),"\n",(0,s.jsx)(n.p,{children:"Ensure pymongo is installed for using MongoDB Atlas Vector Store."}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"686ba0e30a54438cbc7153b81ee4b1df",children:"MongoDB Atlas Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"MongoDBAtlasSearch"}),"\xa0leverages the MongoDBAtlas component to search for documents based on similarity metrics."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used in the Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Collection identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Database Name:"}),"\xa0Database identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"MongoDB Atlas Cluster URI:"}),"\xa0Cluster URI."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Kwargs:"}),"\xa0Additional search parameters."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"7ceebdd84ab14f8e8589c13c58370e5b",children:"PGVector"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"PGVector"}),"\xa0integrates a Vector Store within a PostgreSQL database, allowing efficient storage and retrieval of vectors."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Value for the Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"PostgreSQL Server Connection String:"}),"\xa0Server URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Table:"}),"\xa0Table name in the PostgreSQL database."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For more details, see the\xa0",(0,s.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/vectorstores/pgvector",children:"PGVector Component Documentation"}),"."]}),"\n",(0,s.jsx)(n.p,{children:"NOTE"}),"\n",(0,s.jsx)(n.p,{children:"Ensure the PostgreSQL server is accessible and configured correctly."}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"196bf22ea2844bdbba971b5082750943",children:"PGVector Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"PGVectorSearch"}),"\xa0extends\xa0",(0,s.jsx)(n.code,{children:"PGVector"}),"\xa0to search for documents based on similarity metrics."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"PostgreSQL Server Connection String:"}),"\xa0Server URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Table:"}),"\xa0Table name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"67abbe3e27c34fb4bcb35926ce831727",children:"Pinecone"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Pinecone"}),"\xa0constructs a Pinecone wrapper from Data, setting up Pinecone-based vector indexes for document storage and retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents or Data."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Namespace:"}),"\xa0Namespace used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pinecone API Key:"}),"\xa0API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pinecone Environment:"}),"\xa0Environment settings."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Kwargs:"}),"\xa0Additional search parameters."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pool Threads:"}),"\xa0Number of threads."]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"Ensure the Pinecone API key and environment are correctly configured."})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"977944558cad4cf2ba332ea4f06bf485",children:"Pinecone Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"PineconeSearch"}),"\xa0searches a Pinecone Vector Store for documents similar to the input, using advanced similarity metrics."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Index identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Namespace:"}),"\xa0Namespace used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pinecone API Key:"}),"\xa0API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pinecone Environment:"}),"\xa0Environment settings."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Kwargs:"}),"\xa0Additional search parameters."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Pool Threads:"}),"\xa0Number of threads."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"88df77f3044e4ac6980950835a919fb0",children:"Qdrant"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Qdrant"}),"\xa0allows efficient similarity searches and retrieval operations, using a list of texts to construct a Qdrant wrapper."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents or Data."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API Key:"}),"\xa0Qdrant API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Collection identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Advanced Settings:"}),"\xa0Includes content payload key, distance function, gRPC port, host, HTTPS, location, metadata payload key, path, port, prefer gRPC, prefix, search kwargs, timeout, URL."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"5ba5f8dca0f249d7ad00778f49901e6c",children:"Qdrant Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"QdrantSearch"}),"\xa0extends\xa0",(0,s.jsx)(n.code,{children:"Qdrant"}),"\xa0to search for documents similar to the input based on advanced similarity metrics."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API Key:"}),"\xa0Qdrant API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Collection Name:"}),"\xa0Collection identifier."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Advanced Settings:"}),"\xa0Includes content payload key, distance function, gRPC port, host, HTTPS, location, metadata payload key, path, port, prefer gRPC, prefix, search kwargs, timeout, URL."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"a0fb8a9d244a40eb8439d0f8c22a2562",children:"Redis"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Redis"}),"\xa0manages a Vector Store in a Redis database, supporting efficient vector storage and retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Default index name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Data for building the Redis Vector Store."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Schema:"}),"\xa0Optional schema file (.yaml) for document structure."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Redis Server Connection String:"}),"\xa0Server URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Redis Index:"}),"\xa0Optional index name."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For detailed documentation, refer to the\xa0",(0,s.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/vectorstores/redis",children:"Redis Documentation"}),"."]}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"Ensure the Redis server URL and index name are configured correctly. Provide a schema if no documents are available."})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"80aea4da515f490e979c8576099ee880",children:"Redis Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"RedisSearch"}),"\xa0searches a Redis Vector Store for documents similar to the input."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Default index name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Schema:"}),"\xa0Optional schema file (.yaml) for document structure."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Redis Server Connection String:"}),"\xa0Server URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Redis Index:"}),"\xa0Optional index name."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"e86fb3cc507e4b5494f0a421f94e853b",children:"Supabase"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Supabase"}),"\xa0initializes a Supabase Vector Store from texts and embeddings, setting up an environment for efficient document retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Documents or data."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Query Name:"}),"\xa0Optional query name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Kwargs:"}),"\xa0Advanced search parameters."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Supabase Service Key:"}),"\xa0Service key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Supabase URL:"}),"\xa0Instance URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Table Name:"}),"\xa0Optional table name."]}),"\n"]}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"Ensure the Supabase service key, URL, and table name are properly configured."})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"fd02d550b9b2457f91f2f4073656cb09",children:"Supabase Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"SupabaseSearch"}),"\xa0searches a Supabase Vector Store for documents similar to the input."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Query Name:"}),"\xa0Optional query name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Kwargs:"}),"\xa0Advanced search parameters."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Supabase Service Key:"}),"\xa0Service key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Supabase URL:"}),"\xa0Instance URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Table Name:"}),"\xa0Optional table name."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"upstash-vector",children:"Upstash Vector"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"UpstashVector"})," searches a Upstash Vector Store for documents similar to the input. It has it's own embedding\nmodel which can be used to search documents without needing an external embedding model."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index URL:"}),"\xa0The URL of the Upstash index."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Token:"}),"\xa0The token for the Upstash index."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Text Key:"}),"\xa0The key in the record to use as text."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Namespace:"}),"\xa0The namespace name. A new namespace is created if not found. Leave empty for default namespace."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Query:"}),"\xa0The search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Metadata Filter:"}),"\xa0The metadata filter. Filters documents by metadata. Look at the ",(0,s.jsx)(n.a,{href:"https://upstash.com/docs/vector/features/filtering",children:"docs"})," for more information."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0The embedding model used. To use Upstash's embeddings, don't provide an embedding."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Number of Results:"}),"\xa0The number of results to return."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"b4e05230b62a47c792a89c5511af97ac",children:"Vectara"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Vectara"}),"\xa0sets up a Vectara Vector Store from files or upserted data, optimizing document retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara Customer ID:"}),"\xa0Customer ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara Corpus ID:"}),"\xa0Corpus ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara API Key:"}),"\xa0API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Files Url:"}),"\xa0Optional URLs for file initialization."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Optional data for corpus upsert."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For more information, consult the\xa0",(0,s.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/vectorstores/vectara",children:"Vectara Component Documentation"}),"."]}),"\n",(0,s.jsx)(n.admonition,{type:"info",children:(0,s.jsx)(n.p,{children:"If inputs or files_url are provided, they will be processed accordingly."})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"31a47221c23f4fbba4a7465cf1d89eb0",children:"Vectara Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"VectaraSearch"}),"\xa0searches a Vectara Vector Store for documents based on the provided input."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara Customer ID:"}),"\xa0Customer ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara Corpus ID:"}),"\xa0Corpus ID."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Vectara API Key:"}),"\xa0API key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Files Url:"}),"\xa0Optional URLs for file initialization."]}),"\n"]}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"57c7969574b1418dbb079ac5fc8cd857",children:"Weaviate"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Weaviate"}),"\xa0facilitates a Weaviate Vector Store setup, optimizing text and document indexing and retrieval."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Weaviate URL:"}),"\xa0Default instance URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search By Text:"}),"\xa0Indicates whether to search by text."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API Key:"}),"\xa0Optional API key for authentication."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Optional index name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Text Key:"}),"\xa0Default text extraction key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input:"}),"\xa0Document or record."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Attributes:"}),"\xa0Optional additional attributes."]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["For more details, see the\xa0",(0,s.jsx)(n.a,{href:"https://python.langchain.com/docs/integrations/vectorstores/weaviate",children:"Weaviate Component Documentation"}),"."]}),"\n",(0,s.jsx)(n.p,{children:"NOTE"}),"\n",(0,s.jsx)(n.p,{children:"Ensure Weaviate instance is running and accessible. Verify API key, index name, text key, and attributes are set correctly."}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"6d4e616dfd6143b28dc055bc1c40ecae",children:"Weaviate Search"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"WeaviateSearch"}),"\xa0searches a Weaviate Vector Store for documents similar to the input."]}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search Type:"}),'\xa0Type of search, such as "Similarity" or "MMR".']}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Input Value:"}),"\xa0Search query."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Weaviate URL:"}),"\xa0Default instance URL."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Search By Text:"}),"\xa0Indicates whether to search by text."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API Key:"}),"\xa0Optional API key for authentication."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Index Name:"}),"\xa0Optional index name."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Text Key:"}),"\xa0Default text extraction key."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Embedding:"}),"\xa0Model used."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Attributes:"}),"\xa0Optional additional attributes."]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>l,x:()=>c});var s=r(6540);const i={},t=s.createContext(i);function l(e){const n=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fdefa9a8.c2cad3b5.js b/assets/js/fdefa9a8.c2cad3b5.js new file mode 100644 index 0000000000..cc82f2ca29 --- /dev/null +++ b/assets/js/fdefa9a8.c2cad3b5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7453],{8917:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>o,frontMatter:()=>d,metadata:()=>l,toc:()=>h});var r=s(4848),n=s(8453);const d={title:"Data",sidebar_position:3,slug:"/components-data"},i=void 0,l={id:"Components/components-data",title:"Data",description:"API Request",source:"@site/docs/Components/components-data.md",sourceDirName:"Components",slug:"/components-data",permalink:"/components-data",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{title:"Data",sidebar_position:3,slug:"/components-data"},sidebar:"defaultSidebar",previous:{title:"Prompts",permalink:"/components-prompts"},next:{title:"Helpers",permalink:"/components-helpers"}},c={},h=[{value:"API Request",id:"api-request",level:2},{value:"Parameters",id:"parameters",level:3},{value:"Inputs",id:"inputs",level:4},{value:"Directory",id:"directory",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"File",id:"file",level:2},{value:"Parameters",id:"parameters-2",level:3},{value:"Inputs",id:"inputs-1",level:4},{value:"Outputs",id:"outputs",level:4},{value:"URL",id:"url",level:2},{value:"Parameters",id:"parameters-3",level:3},{value:"Inputs",id:"inputs-2",level:4},{value:"Outputs",id:"outputs-1",level:4},{value:"Gmail Loader",id:"gmail-loader",level:2},{value:"Parameters",id:"parameters-4",level:3},{value:"Google Drive Loader",id:"google-drive-loader",level:2},{value:"Parameters",id:"parameters-5",level:3},{value:"Google Drive Search",id:"google-drive-search",level:2},{value:"Parameters",id:"parameters-6",level:3},{value:"Webhook Input",id:"webhook-input",level:2},{value:"Parameters",id:"parameters-7",level:3},{value:"Inputs",id:"inputs-3",level:4},{value:"Outputs",id:"outputs-2",level:4}];function a(e){const t={a:"a",h2:"h2",h3:"h3",h4:"h4",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h2,{id:"api-request",children:"API Request"}),"\n",(0,r.jsx)(t.p,{children:"This component sends HTTP requests to the specified URLs."}),"\n",(0,r.jsx)(t.p,{children:"Use this component to interact with external APIs or services and retrieve data. Ensure that the URLs are valid and that you configure the method, headers, body, and timeout correctly."}),"\n",(0,r.jsx)(t.h3,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"URLs"}),(0,r.jsx)(t.td,{children:"URLs"}),(0,r.jsx)(t.td,{children:"The URLs to target"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"curl"}),(0,r.jsx)(t.td,{children:"curl"}),(0,r.jsx)(t.td,{children:"Paste a curl command to fill in the dictionary fields for headers and body"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Method"}),(0,r.jsx)(t.td,{children:"HTTP Method"}),(0,r.jsx)(t.td,{children:"The HTTP method to use, such as GET or POST"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Headers"}),(0,r.jsx)(t.td,{children:"Headers"}),(0,r.jsx)(t.td,{children:"The headers to include with the request"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Body"}),(0,r.jsx)(t.td,{children:"Request Body"}),(0,r.jsx)(t.td,{children:"The data to send with the request (for methods like POST, PATCH, PUT)"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Timeout"}),(0,r.jsx)(t.td,{children:"Timeout"}),(0,r.jsx)(t.td,{children:"The maximum time to wait for a response"})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"directory",children:"Directory"}),"\n",(0,r.jsx)(t.p,{children:"This component recursively loads files from a directory, with options for file types, depth, and concurrency."}),"\n",(0,r.jsx)(t.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Input"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"path"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"Path to the directory to load files from"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"types"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"File types to load (leave empty to load all types)"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"depth"}),(0,r.jsx)(t.td,{children:"IntInput"}),(0,r.jsx)(t.td,{children:"Depth to search for files"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_concurrency"}),(0,r.jsx)(t.td,{children:"IntInput"}),(0,r.jsx)(t.td,{children:"Maximum concurrency for loading files"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"load_hidden"}),(0,r.jsx)(t.td,{children:"BoolInput"}),(0,r.jsx)(t.td,{children:"If true, hidden files will be loaded"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"recursive"}),(0,r.jsx)(t.td,{children:"BoolInput"}),(0,r.jsx)(t.td,{children:"If true, the search will be recursive"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"silent_errors"}),(0,r.jsx)(t.td,{children:"BoolInput"}),(0,r.jsx)(t.td,{children:"If true, errors will not raise an exception"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"use_multithreading"}),(0,r.jsx)(t.td,{children:"BoolInput"}),(0,r.jsx)(t.td,{children:"If true, multithreading will be used"})]})]})]}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Output"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"data"}),(0,r.jsx)(t.td,{children:"List[Data]"}),(0,r.jsx)(t.td,{children:"Loaded file data from the directory"})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"file",children:"File"}),"\n",(0,r.jsx)(t.p,{children:"The FileComponent is a class that loads and parses text files of various supported formats, converting the content into a Data object. It supports multiple file types and provides an option for silent error handling."}),"\n",(0,r.jsx)(t.h3,{id:"parameters-2",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-1",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"path"}),(0,r.jsx)(t.td,{children:"Path"}),(0,r.jsx)(t.td,{children:"File path to load."})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"silent_errors"}),(0,r.jsx)(t.td,{children:"Silent Errors"}),(0,r.jsx)(t.td,{children:"If true, errors will not raise an exception."})]})]})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"data"}),(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"Parsed content of the file as a Data object."})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"url",children:"URL"}),"\n",(0,r.jsx)(t.p,{children:"The URLComponent is a class that fetches content from one or more URLs, processes the content, and returns it as a list of Data objects. It ensures that the provided URLs are valid and uses WebBaseLoader to fetch the content."}),"\n",(0,r.jsx)(t.h3,{id:"parameters-3",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-2",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"urls"}),(0,r.jsx)(t.td,{children:"URLs"}),(0,r.jsx)(t.td,{children:"Enter one or more URLs"})]})})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-1",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Display Name"}),(0,r.jsx)(t.th,{children:"Info"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"data"}),(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"List of Data objects containing fetched content and metadata"})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"gmail-loader",children:"Gmail Loader"}),"\n",(0,r.jsx)(t.p,{children:"This component loads emails from Gmail using provided credentials and filters."}),"\n",(0,r.jsxs)(t.p,{children:["For more on creating a service account JSON, see ",(0,r.jsx)(t.a,{href:"https://developers.google.com/identity/protocols/oauth2/service-account",children:"Service Account JSON"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-4",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Input"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"json_string"}),(0,r.jsx)(t.td,{children:"SecretStrInput"}),(0,r.jsx)(t.td,{children:"JSON string containing OAuth 2.0 access token information for service account access"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"label_ids"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"Comma-separated list of label IDs to filter emails"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"max_results"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"Maximum number of emails to load"})]})]})]}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Output"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"data"}),(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"Loaded email data"})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"google-drive-loader",children:"Google Drive Loader"}),"\n",(0,r.jsx)(t.p,{children:"This component loads documents from Google Drive using provided credentials and a single document ID."}),"\n",(0,r.jsxs)(t.p,{children:["For more on creating a service account JSON, see ",(0,r.jsx)(t.a,{href:"https://developers.google.com/identity/protocols/oauth2/service-account",children:"Service Account JSON"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-5",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Input"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"json_string"}),(0,r.jsx)(t.td,{children:"SecretStrInput"}),(0,r.jsx)(t.td,{children:"JSON string containing OAuth 2.0 access token information for service account access"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"document_id"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"Single Google Drive document ID"})]})]})]}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Output"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"docs"}),(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"Loaded document data"})]})})]}),"\n",(0,r.jsx)(t.h2,{id:"google-drive-search",children:"Google Drive Search"}),"\n",(0,r.jsx)(t.p,{children:"This component searches Google Drive files using provided credentials and query parameters."}),"\n",(0,r.jsxs)(t.p,{children:["For more on creating a service account JSON, see ",(0,r.jsx)(t.a,{href:"https://developers.google.com/identity/protocols/oauth2/service-account",children:"Service Account JSON"}),"."]}),"\n",(0,r.jsx)(t.h3,{id:"parameters-6",children:"Parameters"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Input"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"token_string"}),(0,r.jsx)(t.td,{children:"SecretStrInput"}),(0,r.jsx)(t.td,{children:"JSON string containing OAuth 2.0 access token information for service account access"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"query_item"}),(0,r.jsx)(t.td,{children:"DropdownInput"}),(0,r.jsx)(t.td,{children:"The field to query"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"valid_operator"}),(0,r.jsx)(t.td,{children:"DropdownInput"}),(0,r.jsx)(t.td,{children:"Operator to use in the query"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"search_term"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"The value to search for in the specified query item"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"query_string"}),(0,r.jsx)(t.td,{children:"MessageTextInput"}),(0,r.jsx)(t.td,{children:"The query string used for searching (can be edited manually)"})]})]})]}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Output"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsxs)(t.tbody,{children:[(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"doc_urls"}),(0,r.jsx)(t.td,{children:"List[str]"}),(0,r.jsx)(t.td,{children:"URLs of the found documents"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"doc_ids"}),(0,r.jsx)(t.td,{children:"List[str]"}),(0,r.jsx)(t.td,{children:"IDs of the found documents"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"doc_titles"}),(0,r.jsx)(t.td,{children:"List[str]"}),(0,r.jsx)(t.td,{children:"Titles of the found documents"})]}),(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"Document titles and URLs in a structured format"})]})]})]}),"\n",(0,r.jsx)(t.h2,{id:"webhook-input",children:"Webhook Input"}),"\n",(0,r.jsx)(t.p,{children:"This component defines a webhook input for the flow. The flow can be triggered by an external HTTP POST request (webhook) sending a JSON payload."}),"\n",(0,r.jsx)(t.p,{children:'If the input is not valid JSON, the component will wrap it in a "payload" field. The component\'s status will reflect any errors or the processed data.'}),"\n",(0,r.jsx)(t.h3,{id:"parameters-7",children:"Parameters"}),"\n",(0,r.jsx)(t.h4,{id:"inputs-3",children:"Inputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"data"}),(0,r.jsx)(t.td,{children:"String"}),(0,r.jsx)(t.td,{children:"JSON payload for testing the webhook component"})]})})]}),"\n",(0,r.jsx)(t.h4,{id:"outputs-2",children:"Outputs"}),"\n",(0,r.jsxs)(t.table,{children:[(0,r.jsx)(t.thead,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.th,{children:"Name"}),(0,r.jsx)(t.th,{children:"Type"}),(0,r.jsx)(t.th,{children:"Description"})]})}),(0,r.jsx)(t.tbody,{children:(0,r.jsxs)(t.tr,{children:[(0,r.jsx)(t.td,{children:"output_data"}),(0,r.jsx)(t.td,{children:"Data"}),(0,r.jsx)(t.td,{children:"Processed data from the webhook input"})]})})]})]})}function o(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>i,x:()=>l});var r=s(6540);const n={},d=r.createContext(n);function i(e){const t=r.useContext(d);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),r.createElement(d.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/fdefa9a8.cc4cfb89.js b/assets/js/fdefa9a8.cc4cfb89.js deleted file mode 100644 index 08971a4904..0000000000 --- a/assets/js/fdefa9a8.cc4cfb89.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[7453],{8917:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>i,metadata:()=>a,toc:()=>c});var t=s(4848),r=s(8453);const i={title:"Data",sidebar_position:3,slug:"/components-data"},o=void 0,a={id:"Components/components-data",title:"Data",description:"This page may contain outdated information. It will be updated as soon as possible.",source:"@site/docs/Components/components-data.md",sourceDirName:"Components",slug:"/components-data",permalink:"/components-data",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{title:"Data",sidebar_position:3,slug:"/components-data"},sidebar:"defaultSidebar",previous:{title:"Prompts",permalink:"/components-prompts"},next:{title:"Helpers",permalink:"/components-helpers"}},d={},c=[{value:"API Request",id:"23da589293f74016a1f70d6d7c0fdc55",level:2},{value:"Directory",id:"4fe56acaaac847029ace173dc793f8f4",level:2},{value:"File",id:"d5d4bb78ce0a473d8a3b6a296d3e8383",level:2},{value:"URL",id:"1cc513827a0942d6885b3a9168eabc97",level:2},{value:"Create Data",id:"aac4cad0cd38426191c2e7516285877b",level:2}];function l(e){const n={admonition:"admonition",code:"code",h2:"h2",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.admonition,{type:"info",children:(0,t.jsx)(n.p,{children:"This page may contain outdated information. It will be updated as soon as possible."})}),"\n",(0,t.jsx)(n.h2,{id:"23da589293f74016a1f70d6d7c0fdc55",children:"API Request"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.p,{children:"This component sends HTTP requests to the specified URLs."}),"\n",(0,t.jsx)(n.p,{children:"Use this component to interact with external APIs or services and retrieve data. Ensure that the URLs are valid and that you configure the method, headers, body, and timeout correctly."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"URLs:"}),"\xa0The URLs to target."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Method:"}),"\xa0The HTTP method, such as GET or POST."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Headers:"}),"\xa0The headers to include with the request."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Body:"}),"\xa0The data to send with the request (for methods like POST, PATCH, PUT)."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Timeout:"}),"\xa0The maximum time to wait for a response."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"4fe56acaaac847029ace173dc793f8f4",children:"Directory"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.p,{children:"This component recursively retrieves files from a specified directory."}),"\n",(0,t.jsx)(n.p,{children:"Use this component to retrieve various file types, such as text or JSON files, from a directory. Make sure to provide the correct path and configure the other parameters as needed."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Path:"}),"\xa0The directory path."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Types:"}),"\xa0The types of files to retrieve. Leave this blank to retrieve all file types."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Depth:"}),"\xa0The level of directory depth to search."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Max Concurrency:"}),"\xa0The maximum number of simultaneous file loading operations."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Load Hidden:"}),"\xa0Set to true to include hidden files."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Recursive:"}),"\xa0Set to true to enable recursive search."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Silent Errors:"}),"\xa0Set to true to suppress exceptions on errors."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Use Multithreading:"}),"\xa0Set to true to use multithreading in file loading."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"d5d4bb78ce0a473d8a3b6a296d3e8383",children:"File"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.p,{children:"This component loads a file."}),"\n",(0,t.jsx)(n.p,{children:"Use this component to load files, such as text or JSON files. Ensure you specify the correct path and configure other parameters as necessary."}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Parameters:"})}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Path:"}),"\xa0The file path."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Silent Errors:"}),"\xa0Set to true to prevent exceptions on errors."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"1cc513827a0942d6885b3a9168eabc97",children:"URL"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.p,{children:"This component retrieves content from specified URLs."}),"\n",(0,t.jsxs)(n.p,{children:["Ensure the URLs are valid and adjust other parameters as needed.\xa0",(0,t.jsx)(n.strong,{children:"Parameters:"})]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"URLs:"}),"\xa0The URLs to retrieve content from."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"aac4cad0cd38426191c2e7516285877b",children:"Create Data"}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsxs)(n.p,{children:["This component allows you to create a\xa0",(0,t.jsx)(n.code,{children:"Data"}),"\xa0from a number of inputs. You can add as many key-value pairs as you want (as long as it is less than 15). Once you've picked that number you'll need to write the name of the Key and can pass\xa0",(0,t.jsx)(n.code,{children:"Text"}),"\xa0values from other components to it."]})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},8453:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>a});var t=s(6540);const r={},i=t.createContext(r);function o(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.4365a714.js b/assets/js/main.4365a714.js new file mode 100644 index 0000000000..074850e39d --- /dev/null +++ b/assets/js/main.4365a714.js @@ -0,0 +1,2 @@ +/*! For license information please see main.4365a714.js.LICENSE.txt */ +(self.webpackChunklangflow_docs=self.webpackChunklangflow_docs||[]).push([[8792],{4148:(e,t,n)=>{"use strict";var r=n(5606),o=n(6763);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function i(e,t){for(var n=0;n1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o{"use strict";var r=n(5606);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;te.length)&&(n=e.length),e.substring(n-t.length,n)===t}var w="",k="",x="",S="",_={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function E(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function C(e){return y(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function A(e,t,n){var o="",a="",i=0,s="",l=!1,c=C(e),u=c.split("\n"),d=C(t).split("\n"),p=0,f="";if("strictEqual"===n&&"object"===g(e)&&"object"===g(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===u.length&&1===d.length&&u[0]!==d[0]){var m=u[0].length+d[0].length;if(m<=10){if(!("object"===g(e)&&null!==e||"object"===g(t)&&null!==t||0===e&&0===t))return"".concat(_[n],"\n\n")+"".concat(u[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==n){if(m<(r.stderr&&r.stderr.isTTY?r.stderr.columns:80)){for(;u[0][p]===d[0][p];)p++;p>2&&(f="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",p),"^"),p=0)}}}for(var h=u[u.length-1],y=d[d.length-1];h===y&&(p++<2?s="\n ".concat(h).concat(s):o=h,u.pop(),d.pop(),0!==u.length&&0!==d.length);)h=u[u.length-1],y=d[d.length-1];var b=Math.max(u.length,d.length);if(0===b){var E=c.split("\n");if(E.length>30)for(E[26]="".concat(w,"...").concat(S);E.length>27;)E.pop();return"".concat(_.notIdentical,"\n\n").concat(E.join("\n"),"\n")}p>3&&(s="\n".concat(w,"...").concat(S).concat(s),l=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var A=0,O=_[n]+"\n".concat(k,"+ actual").concat(S," ").concat(x,"- expected").concat(S),T=" ".concat(w,"...").concat(S," Lines skipped");for(p=0;p1&&p>2&&(P>4?(a+="\n".concat(w,"...").concat(S),l=!0):P>3&&(a+="\n ".concat(d[p-2]),A++),a+="\n ".concat(d[p-1]),A++),i=p,o+="\n".concat(x,"-").concat(S," ").concat(d[p]),A++;else if(d.length1&&p>2&&(P>4?(a+="\n".concat(w,"...").concat(S),l=!0):P>3&&(a+="\n ".concat(u[p-2]),A++),a+="\n ".concat(u[p-1]),A++),i=p,a+="\n".concat(k,"+").concat(S," ").concat(u[p]),A++;else{var j=d[p],N=u[p],R=N!==j&&(!v(N,",")||N.slice(0,-1)!==j);R&&v(j,",")&&j.slice(0,-1)===N&&(R=!1,N+=","),R?(P>1&&p>2&&(P>4?(a+="\n".concat(w,"...").concat(S),l=!0):P>3&&(a+="\n ".concat(u[p-2]),A++),a+="\n ".concat(u[p-1]),A++),i=p,a+="\n".concat(k,"+").concat(S," ").concat(N),o+="\n".concat(x,"-").concat(S," ").concat(j),A+=2):(a+=o,o="",1!==P&&0!==p||(a+="\n ".concat(N),A++))}if(A>20&&p30)for(f[26]="".concat(w,"...").concat(S);f.length>27;)f.pop();t=1===f.length?p.call(this,"".concat(d," ").concat(f[0])):p.call(this,"".concat(d,"\n\n").concat(f.join("\n"),"\n"))}else{var m=C(i),h="",y=_[o];"notDeepEqual"===o||"notEqual"===o?(m="".concat(_[o],"\n\n").concat(m)).length>1024&&(m="".concat(m.slice(0,1021),"...")):(h="".concat(C(s)),m.length>512&&(m="".concat(m.slice(0,509),"...")),h.length>512&&(h="".concat(h.slice(0,509),"...")),"deepEqual"===o||"equal"===o?m="".concat(y,"\n\n").concat(m,"\n\nshould equal\n\n"):h=" ".concat(o," ").concat(h)),t=p.call(this,"".concat(m).concat(h))}return Error.stackTraceLimit=l,t.generatedMessage=!n,Object.defineProperty(u(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=i,t.expected=s,t.operator=o,Error.captureStackTrace&&Error.captureStackTrace(u(t),a),t.stack,t.name="AssertionError",c(t)}return i=v,(l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return y(this,a(a({},t),{},{customInspect:!1,depth:0}))}}])&&s(i.prototype,l),d&&s(i,d),Object.defineProperty(i,"prototype",{writable:!1}),v}(d(Error),y.custom);e.exports=O},9597:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}d("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),d("ERR_INVALID_ARG_TYPE",(function(e,t,o){var a,i,s,c;if(void 0===l&&(l=n(4148)),l("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(i="not ",t.substr(!s||s<0?0:+s,i.length)===i)?(a="must not be",t=t.replace(/^not /,"")):a="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))c="The ".concat(e," ").concat(a," ").concat(p(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";c='The "'.concat(e,'" ').concat(u," ").concat(a," ").concat(p(t,"type"))}return c+=". Received type ".concat(r(o))}),TypeError),d("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(537));var o=c.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)}),TypeError,RangeError),d("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")}),TypeError),d("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r0,"At least one arg needs to be specified");var o="The ",a=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),a){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,a-1).join(", "),o+=", and ".concat(t[a-1]," arguments")}return"".concat(o," must be specified")}),TypeError),e.exports.codes=u},2299:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function R(e){return Object.keys(e).filter(N).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function L(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o{"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),o=n.n(r),a=n(4054);const i={"0575dfc8":[()=>Promise.all([n.e(900),n.e(3554),n.e(2005)]).then(n.bind(n,3112)),"@site/docs/Settings/settings-global-variables.md",3112],"0be1d5fe":[()=>n.e(145).then(n.bind(n,75)),"@site/docs/Components/components-models.md",75],"11478de3":[()=>n.e(7258).then(n.bind(n,7431)),"@site/docs/Components/components-rag.md",7431],"16d61ab3":[()=>n.e(1039).then(n.bind(n,8724)),"@site/docs/Starter-Projects/starter-projects-memory-chatbot.md",8724],"172b3cfb":[()=>n.e(8929).then(n.bind(n,9411)),"@site/docs/Deployment/deployment-render.md",9411],17896441:[()=>Promise.all([n.e(1869),n.e(8401)]).then(n.bind(n,4313)),"@theme/DocItem",4313],"1b523369":[()=>n.e(1246).then(n.bind(n,3509)),"@site/docs/Starter-Projects/starter-projects-blog-writer.md",3509],"20e9af62":[()=>n.e(5562).then(n.bind(n,8096)),"@site/docs/Contributing/contributing-community.md",8096],"22dd74f7":[()=>n.e(1567).then(n.t.bind(n,5226,19)),"@generated/docusaurus-plugin-content-docs/default/p/index-466.json",5226],"23d0e682":[()=>Promise.all([n.e(900),n.e(3554),n.e(9461)]).then(n.bind(n,6459)),"@site/docs/Workspace/workspace-api.md",6459],"25bf2d67":[()=>n.e(8031).then(n.bind(n,3956)),"@site/docs/Starter-Projects/starter-projects-basic-prompting.md",3956],"2efb9d3a":[()=>Promise.all([n.e(900),n.e(2691)]).then(n.bind(n,4441)),"@site/docs/Guides/guides-data-message.md",4441],"2f617b24":[()=>Promise.all([n.e(900),n.e(6677)]).then(n.bind(n,2673)),"@site/docs/Configuration/My-Collection.md",2673],36970916:[()=>n.e(5664).then(n.bind(n,9281)),"@site/docs/Starter-Projects/starter-projects-complex-agent.md",9281],"3ae94ad4":[()=>Promise.all([n.e(900),n.e(7408)]).then(n.bind(n,2553)),"@site/docs/Components/components-io.md",2553],"3ef76b56":[()=>Promise.all([n.e(900),n.e(1563)]).then(n.bind(n,568)),"@site/docs/Integrations/integrations-langwatch.md",568],"3f8193f3":[()=>Promise.all([n.e(900),n.e(6900)]).then(n.bind(n,2235)),"@site/docs/Getting-Started/getting-started-installation.md",2235],"445668ec":[()=>n.e(6008).then(n.bind(n,8553)),"@site/docs/Contributing/contributing-how-to-contribute.md",8553],"44dfcf75":[()=>n.e(8598).then(n.bind(n,2840)),"@site/docs/Deployment/deployment-railway.md",2840],"4618a71f":[()=>n.e(3659).then(n.bind(n,3570)),"@site/docs/Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow.md",3570],"474d53cd":[()=>n.e(8261).then(n.bind(n,9452)),"@site/docs/Workspace/workspace-logs.md",9452],"53ed7db4":[()=>Promise.all([n.e(900),n.e(8127)]).then(n.bind(n,5440)),"@site/docs/Getting-Started/getting-started-common-installation-issues.md",5440],"54175a6c":[()=>n.e(9455).then(n.bind(n,4989)),"@site/docs/Deployment/deployment-gcp.md",4989],"5cf11f26":[()=>n.e(4133).then(n.bind(n,3902)),"@site/docs/Deployment/deployment-hugging-face-spaces.md",3902],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"647965d5":[()=>n.e(1227).then(n.bind(n,3250)),"@site/docs/Components/components-prompts.md",3250],"7fcd30b6":[()=>n.e(804).then(n.bind(n,7322)),"@site/docs/Workspace/workspace.md",7322],"85112c90":[()=>n.e(8054).then(n.bind(n,7711)),"@site/docs/Contributing/contributing-github-issues.md",7711],"873ebc27":[()=>Promise.all([n.e(900),n.e(5572)]).then(n.bind(n,2511)),"@site/docs/Components/components-custom-components.md",2511],"921b5fc1":[()=>n.e(7462).then(n.bind(n,6875)),"@site/docs/Components/components-embedding-models.md",6875],"9ac856ad":[()=>Promise.all([n.e(900),n.e(4046)]).then(n.bind(n,197)),"@site/docs/Configuration/configuration-cli.md",197],"9e7a34ba":[()=>n.e(5527).then(n.bind(n,2342)),"@site/docs/Starter-Projects/starter-projects-sequential-crew.md",2342],a3ab51d1:[()=>n.e(2657).then(n.bind(n,4606)),"@site/docs/Contributing/contributing-telemetry.md",4606],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a83bc7c0:[()=>n.e(5628).then(n.bind(n,5449)),"@site/docs/Starter-Projects/starter-projects-vector-store-rag.md",5449],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2559)),"@theme/DocRoot",2559],ab17fe15:[()=>n.e(6147).then(n.bind(n,8820)),"@site/docs/Integrations/integrations-langsmith.md",8820],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],adef6868:[()=>n.e(8953).then(n.bind(n,29)),"@site/docs/Components/components-loaders.md",29],b453f7b0:[()=>n.e(6494).then(n.bind(n,2797)),"@site/docs/Settings/settings-project-general-settings.md",2797],c0d3c6ab:[()=>Promise.all([n.e(900),n.e(2431)]).then(n.bind(n,2746)),"@site/docs/Configuration/configuration-backend-only.md",2746],c2ebd62a:[()=>Promise.all([n.e(900),n.e(4028)]).then(n.bind(n,7319)),"@site/docs/Deployment/deployment-kubernetes.md",7319],c329cc2b:[()=>n.e(9304).then(n.bind(n,4905)),"@site/docs/Guides/guides-chat-memory.md",4905],c3616f7f:[()=>Promise.all([n.e(900),n.e(3554),n.e(1917)]).then(n.bind(n,5542)),"@site/docs/Workspace/workspace-playground.md",5542],c39b795e:[()=>n.e(7338).then(n.bind(n,5056)),"@site/docs/Components/components-helpers.md",5056],cacdc615:[()=>Promise.all([n.e(900),n.e(7211)]).then(n.bind(n,5100)),"@site/docs/Configuration/configuration-api-keys.md",5100],ccff95c4:[()=>n.e(4058).then(n.bind(n,6060)),"@site/docs/Starter-Projects/starter-projects-hierarchical-crew.md",6060],d59b5b70:[()=>n.e(8183).then(n.bind(n,9215)),"@site/docs/What\u2019s-New/whats-new-a-new-chapter-langflow.md",9215],dc7b1ef3:[()=>n.e(868).then(n.bind(n,1427)),"@site/docs/Deployment/deployment-docker.md",1427],e2a386ca:[()=>n.e(144).then(n.bind(n,6268)),"@site/docs/Components/components.md",6268],ea3c040a:[()=>Promise.all([n.e(900),n.e(9126)]).then(n.bind(n,1723)),"@site/docs/Configuration/configuration-auto-saving.md",1723],eae80ce0:[()=>Promise.all([n.e(900),n.e(9642)]).then(n.bind(n,8267)),"@site/docs/Configuration/configuration-authentication.md",8267],ecd98ae0:[()=>n.e(1456).then(n.bind(n,5882)),"@site/docs/Getting-Started/getting-started-quickstart.md",5882],f66238ae:[()=>n.e(5772).then(n.bind(n,9481)),"@site/docs/Components/components-vector-stores.md",9481],f81a91eb:[()=>n.e(9580).then(n.bind(n,8228)),"@site/docs/Guides/guides-new-to-llms.md",8228],fdefa9a8:[()=>n.e(7453).then(n.bind(n,8917)),"@site/docs/Components/components-data.md",8917],fe965b62:[()=>n.e(784).then(n.bind(n,2095)),"@site/docs/Starter-Projects/starter-projects-document-qa.md",2095]};var s=n(4848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],m=(0,c.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:l,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const l=o.__props;return delete o.__props,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(a,{...o,...l,...n})})}})}const p=[{path:"/",component:d("/","efe"),routes:[{path:"/",component:d("/","95b"),routes:[{path:"/",component:d("/","342"),routes:[{path:"/365085a8-a90a-43f9-a779-f8769ec7eca1",component:d("/365085a8-a90a-43f9-a779-f8769ec7eca1","2d3"),exact:!0,sidebar:"defaultSidebar"},{path:"/components",component:d("/components","455"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-custom-components",component:d("/components-custom-components","246"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-data",component:d("/components-data","6f5"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-embedding-models",component:d("/components-embedding-models","203"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-helpers",component:d("/components-helpers","2cb"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-io",component:d("/components-io","0ca"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-loaders",component:d("/components-loaders","c7e"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-models",component:d("/components-models","790"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-prompts",component:d("/components-prompts","2f2"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-rag",component:d("/components-rag","23e"),exact:!0,sidebar:"defaultSidebar"},{path:"/components-vector-stores",component:d("/components-vector-stores","540"),exact:!0,sidebar:"defaultSidebar"},{path:"/configuration-api-keys",component:d("/configuration-api-keys","bff"),exact:!0,sidebar:"defaultSidebar"},{path:"/configuration-authentication",component:d("/configuration-authentication","277"),exact:!0,sidebar:"defaultSidebar"},{path:"/configuration-auto-save",component:d("/configuration-auto-save","2a8"),exact:!0,sidebar:"defaultSidebar"},{path:"/configuration-backend-only",component:d("/configuration-backend-only","53e"),exact:!0,sidebar:"defaultSidebar"},{path:"/configuration-cli",component:d("/configuration-cli","365"),exact:!0,sidebar:"defaultSidebar"},{path:"/contributing-community",component:d("/contributing-community","8d0"),exact:!0,sidebar:"defaultSidebar"},{path:"/contributing-github-issues",component:d("/contributing-github-issues","983"),exact:!0,sidebar:"defaultSidebar"},{path:"/contributing-how-to-contribute",component:d("/contributing-how-to-contribute","0bb"),exact:!0,sidebar:"defaultSidebar"},{path:"/contributing-telemetry",component:d("/contributing-telemetry","19b"),exact:!0,sidebar:"defaultSidebar"},{path:"/deployment-docker",component:d("/deployment-docker","f54"),exact:!0,sidebar:"defaultSidebar"},{path:"/deployment-gcp",component:d("/deployment-gcp","e16"),exact:!0,sidebar:"defaultSidebar"},{path:"/deployment-hugging-face-spaces",component:d("/deployment-hugging-face-spaces","a2e"),exact:!0,sidebar:"defaultSidebar"},{path:"/deployment-kubernetes",component:d("/deployment-kubernetes","56b"),exact:!0,sidebar:"defaultSidebar"},{path:"/deployment-railway",component:d("/deployment-railway","aa9"),exact:!0,sidebar:"defaultSidebar"},{path:"/deployment-render",component:d("/deployment-render","6fa"),exact:!0,sidebar:"defaultSidebar"},{path:"/getting-started-common-installation-issues",component:d("/getting-started-common-installation-issues","469"),exact:!0,sidebar:"defaultSidebar"},{path:"/getting-started-installation",component:d("/getting-started-installation","44f"),exact:!0,sidebar:"defaultSidebar"},{path:"/getting-started-quickstart",component:d("/getting-started-quickstart","f3e"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides-chat-memory",component:d("/guides-chat-memory","23e"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides-data-message",component:d("/guides-data-message","ee9"),exact:!0,sidebar:"defaultSidebar"},{path:"/guides-new-to-llms",component:d("/guides-new-to-llms","352"),exact:!0,sidebar:"defaultSidebar"},{path:"/integrations-langsmith",component:d("/integrations-langsmith","9f7"),exact:!0,sidebar:"defaultSidebar"},{path:"/integrations-langwatch",component:d("/integrations-langwatch","2cf"),exact:!0,sidebar:"defaultSidebar"},{path:"/settings-global-variables",component:d("/settings-global-variables","82d"),exact:!0,sidebar:"defaultSidebar"},{path:"/settings-project-general-settings",component:d("/settings-project-general-settings","930"),exact:!0,sidebar:"defaultSidebar"},{path:"/starter-projects-basic-prompting",component:d("/starter-projects-basic-prompting","95c"),exact:!0,sidebar:"defaultSidebar"},{path:"/starter-projects-blog-writer",component:d("/starter-projects-blog-writer","728"),exact:!0,sidebar:"defaultSidebar"},{path:"/starter-projects-document-qa",component:d("/starter-projects-document-qa","1a3"),exact:!0,sidebar:"defaultSidebar"},{path:"/starter-projects-memory-chatbot",component:d("/starter-projects-memory-chatbot","d9a"),exact:!0,sidebar:"defaultSidebar"},{path:"/starter-projects-vector-store-rag",component:d("/starter-projects-vector-store-rag","f32"),exact:!0,sidebar:"defaultSidebar"},{path:"/Starter-Projects/starter-projects-complex-agent",component:d("/Starter-Projects/starter-projects-complex-agent","241"),exact:!0,sidebar:"defaultSidebar"},{path:"/Starter-Projects/starter-projects-hierarchical-crew",component:d("/Starter-Projects/starter-projects-hierarchical-crew","b46"),exact:!0,sidebar:"defaultSidebar"},{path:"/Starter-Projects/starter-projects-sequential-crew",component:d("/Starter-Projects/starter-projects-sequential-crew","6ca"),exact:!0,sidebar:"defaultSidebar"},{path:"/whats-new-a-new-chapter-langflow",component:d("/whats-new-a-new-chapter-langflow","eab"),exact:!0,sidebar:"defaultSidebar"},{path:"/workspace",component:d("/workspace","29d"),exact:!0,sidebar:"defaultSidebar"},{path:"/workspace-api",component:d("/workspace-api","c1e"),exact:!0,sidebar:"defaultSidebar"},{path:"/workspace-logs",component:d("/workspace-logs","20c"),exact:!0,sidebar:"defaultSidebar"},{path:"/workspace-playground",component:d("/workspace-playground","25d"),exact:!0,sidebar:"defaultSidebar"},{path:"/",component:d("/","703"),exact:!0,sidebar:"defaultSidebar"}]}]}]},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(6540),o=n(4848);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},8536:(e,t,n)=>{"use strict";var r=n(6540),o=n(5338),a=n(545),i=n(4625),s=n(4784),l=n(8193);const c=[n(1911),n(119),n(6134),n(6294),n(641),n(1798),n(8665),n(1818),n(3796)];var u=n(8328),d=n(6347),p=n(2831),f=n(4848);function m(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(4586),y=n(6025),b=n(6342),v=n(1003),w=n(2131),k=n(4090),x=n(2967),S=n(440),_=n(1463);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.A)(),r=(0,w.o)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.A)(),{pathname:r}=(0,d.zy)();return e+(0,S.applyTrailingSlash)((0,y.Ay)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:o}),(0,f.jsx)("link",{rel:"canonical",href:o})]})}function A(){const{i18n:{currentLocale:e}}=(0,g.A)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:k.w})]}),n&&(0,f.jsx)(v.be,{image:n}),(0,f.jsx)(C,{}),(0,f.jsx)(E,{}),(0,f.jsx)(_.A,{tag:x.Cy,locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const O=new Map;var T=n(6125),P=n(6988),j=n(205);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const R=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,j.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function L(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,p.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}var I=n(6763);class F extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.A.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{I.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(R,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(d.qh,{location:t,render:()=>e})})}}const D=F,M="__docusaurus-base-url-issue-banner-container",B="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function $(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return O.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return O.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(D,{location:e,children:K})}function Q(){return(0,f.jsx)(V.A,{children:(0,f.jsx)(P.l,{children:(0,f.jsxs)(T.x,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(H,{}),(0,f.jsx)(A,{}),(0,f.jsx)(U,{}),(0,f.jsx)(Y,{})]}),(0,f.jsx)(W,{})]})})})}var X=n(4054);const Z=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var J=n(6921);const ee=new Set,te=new Set,ne=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,re={prefetch:e=>{if(!(e=>!ne()&&!te.has(e)&&!ee.has(e))(e))return!1;ee.add(e);const t=(0,p.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(X).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,J.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Z(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!ne()&&!te.has(e))(e)&&(te.add(e),L(e))},oe=Object.freeze(re);var ae=n(6763);function ie(e){let{children:t}=e;return"hash"===s.A.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const se=Boolean(!0);if(l.A.canUseDOM){window.docusaurus=oe;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(a.vd,{children:(0,f.jsx)(ie,{children:(0,f.jsx)(Q,{})})}),n=(e,t)=>{ae.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(se)window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n});else{const r=o.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};L(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),o=n(4784);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow","docs":[{"id":"Components/components","path":"/components","sidebar":"defaultSidebar"},{"id":"Components/components-custom-components","path":"/components-custom-components","sidebar":"defaultSidebar"},{"id":"Components/components-data","path":"/components-data","sidebar":"defaultSidebar"},{"id":"Components/components-embedding-models","path":"/components-embedding-models","sidebar":"defaultSidebar"},{"id":"Components/components-helpers","path":"/components-helpers","sidebar":"defaultSidebar"},{"id":"Components/components-io","path":"/components-io","sidebar":"defaultSidebar"},{"id":"Components/components-loaders","path":"/components-loaders","sidebar":"defaultSidebar"},{"id":"Components/components-models","path":"/components-models","sidebar":"defaultSidebar"},{"id":"Components/components-prompts","path":"/components-prompts","sidebar":"defaultSidebar"},{"id":"Components/components-rag","path":"/components-rag","sidebar":"defaultSidebar"},{"id":"Components/components-vector-stores","path":"/components-vector-stores","sidebar":"defaultSidebar"},{"id":"Configuration/configuration-api-keys","path":"/configuration-api-keys","sidebar":"defaultSidebar"},{"id":"Configuration/configuration-authentication","path":"/configuration-authentication","sidebar":"defaultSidebar"},{"id":"Configuration/configuration-auto-saving","path":"/configuration-auto-save","sidebar":"defaultSidebar"},{"id":"Configuration/configuration-backend-only","path":"/configuration-backend-only","sidebar":"defaultSidebar"},{"id":"Configuration/configuration-cli","path":"/configuration-cli","sidebar":"defaultSidebar"},{"id":"Configuration/My-Collection","path":"/365085a8-a90a-43f9-a779-f8769ec7eca1","sidebar":"defaultSidebar"},{"id":"Contributing/contributing-community","path":"/contributing-community","sidebar":"defaultSidebar"},{"id":"Contributing/contributing-github-issues","path":"/contributing-github-issues","sidebar":"defaultSidebar"},{"id":"Contributing/contributing-how-to-contribute","path":"/contributing-how-to-contribute","sidebar":"defaultSidebar"},{"id":"Contributing/contributing-telemetry","path":"/contributing-telemetry","sidebar":"defaultSidebar"},{"id":"Deployment/deployment-docker","path":"/deployment-docker","sidebar":"defaultSidebar"},{"id":"Deployment/deployment-gcp","path":"/deployment-gcp","sidebar":"defaultSidebar"},{"id":"Deployment/deployment-hugging-face-spaces","path":"/deployment-hugging-face-spaces","sidebar":"defaultSidebar"},{"id":"Deployment/deployment-kubernetes","path":"/deployment-kubernetes","sidebar":"defaultSidebar"},{"id":"Deployment/deployment-railway","path":"/deployment-railway","sidebar":"defaultSidebar"},{"id":"Deployment/deployment-render","path":"/deployment-render","sidebar":"defaultSidebar"},{"id":"Getting-Started/\ud83d\udc4b\xa0Welcome-to-Langflow","path":"/","sidebar":"defaultSidebar"},{"id":"Getting-Started/getting-started-common-installation-issues","path":"/getting-started-common-installation-issues","sidebar":"defaultSidebar"},{"id":"Getting-Started/getting-started-installation","path":"/getting-started-installation","sidebar":"defaultSidebar"},{"id":"Getting-Started/getting-started-quickstart","path":"/getting-started-quickstart","sidebar":"defaultSidebar"},{"id":"Guides/guides-chat-memory","path":"/guides-chat-memory","sidebar":"defaultSidebar"},{"id":"Guides/guides-data-message","path":"/guides-data-message","sidebar":"defaultSidebar"},{"id":"Guides/guides-new-to-llms","path":"/guides-new-to-llms","sidebar":"defaultSidebar"},{"id":"Integrations/integrations-langsmith","path":"/integrations-langsmith","sidebar":"defaultSidebar"},{"id":"Integrations/integrations-langwatch","path":"/integrations-langwatch","sidebar":"defaultSidebar"},{"id":"Settings/settings-global-variables","path":"/settings-global-variables","sidebar":"defaultSidebar"},{"id":"Settings/settings-project-general-settings","path":"/settings-project-general-settings","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-basic-prompting","path":"/starter-projects-basic-prompting","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-blog-writer","path":"/starter-projects-blog-writer","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-complex-agent","path":"/Starter-Projects/starter-projects-complex-agent","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-document-qa","path":"/starter-projects-document-qa","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-hierarchical-crew","path":"/Starter-Projects/starter-projects-hierarchical-crew","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-memory-chatbot","path":"/starter-projects-memory-chatbot","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-sequential-crew","path":"/Starter-Projects/starter-projects-sequential-crew","sidebar":"defaultSidebar"},{"id":"Starter-Projects/starter-projects-vector-store-rag","path":"/starter-projects-vector-store-rag","sidebar":"defaultSidebar"},{"id":"What\u2019s-New/whats-new-a-new-chapter-langflow","path":"/whats-new-a-new-chapter-langflow","sidebar":"defaultSidebar"},{"id":"Workspace/workspace","path":"/workspace","sidebar":"defaultSidebar"},{"id":"Workspace/workspace-api","path":"/workspace-api","sidebar":"defaultSidebar"},{"id":"Workspace/workspace-logs","path":"/workspace-logs","sidebar":"defaultSidebar"},{"id":"Workspace/workspace-playground","path":"/workspace-playground","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/whats-new-a-new-chapter-langflow","label":"What\u2019s-New/whats-new-a-new-chapter-langflow"}}}}],"breadcrumbs":true}},"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-XHC7G628ZP"],"anonymizeIP":true,"id":"default"}},"docusaurus-plugin-google-tag-manager":{"default":{"containerId":"GTM-NK5M4ZT8","id":"default"}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.4.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.4.0"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.4.0"},"docusaurus-plugin-google-tag-manager":{"type":"package","name":"@docusaurus/plugin-google-tag-manager","version":"3.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.4.0"},"docusaurus-node-polyfills":{"type":"package","name":"docusaurus-node-polyfills","version":"1.0.0"},"docusaurus-plugin-image-zoom":{"type":"package","name":"docusaurus-plugin-image-zoom","version":"2.0.0"},"docusaurus-tailwindcss":{"type":"local"}}}');var c=n(4848);const u={siteConfig:o.A,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(6540),o=n(8193),a=n(5260),i=n(440),s=n(2644),l=n(3102),c=n(4848);function u(e){let{error:t,tryAgain:n}=e;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,c.jsx)(l.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)(p,{children:(0,c.jsxs)(h,{fallback:()=>(0,c.jsx)(u,{error:t,tryAgain:n}),children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.A,{children:(0,c.jsx)(u,{error:t,tryAgain:n})})]})})}const m=e=>(0,c.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);var r=n(545),o=n(4848);function a(e){return(0,o.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6540),o=n(4625),a=n(440),i=n(4586),s=n(6654),l=n(8193),c=n(3427),u=n(6025),d=n(4848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,u.hH)(),_=(0,c.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>E.current));const C=p||f;const A=(0,s.A)(C),O=C?.replace("pathname://","");let T=void 0!==O?(P=O,y&&(e=>e.startsWith("/"))(P)?S(P):P):void 0;var P;"hash"===x&&T?.startsWith("./")&&(T=T?.slice(1)),T&&A&&(T=(0,a.applyTrailingSlash)(T,{trailingSlash:w,baseUrl:k}));const j=(0,r.useRef)(!1),N=n?o.k2:o.N_,R=l.A.canUseIntersectionObserver,L=(0,r.useRef)(),I=()=>{j.current||null==T||(window.docusaurus.preload(T),j.current=!0)};(0,r.useEffect)((()=>(!R&&A&&null!=T&&window.docusaurus.prefetch(T),()=>{R&&L.current&&L.current.disconnect()})),[L,T,R,A]);const F=T?.startsWith("#")??!1,D=!b.target||"_self"===b.target,M=!T||!A||!D;return g||!F&&M||_.collectLink(T),b.id&&_.collectAnchor(b.id),M?(0,d.jsx)("a",{ref:E,href:T,...C&&!A&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(N,{...b,onMouseEnter:I,onTouchStart:I,innerRef:e=>{E.current=e,R&&e&&A&&(L.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(L.current.unobserve(e),L.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),L.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m}})}const f=r.forwardRef(p)},418:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=()=>null},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,T:()=>c});var r=n(6540),o=n(4848);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654),s=n(6763);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function c(e,t){let{message:n,id:r}=e;return a(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw s.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=l({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>o,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,hH:()=>i});var r=n(6540),o=n(4586),a=n(6654);function i(){const{siteConfig:e}=(0,o.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,s=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:o=!1,absolute:i=!1}={},router:s}=e;if(!r||r.startsWith("#")||(0,a.z)(r))return r;if("hash"===s)return r.startsWith("/")?`.${r}`:`./${r}`;if(o)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const l=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+l:l}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:s}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(6988);function a(){return(0,r.useContext)(o.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(6125);function a(){return(0,r.useContext)(o.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);const o=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?`${o}.${a}`:a;r(i)?e(i,s):t[s]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>a});var r=n(6540),o=n(4848);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>h,vT:()=>p,Gy:()=>u,HW:()=>g,ht:()=>d,r7:()=>m,jh:()=>f});var r=n(6347),o=n(4586),a=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function l(e,t){const n=function(e,t){const n=s(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>{try{return function(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function f(e){return d(e).versions}function m(e){const t=d(e);return s(t)}function h(e){const t=d(e),{pathname:n}=(0,r.zy)();return l(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=s(e);return{latestDocSuggestion:l(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},1911:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")}))}}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(5947),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},6134:(e,t,n)=>{"use strict";var r=n(4876),o=n(4784);!function(e){const{themeConfig:{prism:t}}=o.A,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(8692)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(8215),o=n(1312),a=n(6342),i=n(8774),s=n(3427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(4848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,a.p)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,o.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.A)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(4848);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},2644:(e,t,n)=>{"use strict";n.d(t,{A:()=>Kx});var r=n(6540),o=n.t(r,2),a=n(8215),i=n(7489),s=n(1003),l=n(6347),c=n(1312),u=n(5062),d=n(4848);const p="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function m(){const e=(0,r.useRef)(null),{action:t}=(0,l.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(p);t&&f(t)}),[]);return(0,u.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const h=(0,c.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function g(e){const t=e.children??h,{containerRef:n,onClick:r}=m();return(0,d.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,d.jsx)("a",{...e,href:`#${p}`,onClick:r,children:t})})}var y=n(7559),b=n(4090);const v={skipToContent:"skipToContent_fXgn"};function w(){return(0,d.jsx)(g,{className:v.skipToContent})}var k=n(6342),x=n(5041);function S(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,d.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,d.jsx)("g",{stroke:r,strokeWidth:o,children:(0,d.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const _={closeButton:"closeButton_CVFx"};function E(e){return(0,d.jsx)("button",{type:"button","aria-label":(0,c.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",_.closeButton,e.className),children:(0,d.jsx)(S,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_knG7"};function A(e){const{announcementBar:t}=(0,k.p)(),{content:n}=t;return(0,d.jsx)("div",{...e,className:(0,a.A)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const O={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){const{announcementBar:e}=(0,k.p)(),{isActive:t,close:n}=(0,x.M)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,d.jsxs)("div",{className:O.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,d.jsx)("div",{className:O.announcementBarPlaceholder}),(0,d.jsx)(A,{className:O.announcementBarContent}),a&&(0,d.jsx)(E,{onClick:n,className:O.announcementBarClose})]})}var P=n(9876),j=n(3104);var N=n(9532),R=n(5600);const L=r.createContext(null);function I(e){let{children:t}=e;const n=function(){const e=(0,P.M)(),t=(0,R.YL)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,N.ZC)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,d.jsx)(L.Provider,{value:n,children:t})}function F(e){if(e.component){const t=e.component;return(0,d.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(L);if(!e)throw new N.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,R.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:F(a)})),[o,a,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=D();return(0,d.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,d.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var B=n(5293),z=n(2303);function $(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function q(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function H(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,z.A)(),s=(0,c.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,c.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,c.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,d.jsx)("div",{className:(0,a.A)(U.toggle,t),children:(0,d.jsxs)("button",{className:(0,a.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,d.jsx)($,{className:(0,a.A)(U.toggleIcon,U.lightToggleIcon)}),(0,d.jsx)(q,{className:(0,a.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const V=r.memo(H),G={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function W(e){let{className:t}=e;const n=(0,k.p)().navbar.style,r=(0,k.p)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,B.G)();return r?null:(0,d.jsx)(V,{className:t,buttonClassName:"dark"===n?G.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var K=n(3465);function Y(){return(0,d.jsx)(K.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,P.M)();return(0,d.jsx)("button",{type:"button","aria-label":(0,c.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,d.jsx)(S,{color:"var(--ifm-color-emphasis-600)"})})}function X(){return(0,d.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,d.jsx)(Y,{}),(0,d.jsx)(W,{className:"margin-right--md"}),(0,d.jsx)(Q,{})]})}var Z=n(8774),J=n(6025),ee=n(6654);function te(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var ne=n(3186);function re(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const u=(0,J.Ay)(r),p=(0,J.Ay)(t),f=(0,J.Ay)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,ee.A)(o),h=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,d.jsxs)(d.Fragment,{children:[a,m&&(0,d.jsx)(ne.A,{...s&&{width:12,height:12}})]})};return o?(0,d.jsx)(Z.A,{href:l?f:o,...c,...h}):(0,d.jsx)(Z.A,{to:u,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?te(n,t.pathname):t.pathname.startsWith(p)},...c,...h})}function oe(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,d.jsx)(re,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,d.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,d.jsx)("li",{className:"menu__list-item",children:(0,d.jsx)(re,{className:(0,a.A)("menu__link",t),...r})})}function ie(e){let{mobile:t=!1,position:n,...r}=e;const o=t?ae:oe;return(0,d.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var se=n(1422),le=n(9169),ce=n(4586);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function de(e,t){return e.some((e=>function(e,t){return!!(0,le.ys)(e.to,t)||!!te(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function pe(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,u]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,d.jsxs)("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,d.jsx)(re,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),u(!c))},children:s.children??s.label}),(0,d.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ae,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function fe(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,ce.A)(),{pathname:t}=(0,l.zy)();return t.replace(e,"/")}(),u=de(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,se.u)({initialState:()=>!u});return(0,r.useEffect)((()=>{u&&m(!u)}),[c,u,m]),(0,d.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,d.jsx)(re,{role:"button",className:(0,a.A)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,d.jsx)(se.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ae,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function me(e){let{mobile:t=!1,...n}=e;const r=t?fe:pe;return(0,d.jsx)(r,{...n})}var he=n(2131);function ge(e){let{width:t=20,height:n=20,...r}=e;return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ye="iconLanguage_nlXk";var be=n(418);const ve={navbarSearchContainer:"navbarSearchContainer_Bca1"};function we(e){let{children:t,className:n}=e;return(0,d.jsx)("div",{className:(0,a.A)(n,ve.navbarSearchContainer),children:t})}var ke=n(4070),xe=n(1754);var Se=n(5597);const _e=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:ie,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:s,localeConfigs:u}}=(0,ce.A)(),p=(0,he.o)(),{search:f,hash:m}=(0,l.zy)(),h=s.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${o}`;return{label:u[e].label,lang:u[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),g=[...n,...h,...r],y=t?(0,c.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):u[i].label;return(0,d.jsx)(me,{...a,mobile:t,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ge,{className:ye}),y]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,d.jsx)(we,{className:n,children:(0,d.jsx)(be.A,{})})},dropdown:me,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,d.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,ke.zK)(r),i=(0,xe.QB)(t,r),s=a?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,d.jsx)(ie,{exact:!0,...o,isActive:()=>s||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,ke.zK)(r),i=(0,xe.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,d.jsx)(ie,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,xe.Vd)(r)[0],i=t??a.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,d.jsx)(ie,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:s,hash:u}=(0,l.zy)(),p=(0,ke.zK)(n),f=(0,ke.jh)(n),{savePreferredVersionName:m}=(0,Se.g1)(n),h=[...o,...f.map((e=>{const t=p.alternateDocVersions[e.name]??_e(e);return{label:e.label,to:`${t.path}${s}${u}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...a],g=(0,xe.Vd)(n)[0],y=t&&h.length>1?(0,c.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&h.length>1?void 0:_e(g).path;return h.length<=1?(0,d.jsx)(ie,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,d.jsx)(me,{...i,mobile:t,label:y,to:b,items:h,isActive:r?()=>!1:void 0})}},Ce=Ee;function Ae(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Ce[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,d.jsx)(o,{...n})}function Oe(){const e=(0,P.M)(),t=(0,k.p)().navbar.items;return(0,d.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ae,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,d.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,d.jsx)(c.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Pe(){const e=0===(0,k.p)().navbar.items.length,t=D();return(0,d.jsxs)(d.Fragment,{children:[!e&&(0,d.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function je(){const e=(0,P.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,d.jsx)(M,{header:(0,d.jsx)(X,{}),primaryMenu:(0,d.jsx)(Oe,{}),secondaryMenu:(0,d.jsx)(Pe,{})}):null}const Ne={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Re(e){return(0,d.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function Le(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,k.p)(),i=(0,P.M)(),{navbarRef:s,isNavbarVisible:l}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,j.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=s?n(!1):i+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,d.jsxs)("nav",{ref:s,"aria-label":(0,c.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[Ne.navbarHideable,!l&&Ne.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,d.jsx)(Re,{onClick:i.toggle}),(0,d.jsx)(je,{})]})}var Ie=n(440);const Fe={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function De(e){return(0,d.jsx)("button",{type:"button",...e,children:(0,d.jsx)(c.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Me(e){let{error:t}=e;const n=(0,Ie.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,d.jsx)("p",{className:Fe.errorBoundaryError,children:n})}class Be extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const ze="right";function $e(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,d.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,d.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function qe(){const{toggle:e,shown:t}=(0,P.M)();return(0,d.jsx)("button",{onClick:e,"aria-label":(0,c.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,d.jsx)($e,{})})}const Ue={colorModeToggle:"colorModeToggle_DEke"};function He(e){let{items:t}=e;return(0,d.jsx)(d.Fragment,{children:t.map(((e,t)=>(0,d.jsx)(Be,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,d.jsx)(Ae,{...e})},t)))})}function Ve(e){let{left:t,right:n}=e;return(0,d.jsxs)("div",{className:"navbar__inner",children:[(0,d.jsx)("div",{className:"navbar__items",children:t}),(0,d.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Ge(){const e=(0,P.M)(),t=(0,k.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??ze)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,d.jsx)(Ve,{left:(0,d.jsxs)(d.Fragment,{children:[!e.disabled&&(0,d.jsx)(qe,{}),(0,d.jsx)(Y,{}),(0,d.jsx)(He,{items:n})]}),right:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(He,{items:r}),(0,d.jsx)(W,{className:Ue.colorModeToggle}),!o&&(0,d.jsx)(we,{children:(0,d.jsx)(be.A,{})})]})})}function We(){return(0,d.jsx)(Le,{children:(0,d.jsx)(Ge,{})})}function Ke(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,J.Ay)(n),l=(0,J.Ay)(r,{forcePrependBaseUrl:!0});return(0,d.jsxs)(Z.A,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,ee.A)(r)&&(0,d.jsx)(ne.A,{})]})}function Ye(e){let{item:t}=e;return t.html?(0,d.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)("li",{className:"footer__item",children:(0,d.jsx)(Ke,{item:t})},t.href??t.to)}function Qe(e){let{column:t}=e;return(0,d.jsxs)("div",{className:"col footer__col",children:[(0,d.jsx)("div",{className:"footer__title",children:t.title}),(0,d.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,d.jsx)(Ye,{item:e},t)))})]})}function Xe(e){let{columns:t}=e;return(0,d.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,d.jsx)(Qe,{column:e},t)))})}function Ze(){return(0,d.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Je(e){let{item:t}=e;return t.html?(0,d.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)(Ke,{item:t})}function et(e){let{links:t}=e;return(0,d.jsx)("div",{className:"footer__links text--center",children:(0,d.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)(Je,{item:e}),t.length!==n+1&&(0,d.jsx)(Ze,{})]},n)))})})}function tt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,d.jsx)(Xe,{columns:t}):(0,d.jsx)(et,{links:t})}var nt=n(1122);const rt={footerLogoLink:"footerLogoLink_BH7S"};function ot(e){let{logo:t}=e;const{withBaseUrl:n}=(0,J.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,d.jsx)(nt.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function at(e){let{logo:t}=e;return t.href?(0,d.jsx)(Z.A,{href:t.href,className:rt.footerLogoLink,target:t.target,children:(0,d.jsx)(ot,{logo:t})}):(0,d.jsx)(ot,{logo:t})}function it(e){let{copyright:t}=e;return(0,d.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function st(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,d.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,d.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,d.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,d.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function lt(){const{footer:e}=(0,k.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,d.jsx)(st,{style:o,links:n&&n.length>0&&(0,d.jsx)(tt,{links:n}),logo:r&&(0,d.jsx)(at,{logo:r}),copyright:t&&(0,d.jsx)(it,{copyright:t})})}const ct=r.memo(lt);var ut=n(961),dt=n(6763),pt=function(){return pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1](((e,t,n)=>{t in e?yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let vt=new class{constructor(){bt(this,"current",this.detect()),bt(this,"handoffState","pending"),bt(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},wt=(e,t)=>{vt.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)};function kt(e){let t=(0,r.useRef)(e);return wt((()=>{t.current=e}),[e]),t}function xt(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function St(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add((()=>e.removeEventListener(t,r,o)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>n.requestAnimationFrame((()=>n.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return n.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return xt((()=>{t.current&&e[0]()})),n.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))}};return n}function _t(){let[e]=(0,r.useState)(St);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}let Et=function(e){let t=kt(e);return r.useCallback(((...e)=>t.current(...e)),[t])};function Ct(){let[e,t]=(0,r.useState)(vt.isHandoffComplete);return e&&!1===vt.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>vt.handoff()),[]),e}var At;let Ot=null!=(At=r.useId)?At:function(){let e=Ct(),[t,n]=r.useState(e?()=>vt.nextId():null);return wt((()=>{null===t&&n(vt.nextId())}),[t]),null!=t?""+t:void 0};function Tt(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Tt),r}function Pt(e){return vt.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let jt=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var Nt,Rt=((Nt=Rt||{})[Nt.First=1]="First",Nt[Nt.Previous=2]="Previous",Nt[Nt.Next=4]="Next",Nt[Nt.Last=8]="Last",Nt[Nt.WrapAround=16]="WrapAround",Nt[Nt.NoScroll=32]="NoScroll",Nt),Lt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Lt||{}),It=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(It||{}),Ft=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Ft||{});function Dt(e){null==e||e.focus({preventScroll:!0})}let Mt=["textarea","input"].join(",");function Bt(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,i=Array.isArray(e)?n?function(e,t=e=>e){return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let a=r.compareDocumentPosition(o);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}(e):e:function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(jt)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);o.length>0&&i.length>1&&(i=i.filter((e=>!o.includes(e)))),r=null!=r?r:a.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,p=i.length;do{if(d>=p||d+p<=0)return 0;let e=c+d;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}s=i[e],null==s||s.focus(u),d+=l}while(s!==a.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,Mt))&&n}(s)&&s.select(),s.hasAttribute("tabindex")||s.setAttribute("tabindex","0"),2}function zt(e,t,n){let o=kt(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function $t(e,t,n=!0){let o=(0,r.useRef)(!1);function a(n,r){if(!o.current||n.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),i=r(n);if(null!==i&&i.getRootNode().contains(i)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(i)||n.composed&&n.composedPath().includes(t))return}return!function(e,t=0){var n;return e!==(null==(n=Pt(e))?void 0:n.body)&&Tt(t,{0:()=>e.matches(jt),1(){let t=e;for(;null!==t;){if(t.matches(jt))return!0;t=t.parentElement}return!1}})}(i,Ft.Loose)&&-1!==i.tabIndex&&n.preventDefault(),t(n,i)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{o.current=n}))}),[n]);let i=(0,r.useRef)(null);zt("mousedown",(e=>{var t,n;o.current&&(i.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),zt("click",(e=>{!i.current||(a(e,(()=>i.current)),i.current=null)}),!0),zt("blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}let qt=Symbol();function Ut(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=Et((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[qt])))?void 0:n}function Ht(...e){return e.filter(Boolean).join(" ")}var Vt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Vt||{}),Gt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Gt||{});function Wt({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:a=!0,name:i}){let s=Yt(t,e);if(a)return Kt(s,n,r,i);let l=null!=o?o:0;if(2&l){let{static:e=!1,...t}=s;if(e)return Kt(t,n,r,i)}if(1&l){let{unmount:e=!0,...t}=s;return Tt(e?0:1,{0:()=>null,1:()=>Kt({...t,hidden:!0,style:{display:"none"}},n,r,i)})}return Kt(s,n,r,i)}function Kt(e,t={},n,o){var a;let{as:i=n,children:s,refName:l="ref",...c}=Zt(e,["unmount","static"]),u=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof s?s(t):s;c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(i===r.Fragment&&Object.keys(Xt(c)).length>0){if(!(0,r.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${o} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=Ht(null==(a=d.props)?void 0:a.className,c.className),t=e?{className:e}:{};return(0,r.cloneElement)(d,Object.assign({},Yt(d.props,Xt(Zt(c,["ref"]))),p,u,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(d.ref,u.ref),t))}return(0,r.createElement)(i,Object.assign({},Zt(c,["ref"]),i!==r.Fragment&&u,i!==r.Fragment&&p),d)}function Yt(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e,...t){let o=n[r];for(let n of o){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function Qt(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function Xt(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function Zt(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}var Jt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Jt||{});let en=Qt((function(e,t){let{features:n=1,...r}=e;return Wt({ourProps:{ref:t,"aria-hidden":!(2&~n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~n)&&!!(2&~n)&&{display:"none"}}},theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})),tn=(0,r.createContext)(null);tn.displayName="OpenClosedContext";var nn=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(nn||{});function rn(){return(0,r.useContext)(tn)}function on({value:e,children:t}){return r.createElement(tn.Provider,{value:e},t)}var an=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(an||{});function sn(e,t){let n=(0,r.useRef)([]),o=Et(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,a]of t.entries())if(n.current[r]!==a){let r=o(t,e);return n.current=t,r}}),[o,...t])}var ln=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(ln||{});function cn(){let e=(0,r.useRef)(!1);return wt((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function un(...e){return(0,r.useMemo)((()=>Pt(...e)),[...e])}function dn(e,t,n,o){let a=kt(n);(0,r.useEffect)((()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}var pn=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(pn||{});let fn=Object.assign(Qt((function(e,t){let n=(0,r.useRef)(null),o=Ut(n,t),{initialFocus:a,containers:i,features:s=30,...l}=e;Ct()||(s=1);let c=un(n);!function({ownerDocument:e},t){let n=(0,r.useRef)(null);dn(null==e?void 0:e.defaultView,"focusout",(e=>{!t||n.current||(n.current=e.target)}),!0),sn((()=>{t||((null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&Dt(n.current),n.current=null)}),[t]);let o=(0,r.useRef)(!1);(0,r.useEffect)((()=>(o.current=!1,()=>{o.current=!0,xt((()=>{!o.current||(Dt(n.current),n.current=null)}))})),[])}({ownerDocument:c},Boolean(16&s));let u=function({ownerDocument:e,container:t,initialFocus:n},o){let a=(0,r.useRef)(null),i=cn();return sn((()=>{if(!o)return;let r=t.current;!r||xt((()=>{if(!i.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(a.current=t)}else if(r.contains(t))return void(a.current=t);null!=n&&n.current?Dt(n.current):Bt(r,Rt.First)===Lt.Error&&dt.warn("There are no focusable elements inside the "),a.current=null==e?void 0:e.activeElement}))}),[o]),a}({ownerDocument:c,container:n,initialFocus:a},Boolean(2&s));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let a=cn();dn(null==e?void 0:e.defaultView,"focus",(e=>{if(!o||!a.current)return;let i=new Set(null==n?void 0:n.current);i.add(t);let s=r.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?mn(i,l)?(r.current=l,Dt(l)):(e.preventDefault(),e.stopPropagation(),Dt(s)):Dt(r.current)}),!0)}({ownerDocument:c,container:n,containers:i,previousActiveElement:u},Boolean(8&s));let d=function(){let e=(0,r.useRef)(0);return function(e,t,n){let o=kt(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),p=Et((e=>{let t=n.current;t&&Tt(d.current,{[ln.Forwards]:()=>{Bt(t,Rt.First,{skipElements:[e.relatedTarget]})},[ln.Backwards]:()=>{Bt(t,Rt.Last,{skipElements:[e.relatedTarget]})}})})),f=_t(),m=(0,r.useRef)(!1),h={ref:o,onKeyDown(e){"Tab"==e.key&&(m.current=!0,f.requestAnimationFrame((()=>{m.current=!1})))},onBlur(e){let t=new Set(null==i?void 0:i.current);t.add(n);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(mn(t,r)||(m.current?Bt(n.current,Tt(d.current,{[ln.Forwards]:()=>Rt.Next,[ln.Backwards]:()=>Rt.Previous})|Rt.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&Dt(e.target)))}};return r.createElement(r.Fragment,null,Boolean(4&s)&&r.createElement(en,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:Jt.Focusable}),Wt({ourProps:h,theirProps:l,defaultTag:"div",name:"FocusTrap"}),Boolean(4&s)&&r.createElement(en,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:Jt.Focusable}))})),{features:pn});function mn(e,t){var n;for(let r of e)if(null!=(n=r.current)&&n.contains(t))return!0;return!1}let hn=new Set,gn=new Map;function yn(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function bn(e){let t=gn.get(e);!t||(null===t["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}let vn=(0,r.createContext)(!1);function wn(e){return r.createElement(vn.Provider,{value:e.force},e.children)}let kn=r.Fragment,xn=Qt((function(e,t){let n=e,o=(0,r.useRef)(null),a=Ut(function(e,t=!0){return Object.assign(e,{[qt]:t})}((e=>{o.current=e})),t),i=un(o),s=function(e){let t=(0,r.useContext)(vn),n=(0,r.useContext)(_n),o=un(e),[a,i]=(0,r.useState)((()=>{if(!t&&null!==n||vt.isServer)return null;let e=null==o?void 0:o.getElementById("headlessui-portal-root");if(e)return e;if(null===o)return null;let r=o.createElement("div");return r.setAttribute("id","headlessui-portal-root"),o.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==a&&(null!=o&&o.body.contains(a)||null==o||o.body.appendChild(a))}),[a,o]),(0,r.useEffect)((()=>{t||null!==n&&i(n.current)}),[n,i,t]),a}(o),[l]=(0,r.useState)((()=>{var e;return vt.isServer?null:null!=(e=null==i?void 0:i.createElement("div"))?e:null})),c=Ct(),u=(0,r.useRef)(!1);return wt((()=>{if(u.current=!1,s&&l)return s.contains(l)||(l.setAttribute("data-headlessui-portal",""),s.appendChild(l)),()=>{u.current=!0,xt((()=>{var e;!u.current||!s||!l||(l instanceof Node&&s.contains(l)&&s.removeChild(l),s.childNodes.length<=0&&(null==(e=s.parentElement)||e.removeChild(s)))}))}}),[s,l]),c&&s&&l?(0,ut.createPortal)(Wt({ourProps:{ref:a},theirProps:n,defaultTag:kn,name:"Portal"}),l):null})),Sn=r.Fragment,_n=(0,r.createContext)(null),En=Qt((function(e,t){let{target:n,...o}=e,a={ref:Ut(t)};return r.createElement(_n.Provider,{value:n},Wt({ourProps:a,theirProps:o,defaultTag:Sn,name:"Popover.Group"}))})),Cn=Object.assign(xn,{Group:En}),An=(0,r.createContext)(null);function On(){let e=(0,r.useContext)(An);if(null===e){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,On),e}return e}let Tn=Qt((function(e,t){let n=Ot(),{id:r=`headlessui-description-${n}`,...o}=e,a=On(),i=Ut(t);return wt((()=>a.register(r)),[r,a.register]),Wt({ourProps:{ref:i,...a.props,id:r},theirProps:o,slot:a.slot||{},defaultTag:"p",name:a.name||"Description"})})),Pn=(0,r.createContext)((()=>{}));Pn.displayName="StackContext";var jn=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(jn||{});function Nn({children:e,onUpdate:t,type:n,element:o,enabled:a}){let i=(0,r.useContext)(Pn),s=Et(((...e)=>{null==t||t(...e),i(...e)}));return wt((()=>{let e=void 0===a||!0===a;return e&&s(0,n,o),()=>{e&&s(1,n,o)}}),[s,n,o,a]),r.createElement(Pn.Provider,{value:s},e)}const Rn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:Ln,useEffect:In,useLayoutEffect:Fn,useDebugValue:Dn}=o;function Mn(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!Rn(n,e)}catch{return!0}}"undefined"==typeof window||void 0===window.document||window.document.createElement;const Bn=r.useSyncExternalStore;function zn(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,a=e-o;n.style(r,"paddingRight",`${a}px`)}}}function $n(){if(!(/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0))return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;n.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),i=t.querySelector(r);i&&!o(i)&&(a=i)}catch{}}),!0),n.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!o(e.target)&&e.preventDefault()}),{passive:!1}),n.add((()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)}))}}}function qn(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Un=function(e,t){let n=new Map,r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let a=t[e].call(n,...o);a&&(n=a,r.forEach((e=>e())))}}}(0,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:St(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:qn(n)},o=[$n(),zn(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach((({before:e})=>null==e?void 0:e(r))),o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Un.subscribe((()=>{let e=Un.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&Un.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&Un.dispatch("TEARDOWN",n)}}));var Hn=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Hn||{}),Vn=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Vn||{});let Gn={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Wn=(0,r.createContext)(null);function Kn(e){let t=(0,r.useContext)(Wn);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Kn),t}return t}function Yn(e,t){return Tt(t.type,Gn,e,t)}Wn.displayName="DialogContext";let Qn=Vt.RenderStrategy|Vt.Static,Xn=Qt((function(e,t){let n=Ot(),{id:o=`headlessui-dialog-${n}`,open:a,onClose:i,initialFocus:s,__demoMode:l=!1,...c}=e,[u,d]=(0,r.useState)(0),p=rn();void 0===a&&null!==p&&(a=(p&nn.Open)===nn.Open);let f=(0,r.useRef)(new Set),m=(0,r.useRef)(null),h=Ut(m,t),g=(0,r.useRef)(null),y=un(m),b=e.hasOwnProperty("open")||null!==p,v=e.hasOwnProperty("onClose");if(!b&&!v)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!b)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!v)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof a)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if("function"!=typeof i)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);let w=a?0:1,[k,x]=(0,r.useReducer)(Yn,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),S=Et((()=>i(!1))),_=Et((e=>x({type:0,id:e}))),E=!!Ct()&&!l&&0===w,C=u>1,A=null!==(0,r.useContext)(Wn),O=C?"parent":"leaf",T=null!==p&&(p&nn.Closing)===nn.Closing;!function(e,t=!0){wt((()=>{if(!t||!e.current)return;let n=e.current,r=Pt(n);if(r){hn.add(n);for(let e of gn.keys())e.contains(n)&&(bn(e),gn.delete(e));return r.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement){for(let t of hn)if(e.contains(t))return;1===hn.size&&(gn.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),yn(e))}})),()=>{if(hn.delete(n),hn.size>0)r.querySelectorAll("body > *").forEach((e=>{if(e instanceof HTMLElement&&!gn.has(e)){for(let t of hn)if(e.contains(t))return;gn.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),yn(e)}}));else for(let e of gn.keys())bn(e),gn.delete(e)}}}),[t])}(m,!(!C||T)&&E);let P=Et((()=>{var e,t;return[...Array.from(null!=(e=null==y?void 0:y.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(g.current)||k.panelRef.current&&e.contains(k.panelRef.current)))),null!=(t=k.panelRef.current)?t:m.current]}));$t((()=>P()),S,!(!E||C));let j=!(C||0!==w);dn(null==y?void 0:y.defaultView,"keydown",(e=>{!j||e.defaultPrevented||e.key===an.Escape&&(e.preventDefault(),e.stopPropagation(),S())})),function(e,t,n=()=>[document.body]){!function(e,t,n){let r=function(e){return Bn(e.subscribe,e.getSnapshot,e.getSnapshot)}(Un),o=e?r.get(e):void 0,a=!!o&&o.count>0;wt((()=>{if(e&&t)return Un.dispatch("PUSH",e,n),()=>Un.dispatch("POP",e,n)}),[t,e])}(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}(y,!(T||0!==w||A),P),(0,r.useEffect)((()=>{if(0!==w||!m.current)return;let e=new IntersectionObserver((e=>{for(let t of e)0===t.boundingClientRect.x&&0===t.boundingClientRect.y&&0===t.boundingClientRect.width&&0===t.boundingClientRect.height&&S()}));return e.observe(m.current),()=>e.disconnect()}),[w,m,S]);let[N,R]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=Et((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(An.Provider,{value:o},e.children)}),[t])]}(),L=(0,r.useMemo)((()=>[{dialogState:w,close:S,setTitleId:_},k]),[w,k,S,_]),I=(0,r.useMemo)((()=>({open:0===w})),[w]),F={ref:h,id:o,role:"dialog","aria-modal":0===w||void 0,"aria-labelledby":k.titleId,"aria-describedby":N};return r.createElement(Nn,{type:"Dialog",enabled:0===w,element:m,onUpdate:Et(((e,t,n)=>{"Dialog"===t&&Tt(e,{[jn.Add](){f.current.add(n),d((e=>e+1))},[jn.Remove](){f.current.add(n),d((e=>e-1))}})}))},r.createElement(wn,{force:!0},r.createElement(Cn,null,r.createElement(Wn.Provider,{value:L},r.createElement(Cn.Group,{target:m},r.createElement(wn,{force:!1},r.createElement(R,{slot:I,name:"Dialog.Description"},r.createElement(fn,{initialFocus:s,containers:f,features:E?Tt(O,{parent:fn.features.RestoreFocus,leaf:fn.features.All&~fn.features.FocusLock}):fn.features.None},Wt({ourProps:F,theirProps:c,slot:I,defaultTag:"div",features:Qn,visible:0===w,name:"Dialog"})))))))),r.createElement(en,{features:Jt.Hidden,ref:g}))})),Zn=Qt((function(e,t){let n=Ot(),{id:o=`headlessui-dialog-overlay-${n}`,...a}=e,[{dialogState:i,close:s}]=Kn("Dialog.Overlay"),l=Ut(t),c=Et((e=>{if(e.target===e.currentTarget){if(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),s()}}));return Wt({ourProps:{ref:l,id:o,"aria-hidden":!0,onClick:c},theirProps:a,slot:(0,r.useMemo)((()=>({open:0===i})),[i]),defaultTag:"div",name:"Dialog.Overlay"})})),Jn=Qt((function(e,t){let n=Ot(),{id:o=`headlessui-dialog-backdrop-${n}`,...a}=e,[{dialogState:i},s]=Kn("Dialog.Backdrop"),l=Ut(t);(0,r.useEffect)((()=>{if(null===s.panelRef.current)throw new Error("A component is being used, but a component is missing.")}),[s.panelRef]);let c=(0,r.useMemo)((()=>({open:0===i})),[i]);return r.createElement(wn,{force:!0},r.createElement(Cn,null,Wt({ourProps:{ref:l,id:o,"aria-hidden":!0},theirProps:a,slot:c,defaultTag:"div",name:"Dialog.Backdrop"})))})),er=Qt((function(e,t){let n=Ot(),{id:o=`headlessui-dialog-panel-${n}`,...a}=e,[{dialogState:i},s]=Kn("Dialog.Panel"),l=Ut(t,s.panelRef),c=(0,r.useMemo)((()=>({open:0===i})),[i]),u=Et((e=>{e.stopPropagation()}));return Wt({ourProps:{ref:l,id:o,onClick:u},theirProps:a,slot:c,defaultTag:"div",name:"Dialog.Panel"})})),tr=Qt((function(e,t){let n=Ot(),{id:o=`headlessui-dialog-title-${n}`,...a}=e,[{dialogState:i,setTitleId:s}]=Kn("Dialog.Title"),l=Ut(t);(0,r.useEffect)((()=>(s(o),()=>s(null))),[o,s]);let c=(0,r.useMemo)((()=>({open:0===i})),[i]);return Wt({ourProps:{ref:l,id:o},theirProps:a,slot:c,defaultTag:"h2",name:"Dialog.Title"})})),nr=Object.assign(Xn,{Backdrop:Jn,Panel:er,Overlay:Zn,Title:tr,Description:Tn});function rr(e,...t){e&&t.length>0&&e.classList.add(...t)}function or(e,...t){e&&t.length>0&&e.classList.remove(...t)}function ar(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let ir=(0,r.createContext)(null);ir.displayName="TransitionContext";var sr=(e=>(e.Visible="visible",e.Hidden="hidden",e))(sr||{});let lr=(0,r.createContext)(null);function cr(e){return"children"in e?cr(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function ur(e,t){let n=kt(e),o=(0,r.useRef)([]),a=cn(),i=_t(),s=Et(((e,t=Gt.Hidden)=>{let r=o.current.findIndex((({el:t})=>t===e));-1!==r&&(Tt(t,{[Gt.Unmount](){o.current.splice(r,1)},[Gt.Hidden](){o.current[r].state="hidden"}}),i.microTask((()=>{var e;!cr(o)&&a.current&&(null==(e=n.current)||e.call(n))})))})),l=Et((e=>{let t=o.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):o.current.push({el:e,state:"visible"}),()=>s(e,Gt.Unmount)})),c=(0,r.useRef)([]),u=(0,r.useRef)(Promise.resolve()),d=(0,r.useRef)({enter:[],leave:[],idle:[]}),p=Et(((e,n,r)=>{c.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(d.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),f=Et(((e,t,n)=>{Promise.all(d.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:o,register:l,unregister:s,onStart:p,onStop:f,wait:u,chains:d})),[l,s,o,p,f,d,u])}function dr(){}lr.displayName="NestingContext";let pr=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function fr(e){var t;let n={};for(let r of pr)n[r]=null!=(t=e[r])?t:dr;return n}let mr=Vt.RenderStrategy,hr=Qt((function(e,t){let{beforeEnter:n,afterEnter:o,beforeLeave:a,afterLeave:i,enter:s,enterFrom:l,enterTo:c,entered:u,leave:d,leaveFrom:p,leaveTo:f,...m}=e,h=(0,r.useRef)(null),g=Ut(h,t),y=m.unmount?Gt.Unmount:Gt.Hidden,{show:b,appear:v,initial:w}=function(){let e=(0,r.useContext)(ir);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),[k,x]=(0,r.useState)(b?"visible":"hidden"),S=function(){let e=(0,r.useContext)(lr);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),{register:_,unregister:E}=S,C=(0,r.useRef)(null);(0,r.useEffect)((()=>_(h)),[_,h]),(0,r.useEffect)((()=>{if(y===Gt.Hidden&&h.current)return b&&"visible"!==k?void x("visible"):Tt(k,{hidden:()=>E(h),visible:()=>_(h)})}),[k,h,_,E,b,y]);let A=kt({enter:ar(s),enterFrom:ar(l),enterTo:ar(c),entered:ar(u),leave:ar(d),leaveFrom:ar(p),leaveTo:ar(f)}),O=function(e){let t=(0,r.useRef)(fr(e));return(0,r.useEffect)((()=>{t.current=fr(e)}),[e]),t}({beforeEnter:n,afterEnter:o,beforeLeave:a,afterLeave:i}),T=Ct();(0,r.useEffect)((()=>{if(T&&"visible"===k&&null===h.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[h,k,T]);let P=w&&!v,j=!T||P||C.current===b?"idle":b?"enter":"leave",N=function(e=0){let[t,n]=(0,r.useState)(e),o=(0,r.useCallback)((e=>n((t=>t|e))),[t]),a=(0,r.useCallback)((e=>Boolean(t&e)),[t]),i=(0,r.useCallback)((e=>n((t=>t&~e))),[n]),s=(0,r.useCallback)((e=>n((t=>t^e))),[n]);return{flags:t,addFlag:o,hasFlag:a,removeFlag:i,toggleFlag:s}}(0),R=Et((e=>Tt(e,{enter:()=>{N.addFlag(nn.Opening),O.current.beforeEnter()},leave:()=>{N.addFlag(nn.Closing),O.current.beforeLeave()},idle:()=>{}}))),L=Et((e=>Tt(e,{enter:()=>{N.removeFlag(nn.Opening),O.current.afterEnter()},leave:()=>{N.removeFlag(nn.Closing),O.current.afterLeave()},idle:()=>{}}))),I=ur((()=>{x("hidden"),E(h)}),S);(function({container:e,direction:t,classes:n,onStart:r,onStop:o}){let a=cn(),i=_t(),s=kt(t);wt((()=>{let t=St();i.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&a.current)return t.dispose(),r.current(s.current),t.add(function(e,t,n,r){let o=n?"enter":"leave",a=St(),i=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===o&&(e.removeAttribute("hidden"),e.style.display="");let s=Tt(o,{enter:()=>t.enter,leave:()=>t.leave}),l=Tt(o,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Tt(o,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return or(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),rr(e,...s,...c),a.nextFrame((()=>{or(e,...c),rr(e,...l),function(e,t){let n=St();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[a,i]=[r,o].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(a+i!==0){let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(or(e,...s),rr(e,...t.entered),i())))})),a.dispose}(l,n.current,"enter"===s.current,(()=>{t.dispose(),o.current(s.current)}))),t.dispose}),[t])})({container:h,classes:A,direction:j,onStart:kt((e=>{I.onStart(h,e,R)})),onStop:kt((e=>{I.onStop(h,e,L),"leave"===e&&!cr(I)&&(x("hidden"),E(h))}))}),(0,r.useEffect)((()=>{!P||(y===Gt.Hidden?C.current=null:C.current=b)}),[b,P,k]);let F=m,D={ref:g};return v&&b&&vt.isServer&&(F={...F,className:Ht(m.className,...A.current.enter,...A.current.enterFrom)}),r.createElement(lr.Provider,{value:I},r.createElement(on,{value:Tt(k,{visible:nn.Open,hidden:nn.Closed})|N.flags},Wt({ourProps:D,theirProps:F,defaultTag:"div",features:mr,visible:"visible"===k,name:"Transition.Child"})))})),gr=Qt((function(e,t){let{show:n,appear:o=!1,unmount:a,...i}=e,s=(0,r.useRef)(null),l=Ut(s,t);Ct();let c=rn();if(void 0===n&&null!==c&&(n=(c&nn.Open)===nn.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,r.useState)(n?"visible":"hidden"),p=ur((()=>{d("hidden")})),[f,m]=(0,r.useState)(!0),h=(0,r.useRef)([n]);wt((()=>{!1!==f&&h.current[h.current.length-1]!==n&&(h.current.push(n),m(!1))}),[h,n]);let g=(0,r.useMemo)((()=>({show:n,appear:o,initial:f})),[n,o,f]);(0,r.useEffect)((()=>{if(n)d("visible");else if(cr(p)){let e=s.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&d("hidden")}else d("hidden")}),[n,p]);let y={unmount:a};return r.createElement(lr.Provider,{value:p},r.createElement(ir.Provider,{value:g},Wt({ourProps:{...y,as:r.Fragment,children:r.createElement(hr,{ref:l,...y,...i})},theirProps:{},defaultTag:r.Fragment,features:mr,visible:"visible"===u,name:"Transition"})))})),yr=Qt((function(e,t){let n=null!==(0,r.useContext)(ir),o=null!==rn();return r.createElement(r.Fragment,null,!n&&o?r.createElement(gr,{ref:t,...e}):r.createElement(hr,{ref:t,...e}))})),br=Object.assign(gr,{Child:yr,Root:gr});var vr,wr={darkMode:!0,accentColor:"#8559F4"},kr={color:"#ffffff",backgroundColor:"#8559F4"},xr={openSourcesInNewTab:!1,prettySources:!1,persistMessagesBetweenSessions:!1,scrollToView:!0,sourcesFirst:!1,sourcesDisplay:"short"},Sr={showStopGeneratingButton:!0};!function(e){e.NoDocs="noDocs",e.FullDocs="fullDocs",e.None="none",e.Error="error"}(vr||(vr={}));var _r="https://api.mendable.ai/v1",Er="0.0.206",Cr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};var Ar,Or={},Tr={get exports(){return Or},set exports(e){Or=e}},Pr={},jr={get exports(){return Pr},set exports(e){Pr=e}},Nr=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}(Object.freeze({__proto__:null,default:{}}));function Rr(){return Ar||(Ar=1,jr.exports=function(){var e=e||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==Cr&&Cr.crypto&&(n=Cr.crypto),!n)try{n=Nr}catch(e){}var r=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},i=a.lib={},s=i.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=i.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var a=0;a>>2]>>>24-a%4*8&255;t[r+a>>>2]|=i<<24-(r+a)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-o%4*8&255;r.push((a>>>4).toString(16)),r.push((15&a).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new l.init(n,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new l.init(n,t)}},p=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},f=i.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,a=r.sigBytes,i=this.blockSize,s=a/(4*i),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,u=e.min(4*c,a);if(c){for(var d=0;d>>6-i%4*2;o[a>>>2]|=s<<24-a%4*8,a++}return n.create(o,a)}t.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],l=e[t+1],f=e[t+2],m=e[t+3],h=e[t+4],g=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],w=e[t+9],k=e[t+10],x=e[t+11],S=e[t+12],_=e[t+13],E=e[t+14],C=e[t+15],A=a[0],O=a[1],T=a[2],P=a[3];A=c(A,O,T,P,i,7,s[0]),P=c(P,A,O,T,l,12,s[1]),T=c(T,P,A,O,f,17,s[2]),O=c(O,T,P,A,m,22,s[3]),A=c(A,O,T,P,h,7,s[4]),P=c(P,A,O,T,g,12,s[5]),T=c(T,P,A,O,y,17,s[6]),O=c(O,T,P,A,b,22,s[7]),A=c(A,O,T,P,v,7,s[8]),P=c(P,A,O,T,w,12,s[9]),T=c(T,P,A,O,k,17,s[10]),O=c(O,T,P,A,x,22,s[11]),A=c(A,O,T,P,S,7,s[12]),P=c(P,A,O,T,_,12,s[13]),T=c(T,P,A,O,E,17,s[14]),A=u(A,O=c(O,T,P,A,C,22,s[15]),T,P,l,5,s[16]),P=u(P,A,O,T,y,9,s[17]),T=u(T,P,A,O,x,14,s[18]),O=u(O,T,P,A,i,20,s[19]),A=u(A,O,T,P,g,5,s[20]),P=u(P,A,O,T,k,9,s[21]),T=u(T,P,A,O,C,14,s[22]),O=u(O,T,P,A,h,20,s[23]),A=u(A,O,T,P,w,5,s[24]),P=u(P,A,O,T,E,9,s[25]),T=u(T,P,A,O,m,14,s[26]),O=u(O,T,P,A,v,20,s[27]),A=u(A,O,T,P,_,5,s[28]),P=u(P,A,O,T,f,9,s[29]),T=u(T,P,A,O,b,14,s[30]),A=d(A,O=u(O,T,P,A,S,20,s[31]),T,P,g,4,s[32]),P=d(P,A,O,T,v,11,s[33]),T=d(T,P,A,O,x,16,s[34]),O=d(O,T,P,A,E,23,s[35]),A=d(A,O,T,P,l,4,s[36]),P=d(P,A,O,T,h,11,s[37]),T=d(T,P,A,O,b,16,s[38]),O=d(O,T,P,A,k,23,s[39]),A=d(A,O,T,P,_,4,s[40]),P=d(P,A,O,T,i,11,s[41]),T=d(T,P,A,O,m,16,s[42]),O=d(O,T,P,A,y,23,s[43]),A=d(A,O,T,P,w,4,s[44]),P=d(P,A,O,T,S,11,s[45]),T=d(T,P,A,O,C,16,s[46]),A=p(A,O=d(O,T,P,A,f,23,s[47]),T,P,i,6,s[48]),P=p(P,A,O,T,b,10,s[49]),T=p(T,P,A,O,E,15,s[50]),O=p(O,T,P,A,g,21,s[51]),A=p(A,O,T,P,S,6,s[52]),P=p(P,A,O,T,m,10,s[53]),T=p(T,P,A,O,k,15,s[54]),O=p(O,T,P,A,l,21,s[55]),A=p(A,O,T,P,v,6,s[56]),P=p(P,A,O,T,C,10,s[57]),T=p(T,P,A,O,y,15,s[58]),O=p(O,T,P,A,_,21,s[59]),A=p(A,O,T,P,h,6,s[60]),P=p(P,A,O,T,x,10,s[61]),T=p(T,P,A,O,f,15,s[62]),O=p(O,T,P,A,w,21,s[63]),a[0]=a[0]+A|0,a[1]=a[1]+O|0,a[2]=a[2]+T|0,a[3]=a[3]+P|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;n[o>>>5]|=128<<24-o%32;var a=t.floor(r/4294967296),i=r;n[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,o,a,i){var s=e+(t&n|~t&r)+o+i;return(s<>>32-a)+t}function u(e,t,n,r,o,a,i){var s=e+(t&r|n&~r)+o+i;return(s<>>32-a)+t}function d(e,t,n,r,o,a,i){var s=e+(t^n^r)+o+i;return(s<>>32-a)+t}function p(e,t,n,r,o,a,i){var s=e+(n^(t|~r))+o+i;return(s<>>32-a)+t}n.MD5=a._createHelper(l),n.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5}(Rr())),Zr}var to,no={},ro={get exports(){return no},set exports(e){no=e}};function oo(){return to||(to=1,ro.exports=function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,a=t.algo,i=[],s=a.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],a=n[2],s=n[3],l=n[4],c=0;c<80;c++){if(c<16)i[c]=0|e[t+c];else{var u=i[c-3]^i[c-8]^i[c-14]^i[c-16];i[c]=u<<1|u>>>31}var d=(r<<5|r>>>27)+l+i[c];d+=c<20?1518500249+(o&a|~o&s):c<40?1859775393+(o^a^s):c<60?(o&a|o&s|a&s)-1894007588:(o^a^s)-899497514,l=s,s=a,a=o<<30|o>>>2,o=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(s),t.HmacSHA1=o._createHmacHelper(s)}(),e.SHA1}(Rr())),no}var ao,io={},so={get exports(){return io},set exports(e){io=e}};function lo(){return ao||(ao=1,so.exports=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,a=r.Hasher,i=n.algo,s=[],l=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)e(r)&&(o<8&&(s[o]=n(t.pow(r,.5))),l[o]=n(t.pow(r,1/3)),o++),r++}();var c=[],u=i.SHA256=a.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],a=n[2],i=n[3],s=n[4],u=n[5],d=n[6],p=n[7],f=0;f<64;f++){if(f<16)c[f]=0|e[t+f];else{var m=c[f-15],h=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,g=c[f-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[f]=h+c[f-7]+y+c[f-16]}var b=r&o^r&a^o&a,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+l[f]+c[f];p=d,d=u,u=s,s=i+w|0,i=a,a=o,o=r,r=w+(v+b)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+a|0,n[3]=n[3]+i|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+p|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=a._createHelper(u),n.HmacSHA256=a._createHmacHelper(u)}(Math),e.SHA256}(Rr())),io}var co,uo,po={},fo={get exports(){return po},set exports(e){po=e}},mo={},ho={get exports(){return mo},set exports(e){mo=e}};function go(){return uo||(uo=1,ho.exports=function(e){return function(){var t=e,n=t.lib.Hasher,r=t.x64,o=r.Word,a=r.WordArray,i=t.algo;function s(){return o.create.apply(o,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var u=i.SHA512=n.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],a=n[2],i=n[3],s=n[4],u=n[5],d=n[6],p=n[7],f=r.high,m=r.low,h=o.high,g=o.low,y=a.high,b=a.low,v=i.high,w=i.low,k=s.high,x=s.low,S=u.high,_=u.low,E=d.high,C=d.low,A=p.high,O=p.low,T=f,P=m,j=h,N=g,R=y,L=b,I=v,F=w,D=k,M=x,B=S,z=_,$=E,q=C,U=A,H=O,V=0;V<80;V++){var G,W,K=c[V];if(V<16)W=K.high=0|e[t+2*V],G=K.low=0|e[t+2*V+1];else{var Y=c[V-15],Q=Y.high,X=Y.low,Z=(Q>>>1|X<<31)^(Q>>>8|X<<24)^Q>>>7,J=(X>>>1|Q<<31)^(X>>>8|Q<<24)^(X>>>7|Q<<25),ee=c[V-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ae=c[V-7],ie=ae.high,se=ae.low,le=c[V-16],ce=le.high,ue=le.low;W=(W=(W=Z+ie+((G=J+se)>>>0>>0?1:0))+re+((G+=oe)>>>0>>0?1:0))+ce+((G+=ue)>>>0>>0?1:0),K.high=W,K.low=G}var de,pe=D&B^~D&$,fe=M&z^~M&q,me=T&j^T&R^j&R,he=P&N^P&L^N&L,ge=(T>>>28|P<<4)^(T<<30|P>>>2)^(T<<25|P>>>7),ye=(P>>>28|T<<4)^(P<<30|T>>>2)^(P<<25|T>>>7),be=(D>>>14|M<<18)^(D>>>18|M<<14)^(D<<23|M>>>9),ve=(M>>>14|D<<18)^(M>>>18|D<<14)^(M<<23|D>>>9),we=l[V],ke=we.high,xe=we.low,Se=U+be+((de=H+ve)>>>0>>0?1:0),_e=ye+he;U=$,H=q,$=B,q=z,B=D,z=M,D=I+(Se=(Se=(Se=Se+pe+((de+=fe)>>>0>>0?1:0))+ke+((de+=xe)>>>0>>0?1:0))+W+((de+=G)>>>0>>0?1:0))+((M=F+de|0)>>>0>>0?1:0)|0,I=R,F=L,R=j,L=N,j=T,N=P,T=Se+(ge+me+(_e>>>0>>0?1:0))+((P=de+_e|0)>>>0>>0?1:0)|0}m=r.low=m+P,r.high=f+T+(m>>>0

>>0?1:0),g=o.low=g+N,o.high=h+j+(g>>>0>>0?1:0),b=a.low=b+L,a.high=y+R+(b>>>0>>0?1:0),w=i.low=w+F,i.high=v+I+(w>>>0>>0?1:0),x=s.low=x+M,s.high=k+D+(x>>>0>>0?1:0),_=u.low=_+z,u.high=S+B+(_>>>0>>0?1:0),C=d.low=C+q,d.high=E+$+(C>>>0>>0?1:0),O=p.low=O+H,p.high=A+U+(O>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=n._createHelper(u),t.HmacSHA512=n._createHmacHelper(u)}(),e.SHA512}(Rr(),Dr())),mo}var yo,bo,vo={},wo={get exports(){return vo},set exports(e){vo=e}},ko={},xo={get exports(){return ko},set exports(e){ko=e}};var So,_o,Eo={},Co={get exports(){return Eo},set exports(e){Eo=e}},Ao={},Oo={get exports(){return Ao},set exports(e){Ao=e}};function To(){return _o||(_o=1,Oo.exports=function(e){!function(){var t=e,n=t.lib.Base,r=t.enc.Utf8;t.algo.HMAC=n.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),i=this._iKey=t.clone(),s=a.words,l=i.words,c=0;c>>2];e.sigBytes-=t}};r.BlockCipher=u.extend({cfg:u.cfg.extend({mode:f,padding:m}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var h=r.CipherParams=o.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(n.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?a.create([1398893684,1701076831]).concat(n).concat(t):t).toString(l)},parse:function(e){var t,n=l.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=a.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),h.create({ciphertext:n,salt:t})}},y=r.SerializableCipher=o.extend({cfg:o.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var o=e.createEncryptor(n,r),a=o.finalize(t),i=o.cfg;return h.create({ciphertext:a,key:n,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),b=(n.kdf={}).OpenSSL={execute:function(e,t,n,r,o){if(r||(r=a.random(8)),o)i=c.create({keySize:t+n,hasher:o}).compute(e,r);else var i=c.create({keySize:t+n}).compute(e,r);var s=a.create(i.words.slice(t),4*n);return i.sigBytes=4*t,h.create({key:i,iv:s,salt:r})}},v=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:b}),encrypt:function(e,t,n,r){var o=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=o.iv;var a=y.encrypt.call(this,e,t,o.key,r);return a.mixIn(o),a},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var o=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=o.iv,y.decrypt.call(this,e,t,o.key,r)}})}()}(Rr(),Fo())),Mo}var $o,qo={},Uo={get exports(){return qo},set exports(e){qo=e}};var Ho,Vo={},Go={get exports(){return Vo},set exports(e){Vo=e}};var Wo,Ko={},Yo={get exports(){return Ko},set exports(e){Ko=e}};var Qo,Xo={},Zo={get exports(){return Xo},set exports(e){Xo=e}};var Jo,ea,ta,na,ra,oa,aa,ia,sa,la={},ca={get exports(){return la},set exports(e){la=e}},ua={},da={get exports(){return ua},set exports(e){ua=e}},pa={},fa={get exports(){return pa},set exports(e){pa=e}},ma={},ha={get exports(){return ma},set exports(e){ma=e}},ga={},ya={get exports(){return ga},set exports(e){ga=e}},ba={},va={get exports(){return ba},set exports(e){ba=e}},wa={},ka={get exports(){return wa},set exports(e){wa=e}},xa={},Sa={get exports(){return xa},set exports(e){xa=e}},_a={},Ea={get exports(){return _a},set exports(e){_a=e}};var Ca,Aa,Oa,Ta,Pa={},ja={get exports(){return Pa},set exports(e){Pa=e}},Na={},Ra={get exports(){return Na},set exports(e){Na=e}},La={},Ia={get exports(){return La},set exports(e){La=e}},Fa={},Da={get exports(){return Fa},set exports(e){Fa=e}};Tr.exports=function(e){return e}(Rr(),Dr(),Mr||(Mr=1,zr.exports=function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,n=t.init,r=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,r=[],o=0;o>>2]|=e[o]<<24-o%4*8;n.call(this,r,t)}else n.apply(this,arguments)};r.prototype=t}}(),e.lib.WordArray}(Rr())),$r||($r=1,Ur.exports=function(e){return function(){var t=e,n=t.lib.WordArray,r=t.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535;r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return n.create(r,2*t)}},r.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],a=0;a>>2]>>>16-a%4*8&65535);r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,r=[],a=0;a>>1]|=o(e.charCodeAt(a)<<16-a%2*16);return n.create(r,2*t)}}}(),e.enc.Utf16}(Rr())),Wr(),Kr||(Kr=1,Qr.exports=function(e){return function(){var t=e,n=t.lib.WordArray;function r(e,t,r){for(var o=[],a=0,i=0;i>>6-i%4*2;o[a>>>2]|=s<<24-a%4*8,a++}return n.create(o,a)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var n=e.words,r=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var a=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(n[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|n[i+2>>>2]>>>24-(i+2)%4*8&255,l=0;l<4&&i+.75*l>>6*(3-l)&63));var c=o.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,o=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var i=0;i>>24)|4278255360&(a<<24|a>>>8),i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),(O=n[o]).high^=i,O.low^=a}for(var s=0;s<24;s++){for(var p=0;p<5;p++){for(var f=0,m=0,h=0;h<5;h++)f^=(O=n[p+5*h]).high,m^=O.low;var g=d[p];g.high=f,g.low=m}for(p=0;p<5;p++){var y=d[(p+4)%5],b=d[(p+1)%5],v=b.high,w=b.low;for(f=y.high^(v<<1|w>>>31),m=y.low^(w<<1|v>>>31),h=0;h<5;h++)(O=n[p+5*h]).high^=f,O.low^=m}for(var k=1;k<25;k++){var x=(O=n[k]).high,S=O.low,_=l[k];_<32?(f=x<<_|S>>>32-_,m=S<<_|x>>>32-_):(f=S<<_-32|x>>>64-_,m=x<<_-32|S>>>64-_);var E=d[c[k]];E.high=f,E.low=m}var C=d[0],A=n[0];for(C.high=A.high,C.low=A.low,p=0;p<5;p++)for(h=0;h<5;h++){var O=n[k=p+5*h],T=d[k],P=d[(p+1)%5+5*h],j=d[(p+2)%5+5*h];O.high=T.high^~P.high&j.high,O.low=T.low^~P.low&j.low}O=n[0];var N=u[s];O.high^=N.high,O.low^=N.low}},_doFinalize:function(){var e=this._data,n=e.words;this._nDataBytes;var r=8*e.sigBytes,a=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var i=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],u=0;u>>24)|4278255360&(p<<24|p>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),c.push(f),c.push(p)}return new o.init(c,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=a._createHelper(p),n.HmacSHA3=a._createHmacHelper(p)}(Math),e.SHA3}(Rr(),Dr())),So||(So=1,Co.exports=function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,a=r.Hasher,i=n.algo,s=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=o.create([0,1518500249,1859775393,2400959708,2840853838]),p=o.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=a.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a,i,f,w,k,x,S,_,E,C,A,O=this._hash.words,T=d.words,P=p.words,j=s.words,N=l.words,R=c.words,L=u.words;for(x=a=O[0],S=i=O[1],_=f=O[2],E=w=O[3],C=k=O[4],n=0;n<80;n+=1)A=a+e[t+j[n]]|0,A+=n<16?m(i,f,w)+T[0]:n<32?h(i,f,w)+T[1]:n<48?g(i,f,w)+T[2]:n<64?y(i,f,w)+T[3]:b(i,f,w)+T[4],A=(A=v(A|=0,R[n]))+k|0,a=k,k=w,w=v(f,10),f=i,i=A,A=x+e[t+N[n]]|0,A+=n<16?b(S,_,E)+P[0]:n<32?y(S,_,E)+P[1]:n<48?g(S,_,E)+P[2]:n<64?h(S,_,E)+P[3]:m(S,_,E)+P[4],A=(A=v(A|=0,L[n]))+C|0,x=C,C=E,E=v(_,10),_=S,S=A;A=O[1]+f+E|0,O[1]=O[2]+w+C|0,O[2]=O[3]+k+x|0,O[3]=O[4]+a+S|0,O[4]=O[0]+i+_|0,O[0]=A},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,a=o.words,i=0;i<5;i++){var s=a[i];a[i]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function m(e,t,n){return e^t^n}function h(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function y(e,t,n){return e&n|t&~n}function b(e,t,n){return e^(t|~n)}function v(e,t){return e<>>32-t}n.RIPEMD160=a._createHelper(f),n.HmacRIPEMD160=a._createHmacHelper(f)}(),e.RIPEMD160}(Rr())),To(),Po||(Po=1,Ro.exports=function(e){return function(){var t=e,n=t.lib,r=n.Base,o=n.WordArray,a=t.algo,i=a.SHA256,s=a.HMAC,l=a.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:i,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=s.create(n.hasher,e),a=o.create(),i=o.create([1]),l=a.words,c=i.words,u=n.keySize,d=n.iterations;l.length>24))e+=1<<24;else{var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var o=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,o=n.blockSize,a=this._iv,i=this._counter;a&&(i=this._counter=a.slice(0),this._iv=void 0),r(i);var s=i.slice(0);n.encryptBlock(s,0);for(var l=0;l>>2]|=o<<24-a%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923}(Rr(),zo())),ta||(ta=1,fa.exports=function(e){return e.pad.Iso10126={pad:function(t,n){var r=4*n,o=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(o-1)).concat(e.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126}(Rr(),zo())),na||(na=1,ha.exports=function(e){return e.pad.Iso97971={pad:function(t,n){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,n)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971}(Rr(),zo())),ra||(ra=1,ya.exports=function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}(Rr(),zo())),oa||(oa=1,va.exports=function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding}(Rr(),zo())),aa||(aa=1,ka.exports=function(e){return function(t){var n=e,r=n.lib.CipherParams,o=n.enc.Hex;n.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return r.create({ciphertext:t})}}}(),e.format.Hex}(Rr(),zo())),ia||(ia=1,Sa.exports=function(e){return function(){var t=e,n=t.lib.BlockCipher,r=t.algo,o=[],a=[],i=[],s=[],l=[],c=[],u=[],d=[],p=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var m=r^r<<1^r<<2^r<<3^r<<4;m=m>>>8^255&m^99,o[n]=m,a[m]=n;var h=e[n],g=e[h],y=e[g],b=257*e[m]^16843008*m;i[n]=b<<24|b>>>8,s[n]=b<<16|b>>>16,l[n]=b<<8|b>>>24,c[n]=b,b=16843009*y^65537*g^257*h^16843008*n,u[m]=b<<24|b>>>8,d[m]=b<<16|b>>>16,p[m]=b<<8|b>>>24,f[m]=b,n?(n=h^e[e[e[y^h]]],r^=e[e[r]]):n=r=1}}();var m=[0,1,2,4,8,16,32,64,128,27,54],h=r.AES=n.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),a=this._keySchedule=[],i=0;i6&&i%n==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=m[i/n|0]<<24),a[i]=a[i-n]^c);for(var s=this._invKeySchedule=[],l=0;l>>24]]^d[o[c>>>16&255]]^p[o[c>>>8&255]]^f[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,i,s,l,c,o)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,p,f,a),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,o,a,i,s){for(var l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],p=e[t+3]^n[3],f=4,m=1;m>>24]^o[u>>>16&255]^a[d>>>8&255]^i[255&p]^n[f++],g=r[u>>>24]^o[d>>>16&255]^a[p>>>8&255]^i[255&c]^n[f++],y=r[d>>>24]^o[p>>>16&255]^a[c>>>8&255]^i[255&u]^n[f++],b=r[p>>>24]^o[c>>>16&255]^a[u>>>8&255]^i[255&d]^n[f++];c=h,u=g,d=y,p=b}h=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&p])^n[f++],g=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[p>>>8&255]<<8|s[255&c])^n[f++],y=(s[d>>>24]<<24|s[p>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[f++],b=(s[p>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[f++],e[t]=h,e[t+1]=g,e[t+2]=y,e[t+3]=b},keySize:8});t.AES=n._createHelper(h)}(),e.AES}(Rr(),Wr(),eo(),Fo(),zo())),sa||(sa=1,Ea.exports=function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,a=t.algo,i=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=a.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=i[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var o=this._subKeys=[],a=0;a<16;a++){var c=o[a]=[],u=l[a];for(n=0;n<24;n++)c[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,c[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(c[0]=c[0]<<1|c[0]>>>31,n=1;n<7;n++)c[n]=c[n]>>>4*(n-1)+3;c[7]=c[7]<<5|c[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=o[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],p.call(this,4,252645135),p.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),p.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],a=this._lBlock,i=this._rBlock,s=0,l=0;l<8;l++)s|=c[l][((i^o[l])&u[l])>>>0];this._lBlock=i,this._rBlock=a^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,p.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function p(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(r.create(t)),this._des2=d.createEncryptor(r.create(n)),this._des3=d.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(m)}(),e.TripleDES}(Rr(),Wr(),eo(),Fo(),zo())),Ca||(Ca=1,ja.exports=function(e){return function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=r.RC4=n.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],o=0;o<256;o++)r[o]=o;o=0;for(var a=0;o<256;o++){var i=o%n,s=t[i>>>2]>>>24-i%4*8&255;a=(a+r[o]+s)%256;var l=r[o];r[o]=r[a],r[a]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,n=this._j,r=0,o=0;o<4;o++){n=(n+e[t=(t+1)%256])%256;var a=e[t];e[t]=e[n],e[n]=a,r|=e[(e[t]+e[n])%256]<<24-8*o}return this._i=t,this._j=n,r}t.RC4=n._createHelper(o);var i=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=n._createHelper(i)}(),e.RC4}(Rr(),Wr(),eo(),Fo(),zo())),Aa||(Aa=1,Ra.exports=function(e){return function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=[],a=[],i=[],s=r.Rabbit=n.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)o[n]^=r[n+4&7];if(t){var a=t.words,i=a[0],s=a[1],c=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&u,p=u<<16|65535&c;for(o[0]^=c,o[1]^=d,o[2]^=u,o[3]^=p,o[4]^=c,o[5]^=d,o[6]^=u,o[7]^=p,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&r)*r|0)+((65535&r)*r|0);i[n]=l^c}e[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,e[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,e[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,e[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,e[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,e[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,e[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,e[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}t.Rabbit=n._createHelper(s)}(),e.Rabbit}(Rr(),Wr(),eo(),Fo(),zo())),Oa||(Oa=1,Ia.exports=function(e){return function(){var t=e,n=t.lib.StreamCipher,r=t.algo,o=[],a=[],i=[],s=r.RabbitLegacy=n.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)l.call(this);for(o=0;o<8;o++)r[o]^=n[o+4&7];if(t){var a=t.words,i=a[0],s=a[1],c=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&u,p=u<<16|65535&c;for(r[0]^=c,r[1]^=d,r[2]^=u,r[3]^=p,r[4]^=c,r[5]^=d,r[6]^=u,r[7]^=p,o=0;o<4;o++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],o=65535&r,s=r>>>16,l=((o*o>>>17)+o*s>>>15)+s*s,c=((4294901760&r)*r|0)+((65535&r)*r|0);i[n]=l^c}e[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,e[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,e[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,e[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,e[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,e[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,e[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,e[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}t.RabbitLegacy=n._createHelper(s)}(),e.RabbitLegacy}(Rr(),Wr(),eo(),Fo(),zo())),Ta||(Ta=1,Da.exports=function(e){return function(){var t=e,n=t.lib.BlockCipher,r=t.algo;const o=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function l(e,t){let n=t>>24&255,r=t>>16&255,o=t>>8&255,a=255&t,i=e.sbox[0][n]+e.sbox[1][r];return i^=e.sbox[2][o],i+=e.sbox[3][a],i}function c(e,t,n){let r,a=t,i=n;for(let s=0;s=n&&(r=0);let s=0,l=0,u=0;for(let a=0;a1;--s)a^=e.pbox[s],i=l(e,a)^i,r=a,a=i,i=r;return r=a,a=i,i=r,i^=e.pbox[1],a^=e.pbox[0],{left:a,right:i}}(s,e[t],e[t+1]);e[t]=n.left,e[t+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=n._createHelper(u)}(),e.Blowfish}(Rr(),Wr(),eo(),Fo(),zo())));var Ma=Or;function Ba(e){return mt(this,void 0,void 0,(function(){var t,n;return ht(this,(function(r){switch(r.label){case 0:return t="".concat(_r,"/initializeMendable"),n=JSON.stringify({anon_key:e}),[4,fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:n})];case 1:return[4,r.sent().json()];case 2:return[2,r.sent()]}}))}))}function za(){return mt(this,void 0,void 0,(function(){var e;return ht(this,(function(t){switch(t.label){case 0:return e="".concat(_r,"/getHiddenField"),[4,fetch(e,{method:"GET",headers:{"Content-Type":"application/json"}})];case 1:return[4,t.sent().json()];case 2:return[2,t.sent()]}}))}))}function $a(e,t,n){return mt(this,void 0,void 0,(function(){var r,o,a;return ht(this,(function(i){switch(i.label){case 0:return r=Ma.AES.encrypt(t.toString(),"this-is-not-that-secret-so-congrats-if-u-find-out-#123321123#").toString(),[4,fetch("".concat(_r,"/eRateMessage"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({anon_key:e,e_message_id:r,rating_value:n})})];case 1:return(o=i.sent()).ok?[3,3]:[4,o.text()];case 2:throw a=i.sent(),new Error("Error updating message rating: ".concat(a));case 3:return[2]}}))}))}function qa(e,t,n,r){return mt(this,void 0,void 0,(function(){var o,a,i,s,l;return ht(this,(function(c){switch(c.label){case 0:return o=r||{},a="".concat(_r,"/keywordSearchFuzz"),i=JSON.stringify({question:e,company:t,project_id:n,metadata:o}),[4,fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:i})];case 1:if(!(s=c.sent()).ok)return dt.error("Error occurred during keywordSearchFuzz operation"),[2,[]];c.label=2;case 2:return c.trys.push([2,4,,5]),[4,s.json()];case 3:return[2,c.sent()];case 4:return l=c.sent(),dt.error("Error parsing JSON response:",l),[2,[]];case 5:return[2]}}))}))}function Ua(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Va(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}Ua('* {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n}\n\n* ::before {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n}\n\n* ::after {\n box-sizing: border-box;\n border-width: 0;\n border-style: solid;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n.ms-prose {\n color: var(--tw-prose-body);\n max-width: 65ch;\n}\n\n.ms-prose :where(p):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n}\n\n.ms-prose :where([class~="lead"]):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-lead);\n font-size: 1.25em;\n line-height: 1.6;\n margin-top: 1.2em;\n margin-bottom: 1.2em;\n}\n\n.ms-prose :where(a):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-links);\n text-decoration: underline;\n font-weight: 500;\n}\n\n.ms-prose :where(strong):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-bold);\n font-weight: 600;\n}\n\n.ms-prose :where(a strong):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(blockquote strong):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(thead th strong):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(ol):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: decimal;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-left: 1.625em;\n}\n\n.ms-prose :where(ol[type="A"]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: upper-alpha;\n}\n\n.ms-prose :where(ol[type="a"]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: lower-alpha;\n}\n\n.ms-prose :where(ol[type="A" s]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: upper-alpha;\n}\n\n.ms-prose :where(ol[type="a" s]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: lower-alpha;\n}\n\n.ms-prose :where(ol[type="I"]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: upper-roman;\n}\n\n.ms-prose :where(ol[type="i"]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: lower-roman;\n}\n\n.ms-prose :where(ol[type="I" s]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: upper-roman;\n}\n\n.ms-prose :where(ol[type="i" s]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: lower-roman;\n}\n\n.ms-prose :where(ol[type="1"]):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: decimal;\n}\n\n.ms-prose :where(ul):not(:where([class~="ms-not-prose"] *)) {\n list-style-type: disc;\n margin-top: 1.25em;\n margin-bottom: 1.25em;\n padding-left: 1.625em;\n}\n\n.ms-prose :where(ol > li):not(:where([class~="ms-not-prose"] *))::marker {\n font-weight: 400;\n color: var(--tw-prose-counters);\n}\n\n.ms-prose :where(ul > li):not(:where([class~="ms-not-prose"] *))::marker {\n color: var(--tw-prose-bullets);\n}\n\n.ms-prose :where(hr):not(:where([class~="ms-not-prose"] *)) {\n border-color: var(--tw-prose-hr);\n border-top-width: 1px;\n margin-top: 3em;\n margin-bottom: 3em;\n}\n\n.ms-prose :where(blockquote):not(:where([class~="ms-not-prose"] *)) {\n font-weight: 500;\n font-style: italic;\n color: var(--tw-prose-quotes);\n border-left-width: 0.25rem;\n border-left-color: var(--tw-prose-quote-borders);\n quotes: "\\201C""\\201D""\\2018""\\2019";\n margin-top: 1.6em;\n margin-bottom: 1.6em;\n padding-left: 1em;\n}\n\n.ms-prose :where(blockquote p:first-of-type):not(:where([class~="ms-not-prose"] *))::before {\n content: open-quote;\n}\n\n.ms-prose :where(blockquote p:last-of-type):not(:where([class~="ms-not-prose"] *))::after {\n content: close-quote;\n}\n\n.ms-prose :where(h1):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 800;\n font-size: 2.25em;\n margin-top: 0;\n margin-bottom: 0.8888889em;\n line-height: 1.1111111;\n}\n\n.ms-prose :where(h1 strong):not(:where([class~="ms-not-prose"] *)) {\n font-weight: 900;\n color: inherit;\n}\n\n.ms-prose :where(h2):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 700;\n font-size: 1.5em;\n margin-top: 2em;\n margin-bottom: 1em;\n line-height: 1.3333333;\n}\n\n.ms-prose :where(h2 strong):not(:where([class~="ms-not-prose"] *)) {\n font-weight: 800;\n color: inherit;\n}\n\n.ms-prose :where(h3):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n font-size: 1.25em;\n margin-top: 1.6em;\n margin-bottom: 0.6em;\n line-height: 1.6;\n}\n\n.ms-prose :where(h3 strong):not(:where([class~="ms-not-prose"] *)) {\n font-weight: 700;\n color: inherit;\n}\n\n.ms-prose :where(h4):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n margin-top: 1.5em;\n margin-bottom: 0.5em;\n line-height: 1.5;\n}\n\n.ms-prose :where(h4 strong):not(:where([class~="ms-not-prose"] *)) {\n font-weight: 700;\n color: inherit;\n}\n\n.ms-prose :where(img):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.ms-prose :where(figure > *):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.ms-prose :where(figcaption):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-captions);\n font-size: 0.875em;\n line-height: 1.4285714;\n margin-top: 0.8571429em;\n}\n\n.ms-prose :where(code):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-code);\n font-weight: 600;\n font-size: 0.875em;\n}\n\n.ms-prose :where(code):not(:where([class~="ms-not-prose"] *))::before {\n content: "`";\n}\n\n.ms-prose :where(code):not(:where([class~="ms-not-prose"] *))::after {\n content: "`";\n}\n\n.ms-prose :where(a code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(h1 code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(h2 code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n font-size: 0.875em;\n}\n\n.ms-prose :where(h3 code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n font-size: 0.9em;\n}\n\n.ms-prose :where(h4 code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(blockquote code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(thead th code):not(:where([class~="ms-not-prose"] *)) {\n color: inherit;\n}\n\n.ms-prose :where(pre):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-pre-code);\n background-color: var(--tw-prose-pre-bg);\n overflow-x: auto;\n font-weight: 400;\n font-size: 0.875em;\n line-height: 1.7142857;\n margin-top: 1.7142857em;\n margin-bottom: 1.7142857em;\n border-radius: 0.375rem;\n padding-top: 0.8571429em;\n padding-right: 1.1428571em;\n padding-bottom: 0.8571429em;\n padding-left: 1.1428571em;\n}\n\n.ms-prose :where(pre code):not(:where([class~="ms-not-prose"] *)) {\n background-color: transparent;\n border-width: 0;\n border-radius: 0;\n padding: 0;\n font-weight: inherit;\n color: inherit;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n}\n\n.ms-prose :where(pre code):not(:where([class~="ms-not-prose"] *))::before {\n content: none;\n}\n\n.ms-prose :where(pre code):not(:where([class~="ms-not-prose"] *))::after {\n content: none;\n}\n\n.ms-prose :where(table):not(:where([class~="ms-not-prose"] *)) {\n width: 100%;\n table-layout: auto;\n text-align: left;\n margin-top: 2em;\n margin-bottom: 2em;\n font-size: 0.875em;\n line-height: 1.7142857;\n}\n\n.ms-prose :where(thead):not(:where([class~="ms-not-prose"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-th-borders);\n}\n\n.ms-prose :where(thead th):not(:where([class~="ms-not-prose"] *)) {\n color: var(--tw-prose-headings);\n font-weight: 600;\n vertical-align: bottom;\n padding-right: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-left: 0.5714286em;\n}\n\n.ms-prose :where(tbody tr):not(:where([class~="ms-not-prose"] *)) {\n border-bottom-width: 1px;\n border-bottom-color: var(--tw-prose-td-borders);\n}\n\n.ms-prose :where(tbody tr:last-child):not(:where([class~="ms-not-prose"] *)) {\n border-bottom-width: 0;\n}\n\n.ms-prose :where(tbody td):not(:where([class~="ms-not-prose"] *)) {\n vertical-align: baseline;\n}\n\n.ms-prose :where(tfoot):not(:where([class~="ms-not-prose"] *)) {\n border-top-width: 1px;\n border-top-color: var(--tw-prose-th-borders);\n}\n\n.ms-prose :where(tfoot td):not(:where([class~="ms-not-prose"] *)) {\n vertical-align: top;\n}\n\n.ms-prose {\n --tw-prose-body: #374151;\n --tw-prose-headings: #111827;\n --tw-prose-lead: #4b5563;\n --tw-prose-links: #111827;\n --tw-prose-bold: #111827;\n --tw-prose-counters: #6b7280;\n --tw-prose-bullets: #d1d5db;\n --tw-prose-hr: #e5e7eb;\n --tw-prose-quotes: #111827;\n --tw-prose-quote-borders: #e5e7eb;\n --tw-prose-captions: #6b7280;\n --tw-prose-code: #111827;\n --tw-prose-pre-code: #e5e7eb;\n --tw-prose-pre-bg: #1f2937;\n --tw-prose-th-borders: #d1d5db;\n --tw-prose-td-borders: #e5e7eb;\n --tw-prose-invert-body: #d1d5db;\n --tw-prose-invert-headings: #fff;\n --tw-prose-invert-lead: #9ca3af;\n --tw-prose-invert-links: #fff;\n --tw-prose-invert-bold: #fff;\n --tw-prose-invert-counters: #9ca3af;\n --tw-prose-invert-bullets: #4b5563;\n --tw-prose-invert-hr: #374151;\n --tw-prose-invert-quotes: #f3f4f6;\n --tw-prose-invert-quote-borders: #374151;\n --tw-prose-invert-captions: #9ca3af;\n --tw-prose-invert-code: #fff;\n --tw-prose-invert-pre-code: #d1d5db;\n --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);\n --tw-prose-invert-th-borders: #4b5563;\n --tw-prose-invert-td-borders: #374151;\n font-size: 1rem;\n line-height: 1.75;\n}\n\n.ms-prose :where(video):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.ms-prose :where(figure):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 2em;\n margin-bottom: 2em;\n}\n\n.ms-prose :where(li):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0.5em;\n margin-bottom: 0.5em;\n}\n\n.ms-prose :where(ol > li):not(:where([class~="ms-not-prose"] *)) {\n padding-left: 0.375em;\n}\n\n.ms-prose :where(ul > li):not(:where([class~="ms-not-prose"] *)) {\n padding-left: 0.375em;\n}\n\n.ms-prose :where(.ms-prose > ul > li p):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n\n.ms-prose :where(.ms-prose > ul > li > *:first-child):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 1.25em;\n}\n\n.ms-prose :where(.ms-prose > ul > li > *:last-child):not(:where([class~="ms-not-prose"] *)) {\n margin-bottom: 1.25em;\n}\n\n.ms-prose :where(.ms-prose > ol > li > *:first-child):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 1.25em;\n}\n\n.ms-prose :where(.ms-prose > ol > li > *:last-child):not(:where([class~="ms-not-prose"] *)) {\n margin-bottom: 1.25em;\n}\n\n.ms-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0.75em;\n margin-bottom: 0.75em;\n}\n\n.ms-prose :where(hr + *):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0;\n}\n\n.ms-prose :where(h2 + *):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0;\n}\n\n.ms-prose :where(h3 + *):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0;\n}\n\n.ms-prose :where(h4 + *):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0;\n}\n\n.ms-prose :where(thead th:first-child):not(:where([class~="ms-not-prose"] *)) {\n padding-left: 0;\n}\n\n.ms-prose :where(thead th:last-child):not(:where([class~="ms-not-prose"] *)) {\n padding-right: 0;\n}\n\n.ms-prose :where(tbody td, tfoot td):not(:where([class~="ms-not-prose"] *)) {\n padding-top: 0.5714286em;\n padding-right: 0.5714286em;\n padding-bottom: 0.5714286em;\n padding-left: 0.5714286em;\n}\n\n.ms-prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="ms-not-prose"] *)) {\n padding-left: 0;\n}\n\n.ms-prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="ms-not-prose"] *)) {\n padding-right: 0;\n}\n\n.ms-prose :where(.ms-prose > :first-child):not(:where([class~="ms-not-prose"] *)) {\n margin-top: 0;\n}\n\n.ms-prose :where(.ms-prose > :last-child):not(:where([class~="ms-not-prose"] *)) {\n margin-bottom: 0;\n}\n\n.ms-prose-invert {\n --tw-prose-body: var(--tw-prose-invert-body);\n --tw-prose-headings: var(--tw-prose-invert-headings);\n --tw-prose-lead: var(--tw-prose-invert-lead);\n --tw-prose-links: var(--tw-prose-invert-links);\n --tw-prose-bold: var(--tw-prose-invert-bold);\n --tw-prose-counters: var(--tw-prose-invert-counters);\n --tw-prose-bullets: var(--tw-prose-invert-bullets);\n --tw-prose-hr: var(--tw-prose-invert-hr);\n --tw-prose-quotes: var(--tw-prose-invert-quotes);\n --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);\n --tw-prose-captions: var(--tw-prose-invert-captions);\n --tw-prose-code: var(--tw-prose-invert-code);\n --tw-prose-pre-code: var(--tw-prose-invert-pre-code);\n --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);\n --tw-prose-th-borders: var(--tw-prose-invert-th-borders);\n --tw-prose-td-borders: var(--tw-prose-invert-td-borders);\n}\n\n.ms-visible {\n visibility: visible;\n}\n\n.ms-fixed {\n position: fixed;\n}\n\n.ms-absolute {\n position: absolute;\n}\n\n.ms-relative {\n position: relative;\n}\n\n.ms-inset-0 {\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n\n.ms-inset-x-0 {\n left: 0px;\n right: 0px;\n}\n\n.-ms-bottom-1 {\n bottom: -0.25rem;\n}\n\n.ms-bottom-0 {\n bottom: 0px;\n}\n\n.ms-bottom-4 {\n bottom: 1rem;\n}\n\n.ms-left-1 {\n left: 0.25rem;\n}\n\n.ms-left-1\\/2 {\n left: 50%;\n}\n\n.ms-left-3 {\n left: 0.75rem;\n}\n\n.ms-right-2 {\n right: 0.5rem;\n}\n\n.ms-right-3 {\n right: 0.75rem;\n}\n\n.ms-right-4 {\n right: 1rem;\n}\n\n.ms-right-6 {\n right: 1.5rem;\n}\n\n.ms-right-8 {\n right: 2rem;\n}\n\n.ms-top-2 {\n top: 0.5rem;\n}\n\n.ms-top-full {\n top: 100%;\n}\n\n.\\!ms-z-\\[10001\\] {\n z-index: 10001 !important;\n}\n\n.-ms-z-10 {\n z-index: -10;\n}\n\n.ms-z-10 {\n z-index: 10;\n}\n\n.ms-z-\\[1000\\] {\n z-index: 1000;\n}\n\n.ms-z-\\[100\\] {\n z-index: 100;\n}\n\n.ms-float-right {\n float: right;\n}\n\n.ms-float-left {\n float: left;\n}\n\n.\\!ms-m-0 {\n margin: 0px !important;\n}\n\n.ms-m-0 {\n margin: 0px;\n}\n\n.ms-m-1 {\n margin: 0.25rem;\n}\n\n.\\!ms-my-4 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n}\n\n.ms-mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.ms-my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n.\\!ms-mb-0 {\n margin-bottom: 0px !important;\n}\n\n.\\!ms-ml-3 {\n margin-left: 0.75rem !important;\n}\n\n.\\!ms-mt-1 {\n margin-top: 0.25rem !important;\n}\n\n.\\!ms-mt-2 {\n margin-top: 0.5rem !important;\n}\n\n.ms-mb-0 {\n margin-bottom: 0px;\n}\n\n.ms-mb-1 {\n margin-bottom: 0.25rem;\n}\n\n.ms-mb-2 {\n margin-bottom: 0.5rem;\n}\n\n.ms-mb-4 {\n margin-bottom: 1rem;\n}\n\n.ms-ml-0 {\n margin-left: 0px;\n}\n\n.ms-ml-1 {\n margin-left: 0.25rem;\n}\n\n.ms-ml-4 {\n margin-left: 1rem;\n}\n\n.ms-mr-1 {\n margin-right: 0.25rem;\n}\n\n.ms-mr-2 {\n margin-right: 0.5rem;\n}\n\n.ms-mr-4 {\n margin-right: 1rem;\n}\n\n.ms-mr-\\[6px\\] {\n margin-right: 6px;\n}\n\n.ms-mt-0 {\n margin-top: 0px;\n}\n\n.ms-mt-1 {\n margin-top: 0.25rem;\n}\n\n.ms-mt-2 {\n margin-top: 0.5rem;\n}\n\n.ms-mt-20 {\n margin-top: 5rem;\n}\n\n.ms-mt-4 {\n margin-top: 1rem;\n}\n\n.ms-mt-6 {\n margin-top: 1.5rem;\n}\n\n.ms-block {\n display: block;\n}\n\n.ms-inline-block {\n display: inline-block;\n}\n\n.ms-flex {\n display: flex;\n}\n\n.ms-grid {\n display: grid;\n}\n\n.ms-hidden {\n display: none;\n}\n\n.ms-h-0 {\n height: 0px;\n}\n\n.ms-h-0\\.5 {\n height: 0.125rem;\n}\n\n.ms-h-1 {\n height: 0.25rem;\n}\n\n.ms-h-10 {\n height: 2.5rem;\n}\n\n.ms-h-12 {\n height: 3rem;\n}\n\n.ms-h-16 {\n height: 4rem;\n}\n\n.ms-h-4 {\n height: 1rem;\n}\n\n.ms-h-5 {\n height: 1.25rem;\n}\n\n.ms-h-6 {\n height: 1.5rem;\n}\n\n.ms-h-64 {\n height: 16rem;\n}\n\n.ms-h-8 {\n height: 2rem;\n}\n\n.ms-h-\\[95\\%\\] {\n height: 95%;\n}\n\n.ms-h-fit {\n height: -moz-fit-content;\n height: fit-content;\n}\n\n.ms-h-full {\n height: 100%;\n}\n\n.ms-h-screen {\n height: 100vh;\n}\n\n.ms-max-h-5 {\n max-height: 1.25rem;\n}\n\n.ms-max-h-\\[200px\\] {\n max-height: 200px;\n}\n\n.ms-max-h-\\[275px\\] {\n max-height: 275px;\n}\n\n.ms-max-h-\\[340px\\] {\n max-height: 340px;\n}\n\n.ms-max-h-\\[550px\\] {\n max-height: 550px;\n}\n\n.ms-max-h-full {\n max-height: 100%;\n}\n\n.ms-min-h-\\[100px\\] {\n min-height: 100px;\n}\n\n.ms-min-h-\\[40px\\] {\n min-height: 40px;\n}\n\n.ms-min-h-full {\n min-height: 100%;\n}\n\n.ms-w-12 {\n width: 3rem;\n}\n\n.ms-w-16 {\n width: 4rem;\n}\n\n.ms-w-28 {\n width: 7rem;\n}\n\n.ms-w-4 {\n width: 1rem;\n}\n\n.ms-w-5 {\n width: 1.25rem;\n}\n\n.ms-w-6 {\n width: 1.5rem;\n}\n\n.ms-w-8 {\n width: 2rem;\n}\n\n.ms-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.ms-w-full {\n width: 100%;\n}\n\n.ms-min-w-0 {\n min-width: 0px;\n}\n\n.ms-min-w-\\[32px\\] {\n min-width: 32px;\n}\n\n.ms-min-w-\\[64px\\] {\n min-width: 64px;\n}\n\n.ms-max-w-full {\n max-width: 100%;\n}\n\n.ms-max-w-xs {\n max-width: 20rem;\n}\n\n.ms-flex-1 {\n flex: 1 1 0%;\n}\n\n.ms-flex-grow {\n flex-grow: 1;\n}\n\n.\\!-ms-translate-x-1 {\n --tw-translate-x: -0.25rem !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n}\n\n.\\!-ms-translate-x-1\\/2 {\n --tw-translate-x: -50% !important;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;\n}\n\n.-ms-rotate-45 {\n --tw-rotate: -45deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.-ms-rotate-90 {\n --tw-rotate: -90deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-rotate-0 {\n --tw-rotate: 0deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-rotate-180 {\n --tw-rotate: 180deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-rotate-45 {\n --tw-rotate: 45deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-rotate-90 {\n --tw-rotate: 90deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-scale-100 {\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-scale-105 {\n --tw-scale-x: 1.05;\n --tw-scale-y: 1.05;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-scale-95 {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.ms-transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n@keyframes ms-fade-in-up {\n\n 0% {\n opacity: 0;\n transform: translateY(10px);\n }\n\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.ms-animate-fade-in-up {\n animation: ms-fade-in-up 0.4s ease-out;\n}\n\n@keyframes ms-fade-in-up {\n\n 0% {\n opacity: 0;\n transform: translateY(10px);\n }\n\n 100% {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.ms-animate-fade-in-up-fast {\n animation: ms-fade-in-up 0.15s ease-out;\n}\n\n@keyframes ms-pulse {\n\n 50% {\n opacity: .5;\n }\n}\n\n.ms-animate-pulse {\n animation: ms-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n@keyframes ms-spin {\n\n to {\n transform: rotate(360deg);\n }\n}\n\n.ms-animate-spin {\n animation: ms-spin 1s linear infinite;\n}\n\n.ms-cursor-pointer {\n cursor: pointer;\n}\n\n.ms-resize-none {\n resize: none;\n}\n\n.ms-list-inside {\n list-style-position: inside;\n}\n\n.ms-grid-cols-1 {\n grid-template-columns: repeat(1, minmax(0, 1fr));\n}\n\n.ms-grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.ms-flex-row {\n flex-direction: row;\n}\n\n.ms-flex-col {\n flex-direction: column;\n}\n\n.ms-flex-col-reverse {\n flex-direction: column-reverse;\n}\n\n.ms-flex-wrap {\n flex-wrap: wrap;\n}\n\n.ms-items-start {\n align-items: flex-start;\n}\n\n.ms-items-end {\n align-items: flex-end;\n}\n\n.ms-items-center {\n align-items: center;\n}\n\n.ms-justify-start {\n justify-content: flex-start;\n}\n\n.ms-justify-center {\n justify-content: center;\n}\n\n.ms-justify-between {\n justify-content: space-between;\n}\n\n.ms-gap-0 {\n gap: 0px;\n}\n\n.ms-gap-1 {\n gap: 0.25rem;\n}\n\n.ms-gap-2 {\n gap: 0.5rem;\n}\n\n.ms-gap-4 {\n gap: 1rem;\n}\n\n.ms-space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));\n}\n\n.ms-self-end {\n align-self: flex-end;\n}\n\n.ms-overflow-auto {\n overflow: auto;\n}\n\n.ms-overflow-hidden {\n overflow: hidden;\n}\n\n.ms-overflow-y-auto {\n overflow-y: auto;\n}\n\n.ms-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ms-whitespace-nowrap {\n white-space: nowrap;\n}\n\n.ms-break-all {\n word-break: break-all;\n}\n\n.ms-rounded {\n border-radius: 0.25rem;\n}\n\n.ms-rounded-2xl {\n border-radius: 1rem;\n}\n\n.ms-rounded-full {\n border-radius: 9999px;\n}\n\n.ms-rounded-lg {\n border-radius: 0.5rem;\n}\n\n.ms-rounded-md {\n border-radius: 0.375rem;\n}\n\n.ms-rounded-xl {\n border-radius: 0.75rem;\n}\n\n.ms-rounded-b-md {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n\n.ms-rounded-t-md {\n border-top-left-radius: 0.375rem;\n border-top-right-radius: 0.375rem;\n}\n\n.ms-rounded-t-xl {\n border-top-left-radius: 0.75rem;\n border-top-right-radius: 0.75rem;\n}\n\n.\\!ms-border-0 {\n border-width: 0px !important;\n}\n\n.ms-border {\n border-width: 1px;\n}\n\n.ms-border-0 {\n border-width: 0px;\n}\n\n.\\!ms-border-b {\n border-bottom-width: 1px !important;\n}\n\n.ms-border-b {\n border-bottom-width: 1px;\n}\n\n.\\!ms-border-transparent {\n border-color: transparent !important;\n}\n\n.ms-border-gray-500 {\n --tw-border-opacity: 1;\n border-color: rgb(107 114 128 / var(--tw-border-opacity));\n}\n\n.ms-border-orange-500 {\n --tw-border-opacity: 1;\n border-color: rgb(249 115 22 / var(--tw-border-opacity));\n}\n\n.ms-border-primary {\n --tw-border-opacity: 1;\n border-color: rgb(133 89 244 / var(--tw-border-opacity));\n}\n\n.ms-border-red-300 {\n --tw-border-opacity: 1;\n border-color: rgb(252 165 165 / var(--tw-border-opacity));\n}\n\n.ms-border-yellow-300 {\n --tw-border-opacity: 1;\n border-color: rgb(253 224 71 / var(--tw-border-opacity));\n}\n\n.ms-border-yellow-400 {\n --tw-border-opacity: 1;\n border-color: rgb(250 204 21 / var(--tw-border-opacity));\n}\n\n.ms-border-opacity-20 {\n --tw-border-opacity: 0.2;\n}\n\n.ms-border-opacity-50 {\n --tw-border-opacity: 0.5;\n}\n\n.ms-bg-\\[\\#1a1a1a\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(26 26 26 / var(--tw-bg-opacity));\n}\n\n.ms-bg-\\[\\#3C3C3C\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(60 60 60 / var(--tw-bg-opacity));\n}\n\n.ms-bg-\\[\\#ffffff\\] {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n\n.ms-bg-black {\n --tw-bg-opacity: 1;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity));\n}\n\n.ms-bg-gray-400 {\n --tw-bg-opacity: 1;\n background-color: rgb(156 163 175 / var(--tw-bg-opacity));\n}\n\n.ms-bg-gray-50 {\n --tw-bg-opacity: 1;\n background-color: rgb(249 250 251 / var(--tw-bg-opacity));\n}\n\n.ms-bg-gray-800 {\n --tw-bg-opacity: 1;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity));\n}\n\n.ms-bg-orange-500 {\n --tw-bg-opacity: 1;\n background-color: rgb(249 115 22 / var(--tw-bg-opacity));\n}\n\n.ms-bg-orange-500\\/25 {\n background-color: rgb(249 115 22 / 0.25);\n}\n\n.ms-bg-primary {\n --tw-bg-opacity: 1;\n background-color: rgb(133 89 244 / var(--tw-bg-opacity));\n}\n\n.ms-bg-primary\\/25 {\n background-color: rgb(133 89 244 / 0.25);\n}\n\n.ms-bg-red-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(254 226 226 / var(--tw-bg-opacity));\n}\n\n.ms-bg-transparent {\n background-color: transparent;\n}\n\n.ms-bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n\n.ms-bg-yellow-100 {\n --tw-bg-opacity: 1;\n background-color: rgb(254 249 195 / var(--tw-bg-opacity));\n}\n\n.ms-bg-yellow-400 {\n --tw-bg-opacity: 1;\n background-color: rgb(250 204 21 / var(--tw-bg-opacity));\n}\n\n.ms-bg-yellow-400\\/25 {\n background-color: rgb(250 204 21 / 0.25);\n}\n\n.\\!ms-bg-opacity-50 {\n --tw-bg-opacity: 0.5 !important;\n}\n\n.\\!ms-bg-opacity-75 {\n --tw-bg-opacity: 0.75 !important;\n}\n\n.ms-bg-opacity-0 {\n --tw-bg-opacity: 0;\n}\n\n.ms-bg-opacity-10 {\n --tw-bg-opacity: 0.1;\n}\n\n.ms-bg-opacity-100 {\n --tw-bg-opacity: 1;\n}\n\n.ms-bg-opacity-25 {\n --tw-bg-opacity: 0.25;\n}\n\n.ms-bg-opacity-5 {\n --tw-bg-opacity: 0.05;\n}\n\n.ms-bg-opacity-50 {\n --tw-bg-opacity: 0.5;\n}\n\n.ms-bg-opacity-80 {\n --tw-bg-opacity: 0.8;\n}\n\n.\\!ms-fill-inherit {\n fill: inherit !important;\n}\n\n.ms-fill-gray-400 {\n fill: #9ca3af;\n}\n\n.ms-fill-gray-500 {\n fill: #6b7280;\n}\n\n.ms-fill-gray-800 {\n fill: #1f2937;\n}\n\n.ms-fill-white {\n fill: #fff;\n}\n\n.ms-fill-yellow-400 {\n fill: #facc15;\n}\n\n.ms-fill-yellow-500 {\n fill: #eab308;\n}\n\n.ms-stroke-inherit {\n stroke: inherit;\n}\n\n.ms-stroke-white {\n stroke: #fff;\n}\n\n.\\!ms-p-0 {\n padding: 0px !important;\n}\n\n.ms-p-0 {\n padding: 0px;\n}\n\n.ms-p-0\\.5 {\n padding: 0.125rem;\n}\n\n.ms-p-1 {\n padding: 0.25rem;\n}\n\n.ms-p-2 {\n padding: 0.5rem;\n}\n\n.ms-p-20 {\n padding: 5rem;\n}\n\n.ms-p-4 {\n padding: 1rem;\n}\n\n.ms-p-\\[0\\.5px\\] {\n padding: 0.5px;\n}\n\n.ms-px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.ms-px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem;\n}\n\n.ms-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.ms-px-20 {\n padding-left: 5rem;\n padding-right: 5rem;\n}\n\n.ms-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.ms-px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n.ms-px-\\[7px\\] {\n padding-left: 7px;\n padding-right: 7px;\n}\n\n.ms-px-\\[8px\\] {\n padding-left: 8px;\n padding-right: 8px;\n}\n\n.ms-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.ms-py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n.ms-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.ms-py-5 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.ms-py-\\[1px\\] {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n\n.ms-py-\\[2px\\] {\n padding-top: 2px;\n padding-bottom: 2px;\n}\n\n.ms-py-\\[5px\\] {\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.ms-pb-2 {\n padding-bottom: 0.5rem;\n}\n\n.ms-pb-4 {\n padding-bottom: 1rem;\n}\n\n.ms-pl-0 {\n padding-left: 0px;\n}\n\n.ms-pl-1 {\n padding-left: 0.25rem;\n}\n\n.ms-pl-4 {\n padding-left: 1rem;\n}\n\n.ms-pl-8 {\n padding-left: 2rem;\n}\n\n.ms-pr-2 {\n padding-right: 0.5rem;\n}\n\n.ms-pr-4 {\n padding-right: 1rem;\n}\n\n.ms-pt-2 {\n padding-top: 0.5rem;\n}\n\n.ms-text-left {\n text-align: left;\n}\n\n.ms-text-center {\n text-align: center;\n}\n\n.ms-text-right {\n text-align: right;\n}\n\n.ms-align-middle {\n vertical-align: middle;\n}\n\n.ms-font-sans {\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n}\n\n.ms-text-\\[10px\\] {\n font-size: 10px;\n}\n\n.ms-text-\\[8px\\] {\n font-size: 8px;\n}\n\n.ms-text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.ms-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.ms-text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n.ms-text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.ms-font-bold {\n font-weight: 700;\n}\n\n.ms-font-medium {\n font-weight: 500;\n}\n\n.ms-font-normal {\n font-weight: 400;\n}\n\n.ms-font-semibold {\n font-weight: 600;\n}\n\n.ms-font-thin {\n font-weight: 100;\n}\n\n.ms-leading-3 {\n line-height: .75rem;\n}\n\n.\\!ms-text-white {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n}\n\n.ms-text-\\[\\#020202\\] {\n --tw-text-opacity: 1;\n color: rgb(2 2 2 / var(--tw-text-opacity));\n}\n\n.ms-text-\\[\\#e1e1e1\\] {\n --tw-text-opacity: 1;\n color: rgb(225 225 225 / var(--tw-text-opacity));\n}\n\n.ms-text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-100 {\n --tw-text-opacity: 1;\n color: rgb(243 244 246 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-200 {\n --tw-text-opacity: 1;\n color: rgb(229 231 235 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-400 {\n --tw-text-opacity: 1;\n color: rgb(156 163 175 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-50 {\n --tw-text-opacity: 1;\n color: rgb(249 250 251 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-500 {\n --tw-text-opacity: 1;\n color: rgb(107 114 128 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-800 {\n --tw-text-opacity: 1;\n color: rgb(31 41 55 / var(--tw-text-opacity));\n}\n\n.ms-text-gray-900 {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.ms-text-green-500 {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity));\n}\n\n.ms-text-orange-500 {\n --tw-text-opacity: 1;\n color: rgb(249 115 22 / var(--tw-text-opacity));\n}\n\n.ms-text-primary {\n --tw-text-opacity: 1;\n color: rgb(133 89 244 / var(--tw-text-opacity));\n}\n\n.ms-text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity));\n}\n\n.ms-text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.ms-text-yellow-400 {\n --tw-text-opacity: 1;\n color: rgb(250 204 21 / var(--tw-text-opacity));\n}\n\n.ms-text-opacity-100 {\n --tw-text-opacity: 1;\n}\n\n.ms-text-opacity-50 {\n --tw-text-opacity: 0.5;\n}\n\n.ms-underline {\n text-decoration-line: underline;\n}\n\n.ms-no-underline {\n text-decoration-line: none;\n}\n\n.ms-opacity-0 {\n opacity: 0;\n}\n\n.ms-opacity-10 {\n opacity: 0.1;\n}\n\n.ms-opacity-100 {\n opacity: 1;\n}\n\n.ms-opacity-60 {\n opacity: 0.6;\n}\n\n.ms-opacity-75 {\n opacity: 0.75;\n}\n\n.ms-shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.ms-shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.ms-shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.ms-shadow-xl {\n --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.ms-outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.ms-ring-0 {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.ms-ring-transparent {\n --tw-ring-color: transparent;\n}\n\n.ms-transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.ms-transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.ms-transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.ms-delay-75 {\n transition-delay: 75ms;\n}\n\n.ms-duration-100 {\n transition-duration: 100ms;\n}\n\n.ms-duration-200 {\n transition-duration: 200ms;\n}\n\n.ms-duration-300 {\n transition-duration: 300ms;\n}\n\n.ms-ease-in {\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\n}\n\n.ms-ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.ms-ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.ms-content-none {\n --tw-content: none;\n content: var(--tw-content);\n}\n\n*,\n::before,\n::after {\n border-width: 0;\n border-style: solid;\n border-color: #ffffff00;\n}\n\n::before,\n::after {\n --tw-content: "";\n}\n\nhtml {\n -webkit-text-size-adjust: 100%;\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,\n "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";\n}\n\n.messageIconContainer img {\n max-width: 100%;\n height: auto;\n object-fit: contain;\n overflow: hidden;\n}\n\n.ms-mendable-highlight pre[class*="language-"] {\n color: #f8fafc !important;\n}\n\n.ms-mendable-highlight .token.tag,\n.ms-mendable-highlight .token.class-name,\n.ms-mendable-highlight .token.selector,\n.ms-mendable-highlight .token.selector .class,\n.ms-mendable-highlight .token.selector.class,\n.ms-mendable-highlight .token.function {\n color: #f472b6 !important;\n}\n\n.ms-mendable-highlight .token.attr-name,\n.ms-mendable-highlight .token.keyword,\n.ms-mendable-highlight .token.rule,\n.ms-mendable-highlight .token.pseudo-class,\n.ms-mendable-highlight .token.important {\n color: #cbd5e1 !important;\n}\n\n.ms-mendable-highlight .token.module {\n color: #f472b6 !important;\n}\n\n.ms-mendable-highlight .token.attr-value,\n.ms-mendable-highlight .token.class,\n.ms-mendable-highlight .token.string,\n.ms-mendable-highlight .token.property {\n color: #7dd3fc !important;\n}\n\n.ms-mendable-highlight .token.punctuation,\n.ms-mendable-highlight .token.attr-equals {\n color: #64748b !important;\n}\n\n.ms-mendable-highlight .token.unit,\n.ms-mendable-highlight .language-css .token.function {\n color: #99f6e4 !important;\n}\n\n.ms-mendable-highlight .token.comment,\n.ms-mendable-highlight .token.operator,\n.ms-mendable-highlight .token.combinator {\n color: #94a3b8 !important;\n}\n.ms-mendable-highlight .token.plain {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.variable {\n color: #ffffff;\n}\n\n.ms-mendable-highlight .token.boolean {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.number {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.constant {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.symbol {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.deleted {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.inserted {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.operator {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.prolog {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.doctype {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.entity {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.url {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.variable {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.regex {\n color: #ffffff;\n}\n\n.ms-mendable-highlight .token.atrule {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.keyword {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.function {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.hexcode {\n color: #ffffff;\n}\n.ms-mendable-highlight .token.entity {\n color: #ffffff;\n}\n\n.ms-mendable-highlight .token.bold {\n font-weight: bold;\n}\n\n\n\n\n.ms-mendable-highlight-light code[class*="language-"],\n.ms-mendable-highlight-light pre[class*="language-"] {\n text-align: left;\n white-space: pre;\n word-spacing: normal;\n word-break: normal;\n word-wrap: normal;\n color: #90a4ae !important;;\n background: #fafafa !important;;\n font-family: Roboto Mono, monospace;\n font-size: 1em;\n line-height: 1.5em;\n tab-size: 4;\n\n -webkit-hyphens: none;\n hyphens: none;\n}\n.ms-mendable-highlight-light code[class*="language-"]::selection,\n.ms-mendable-highlight-light pre[class*="language-"]::selection,\n.ms-mendable-highlight-light code[class*="language-"] ::selection,\n.ms-mendable-highlight-light pre[class*="language-"] ::selection {\n background: #cceae7;\n color: #263238;\n}\n.ms-mendable-highlight-light :not(pre) > code[class*="language-"] {\n white-space: normal;\n border-radius: 0.2em;\n padding: 0.1em;\n}\n.ms-mendable-highlight-light pre[class*="language-"] {\n overflow: auto;\n position: relative;\n margin: 0.5em 0;\n padding: 1.25em 1em;\n}\n\n.ms-mendable-highlight-light .language-css > code,\n.ms-mendable-highlight-light .language-sass > code,\n.ms-mendable-highlight-light .language-scss > code {\n color: #f76d47;\n}\n.ms-mendable-highlight-light [class*="language-"] .namespace {\n opacity: 0.7;\n}\n.ms-mendable-highlight-light .token.atrule {\n color: #7c4dff;\n}\n.ms-mendable-highlight-light .token.attr-name {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.attr-value {\n color: #f6a434;\n}\n.ms-mendable-highlight-light .token.attribute {\n color: #f6a434;\n}\n.ms-mendable-highlight-light .token.boolean {\n color: #7c4dff;\n}\n.ms-mendable-highlight-light .token.builtin {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.cdata {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.char {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.class {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.class-name {\n color: #6182b8;\n}\n.ms-mendable-highlight-light .token.comment {\n color: #78878f;\n}\n.ms-mendable-highlight-light .token.property-access {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.parameter {\n color: #f6a434;\n}\n.ms-mendable-highlight-light .token.constant {\n color: #7c4dff;\n}\n.ms-mendable-highlight-light .token.deleted {\n color: #e53935;\n}\n.ms-mendable-highlight-light .token.doctype {\n color: #aabfc9;\n}\n.ms-mendable-highlight-light .token.entity {\n color: #e53935;\n}\n.ms-mendable-highlight-light .token.function {\n color: rgb(71, 49, 128);\n}\n.ms-mendable-highlight-light .token.hexcode {\n color: #f76d47;\n}\n.ms-mendable-highlight-light .token.imports {\n color: rgb(26, 25, 25);\n}\n.ms-mendable-highlight-light .token.id {\n color: #7c4dff;\n font-weight: bold;\n}\n.ms-mendable-highlight-light .token.maybe-class-name {\n color: #7c4dff;\n}\n\n.ms-mendable-highlight-light .token.important {\n color: #7c4dff;\n font-weight: bold;\n}\n.ms-mendable-highlight-light .token.inserted {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.keyword {\n color: #7c4dff;\n}\n.ms-mendable-highlight-light .token.number {\n color: #f76d47;\n}\n.ms-mendable-highlight-light .token.operator {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.prolog {\n color: #313335;\n}\n\n.ms-mendable-highlight-light .token.plain {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.property {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.pseudo-class {\n color: #f6a434;\n}\n.ms-mendable-highlight-light .token.pseudo-element {\n color: #f6a434;\n}\n.ms-mendable-highlight-light .token.punctuation {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.regex {\n color: #6182b8;\n}\n.ms-mendable-highlight-light .token.selector {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.string {\n color: #f6a434;\n}\n.ms-mendable-highlight-light .token.symbol {\n color: #7c4dff;\n}\n.ms-mendable-highlight-light .token.tag {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.unit {\n color: #f76d47;\n}\n.ms-mendable-highlight-light .token.url {\n color: #313335;\n}\n.ms-mendable-highlight-light .token.variable {\n color: #5e6164;\n}\n\n\n\n.ms-qs-sug::-webkit-scrollbar {\n width: 3px;\n height: 3px; /* Add height for horizontal scrollbar */\n}\n\n.ms-qs-sug::-webkit-scrollbar-track {\n background-color: transparent;\n}\n\n.ms-qs-sug::-webkit-scrollbar-thumb {\n background-color: #d1d5db80;\n border-radius: 1px;\n}\n\n/* Add styles for horizontal scrollbar */\n.ms-qs-sug::-webkit-scrollbar-corner {\n background-color: transparent;\n}\n\n.highlightedText {\n line-height: 1.2em;\n max-height: 2.4em; /* Twice the line-height */\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.before\\:ms-content-none::before {\n --tw-content: none;\n content: var(--tw-content);\n}\n\n.after\\:ms-content-none::after {\n --tw-content: none;\n content: var(--tw-content);\n}\n\n.hover\\:\\!ms-cursor-pointer:hover {\n cursor: pointer !important;\n}\n\n.hover\\:ms-cursor-pointer:hover {\n cursor: pointer;\n}\n\n.hover\\:ms-border-gray-100:hover {\n --tw-border-opacity: 1;\n border-color: rgb(243 244 246 / var(--tw-border-opacity));\n}\n\n.hover\\:ms-border-gray-800:hover {\n --tw-border-opacity: 1;\n border-color: rgb(31 41 55 / var(--tw-border-opacity));\n}\n\n.hover\\:ms-bg-black:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(0 0 0 / var(--tw-bg-opacity));\n}\n\n.hover\\:ms-bg-gray-100:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity));\n}\n\n.hover\\:ms-bg-white:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n\n.hover\\:\\!ms-bg-opacity-75:hover {\n --tw-bg-opacity: 0.75 !important;\n}\n\n.hover\\:ms-bg-opacity-10:hover {\n --tw-bg-opacity: 0.1;\n}\n\n.hover\\:ms-bg-opacity-25:hover {\n --tw-bg-opacity: 0.25;\n}\n\n.hover\\:ms-bg-opacity-5:hover {\n --tw-bg-opacity: 0.05;\n}\n\n.hover\\:ms-bg-opacity-75:hover {\n --tw-bg-opacity: 0.75;\n}\n\n.hover\\:ms-bg-opacity-80:hover {\n --tw-bg-opacity: 0.8;\n}\n\n.hover\\:\\!ms-text-white:hover {\n --tw-text-opacity: 1 !important;\n color: rgb(255 255 255 / var(--tw-text-opacity)) !important;\n}\n\n.hover\\:ms-text-white:hover {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.hover\\:ms-shadow-md:hover {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.focus\\:ms-z-10:focus {\n z-index: 10;\n}\n\n.focus\\:ms-bg-gray-800:focus {\n --tw-bg-opacity: 1;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity));\n}\n\n.focus\\:ms-bg-opacity-75:focus {\n --tw-bg-opacity: 0.75;\n}\n\n.focus\\:ms-fill-white:focus {\n fill: #fff;\n}\n\n.focus\\:ms-text-white:focus {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.focus\\:ms-outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:ms-ring-0:focus {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus\\:ms-ring-transparent:focus {\n --tw-ring-color: transparent;\n}\n\n.disabled\\:ms-bg-opacity-10:disabled {\n --tw-bg-opacity: 0.1;\n}\n\n.prose-headings\\:ms-text-gray-900 :is(:where(h1, h2, h3, h4, h5, h6, th):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.prose-headings\\:ms-text-white :is(:where(h1, h2, h3, h4, h5, h6, th):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.prose-p\\:ms-text-gray-900 :is(:where(p):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.prose-p\\:ms-text-white :is(:where(p):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.prose-a\\:ms-text-gray-900 :is(:where(a):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.prose-a\\:ms-text-white :is(:where(a):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.prose-blockquote\\:ms-text-gray-900 :is(:where(blockquote):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.prose-blockquote\\:ms-text-white :is(:where(blockquote):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.prose-strong\\:ms-text-gray-900 :is(:where(strong):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.prose-strong\\:ms-text-white :is(:where(strong):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.prose-code\\:ms-text-gray-100 :is(:where(code):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(243 244 246 / var(--tw-text-opacity));\n}\n\n.prose-code\\:ms-text-white :is(:where(code):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.prose-pre\\:ms-bg-\\[\\#1f2937\\] :is(:where(pre):not(:where([class~="ms-not-prose"] *))) {\n --tw-bg-opacity: 1;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity));\n}\n\n.prose-pre\\:ms-bg-\\[\\#f4f4f4\\] :is(:where(pre):not(:where([class~="ms-not-prose"] *))) {\n --tw-bg-opacity: 1;\n background-color: rgb(244 244 244 / var(--tw-bg-opacity));\n}\n\n.prose-li\\:ms-text-gray-900 :is(:where(li):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(17 24 39 / var(--tw-text-opacity));\n}\n\n.prose-li\\:ms-text-white :is(:where(li):not(:where([class~="ms-not-prose"] *))) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n@media (min-width: 640px) {\n\n .sm\\:ms-mb-2 {\n margin-bottom: 0.5rem;\n }\n\n .sm\\:ms-mt-0 {\n margin-top: 0px;\n }\n\n .sm\\:ms-mt-2 {\n margin-top: 0.5rem;\n }\n\n .sm\\:ms-mt-4 {\n margin-top: 1rem;\n }\n\n .sm\\:ms-flex {\n display: flex;\n }\n\n .sm\\:ms-hidden {\n display: none;\n }\n\n .sm\\:ms-h-6 {\n height: 1.5rem;\n }\n\n .sm\\:ms-h-8 {\n height: 2rem;\n }\n\n .sm\\:ms-w-6 {\n width: 1.5rem;\n }\n\n .sm\\:ms-w-8 {\n width: 2rem;\n }\n\n .sm\\:ms-w-\\[480px\\] {\n width: 480px;\n }\n\n .sm\\:ms-w-fit {\n width: -moz-fit-content;\n width: fit-content;\n }\n\n .sm\\:ms-min-w-0 {\n min-width: 0px;\n }\n\n .sm\\:ms-min-w-\\[32px\\] {\n min-width: 32px;\n }\n\n .sm\\:ms-max-w-\\[225px\\] {\n max-width: 225px;\n }\n\n .sm\\:ms-max-w-\\[400px\\] {\n max-width: 400px;\n }\n\n .sm\\:ms-max-w-\\[800px\\] {\n max-width: 800px;\n }\n\n .sm\\:ms-grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .sm\\:ms-flex-row {\n flex-direction: row;\n }\n\n .sm\\:ms-flex-wrap {\n flex-wrap: wrap;\n }\n\n .sm\\:ms-gap-1 {\n gap: 0.25rem;\n }\n\n .sm\\:ms-overflow-hidden {\n overflow: hidden;\n }\n\n .sm\\:ms-p-0 {\n padding: 0px;\n }\n\n .sm\\:ms-p-2 {\n padding: 0.5rem;\n }\n\n .sm\\:ms-p-4 {\n padding: 1rem;\n }\n\n .sm\\:ms-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n }\n\n .sm\\:ms-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n }\n\n .sm\\:ms-pb-4 {\n padding-bottom: 1rem;\n }\n\n .sm\\:ms-pl-4 {\n padding-left: 1rem;\n }\n\n .sm\\:ms-pr-4 {\n padding-right: 1rem;\n }\n\n .sm\\:ms-text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n }\n\n .sm\\:ms-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n }\n\n .sm\\:ms-text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n}\n');var ii=String.fromCharCode,si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",li="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",ci={};function ui(e,t){if(!ci[e]){ci[e]={};for(var n=0;n>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(e){if(null==e)return di.decompress(e);for(var t=new Array(e.length/2),n=0,r=t.length;n>=1}else{for(o=1,r=0;r>=1}0==--c&&(c=Math.pow(2,d),d++),delete h[l]}else for(o=m[l],r=0;r>=1;0==--c&&(c=Math.pow(2,d),d++),m[s]=u++,l=String(i)}if(""!==l){if(Object.prototype.hasOwnProperty.call(h,l)){if(l.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}0==--c&&(c=Math.pow(2,d),d++),delete h[l]}else for(o=m[l],r=0;r>=1;0==--c&&(c=Math.pow(2,d),d++)}for(o=2,r=0;r>=1;for(;;){if(p<<=1,f==t-1){g.push(n(p));break}f++}return g.join("")},decompress:function(e){return null==e?"":""==e?null:di._decompress(e.length,32768,(function(t){return e.charCodeAt(t)}))},_decompress:function(e,t,n){var r,o,a,i,s,l,c,u=[],d=[],p={val:n(0),position:t,index:1},f=4,m=4,h=3,g="";for(r=0;r<3;r+=1)u[r]=r;for(a=0,s=Math.pow(2,2),l=1;l!=s;)i=p.val&p.position,p.position>>=1,0==p.position&&(p.position=t,p.val=n(p.index++)),a|=(i>0?1:0)*l,l<<=1;switch(a){case 0:for(a=0,s=Math.pow(2,8),l=1;l!=s;)i=p.val&p.position,p.position>>=1,0==p.position&&(p.position=t,p.val=n(p.index++)),a|=(i>0?1:0)*l,l<<=1;c=ii(a);break;case 1:for(a=0,s=Math.pow(2,16),l=1;l!=s;)i=p.val&p.position,p.position>>=1,0==p.position&&(p.position=t,p.val=n(p.index++)),a|=(i>0?1:0)*l,l<<=1;c=ii(a);break;case 2:return""}for(u[3]=c,o=c,d.push(c);;){if(p.index>e)return"";for(a=0,s=Math.pow(2,h),l=1;l!=s;)i=p.val&p.position,p.position>>=1,0==p.position&&(p.position=t,p.val=n(p.index++)),a|=(i>0?1:0)*l,l<<=1;switch(c=a){case 0:for(a=0,s=Math.pow(2,8),l=1;l!=s;)i=p.val&p.position,p.position>>=1,0==p.position&&(p.position=t,p.val=n(p.index++)),a|=(i>0?1:0)*l,l<<=1;u[m++]=ii(a),c=m-1,f--;break;case 1:for(a=0,s=Math.pow(2,16),l=1;l!=s;)i=p.val&p.position,p.position>>=1,0==p.position&&(p.position=t,p.val=n(p.index++)),a|=(i>0?1:0)*l,l<<=1;u[m++]=ii(a),c=m-1,f--;break;case 2:return d.join("")}if(0==f&&(f=Math.pow(2,h),h++),u[c])g=u[c];else{if(c!==m)return null;g=o+o.charAt(0)}d.push(g),u[m++]=o+g.charAt(0),o=g,0==--f&&(f=Math.pow(2,h),h++)}}},pi={DEBUG:!1,LIB_VERSION:"1.46.2"},fi=Array.prototype,mi=Object.prototype,hi=mi.toString,gi=mi.hasOwnProperty,yi="undefined"!=typeof window?window:{},bi=yi.navigator||{userAgent:""},vi=yi.document||{},wi=bi.userAgent,ki=fi.forEach,xi=fi.indexOf,Si=Array.isArray,_i={},Ei=function(){if(pi.DEBUG&&!Fi(window.console)&&window.console){for(var e=("__rrweb_original__"in window.console.log?window.console.log.__rrweb_original__:window.console.log),t=arguments.length,n=new Array(t),r=0;r1?t-1:0),r=1;r0&&(t[n]=e)})),t},Ui=["$performance_raw"];function Hi(e,t){return n=e,r=function(e,n){return n&&Ui.indexOf(n)>-1?e:"string"==typeof e&&null!==t?e.slice(0,t):e},o=new Set,function e(t,n){return t!==Object(t)?r?r(t,n):t:o.has(t)?void 0:(o.add(t),Ni(t)?(a=[],Pi(t,(function(t){a.push(e(t))}))):(a={},Ti(t,(function(t,n){o.has(t)||(a[n]=e(t,n))}))),a);var a}(n);var n,r,o}function Vi(e){var t,n,r,o,a,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,c="",u=[];if(!e)return e;e=Gi(e);do{t=(a=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=a>>12&63,r=a>>6&63,o=63&a,u[l++]=i.charAt(t)+i.charAt(n)+i.charAt(r)+i.charAt(o)}while(s127&&i<2048?String.fromCharCode(i>>6|192,63&i|128):String.fromCharCode(i>>12|224,i>>6&63|128,63&i|128),null!==s&&(n>t&&(a+=e.substring(t,n)),a+=s,t=n=o+1)}return n>t&&(a+=e.substring(t,e.length)),a},Wi=function(){var e=function(){for(var e=(new Date).valueOf(),t=0;e==(new Date).valueOf();)t++;return e.toString(16)+t.toString(16)};return function(){var t="undefined"!=typeof window?(window.screen.height*window.screen.width).toString(16):"0";return e()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var e,t,n=wi,r=0,o=[];function a(e,t){var n,r=0;for(n=0;n=4&&(r=a(r,o),o=[]);return o.length>0&&(r=a(r,o)),r.toString(16)}()+"-"+t+"-"+e()}}(),Ki=function(e,t){var n=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"),r=new RegExp("[\\?&]"+n+"=([^&#]*)").exec(e);if(null===r||r&&"string"!=typeof r[1]&&r[1].length)return"";var o=r[1];try{o=decodeURIComponent(o)}catch(e){Ci("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},Yi=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},Qi=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,r,o,a){if(t)if(t.addEventListener&&!o)t.addEventListener(n,r,!!a);else{var i="on"+n,s=t[i];t[i]=function(t,n,r){return function(o){if(o=o||e(window.event)){var a,i=!0;Ri(r)&&(a=r(o));var s=n.call(t,o);return!1!==a&&!1!==s||(i=!1),i}}}(t,r,s)}else Ci("No valid element provided to register_event")}}(),Xi={campaignParams:function(){var e="utm_source utm_medium utm_campaign utm_content utm_term gclid fbclid msclkid".split(" "),t={};return Ti(e,(function(e){var n=Ki(vi.URL,e);n.length&&(t[e]=n)})),t},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=Xi.searchEngine(e),n="yahoo"!=t?"q":"p",r={};if(null!==t){r.$search_engine=t;var o=Ki(e,n);o.length&&(r.ph_keyword=o)}return r},browser:function(e,t,n){return t=t||"",n||Li(e," OPR/")?Li(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":Li(e,"IEMobile")||Li(e,"WPDesktop")?"Internet Explorer Mobile":Li(e,"SamsungBrowser/")?"Samsung Internet":Li(e,"Edge")||Li(e,"Edg/")?"Microsoft Edge":Li(e,"FBIOS")?"Facebook Mobile":Li(e,"Chrome")?"Chrome":Li(e,"CriOS")?"Chrome iOS":Li(e,"UCWEB")||Li(e,"UCBrowser")?"UC Browser":Li(e,"FxiOS")?"Firefox iOS":Li(t,"Apple")?Li(e,"Mobile")?"Mobile Safari":"Safari":Li(e,"Android")?"Android Mobile":Li(e,"Konqueror")?"Konqueror":Li(e,"Firefox")?"Firefox":Li(e,"MSIE")||Li(e,"Trident/")?"Internet Explorer":Li(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[Xi.browser(e,t,n)];if(void 0===r)return null;var o=e.match(r);return o?parseFloat(o[o.length-2]):null},browserLanguage:function(){return bi.language||bi.userLanguage},os:function(){var e=wi;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)&&!/Mobile/.test(e)?"Android Tablet":/Android/.test(e)?"Android":""},deviceType:function(e){var t=this.device(e);return"iPad"===t||"Android Tablet"===t?"Tablet":t?"Mobile":"Desktop"},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},properties:function(){return ji(qi({$os:Xi.os(),$browser:Xi.browser(wi,bi.vendor,yi.opera),$device:Xi.device(wi),$device_type:Xi.deviceType(wi)}),{$current_url:null==yi?void 0:yi.location.href,$host:null==yi?void 0:yi.location.host,$pathname:null==yi?void 0:yi.location.pathname,$browser_version:Xi.browserVersion(wi,bi.vendor,yi.opera),$browser_language:Xi.browserLanguage(),$screen_height:null==yi?void 0:yi.screen.height,$screen_width:null==yi?void 0:yi.screen.width,$viewport_height:null==yi?void 0:yi.innerHeight,$viewport_width:null==yi?void 0:yi.innerWidth,$lib:"web",$lib_version:pi.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:(Date.now=Date.now||function(){return+new Date},Date.now()/1e3)})},people_properties:function(){return ji(qi({$os:Xi.os(),$browser:Xi.browser(wi,bi.vendor,yi.opera)}),{$browser_version:Xi.browserVersion(wi,bi.vendor,yi.opera)})}};function Zi(e){switch(Ga(e.className)){case"string":return e.className;case"object":return("baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";default:return""}}function Ji(e){var t="";return as(e)&&!is(e)&&e.childNodes&&e.childNodes.length&&Ti(e.childNodes,(function(e){ns(e)&&e.textContent&&(t+=Oi(e.textContent).split(/(\s+)/).filter(ss).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))})),Oi(t)}function es(e){return!!e&&1===e.nodeType}function ts(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function ns(e){return!!e&&3===e.nodeType}function rs(e){return!!e&&11===e.nodeType}var os=["a","button","form","input","select","textarea","label"];function as(e){for(var t=e;t.parentNode&&!ts(t,"body");t=t.parentNode){var n=Zi(t).split(" ");if(Li(n,"ph-sensitive")||Li(n,"ph-no-capture"))return!1}if(Li(Zi(e).split(" "),"ph-include"))return!0;var r=e.type||"";if("string"==typeof r)switch(r.toLowerCase()){case"hidden":case"password":return!1}var o=e.name||e.id||"";return"string"!=typeof o||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(o.replace(/[^a-zA-Z0-9]/g,""))}function is(e){return!!(ts(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||ts(e,"select")||ts(e,"textarea")||"true"===e.getAttribute("contenteditable"))}function ss(e){if(null===e||Fi(e))return!1;if("string"==typeof e){if(e=Oi(e),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}function ls(e,t){var n=document.createElement("script");n.type="text/javascript",n.src=e,n.onload=t;var r,o=document.querySelectorAll("body > script");o.length>0?null===(r=o[0].parentNode)||void 0===r||r.insertBefore(n,o[0]):document.body.appendChild(n)}var cs=function(){function e(t){Wa(this,e),this.clicks=[],this.enabled=t}return Ya(e,[{key:"isRageClick",value:function(e,t,n){if(!this.enabled)return!1;var r=this.clicks[this.clicks.length-1];if(r&&Math.abs(e-r.x)+Math.abs(t-r.y)<30&&n-r.timestamp<1e3){if(this.clicks.push({x:e,y:t,timestamp:n}),3===this.clicks.length)return!0}else this.clicks=[{x:e,y:t,timestamp:n}];return!1}}]),e}(),us={_initializedTokens:[],_previousElementSibling:function(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do{t=t.previousSibling}while(t&&!es(t));return t},_getPropertiesFromElement:function(e,t,n){var r=e.tagName.toLowerCase(),o={tag_name:r};os.indexOf(r)>-1&&!n&&(o.$el_text=Ji(e));var a=Zi(e);a.length>0&&(o.classes=a.split(" ").filter((function(e){return""!==e}))),Ti(e.attributes,(function(n){var r;is(e)&&-1===["name","id","class"].indexOf(n.name)||!t&&ss(n.value)&&("string"!=typeof(r=n.name)||"_ngcontent"!==r.substring(0,10)&&"_nghost"!==r.substring(0,7))&&(o["attr__"+n.name]=n.value)}));for(var i=1,s=1,l=e;l=this._previousElementSibling(l);)i++,l.tagName===e.tagName&&s++;return o.nth_child=i,o.nth_of_type=s,o},_getDefaultProperties:function(e){return{$event_type:e,$ce_version:1}},_extractCustomPropertyValue:function(e){var t=[];return Ti(document.querySelectorAll(e.css_selector),(function(e){var n;["input","select"].indexOf(e.tagName.toLowerCase())>-1?n=e.value:e.textContent&&(n=e.textContent),ss(n)&&t.push(n)})),t.join(", ")},_getCustomProperties:function(e){var t=this,n={};return Ti(this._customProperties,(function(r){Ti(r.event_selectors,(function(o){Ti(document.querySelectorAll(o),(function(o){Li(e,o)&&as(o)&&(n[r.name]=t._extractCustomPropertyValue(r))}))}))})),n},_getEventTarget:function(e){return void 0===e.target?e.srcElement||null:null!==(t=e.target)&&void 0!==t&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t},_captureEvent:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$autocapture",a=this._getEventTarget(e);if(ns(a)&&(a=a.parentNode||null),"$autocapture"===o&&"click"===e.type&&e instanceof MouseEvent&&null!==(n=this.rageclicks)&&void 0!==n&&n.isRageClick(e.clientX,e.clientY,(new Date).getTime())&&this._captureEvent(e,t,"$rageclick"),a&&function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!e||ts(e,"html")||!es(e))return!1;if(null!=n&&n.url_allowlist){var r=window.location.href,o=n.url_allowlist;if(o&&!o.some((function(e){return r.match(e)})))return!1}if(null!=n&&n.dom_event_allowlist){var a=n.dom_event_allowlist;if(a&&!a.some((function(e){return t.type===e})))return!1}if(null!=n&&n.element_allowlist){var i=n.element_allowlist;if(i&&!i.some((function(t){return e.tagName.toLowerCase()===t})))return!1}if(null!=n&&n.css_selector_allowlist){var s=n.css_selector_allowlist;if(s&&!s.some((function(t){return e.matches(t)})))return!1}for(var l=!1,c=[e],u=!0,d=e;d.parentNode&&!ts(d,"body");)if(rs(d.parentNode))c.push(d.parentNode.host),d=d.parentNode.host;else{if(!(u=d.parentNode||!1))break;if(os.indexOf(u.tagName.toLowerCase())>-1)l=!0;else{var p=window.getComputedStyle(u);p&&"pointer"===p.getPropertyValue("cursor")&&(l=!0)}c.push(u),d=u}var f=window.getComputedStyle(e);if(f&&"pointer"===f.getPropertyValue("cursor")&&"click"===t.type)return!0;var m=e.tagName.toLowerCase();switch(m){case"html":return!1;case"form":return"submit"===t.type;case"input":case"select":case"textarea":return"change"===t.type||"click"===t.type;default:return l?"click"===t.type:"click"===t.type&&(os.indexOf(m)>-1||"true"===e.getAttribute("contenteditable"))}}(a,e,this.config)){for(var i=[a],s=a;s.parentNode&&!ts(s,"body");)rs(s.parentNode)?(i.push(s.parentNode.host),s=s.parentNode.host):(i.push(s.parentNode),s=s.parentNode);var l,c=[],u=!1;if(Ti(i,(function(e){var n=as(e);"a"===e.tagName.toLowerCase()&&(l=e.getAttribute("href"),l=n&&ss(l)&&l),Li(Zi(e).split(" "),"ph-no-capture")&&(u=!0),c.push(r._getPropertiesFromElement(e,t.get_config("mask_all_element_attributes"),t.get_config("mask_all_text")))})),t.get_config("mask_all_text")||(c[0].$el_text=Ji(a)),l&&(c[0].attr__href=l),u)return!1;var d=ji(this._getDefaultProperties(e.type),{$elements:c},this._getCustomProperties(i));return t.capture(o,d),!0}},_navigate:function(e){window.location.href=e},_addDomEventHandlers:function(e){var t=this,n=function(n){n=n||window.event,t._captureEvent(n,e)};Qi(document,"submit",n,!1,!0),Qi(document,"change",n,!1,!0),Qi(document,"click",n,!1,!0)},_customProperties:[],rageclicks:null,config:void 0,init:function(e){var t;"boolean"!=typeof e.__autocapture&&(this.config=e.__autocapture),null!==(t=this.config)&&void 0!==t&&t.url_allowlist&&(this.config.url_allowlist=this.config.url_allowlist.map((function(e){return new RegExp(e)}))),this.rageclicks=new cs(e.get_config("rageclick"))},afterDecideResponse:function(e,t){var n=t.get_config("token");this._initializedTokens.indexOf(n)>-1?Ei('autocapture already initialized for token "'+n+'"'):(this._initializedTokens.push(n),e&&e.config&&e.config.enable_collect_everything&&t.get_config("autocapture")?(e.custom_properties&&(this._customProperties=e.custom_properties),this._addDomEventHandlers(t)):t.__autocapture=!1)},enabledForProject:function(e,t,n){if(!e)return!0;t=Fi(t)?10:t,n=Fi(n)?10:n;for(var r=0,o=0;o1&&void 0!==arguments[1]?arguments[1]:{};if(!this.getFlags())return dt.warn('getFeatureFlag for key "'+e+"\" failed. Feature flags didn't load in time."),!1;var n=this.getFlagVariants()[e];return!t.send_event&&"send_event"in t||this.flagCallReported[e]||(this.flagCallReported[e]=!0,this.instance.capture("$feature_flag_called",{$feature_flag:e,$feature_flag_response:n})),n}},{key:"getFeatureFlagPayload",value:function(e){return this.getFlagPayloads()[e]}},{key:"isFeatureEnabled",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getFlags()?!!this.getFeatureFlag(e,t):(dt.warn('isFeatureEnabled for key "'+e+"\" failed. Feature flags didn't load in time."),!1)}},{key:"addFeatureFlagsHandler",value:function(e){this.featureFlagEventHandlers.push(e)}},{key:"receivedFeatureFlags",value:function(e){this.instance.decideEndpointWasHit=!0;var t=this.getFlagVariants(),n=this.getFlagPayloads();!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=e.featureFlags,a=e.featureFlagPayloads;if(o)if(Array.isArray(o)){var i,s={};if(o)for(var l=0;l10&&(e.data.payload.payload=e.data.payload.payload.slice(0,10),e.data.payload.payload.push("...[truncated]"));for(var t=[],n=0;n2e3?t.push(e.data.payload.payload[n].slice(0,2e3)+"...[truncated]"):t.push(e.data.payload.payload[n]);return e.data.payload.payload=t,e}return e}(function(e){if(e&&"object"===Ga(e)){var t=JSON.stringify(e);if(t.length>5e6){var n,r=ai(t.matchAll(/data:([\w\/\-\.]+);(\w+),([^)"]*)/gim));try{for(r.s();!(n=r.n()).done;){var o=n.value;t="image/"===o[1].toLocaleLowerCase().slice(0,6)?t.replace(o[0],"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg=="):t.replace(o[0],"")}}catch(e){r.e(e)}finally{r.f()}}return JSON.parse(t)}return e}(e)),t._updateWindowAndSessionIds(e);var n={$snapshot_data:e,$session_id:t.sessionId,$window_id:t.windowId};t.instance._captureMetrics.incr("rrweb-record"),t.instance._captureMetrics.incr("rrweb-record-".concat(e.type)),t.emit?t._captureSnapshot(n):t.snapshots.push(n)},plugins:window.rrwebConsoleRecord&&this.isConsoleLogCaptureEnabled()?[window.rrwebConsoleRecord.getRecordConsolePlugin()]:[]},n)),this.instance._addCaptureHook((function(e){var n;"$pageview"===e&&(null===(n=t.rrwebRecord)||void 0===n||n.addCustomEvent("$pageview",{href:window.location.href}))}))}},{key:"_captureSnapshot",value:function(e){this.instance.capture("$snapshot",e,{transport:"XHR",method:"POST",endpoint:this.endpoint,_noTruncate:!0,_batchKey:"sessionRecording",_metrics:{rrweb_full_snapshot:e.$snapshot_data.type===Ys}})}}]),e}(),Zs={entryType:0,timeOrigin:1,name:2,startTime:3,redirectStart:4,redirectEnd:5,workerStart:6,fetchStart:7,domainLookupStart:8,domainLookupEnd:9,connectStart:10,secureConnectionStart:11,connectEnd:12,requestStart:13,responseStart:14,responseEnd:15,decodedBodySize:16,encodedBodySize:17,initiatorType:18,nextHopProtocol:19,renderBlockingStatus:20,responseStatus:21,transferSize:22,element:23,renderTime:24,loadTime:25,size:26,id:27,url:28,domComplete:29,domContentLoadedEvent:30,domInteractive:31,loadEventEnd:32,loadEventStart:33,redirectCount:34,navigationType:35,unloadEventEnd:36,unloadEventStart:37,duration:39,timestamp:40},Js=["first-input","navigation","paint","resource"],el=["/s/","/e/"],tl=function(){function e(t){Wa(this,e),this.instance=t}return Ya(e,[{key:"startObservingIfEnabled",value:function(){this.isEnabled()?this.startObserving():this.stopObserving()}},{key:"startObserving",value:function(){var e=this;if(!this.observer)try{this.observer=new PerformanceObserver((function(t){t.getEntries().forEach((function(t){e._capturePerformanceEvent(t)}))}));var t=PerformanceObserver.supportedEntryTypes.filter((function(e){return Js.includes(e)}));t.forEach((function(t){var n;null===(n=e.observer)||void 0===n||n.observe({type:t,buffered:!0})}))}catch(e){dt.error("PostHog failed to start performance observer",e),this.stopObserving()}}},{key:"stopObserving",value:function(){this.observer&&(this.observer.disconnect(),this.observer=void 0)}},{key:"isObserving",value:function(){return!!this.observer}},{key:"isEnabled",value:function(){var e,t;return null!==(e=null!==(t=this.instance.get_config("capture_performance"))&&void 0!==t?t:this.remoteEnabled)&&void 0!==e&&e}},{key:"afterDecideResponse",value:function(e){this.remoteEnabled=e.capturePerformance||!1,this.isEnabled()&&this.startObserving()}},{key:"_capturePerformanceEvent",value:function(e){if(e.name.startsWith(this.instance.get_config("api_host"))){var t=e.name.replace(this.instance.get_config("api_host"),"");if(el.find((function(e){return t.startsWith(e)})))return}var n=e.toJSON(),r={},o=Math.floor(Date.now()-performance.now());for(var a in r[Zs.timeOrigin]=o,r[Zs.timestamp]=Math.floor(o+e.startTime),Zs)void 0!==n[a]&&(r[Zs[a]]=n[a]);if(this.capturePerformanceEvent(r),nl(e)){var i,s=ai(e.serverTiming);try{for(s.s();!(i=s.n()).done;){var l,c=i.value;this.capturePerformanceEvent((Qa(l={},Zs.timeOrigin,o),Qa(l,Zs.timestamp,Math.floor(o+e.startTime)),Qa(l,Zs.name,c.name),Qa(l,Zs.duration,c.duration),Qa(l,Zs.entryType,"serverTiming"),l))}}catch(e){s.e(e)}finally{s.f()}}}},{key:"capturePerformanceEvent",value:function(e){this.instance.capture("$performance_event",e,{transport:"XHR",method:"POST",endpoint:"/e/",_noTruncate:!0,_batchKey:"performanceEvent"})}}]),e}(),nl=function(e){return"navigation"===e.entryType||"resource"===e.entryType},rl=function(){function e(t){Wa(this,e),this.instance=t,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return Ya(e,[{key:"call",value:function(){var e=this,t=Vi(JSON.stringify({token:this.instance.get_config("token"),distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups()}));this.instance._send_request("".concat(this.instance.get_config("api_host"),"/decide/?v=3"),{data:t,verbose:!0},{method:"POST"},(function(t){return e.parseDecideResponse(t)}))}},{key:"parseDecideResponse",value:function(e){var t,n,r=this;if(0!==(null==e?void 0:e.status)){if(this.instance.decideEndpointWasHit=!0,!document||!document.body)return dt.log("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((function(){r.parseDecideResponse(e)}),500);if(this.instance.toolbar.afterDecideResponse(e),null===(t=this.instance.sessionRecording)||void 0===t||t.afterDecideResponse(e),us.afterDecideResponse(e,this.instance),null===(n=this.instance.webPerformance)||void 0===n||n.afterDecideResponse(e),this.instance.featureFlags.receivedFeatureFlags(e),this.instance.compression={},e.supportedCompression&&!this.instance.get_config("disable_compression")){var o,a={},i=ai(e.supportedCompression);try{for(i.s();!(o=i.n()).done;)a[o.value]=!0}catch(e){i.e(e)}finally{i.f()}this.instance.compression=a}if(e.siteApps)if(this.instance.get_config("opt_in_site_apps")){var s,l=this.instance.get_config("api_host"),c=ai(e.siteApps);try{var u=function(){var e=s.value,t=e.id,n=e.url,o=document.createElement("script");o.src=[l,"/"===l[l.length-1]&&"/"===n[0]?n.substring(1):n].join(""),o.onerror=function(e){dt.error("Error while initializing PostHog app with config id ".concat(t),e)},window["__$$ph_site_app_".concat(t)]=r.instance,document.body.appendChild(o)};for(c.s();!(s=c.n()).done;)u()}catch(e){c.e(e)}finally{c.f()}}else e.siteApps.length>0&&dt.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}else dt.error("Failed to fetch feature flags from PostHog.")}}]),e}(),ol=["https://app.posthog.com","https://eu.posthog.com"],al=["source"],il=function(){function e(t){Wa(this,e),this.instance=t}return Ya(e,[{key:"afterDecideResponse",value:function(e){var t=e.toolbarParams||e.editorParams||(e.toolbarVersion?{toolbarVersion:e.toolbarVersion}:{});e.isAuthenticated&&t.toolbarVersion&&0===t.toolbarVersion.indexOf("toolbar")&&this.loadToolbar(Va(Va({},t),{},{apiURL:this.instance.get_config("api_host")}))}},{key:"maybeLoadToolbar",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.history;try{if(!t){try{window.localStorage.setItem("test","test"),window.localStorage.removeItem("test")}catch(e){return!1}t=window.localStorage}var r,o=Yi(e.hash,"__posthog")||Yi(e.hash,"state"),a=o?JSON.parse(decodeURIComponent(o)):null;return a&&"ph_authorize"===a.action?((r=a).source="url",r&&Object.keys(r).length>0&&(a.desiredHash?e.hash=a.desiredHash:n?n.replaceState("",document.title,e.pathname+e.search):e.hash="")):((r=JSON.parse(t.getItem("_postHogToolbarParams")||"{}")).source="localstorage",delete r.userIntent),r.apiURL||(r.apiURL=this.instance.get_config("api_host")),!(!r.token||this.instance.get_config("token")!==r.token||(this.loadToolbar(r),0))}catch(e){return!1}}},{key:"loadToolbar",value:function(e){var t=this;if(window._postHogToolbarLoaded)return!1;window._postHogToolbarLoaded=!0;var n=(null==e?void 0:e.apiURL)||this.instance.get_config("api_host"),r=3e4*Math.floor(Date.now()/3e4),o="".concat(n).concat(n.endsWith("/")?"":"/","static/toolbar.js?_ts=").concat(r),a=!ol.includes(this.instance.get_config("api_host"))&&this.instance.get_config("advanced_disable_toolbar_metrics"),i=Va(Va({apiURL:n,jsURL:n,token:this.instance.get_config("token")},e),a?{instrument:!1}:{});i.source;var s=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(i,al);return window.localStorage.setItem("_postHogToolbarParams",JSON.stringify(s)),ls(o,(function(){(window.ph_load_toolbar||window.ph_load_editor)(i,t.instance)})),Qi(window,"turbolinks:load",(function(){window._postHogToolbarLoaded=!1,t.loadToolbar(i)})),!0}},{key:"_loadEditor",value:function(e){return this.loadToolbar(e)}},{key:"maybeLoadEditor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.history;return this.maybeLoadToolbar(e,t,n)}}]),e}(),sl=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;Wa(this,e),this.isPolling=!0,this._event_queue=[],this._empty_queue_count=0,this._poller=void 0,this._pollInterval=t}return Ya(e,[{key:"setPollInterval",value:function(e){this._pollInterval=e,this.isPolling&&this.poll()}},{key:"poll",value:function(){}},{key:"unload",value:function(){}},{key:"getTime",value:function(){return(new Date).getTime()}}]),e}(),ll=function(e){Xa(n,sl);var t=ei(n);function n(e,r){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3;return Wa(this,n),(o=t.call(this,a)).handlePollRequest=r,o.captureMetrics=e,o}return Ya(n,[{key:"enqueue",value:function(e,t,n){this.captureMetrics.incr("batch-enqueue"),this._event_queue.push({url:e,data:t,options:n}),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var e=this;clearTimeout(this._poller),this._poller=setTimeout((function(){if(e._event_queue.length>0){var t=e.formatQueue(),n=function(n){var r=t[n],o=r.url,a=r.data,i=r.options;Ti(a,(function(t,n){a[n].offset=Math.abs(a[n].timestamp-e.getTime()),delete a[n].timestamp})),e.handlePollRequest(o,a,i),e.captureMetrics.incr("batch-requests"),e.captureMetrics.incr("batch-requests-".concat(o.slice(o.length-2))),e.captureMetrics.incr("batch-handle",a.length),e.captureMetrics.incr("batch-handle-".concat(o.slice(o.length-2)),a.length)};for(var r in t)n(r);e._event_queue.length=0,e._empty_queue_count=0}else e._empty_queue_count++;e._empty_queue_count>4&&(e.isPolling=!1,e._empty_queue_count=0),e.isPolling&&e.poll()}),this._pollInterval)}},{key:"updateUnloadMetrics",value:function(){var e=this.formatQueue();for(var t in e){var n=e[t],r=n.url,o=n.data;this.captureMetrics.incr("batch-unload-requests"),this.captureMetrics.incr("batch-unload-requests-".concat(r.slice(r.length-2))),this.captureMetrics.incr("batch-unload",o.length),this.captureMetrics.incr("batch-unload-".concat(r.slice(r.length-2)),o.length)}}},{key:"unload",value:function(){var e=this;clearTimeout(this._poller);var t=this._event_queue.length>0?this.formatQueue():{};this._event_queue.length=0;var n=Object.values(t),r=[].concat(ni(n.filter((function(e){return 0===e.url.indexOf("/e")}))),ni(n.filter((function(e){return 0!==e.url.indexOf("/e")}))));r.map((function(t){var n=t.url,r=t.data,o=t.options;e.handlePollRequest(n,r,Va(Va({},o),{},{transport:"sendBeacon"}))}))}},{key:"formatQueue",value:function(){var e={};return Ti(this._event_queue,(function(t){var n=t.url,r=t.data,o=t.options,a=(o?o._batchKey:null)||n;void 0===e[a]&&(e[a]={data:[],url:n,options:o}),o&&e[a].options&&e[a].options._metrics&&!e[a].options._metrics.rrweb_full_snapshot&&(e[a].options._metrics.rrweb_full_snapshot=o._metrics.rrweb_full_snapshot),e[a].data.push(r)})),e}}]),n}(),cl=function(){function e(t){Wa(this,e),this.enabled=t,this.metrics={}}return Ya(e,[{key:"incr",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.enabled&&(e="phjs-".concat(e),this.metrics[e]=(this.metrics[e]||0)+t)}},{key:"decr",value:function(e){this.enabled&&(e="phjs-".concat(e),this.metrics[e]=(this.metrics[e]||0)-1)}}]),e}(),ul=Uint8Array,dl=Uint16Array,pl=Uint32Array,fl=new ul([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),ml=new ul([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),hl=new ul([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),gl=function(e,t){for(var n=new dl(31),r=0;r<31;++r)n[r]=t+=1<>>1|(21845&xl)<<1;Sl=(61680&(Sl=(52428&Sl)>>>2|(13107&Sl)<<2))>>>4|(3855&Sl)<<4,kl[xl]=((65280&Sl)>>>8|(255&Sl)<<8)>>>1}var _l=function(e,t,n){for(var r=e.length,o=0,a=new dl(t);o>>l]=c}else for(i=new dl(r),o=0;o>>15-e[o];return i},El=new ul(288);for(xl=0;xl<144;++xl)El[xl]=8;for(xl=144;xl<256;++xl)El[xl]=9;for(xl=256;xl<280;++xl)El[xl]=7;for(xl=280;xl<288;++xl)El[xl]=8;var Cl=new ul(32);for(xl=0;xl<32;++xl)Cl[xl]=5;var Al,Ol=_l(El,9,0),Tl=_l(Cl,5,0),Pl=function(e){return(e/8|0)+(7&e&&1)},jl=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof dl?dl:e instanceof pl?pl:ul)(n-t);return r.set(e.subarray(t,n)),r},Nl=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},Rl=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},Ll=function(e,t){for(var n=[],r=0;rp&&(p=a[r].s);var f=new dl(p+1),m=Il(n[u-1],f,0);if(m>t){r=0;var h=0,g=m-t,y=1<t))break;h+=y-(1<>>=g;h>0;){var v=a[r].s;f[v]=0&&h;--r){var w=a[r].s;f[w]==t&&(--f[w],++h)}m=t}return[new ul(f),m]},Il=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},Fl=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new dl(++t),r=0,o=e[0],a=1,i=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==o&&s!=t)++a;else{if(!o&&a>2){for(;a>138;a-=138)i(32754);a>2&&(i(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(i(o),--a;a>6;a-=6)i(8304);a>2&&(i(a-3<<5|8208),a=0)}for(;a--;)i(o);a=1,o=e[s]}return[n.subarray(0,r),t]},Dl=function(e,t){for(var n=0,r=0;r>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var a=0;a4&&!C[hl[O-1]];--O);var T,P,j,N,R=c+5<<3,L=Dl(o,El)+Dl(a,Cl)+i,I=Dl(o,p)+Dl(a,h)+i+14+3*O+Dl(S,C)+(2*S[16]+3*S[17]+7*S[18]);if(R<=L&&R<=I)return Ml(t,u,e.subarray(l,l+c));if(Nl(t,u,1+(I15&&(Nl(t,u,B[_]>>>5&127),u+=B[_]>>>12)}}}else T=Ol,P=El,j=Tl,N=Cl;for(_=0;_255){z=r[_]>>>18&31,Rl(t,u,T[z+257]),u+=P[z+257],z>7&&(Nl(t,u,r[_]>>>23&31),u+=fl[z]);var $=31&r[_];Rl(t,u,j[$]),u+=N[$],$>3&&(Rl(t,u,r[_]>>>5&8191),u+=ml[$])}else Rl(t,u,T[r[_]]),u+=P[r[_]];return Rl(t,u,T[256]),u+P[256]},zl=new pl([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),$l=new ul(0),ql=function(){for(var e=new pl(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),Ul=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8};function Hl(e,t){void 0===t&&(t={});var n=function(){var e=4294967295;return{p:function(t){for(var n=e,r=0;r>>8;e=n},d:function(){return 4294967295^e}}}(),r=e.length;n.p(e);var o=function(e,t,n,r,o){return function(e,t,n,r,o,a){var i=e.length,s=new ul(r+i+5*(1+Math.floor(i/7e3))+o),l=s.subarray(r,s.length-o),c=0;if(!t||i<8)for(var u=0;u<=i;u+=65535){var d=u+65535;d>>13,m=8191&p,h=(1<7e3||C>24576)&&N>423){c=Bl(e,l,0,k,x,S,E,C,O,u-O,c),C=_=E=0,O=u;for(var R=0;R<286;++R)x[R]=0;for(R=0;R<30;++R)S[R]=0}var L=2,I=0,F=m,D=P-j&32767;if(N>2&&T==w(u-D))for(var M=Math.min(f,N)-1,B=Math.min(32767,u),z=Math.min(258,N);D<=B&&--F&&P!=j;){if(e[u+L]==e[u+L-D]){for(var $=0;$L){if(L=$,I=D,$>M)break;var q=Math.min(D,$-2),U=0;for(R=0;RU&&(U=V,j=H)}}}D+=(P=j)-(j=g[P])+32768&32767}if(I){k[C++]=268435456|vl[L]<<18|wl[I];var G=31&vl[L],W=31&wl[I];E+=fl[G]+ml[W],++x[257+G],++S[W],A=u+L,++_}else k[C++]=e[u],++x[e[u]]}}c=Bl(e,l,a,k,x,S,E,C,O,u-O,c),a||(c=Ml(l,c,$l))}return jl(s,0,r+Pl(c)+o)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!o)}(e,t,function(e){return 10+(e.filename&&e.filename.length+1||0)}(t),8),a=o.length;return function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:9==t.level?2:0,e[9]=3,0!=t.mtime&&Ul(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}}(o,t),Ul(o,a-8,n.d()),Ul(o,a-4,r),o}function Vl(e,t){var n=e.length;if(!t&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var r=new ul(e.length+(e.length>>>1)),o=0,a=function(e){r[o++]=e},i=0;ir.length){var s=new ul(o+8+(n-i<<1));s.set(r),r=s}var l=e.charCodeAt(i);l<128||t?a(l):l<2048?(a(192|l>>>6),a(128|63&l)):l>55295&&l<57344?(a(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++i))>>>18),a(128|l>>>12&63),a(128|l>>>6&63),a(128|63&l)):(a(224|l>>>12),a(128|l>>>6&63),a(128|63&l))}return jl(r,0,o)}!function(e){e.GZipJS="gzip-js",e.LZ64="lz64",e.Base64="base64"}(Al||(Al={}));var Gl,Wl,Kl,Yl=function e(t,n){if(n.blob&&t.buffer)return new Blob([t.buffer],{type:"text/plain"});if(n.sendBeacon||n.blob){var r=e(t,{method:"POST"});return new Blob([r],{type:"application/x-www-form-urlencoded"})}return"POST"!==n.method?null:(o=Array.isArray(t)||function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}(t)?"data="+encodeURIComponent(t):"data="+encodeURIComponent(t.data),"compression"in t&&t.compression&&(o+="&compression="+t.compression),o);var o},Ql=function(e){var t=e.url,n=e.data,r=e.headers,o=e.options,a=e.captureMetrics,i=e.callback,s=e.retriesPerformedSoFar,l=e.retryQueue,c=e.onXHRError,u=e.timeout,d=void 0===u?1e4:u,p=new XMLHttpRequest;p.open(o.method||"GET",t,!0);var f=Yl(n,o);a.incr("_send_request"),a.incr("_send_request_inflight"),Ti(r,(function(e,t){p.setRequestHeader(t,e)})),"POST"!==o.method||o.blob||p.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),p.timeout=d,p.withCredentials=!0,p.onreadystatechange=function(){if(4===p.readyState)if(a.incr("xhr-response"),a.incr("xhr-response-".concat(p.status)),a.decr("_send_request_inflight"),200===p.status){if(i){var e;try{e=JSON.parse(p.responseText)}catch(e){return void Ci(e)}i(e)}}else"function"==typeof c&&c(p),[401,403,404,500].indexOf(p.status)<0&&l.enqueue({url:t,data:n,options:o,headers:r,retriesPerformedSoFar:(s||0)+1,callback:i}),i&&i({status:0})},p.send(f)},Xl=function(e){Xa(n,sl);var t=ei(n);function n(e,r){var o;return Wa(this,n),(o=t.call(this)).captureMetrics=e,o.isPolling=!1,o.queue=[],o.areWeOnline=!0,o.onXHRError=r,"undefined"!=typeof window&&"onLine"in window.navigator&&(o.areWeOnline=window.navigator.onLine,window.addEventListener("online",(function(){o._handleWeAreNowOnline()})),window.addEventListener("offline",(function(){o.areWeOnline=!1}))),o}return Ya(n,[{key:"enqueue",value:function(e){var t=e.retriesPerformedSoFar||0;if(!(t>=10)){var n=3e3*Math.pow(2,t),r=new Date(Date.now()+n);dt.warn("Enqueued failed request for retry in ".concat(n)),this.queue.push({retryAt:r,requestData:e}),this.isPolling||(this.isPolling=!0,this.poll())}}},{key:"poll",value:function(){var e=this;this._poller&&clearTimeout(this._poller),this._poller=setTimeout((function(){e.areWeOnline&&e.queue.length>0&&e.flush(),e.poll()}),this._pollInterval)}},{key:"flush",value:function(){var e=new Date(Date.now()),t=this.queue.filter((function(t){return t.retryAt0){this.queue=this.queue.filter((function(t){return t.retryAt>=e}));var n,r=ai(t);try{for(r.s();!(n=r.n()).done;){var o=n.value.requestData;this._executeXhrRequest(o)}}catch(e){r.e(e)}finally{r.f()}}}},{key:"unload",value:function(){this._poller&&(clearTimeout(this._poller),this._poller=void 0);var e,t=ai(this.queue);try{for(t.s();!(e=t.n()).done;){var n=e.value.requestData,r=n.url,o=n.data,a=n.options;try{window.navigator.sendBeacon(r,Yl(o,Va(Va({},a),{},{sendBeacon:!0})))}catch(e){pi.DEBUG&&dt.error(e)}}}catch(e){t.e(e)}finally{t.f()}this.queue=[]}},{key:"_executeXhrRequest",value:function(e){var t=e.url,n=e.data,r=e.options,o=e.headers,a=e.callback,i=e.retriesPerformedSoFar;Ql({url:t,data:n||{},options:r||{},headers:o||{},retriesPerformedSoFar:i||0,callback:a,captureMetrics:this.captureMetrics,retryQueue:this,onXHRError:this.onXHRError})}},{key:"_handleWeAreNowOnline",value:function(){this.areWeOnline=!0,this.flush()}}]),n}(),Zl=function(){function e(t,n){Wa(this,e),this.persistence=n,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null;var r=t.persistence_name||t.token;if(this.window_id_storage_key="ph_"+r+"_window_id",this.primary_window_exists_storage_key="ph_"+r+"_primary_window_exists",!this.persistence.disabled&&vs.is_supported()){var o=vs.parse(this.window_id_storage_key),a=vs.parse(this.primary_window_exists_storage_key);o&&!a?this._windowId=o:vs.remove(this.window_id_storage_key),vs.set(this.primary_window_exists_storage_key,!0)}this._listenToReloadWindow()}return Ya(e,[{key:"_setWindowId",value:function(e){e!==this._windowId&&(this._windowId=e,!this.persistence.disabled&&vs.is_supported()&&vs.set(this.window_id_storage_key,e))}},{key:"_getWindowId",value:function(){return this._windowId?this._windowId:!this.persistence.disabled&&vs.is_supported()?vs.parse(this.window_id_storage_key):null}},{key:"_setSessionId",value:function(e,t,n){e===this._sessionId&&t===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=t,this._sessionId=e,this.persistence.register(Qa({},Hs,[t,e,n])))}},{key:"_getSessionId",value:function(){if(this._sessionId&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this._sessionId,this._sessionStartTimestamp];var e=this.persistence.props[Hs];return Array.isArray(e)&&2===e.length&&e.push(e[0]),e||[0,null,0]}},{key:"resetSessionId",value:function(){this._setSessionId(null,null,null)}},{key:"_listenToReloadWindow",value:function(){var e=this;window.addEventListener("beforeunload",(function(){!e.persistence.disabled&&vs.is_supported()&&vs.remove(e.primary_window_exists_storage_key)}))}},{key:"checkAndGetSessionAndWindowId",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)||(new Date).getTime(),n=ti(this._getSessionId(),3),r=n[0],o=n[1],a=n[2],i=this._getWindowId(),s=a&&a>0&&Math.abs(t-a)>864e5;!o||!e&&Math.abs(t-r)>18e5||s?(o=Wi(),i=Wi(),a=t):i||(i=Wi());var l=0===r||!e||s?t:r,c=0===a?(new Date).getTime():a;return this._setWindowId(i),this._setSessionId(o,l,c),{sessionId:o,windowId:i}}}]),e}(),Jl=Ya((function e(t,n,r,o){Wa(this,e),this.name="posthog-js",this.setupOnce=function(e){e((function(e){var a,i,s;if("error"!==e.level||!t.__loaded)return e;e.tags||(e.tags={});var l=t.config.ui_host||t.config.api_host;e.tags["PostHog Person URL"]=l+"/person/"+t.get_distinct_id(),t.sessionRecordingStarted()&&(e.tags["PostHog Recording URL"]=l+"/recordings/"+t.sessionManager.checkAndGetSessionAndWindowId(!0).sessionId);var c=(null===(a=e.exception)||void 0===a?void 0:a.values)||[],u={$sentry_event_id:e.event_id,$sentry_exception:e.exception,$sentry_exception_message:null===(i=c[0])||void 0===i?void 0:i.value,$sentry_exception_type:null===(s=c[0])||void 0===s?void 0:s.type,$sentry_tags:e.tags};return n&&r&&(u.$sentry_url=(o||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+e.event_id),t.capture("$exception",u),e}))}})),ec=function(){function e(){Wa(this,e),Qa(this,"_seenFirstPageView",!1)}return Ya(e,[{key:"onPageview",value:function(){this._seenFirstPageView&&(this._pageViewId=Wi()),this._seenFirstPageView=!0}},{key:"getPageViewId",value:function(){return this._pageViewId||(this._pageViewId=Wi()),this._pageViewId}}]),e}();!function(e){e[e.INIT_MODULE=0]="INIT_MODULE",e[e.INIT_SNIPPET=1]="INIT_SNIPPET"}(Gl||(Gl={}));var tc=function(){},nc={},rc="posthog",oc=yi.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,ac=!oc&&-1===wi.indexOf("MSIE")&&-1===wi.indexOf("Mozilla"),ic=function(){var e,t,n;return{api_host:"https://app.posthog.com",api_method:"POST",api_transport:"XHR",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:-1===(null==vi||null===(e=vi.location)||void 0===e||null===(t=e.hostname)||void 0===t?void 0:t.indexOf("herokuapp.com")),persistence:"cookie",persistence_name:"",cookie_name:"",loaded:tc,store_google:!0,save_referrer:!0,test:!1,verbose:!1,img:!1,capture_pageview:!0,capture_pageleave:!0,debug:!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_cookie:!1,enable_recording_console_log:void 0,secure_cookie:"https:"===(null==yi||null===(n=yi.location)||void 0===n?void 0:n.protocol),ip:!0,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_capturing_persistence_type:"localStorage",opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_blacklist:[],respect_dnt:!1,sanitize_properties:null,xhr_headers:{},inapp_protocol:"//",inapp_link_new_window:!1,request_batching:!0,properties_string_max_length:65535,session_recording:{blockClass:"ph-no-capture",blockSelector:null,ignoreClass:"ph-ignore-input",maskAllInputs:!0,maskInputOptions:{},maskInputFn:null,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0},mask_all_element_attributes:!1,mask_all_text:!1,advanced_disable_decide:!1,advanced_disable_toolbar_metrics:!1,on_xhr_error:function(e){var t="Bad HTTP status: "+e.status+" "+e.statusText;dt.error(t)},get_device_id:function(e){return e},_onCapture:tc,_capture_metrics:!1,capture_performance:void 0,name:"posthog",callback_fn:"posthog._jsc",bootstrap:{},disable_compression:!1}},sc=function(e,t,n){var r,o=n!==rc&&Kl?n?Kl[n]:void 0:Kl;if(o&&Wl===Gl.INIT_MODULE)r=o;else{if(o&&!Ni(o))return void dt.error("You have already initialized "+n);r=new lc}return r._init(e,t,n),r.toolbar.maybeLoadToolbar(),r.sessionRecording=new Xs(r),r.sessionRecording.startRecordingIfEnabled(),r.webPerformance=new tl(r),r.webPerformance.startObservingIfEnabled(),r.__autocapture=r.get_config("autocapture"),r.get_config("autocapture")&&(r.__autocapture=r.get_config("autocapture"),us.enabledForProject(r.get_config("token"),100,100)?us.isBrowserSupported()?us.init(r):(r.__autocapture=!1,Ei("Disabling Automatic Event Collection because this browser is not supported")):(r.__autocapture=!1,Ei("Not in active bucket: disabling Automatic Event Collection."))),pi.DEBUG=pi.DEBUG||r.get_config("debug"),void 0!==o&&Ni(o)&&(r._execute_array.call(r.people,o.people),r._execute_array(o)),r},lc=function(){function e(){var t=this;Wa(this,e),this.config=ic(),this.compression={},this.decideEndpointWasHit=!1,this.SentryIntegration=Jl,this.segmentIntegration=function(){return function(e){var t=function(t,n){t.event.userId||t.event.anonymousId===e.get_distinct_id()||e.reset(),t.event.userId&&t.event.userId!==e.get_distinct_id()&&(e.register({distinct_id:t.event.userId}),e.reloadFeatureFlags());var r=e._calculate_event_properties(n,t.event.properties);return t.event.properties=Object.assign({},r,t.event.properties),t};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(e){return t(e,e.event.event)},page:function(e){return t(e,"$pageview")},identify:function(e){return t(e,"$identify")},screen:function(e){return t(e,"$screen")}}}(t)},this.__captureHooks=[],this.__request_queue=[],this.__loaded=!1,this.__loaded_recorder=!1,this.__autocapture=void 0,this._jsc=function(){},this.people=new Rs(this),this.featureFlags=new Ms(this),this.feature_flags=this.featureFlags,this.toolbar=new il(this),this.pageViewIdManager=new ec,this._captureMetrics=void 0,this._requestQueue=void 0,this._retryQueue=void 0,this.persistence=void 0,this.sessionManager=void 0}return Ya(e,[{key:"init",value:function(e,t,n){if(Fi(n))dt.error("You must name your new library: init(token, config, name)");else{if(n!==rc){var r=sc(e,t,n);return Kl[n]=r,r._loaded(),r}dt.error("You must initialize the main posthog object right after you include the PostHog js snippet")}}},{key:"_init",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;if(this.__loaded=!0,this.config={},this._triggered_notifs=[],this.set_config(ji({},ic(),r,{name:o,token:e,callback_fn:(o===rc?o:rc+"."+o)+"._jsc"})),this._jsc=function(){},(null!=yi&&null!==(t=yi.rrweb)&&void 0!==t&&t.record||null!=yi&&yi.rrwebRecord)&&(this.__loaded_recorder=!0),this._captureMetrics=new cl(this.get_config("_capture_metrics")),this._requestQueue=new ll(this._captureMetrics,this._handle_queued_event.bind(this)),this._retryQueue=new Xl(this._captureMetrics,this.get_config("on_xhr_error")),this.__captureHooks=[],this.__request_queue=[],this.persistence=new Ks(this.config),this.sessionManager=new Zl(this.config,this.persistence),this._gdpr_init(),r.segment&&(this.config.get_device_id=function(){return r.segment.user().anonymousId()},r.segment.user().id()&&(this.register({distinct_id:r.segment.user().id()}),this.persistence.set_user_state("identified")),r.segment.register(this.segmentIntegration())),void 0!==(null===(n=r.bootstrap)||void 0===n?void 0:n.distinctID)){var a,i,s=this.get_config("get_device_id")(Wi()),l=null!==(a=r.bootstrap)&&void 0!==a&&a.isIdentifiedID?s:r.bootstrap.distinctID;this.persistence.set_user_state(null!==(i=r.bootstrap)&&void 0!==i&&i.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:r.bootstrap.distinctID,$device_id:l})}if(this._hasBootstrappedFeatureFlags()){var c,u,d=Object.keys((null===(c=r.bootstrap)||void 0===c?void 0:c.featureFlags)||{}).filter((function(e){var t,n;return!(null===(t=r.bootstrap)||void 0===t||null===(n=t.featureFlags)||void 0===n||!n[e])})).reduce((function(e,t){var n,o;return e[t]=(null===(n=r.bootstrap)||void 0===n||null===(o=n.featureFlags)||void 0===o?void 0:o[t])||!1,e}),{}),p=Object.keys((null===(u=r.bootstrap)||void 0===u?void 0:u.featureFlagPayloads)||{}).filter((function(e){return d[e]})).reduce((function(e,t){var n,o,a,i;return null!==(n=r.bootstrap)&&void 0!==n&&null!==(o=n.featureFlagPayloads)&&void 0!==o&&o[t]&&(e[t]=null===(a=r.bootstrap)||void 0===a||null===(i=a.featureFlagPayloads)||void 0===i?void 0:i[t]),e}),{});this.featureFlags.receivedFeatureFlags({featureFlags:d,featureFlagPayloads:p})}if(!this.get_distinct_id()){var f=this.get_config("get_device_id")(Wi());this.register_once({distinct_id:f,$device_id:f},""),this.persistence.set_user_state("anonymous")}yi.addEventListener&&yi.addEventListener("onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this))}},{key:"_loaded",value:function(){this.featureFlags.setReloadingPaused(!0);try{this.get_config("loaded")(this)}catch(e){dt.error("`loaded` function failed",e)}this._start_queue_if_opted_in(),this.get_config("capture_pageview")&&this.capture("$pageview",{},{send_instantly:!0}),this.get_config("advanced_disable_decide")||new rl(this).call(),this.featureFlags.resetRequestQueue(),this.featureFlags.setReloadingPaused(!1)}},{key:"_start_queue_if_opted_in",value:function(){this.has_opted_out_capturing()||this.get_config("request_batching")&&this._requestQueue.poll()}},{key:"_dom_loaded",value:function(){var e=this;this.has_opted_out_capturing()||Pi(this.__request_queue,(function(t){e._send_request.apply(e,ni(t))})),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_prepare_callback",value:function(e,t){if(Fi(e))return null;if(oc)return function(n){e(n,t)};var n=this._jsc,r=""+Math.floor(1e8*Math.random()),o=this.get_config("callback_fn")+"["+r+"]";return n[r]=function(o){delete n[r],e(o,t)},o}},{key:"_handle_unload",value:function(){this.get_config("request_batching")?(this.get_config("capture_pageview")&&this.get_config("capture_pageleave")&&this.capture("$pageleave"),this.get_config("_capture_metrics")&&(this._requestQueue.updateUnloadMetrics(),this.capture("$capture_metrics",this._captureMetrics.metrics)),this._requestQueue.unload(),this._retryQueue.unload()):this.get_config("capture_pageview")&&this.get_config("capture_pageleave")&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_handle_queued_event",value:function(e,t,n){var r=JSON.stringify(t);this.__compress_and_send_json_request(e,r,n||nc,tc)}},{key:"__compress_and_send_json_request",value:function(e,t,n,r){var o,a=function(e,t,n){return e===Al.LZ64?[{data:di.compressToBase64(t),compression:Al.LZ64},n]:e===Al.GZipJS?[Hl(Vl(t),{mtime:0}),Va(Va({},n),{},{blob:!0,urlQueryArgs:{compression:Al.GZipJS}})]:[{data:Vi(t)},n]}((o=this.compression)[Al.GZipJS]?Al.GZipJS:o[Al.LZ64]?Al.LZ64:Al.Base64,t,n),i=ti(a,2),s=i[0],l=i[1];this._send_request(e,s,l,r)}},{key:"_send_request",value:function(e,t,n,r){if(ac)this.__request_queue.push([e,t,n,r]);else{var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")};n=ji(o,n||{}),oc||(n.method="GET");var a="sendBeacon"in yi.navigator&&"sendBeacon"===n.transport;if(e=function(e,t,n){var r=t||{};r.ip=n.ip?1:0,r._=(new Date).getTime().toString(),r.ver=pi.LIB_VERSION;var o=e.split("?");if(o.length>1){var a,i=ai(o[1].split("&"));try{for(i.s();!(a=i.n()).done;){var s=a.value.split("=")[0];r[s]&&delete r[s]}}catch(e){i.e(e)}finally{i.f()}}var l=e.indexOf("?")>-1?"&":"?";return e+l+function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",o=[];return Ti(e,(function(e,r){t=encodeURIComponent(e.toString()),n=encodeURIComponent(r),o[o.length]=n+"="+t})),o.join(r)}(r)}(e,n.urlQueryArgs||{},{ip:this.get_config("ip")}),Ii(t)&&this.get_config("img")){var i=vi.createElement("img");i.src=e,vi.body.appendChild(i)}else if(a)try{yi.navigator.sendBeacon(e,Yl(t,Va(Va({},n),{},{sendBeacon:!0})))}catch(e){this.get_config("debug")&&dt.error(e)}else if(oc)try{Ql({url:e,data:t,headers:this.get_config("xhr_headers"),options:n,captureMetrics:this._captureMetrics,callback:r,retriesPerformedSoFar:0,retryQueue:this._retryQueue,onXHRError:this.get_config("on_xhr_error")})}catch(e){dt.error(e)}else{var s,l=vi.createElement("script");l.type="text/javascript",l.async=!0,l.defer=!0,l.src=e;var c=vi.getElementsByTagName("script")[0];null===(s=c.parentNode)||void 0===s||s.insertBefore(l,c)}}}},{key:"_execute_array",value:function(e){var t,n=this,r=[],o=[],a=[];Pi(e,(function(e){e&&(t=e[0],Ni(t)?a.push(e):"function"==typeof e?e.call(n):Ni(e)&&"alias"===t?r.push(e):Ni(e)&&-1!==t.indexOf("capture")&&"function"==typeof n[t]?a.push(e):o.push(e))}));var i=function(e,t){Pi(e,(function(e){if(Ni(e[0])){var n=t;Ti(e,(function(e){n=n[e[0]].apply(n,e.slice(1))}))}else this[e[0]].apply(this,e.slice(1))}),t)};i(r,this),i(o,this),i(a,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var e,t;return(null===(e=this.config.bootstrap)||void 0===e?void 0:e.featureFlags)&&Object.keys(null===(t=this.config.bootstrap)||void 0===t?void 0:t.featureFlags).length>0||!1}},{key:"push",value:function(e){this._execute_array([e])}},{key:"capture",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nc;if(this.__loaded&&!Ps(this,!1)){this._captureMetrics.incr("capture"),"$snapshot"===e&&this._captureMetrics.incr("snapshot");var r=(n=n||nc).transport;if(r&&(n.transport=r),Fi(e)||"string"!=typeof e)dt.error("No event name provided to posthog.capture");else if(!function(e){return!!/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp|ahrefsbot|facebookexternalhit|facebookcatalog|applebot|semrushbot|duckduckbot|twitterbot|rogerbot|linkedinbot|mj12bot|sitebulb|bot.htm|bot.php)/i.test(e)}(wi)){this.persistence.update_search_keyword(vi.referrer),this.get_config("store_google")&&this.persistence.update_campaign_params(),this.get_config("save_referrer")&&this.persistence.update_referrer_info(vi.referrer);var o={event:e,properties:this._calculate_event_properties(e,t||{})};"$identify"===e&&n.$set&&(o.$set=n.$set),(o=Hi(o,n._noTruncate?null:this.get_config("properties_string_max_length"))).timestamp=n.timestamp||new Date,this.get_config("debug")&&Ei("PostHog.js send",o);var a=JSON.stringify(o),i=this.get_config("api_host")+(n.endpoint||"/e/"),s=n!==nc;return!this.get_config("request_batching")||s&&!n._batchKey||n.send_instantly?this.__compress_and_send_json_request(i,a,n):this._requestQueue.enqueue(i,o,n),this._invokeCaptureHooks(e,o),o}}}},{key:"_addCaptureHook",value:function(e){this.__captureHooks.push(e)}},{key:"_invokeCaptureHooks",value:function(e,t){this.config._onCapture(e,t),Ti(this.__captureHooks,(function(t){return t(e)}))}},{key:"_calculate_event_properties",value:function(e,t){var n,r=this.persistence.remove_event_timer(e),o=Va({},t);if(o.token=this.get_config("token"),"$snapshot"===e){var a=this.persistence.properties();return o.distinct_id=a.distinct_id,o}var i=Xi.properties();if(this.sessionManager){var s=this.sessionManager.checkAndGetSessionAndWindowId(),l=s.sessionId,c=s.windowId;o.$session_id=l,o.$window_id=c}if(null!==(n=this.webPerformance)&&void 0!==n&&n.isEnabled&&("$pageview"===e&&this.pageViewIdManager.onPageview(),o=ji(o,{$pageview_id:this.pageViewIdManager.getPageViewId()})),"$performance_event"===e){var u=this.persistence.properties();return o.distinct_id=u.distinct_id,o.$current_url=i.$current_url,o}if(void 0!==r){var d=(new Date).getTime()-r;o.$duration=parseFloat((d/1e3).toFixed(3))}o=ji({},i,this.persistence.properties(),o);var p=this.get_config("property_blacklist");Ni(p)?Ti(p,(function(e){delete o[e]})):dt.error("Invalid value for property_blacklist config: "+p);var f=this.get_config("sanitize_properties");return f&&(o=f(o,e)),o}},{key:"register",value:function(e,t){this.persistence.register(e,t)}},{key:"register_once",value:function(e,t,n){this.persistence.register_once(e,t,n)}},{key:"unregister",value:function(e){this.persistence.unregister(e)}},{key:"_register_single",value:function(e,t){this.register(Qa({},e,t))}},{key:"getFeatureFlag",value:function(e,t){return this.featureFlags.getFeatureFlag(e,t)}},{key:"getFeatureFlagPayload",value:function(e){var t=this.featureFlags.getFeatureFlagPayload(e);try{return JSON.parse(t)}catch(e){return t}}},{key:"isFeatureEnabled",value:function(e,t){return this.featureFlags.isFeatureEnabled(e,t)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"onFeatureFlags",value:function(e){return this.featureFlags.onFeatureFlags(e)}},{key:"identify",value:function(e,t,n){if(e){this._captureMetrics.incr("identify");var r=this.get_distinct_id();if(this.register({$user_id:e}),!this.get_property("$device_id")){var o=r;this.register_once({$had_persisted_distinct_id:!0,$device_id:o},"")}e!==r&&e!==this.get_property(zs)&&(this.unregister(zs),this.register({distinct_id:e}));var a="anonymous"===this.persistence.get_user_state();e!==r&&a?(this.persistence.set_user_state("identified"),this.capture("$identify",{distinct_id:e,$anon_distinct_id:r},{$set:t||{},$set_once:n||{}}),this.featureFlags.setAnonymousDistinctId(r)):(t&&this.people.set(t),n&&this.people.set_once(n)),e!==r&&this.reloadFeatureFlags()}else dt.error("Unique user id has not been set in posthog.identify")}},{key:"group",value:function(e,t,n){if(e&&t){this._captureMetrics.incr("group");var r=this.getGroups();this.register({$groups:Va(Va({},r),{},Qa({},e,t))}),n&&this.capture("$groupidentify",{$group_type:e,$group_key:t,$group_set:n}),r[e]!==t&&this.reloadFeatureFlags()}else dt.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.reloadFeatureFlags()}},{key:"reset",value:function(e){var t=this.get_property("$device_id");this.persistence.clear(),this.persistence.set_user_state("anonymous"),this.sessionManager.resetSessionId();var n=this.get_config("get_device_id")(Wi());this.register_once({distinct_id:n,$device_id:e?n:t},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"alias",value:function(e,t){return e===this.get_property(Bs)?(Ai("Attempting to create alias for existing People user - aborting."),-2):(Fi(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(zs,e),this.capture("$create_alias",{alias:e,distinct_id:t})):(dt.error("alias matches current distinct_id - skipping api call."),this.identify(e),-1))}},{key:"set_config",value:function(e){var t=Va({},this.config);Ii(e)&&(ji(this.config,e),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),ms.is_supported()&&"true"===ms.get("ph_debug")&&(this.config.debug=!0),this.get_config("debug")&&(pi.DEBUG=!0),this.sessionRecording&&void 0!==e.disable_session_recording&&t.disable_session_recording!==e.disable_session_recording&&(e.disable_session_recording?this.sessionRecording.stopRecording():this.sessionRecording.startRecordingIfEnabled()))}},{key:"startSessionRecording",value:function(){this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var e;return!(null===(e=this.sessionRecording)||void 0===e||!e.started())}},{key:"loadToolbar",value:function(e){return this.toolbar.loadToolbar(e)}},{key:"get_config",value:function(e){var t;return null===(t=this.config)||void 0===t?void 0:t[e]}},{key:"get_property",value:function(e){return this.persistence.props[e]}},{key:"toString",value:function(){var e,t=null!==(e=this.get_config("name"))&&void 0!==e?e:rc;return t!==rc&&(t=rc+"."+t),t}},{key:"_gdpr_init",value:function(){"localStorage"===this.get_config("opt_out_capturing_persistence_type")&&ms.is_supported()&&(!this.has_opted_in_capturing()&&this.has_opted_in_capturing({persistence_type:"cookie"})&&this.opt_in_capturing({enable_persistence:!1}),!this.has_opted_out_capturing()&&this.has_opted_out_capturing({persistence_type:"cookie"})&&this.opt_out_capturing({clear_persistence:!1}),this.clear_opt_in_out_capturing({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_capturing()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_capturing()||!this.get_config("opt_out_capturing_by_default")&&!ps.get("ph_optout")||(ps.remove("ph_optout"),this.opt_out_capturing({clear_persistence:this.get_config("opt_out_persistence_by_default")}))}},{key:"_gdpr_update_persistence",value:function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t)}},{key:"_gdpr_call_func",value:function(e,t){return t=ji({capture:this.capture.bind(this),persistence_type:this.get_config("opt_out_capturing_persistence_type"),cookie_prefix:this.get_config("opt_out_capturing_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),secure_cookie:this.get_config("secure_cookie")},t||{}),ms.is_supported()||"localStorage"!==t.persistence_type||(t.persistence_type="cookie"),e(this.get_config("token"),{capture:t.capture,captureEventName:t.capture_event_name,captureProperties:t.capture_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieExpiration:t.cookie_expiration,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie})}},{key:"opt_in_capturing",value:function(e){e=ji({enable_persistence:!0},e||{}),this._gdpr_call_func(ks,e),this._gdpr_update_persistence(e)}},{key:"opt_out_capturing",value:function(e){var t=ji({clear_persistence:!0},e||{});this._gdpr_call_func(xs,t),this._gdpr_update_persistence(t)}},{key:"has_opted_in_capturing",value:function(e){return this._gdpr_call_func(Ss,e)}},{key:"has_opted_out_capturing",value:function(e){return this._gdpr_call_func(_s,e)}},{key:"clear_opt_in_out_capturing",value:function(e){var t=ji({enable_persistence:!0},null!=e?e:{});this._gdpr_call_func(Es,t),this._gdpr_update_persistence(t)}},{key:"debug",value:function(e){!1===e?(yi.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(yi.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}},{key:"decodeLZ64",value:function(e){return di.decompressFromBase64(e||null)}}]),e}();!function(e,t){for(var n=0;n1?r.createElement("div",{className:"ms-block"},r.createElement("nav",{className:" ms-flex ms-items-start ms-overflow-auto ms-justify-center ms-rounded-lg ms-text-center"},t.map((function(e,a){return r.createElement("div",{key:a},r.createElement("button",{tabIndex:0,key:a,onClick:function(){a===i||(s(a),uc.capture("selecting search type",{goingTo:t[a].name}),o&&o(t[a].name))},style:{backgroundColor:a===i?n.darkMode?"#2e2e2e":"#f9f9f9":n.darkMode?"#1a1a1a":"#ffffff"},className:"ms-mr-2 ms-min-w-[64px] ms-rounded-md sm:ms-min-w-0 ms-m-0 ms-p-0 group ms-relative ms-flex-1 ms-py-1 sm:ms-py-2 ms-px-2 ms-text-xs sm:ms-text-sm ms-font-medium focus:ms-ring-transparent focus:ms-z-10 hover:ms-cursor-pointer "},r.createElement("div",{className:"ms-flex ms-items-center ms-justify-start "},r.createElement("p",{style:{margin:0},className:" ".concat(n.darkMode?"ms-text-white":"ms-text-black")},t[a].name)),r.createElement("span",{"aria-hidden":"true",className:"ms-bg-transparent ms-absolute ms-inset-x-0 ms-bottom-0 ms-h-0.5"}),a===i&&r.createElement("div",{style:{backgroundColor:n.accentColor},className:" ms-absolute ms-inset-x-0 ms-bottom-0 ms-h-0.5 ms-w-full"})))})))):r.createElement("div",null),-1!==i&&r.createElement("div",{tabIndex:-1,className:"ms-w-full ms-rounded-xl ms-flex ms-flex-col ms-relative "},r.createElement("div",{className:"ms-overflow-auto ms-relative ms-h-fit "},r.createElement("div",{className:"ms-flex ms-flex-row ms-w-full ms-items-center ms-justify-between"},r.createElement("div",{style:{textDecorationColor:n.accentColor},className:"ms-flex ms-flex-col ms-w-full ms-items-end "},t[i].displayComponent))))))};const pc=["http","https","mailto","tel"];function fc(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++oo?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}var mc=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)};function hc(e){return e&&"object"==typeof e?"position"in e||"type"in e?yc(e.position):"start"in e||"end"in e?yc(e):"line"in e||"column"in e?gc(e):"":""}function gc(e){return bc(e&&e.line)+":"+bc(e&&e.column)}function yc(e){return gc(e&&e.start)+"-"+gc(e&&e.end)}function bc(e){return e&&"number"==typeof e?e:1}class vc extends Error{constructor(e,t,n){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=hc(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}function wc(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}vc.prototype.file="",vc.prototype.name="",vc.prototype.reason="",vc.prototype.message="",vc.prototype.stack="",vc.prototype.fatal=null,vc.prototype.column=null,vc.prototype.line=null,vc.prototype.source=null,vc.prototype.ruleId=null,vc.prototype.position=null;var kc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,xc=function(e){return kc.exec(e).slice(1)};function Sc(e){var t=_c(e),n="/"===jc(e,-1);return(e=wc(Pc(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}function _c(e){return"/"===e.charAt(0)}var Ec=function(e){return xc(e)[3]},Cc=function(e,t){var n=xc(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},Ac=function(e){var t=xc(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},Oc="/",Tc=function(){return Sc(Pc(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))};function Pc(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r1)for(var n=1;n= 0x80 (not a basic code point)","invalid-input":"Invalid input"},du=ou-1,pu=Math.floor,fu=String.fromCharCode;function mu(e){throw new RangeError(uu[e])}function hu(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function gu(e,t,n){var r=0;for(e=n?pu(e/su):e>>1,e+=pu(e/t);e>du*au>>1;r+=ou)e=pu(e/du);return pu(r+(du+1)*e/(e+iu))}function yu(e){return function(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var o=function(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}((e=e.replace(cu,".")).split("."),(function(e){return lu.test(e)?"xn--"+function(e){var t,n,r,o,a,i,s,l,c,u,d,p,f,m,h,g=[];for(e=function(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o=t&&dpu((ru-n)/(f=r+1))&&mu("overflow"),n+=(s-t)*f,t=s,i=0;iru&&mu("overflow"),d==t){for(l=n,c=ou;!(l<(u=c<=a?1:c>=a+au?au:c-a));c+=ou)h=l-u,m=ou-u,g.push(fu(hu(u+h%m,0))),l=pu(h/m);g.push(fu(hu(l,0))),a=gu(n,f,r==o),n=0,++r}++n,++t}return g.join("")}(e):e})).join(".");return r+o}(e)}function bu(e){return null===e}function vu(e){return"string"==typeof e}function wu(e){return"object"==typeof e&&null!==e}function ku(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var xu=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Su(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function _u(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r0&&s>i&&(s=i);for(var l=0;l=0?(c=f.substr(0,m),u=f.substr(m+1)):(c=f,u=""),d=decodeURIComponent(c),p=decodeURIComponent(u),ku(o,d)?xu(o[d])?o[d].push(p):o[d]=[o[d],p]:o[d]=p}return o}function Au(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}Nc.URL,Nc.URLSearchParams;var Ou=/^([a-z0-9.+-]+:)/i,Tu=/:[0-9]*$/,Pu=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ju=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Nu=["'"].concat(ju),Ru=["%","/","?",";","#"].concat(Nu),Lu=["/","?","#"],Iu=/^[+a-z0-9A-Z_-]{0,63}$/,Fu=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Du={javascript:!0,"javascript:":!0},Mu={javascript:!0,"javascript:":!0},Bu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function zu(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var n=e.protocol||"",r=e.pathname||"",o=e.hash||"",a=!1,i="";e.host?a=t+e.host:e.hostname&&(a=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(a+=":"+e.port)),e.query&&wu(e.query)&&Object.keys(e.query).length&&(i=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?_u(Eu(e),(function(r){var o=encodeURIComponent(Su(r))+n;return xu(e[r])?_u(e[r],(function(e){return o+encodeURIComponent(Su(e))})).join(t):o+encodeURIComponent(Su(e[r]))})).join(t):""}(e.query));var s=e.search||i&&"?"+i||"";return n&&":"!==n.substr(-1)&&(n+=":"),e.slashes||(!n||Bu[n])&&!1!==a?(a="//"+(a||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):a||(a=""),o&&"#"!==o.charAt(0)&&(o="#"+o),s&&"?"!==s.charAt(0)&&(s="?"+s),n+a+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+o}function $u(e){var t=e.host,n=Tu.exec(t);n&&(":"!==(n=n[0])&&(e.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(e.hostname=t)}function qu(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}Au.prototype.parse=function(e,t,n){return function(e,t,n,r){if(!vu(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),a=-1!==o&&o127?x+="x":x+=k[S];if(!x.match(Iu)){var E=w.slice(0,c),C=w.slice(c+1),A=k.match(Fu);A&&(E.push(A[1]),C.unshift(A[2])),C.length&&(s="/"+C.join(".")+s),e.hostname=E.join(".");break}}}}e.hostname.length>255?e.hostname="":e.hostname=e.hostname.toLowerCase(),v||(e.hostname=yu(e.hostname)),p=e.port?":"+e.port:"";var O=e.hostname||"";e.host=O+p,e.href+=e.host,v&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!Du[m])for(c=0,d=Nu.length;c0)&&r.host.split("@"))&&(r.auth=h.shift(),r.host=r.hostname=h.shift())),r.search=e.search,r.query=e.query,bu(r.pathname)&&bu(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!w.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var x=w.slice(-1)[0],S=(r.host||e.host||w.length>1)&&("."===x||".."===x)||""===x,_=0,E=w.length;E>=0;E--)"."===(x=w[E])?w.splice(E,1):".."===x?(w.splice(E,1),_++):_&&(w.splice(E,1),_--);if(!b&&!v)for(;_--;_)w.unshift("..");!b||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var C=""===w[0]||w[0]&&"/"===w[0].charAt(0);return k&&(r.hostname=r.host=C?"":w.length?w.shift():"",(h=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=h.shift(),r.host=r.hostname=h.shift())),(b=b||r.host&&w.length)&&!C&&w.unshift(""),w.length?r.pathname=w.join("/"):(r.pathname=null,r.path=null),bu(r.pathname)&&bu(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},Au.prototype.parseHost=function(){return $u(this)};const Uu=["history","path","basename","stem","extname","dirname"];class Hu{constructor(e){let t;t=e?"string"==typeof e||function(e){return mc(e)}(e)?{value:e}:qu(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=nu.cwd(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++rt.length;let i;a&&t.push(r);try{i=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(i instanceof Promise?i.then(o,r):i instanceof Error?r(i):o(i))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(s,o)(...i):r(null,...i)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[];let r,o={},a=-1;return i.data=function(e,t){return"string"==typeof e?2===arguments.length?(ud("data",r),o[e]=t,i):id.call(o,e)&&o[e]||null:e?(ud("data",r),o=e,i):o},i.Parser=void 0,i.Compiler=void 0,i.freeze=function(){if(r)return i;for(;++a{if(!e&&t&&n){const o=i.stringify(t,n);null==o||("string"==typeof(r=o)||mc(r)?n.value=o:n.result=o),a(e,n)}else a(e);var r}))}n(null,t)},i.processSync=function(e){let t;i.freeze(),ld("processSync",i.Parser),cd("processSync",i.Compiler);const n=fd(e);return i.process(n,(function(e){t=!0,Ku(e)})),pd("processSync","process",t),n},i;function i(){const t=e();let r=-1;for(;++ro?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),[].splice.apply(e,a);else for(n&&[].splice.apply(e,[t,n]);i0?(gd(e,e.length,0,t),e):t}const bd={}.hasOwnProperty;function vd(e){const t={};let n=-1;for(;++na))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(y(i),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Md={tokenize:function(e,t,n){return Id(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function Bd(e){return null===e||Td(e)||Nd(e)?1:Rd(e)?2:void 0}function zd(e,t,n){const r=[];let o=-1;for(;++o1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);qd(d,-s),qd(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},i={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},a.start),e[u][1].start=Object.assign({},i.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=yd(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=yd(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),l=yd(l,zd(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=yd(l,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=yd(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,gd(e,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\ud835\udd0a",Gg:"\u22d9",Gopf:"\ud835\udd3e",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",Gt:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",HilbertSpace:"\u210b",Hopf:"\u210d",HorizontalLine:"\u2500",Hscr:"\u210b",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xcc",Im:"\u2111",Imacr:"\u012a",ImaginaryI:"\u2148",Implies:"\u21d2",Int:"\u222c",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012e",Iopf:"\ud835\udd40",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\ud835\udd0d",Jopf:"\ud835\udd41",Jscr:"\ud835\udca5",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\ud835\udd0e",Kopf:"\ud835\udd42",Kscr:"\ud835\udca6",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Larr:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Lfr:"\ud835\udd0f",Ll:"\u22d8",Lleftarrow:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lopf:"\ud835\udd43",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",MinusPlus:"\u2213",Mopf:"\ud835\udd44",Mscr:"\u2133",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",Nfr:"\ud835\udd11",NoBreak:"\u2060",NonBreakingSpace:"\xa0",Nopf:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\ud835\udca9",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\ud835\udd12",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",Omicron:"\u039f",Oopf:"\ud835\udd46",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",Or:"\u2a54",Oscr:"\ud835\udcaa",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",Pcy:"\u041f",Pfr:"\ud835\udd13",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Poincareplane:"\u210c",Popf:"\u2119",Pr:"\u2abb",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Prime:"\u2033",Product:"\u220f",Proportion:"\u2237",Proportional:"\u221d",Pscr:"\ud835\udcab",Psi:"\u03a8",QUOT:'"',Qfr:"\ud835\udd14",Qopf:"\u211a",Qscr:"\ud835\udcac",RBarr:"\u2910",REG:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",Rfr:"\u211c",Rho:"\u03a1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",Rightarrow:"\u21d2",Ropf:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",Rscr:"\u211b",Rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\ud835\udd16",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",Sopf:"\ud835\udd4a",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\ud835\udcae",Star:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Sup:"\u22d1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",THORN:"\xde",TRADE:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\ud835\udd17",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\ud835\udd4b",TripleDot:"\u20db",Tscr:"\ud835\udcaf",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\ud835\udd18",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",Uopf:"\ud835\udd4c",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",UpTee:"\u22a5",UpTeeArrow:"\u21a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\ud835\udcb0",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",Vopf:"\ud835\udd4d",Vscr:"\ud835\udcb1",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",Wfr:"\ud835\udd1a",Wopf:"\ud835\udd4e",Wscr:"\ud835\udcb2",Xfr:"\ud835\udd1b",Xi:"\u039e",Xopf:"\ud835\udd4f",Xscr:"\ud835\udcb3",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\ud835\udd1c",Yopf:"\ud835\udd50",Yscr:"\ud835\udcb4",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",ZeroWidthSpace:"\u200b",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\ud835\udcb5",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acute:"\xb4",acy:"\u0430",aelig:"\xe6",af:"\u2061",afr:"\ud835\udd1e",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",amp:"&",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",aopf:"\ud835\udd52",ap:"\u2248",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",apid:"\u224b",apos:"'",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",ascr:"\ud835\udcb6",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",beta:"\u03b2",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",bprime:"\u2035",breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",bumpeq:"\u224f",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cedil:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",cfr:"\ud835\udd20",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",conint:"\u222e",copf:"\ud835\udd54",coprod:"\u2210",copy:"\xa9",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dArr:"\u21d3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21ca",ddotseq:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",dharl:"\u21c3",dharr:"\u21c2",diam:"\u22c4",diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",dot:"\u02d9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eDDot:"\u2a77",eDot:"\u2251",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",ecirc:"\xea",ecolon:"\u2255",ecy:"\u044d",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",equals:"=",equest:"\u225f",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",erarr:"\u2971",escr:"\u212f",esdot:"\u2250",esim:"\u2242",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",forall:"\u2200",fork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",gE:"\u2267",gEl:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gammad:"\u03dd",gap:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",gg:"\u226b",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",grave:"`",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hArr:"\u21d4",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",hbar:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",horbar:"\u2015",hscr:"\ud835\udcbd",hslash:"\u210f",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",ic:"\u2063",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",intcal:"\u22ba",integers:"\u2124",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\ud835\udd5a",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",isin:"\u2208",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\ud835\udd27",jmath:"\u0237",jopf:"\ud835\udd5b",jscr:"\ud835\udcbf",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\ud835\udd28",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\ud835\udd5c",kscr:"\ud835\udcc0",lAarr:"\u21da",lArr:"\u21d0",lAtail:"\u291b",lBarr:"\u290e",lE:"\u2266",lEg:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",laquo:"\xab",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lceil:"\u2308",lcub:"{",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21a2",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",leftthreetimes:"\u22cb",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",measuredangle:"\u2221",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",mstpos:"\u223e",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nGtv:"\u226b\u0338",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nLtv:"\u226a\u0338",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",ne:"\u2260",neArr:"\u21d7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",ngsim:"\u2275",ngt:"\u226f",ngtr:"\u226f",nhArr:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",nlArr:"\u21cd",nlE:"\u2266\u0338",nlarr:"\u219a",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219a",nleftrightarrow:"\u21ae",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nlsim:"\u2274",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nmid:"\u2224",nopf:"\ud835\udd5f",not:"\xac",notin:"\u2209",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24c8",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",ocy:"\u043e",odash:"\u229d",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\ud835\udd2c",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",opar:"\u29b7",operp:"\u29b9",oplus:"\u2295",or:"\u2228",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oscr:"\u2134",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimes:"\u2297",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",pointint:"\u2a15",popf:"\ud835\udd61",pound:"\xa3",pr:"\u227a",prE:"\u2ab3",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",primes:"\u2119",prnE:"\u2ab5",prnap:"\u2ab9",prnsim:"\u22e8",prod:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",psi:"\u03c8",puncsp:"\u2008",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",qprime:"\u2057",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',rAarr:"\u21db",rArr:"\u21d2",rAtail:"\u291c",rBarr:"\u290f",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",rightarrow:"\u2192",rightarrowtail:"\u21a3",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",rightthreetimes:"\u22cc",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",rsaquo:"\u203a",rscr:"\ud835\udcc7",rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",sbquo:"\u201a",sc:"\u227b",scE:"\u2ab4",scap:"\u2ab8",scaron:"\u0161",sccue:"\u227d",sce:"\u2ab0",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",seArr:"\u21d8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",subE:"\u2ac5",subdot:"\u2abd",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",supE:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tbrk:"\u23b4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",tilde:"\u02dc",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uArr:"\u21d1",uHar:"\u2963",uacute:"\xfa",uarr:"\u2191",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udarr:"\u21c5",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",ugrave:"\xf9",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uml:"\xa8",uogon:"\u0173",uopf:"\ud835\udd66",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",upsi:"\u03c5",upsih:"\u03d2",upsilon:"\u03c5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\ud835\udcca",utdot:"\u22f0",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",uwangle:"\u29a7",vArr:"\u21d5",vBar:"\u2ae8",vBarv:"\u2ae9",vDash:"\u22a8",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vcy:"\u0432",vdash:"\u22a2",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",vert:"|",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\ud835\udd36",yicy:"\u0457",yopf:"\ud835\udd6a",yscr:"\ud835\udcce",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeetrf:"\u2128",zeta:"\u03b6",zfr:"\ud835\udd37",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"},Kd={}.hasOwnProperty;function Yd(e){return!!Kd.call(Wd,e)&&Wd[e]}const Qd={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,a,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,a=Ed,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=_d,c):(e.enter("characterReferenceValue"),o=7,a=Sd,c(t))}function c(s){let l;return 59===s&&i?(l=e.exit("characterReferenceValue"),a!==Ed||Yd(r.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):a(s)&&i++=4?a(e):n(e)}function a(t){return null===t?s(t):Pd(t)?e.attempt(Jd,a,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Pd(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)}function s(n){return e.exit("codeIndented"),t(n)}}},Jd={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Pd(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):Id(e,a,"linePrefix",5)(t)}function a(e){const a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Pd(e)?o(e):n(e)}},partial:!0},ep={name:"codeText",tokenize:function(e,t,n){let r,o,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),a++,i):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):Pd(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Pd(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};function ap(e,t,n,r,o,a,i,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d):null===t||41===t||Od(t)?n(t):(e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||Pd(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(o){return 40===o?++u>c?n(o):(e.consume(o),m):41===o?u--?(e.consume(o),m):(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(o)):null===o||Td(o)?u?n(o):(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(o)):Od(o)?n(o):(e.consume(o),92===o?h:m)}function h(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function ip(e,t,n,r,o,a){const i=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(a),c};function c(d){return null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs||l>999?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):Pd(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||Pd(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s=s||!jd(t),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function sp(e,t,n,r,o,a){let i;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,s};function s(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===i?(e.exit(a),s(i)):null===t?n(t):Pd(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Id(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||Pd(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function lp(e,t){let n;return function r(o){return Pd(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):jd(o)?Id(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function cp(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const up={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),ip.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function a(t){return o=cp(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),lp(e,ap(e,e.attempt(dp,Id(e,i,"whitespace"),Id(e,i,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function i(a){return null===a||Pd(a)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(a)):n(a)}}},dp={tokenize:function(e,t,n){return function(t){return Td(t)?lp(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?sp(e,Id(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||Pd(e)?t(e):n(e)}},partial:!0},pp={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return Pd(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}},fp={name:"headingAtx",tokenize:function(e,t,n){const r=this;let o=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),a(t)};function a(s){return 35===s&&o++<6?(e.consume(s),a):null===s||Td(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):i(s)):n(s)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Pd(n)?(e.exit("atxHeading"),t(n)):jd(n)?Id(e,i,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function l(t){return null===t||35===t||Td(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,o=e.length-2,a=3;return"whitespace"===e[a][1].type&&(a+=2),o-2>a&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},gd(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},mp=["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","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],hp=["pre","script","style","textarea"],gp={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,a,i,s,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),f):63===s?(e.consume(s),o=3,r.interrupt?t:L):xd(s)?(e.consume(s),i=String.fromCharCode(s),a=!0,m):n(s)}function u(a){return 45===a?(e.consume(a),o=2,d):91===a?(e.consume(a),o=5,i="CDATA[",s=0,p):xd(a)?(e.consume(a),o=4,r.interrupt?t:L):n(a)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:L):n(o)}function p(o){return o===i.charCodeAt(s++)?(e.consume(o),s===i.length?r.interrupt?t:C:p):n(o)}function f(t){return xd(t)?(e.consume(t),i=String.fromCharCode(t),m):n(t)}function m(s){return null===s||47===s||62===s||Td(s)?47!==s&&a&&hp.includes(i.toLowerCase())?(o=1,r.interrupt?t(s):C(s)):mp.includes(i.toLowerCase())?(o=6,47===s?(e.consume(s),h):r.interrupt?t(s):C(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?y(s):g(s)):45===s||Ed(s)?(e.consume(s),i+=String.fromCharCode(s),m):n(s)}function h(o){return 62===o?(e.consume(o),r.interrupt?t:C):n(o)}function g(t){return jd(t)?(e.consume(t),g):_(t)}function y(t){return 47===t?(e.consume(t),_):58===t||95===t||xd(t)?(e.consume(t),b):jd(t)?(e.consume(t),y):_(t)}function b(t){return 45===t||46===t||58===t||95===t||Ed(t)?(e.consume(t),b):v(t)}function v(t){return 61===t?(e.consume(t),w):jd(t)?(e.consume(t),v):y(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,k):jd(t)?(e.consume(t),w):(l=null,x(t))}function k(t){return null===t||Pd(t)?n(t):t===l?(e.consume(t),S):(e.consume(t),k)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||Td(t)?v(t):(e.consume(t),x)}function S(e){return 47===e||62===e||jd(e)?y(e):n(e)}function _(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return jd(t)?(e.consume(t),E):null===t||Pd(t)?C(t):n(t)}function C(t){return 45===t&&2===o?(e.consume(t),P):60===t&&1===o?(e.consume(t),j):62===t&&4===o?(e.consume(t),I):63===t&&3===o?(e.consume(t),L):93===t&&5===o?(e.consume(t),R):!Pd(t)||6!==o&&7!==o?null===t||Pd(t)?A(t):(e.consume(t),C):e.check(yp,I,A)(t)}function A(t){return e.exit("htmlFlowData"),O(t)}function O(t){return null===t?F(t):Pd(t)?e.attempt({tokenize:T,partial:!0},O,F)(t):(e.enter("htmlFlowData"),C(t))}function T(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function P(t){return 45===t?(e.consume(t),L):C(t)}function j(t){return 47===t?(e.consume(t),i="",N):C(t)}function N(t){return 62===t&&hp.includes(i.toLowerCase())?(e.consume(t),I):xd(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),N):C(t)}function R(t){return 93===t?(e.consume(t),L):C(t)}function L(t){return 62===t?(e.consume(t),I):45===t&&2===o?(e.consume(t),L):C(t)}function I(t){return null===t||Pd(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),I)}function F(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},yp={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(Hd,t,n)}},partial:!0},bp={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,a,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),x):63===t?(e.consume(t),w):xd(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),a="CDATA[",i=0,h):xd(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),d):n(t)}function d(t){return null===t||62===t?n(t):45===t?(e.consume(t),p):f(t)}function p(e){return null===e||62===e?n(e):f(e)}function f(t){return null===t?n(t):45===t?(e.consume(t),m):Pd(t)?(s=f,R(t)):(e.consume(t),f)}function m(t){return 45===t?(e.consume(t),I):f(t)}function h(t){return t===a.charCodeAt(i++)?(e.consume(t),i===a.length?g:h):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):Pd(t)?(s=g,R(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),b):g(t)}function b(t){return 62===t?I(t):93===t?(e.consume(t),b):g(t)}function v(t){return null===t||62===t?I(t):Pd(t)?(s=v,R(t)):(e.consume(t),v)}function w(t){return null===t?n(t):63===t?(e.consume(t),k):Pd(t)?(s=w,R(t)):(e.consume(t),w)}function k(e){return 62===e?I(e):w(e)}function x(t){return xd(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||Ed(t)?(e.consume(t),S):_(t)}function _(t){return Pd(t)?(s=_,R(t)):jd(t)?(e.consume(t),_):I(t)}function E(t){return 45===t||Ed(t)?(e.consume(t),E):47===t||62===t||Td(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),I):58===t||95===t||xd(t)?(e.consume(t),A):Pd(t)?(s=C,R(t)):jd(t)?(e.consume(t),C):I(t)}function A(t){return 45===t||46===t||58===t||95===t||Ed(t)?(e.consume(t),A):O(t)}function O(t){return 61===t?(e.consume(t),T):Pd(t)?(s=O,R(t)):jd(t)?(e.consume(t),O):C(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,P):Pd(t)?(s=T,R(t)):jd(t)?(e.consume(t),T):(e.consume(t),o=void 0,N)}function P(t){return t===o?(e.consume(t),j):null===t?n(t):Pd(t)?(s=P,R(t)):(e.consume(t),P)}function j(e){return 62===e||47===e||Td(e)?C(e):n(e)}function N(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||Td(t)?C(t):(e.consume(t),N)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Id(e,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function L(t){return e.enter("htmlTextData"),s(t)}function I(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}},vp={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,a,i=r.events.length;for(;i--;)if(("labelImage"===r.events[i][1].type||"labelLink"===r.events[i][1].type)&&!r.events[i][1]._balanced){o=r.events[i][1];break}return function(t){return o?o._inactive?l(t):(a=r.parser.defined.includes(cp(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(n){return 40===n?e.attempt(wp,t,a?t:l)(n):91===n?e.attempt(kp,t,a?e.attempt(xp,t,l):l)(n):a?t(n):l(n)}function l(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,a,i=e.length,s=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=i);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return a=[["enter",l,t],["enter",c,t]],a=yd(a,e.slice(r+1,r+s+3)),a=yd(a,[["enter",u,t]]),a=yd(a,zd(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),a=yd(a,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),a=yd(a,e.slice(o+1)),a=yd(a,[["exit",l,t]]),gd(e,r,e.length,a),e},resolveAll:function(e){let t,n=-1;for(;++n-1&&(i[0]=i[0].slice(r)),a>0&&i.push(e[o].slice(0,a))),i}(i,e)}function p(){return Object.assign({},r)}function f(e){u=u(e)}function m(e,t){t.restore()}function h(e,t){return function(n,o,a){let i,u,d,f;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return i=e,u=0,0===e.length?a:h(e[u])}function h(e){return function(n){return f=function(){const e=p(),t=c.previous,n=c.currentConstruct,o=c.events.length,a=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,s=a,y()},from:o}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?b():e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,g,b)(n)}}function g(t){return e(d,f),o}function b(e){return f.restore(),++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const Yp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qp(e){return e.replace(Yp,Xp)}function Xp(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Kp(n.slice(t?2:1),t?16:10)}return Yd(n)||e}const Zp={}.hasOwnProperty,Jp=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(w),autolinkProtocol:p,autolinkEmail:p,atxHeading:i(y),blockQuote:i((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:i(g),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(g,s),codeText:i((function(){return{type:"inlineCode",value:""}}),s),codeTextData:p,data:p,codeFlowValue:p,definition:i((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:i(b),hardBreakTrailing:i(b),htmlFlow:i(v,s),htmlFlowData:p,htmlText:i(v,s),htmlTextData:p,image:i((function(){return{type:"image",title:null,url:"",alt:null}})),label:s,link:i(w),listItem:i((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){a("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue"))},listOrdered:i(k,(function(){o("expectingFirstListItemValue",!0)})),listUnordered:i(k),paragraph:i((function(){return{type:"paragraph",children:[]}})),reference:function(){o("referenceType","collapsed")},referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(y),strong:i((function(){return{type:"strong",children:[]}})),thematicBreak:i((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){f.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){f.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=a("characterReferenceType");let r;n?(r=Kp(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType")):r=Yd(t);const i=this.stack.pop();i.value+=r,i.position.end=ef(e.end)},codeFenced:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")})),codeFencedFence:function(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:f,codeIndented:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:f,data:f,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cp(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(m),hardBreakTrailing:c(m),htmlFlow:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:f,htmlText:c((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:f,image:c((function(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Qp(t),n.identifier=cp(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(a("atHardBreak"))return n.children[n.children.length-1].position.end=ef(e.end),void o("atHardBreak");!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(p.call(this,e),f.call(this,e))},link:c((function(){const e=this.stack[this.stack.length-1];if(a("inReference")){const t=a("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")})),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=cp(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){o("inReference")},setextHeading:c((function(){o("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){o("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};tf(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let n={type:"root",children:[]};const i={stack:[n],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:d,setData:o,getData:a},c=[];let p=-1;for(;++p0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||rf).call(i,void 0,e[0])}for(n.position={start:ef(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ef(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p{const n=this.data("settings");return Jp(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function af(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&a<57344){const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="\ufffd"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function sf(e,t){const n=String(t.identifier).toUpperCase(),r=af(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let a;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=o+1);const i=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function lf(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({type:"text",value:"["});const i=o[o.length-1];return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}function cf(e){const t=e.spread;return null==t?e.children.length>1:t}const uf=pf("start"),df=pf("end");function pf(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const ff=9,mf=32;function hf(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const a=[];for(;r;)a.push(gf(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(gf(t.slice(o),o>0,!1)),a.join("")}function gf(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===ff||t===mf;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===ff||t===mf;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const yf={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let a={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:sf,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},sf(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return lf(e,t);const r={src:af(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:af(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return lf(e,t);const r={href:af(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:af(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=uf(t.children[1]),i=df(t.children[t.children.length-1]);a.line&&i.line&&(r.position={start:a,end:i}),o.push(r)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,i=a?a.length:t.children.length;let s=-1;const l=[];for(;++s":""))+")"})}return u;function u(){let c,u,d,p=[];if((!t||o(i,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:[e]}(n(i,l)),p[0]===Sf))return p;if(i.children&&"skip"!==p[0])for(u=(r?i.children.length:-1)+a,d=l.concat(i);u>-1&&u0&&n.push({type:"text",value:"\n"}),n}function Lf(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return i.dangerous=r,i.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,i.footnoteLabel=n.footnoteLabel||"Footnotes",i.footnoteLabelTagName=n.footnoteLabelTagName||"h2",i.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=n.footnoteBackLabel||"Back to content",i.unknownHandler=n.unknownHandler,i.passThrough=n.passThrough,i.handlers={...yf,...n.handlers},i.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Ef(e,"definition",(e=>{const n=Af(e.identifier);n&&!Cf.call(t,n)&&(t[n]=e)})),function(e){const n=Af(e);return n&&Cf.call(t,n)?t[n]:null}}(e),i.footnoteById=o,i.footnoteOrder=[],i.footnoteCounts={},i.patch=Tf,i.applyData=Pf,i.one=function(e,t){return jf(i,e,t)},i.all=function(e){return Nf(i,e)},i.wrap=Rf,i.augment=a,Ef(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Of.call(o,t)||(o[t]=e)})),i;function a(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)})(n)||(t.position={start:uf(n),end:df(n)})}return t}function i(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),a(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),o=function(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else o.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}var If,Ff,Df,Mf,Bf,zf,$f,qf,Uf,Hf,Vf,Gf,Wf,Kf,Yf,Qf=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(Lf(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>Lf(t,e)}(e||t)},Xf={},Zf={get exports(){return Xf},set exports(e){Xf=e}},Jf={},em={get exports(){return Jf},set exports(e){Jf=e}},tm={},nm={};function rm(){return Df||(Df=1,e=em,"production"===nu.env.NODE_ENV?e.exports=function(){if(If)return tm;If=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case f:case i:return e;default:return p}}case n:return p}}}function w(e){return v(e)===c}return tm.AsyncMode=l,tm.ConcurrentMode=c,tm.ContextConsumer=s,tm.ContextProvider=i,tm.Element=t,tm.ForwardRef=u,tm.Fragment=r,tm.Lazy=m,tm.Memo=f,tm.Portal=n,tm.Profiler=a,tm.StrictMode=o,tm.Suspense=d,tm.isAsyncMode=function(e){return w(e)||v(e)===l},tm.isConcurrentMode=w,tm.isContextConsumer=function(e){return v(e)===s},tm.isContextProvider=function(e){return v(e)===i},tm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},tm.isForwardRef=function(e){return v(e)===u},tm.isFragment=function(e){return v(e)===r},tm.isLazy=function(e){return v(e)===m},tm.isMemo=function(e){return v(e)===f},tm.isPortal=function(e){return v(e)===n},tm.isProfiler=function(e){return v(e)===a},tm.isStrictMode=function(e){return v(e)===o},tm.isSuspense=function(e){return v(e)===d},tm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},tm.typeOf=v,tm}():e.exports=(Ff||(Ff=1,"production"!==nu.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var h=e.type;switch(h){case l:case c:case r:case a:case o:case d:return h;default:var g=h&&h.$$typeof;switch(g){case s:case u:case m:case f:case i:return g;default:return p}}case n:return p}}}var w=l,k=c,x=s,S=i,_=t,E=u,C=r,A=m,O=f,T=n,P=a,j=o,N=d,R=!1;function L(e){return v(e)===c}nm.AsyncMode=w,nm.ConcurrentMode=k,nm.ContextConsumer=x,nm.ContextProvider=S,nm.Element=_,nm.ForwardRef=E,nm.Fragment=C,nm.Lazy=A,nm.Memo=O,nm.Portal=T,nm.Profiler=P,nm.StrictMode=j,nm.Suspense=N,nm.isAsyncMode=function(e){return R||(R=!0,dt.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(e)||v(e)===l},nm.isConcurrentMode=L,nm.isContextConsumer=function(e){return v(e)===s},nm.isContextProvider=function(e){return v(e)===i},nm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},nm.isForwardRef=function(e){return v(e)===u},nm.isFragment=function(e){return v(e)===r},nm.isLazy=function(e){return v(e)===m},nm.isMemo=function(e){return v(e)===f},nm.isPortal=function(e){return v(e)===n},nm.isProfiler=function(e){return v(e)===a},nm.isStrictMode=function(e){return v(e)===o},nm.isSuspense=function(e){return v(e)===d},nm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h)},nm.typeOf=v}()),nm)),Jf;var e}function om(){return $f?zf:($f=1,zf="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function am(){return Uf?qf:(Uf=1,qf=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==nu.env.NODE_ENV){var im=rm();Zf.exports=function(){if(Wf)return Gf;Wf=1;var e=rm(),t=function(){if(Bf)return Mf;Bf=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Mf=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==nu.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,r,o,a,i){var s=t[r],l=b(s);if("object"!==l)return new f("Invalid "+a+" `"+i+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(o,a,i,c,v(u));var d=u(s,c,o,a,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(o,a,i,s,l){var c=o[a],u=b(c);if("object"!==u)return new f("Invalid "+s+" `"+l+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var p in d){var m=e[p];if(r(e,p)&&"function"!=typeof m)return g(i,s,l,p,v(m));if(!m)return new f("Invalid "+s+" `"+l+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=m(c,p,i,s,l+"."+p,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==nu.env.NODE_ENV)var t={},r=0;function o(o,i,s,c,d,p,m){if(c=c||u,p=p||s,m!==n){if(l){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==nu.env.NODE_ENV&&void 0!==dt){var g=c+":"+s;!t[g]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,r++)}}return null==i[s]?o?null===i[s]?new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new f("The "+d+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,s,c,d,p)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return m((function(t,n,r,o,a,i){var s=t[n];return b(s)!==e?new f("Invalid "+o+" `"+a+"` of type `"+v(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,o){return new f((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||s(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},Gf}()(im.isElement,!0)}else Zf.exports=function(){if(Yf)return Kf;Yf=1;var e=om();function t(){}function n(){}return n.resetWarningCache=t,Kf=function(){function r(t,n,r,o,a,i){if(i!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();class sm{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function lm(e,t){const n={},r={};let o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Am=Em({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Om(e,t){return t in e?e[t]:t}function Tm(e,t){return Om(e,t.toLowerCase())}const Pm=Em({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Tm,properties:{xmlns:null,xmlnsXLink:null}}),jm=Em({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:fm,ariaAutoComplete:null,ariaBusy:fm,ariaChecked:fm,ariaColCount:hm,ariaColIndex:hm,ariaColSpan:hm,ariaControls:gm,ariaCurrent:null,ariaDescribedBy:gm,ariaDetails:null,ariaDisabled:fm,ariaDropEffect:gm,ariaErrorMessage:null,ariaExpanded:fm,ariaFlowTo:gm,ariaGrabbed:fm,ariaHasPopup:null,ariaHidden:fm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:gm,ariaLevel:hm,ariaLive:null,ariaModal:fm,ariaMultiLine:fm,ariaMultiSelectable:fm,ariaOrientation:null,ariaOwns:gm,ariaPlaceholder:null,ariaPosInSet:hm,ariaPressed:fm,ariaReadOnly:fm,ariaRelevant:null,ariaRequired:fm,ariaRoleDescription:gm,ariaRowCount:hm,ariaRowIndex:hm,ariaRowSpan:hm,ariaSelected:fm,ariaSetSize:hm,ariaSort:null,ariaValueMax:hm,ariaValueMin:hm,ariaValueNow:hm,ariaValueText:null,role:null}}),Nm=Em({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Tm,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ym,acceptCharset:gm,accessKey:gm,action:null,allow:null,allowFullScreen:pm,allowPaymentRequest:pm,allowUserMedia:pm,alt:null,as:null,async:pm,autoCapitalize:null,autoComplete:gm,autoFocus:pm,autoPlay:pm,capture:pm,charSet:null,checked:pm,cite:null,className:gm,cols:hm,colSpan:null,content:null,contentEditable:fm,controls:pm,controlsList:gm,coords:hm|ym,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pm,defer:pm,dir:null,dirName:null,disabled:pm,download:mm,draggable:fm,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pm,formTarget:null,headers:gm,height:hm,hidden:pm,high:hm,href:null,hrefLang:null,htmlFor:gm,httpEquiv:gm,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:pm,itemId:null,itemProp:gm,itemRef:gm,itemScope:pm,itemType:gm,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pm,low:hm,manifest:null,max:null,maxLength:hm,media:null,method:null,min:null,minLength:hm,multiple:pm,muted:pm,name:null,nonce:null,noModule:pm,noValidate:pm,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pm,optimum:hm,pattern:null,ping:gm,placeholder:null,playsInline:pm,poster:null,preload:null,readOnly:pm,referrerPolicy:null,rel:gm,required:pm,reversed:pm,rows:hm,rowSpan:hm,sandbox:gm,scope:null,scoped:pm,seamless:pm,selected:pm,shape:null,size:hm,sizes:null,slot:null,span:hm,spellCheck:fm,src:null,srcDoc:null,srcLang:null,srcSet:null,start:hm,step:null,style:null,tabIndex:hm,target:null,title:null,translate:null,type:null,typeMustMatch:pm,useMap:null,value:fm,width:hm,wrap:null,align:null,aLink:null,archive:gm,axis:null,background:null,bgColor:null,border:hm,borderColor:null,bottomMargin:hm,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pm,declare:pm,event:null,face:null,frame:null,frameBorder:null,hSpace:hm,leftMargin:hm,link:null,longDesc:null,lowSrc:null,marginHeight:hm,marginWidth:hm,noResize:pm,noHref:pm,noShade:pm,noWrap:pm,object:null,profile:null,prompt:null,rev:null,rightMargin:hm,rules:null,scheme:null,scrolling:fm,standby:null,summary:null,text:null,topMargin:hm,valueType:null,version:null,vAlign:null,vLink:null,vSpace:hm,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pm,disableRemotePlayback:pm,prefix:null,property:null,results:hm,security:null,unselectable:null}}),Rm=Em({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Om,properties:{about:bm,accentHeight:hm,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:hm,amplitude:hm,arabicForm:null,ascent:hm,attributeName:null,attributeType:null,azimuth:hm,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:hm,by:null,calcMode:null,capHeight:hm,className:gm,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:hm,diffuseConstant:hm,direction:null,display:null,dur:null,divisor:hm,dominantBaseline:null,download:pm,dx:null,dy:null,edgeMode:null,editable:null,elevation:hm,enableBackground:null,end:null,event:null,exponent:hm,externalResourcesRequired:null,fill:null,fillOpacity:hm,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ym,g2:ym,glyphName:ym,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:hm,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:hm,horizOriginX:hm,horizOriginY:hm,id:null,ideographic:hm,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:hm,k:hm,k1:hm,k2:hm,k3:hm,k4:hm,kernelMatrix:bm,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:hm,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:hm,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:hm,overlineThickness:hm,paintOrder:null,panose1:null,path:null,pathLength:hm,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:gm,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:hm,pointsAtY:hm,pointsAtZ:hm,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:bm,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:bm,rev:bm,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:bm,requiredFeatures:bm,requiredFonts:bm,requiredFormats:bm,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:hm,specularExponent:hm,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:hm,strikethroughThickness:hm,string:null,stroke:null,strokeDashArray:bm,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:hm,strokeOpacity:hm,strokeWidth:null,style:null,surfaceScale:hm,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:bm,tabIndex:hm,tableValues:null,target:null,targetX:hm,targetY:hm,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:bm,to:null,transform:null,u1:null,u2:null,underlinePosition:hm,underlineThickness:hm,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:hm,values:null,vAlphabetic:hm,vMathematical:hm,vectorEffect:null,vHanging:hm,vIdeographic:hm,version:null,vertAdvY:hm,vertOriginX:hm,vertOriginY:hm,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:hm,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Lm=/^data[-\w.:]+$/i,Im=/-[a-z]/g,Fm=/[A-Z]/g;function Dm(e){return"-"+e.toLowerCase()}function Mm(e){return e.charAt(1).toUpperCase()}const Bm={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},zm=lm([Am,Cm,Pm,jm,Nm],"html"),$m=lm([Am,Cm,Pm,jm,Rm],"svg"),qm=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),_f(e,t,(function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)};function Um(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{qm(t,"element",((t,n,r)=>{const o=r;let a;if(e.allowedElements?a=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(t.tagName)),!a&&e.allowElement&&"number"==typeof n&&(a=!e.allowElement(t,n,o)),a&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}var Hm,Vm,Gm,Wm={},Km={get exports(){return Wm},set exports(e){Wm=e}},Ym={},Qm={};Gm=Km,"production"===nu.env.NODE_ENV?Gm.exports=function(){if(Hm)return Ym;Hm=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case f:case p:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),Ym.ContextConsumer=s,Ym.ContextProvider=i,Ym.Element=t,Ym.ForwardRef=c,Ym.Fragment=r,Ym.Lazy=f,Ym.Memo=p,Ym.Portal=n,Ym.Profiler=a,Ym.StrictMode=o,Ym.Suspense=u,Ym.SuspenseList=d,Ym.isAsyncMode=function(){return!1},Ym.isConcurrentMode=function(){return!1},Ym.isContextConsumer=function(e){return h(e)===s},Ym.isContextProvider=function(e){return h(e)===i},Ym.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ym.isForwardRef=function(e){return h(e)===c},Ym.isFragment=function(e){return h(e)===r},Ym.isLazy=function(e){return h(e)===f},Ym.isMemo=function(e){return h(e)===p},Ym.isPortal=function(e){return h(e)===n},Ym.isProfiler=function(e){return h(e)===a},Ym.isStrictMode=function(e){return h(e)===o},Ym.isSuspense=function(e){return h(e)===u},Ym.isSuspenseList=function(e){return h(e)===d},Ym.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Ym.typeOf=h,Ym}():Gm.exports=(Vm||(Vm=1,"production"!==nu.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var h=e.type;switch(h){case r:case a:case o:case u:case d:return h;default:var g=h&&h.$$typeof;switch(g){case l:case s:case c:case f:case p:case i:return g;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var g=s,y=i,b=t,v=c,w=r,k=f,x=p,S=n,_=a,E=o,C=u,A=d,O=!1,T=!1;Qm.ContextConsumer=g,Qm.ContextProvider=y,Qm.Element=b,Qm.ForwardRef=v,Qm.Fragment=w,Qm.Lazy=k,Qm.Memo=x,Qm.Portal=S,Qm.Profiler=_,Qm.StrictMode=E,Qm.Suspense=C,Qm.SuspenseList=A,Qm.isAsyncMode=function(e){return O||(O=!0,dt.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Qm.isConcurrentMode=function(e){return T||(T=!0,dt.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Qm.isContextConsumer=function(e){return h(e)===s},Qm.isContextProvider=function(e){return h(e)===i},Qm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qm.isForwardRef=function(e){return h(e)===c},Qm.isFragment=function(e){return h(e)===r},Qm.isLazy=function(e){return h(e)===f},Qm.isMemo=function(e){return h(e)===p},Qm.isPortal=function(e){return h(e)===n},Qm.isProfiler=function(e){return h(e)===a},Qm.isStrictMode=function(e){return h(e)===o},Qm.isSuspense=function(e){return h(e)===u},Qm.isSuspenseList=function(e){return h(e)===d},Qm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||!(t!==r&&t!==a&&t!==o&&t!==u&&t!==d&&t!==m)||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Qm.typeOf=h}()),Qm);var Xm=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Wm);function Zm(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var Jm={},eh={get exports(){return Jm},set exports(e){Jm=e}},th=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,nh=/\n/g,rh=/^\s*/,oh=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ah=/^:\s*/,ih=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,sh=/^[;\s]*/,lh=/^\s+|\s+$/g,ch="";function uh(e){return e?e.replace(lh,ch):ch}function dh(e,t){var n,r=null;if(!e||"string"!=typeof e)return r;for(var o,a,i=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(e){var t=e.match(nh);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function a(){var e={line:n,column:r};return function(t){return t.position=new i(e),c(),t}}function i(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function s(o){var a=new Error(t.source+":"+n+":"+r+": "+o);if(a.reason=o,a.filename=t.source,a.line=n,a.column=r,a.source=e,!t.silent)throw a}function l(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function c(){l(rh)}function u(e){var t;for(e=e||[];t=d();)!1!==t&&e.push(t);return e}function d(){var t=a();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;ch!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,ch===e.charAt(n-1))return s("End of comment missing");var i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}}function p(){var e=a(),t=l(oh);if(t){if(d(),!l(ah))return s("property missing ':'");var n=l(ih),r=e({type:"declaration",property:uh(t[0].replace(th,ch)),value:n?uh(n[0].replace(th,ch)):ch});return l(sh),r}}return i.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=p();)!1!==e&&(t.push(e),u(t));return t}()}(e),s="function"==typeof t,l=0,c=i.length;l0?r.createElement(m,c,p):r.createElement(m,c)}function yh(e,t){let n=-1,r=0;for(;++n4&&"data"===n.slice(0,4)&&Lm.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Im,Mm);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Im.test(e)){let n=e.replace(Fm,Dm);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=xm}return new o(r,t)}(r.schema,t);let a=n;null!=a&&a==a&&(Array.isArray(a)&&(a=o.commaSeparated?function(e,t){const n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(a):a.join(" ").trim()),"style"===o.property&&"string"==typeof a&&(a=function(e){const t={};try{ph(e,(function(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,vh)]=n}))}catch{}return t}(a)),o.space&&o.property?e[fh.call(Bm,o.property)?Bm[o.property]:o.property]=a:o.attribute&&(e[o.attribute]=a))}function vh(e,t){return t.toUpperCase()}const wh={}.hasOwnProperty,kh="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",xh={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Sh(e){for(const r in xh)if(wh.call(xh,r)&&wh.call(e,r)){const e=xh[r];dt.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${r}\` (see <${kh}#${e.id}> for more info)`),delete xh[r]}const t=ad().use(of).use(e.remarkPlugins||[]).use(Qf,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Um,e),n=new Hu;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&dt.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const o=t.runSync(t.parse(n),n);if("root"!==o.type)throw new TypeError("Expected a `root` node");let a=r.createElement(r.Fragment,{},hh({options:e,schema:zm,listDepth:0},o));return e.className&&(a=r.createElement("div",{className:e.className},a)),a}Sh.propTypes={children:Xf.string,className:Xf.string,allowElement:Xf.func,allowedElements:Xf.arrayOf(Xf.string),disallowedElements:Xf.arrayOf(Xf.string),unwrapDisallowed:Xf.bool,remarkPlugins:Xf.arrayOf(Xf.oneOfType([Xf.object,Xf.func,Xf.arrayOf(Xf.oneOfType([Xf.bool,Xf.string,Xf.object,Xf.func,Xf.arrayOf(Xf.any)]))])),rehypePlugins:Xf.arrayOf(Xf.oneOfType([Xf.object,Xf.func,Xf.arrayOf(Xf.oneOfType([Xf.bool,Xf.string,Xf.object,Xf.func,Xf.arrayOf(Xf.any)]))])),sourcePos:Xf.bool,rawSourcePos:Xf.bool,skipHtml:Xf.bool,includeElementIndex:Xf.bool,transformLinkUri:Xf.oneOfType([Xf.func,Xf.bool]),linkTarget:Xf.oneOfType([Xf.func,Xf.string]),transformImageUri:Xf.func,components:Xf.object};var _h={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Eh=r.createContext&&r.createContext(_h),Ch=function(){return Ch=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Hh[43]=Uh,Hh[45]=Uh,Hh[46]=Uh,Hh[95]=Uh,Hh[72]=[Uh,qh],Hh[104]=[Uh,qh],Hh[87]=[Uh,$h],Hh[119]=[Uh,$h];const eg={tokenize:function(e,t,n){const r=this;return Id(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function tg(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!i||!i._balanced)return n(o);const s=cp(r.sliceSerialize({start:i.end,end:r.now()}));return 94===s.charCodeAt(0)&&a.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function ng(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function rg(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){let u;return null===s||91===s||i++>999?n(s):93===s?a?(e.exit("chunkString"),u=e.exit("gfmFootnoteCallString"),o.includes(cp(r.sliceSerialize(u)))?function(n){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(s):n(s)):n(s):(e.consume(s),Td(s)||(a=!0),92===s?c:l)}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function og(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),c):n(t)}function c(t){let o;return null===t||91===t||s>999?n(t):93===t?i?(o=e.exit("gfmFootnoteDefinitionLabelString"),a=cp(r.sliceSerialize(o)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):n(t):Pd(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s++,c):(e.enter("chunkString").contentType="string",u(t))}function u(t){return null===t||Pd(t)||91===t||93===t||s>999?(e.exit("chunkString"),c(t)):(Td(t)||(i=!0),s++,e.consume(t),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Id(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return o.includes(a)||o.push(a),t(e)}}function ag(e,t,n){return e.check(Hd,t,e.attempt(eg,t,n))}function ig(e){e.exit("gfmFootnoteDefinition")}function sg(e={}){let t=e.singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,a=this.events;let i=0;return function(t){return 126===o&&"characterEscape"!==a[a.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(a){const l=Bd(o);if(126===a)return i>1?r(a):(e.consume(a),i++,s);if(i<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=Bd(a);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(a)}},resolveAll:function(e,t){let n=-1;for(;++n=4?n(o):(r._gfmTableDynamicInterruptHack=!0,e.check(r.parser.constructs.flow,(function(e){return r._gfmTableDynamicInterruptHack=!1,n(e)}),(function(e){return r._gfmTableDynamicInterruptHack=!1,t(e)}))(o))}}},resolve:function(e,t){let n,r,o,a,i,s,l,c=-1;for(;++ce}const wg="phrasing",kg=["autolink","link","image","label"],xg={transforms:[function(e){!function(e,t,n,r){let o,a;"string"==typeof t||t instanceof RegExp?(a=[[t,n]],o=r):(a=t,o=n),o||(o={});const i=mg(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n0?{type:"text",value:s}:void 0),!1!==s&&(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),a=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(a?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=fg(e,"(");let a=fg(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;const s={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function Cg(e,t,n,r){return!(!Ag(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Ag(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Nd(n)||Rd(n))&&(!t||47!==n)}function Og(e){return e.label||!e.identifier?e.label||"":Qp(e.identifier)}function Tg(e,t,n,r){let o=r.join.length;for(;o--;){const a=r.join[o](e,t,n,r);if(!0===a||1===a)break;if("number"==typeof a)return"\n".repeat(1+a);if(!1===a)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Pg=/\r?\n|\r/g;function jg(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Ng(e,t){return Rg(e,t.inConstruct,!0)&&!Rg(e,t.notInConstruct,!1)}function Rg(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r=c||e+10?" ":"")),o.shift(4),a+=o.move(function(e,t){const n=[];let r,o=0,a=0;for(;r=Pg.exec(e);)i(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,a++;return i(e.slice(o)),n.join("");function i(e){n.push(t(e,a,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],a=t.createTracker(n),i=[];let s=-1;for(r.push(-1);++s0&&("\r"===s||"\n"===s)&&"html"===c.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(a.join(""))),a.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join("")}Gg.peek=function(){return"["},Zg.peek=function(){return"~"};const Qg={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Xg={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Zg}};function Zg(e,t,n,r){const o=Dg(r),a=n.enter("strikethrough");let i=o.move("~~");return i+=Yg(e,n,{...o.current(),before:i,after:"~"}),i+=o.move("~~"),a(),i}function Jg(e,t,n){let r=e.value||"",o="`",a=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:oy,tableHeader:oy,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,ay));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:ry,tableHeader:ry,tableRow:ry}};function ry(e){this.exit(e)}function oy(e){this.enter({type:"tableCell",children:[]},e)}function ay(e,t){return"|"===t?t:e}function iy(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const a=[],i=t.enter("table");for(;++ol&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(a)}a[c]=n,i[c]=o}var u;let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=a),f[d]=a),p[d]=i}a.splice(1,0,p),i.splice(1,0,f),c=-1;const m=[];for(;++c-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const s=n.createTracker(r);s.move(a+" ".repeat(i-a.length)),s.shift(i);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?a:a+" ".repeat(i-a.length))+e}));return l(),c}(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+i}))),l}}};function cy(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function uy(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return vd([Vh,{document:{91:{tokenize:og,continuation:{tokenize:ag},exit:ig}},text:{91:{tokenize:rg},93:{add:"after",tokenize:tg,resolveTo:ng}}},sg(e),lg,dg])}(e)),n("fromMarkdownExtensions",[xg,{enter:{gfmFootnoteDefinition:Mg,gfmFootnoteDefinitionLabelString:Bg,gfmFootnoteCall:qg,gfmFootnoteCallString:Ug},exit:{gfmFootnoteDefinition:$g,gfmFootnoteDefinitionLabelString:zg,gfmFootnoteCall:Vg,gfmFootnoteCallString:Hg}},Qg,ny,sy]),n("toMarkdownExtensions",function(e){return{extensions:[Sg,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Wg,footnoteReference:Gg}},Xg,iy(e),ly]}}(e))}var dy=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);S+=x.value.length,x=x.next){var _=x.value;if(t.length>e.length)return;if(!(_ instanceof o)){var E,C=1;if(b){if(!(E=a(k,S,e,y))||E.index>=e.length)break;var A=E.index,O=E.index+E[0].length,T=S;for(T+=x.value.length;A>=T;)T+=(x=x.next).value.length;if(S=T-=x.value.length,x.value instanceof o)continue;for(var P=x;P!==t.tail&&(Td.reach&&(d.reach=L);var I=x.prev;if(N&&(I=l(t,I,N),S+=N.length),c(t,I,C),x=l(t,I,new o(p,g?r.tokenize(j,g):j,v,j)),R&&l(t,x,R),C>1){var F={cause:p+","+m,reach:L};i(e,t,n,x.prev,S,F),d&&F.reach>d.reach&&(d.reach=F.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o"+a.content+""},r}(),py=dy;dy.default=dy,py.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},py.languages.markup.tag.inside["attr-value"].inside.entity=py.languages.markup.entity,py.languages.markup.doctype.inside["internal-subset"].inside=py.languages.markup,py.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(py.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:py.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:py.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},py.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(py.languages.markup.tag,"addAttribute",{value:function(e,t){py.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:py.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),py.languages.html=py.languages.markup,py.languages.mathml=py.languages.markup,py.languages.svg=py.languages.markup,py.languages.xml=py.languages.extend("markup",{}),py.languages.ssml=py.languages.xml,py.languages.atom=py.languages.xml,py.languages.rss=py.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},py.languages.c=py.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),py.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),py.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},py.languages.c.string],char:py.languages.c.char,comment:py.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:py.languages.c}}}}),py.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete py.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(py),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(py),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:o})}(py),py.languages.javascript=py.languages.extend("clike",{"class-name":[py.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),py.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,py.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:py.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:py.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:py.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:py.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:py.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),py.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:py.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),py.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),py.languages.markup&&(py.languages.markup.tag.addInlined("script","javascript"),py.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),py.languages.js=py.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(py),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+o+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(a),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(py),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(py),py.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:py.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},py.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,o=r.inside["interpolation-punctuation"],a=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var o={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",o),o.tokens=e.tokenize(o.code,o.grammar),e.hooks.run("after-tokenize",o),o.tokens}function c(t){var n={};n["interpolation-punctuation"]=o;var a=e.tokenize(t,n);if(3===a.length){var i=[1,1];i.push.apply(i,l(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,i)}return new e.Token("interpolation",a,r.alias,t)}function u(t,n,r){var o=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),i=0,u={},d=l(o.map((function(e){if("string"==typeof e)return e;for(var n,o=e.content;-1!==t.indexOf(n=s(i++,r)););return u[n]=o,n})).join(""),n,r),p=Object.keys(u);return i=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var o=p[i],a="string"==typeof r?r:r.content,s=a.indexOf(o);if(-1!==s){++i;var l=a.substring(0,s),d=c(u[o]),f=a.substring(s+o.length),m=[];if(l&&m.push(l),m.push(d),f){var h=[f];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,o=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(py),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return o})),RegExp(e,t)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:i(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var l=i(o);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=i(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(py),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(py),py.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},py.languages.go=py.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),py.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete py.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++o;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(py),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(py),py.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},py.languages.webmanifest=py.languages.json,py.languages.less=py.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),py.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),py.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},py.languages.objectivec=py.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete py.languages.objectivec["class-name"],py.languages.objc=py.languages.objectivec,py.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},py.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},py.languages.python["string-interpolation"].inside.interpolation.inside.rest=py.languages.python,py.languages.py=py.languages.python,py.languages.reason=py.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),py.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete py.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(py),py.languages.scss=py.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),py.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),py.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),py.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),py.languages.scss.atrule.inside.rest=py.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(py),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(py),py.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\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|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\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/,punctuation:/[()]/};var fy={Prism:py,theme:{plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]}};function my(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hy(){return hy=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)};function vy(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var wy=function(e){function t(){for(var t=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];e.apply(this,n),my(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,r=Object.create(null),o=e.styles.reduce((function(e,n){var r=n.languages,o=n.style;return r&&!r.includes(t)||n.types.forEach((function(t){var n=hy({},e[t],o);e[t]=n})),e}),r);return o.root=n,o.plain=hy({},n,{backgroundColor:null}),o}(e.theme,e.language):void 0;return t.themeDict=n})),my(this,"getLineProps",(function(e){var n=e.key,r=e.className,o=e.style,a=hy({},vy(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),i=t.getThemeDict(t.props);return void 0!==i&&(a.style=i.plain),void 0!==o&&(a.style=void 0!==a.style?hy({},a.style,o):o),void 0!==n&&(a.key=n),r&&(a.className+=" "+r),a})),my(this,"getStyleForToken",(function(e){var n=e.types,r=e.empty,o=n.length,a=t.getThemeDict(t.props);if(void 0!==a){if(1===o&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===o&&!r)return a[n[0]];var i=r?{display:"inline-block"}:{},s=n.map((function(e){return a[e]}));return Object.assign.apply(Object,[i].concat(s))}})),my(this,"getTokenProps",(function(e){var n=e.key,r=e.className,o=e.style,a=e.token,i=hy({},vy(e,["key","className","style","token"]),{className:"token "+a.types.join(" "),children:a.content,style:t.getStyleForToken(a),key:void 0});return void 0!==o&&(i.style=void 0!==i.style?hy({},i.style,o):o),void 0!==n&&(i.key=n),r&&(i.className+=" "+r),i})),my(this,"tokenize",(function(e,t,n,r){var o={code:t,grammar:n,language:r,tokens:[]};e.hooks.run("before-tokenize",o);var a=o.tokens=e.tokenize(o.code,o.grammar,o.language);return e.hooks.run("after-tokenize",o),a}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,r=e.code,o=e.children,a=this.getThemeDict(this.props),i=t.languages[n],s=function(e){for(var t=[[]],n=[e],r=[0],o=[e.length],a=0,i=0,s=[],l=[s];i>-1;){for(;(a=r[i]++)0?u:["plain"],c=d):(u=by(u,d.type),d.alias&&(u=by(u,d.alias)),c=d.content),"string"==typeof c){var p=c.split(gy),f=p.length;s.push({types:u,content:p[0]});for(var m=1;m",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"\u2026","…":"\u2026","/":"/","/":"/"},Ly=function(e){return Ry[e]};function Iy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fy(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};My=Fy(Fy({},My),e)}(e.options.react),function(e){Dy=e}(e)}},$y=(0,r.createContext)(),qy=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.usedNamespaces={}}var t,n;return t=e,(n=[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}])&&By(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Uy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,o=(0,r.useContext)($y)||{},a=o.i18n,i=o.defaultNS,s=n||a||Dy;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new qy),!s){Oy("You will need to pass in an i18next instance by using initReactI18next");var l=function(e,t){return"string"==typeof t?t:t&&"object"===Sy(t)&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Oy("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=Vy(Vy(Vy({},My),s.options.react),t),d=u.useSuspense,p=u.keyPrefix,f=e||i||s.options&&s.options.defaultNS;f="string"==typeof f?[f]:f||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(f);var m=(s.isInitialized||s.initializedStoreOnce)&&f.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:n.lng,precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],o=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e)||!t.hasResourceBundle(r,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!i(r,e)||o&&!i(a,e)))}(e,t,n):(Oy("i18n.languages were undefined or empty",t.languages),!0)}(e,s,u)}));function h(){return s.getFixedT(t.lng||null,"fallback"===u.nsMode?f:f[0],p)}var g=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Uy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Uy(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,r.useState)(h),2),y=g[0],b=g[1],v=f.join();t.lng&&(v="".concat(t.lng).concat(v));var w=Gy(v),k=(0,r.useRef)(!0);(0,r.useEffect)((function(){var e=u.bindI18n,n=u.bindI18nStore;function r(){k.current&&b(h)}return k.current=!0,m||d||(t.lng?jy(s,t.lng,f,(function(){k.current&&b(h)})):Py(s,f,(function(){k.current&&b(h)}))),m&&w&&w!==v&&k.current&&b(h),e&&s&&s.on(e,r),n&&s&&s.store.on(n,r),function(){k.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,r)})),n&&s&&n.split(" ").forEach((function(e){return s.store.off(e,r)}))}}),[s,v]);var x=(0,r.useRef)(!0);(0,r.useEffect)((function(){k.current&&!x.current&&b(h),x.current=!1}),[s,p]);var S=[y,s,m];if(S.t=y,S.i18n=s,S.ready=m,m)return S;if(!m&&!d)return S;throw new Promise((function(e){t.lng?jy(s,t.lng,f,(function(){return e()})):Py(s,f,(function(){return e()}))}))}function Ky(e,t,n){return n&&function(e){try{var t=new URL(e).hostname.replace(/^www\./,""),n=window.location.hostname.replace(/^www\./,"");return"localhost"!==n?t!==n:"mendable.ai"!==t}catch(e){return dt.log("catching error in isSourceOutsideDomain"),!1}}(e)||!n&&t}function Yy(e){return Th({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M4 19h16v2H4zm0-4h11v2H4zm0-4h16v2H4zm0-8h16v2H4zm0 4h11v2H4z"}}]})(e)}function Qy(e){return Th({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 2H6c-1.206 0-3 .799-3 3v14c0 2.201 1.794 3 3 3h15v-2H6.012C5.55 19.988 5 19.806 5 19s.55-.988 1.012-1H21V4c0-1.103-.897-2-2-2zm0 14H5V5c0-.806.55-.988 1-1h13v12z"}}]})(e)}function Xy(e){return Th({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M22 7.999a1 1 0 0 0-.516-.874l-9.022-5a1.003 1.003 0 0 0-.968 0l-8.978 4.96a1 1 0 0 0-.003 1.748l9.022 5.04a.995.995 0 0 0 .973.001l8.978-5A1 1 0 0 0 22 7.999zm-9.977 3.855L5.06 7.965l6.917-3.822 6.964 3.859-6.918 3.852z"}},{tag:"path",attr:{d:"M20.515 11.126 12 15.856l-8.515-4.73-.971 1.748 9 5a1 1 0 0 0 .971 0l9-5-.97-1.748z"}},{tag:"path",attr:{d:"M20.515 15.126 12 19.856l-8.515-4.73-.971 1.748 9 5a1 1 0 0 0 .971 0l9-5-.97-1.748z"}}]})(e)}function Zy(e){return Th({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M8.465 11.293c1.133-1.133 3.109-1.133 4.242 0l.707.707 1.414-1.414-.707-.707c-.943-.944-2.199-1.465-3.535-1.465s-2.592.521-3.535 1.465L4.929 12a5.008 5.008 0 0 0 0 7.071 4.983 4.983 0 0 0 3.535 1.462A4.982 4.982 0 0 0 12 19.071l.707-.707-1.414-1.414-.707.707a3.007 3.007 0 0 1-4.243 0 3.005 3.005 0 0 1 0-4.243l2.122-2.121z"}},{tag:"path",attr:{d:"m12 4.929-.707.707 1.414 1.414.707-.707a3.007 3.007 0 0 1 4.243 0 3.005 3.005 0 0 1 0 4.243l-2.122 2.121c-1.133 1.133-3.109 1.133-4.242 0L10.586 12l-1.414 1.414.707.707c.943.944 2.199 1.465 3.535 1.465s2.592-.521 3.535-1.465L19.071 12a5.008 5.008 0 0 0 0-7.071 5.006 5.006 0 0 0-7.071 0z"}}]})(e)}var Jy=function(e){e.children;var t=e.sources,n=e.sourcesStyle,o=e.sourcesFirst,a=void 0!==o&&o,i=e.sourcesDisplay,s=void 0===i?"short":i,l=e.prettySources,c=void 0!==l&&l,u=e.openInNewTab,d=void 0===u||u,p=e.legacySourceDisplay,f=void 0!==p&&p,m=e.onSourceClickedForTracking,h=e.openInNewTabForOutsideSources,g=void 0!==h&&h,y=(0,r.useState)(-1),b=y[0];y[1];var v=Wy().t;function w(e){return/^(f|ht)tps?:\/\//i.test(e)||(e="https://"+e),e}function k(e){return-1===b?{content:"",link:""}:e[b]}function x(e){var t=e.link;try{var n=e.source_name;if(n&&n.length>0)return n;if(-1!==t.indexOf("?mendable_source_name="))return t.split("?mendable_source_name=")[1];!0===c&&(t=function(e){var t;try{t=new URL(e)}catch(e){return"Invalid URL"}var n=t.pathname.replace(/^\/|\/$/g,"").split("/");if((n=n.filter((function(e){return e})).map((function(e){return decodeURIComponent(e.replace(/\+/g," "))}))).length>0&&n[n.length-1].includes(".")){var r=n[n.length-1];n[n.length-1]=r.split(".").slice(0,-1).join(".")}if(0===n.length)return t.hostname;var o=n.slice(-Math.min(2,n.length)).map((function(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[-_+]/g," ").split(" ").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ")})).reverse().join(" - ");o=o.replace(/[^a-z0-9 -]/gi,"");try{if(o.match(/^\d+/g)){var a=o.split(" ");a[0].match(/\d+/g)&&(a.shift(),o=a.join(" "))}}catch(e){}return o.length>35&&(o=o.substring(0,35)+"..."),o}(t))}catch(e){dt.log(e)}try{if((t=(t=(t=t.replace("https://","")).replace("http://","")).replace("www.","")).length>48)return t.substring(0,48)+"..."}catch(e){}return t}return f?r.createElement("div",{style:{color:n.darkMode?"#ffffff":"#000000"},className:"ms-flex ms-w-full ms-flex-col ms-overflow-auto ms-rounded-md ms-text-base"},r.createElement("p",{style:{marginRight:0,marginLeft:0},className:"ms-my-2 ms-flex ms-items-center ms-text-sm ".concat(n.darkMode?"ms-text-gray-50":"ms-text-black")},v("verifiedSources"),":"," "),r.createElement("ol",{className:"ms-m-0 ms-ml-0 ms-p-0 ms-pl-1 ms-text-sm"},t.map((function(e,t){return r.createElement("li",{key:t,className:"ms-m-0 ms-ml-0 ms-list-inside ms-break-all ms-p-0 ms-pl-0 ms-text-sm"},r.createElement("a",{href:w(e.link),target:Ky(e.link,d,g||!1)?"_blank":"_self",onClick:function(){uc.capture("Navigating to a source",{source:e.link}),m&&m(e.link)},className:"ms-m-0 ms-p-0 ms-text-sm ms-underline ".concat(n.darkMode?"ms-text-white":"ms-text-black"," "),rel:"noreferrer"},x(e)))})))):r.createElement("div",{style:{color:n.darkMode?"#ffffff":"#000000"},className:"ms-flex ms-w-full ms-flex-col ms-overflow-auto ms-rounded-md ms-text-base"},r.createElement("div",null,r.createElement("div",{className:"ms-block"},r.createElement("p",{style:{marginRight:0,marginLeft:0},className:"ms-flex ms-items-center ".concat(a?"ms-m-0 ms-pb-2 ms-text-sm ms-font-semibold sm:ms-text-base":"ms-my-2 ms-text-sm"," ").concat(n.darkMode?"ms-text-gray-50":"ms-text-black")},a?r.createElement(Xy,{className:"ms-mr-[6px]"}):r.createElement(r.Fragment,null),v("verifiedSources"),a?"":": "),r.createElement("nav",{className:"ms-flex ms-w-full ms-flex-col ms-items-start ms-justify-start ms-overflow-auto ms-rounded-lg ms-text-center sm:ms-w-fit sm:ms-flex-row sm:ms-flex-wrap"},t.map((function(e,t){return r.createElement("a",{href:w(e.link),target:Ky(e.link,d,g||!1)?"_blank":"_self",tabIndex:-1,key:t,onClick:function(){uc.capture("Navigating to a source",{source:e.link}),m&&m(e.link)},style:{},className:"ms-mr-2 ms-w-fit ms-min-w-[64px] ms-max-w-xs sm:ms-max-w-[225px]\n ".concat(n.darkMode?"ms-bg-white ms-bg-opacity-0 ms-text-white ":"ms-bg-black ms-bg-opacity-0 ms-text-gray-800 "," ").concat(n.darkMode?"hover:ms-border-gray-100":"hover:ms-border-gray-800"," group ms-relative ms-m-0 ms-mb-2 ms-overflow-hidden ms-whitespace-nowrap ms-rounded-lg ms-border ms-border-gray-500 ms-border-opacity-20 ms-p-0 ms-py-1 ms-px-2 ms-text-xs ms-font-normal ms-no-underline hover:ms-cursor-pointer focus:ms-z-10 focus:ms-ring-transparent sm:ms-min-w-0 sm:ms-py-2 sm:ms-text-sm "),rel:"noreferrer"},r.createElement("div",{className:"ms-flex ms-flex-col ms-items-start ms-justify-start"},"long"===s&&r.createElement("span",null,String(t+1)+".\t"+(e.metadata&&e.metadata.title?e.metadata.title:e.link)),"long"===s&&r.createElement("div",{className:"ms-mt-1 w-fit ms-flex ms-items-center ms-justify-start"},r.createElement(Zy,{size:12,style:{opacity:.7},className:"ms-mr-1"}),r.createElement("span",{style:{opacity:.7},className:"ms-truncate ms-text-xs ".concat(n.darkMode?"ms-text-white":"ms-text-black")},x(e))),"short"===s&&r.createElement("div",{className:"w-fit ms-flex ms-items-center ms-justify-start"},r.createElement("span",{className:"ms-truncate ".concat(n.darkMode?"ms-text-white":"ms-text-black")},String(t+1)+".\t"+x(e)))))})))),-1!==b&&r.createElement("div",{tabIndex:-1,className:"ms-relative ms-mt-1 ms-flex ms-w-full ms-flex-col ms-gap-2 ms-rounded-lg ms-bg-gray-50 ms-p-2 ".concat(n.darkMode?"ms-bg-opacity-5":""," ")},r.createElement("div",{className:"ms-relative ms-ml-4 ms-h-fit ms-overflow-auto "},r.createElement("div",{className:"ms-flex ms-w-full ms-flex-row ms-items-center ms-justify-between"},r.createElement("div",{style:{textDecorationColor:n.accentColor},className:"ms-flex ms-max-w-full ms-flex-col ms-items-end ms-gap-1 ms-underline hover:ms-cursor-pointer"}),r.createElement("div",{className:"ms-flex ms-max-w-full ms-flex-col ms-items-end ms-gap-1 hover:ms-cursor-pointer"},r.createElement("a",{style:{color:n.accentColor},className:" ms-mb-2 ms-flex ms-items-center ms-text-sm",target:"_blank",href:w(k(t).link),rel:"noreferrer",onClick:function(){uc.capture("clicking view in docs",{source:k(t).link})}},r.createElement(jh,{className:"ms-mr-1"}),"View in Docs"))),r.createElement(Sh,{components:{code:function(e){e.node;var t=e.inline,o=e.className,a=e.children,i=ft(e,["node","inline","className","children"]),s=/language-(\w+)/.exec(o||"");return t?r.createElement("code",pt({style:{background:n.accentColor},className:" ms-m-1 ms-rounded-md ms-bg-opacity-50 ms-p-1 before:ms-content-none after:ms-content-none"},i),String(a)):r.createElement("code",pt({className:"ms-rounded-md ms-bg-transparent ms-bg-opacity-25 before:ms-content-none after:ms-content-none"},i),r.createElement(xy,{language:s?s[1]:"",children:String(a),isDarkMode:n.darkMode}))}},remarkPlugins:[uy],linkTarget:"_blank",className:"ms-prose ms-mt-2 ms-text-sm sm:ms-text-base ".concat(n.darkMode?"ms-text-white prose-headings:ms-text-white prose-p:ms-text-white prose-a:ms-text-white prose-blockquote:ms-text-white prose-strong:ms-text-white prose-code:ms-text-white prose-li:ms-text-white":"ms-text-gray-900 prose-headings:ms-text-gray-900 prose-p:ms-text-gray-900 prose-a:ms-text-gray-900 prose-blockquote:ms-text-gray-900 prose-strong:ms-text-gray-900 prose-code:ms-text-gray-100 prose-li:ms-text-gray-900")},k(t).content)))))};function eb(e){var t=e.text,n=e.darkMode;return r.createElement("div",{className:"ms-flex ms-mb-2 ms-w-full ms-items-start ms-justify-start ms-rounded ms-border ms-border-yellow-300 ms-bg-yellow-100 ms-bg-opacity-10 ms-p-2 ms-text-sm ".concat(n?"ms-text-white":"ms-text-black")},r.createElement(r.Fragment,null,r.createElement(Sh,{linkTarget:"_blank",className:" ms-prose ms-text-xs sm:ms-text-sm ".concat(n?"prose-headings:ms-text-white prose-p:ms-text-white prose-a:ms-text-white prose-blockquote:ms-text-white prose-strong:ms-text-white prose-code:ms-text-white prose-li:ms-text-white":"prose-headings:ms-text-gray-900 prose-p:ms-text-gray-900 prose-a:ms-text-gray-900 prose-blockquote:ms-text-gray-900 prose-strong:ms-text-gray-900 prose-code:ms-text-gray-100 prose-li:ms-text-gray-900"," $")},t)))}function tb(e){var t=e.text,n=e.darkMode;return r.createElement("div",{className:"ms-flex ms-mb-2 ms-w-full ms-items-start ms-justify-start ms-rounded ms-border ms-border-red-300 ms-bg-red-100 ms-bg-opacity-10 ms-p-2 ms-text-sm ".concat(n?"ms-text-white":"ms-text-black")},r.createElement(r.Fragment,null,r.createElement(Sh,{linkTarget:"_blank",className:" ms-prose ms-text-xs sm:ms-text-sm ".concat(n?"prose-headings:ms-text-white prose-p:ms-text-white prose-a:ms-text-white prose-blockquote:ms-text-white prose-strong:ms-text-white prose-code:ms-text-white prose-li:ms-text-white":"prose-headings:ms-text-gray-900 prose-p:ms-text-gray-900 prose-a:ms-text-gray-900 prose-blockquote:ms-text-gray-900 prose-strong:ms-text-gray-900 prose-code:ms-text-gray-100 prose-li:ms-text-gray-900"," $")},t)))}function nb(e){var t=e.isUp,n=e.color,o=e.onClick,a=e.isLiked,i=e.isDarkMode,s=Wy().t;return r.createElement("button",{style:{backgroundColor:a?n+"55":"transparent"},className:"ms-m-0 ms-p-0 ms-text-white hover:ms-bg-white \n ".concat(a?i?"ms-bg-white ms-bg-opacity-0 ms-text-white ":"ms-bg-black ms-bg-opacity-0 ms-text-gray-800 ":"","\n ").concat(i?"hover:ms-border-gray-100":"hover:ms-border-gray-800"," ms-rounded-md ms-border ms-border-gray-500 ms-border-opacity-20 ms-py-1 ms-px-2 ms-text-xs ms-font-medium ms-transition-all hover:ms-cursor-pointer hover:ms-bg-opacity-10 sm:ms-text-sm ").concat(a?" hover:ms-bg-opacity-80":"ms-bg-transparent"),onClick:o,disabled:a},t?r.createElement("span",{id:"yes-button","aria-label":"thumbs up",className:"".concat(i?"ms-text-white":"ms-text-black")},s("yes")):r.createElement("span",{id:"no-button","aria-label":"thumbs down",className:"".concat(i?"ms-text-white":"ms-text-black")},s("no")))}function rb(e){var t=e.onThumbsUp,n=e.onThumbsDown,o=e.isDarkMode,a=e.color,i=e.liked,s=void 0!==i&&i,l=e.disliked,c=void 0!==l&&l,u=(0,r.useState)(s),d=u[0],p=u[1],f=(0,r.useState)(c),m=f[0],h=f[1];return r.createElement("div",{className:"ms-mt-0 ms-flex ms-flex-row ms-space-x-2 ms-opacity-100 sm:ms-mt-2"},r.createElement(nb,{isUp:!0,color:a,isDarkMode:o,onClick:function(){t(),p(!0),h(!1)},isLiked:d}),r.createElement(nb,{isUp:!1,color:a,isDarkMode:o,onClick:function(){n(),p(!1),h(!0)},isLiked:m}))}function ob(e){return ob="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ob(e)}function ab(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ib(e){var t=function(e,t){if("object"!==ob(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ob(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ob(t)?t:String(t)}function sb(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};ab(this,e),this.init(t,n)}return lb(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||bb,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(o())return{};var i=r(a.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function _b(e,t,n){var r=Sb(e,t,Object);r.obj[r.k]=n}function Eb(e,t){var n=Sb(e,t),r=n.obj,o=n.k;if(r)return r[o]}function Cb(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):Cb(e[r],t[r],n):e[r]=t[r]);return e}function Ab(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Ob={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Tb(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return Ob[e]})):e}var Pb="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,jb=[" ",",","?","!",";"];function Nb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,a=0;aa+i;)i++,l=o[s=r.slice(a,a+i).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s]}var c=r.slice(a+i).join(n);return c?Nb(l,c,n):void 0}o=o[r[a]]}return o}}function Rb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lb(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ab(this,n),r=t.call(this),Pb&&wb.call(cb(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return lb(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=Eb(this.data,i);return s||!a||"string"!=typeof n?s:Nb(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var i=[e,t];n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),_b(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=Eb(this.data,i)||{};r?Cb(s,n,o):s=Lb(Lb({},s),n),_b(this.data,i,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Lb(Lb({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(),Fb={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,o))})),t}};function Db(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mb(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return ab(this,n),r=t.call(this),Pb&&wb.call(cb(r)),function(e,t,n){["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){t[e]&&(n[e]=t[e])}))}(0,e,cb(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=vb.create("translator"),r}return lb(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=jb.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),a=!o.test(e);if(!a){var i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(a=!0)}return a}(e,n,r));if(a&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(o=l.shift()),e=l.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==ob(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===ob(t)&&(t=Mb({},t)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),l=s.key,c=s.namespaces,u=c[c.length-1],d=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(p){var f=t.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(u).concat(f).concat(l),usedKey:l,exactUsedKey:l,usedLng:d,usedNS:u}:"".concat(u).concat(f).concat(l)}return a?{res:l,usedKey:l,exactUsedKey:l,usedLng:d,usedNS:u}:l}var m=this.resolve(e,t),h=m&&m.res,g=m&&m.usedKey||l,y=m&&m.exactUsedKey||l,b=Object.prototype.toString.apply(h),v=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&h&&"string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof v||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var k=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,Mb(Mb({},t),{},{ns:c})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return a?(m.res=k,m):k}if(i){var x="[object Array]"===b,S=x?[]:{},_=x?y:g;for(var E in h)if(Object.prototype.hasOwnProperty.call(h,E)){var C="".concat(_).concat(i).concat(E);S[E]=this.translate(C,Mb(Mb({},t),{joinArrays:!1,ns:c})),S[E]===C&&(S[E]=h[E])}h=S}}else if(w&&"string"==typeof v&&"[object Array]"===b)(h=h.join(v))&&(h=this.extendTranslation(h,e,t,r));else{var A=!1,O=!1,T=void 0!==t.count&&"string"!=typeof t.count,P=n.hasDefaultValue(t),j=T?this.pluralResolver.getSuffix(d,t.count,t):"",N=t["defaultValue".concat(j)]||t.defaultValue;!this.isValidLookup(h)&&P&&(A=!0,h=N),this.isValidLookup(h)||(O=!0,h=l);var R=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&O?void 0:h,L=P&&N!==h&&this.options.updateMissing;if(O||A||L){if(this.logger.log(L?"updateKey":"missingKey",d,u,l,L?N:h),i){var I=this.resolve(l,Mb(Mb({},t),{},{keySeparator:!1}));I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var F=[],D=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&D&&D[0])for(var M=0;M1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var l=i.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;i.options.fallbackNS&&(u=u.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=d&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),f=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,m=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);u.forEach((function(e){i.isValidLookup(t)||(a=e,!Bb["".concat(m[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(a)&&(Bb["".concat(m[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(m.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach((function(n){if(!i.isValidLookup(t)){o=n;var a,l=[c];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=i.pluralResolver.getSuffix(n,s.count,s));var m="".concat(i.options.pluralSeparator,"zero");if(d&&(l.push(c+u),p&&l.push(c+m)),f){var h="".concat(c).concat(i.options.contextSeparator).concat(s.context);l.push(h),d&&(l.push(h+u),p&&l.push(h+m))}}for(;a=l.pop();)i.isValidLookup(t)||(r=a,t=i.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),n}();function $b(e){return e.charAt(0).toUpperCase()+e.slice(1)}var qb=function(){function e(t){ab(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=vb.create("languageUtils")}return lb(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=$b(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=$b(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=$b(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){return e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:0===e.indexOf(r)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],a=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&a(n.formatLanguageCode(e))})),o}}]),e}(),Ub=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Hb={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},Vb=["v1","v2","v3"],Gb={zero:0,one:1,two:2,few:3,many:4,other:5},Wb=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ab(this,e),this.languageUtils=t,this.options=r,this.logger=vb.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},Ub.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:Hb[e.fc]}}))})),n)}return lb(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Gb[e]-Gb[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!Vb.includes(this.options.compatibilityJSON)}}]),e}();function Kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yb(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=function(e,t,n){var r=Eb(e,n);return void 0!==r?r:Eb(t,n)}(e,t,n);return!a&&o&&"string"==typeof n&&void 0===(a=Nb(e,n,r))&&(a=Nb(t,n,r)),a}var Xb=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ab(this,e),this.logger=vb.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return lb(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Tb,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Ab(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Ab(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Ab(t.nestingPrefix):t.nestingPrefixEscaped||Ab("$t("),this.nestingSuffix=t.nestingSuffix?Ab(t.nestingSuffix):t.nestingSuffixEscaped||Ab(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,a,i,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var o=Qb(t,l,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(o,void 0,n,Yb(Yb(Yb({},r),t),{},{interpolationkey:e})):o}var a=e.split(s.formatSeparator),i=a.shift().trim(),c=a.join(s.formatSeparator).trim();return s.format(Qb(t,l,i,s.options.keySeparator,s.options.ignoreJSONStructure),c,n,Yb(Yb(Yb({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(i=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(a=u(n)))if("function"==typeof d){var l=d(e,o,r);a="string"==typeof l?l:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a="";else{if(p){a=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=xb(a));var c=t.safeValue(a);if(e=e.replace(o[0],c),p?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o,a=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),a="{".concat(r[1]);e=r[0];var i=(a=this.interpolate(a,o)).match(/'/g),s=a.match(/"/g);(i&&i.length%2==0&&!s||s.length%2!=0)&&(a=a.replace(/'/g,'"'));try{o=JSON.parse(a),t&&(o=Yb(Yb({},t),o))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(a)}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var l=[];(o=(o=Yb({},i)).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;var c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=xb(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return a.format(e,t,i.lng,Yb(Yb({},i),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Zb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jb(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};ab(this,e),this.logger=vb.create("formatter"),this.options=t,this.formats={number:ev((function(e,t){var n=new Intl.NumberFormat(e,Jb({},t));return function(e){return n.format(e)}})),currency:ev((function(e,t){var n=new Intl.NumberFormat(e,Jb(Jb({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:ev((function(e,t){var n=new Intl.DateTimeFormat(e,Jb({},t));return function(e){return n.format(e)}})),relativetime:ev((function(e,t){var n=new Intl.RelativeTimeFormat(e,Jb({},t));return function(e){return n.format(e,t.range||"day")}})),list:ev((function(e,t){var n=new Intl.ListFormat(e,Jb({},t));return function(e){return n.format(e)}}))},this.init(t)}return lb(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=ev(t)}},{key:"format",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(e){if(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return hb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hb(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":")),r=t[0],o=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=o),"false"===o&&(n[r.trim()]=!1),"true"===o&&(n[r.trim()]=!0),isNaN(o)||(n[r.trim()]=parseInt(o,10))}}))}return{formatName:t,formatOptions:n}}(t),i=a.formatName,s=a.formatOptions;if(r.formats[i]){var l=e;try{var c=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},u=c.locale||c.lng||o.locale||o.lng||n;l=r.formats[i](e,u,Jb(Jb(Jb({},s),o),c))}catch(e){r.logger.warn(e)}return l}return r.logger.warn("there was no format function for ".concat(i)),e}),e);return a}}]),e}();function nv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rv(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};return ab(this,n),a=t.call(this),Pb&&wb.call(cb(a)),a.backend=e,a.store=r,a.services=o,a.languageUtils=o.languageUtils,a.options=i,a.logger=vb.create("backendConnector"),a.waitingReads=[],a.maxParallelReads=i.maxParallelReads||10,a.readingCalls=0,a.maxRetries=i.maxRetries>=0?i.maxRetries:5,a.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,i.backend,i),a}return lb(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,a={},i={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===i[s]&&(i[s]=!0):(o.state[s]=1,r=!1,void 0===i[s]&&(i[s]=!0),void 0===a[s]&&(a[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],a=r[1];t&&this.emit("failedLoading",o,a,t),n&&this.store.addResourceBundle(o,a,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){!function(e,t,n,r){var o=Sb(e,t,Object),a=o.obj,i=o.k;a[i]=a[i]||[],a[i].push(n)}(n.loaded,[o],a),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===i[e][t]&&(i[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:a,callback:i});else{this.readingCalls++;var s=function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&o2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(o," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(o),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){var s=rv(rv({},a),{},{isUpdate:o}),l=this.backend.create.bind(this.backend);if(l.length<6)try{var c;(c=5===l.length?l(e,t,n,r,s):l(e,t,n,r))&&"function"==typeof c.then?c.then((function(e){return i(null,e)})).catch(i):i(null,c)}catch(e){i(e)}else l(e,t,n,r,i,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),n}();function av(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===ob(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===ob(e[2])||"object"===ob(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function iv(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lv(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(ab(this,n),e=t.call(this),Pb&&wb.call(cb(e)),e.options=iv(o),e.services={},e.logger=vb,e.modules={external:[]},r=cb(e),Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(e){"function"==typeof r[e]&&(r[e]=r[e].bind(r))})),a&&!e.isInitialized&&!o.isClone){if(!e.options.initImmediate)return e.init(o,a),pb(e,cb(e));setTimeout((function(){e.init(o,a)}),0)}return e}return lb(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=av();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=lv(lv(lv({},r),this.options),iv(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=lv(lv({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var a;this.modules.logger?vb.init(o(this.modules.logger),this.options):vb.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=tv);var i=new qb(this.options);this.store=new Ib(this.options.resources,this.options);var s=this.services;s.logger=vb,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new Wb(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=o(a),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new Xb(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new ov(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o1?n-1:0),o=1;o0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var c=kb(),u=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cv,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)})),this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=kb();return e||(e=this.languages),t||(t=this.options.ns),n||(n=cv),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Fb.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=kb();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(a){e||a||!n.services.languageDetector||(a=[]);var i="string"==typeof a?a:n.services.languageUtils.getBestMatchFromCodes(a);i&&(n.language||o(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,a){a?(o(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var a;if("object"!==ob(o)){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=n.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!(!this.hasResourceBundle(r,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(r,e)||o&&!i(a,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=kb();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=kb();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var t=this.services&&this.services.languageUtils||new qb(av());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cv,o=lv(lv(lv({},this.options),t),{isClone:!0}),a=new n(o);return void 0===t.debug&&void 0===t.prefix||(a.logger=a.logger.clone(t)),["store","services","language"].forEach((function(t){a[t]=e[t]})),a.services=lv({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new zb(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var dv=uv.createInstance();dv.createInstance=uv.createInstance,dv.createInstance,dv.dir,dv.init,dv.loadResources,dv.reloadResources,dv.use,dv.changeLanguage,dv.getFixedT;var pv=dv.t;dv.exists,dv.setDefaultNamespace,dv.hasLoadedNamespace,dv.loadNamespaces,dv.loadLanguages;var fv,mv,hv=function(e){return{display:e?"flex":"none"}},gv="#4fa94d",yv={"aria-busy":!0,role:"status"},bv=function(){return bv=Object.assign||function(e){for(var t,n=1,r=arguments.length;nf)&&(B=(q=q.replace(" ",":")).length),0r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0l.charCodeAt(8))break;case 115:i=i.replace(l,"-webkit-"+l)+";"+i;break;case 207:case 102:i=i.replace(l,"-webkit-"+(102r.charCodeAt(0)&&(r=r.trim()),r=[r],0 ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document ``\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to ``, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function sw(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n1?t-1:0),r=1;r0?" Args: "+n.join(", "):"")):new Error(sw.apply(void 0,[iw[e]].concat(n)).trim())}var cw=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&lw(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a1<<30)&&lw(16,""+t),uw.set(e,t),dw.set(t,e),t},mw=function(e){return dw.get(e)},hw=function(e,t){t>=pw&&(pw=t+1),uw.set(e,t),dw.set(t,e)},gw="style["+rw+'][data-styled-version="5.3.6"]',yw=new RegExp("^"+rw+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),bw=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(rw))return r}}(r),i=void 0!==a?a.nextSibling:null;o.setAttribute(rw,"active"),o.setAttribute("data-styled-version","5.3.6");var s=n.nc;return s&&o.setAttribute("nonce",s),r.insertBefore(o,i),o},kw=function(){function e(e){var t=this.element=ww(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(c+=e+",")})),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),Aw=/(a)(d)/gi,Ow=function(e){return String.fromCharCode(e+(e>25?39:97))};function Tw(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Ow(t%52)+n;return(Ow(t%52)+n).replace(Aw,"$1-$2")}var Pw=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},jw=function(e){return Pw(5381,e)},Nw=jw("5.3.6"),Rw=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===nu.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t>>0);if(!t.hasNameForId(r,i)){var s=n(a,"."+i,void 0,r);t.insertRules(r,i,s)}o.push(i),this.staticRulesId=i}else{for(var l=this.rules.length,c=Pw(this.baseHash,n.hash),u="",d=0;d>>0);if(!t.hasNameForId(r,h)){var g=n(u,"."+h,void 0,r);t.insertRules(r,h,g)}o.push(h)}}return o.join(" ")},e}(),Lw=/^\s*\/\/.*$/gm,Iw=[":","[",".","#"],Fw=r.createContext();Fw.Consumer;var Dw=r.createContext(),Mw=(Dw.Consumer,new Cw),Bw=function(e){var t,n,r,o,a=Jv,i=a.options,s=void 0===i?Jv:i,l=a.plugins,c=void 0===l?Zv:l,u=new Cv(s),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,a,i,s,l,c,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),f=function(e,r,a){return 0===r&&-1!==Iw.indexOf(a[n.length])||a.match(o)?e:"."+t};function m(e,a,i,s){void 0===s&&(s="&");var l=e.replace(Lw,""),c=a&&i?i+" "+a+" { "+l+" }":l;return t=s,n=a,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),u(i||!a?"":a,c)}return u.use([].concat(c,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=c.length?c.reduce((function(e,t){return t.name||lw(15),Pw(e,t.name)}),5381).toString():"",m}(),zw=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Bw);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return lw(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Bw),this.name+e.hash},e}(),$w=/([A-Z])/,qw=/([A-Z])/g,Uw=/^ms-/,Hw=function(e){return"-"+e.toLowerCase()};function Vw(e){return $w.test(e)?e.replace(qw,Hw).replace(Uw,"-ms-"):e}var Gw=function(e){return null==e||!1===e||""===e};function Ww(e,t,n,r){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i1?t-1:0),r=1;r?@[\\\]^`{|}~-]+/g,Jw=/(^-|-$)/g;function ek(e){return e.replace(Zw,"-").replace(Jw,"")}var tk=function(e){return Tw(jw(e)>>>0)};function nk(e){return"string"==typeof e&&("production"===nu.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var rk=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ok=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ak(e,t,n){var r=e[n];rk(t)&&rk(r)?ik(r,t):e[n]=t}function ik(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(o[n]=e[n]);return o}(t,["componentId"]),a=r&&r+"-"+(nk(e)?e:ek(tw(e)));return ck(e,Yv({},o,{attrs:f,componentId:a}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?ik({},e.defaultProps,t):t}}),"production"!==nu.env.NODE_ENV&&(function(e,t){if("production"!==nu.env.NODE_ENV){var n="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=dt.error;try{var a=!0;dt.error=function(e){if(Qw.test(e))a=!1,Xw.delete(n);else{for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i=200)){var a=t?' with the id of "'+t+'"':"";dt.warn("Over 200 classes were generated for component "+e+a+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n "),r=!0,n={}}}}(d,p)),h.toString=function(){return"."+h.styledComponentId},a&&Kv(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var uk=function(e){return function e(t,n,r){if(void 0===r&&(r=Jv),!xv.isValidElementType(n))return lw(1,String(n));var o=function(){return t(n,r,Yw.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,Yv({},r,{},o))},o.attrs=function(o){return e(t,n,Yv({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(ck,e)};function dk(e){"production"!==nu.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&dt.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};if(void 0!==t[e])return t[e];if(e&&e.indexOf(".")>0){for(var n=e.split("."),r=n.length,o=t[n[0]],a=1;null!=o&&a0?r.createElement("div",{className:"ms-mb-4"},!0===d.hideSources?r.createElement(r.Fragment,null):r.createElement(Jy,{sources:s,sourcesStyle:a,sourcesFirst:d.sourcesFirst,prettySources:d.prettySources,openInNewTab:d.openSourcesInNewTab,sourcesDisplay:d.sourcesDisplay,openInNewTabForOutsideSources:d.openInNewTabForOutsideSources,legacySourceDisplay:d.legacySourceDisplay,onSourceClickedForTracking:x})):r.createElement(r.Fragment,null),r.createElement("div",{style:{marginRight:0,marginLeft:0},className:"ms-m-0 ms-hidden ms-items-center ms-text-sm ms-font-semibold sm:ms-flex sm:ms-text-base ".concat(a.darkMode?"ms-text-gray-50":"ms-text-black","\n ").concat(""!==y?"ms-pb-2":"","\n \n ")},m&&!E?r.createElement(kv,{height:17,width:17,radius:9,color:o.darkMode?"#fff":"#000",ariaLabel:"grid-loading","ms-visible":!0,wrapperClass:"ms-mr-[6px]"}):m&&E&&!A?r.createElement(vv,{height:17,width:17,color:o.darkMode?"#fff":"#000",ariaLabel:"circles-loading",wrapperStyle:{},wrapperClass:"ms-mr-[6px]",visible:!0}):""!==y&&r.createElement(Yy,{className:"ms-mr-[6px]"}),""!==y&&r.createElement("span",null,pv("answer")))):r.createElement("div",null),r.createElement("div",{className:"ms-flex ms-w-full ms-flex-row ms-items-center ms-justify-between ".concat(k?"":"sm:ms-hidden")},r.createElement("p",{style:{color:o.accentColor,margin:0},className:"ms-flex ms-text-xs"},pv(i?"assistant":"you"))),r.createElement("div",{className:"ms-flex ms-items-center ms-gap-4 ".concat(A&&"ms-mb-2")},E&&A&&r.createElement(Fk,{loading:E,currentTool:A,className:"ms-mb-2"}),!E&&A&&r.createElement(Fk,{error:T,loading:E,currentTool:A,className:"ms-mb-2"})),void 0!==l&&l===vr.Error?r.createElement(tb,{darkMode:o.darkMode,text:null!=c?c:""}):r.createElement(r.Fragment,null),void 0!==l&&l===vr.NoDocs?r.createElement(eb,{darkMode:o.darkMode,text:null!=c?c:""}):r.createElement(r.Fragment,null),void 0!==l&&l===vr.FullDocs?r.createElement(eb,{darkMode:o.darkMode,text:null!=c?c:""}):r.createElement(r.Fragment,null),r.createElement(Sh,{components:{code:function(e){e.node;var t=e.inline,n=e.className,a=e.children,i=ft(e,["node","inline","className","children"]),s=/language-(\w+)/.exec(n||"");return t?r.createElement("code",pt({style:{backgroundColor:o.accentColor,color:o.accentColor?o.accentColor.startsWith("#fff")?"#000":"#fff":"#000"},className:"".concat(o.darkMode?"!ms-bg-opacity-50":"!ms-bg-opacity-75"," ms-m-1 ms-rounded-md ms-p-1 before:ms-content-none after:ms-content-none ")},i),String(a)):r.createElement("code",pt({className:"ms-rounded-md ms-bg-transparent ms-bg-opacity-25 before:ms-content-none after:ms-content-none"},i),r.createElement(xy,{language:s?s[1]:"",children:String(a),isDarkMode:o.darkMode}))}},linkTarget:"_blank",className:" ms-prose ".concat(i?"ms-float-left":"ms-float-right"," ms-text-sm ").concat(k?"":"sm:ms-text-base"," ").concat(o.darkMode?"prose-headings:ms-text-white prose-p:ms-text-white prose-a:ms-text-white prose-blockquote:ms-text-white prose-strong:ms-text-white prose-code:ms-text-white prose-pre:ms-bg-[#1f2937] prose-li:ms-text-white":"prose-headings:ms-text-gray-900 prose-p:ms-text-gray-900 prose-a:ms-text-gray-900 prose-blockquote:ms-text-gray-900 prose-strong:ms-text-gray-900 prose-pre:ms-bg-[#f4f4f4] prose-li:ms-text-gray-900"," ").concat(""!==t?"ms-text-opacity-100":"ms-text-opacity-50","\n ").concat("right"===d.textAlign?"ms-text-right":"","\n \n ")},""===t?"Output will appear here...":t),i&&!v&&null!==n?r.createElement("div",null,r.createElement("div",{className:"ms-mt-6 ms-flex ms-items-center ms-justify-start"},r.createElement("p",{style:{margin:0},className:"ms-flex ms-items-center ms-text-sm ".concat(a.darkMode?"ms-text-gray-50":"ms-text-black")},pv("helpfulResponse"))),r.createElement("div",{className:"ms-mt-2 ms-flex ms-flex-row ms-items-center ms-justify-start ".concat(k?"sm:ms-mt-0":"")},r.createElement(rb,{color:o.accentColor,isDarkMode:o.darkMode,onThumbsDown:function(){null!=n&&(uc.capture("thumbsDown"),$a(h,n,-1),S&&S(!1,null!=y?y:"",t,s.map((function(e){return e.link}))))},onThumbsUp:function(){null!=n&&(uc.capture("thumbsUp"),$a(h,n,1),S&&S(!0,null!=y?y:"",t,s.map((function(e){return e.link}))))}})),void 0!==s&&s.length>0&&!0!==d.hideSources&&r.createElement("hr",{className:"ms-mt-6 ms-w-full ms-rounded-full ms-border-0 ms-bg-gray-400 ms-bg-opacity-25 ms-p-[0.5px]"})):r.createElement(r.Fragment,null),i&&!d.sourcesFirst&&void 0!==s&&s.length>0?r.createElement("div",null,r.createElement("div",{className:""}),!0===d.hideSources?r.createElement(r.Fragment,null):r.createElement(Jy,{sources:s,sourcesStyle:a,sourcesFirst:d.sourcesFirst,prettySources:d.prettySources,openInNewTab:d.openSourcesInNewTab,openInNewTabForOutsideSources:d.openInNewTabForOutsideSources,legacySourceDisplay:d.legacySourceDisplay,onSourceClickedForTracking:x})):r.createElement("div",null)))},Bk=function(e){var t=e.autoFocus,n=e.maxLength,o=e.onKeyDown,a=e.value,i=e.onChange,s=e.placeholder,l=e.customStyle,c=e.overrideInputStyles,u=ft(e,["autoFocus","maxLength","onKeyDown","value","onChange","placeholder","customStyle","overrideInputStyles"]),d=(0,r.useRef)(null),p=(0,r.useState)(!1);p[0];var f=p[1],m="28px",h=function(){var e=d.current;e&&(""===e.value?e.style.height=m:(e.style.height="1px",e.style.height="".concat(e.scrollHeight,"px")),f(e.scrollHeight>parseInt(m)))};return(0,r.useEffect)((function(){h(),d.current&&d.current.focus()}),[a]),r.createElement(r.Fragment,null,r.createElement("textarea",pt({ref:d,onInput:h,autoFocus:t,maxLength:n,onKeyDown:o,spellCheck:!1,value:a,onChange:i,placeholder:s,className:"ms-font-sans ms-relative ms-resize-none ms-text-base sm:ms-text-base ms-flex-grow ms-bg-transparent ".concat((null==l?void 0:l.darkMode)?"ms-text-white":"ms-text-black"," ms-global ms-h-fit !ms-p-0 ms-max-h-[200px] !ms-border-0 !ms-border-transparent ms-w-full focus:ms-ring-0 focus:ms-ring-transparent focus:ms-outline-none ms-ring-0 ms-ring-transparent ms-outline-none ").concat(c," ms-white-space-pre-wrap ms-word-wrap-break-word")},u)))};function zk(e){var t=e.handleClick,n=e.value,o=e.generating,a=e.loading,i=e.style,s=e.inputSettings,l=a||o||0===n.length,c=Wy().t;return r.createElement("button",{disabled:l,style:{backgroundColor:(null==s?void 0:s.askButtonStyle)?l?s.askButtonStyle.disabledColor:s.askButtonStyle.activeColor:l?i.darkMode?"#9399A420":"#aaaaaa80":i.accentColor,color:(null==s?void 0:s.askButtonStyle)?l?s.askButtonStyle.disabledTextColor:s.askButtonStyle.textColor:"#ffffff"},onClick:t,className:" ms-z-10 ms-m-0 ms-flex ms-items-center ms-whitespace-nowrap ms-gap-1 ms-rounded-lg ms-p-0 ms-text-sm hover:ms-cursor-pointer sm:ms-text-base ".concat(l?"ms-py-[1px] ms-px-[7px]":"ms-py-[2px] ms-px-[8px]"," ms-transition-all disabled:ms-bg-opacity-10")},o||a?r.createElement(kv,{height:15,width:15,radius:10,color:"#ffffff",ariaLabel:"grid-loading","ms-visible":!0}):r.createElement(Ih,null),r.createElement("div",{className:"ms-whitespace-nowrap "},c(o?"generating":a?"loading":"ask")))}function $k(e){var t=e.placeholder,n=void 0===t?"How to deploy my application?":t,o=e.loading,a=void 0!==o&&o,i=e.handleClick,s=e.onChange,l=e.value,c=e.onKeyDown,u=e.inputSettings,d=e.generating,p=void 0!==d&&d,f=e.overrideInputStyles,m=void 0===f?"":f,h=e.overrideInputContainerStyles,g=void 0===h?"":h,y=e.style,b=void 0===y?wr:y,v=e.isTextArea,w=void 0!==v&&v,k=r.useRef(null);return r.useEffect((function(){k.current&&k.current.focus()}),[]),r.createElement("div",{className:"ms-mt-2 ms-w-full ms-text-base sm:ms-mt-0 sm:ms-text-base"},r.createElement("div",{className:" ms-m-0 ms-flex ms-flex-row ms-items-center ms-justify-between ms-gap-2 ms-p-0 ".concat(b.darkMode?"ms-bg-opacity-5 ms-text-white ":" ms-text-gray-400"," ms-w-full ms-bg-gray-50 ms-p-2 ms-pl-4 ms-pr-2 ms-shadow ms-transition-all hover:ms-shadow-md ").concat(w?"ms-h-fit":"ms-h-10"," ms-outline-none ms-ring-0 ").concat(g)},r.createElement("div",{className:"ms-flex ms-w-full ms-min-w-0 ms-items-center ms-gap-1"},w?r.createElement(Bk,{id:"userInput",name:"userInput",autoFocus:!0,maxLength:1300,onKeyDown:c,value:l,onChange:s,placeholder:n,customStyle:b,overrideInputStyles:m}):r.createElement("input",{ref:k,id:"userInput",name:"userInput",autoFocus:!0,maxLength:512,onKeyDown:c,value:l,onChange:s,placeholder:n,className:" font-sans ms-flex-grow ms-bg-transparent ms-text-base sm:ms-text-base ".concat(b.darkMode?"ms-text-white":"ms-text-black"," ms-global ms-w-full ms-truncate ms-outline-none ms-ring-0 ms-ring-transparent focus:ms-outline-none focus:ms-ring-0 focus:ms-ring-transparent ").concat(m," ")})),r.createElement(zk,{value:l,handleClick:i,loading:a,generating:p,style:b,inputSettings:u})))}function qk(e){var t=e.color,n=void 0===t?"#1FD085":t,o=Wy().t;return r.createElement("div",{className:"ms-flex ms-min-h-[100px] ms-w-full ms-flex-col ms-items-center ms-justify-center ms-gap-2 ms-border-b ms-border-gray-500 ms-border-opacity-20 ms-p-4 "},r.createElement(kv,{height:30,width:30,radius:5,color:n,ariaLabel:"grid-loading","ms-visible":!0}),r.createElement("p",{style:{margin:0},className:"ms-text-center ms-text-xs ms-opacity-60"},o("searchingDocs")))}function Uk(e){var t=e.color,n=void 0===t?"#1FD085":t,o=Wy().t;return r.createElement("div",{className:"ms-flex ms-min-h-[100px] ms-w-full ms-flex-col ms-items-center ms-justify-center ms-gap-2 ms-p-4 "},r.createElement(vv,{height:30,width:30,color:n,ariaLabel:"circles-loading",wrapperStyle:{},wrapperClass:"",visible:!0}),r.createElement("p",{style:{margin:0},className:"ms-text-center ms-text-xs ms-opacity-60"},o("loadingTools")))}var Hk="main-module_ms-main-bot__QKkRf";function Vk(e){var t=e.darkMode,n=e.questions,o=e.onClick;return r.createElement("div",{className:"ms-qs-sug ms-mb-0 ms-mt-2 sm:ms-mt-0 ms-flex ms-flex-wrap ms-items-center ms-justify-start ms-w-full ms-overflow-auto ms-text-overflow-ellipsis"},n.map((function(e,n){return r.createElement("div",{onClick:function(){return o(e)},className:"ms-p-2 ms-mr-2 ms-mt-2 sm:ms-mt-0 sm:ms-mb-2 ms-whitespace-nowrap ms-rounded-lg ms-animate-fade-in-up ms-text-xs sm:ms-text-sm ".concat(t?"ms-text-white ms-bg-white ms-bg-opacity-10 hover:ms-bg-opacity-25":"ms-text-gray-800 ms-bg-black ms-bg-opacity-5 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer "),key:n},e)})))}function Gk(e,t,n){try{uc.capture(e,{data:n,status:t,body:n})}catch(e){}}Ua('.main-module_ms-main-bot__QKkRf::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n /* Add height for horizontal scrollbar */\n}\n\n.main-module_ms-main-bot__QKkRf::-webkit-scrollbar-track {\n background-color: transparent;\n}\n\n.main-module_ms-main-bot__QKkRf::-webkit-scrollbar-thumb {\n background-color: #d1d5db80;\n border-radius: 4px;\n}\n\n/* Add styles for horizontal scrollbar */\n.main-module_ms-main-bot__QKkRf::-webkit-scrollbar-corner {\n background-color: transparent;\n}\n\n\n.main-module_ms-loading-box__Twckb::before {\n content: "";\n position: absolute;\n width: 150%;\n height: 150%;\n background-image: conic-gradient(transparent, transparent, transparent, #00ccff);\n animation: main-module_loadingbox__W2iCt 4s linear infinite;\n\n}\n\n.main-module_ms-rediebeddi__1CtWq {\n background-color: red !important;\n}\n\n.main-module_ms-loading-box__Twckb::after {\n content: "";\n position: absolute;\n width: 150%;\n height: 150%;\n background-image: conic-gradient(transparent, transparent, transparent, #d400d4);\n animation: main-module_loadingbox__W2iCt 4s linear infinite;\n animation-delay: -2s;\n}\n\n\n.main-module_ms-loading-box2__xhzvD::before {\n content: "";\n position: absolute;\n width: 105%;\n height: 100%;\n/* \n transform: translate(+10%,-10%); */\n /* background-color: red; */\n top: 0%; /* adjust as needed */\n left: -5%; \n background-image: conic-gradient(transparent, transparent, transparent, var(--accent-color));\n \n animation: main-module_loadingbox__W2iCt 3s linear infinite;\n\n}\n\n/* .ms-loading-box2::after {\n content: "";\n position: absolute;\n width: 150%;\n height: 150%;\n background-image: conic-gradient(transparent, transparent, transparent, #c3b6fc);\n animation: loadingbox 4s linear infinite;\n} */\n\n\n\n\n@keyframes main-module_loadingbox__W2iCt {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n\n}');var Wk=function(e,t){localStorage.setItem(e,JSON.stringify(t))},Kk=function(e){var t=localStorage.getItem(e);return t?JSON.parse(t):null},Yk=function(e){var t=e.isPinned,n=e.setPinState;return r.createElement(r.Fragment,null,r.createElement("button",{onClick:n,className:" ms-flex ms-bg-transparent ms-w-fit ms-items-center ms-justify-center ms-px-1 ms-py-1 ms-rounded ms-shadow-lg ms-text-white ms-transition-colors ms-duration-200 hover:!ms-cursor-pointer\n ".concat("")},t?r.createElement(jk,{className:"!ms-fill-inherit ".concat(t?"ms-transform -ms-rotate-90":"ms-transform -ms-rotate-45"),size:16}):r.createElement(Ok,{className:"ms-stroke-inherit !ms-fill-inherit ".concat(t?"ms-transform -ms-rotate-90":"ms-transform -ms-rotate-45"),size:16})))};function Qk(e){var t=e.darkMode;return r.createElement("div",{className:"ms-animate-pulse"},r.createElement("div",{className:"ms-grid ms-grid-cols-1 sm:ms-grid-cols-3 ms-gap-2 ms-pt-2 ms-rounded-lg ms-pb-2"},r.createElement("div",{className:"ms-h-8 ms-w-28 ms-rounded-lg ".concat(t?"ms-bg-gray-50 ms-opacity-10":"ms-bg-black ms-opacity-10")}),r.createElement("div",{className:"ms-h-8 ms-w-28 ms-rounded-lg ".concat(t?"ms-bg-gray-50 ms-opacity-10":"ms-bg-black ms-opacity-10")}),r.createElement("div",{className:"ms-h-8 ms-w-28 ms-rounded-lg ".concat(t?"ms-bg-gray-50 ms-opacity-10":"ms-bg-black ms-opacity-10")})))}function Xk(e,t){return mt(this,void 0,void 0,(function(){var n,r;return ht(this,(function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:return[4,n.read()];case 2:return(r=o.sent()).done?[3,3]:(t(r.value),[3,1]);case 3:return[2]}}))}))}function Zk(e){var t,n,r,o=!1;return function(a){void 0===t?(t=a,n=0,r=-1):t=function(e,t){var n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(t,a);for(var i=t.length,s=0;n0){var n=_.decode(e.subarray(0,t)),r=t+(32===e[t+1]?2:1),o=_.decode(e.subarray(r));switch(n){case"data":S.data=S.data?S.data+"\n"+o:o;break;case"event":S.event=o;break;case"id":m(S.id=o);break;case"retry":var a=parseInt(o,10);isNaN(a)||k(S.retry=a)}}})))];case 4:return c.sent(),null==i||i(),y(),t(),[3,6];case 5:if(o=c.sent(),!p.signal.aborted)try{l=null!==(n=null==s?void 0:s(o))&&void 0!==n?n:h,window.clearTimeout(g),g=window.setTimeout(w,l)}catch(e){y(),d(e)}return[3,6];case 6:return[2]}var m,k,x,S,_}))}))}w()}))}function nx(e){var t=e.headers.get("content-type");if(!t)throw new Error("Expected content-type.");if(!(null==t?void 0:t.startsWith(Jk)))throw new Error("Expected content-type to be ".concat(Jk,", Actual: ").concat(t))}var rx=function(e){var t=e.style,n=e.hintText,o=e.company,a=e.project,i=e.isMendableLoading,s=e.botIcon,l=e.userIcon,c=e.anon_key,u=e.suggestedQuestions,d=e.historyState,p=e.setHistory,f=e.messageSettings,m=void 0===f?xr:f,h=e.toolbarSettings,g=void 0===h?Sr:h,y=e.setResetHistory,b=e.hiddenField,v=void 0===b?null:b,w=e._shouldStream,k=void 0===w||w,x=e._inputQuesiton,S=void 0===x?"":x,_=e._autoAskQuestion,E=void 0!==_&&_,C=e.context,A=void 0===C?"":C,O=e.testing_id,T=e.footer,P=void 0===T?null:T,j=e.metadata,N=void 0===j?void 0:j,R=e._newInterface,L=void 0!==R&&R,I=e._resetComponent,F=void 0!==I&&I,D=e._setResetComponent,M=void 0===D?function(){}:D,B=e._isPinned,z=void 0!==B&&B,$=e._setIsPinned,q=void 0===$?void 0:$,U=e._closeComponent,H=void 0===U?void 0:U,V=e._persistConvState,G=void 0!==V&&V,W=e._setPersistConvState,K=void 0===W?function(){}:W,Y=e.privacyDisclaimer,Q=void 0===Y?"":Y,X=e.inputSettings,Z=e.onMessageForTracking,J=e.onSourceClickedForTracking,ee=e.onRateClicked,te=e.__experimentalBuilderApiKey,ne=void 0===te?"":te;ft(e,["style","hintText","company","project","isMendableLoading","botIcon","userIcon","anon_key","suggestedQuestions","historyState","setHistory","messageSettings","toolbarSettings","setResetHistory","hiddenField","_shouldStream","_inputQuesiton","_autoAskQuestion","context","testing_id","footer","metadata","_newInterface","_resetComponent","_setResetComponent","_isPinned","_setIsPinned","_closeComponent","_persistConvState","_setPersistConvState","privacyDisclaimer","inputSettings","onMessageForTracking","onSourceClickedForTracking","onRateClicked","__experimentalBuilderApiKey"]);var re=(0,r.useRef)(null),oe=(0,r.useRef)(null),ae=(0,r.useState)(""),ie=ae[0],se=ae[1],le=(0,r.useState)([]),ce=le[0],ue=le[1],de=Wy().t,pe=(0,r.useState)(!1),fe=pe[0],me=pe[1],he=(0,r.useState)(!1),ge=he[0],ye=he[1],be=(0,r.useState)(),ve=be[0],we=be[1],ke=(0,r.useState)(""),xe=ke[0],Se=ke[1],_e=(0,r.useState)(S),Ee=_e[0],Ce=_e[1],Ae=(0,r.useState)(E),Oe=Ae[0],Te=Ae[1],Pe=(0,r.useState)(!1),je=Pe[0],Ne=Pe[1],Re=(0,r.useState)(null),Le=Re[0],Ie=Re[1],Fe=(0,r.useState)(0),De=Fe[0],Me=Fe[1],Be=function(){Me(De+1),se(""),ue([]),y(),me(!1),Ce(""),Ie(null),Ne(!1),Wk(Ve,null),K(!1),ye(!1),we(null),Se(""),L&&M(!1)},ze=(0,r.useState)(""),$e=ze[0],qe=ze[1];(0,r.useEffect)((function(){"undefined"!=typeof window&&qe(window.location.href)}),[]),(0,r.useEffect)((function(){F&&Be()}),[F]),(0,r.useEffect)((function(){uc.init("phc_lO7NMACRK6bPw3AP2cczlztJLMtKDOU9NcVmgSQjdvM",{api_host:"https://app.posthog.com"})}),[]);var Ue="mendableBotChatHistory"+(null==o?void 0:o.name),He="mendableBack"+(null==o?void 0:o.name),Ve="mendableBotConversationId"+(null==o?void 0:o.name);(0,r.useEffect)((function(){O&&uc.capture("testing_id",{testing_id:O})}),[O]),(0,r.useEffect)((function(){d.length>1&&(Wk(Ue,d),Wk(He,!1))}),[He,Ue,d]);var Ge=(0,r.useState)(new AbortController),We=Ge[0],Ke=Ge[1];(0,r.useEffect)((function(){""!==Ee&&null!==Le&&!fe&&!je&&L&&Oe&&(Qe(Ee),Te(!1))}),[fe,Le]),(0,r.useEffect)((function(){if(me(!0),null==m?void 0:m.persistMessagesBetweenSessions){var e=Kk(Ve);if(null!=e){var t=Kk(Ue);if(t){if(me(!1),t.length>0&&(Ie(e),p(t)),t.length>0){for(var n=[],r=0;r=t.length)break;var a=t[r+1].message;n.push({prompt:o,response:a,sources:[]})}p(t)}return}}}else if(G){var i=Kk(Ve);if(null!=i)return Ie(i),void me(!1)}(function(e,t){return mt(this,void 0,void 0,(function(){var n,r,o;return ht(this,(function(a){switch(a.label){case 0:return n="".concat(_r,"/newConversation"),r=JSON.stringify({anon_key:e,messages:t}),[4,fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:r})];case 1:return(o=a.sent()).ok?[4,o.json()]:(dt.error("Error starting conversation"),[2,{}]);case 2:return[2,a.sent()]}}))}))})(c,[]).then((function(e){null!=e?(Ie(e),Wk(Ve,e),me(!1)):dt.error("conversation is null")})).catch((function(e){dt.log("error",e),me(!1)}))}),[c,De]),(0,r.useEffect)((function(){var e,t,n;void 0!==(null===(e=oe.current)||void 0===e?void 0:e.scrollTop)&&void 0!==(null===(t=oe.current)||void 0===t?void 0:t.scrollHeight)&&void 0!==(null===(n=oe.current)||void 0===n?void 0:n.clientHeight)&&setTimeout((function(){var e,t,n,r=null===(e=oe.current)||void 0===e?void 0:e.scrollTop,o=null===(t=oe.current)||void 0===t?void 0:t.scrollHeight,a=null===(n=oe.current)||void 0===n?void 0:n.clientHeight;void 0!==r&&void 0!==o&&void 0!==a&&o-r-a<100&&Ye()}),50)}),[ie]),(0,r.useEffect)((function(){Ye()}),[d]);var Ye=function(){!1!==(null==m?void 0:m.scrollToView)&&oe.current&&(oe.current.scrollTop=oe.current.scrollHeight)},Qe=function(e){return mt(void 0,void 0,void 0,(function(){var t,n,r,a,i,s,l,u,f,h,g,y,b;return ht(this,(function(v){try{t=Ee,void 0!==e&&(t=e),Ne(!0),Ce(""),n=gt(gt([],d,!0),[{message:t,sources:[],code_snippet:"",isBot:!1,message_id:0}],!1),p(n),r=function(e){for(var t=[],n=1;n=e.length)break;var o=e[n+1].message;t.push({prompt:r,response:o,sources:[]})}return t.reverse()}(d),a=[],l=vr.None,u="",f="",h="",g="UTC";try{g=Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){dt.error(e)}y=function(){return mt(void 0,void 0,void 0,(function(){var e,o,a,i,s,d,f,h,y,b,v,w,k;return ht(this,(function(x){switch(x.label){case 0:return[4,fetch(_r+"/component/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({question:t,history:r,component_version:Er,anon_key:c,conversation_id:null==Le?void 0:Le.conversation_id,shouldStream:!1,timezone:g,url:$e,metadata:N||{},experimental_builder_api_key:ne,sources_first:null!==(y=m.sourcesFirst)&&void 0!==y&&y})})];case 1:return(e=x.sent()).ok?[4,e.json()]:(dt.error("Error starting conversation"),[2]);case 2:return(o=x.sent()).status>=400&&(dt.error("Something went wrong"),dt.error(o),Gk("Error in the component (non streaming)",o.status,JSON.stringify({question:t,history:r,component_version:Er,anon_key:c,conversation_id:null==Le?void 0:Le.conversation_id}))),a=null!==(b=o.full_docs)&&void 0!==b&&b,i=null!==(v=o.no_docs)&&void 0!==v&&v,a?(l=vr.FullDocs,u=null!==(w=o.alert_message)&&void 0!==w?w:"",[2]):(i&&(l=vr.NoDocs,u=null!==(k=o.alert_message)&&void 0!==k?k:""),s=o.answer,d=o.message_id,f=o.sources,h=gt(gt([],n,!0),[{message:s,sources:f,code_snippet:"",isBot:!0,message_id:d,alert:alert,alertMessage:"",toolError:xe,currentTool:ve}],!1),p(h),se(""),ue([]),Ne(!1),me(!1),[2])}}))}))},b=function(){return mt(void 0,void 0,void 0,(function(){var e,d;return ht(this,(function(y){switch(y.label){case 0:return me(!0),e="",[4,tx(_r+"/component/chat",{method:"POST",signal:We.signal,headers:{Accept:"text/event-stream","Content-Type":"application/json"},body:JSON.stringify({question:t,history:r,component_version:Er,anon_key:c,conversation_id:null==Le?void 0:Le.conversation_id,additional_context:""!==A?"Context: "+A:"",timezone:g,url:$e,metadata:N||{},experimental_builder_api_key:ne,sources_first:null!==(d=m.sourcesFirst)&&void 0!==d&&d}),openWhenHidden:!0,onopen:function(e){return e.ok&&200===e.status||e.status>=400&&e.status<500&&429!==e.status&&(dt.error("Client side error ",e),Gk("Client side error (on open)",e.status,e)),e},onmessage:function(n){var o,d,p,g;if(429===n.status&&n.headers.get("Retry-After"))dt.error("Rate limit exceeded");else if(""!==n.data&&void 0!==n.data){var y;try{y=JSON.parse(n.data)}catch(e){return}if(void 0!==y){y.status>=400&&(dt.error("Something went wrong"),dt.error(y),Gk("Error in the component (on message)",y.status,JSON.stringify({question:t,history:r,component_version:Er,anon_key:c,conversation_id:null==Le?void 0:Le.conversation_id})),l=vr.Error,u="Error: something went wrong with your request");var b=y.chunk,v=null!==(o=y.full_docs)&&void 0!==o&&o,w=null!==(d=y.no_docs)&&void 0!==d&&d;if(v)return l=vr.FullDocs,void(u=null!==(p=y.alert_message)&&void 0!==p?p:"");if(w)return l=vr.NoDocs,void(u=null!==(g=y.alert_message)&&void 0!==g?g:"");if("<|confidence_score|>"!==b){if("<|source|>"===b)return a=y.metadata,void(m.sourcesFirst&&(ue(a),se("\u200b"),Ne(!1)));if("<|message_id|>"!==b){if("<|loading_tools|>"===b||"<|taking_action|>"===b){y.metadata;return ye(!0),l=vr.None,void(u="")}if("<|tool_called|>"===b){var k=y.metadata;return f=k,we(k),void se("\u200b")}if("<|tool_output|>"!==b){if("<|tool_error|>"===b){var x=y.metadata;return h=x,void Se(x)}e+=b,Ne(!1),se((function(e){return e+b}))}}else s=y.metadata}else i=y.metadata}}},onclose:function(){"undefined"!==e&&void 0!==e||(e="I'm sorry, something went wrong. OpenAI servers may be down. Check back later!"),p(gt(gt([],n,!0),[{message:e,sources:a,code_snippet:"response.code_snippet",isBot:!0,message_id:s,alert:l,alertMessage:u,toolError:h,currentTool:f}],!1)),uc.capture("message",{message:t,isBot:!1,company:null==o?void 0:o.name,conversation_id:null==Le?void 0:Le.conversation_id}),uc.capture("message",{message:e,sources:a,code_snippet:"response.code_snippet",isBot:!0,company:null==o?void 0:o.name,conversation_id:null==Le?void 0:Le.conversation_id}),null!=Z&&Z(t,e,a.map((function(e){return e.link})),i),ye(!1),we(null),Se(""),se(""),ue([]),Ne(!1),me(!1)},onerror:function(e){throw dt.log("There was an error from server",e),l=vr.Error,u="Error: something went wrong with your request",Ne(!1),me(!1),p(gt(gt([],n,!0),[{message:"Something went wrong, try again later",sources:[],code_snippet:"response.code_snippet",isBot:!0,message_id:218,alert:l,alertMessage:u,toolError:h,currentTool:f}],!1)),Gk("Fatal error on the component (on error): "+String(e),500,JSON.stringify({question:t,history:r,component_version:Er,anon_key:c,conversation_id:null==Le?void 0:Le.conversation_id})),e}})];case 1:return y.sent(),[2]}}))}))},!0===k?b():y()}catch(e){return dt.log("Error initiating connection",e),me(!1),Ne(!1),[2]}return[2]}))}))};return r.createElement("div",{className:Hk+" ms-global ms-relative ms-w-full ms-px-4 ms-py-2"},r.createElement("div",{style:{color:t.darkMode?"#ffffff":"#1a1a1a"},ref:oe,className:Hk+" ms-global ms-z-[100] ms-h-full ms-max-h-[550px] ms-w-full ms-overflow-y-auto ms-rounded-t-md"},r.createElement("div",{className:"top-right-menu ms-absolute ".concat("right"===m.textAlign?"ms-left-3":"ms-right-3"," ms-top-2 !ms-z-[10001] ms-flex ms-gap-1")},q&&r.createElement("div",{className:"ms-flex ms-gap-1"},r.createElement("div",{className:"pin-toggle-container ms-flex ms-items-center ms-self-end ms-whitespace-nowrap ms-rounded-lg ms-p-0.5 ms-text-xs ms-opacity-100 sm:ms-text-sm ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer ")},r.createElement(Yk,{isPinned:!z,setPinState:q}))),d.length>1&&!fe&&!je&&!L&&r.createElement("button",{id:"ms-reset-button",className:"ms-flex ms-items-center ms-self-end ms-whitespace-nowrap ms-rounded-lg ms-px-2 ms-py-1 ms-text-xs ms-opacity-100 sm:ms-text-sm ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," \n hover:ms-cursor-pointer "),onClick:Be},r.createElement("svg",{className:"ms-mr-2",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 489.533 489.533",width:"12px",style:{fill:t.darkMode?"#fafafa":"#1a1a1a",opacity:.8}},r.createElement("g",null,r.createElement("path",{d:"M268.175,488.161c98.2-11,176.9-89.5,188.1-187.7c14.7-128.4-85.1-237.7-210.2-239.1v-57.6c0-3.2-4-4.9-6.7-2.9l-118.6,87.1c-2,1.5-2,4.4,0,5.9l118.6,87.1c2.7,2,6.7,0.2,6.7-2.9v-57.5c87.9,1.4,158.3,76.2,152.3,165.6c-5.1,76.9-67.8,139.3-144.7,144.2c-81.5,5.2-150.8-53-163.2-130c-2.3-14.3-14.8-24.7-29.2-24.7c-17.9,0-31.9,15.9-29.1,33.6C49.575,418.961,150.875,501.261,268.175,488.161z"}))),r.createElement("p",{style:{margin:0}},de("reset"))),H&&r.createElement("button",{id:"ms-close-button",className:"ms-flex ms-items-center ms-self-end ms-whitespace-nowrap ms-rounded-lg ms-px-1.5 ms-py-1.5 ms-text-xs ms-opacity-100 sm:ms-text-sm ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer "),onClick:function(){H(),K(!0)}},r.createElement(Tk,{size:16}))),d.map((function(e,n){var o;return r.createElement("div",{key:n,className:"".concat((e.isBot,"ms-bg-transparent")," ms-flex ms-h-full ms-flex-col ms-items-center ms-justify-center")},r.createElement(Mk,{message:e.message,isBot:e.isBot,sources:e.sources,messageStyle:t,sourcesStyle:t,message_id:e.message_id,alert:e.alert,alertMessage:e.alertMessage,botIcon:s,userIcon:l,anon_key:c,isGenerating:!1,initialMessage:e.message===de("welcomeMessage")||e.message===d[0].message,messageSettings:m,displayThin:z,previousMessage:n>0&&null!==(o=d[n-1].message)&&void 0!==o?o:"",onSourceClickedForTracking:J,onRateClicked:ee,isTakingAction:!1,toolUsed:e.currentTool,toolError:e.toolError}))})),""!==ie&&r.createElement("div",{className:'ms-bg-transparent" : "ms-bg-transparent ms-flex ms-h-full ms-flex-col ms-items-center ms-justify-center'},r.createElement(Mk,{message:ie,isBot:!0,sources:ce,messageStyle:t,sourcesStyle:t,message_id:null,botIcon:s,userIcon:l,anon_key:c,isGenerating:fe,initialMessage:ie===de("welcomeMessage")||ie===d[0].message,messageSettings:m,displayThin:z,previousMessage:ie,onSourceClickedForTracking:J,onRateClicked:ee,isTakingAction:ge,toolUsed:ve,toolError:xe})),je?r.createElement(qk,{color:t.accentColor}):r.createElement("div",null),r.createElement("div",{className:"ms-flex ms-flex-col ms-items-center ms-justify-center ms-border-b ms-border-gray-500 ms-border-opacity-20 ms-mb-4"},!je&&fe&&""===ie&&ge&&!ve?r.createElement(Uk,{color:t.accentColor}):r.createElement("div",null)),r.createElement("div",{ref:re})),r.createElement("div",{className:"ms-global ms-z-[100] ms-flex ms-w-full ms-items-center ms-justify-center sm:ms-mt-4"},r.createElement("div",{className:"ms-global ms-relative ms-flex ms-w-full ms-flex-col ms-items-start ms-justify-start "},(null==u||null===Le)&&d.length<=1?r.createElement(Qk,{darkMode:t.darkMode}):null!=u&&u.length>0&&d.length<=1?r.createElement(Vk,{onClick:function(e){Ce(e),Qe(e)},darkMode:t.darkMode,questions:u}):r.createElement(r.Fragment,null),g.showStopGeneratingButton&&fe&&!je&&""!==ie&&r.createElement("button",{className:" ms-mx-auto ms-mb-2 ms-flex ms-w-fit ms-animate-fade-in-up-fast ms-items-center ms-justify-start ms-rounded-lg ms-p-1 ms-pr-2 ms-text-sm ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer "),onClick:function(){We.abort(),Ke(new AbortController),me(!1),Ne(!1),p(gt(gt([],d,!0),[{message:ie,sources:[],code_snippet:"response.code_snippet",isBot:!0,message_id:null,alert:null,alertMessage:null,currentTool:"",toolError:""}],!1)),se(""),ue([]),uc.capture("stop-generating-clicked",{message:"Stop generating message : "+ie,sources:[],code_snippet:"response.code_snippet",isBot:!0,company:null==o?void 0:o.name,conversation_id:null==Le?void 0:Le.conversation_id}),uc.capture("message",{message:"Stop generating message : "+ie,sources:[],code_snippet:"response.code_snippet",isBot:!0,company:null==o?void 0:o.name,conversation_id:null==Le?void 0:Le.conversation_id})}},r.createElement(Lh,{size:20,className:"ms-mr-1 "}),"Stop generating"),r.createElement($k,{onChange:function(e){Ce(e.target.value)},handleClick:function(){return Qe()},value:Ee,onKeyDown:function(e){"Enter"===e.key&&Ee&&!e.shiftKey?(e.shiftKey||!Ee||je||fe||i||Qe(),e.preventDefault()):"Enter"!==e.key||e.shiftKey||e.preventDefault()},placeholder:n,style:t,loading:i,generating:fe,overrideInputContainerStyles:"ms-rounded-xl",inputSettings:X,isTextArea:!0}))),r.createElement("div",{className:"ms-flex ms-flex-row ms-items-center ms-justify-between ms-gap-1"},o&&!o.is_white_label?r.createElement("p",{style:{color:t.darkMode?"#ffffff":"#000000"},className:"!ms-mt-2 !ms-mb-0 !ms-p-0 ms-text-xs ms-text-[10px] sm:ms-text-xs "},de("poweredBy")," ",r.createElement("a",{onClick:function(){uc.capture("mendable_link_clicked",{company:o.name})},style:{textDecorationColor:t.accentColor,color:t.accentColor},href:"https://mendable.ai",className:"ms-underline"},"Mendable")):r.createElement("div",{className:"ms-mt-2"}),""!==Q&&r.createElement("p",{className:"!ms-mt-2 !ms-mb-0 !ms-p-0 ms-text-center ms-text-xs ms-text-[10px] ms-text-gray-500 sm:ms-text-xs"},Q),null==v||(null==o?void 0:o.is_white_label)?r.createElement(r.Fragment,null):r.createElement("div",{style:{color:t.darkMode?"#ffffff":"#000000"},className:"ms-mt-2 ms-mb-0 ms-p-0 ms-text-xs ms-text-[10px] ms-outline-none sm:ms-text-xs ",dangerouslySetInnerHTML:{__html:v}}),null===a||null===a.support_url||void 0===a.support_url||""===a.support_url||(null==P?void 0:P.bottomRightLink)?r.createElement(r.Fragment,null):r.createElement("a",{className:"ms-mt-2 ms-mb-0 ms-p-0 ms-text-xs ms-text-[10px] sm:ms-text-xs",style:{textDecorationColor:t.accentColor,color:t.accentColor},onClick:function(){var e;uc.capture("support link clicked",{company_name:null!==(e=null==o?void 0:o.name)&&void 0!==e?e:"",project_id:a.id,company_id:a.id,support_url:a.support_url})},target:"_blank",href:a.support_url,rel:"noreferrer"},de("contactSupport")),P&&P.bottomRightLink&&r.createElement("a",{className:"ms-mt-2 ms-mb-0 ms-p-0 ms-text-xs ms-text-[10px] sm:ms-text-xs",style:{textDecorationColor:t.accentColor,color:t.accentColor},target:"_blank",href:P.bottomRightLink.link,rel:"noreferrer"},P.bottomRightLink.label)))};function ox(e){var t=e.placeholder,n=void 0===t?"Find or ask a question...":t;e.loading,e.handleClick;var o=e.onChange,a=e.value,i=e.onKeyDown;e.generating;var s=e.overrideInputStyles,l=void 0===s?"":s;e.overrideInputContainerStyles;var c=e.style,u=void 0===c?wr:c,d=e.isTextArea,p=void 0!==d&&d,f=e.isThinHorizontally,m=void 0!==f&&f,h=e.spinLoading,g=void 0!==h&&h,y=r.useRef(null);return r.useEffect((function(){y.current&&y.current.focus()}),[]),Wy().t,r.createElement("div",{className:"ms-global ms-mt-2 ms-h-full ms-w-full ms-text-base sm:ms-mt-2 sm:ms-text-base"},r.createElement("div",{className:"ms-relative ms-flex ms-h-full ms-w-full ms-px-4 ms-py-1 ".concat(m?"ms-width-full ms-flex-col-reverse ms-items-end":"ms-flex-row ms-items-center")},r.createElement("div",{className:"ms-global ms-flex ms-w-full ms-min-w-0 ms-items-center ms-gap-1"},p?r.createElement(Bk,{id:"userInput",name:"userInput",autoFocus:!0,maxLength:1300,onKeyDown:i,value:a,onChange:o,placeholder:n,customStyle:u,overrideInputStyles:l}):r.createElement("input",{ref:y,id:"userInput",name:"userInput",autoFocus:!0,maxLength:512,onKeyDown:i,value:a,onChange:o,placeholder:n,className:" font-sans ms-flex-grow ms-bg-transparent ms-text-base sm:ms-text-base ".concat(u.darkMode?"ms-text-white":"ms-text-black"," ms-w-full ms-truncate ms-outline-none ms-ring-0 ms-ring-transparent focus:ms-outline-none focus:ms-ring-0 focus:ms-ring-transparent ").concat(l," ")})),g&&r.createElement("div",{className:"ms-absolute ms-right-2 "},r.createElement("svg",{"aria-hidden":"true",className:"ms-ml-4 ms-mr-2 ms-h-4 ms-w-4 ms-animate-spin ms-fill-gray-500 ms-text-gray-200",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("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"}),r.createElement("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"})))))}function ax(e){var t=e.children,n=e.resetButton,o=e.topMessage,a=e.onBackClick,i=e.setIsPinnedButton,s=e.style,l=Wy().t;return r.createElement("div",{className:"ms-h-full ms-w-full "},r.createElement("div",{className:"ms-flex ms-w-full ms-items-center ms-justify-between ms-px-3 ms-pt-2"},r.createElement("button",{className:" ms-relative !ms-z-[10001] ms-flex ms-items-center ms-whitespace-nowrap ms-rounded-lg ms-px-2 ms-py-1 ms-text-xs ms-opacity-100 sm:ms-text-sm ".concat(s.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer "),onClick:a},r.createElement(Rh,{className:"ms-mr-1",style:{fill:s.darkMode?"#fafafa":"#1a1a1a",opacity:.8}}),r.createElement("p",{style:{margin:0}},l("back"))),""!==o&&r.createElement("div",{className:"ms-hidden ms-items-center sm:ms-flex"},r.createElement(Nh,{className:"ms-mr-1 ms-fill-yellow-500"}),r.createElement("p",{className:"".concat(s.darkMode?"ms-text-white":"ms-text-gray-800"," ms-m-0 ms-p-0 ms-text-sm")},o)),r.createElement("div",{className:"ms-flex ms-flex-row ms-gap-1"},i,n)),t)}function ix(e){var t=e.isGenerating;return r.createElement("svg",{className:t?"ms-animate-pulse":"",stroke:"#fff",fill:"none",strokeWidth:"1.5",viewBox:"0 0 24 24","aria-hidden":"true",height:"20px",width:"20px",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"}))}function sx(e){var t=e.icon,n=e.messageStyle;e.isGenerating;var o=e.isFancy,a=void 0!==o&&o,i=e.isCustomIcon,s=void 0!==i&&i;return r.createElement("div",{style:{background:function(){if(s)return"";if(n.accentColor){if(a&&n.accentColor.startsWith("#fff"))return"#ffffff33";if(a&&n.accentColor.startsWith("#000"))return"#00000077"}return a&&a?"linear-gradient(to right, "+n.accentColor+","+n.accentColor+"77)":""}(),backgroundClip:"padding-box"},className:"\n ms-h-8\n ms-w-8\n ms-min-w-[32px]\n ms-flex-col\n ms-items-center\n ms-justify-center ms-overflow-hidden ms-rounded-lg ms-border ms-border-gray-500 ms-border-opacity-20 ms-flex sm:ms-h-8 sm:ms-w-8 sm:ms-min-w-[32px]"},r.createElement("div",{className:"messageIconContainer ms-m-0 ms-flex ms-items-center ms-justify-center ms-p-0 ms-text-sm sm:ms-text-base"},t))}function lx(e){var t=e.item,n=e.index,o=e.style;e.company;var a=e.onClick,i=e.onMouseEnter,s=e.onMouseLeave,l=e.selected,c=e.openInNewTab,u=void 0!==c&&c,d=e.inputQuestion,p=e.openInNewTabForOutsideSources;return r.createElement("a",{onMouseEnter:i,onMouseLeave:s,key:n,href:t.link,onClick:a,className:"ms-w-full ms-no-underline",rel:"noreferrer",target:Ky(t.link,u,p||!1)?"_blank":"_self"},r.createElement("div",{className:"ms-mb-2 ms-flex ms-w-full ms-items-center ms-overflow-hidden ms-justify-start ms-rounded-lg ms-p-2 ms-transition-all ".concat(l?o.darkMode?"ms-bg-white ms-bg-opacity-5":"ms-bg-gray-800 ms-bg-opacity-5":"")},r.createElement("div",{className:"ms-mr-4"},r.createElement(sx,{messageStyle:o,isGenerating:!1,icon:r.createElement(Qy,{className:o.darkMode?"ms-fill-white":"ms-fill-gray-800"}),isCustomIcon:!1,isFancy:!1})),r.createElement("div",{className:" ms-flex ms-flex-col ms-items-start"},r.createElement("p",{className:"!ms-m-0 !ms-p-0 ms-text-sm ms-font-medium ".concat(o.darkMode?"ms-text-white":"ms-text-gray-800")},t.linkName&&""!==t.linkName?t.linkName:""!==t.title?t.title:function(e){var t;try{t=new URL(e)}catch(t){return e}var n=t.pathname.replace(/^\/|\/$/g,"").split("/");if((n=n.filter((function(e){return e})).map((function(e){return decodeURIComponent(e.replace(/\+/g," "))}))).length>0&&n[n.length-1].includes(".")){var r=n[n.length-1];n[n.length-1]=r.split(".").slice(0,-1).join(".")}if(0===n.length)return t.hostname;var o=n.slice(-Math.min(2,n.length)).map((function(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[-_+]/g," ").split(" ").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join(" ")})).reverse().join(" - ");o=o.replace(/[^a-z0-9 -]/gi,"");try{if(o.match(/^\d+/g)){var a=o.split(" ");a[0].match(/\d+/g)&&(a.shift(),o=a.join(" "))}}catch(e){}return o.length>35&&(o=o.substring(0,35)+"..."),o}(t.link)),r.createElement("div",{className:"!ms-m-0 !ms-mt-1 ms-flex ms-items-center ms-p-0 ms-text-xs ms-font-medium ms-opacity-75 ".concat(o.darkMode?"ms-text-white":"ms-text-gray-800")},t.highlight?r.createElement(cx,{item:t,query:d,style:o}):r.createElement(r.Fragment,null,r.createElement(Pk,{className:"ms-mr-1 ms-inline-block"}),r.createElement("span",null,t.link))))))}var cx=function(e){var t=e.item,n=e.style;return r.createElement("span",{style:{lineHeight:"1.2em",maxHeight:"2.4em",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},dangerouslySetInnerHTML:{__html:t.highlight.replace(//gi,''))}})};function ux(e){var t=e.children,n=e.style,o=e.onClick,a=e.onMouseEnter,i=e.onMouseLeave,s=e.selected,l=void 0!==s&&s,c=e.disableHover,u=void 0!==c&&c,d=e.disableSpacing,p=void 0!==d&&d;return r.createElement("div",{onClick:o,onMouseEnter:a,onMouseLeave:i,className:"".concat(p?"":"ms-mb-2"," ms-flex ms-items-center ms-justify-start ms-rounded-lg ms-px-2 ms-transition-all hover:ms-cursor-pointer ").concat(u?"":n.darkMode?"hover:ms-bg-white hover:ms-bg-opacity-5":"hover:ms-bg-black hover:ms-bg-opacity-5"," ").concat(l?n.darkMode?"ms-bg-white ms-bg-opacity-5":"ms-bg-gray-800 ms-bg-opacity-5":"")},t)}var dx=function(e){var t=e.isMultilineInput,n=e.isOnlyAI,o=e.hideMendable,a=e.style,i=e.botIcon;e.setMendableBotUI;var s=e.setSelectedIndex,l=e.onClick,c=e.selectedIndex,u=e.totalItems,d=e.askAIText,p=e.inputQuestion;return t?null:r.createElement("div",{tabIndex:0,style:{"--accent-color":a.accentColor},className:"ms-overflow-hidden ms-rounded-lg ms-p-0.5 ".concat(n&&"main-module_ms-loading-box2__xhzvD"," ms-relative")},r.createElement("div",{className:"ms-relative ms-z-[1000] ms-rounded-lg ".concat(a.darkMode?n?"ms-bg-[#1a1a1a]":"":n?"ms-bg-[#ffffff]":"")},!o&&r.createElement(ux,{onClick:function(){l()},style:a,selected:c===u,onMouseEnter:function(){return s(u)},onMouseLeave:function(){return s(u)},disableSpacing:!0},r.createElement("div",{className:"ms-flex ms-flex-col ms-items-start ms-justify-start "},r.createElement("div",{className:"ms-flex ms-flex-row ms-items-center"},r.createElement("div",{className:""},r.createElement(sx,{messageStyle:a,isGenerating:!1,isCustomIcon:void 0!==i,icon:i?"string"==typeof i?r.createElement("img",{alt:"Search Icon",src:i}):i:r.createElement(ix,{isGenerating:!1}),isFancy:!0})),r.createElement("p",{style:{margin:0,padding:0},className:"!ms-my-4 !ms-ml-3 ms-text-base ms-font-normal"},function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(d),!t&&r.createElement("span",{className:"ms-font-medium"},p.length>0?": "+p:"")))))))},px=function(e){var t=e.style,n=e.hintText,o=e.company,a=e.project,i=e.isMendableLoading,s=e.botIcon,l=e.userIcon,c=e.askAIText,u=void 0===c?"Ask Mendable":c,d=e.anon_key,p=e.metadata,f=e.suggestedQuestions,m=e.historyState,h=e.setHistory,g=e.messageSettings;e.setResetHistory;var y=e.hiddenField,b=void 0===y?null:y,v=e._shouldStream,w=void 0===v||v,k=e.testing_id,x=e.isThinHorizontally,S=void 0!==x&&x,_=e._isPinned,E=void 0!==_&&_,C=e._setIsPinned,A=void 0===C?void 0:C,O=e._persistConvState,T=void 0!==O&&O,P=e._setPersistConvState,j=e.onMessageForTracking,N=e.onSourceClickedForTracking;e.onSwitchingSearchType;var R=ft(e,["style","hintText","company","project","isMendableLoading","botIcon","userIcon","askAIText","anon_key","metadata","suggestedQuestions","historyState","setHistory","messageSettings","setResetHistory","hiddenField","_shouldStream","testing_id","isThinHorizontally","_isPinned","_setIsPinned","_persistConvState","_setPersistConvState","onMessageForTracking","onSourceClickedForTracking","onSwitchingSearchType"]),L=(0,r.useRef)(null),I=Wy().t,F=(0,r.useState)(""),D=F[0],M=F[1],B=(0,r.useState)(!1),z=B[0];B[1],(0,r.useEffect)((function(){uc.init("phc_lO7NMACRK6bPw3AP2cczlztJLMtKDOU9NcVmgSQjdvM",{api_host:"https://app.posthog.com"})}),[]),(0,r.useEffect)((function(){k&&uc.capture("testing_id",{testing_id:k})}),[k]),null==o||o.name,(0,r.useEffect)((function(){}),[]);var $=(0,r.useState)(!1),q=$[0],U=$[1],H="mendableBack"+(null==o?void 0:o.name),V=(0,r.useState)(0),G=V[0],W=V[1],K=(0,r.useState)(!1);K[0];var Y=K[1],Q=(0,r.useState)(!1),X=Q[0],Z=Q[1],J=(0,r.useState)(!1),ee=J[0],te=J[1],ne=(0,r.useState)(!1);ne[0];var re=ne[1],oe=(0,r.useState)([]),ae=oe[0],ie=oe[1],se=(0,r.useState)(!1),le=se[0],ce=se[1],ue=(0,r.useState)(!1);ue[0];var de=ue[1],pe=(0,r.useState)(!1),fe=pe[0],me=pe[1],he=(0,r.useState)(!1),ge=he[0],ye=he[1],be=function(e,t,n,r){var o,i={keyword:e,index:t+1,company:null==r?void 0:r.name,sourceLink:n.link,source:n,project_id:null!==(o=null==a?void 0:a.id)&&void 0!==o?o:null};uc.capture("keyword_click_through",i)},ve=function(e,t){var n={inputQuestion:e,company:t};uc.capture("switch_to_ai",n)},we=function(e){return mt(void 0,void 0,void 0,(function(){var t;return ht(this,(function(n){switch(n.label){case 0:return null===o||null===a||""===e?[2]:(ce(!0),[4,qa(e,o.name,a.id.toString(),p)]);case 1:return t=n.sent().map((function(e){var t,n;return{content:e.content,link:e.meta.source,highlight:null!==(t=e.highlight)&&void 0!==t?t:"",linkName:e.meta.sourceName,title:null!==(n=e.title)&&void 0!==n?n:""}})),uc.capture("classic search",{search_term:e,num_search_results:t.length,search_results:t,project_id:a.id}),0===t.length?(re(!0),me(!1)):re(!1),ie(t.slice(0,4)),de(!0),ce(!1),[2]}}))}))},ke=ae.length;function xe(e){return e0?e-1:e}(e)})),Y(!0),Se.current&&G<2&&(Se.current.scrollTop-=64),e.preventDefault(),e.stopPropagation();else if("ArrowDown"===e.code)W((function(e){return xe(e)})),Y(!0),Se.current&&G>2&&G!==ke&&(Se.current.scrollTop+=64),e.preventDefault(),e.stopPropagation();else if("Tab"===e.code)W((function(e){return xe(e)})),Y(!0),e.preventDefault(),e.stopPropagation();else if("Enter"===e.code&&null!==G)if(G===ke)ve(D,o),U(!0);else{var t=ae[G];t&&(be(D,G,t,o),Ky(t.link,(null==g?void 0:g.openSourcesInNewTab)||!1,(null==g?void 0:g.openInNewTabForOutsideSources)||!1)?window.open(t.link,"_blank"):window.location.href=t.link)}};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[ke,G,ae,D]),q?r.createElement(ax,{onBackClick:function(){U(!1),M(""),ie([]),re(!1),Z(!1),te(!1),P&&P(!0),Wk(H,{back:!0})},topMessage:m.length>10?"Consider resetting the lengthy conversation for better outcomes":"",resetButton:r.createElement(r.Fragment,null,m.length>1&&!z&&r.createElement("button",{id:"ms-reset-button",className:" ms-flex ms-items-center ms-self-end ms-whitespace-nowrap ms-rounded-lg ms-px-2 ms-py-1 ms-text-xs ms-opacity-100 sm:ms-text-sm ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer "),onClick:function(){ye(!0)}},r.createElement("svg",{className:"ms-mr-2",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 489.533 489.533",width:"12px",style:{fill:t.darkMode?"#fafafa":"#1a1a1a",opacity:.8}},r.createElement("g",null,r.createElement("path",{d:"M268.175,488.161c98.2-11,176.9-89.5,188.1-187.7c14.7-128.4-85.1-237.7-210.2-239.1v-57.6c0-3.2-4-4.9-6.7-2.9l-118.6,87.1c-2,1.5-2,4.4,0,5.9l118.6,87.1c2.7,2,6.7,0.2,6.7-2.9v-57.5c87.9,1.4,158.3,76.2,152.3,165.6c-5.1,76.9-67.8,139.3-144.7,144.2c-81.5,5.2-150.8-53-163.2-130c-2.3-14.3-14.8-24.7-29.2-24.7c-17.9,0-31.9,15.9-29.1,33.6C49.575,418.961,150.875,501.261,268.175,488.161z"}))),r.createElement("p",{style:{margin:0}},I("reset")))),setIsPinnedButton:r.createElement(r.Fragment,null,A&&r.createElement("div",{className:" ms-flex ms-items-center ms-self-end ms-whitespace-nowrap ms-rounded-lg ms-p-0.5 ms-text-xs ms-opacity-100 sm:ms-text-sm ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10 ms-text-white hover:ms-bg-opacity-25":"ms-bg-black ms-bg-opacity-5 ms-text-gray-800 hover:ms-bg-opacity-10"," hover:ms-cursor-pointer ")},r.createElement(Yk,{isPinned:!E,setPinState:A}))),style:t},r.createElement(rx,pt({hintText:n,style:t,historyState:m,setHistory:h,company:o,project:a,metadata:p,isMendableLoading:i,anon_key:d,botIcon:s,userIcon:l,setResetHistory:function(){h([{message:I("welcomeMessage"),sources:[],code_snippet:"",isBot:!0,message_id:0}])},suggestedQuestions:f,hiddenField:b,messageSettings:g,_shouldStream:w,_inputQuesiton:D,_newInterface:!0,_resetComponent:ge,_setResetComponent:ye,_setIsPinned:void 0,_autoAskQuestion:D.length>0,_persistConvState:T,_setPersistConvState:P,onMessageForTracking:j,onSourceClickedForTracking:N},R))):r.createElement("div",{className:Hk+" ms-relative ms-w-full ms-transition-all ",style:{}},r.createElement("div",{style:{color:t.darkMode?"#ffffff":"#030712"},ref:L,className:Hk+" ms-z-[100] ms-h-full ms-max-h-[340px] ms-w-full ms-overflow-hidden ms-rounded-t-md ms-transition-all"},r.createElement(ox,{onChange:function(e){e.target.value.includes("\n")?Z(!0):Z(!1),M(e.target.value),0===e.target.value.length&&(ie([]),re(!1),te(!1),Z(!1),W(ke)),e.target.value.split(" ").length>1?(W(ke),me(!1),te(!0),we(e.target.value)):(te(!1),W(0),we(e.target.value))},handleClick:function(){},value:D,onKeyDown:function(e){"Enter"===e.key&&D&&!e.shiftKey?(e.shiftKey||!D||z||i||(G===ke?U(!0):1===G&&we(D)),e.preventDefault()):"Enter"!==e.key||e.shiftKey||e.preventDefault()},placeholder:n,style:t,loading:i,generating:!1,overrideInputContainerStyles:"ms-rounded-md",isTextArea:!0,isThinHorizontally:S,spinLoading:le&&0===ae.length}),r.createElement("div",{className:" ms-h-1 ms-w-full ms-border-b ms-border-gray-500 ms-border-opacity-20"}),r.createElement("div",{ref:Se,className:"ms-max-h-[275px] ms-w-full ms-overflow-y-auto ms-p-4"},ee&&r.createElement(dx,{isMultilineInput:X,isOnlyAI:ee,hideMendable:fe,style:t,botIcon:s,setMendableBotUI:U,setSelectedIndex:W,selectedIndex:G,totalItems:ke,askAIText:u,inputQuestion:D,onClick:function(){U(!0),ve(D,o)}}),D.length>0&&ae.map((function(e,n){var a;return r.createElement("div",{key:n,className:"ms-flex ms-items-center "},r.createElement(lx,{index:n+1,key:n,style:t,item:e,company:null==o?void 0:o.name,inputQuestion:D,onClick:function(){be(D,n,e,o)},openInNewTab:null!==(a=null==g?void 0:g.openSourcesInNewTab)&&void 0!==a&&a,selected:G===n,openInNewTabForOutsideSources:null==g?void 0:g.openInNewTabForOutsideSources,onMouseEnter:function(){W(n)},onMouseLeave:function(){}}))})),!ee&&r.createElement(dx,{isMultilineInput:X,isOnlyAI:ee,hideMendable:fe,style:t,botIcon:s,setMendableBotUI:U,setSelectedIndex:W,selectedIndex:G,totalItems:ke,askAIText:u,inputQuestion:D,onClick:function(){U(!0),ve(D,o)}}))),r.createElement("div",{className:"ms-mt-2 ms-flex ms-w-full ms-items-center ms-justify-center"},o&&!o.is_white_label?r.createElement("div",{className:"ms-mb-2 ms-w-fit ms-rounded-full ms-px-2 ms-py-1 ".concat(t.darkMode?"ms-bg-white ms-bg-opacity-10":"ms-bg-black ms-bg-opacity-5")},r.createElement("p",{onClick:function(){window.open("https://mendable.ai","_blank")},style:{color:t.darkMode?"#ffffff":"#000000"},className:"ms-m-0 ms-w-fit ms-whitespace-nowrap ms-p-0 ms-text-xs ms-text-[10px] ms-opacity-75 hover:ms-cursor-pointer sm:ms-text-xs"},I("poweredBy")," Mendable")):r.createElement(r.Fragment,null)))};function fx(e){var t=e.anon_key,n=e.style,o=void 0===n?wr:n;e.dialogCustomStyle;var a=e.welcomeMessage,i=void 0===a?"":a,s=e.openState,l=e.setOpenState,c=void 0===l?function(){}:l,u=e.showSimpleSearch,d=void 0!==u&&u,p=e._setIsPinned,f=void 0===p?void 0:p,m=e._isPinned,h=e.historyState,g=e.setHistory,y=e.hintQuestions,b=void 0===y?[]:y,v=ft(e,["anon_key","style","dialogCustomStyle","welcomeMessage","openState","setOpenState","showSimpleSearch","_setIsPinned","_isPinned","historyState","setHistory","hintQuestions"]),w=(0,r.useState)(null),k=w[0],x=w[1],S=(0,r.useState)(null),_=S[0],E=S[1],C=(0,r.useState)(b),A=C[0],O=C[1],T=(0,r.useState)(!1),P=T[0],j=T[1],N=(0,r.useState)(s),R=N[0],L=N[1],I=(0,r.useState)(null),F=I[0],D=I[1],M=Wy(),B=M.t;M.i18n;var z=(0,r.useState)(null),$=z[0],q=z[1],U=(0,r.useState)(!1),H=U[0],V=U[1];(0,r.useEffect)((function(){}),[P]),(0,r.useEffect)((function(){L(s)}),[R,s]),(0,r.useEffect)((function(){j(!0),Ba(t).then((function(e){if(void 0===e.company||void 0===e.project)return dt.error("company or project is null"),void D("company or project is null");x(e.company),E(e.project);try{null!==e.questions&&e.questions.length>0&&O(e.questions||null)}catch(e){D("error getting suggested questions")}j(!1)})).catch((function(e){dt.log("error",e),D(B("initializeError")),j(!1)}));try{za().then((function(e){q(e.message)}))}catch(e){}}),[]);var G=function(e){"k"===e.key&&e.metaKey&&L((function(e){return!e}))};return(0,r.useEffect)((function(){return window.addEventListener("keydown",G),function(){window.removeEventListener("keydown",G)}}),[]),s?ut.createPortal(r.createElement("div",null,r.createElement(br,{appear:!0,show:R,as:r.Fragment},r.createElement("div",{id:"ms-sidebar",className:"ms-fixed ms-right-4 ms-pl-8 ms-bottom-4 ms-h-fit ms-w-full ms-ml-4 sm:ms-w-[480px] ms-z-[100] ms-rounded-md"},r.createElement("div",{className:"ms-z-[100] ms-flex ms-h-fit ms-items-start ms-justify-center ms-p-4 ms-text-center"},r.createElement(br.Child,{as:r.Fragment,enter:"ms-ease-out ms-duration-300",enterFrom:"ms-opacity-0 ms-scale-95",enterTo:"ms-opacity-100 ms-scale-100",leave:"ms-ease-in ms-duration-200",leaveFrom:"ms-opacity-100 ms-scale-100",leaveTo:"ms-opacity-0 ms-scale-9a"},r.createElement("div",{className:"ms-relative ms-h-fit ms-z-[100] ms-w-full ms-transform ms-rounded-xl ms-text-left ms-align-middle ms-shadow-xl ms-transition-all sm:ms-max-w-[400px]"},r.createElement("div",{style:{background:o.backgroundColor?o.backgroundColor:o.darkMode?"#1a1a1a":"#ffffff"},className:"ms-flex ms-items-end ms-max-h-full ms-w-full ms-flex-col ms-rounded-xl ms-border ms-border-gray-500 ms-border-opacity-20 ms-p-2 ".concat("sm:ms-p-0")},null!==F?r.createElement("div",{style:{background:o.backgroundColor?o.backgroundColor:o.darkMode?"#1a1a1a":"#ffffff"},className:" ms-flex ms-h-full ms-max-h-full ms-w-full ms-flex-col ms-rounded-xl ms-p-2 ".concat("sm:ms-p-0")},r.createElement("p",{style:{margin:0},className:"ms-ml-4 ms-text-red-500"},F)):r.createElement(r.Fragment,null),d?r.createElement(dc,{tabs:[{name:"\ud83e\udd16 Mendable",displayComponent:r.createElement(px,pt({style:o,company:k,project:_,historyState:h,setHistory:g,isMendableLoading:P,anon_key:t,setResetHistory:function(){g([{message:""===i?B("welcomeMessage"):i,sources:[],code_snippet:"",isBot:!0,message_id:0}])},suggestedQuestions:A,isThinHorizontally:!0,hiddenField:$},v))}],sourcesStyle:o}):r.createElement(dc,{tabs:[{name:"\ud83e\udd16 Mendable",displayComponent:r.createElement(rx,pt({style:o,historyState:h,setHistory:g,company:k,project:_,isMendableLoading:P,anon_key:t,setResetHistory:function(){g([{message:""===i?B("welcomeMessage"):i,sources:[],code_snippet:"",isBot:!0,message_id:0}])},suggestedQuestions:A,hiddenField:$,_isPinned:m,_setIsPinned:f,_persistConvState:H,_setPersistConvState:V},v,{_closeComponent:function(){c(!1),V(!0)}}))}],sourcesStyle:o})))))))),document.body):r.createElement(r.Fragment,null)}function mx(e){var t=e.anon_key,n=e.style,o=void 0===n?wr:n,a=e.dialogCustomStyle,i=e.welcomeMessage,s=void 0===i?"":i,l=e.openState,c=void 0!==l&&l,u=e.setOpenState,d=void 0===u?function(){}:u,p=e.showSimpleSearch,f=void 0!==p&&p,m=e.isPinnable,h=void 0!==m&&m;e.cmdShortcutKey;var g=e.hintQuestions,y=void 0===g?[]:g,b=e.onMessageForTracking,v=e.onSourceClickedForTracking;e.onSwitchingSearchType;var w=e._isFullyLoaded,k=void 0===w?function(e){}:w,x=ft(e,["anon_key","style","dialogCustomStyle","welcomeMessage","openState","setOpenState","showSimpleSearch","isPinnable","cmdShortcutKey","hintQuestions","onMessageForTracking","onSourceClickedForTracking","onSwitchingSearchType","_isFullyLoaded"]),S=(0,r.useState)(null),_=S[0],E=S[1],C=(0,r.useState)(null),A=C[0],O=C[1],T=(0,r.useState)(y),P=T[0],j=T[1],N=(0,r.useState)(!1),R=N[0],L=N[1],I=(0,r.useState)(!1),F=I[0],D=I[1],M=(0,r.useState)(null),B=M[0],z=M[1],$=Wy(),q=$.t,U=$.i18n,H=(0,r.useState)(!1),V=H[0],G=H[1],W=(0,r.useState)([{message:""===s?q("welcomeMessage"):s,sources:[],code_snippet:"",isBot:!0,message_id:0}]),K=W[0],Y=W[1];(0,r.useEffect)((function(){K.length>1||Y([{message:""===s?q("welcomeMessage"):s,sources:[],code_snippet:"",isBot:!0,message_id:0}])}),[U.language]);var Q=(0,r.useState)(null),X=Q[0],Z=Q[1],J="mendableBotChatHistory"+(null==_?void 0:_.name);return(0,r.useEffect)((function(){}),[R]),(0,r.useEffect)((function(){L(!0),Ba(t).then((function(e){try{if(!e.company||!e.project)return dt.error("company or project is null"),void z("company or project is null");E(e.company),O(e.project)}catch(e){dt.log("error",e),z("error getting company or project")}try{null!==e.questions&&e.questions.length>0&&0===y.length&&j(e.questions||null)}catch(e){j([]),z("error getting suggested questions")}L(!1),k(!0)})).catch((function(e){dt.log("error",e),z(q("initializeError")),L(!1)}));try{za().then((function(e){Z(e.message)}))}catch(e){}}),[]),(0,r.useEffect)((function(){c&&!F&&K.length>1&&D(!0)}),[c]),V?r.createElement("div",null,r.createElement(fx,pt({anon_key:t,style:o,openState:c,setOpenState:function(e){return d(e)},_setIsPinned:function(){return G(!1)},historyState:K,setHistory:Y},x,{_isPinned:!0}))):r.createElement("div",null,r.createElement(br,{appear:!0,show:c,as:r.Fragment},r.createElement(nr,{as:"div",className:"ms-relative ms-z-[100]",onClose:function(){d(!1),D(!0)}},r.createElement(br.Child,{as:r.Fragment,enter:"ms-ease-out ms-duration-300",enterFrom:"ms-opacity-0",enterTo:"ms-opacity-100",leave:"ms-ease-in ms-duration-200",leaveFrom:"ms-opacity-100",leaveTo:"ms-opacity-0"},r.createElement("div",{className:"ms-fixed ms-inset-0 ms-bg-black ms-bg-opacity-50"})),r.createElement("div",{style:{marginTop:(null==a?void 0:a.dialogTopMargin)||0},className:"ms-fixed ms-inset-0 ms-z-[100] ms-overflow-auto sm:ms-overflow-hidden"},r.createElement("div",{className:"ms-z-[100] ms-flex ms-min-h-full ms-items-start ms-justify-center ms-p-4 ms-text-center"},r.createElement(br.Child,{as:r.Fragment,enter:"ms-ease-out ms-duration-300",enterFrom:"ms-opacity-0 ms-scale-95",enterTo:"ms-opacity-100 ms-scale-100",leave:"ms-ease-in ms-duration-200",leaveFrom:"ms-opacity-100 ms-scale-100",leaveTo:"ms-opacity-0 ms-scale-95"},r.createElement(nr.Panel,{className:"ms-z-[100] ms-mt-20 ms-h-[95%] ms-w-full ms-transform ms-overflow-auto ms-rounded-xl ms-text-left ms-align-middle ms-shadow-xl ms-transition-all sm:ms-max-w-[800px] sm:ms-overflow-hidden"},r.createElement("div",{style:{background:o.backgroundColor?o.backgroundColor:o.darkMode?"#1a1a1a":"#ffffff"},className:"ms-relative ms-flex ms-h-full ms-max-h-full ms-w-full ms-flex-col ms-items-end ms-rounded-xl ms-border ms-border-gray-500 ms-border-opacity-20 ".concat("sm:ms-p-0")},null!==B?r.createElement("div",{style:{background:o.backgroundColor?o.backgroundColor:o.darkMode?"#1a1a1a":"#ffffff"},className:" ms-flex ms-h-full ms-max-h-full ms-w-full ms-flex-col ms-rounded-xl ms-p-2 ".concat(f?"sm:ms-p-4":"sm:ms-p-0")},r.createElement("p",{style:{margin:0,padding:10},className:"ms-ml-4 ms-text-red-500"},B)):r.createElement(r.Fragment,null),f?r.createElement(dc,{tabs:[{name:"\ud83e\udd16 Mendable",displayComponent:r.createElement(px,pt({style:o,company:_,project:A,historyState:K,setHistory:Y,isMendableLoading:R,messageSettings:x.messageSettings,anon_key:t,metadata:x.metadata,setResetHistory:function(){Y([{message:""===s?q("welcomeMessage"):s,sources:[],code_snippet:"",isBot:!0,message_id:0}]),Wk(J,[{message:""===s?q("welcomeMessage"):s,sources:[],code_snippet:"",isBot:!0,message_id:0}])},suggestedQuestions:P,hiddenField:X,_setIsPinned:h?G:void 0,_isPinned:V,_persistConvState:F,_setPersistConvState:D,onMessageForTracking:b,onSourceClickedForTracking:v},x))}],sourcesStyle:o}):r.createElement(dc,{tabs:[{name:"\ud83e\udd16 Mendable",displayComponent:r.createElement(rx,pt({style:o,historyState:K,setHistory:Y,company:_,project:A,isMendableLoading:R,anon_key:t,setResetHistory:function(){Y([{message:""===s?q("welcomeMessage"):s,sources:[],code_snippet:"",isBot:!0,message_id:0}]),Wk(J,[{message:""===s?q("welcomeMessage"):s,sources:[],code_snippet:"",isBot:!0,message_id:0}])},suggestedQuestions:P,hiddenField:X,_setIsPinned:h?G:void 0,metadata:x.metadata,_isPinned:V,_persistConvState:F,_setPersistConvState:D,onMessageForTracking:b,onSourceClickedForTracking:v},x))}],sourcesStyle:o})))))))))}var hx={},gx={get exports(){return hx},set exports(e){hx=e}};!function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*n*1e3)),r&&(o.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var o=encodeURIComponent(t),a="".concat(e,"=").concat(o);if(r.maxAge>0){var i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");a+="; Max-Age=".concat(Math.floor(i))}if(r.domain){if(!_x.test(r.domain))throw new TypeError("option domain is invalid");a+="; Domain=".concat(r.domain)}if(r.path){if(!_x.test(r.path))throw new TypeError("option path is invalid");a+="; Path=".concat(r.path)}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");a+="; Expires=".concat(r.expires.toUTCString())}if(r.httpOnly&&(a+="; HttpOnly"),r.secure&&(a+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return a}(e,encodeURIComponent(t),o)},Cx={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),o=0;o0&&r[o].substring(0,a)===e.lookupQuerystring&&(t=r[o].substring(a+1))}}return t}},Ox=null,Tx=function(){if(null!==Ox)return Ox;try{Ox="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){Ox=!1}return Ox},Px={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&Tx()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&Tx()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},jx=null,Nx=function(){if(null!==jx)return jx;try{jx="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){jx=!1}return jx},Rx={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&Nx()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&Nx()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},Lx={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n0?t:void 0}},Ix={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},Fx={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},Dx={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}},Mx=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}var t,n;return t=e,n=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return xx.call(Sx.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(Cx),this.addDetector(Ax),this.addDetector(Px),this.addDetector(Rx),this.addDetector(Lx),this.addDetector(Ix),this.addDetector(Fx),this.addDetector(Dx)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}],n&&wx(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Mx.type="languageDetector",dv.use(Mx).use(zy).init({fallbackLng:"en",debug:!1,resources:{en:{translation:{placeholderSearch:"Search...",dialogPlaceholderSearch:"How to deploy my application?",dialogPlaceholder:"How to deploy my application?",poweredBy:"Powered by",reset:"Reset",contactSupport:"Contact support",welcomeMessage:"Hi, how can I help you?",loading:"Loading",generating:"Generating",ask:"Ask",verifiedSources:"Verified Sources",helpfulResponse:"Was this response helpful?",yes:"Yes",no:"No",search:"Search",initializeError:"Connection Error. Try back in a few minutes.",assistant:"Assistant",you:"You",searchingDocs:"Searching documentation. This may take a second!","Welcome to React":"Welcome to React and react-i18next",back:"Back",answer:"Answer",loadingTools:"AI is looking for tools to use"}},es:{translation:{placeholderSearch:"Buscar...",dialogPlaceholderSearch:"\xbfC\xf3mo implementar mi aplicaci\xf3n?",dialogPlaceholder:"\xbfC\xf3mo implementar mi aplicaci\xf3n?",poweredBy:"Impulsado por",reset:"Restablecer",contactSupport:"Contactar soporte",welcomeMessage:"Hola, \xbfc\xf3mo puedo ayudarte?",loading:"Cargando",generating:"Generando",ask:"Preguntar",verifiedSources:"Fuentes Verificadas",helpfulResponse:"\xbfFue \xfatil esta respuesta?",yes:"S\xed",no:"No",search:"Buscar",initializeError:"Error de conexi\xf3n. Intente de nuevo en unos minutos.",assistant:"Asistente",you:"T\xfa",searchingDocs:"Estamos buscando la respuesta. Esto puede tardar unos segundos.","Welcome to React":"Bienvenido a React y react-i18next",back:"Volver",answer:"Respuesta",loadingTools:"AI est\xe1 buscando herramientas para usar"}},pt:{translation:{placeholderSearch:"Pesquisar...",dialogPlaceholderSearch:"Como implementar a minha aplica\xe7\xe3o?",dialogPlaceholder:"Como implementar a minha aplica\xe7\xe3o?",poweredBy:"Impulsionado por",reset:"Resetar",contactSupport:"Contatar suporte",welcomeMessage:"Oi, como posso ajudar voc\xea?",loading:"Carregando",generating:"Gerando",ask:"Perguntar",verifiedSources:"Fontes Verificadas",helpfulResponse:"Esta resposta foi \xfatil?",yes:"Sim",no:"N\xe3o",search:"Pesquisar",initializeError:"Erro de conex\xe3o. Tente novamente em alguns minutos.",assistant:"Assistente",you:"Voc\xea",searchingDocs:"Pesquisando documenta\xe7\xe3o. Isso pode levar um segundo!","Welcome to React":"Bem-vindo ao React e react-i18next",back:"Voltar",answer:"Resposta",loadingTools:"AI est\xe1 procurando ferramentas para usar"}},fr:{translation:{placeholderSearch:"Rechercher...",dialogPlaceholderSearch:"Comment d\xe9ployer mon application?",dialogPlaceholder:"Comment d\xe9ployer mon application?",poweredBy:"Aliment\xe9 par",reset:"R\xe9initialiser",contactSupport:"Contacter le support",welcomeMessage:"Salut, comment puis-je vous aider?",loading:"Chargement",generating:"G\xe9n\xe9ration",ask:"Demander",verifiedSources:"Sources V\xe9rifi\xe9es",helpfulResponse:"Cette r\xe9ponse a-t-elle \xe9t\xe9 utile?",yes:"Oui",no:"Non",search:"Rechercher",initializeError:"Erreur de connexion. Essayez de nouveau dans quelques minutes.",assistant:"Assistant",you:"Vous",searchingDocs:"Recherche dans la documentation. Cela peut prendre une seconde!","Welcome to React":"Bienvenue sur React et react-i18next",back:"Retour",answer:"R\xe9ponse",loadingTools:"AI recherche des outils \xe0 utiliser"}},nl:{translation:{placeholderSearch:"Zoeken...",dialogPlaceholderSearch:"Hoe implementeer ik mijn applicatie?",dialogPlaceholder:"Hoe implementeer ik mijn applicatie?",poweredBy:"Mogelijk gemaakt door",reset:"Resetten",contactSupport:"Contacteer support",welcomeMessage:"Hallo, hoe kan ik u helpen?",loading:"Bezig met laden",generating:"Genereren",ask:"Stel vraag",verifiedSources:"Geverifieerde Bronnen",helpfulResponse:"Was dit antwoord nuttig?",yes:"Ja",no:"Nee",search:"Zoeken",initializeError:"Verbindingsfout. Probeer het over een paar minuten opnieuw.",assistant:"Assistent",you:"Jij",searchingDocs:"Documentatie aan het zoeken. Dit kan even duren!","Welcome to React":"Welkom bij React en react-i18next",back:"Terug",answer:"Antwoord",loadingTools:"AI zoekt naar tools om te gebruiken"}},de:{translation:{placeholderSearch:"Suchen...",dialogPlaceholderSearch:"Wie kann ich meine Anwendung implementieren?",dialogPlaceholder:"Wie kann ich meine Anwendung implementieren?",poweredBy:"Unterst\xfctzt von",reset:"Zur\xfccksetzen",contactSupport:"Kundenservice kontaktieren",welcomeMessage:"Hallo, wie kann ich Ihnen helfen?",loading:"Laden",generating:"Generieren",ask:"Fragen",verifiedSources:"Verifizierte Quellen",helpfulResponse:"War diese Antwort hilfreich?",yes:"Ja",no:"Nein",search:"Suchen",initializeError:"Verbindungsfehler. Versuchen Sie es in einigen Minuten erneut.",assistant:"Assistent",you:"Du",searchingDocs:"Suche in der Dokumentation. Dies kann einen Moment dauern!","Welcome to React":"Willkommen bei React und react-i18next",back:"Zur\xfcck",answer:"Antwort",loadingTools:"KI sucht nach Tools, die verwendet werden sollen"}},ja:{translation:{placeholderSearch:"\u691c\u7d22...",dialogPlaceholderSearch:"\u79c1\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u3069\u306e\u3088\u3046\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u304b\uff1f",dialogPlaceholder:"\u79c1\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u3069\u306e\u3088\u3046\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u304b\uff1f",poweredBy:"\u63d0\u4f9b",reset:"\u30ea\u30bb\u30c3\u30c8",contactSupport:"\u30b5\u30dd\u30fc\u30c8\u306b\u9023\u7d61",welcomeMessage:"\u3053\u3093\u306b\u3061\u306f\u3001\u4f55\u304b\u304a\u624b\u4f1d\u3044\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304b\uff1f",loading:"\u8aad\u307f\u8fbc\u307f\u4e2d",generating:"\u751f\u6210\u4e2d",ask:"\u5c0b\u306d\u308b",verifiedSources:"\u78ba\u8a8d\u6e08\u307f\u306e\u60c5\u5831\u6e90",helpfulResponse:"\u3053\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u5f79\u306b\u7acb\u3061\u307e\u3057\u305f\u304b\uff1f",yes:"\u306f\u3044",no:"\u3044\u3044\u3048",search:"\u691c\u7d22",initializeError:"\u63a5\u7d9a\u30a8\u30e9\u30fc\u3002\u6570\u5206\u5f8c\u306b\u518d\u8a66\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002",assistant:"\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8",you:"\u3042\u306a\u305f",searchingDocs:"\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u691c\u7d22\u4e2d\u3002\u5c11\u3005\u304a\u5f85\u3061\u304f\u3060\u3055\u3044\uff01","Welcome to React":"React\u3068react-i18next\u3078\u3088\u3046\u3053\u305d",back:"\u623b\u308b",answer:"\u7b54\u3048",loadingTools:"AI\u306f\u4f7f\u7528\u3059\u308b\u30c4\u30fc\u30eb\u3092\u63a2\u3057\u3066\u3044\u307e\u3059"}},it:{translation:{placeholderSearch:"Cerca...",dialogPlaceholderSearch:"Come posso implementare la mia applicazione?",dialogPlaceholder:"Come posso implementare la mia applicazione?",poweredBy:"Powered by",reset:"Reset",contactSupport:"Contatta il supporto",welcomeMessage:"Ciao, come posso aiutarti?",loading:"Caricamento",generating:"Generazione",ask:"Chiedi",verifiedSources:"Fonti Verificate",helpfulResponse:"Questa risposta \xe8 stata utile?",yes:"S\xec",no:"No",search:"Cerca",initializeError:"Errore di connessione. Riprova tra qualche minuto.",assistant:"Assistente",you:"Tu",searchingDocs:"Ricerca documentazione. Potrebbe richiedere un secondo!","Welcome to React":"Benvenuto in React e react-i18next",back:"Indietro",answer:"Risposta",loadingTools:"AI sta cercando gli strumenti da utilizzare"}},ar:{translation:{placeholderSearch:"\u0628\u062d\u062b...",dialogPlaceholderSearch:"\u0643\u064a\u0641 \u064a\u0645\u0643\u0646\u0646\u064a \u0646\u0634\u0631 \u062a\u0637\u0628\u064a\u0642\u064a\u061f",dialogPlaceholder:"\u0643\u064a\u0641 \u064a\u0645\u0643\u0646\u0646\u064a \u0646\u0634\u0631 \u062a\u0637\u0628\u064a\u0642\u064a\u061f",poweredBy:"\u0645\u062f\u0639\u0648\u0645 \u0628\u0648\u0627\u0633\u0637\u0629",reset:"\u0625\u0639\u0627\u062f\u0629 \u062a\u0639\u064a\u064a\u0646",contactSupport:"\u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u062f\u0639\u0645",welcomeMessage:"\u0645\u0631\u062d\u0628\u064b\u0627\u060c \u0643\u064a\u0641 \u064a\u0645\u0643\u0646\u0646\u064a \u0645\u0633\u0627\u0639\u062f\u062a\u0643\u061f",loading:"\u062c\u0627\u0631\u064a \u0627\u0644\u062a\u062d\u0645\u064a\u0644",generating:"\u062c\u0627\u0631\u064a \u0627\u0644\u0625\u0646\u0634\u0627\u0621",ask:"\u0627\u0633\u0623\u0644",verifiedSources:"\u0627\u0644\u0645\u0635\u0627\u062f\u0631 \u0627\u0644\u0645\u0648\u062b\u0648\u0642\u0629",helpfulResponse:"\u0647\u0644 \u0643\u0627\u0646\u062a \u0647\u0630\u0647 \u0627\u0644\u0625\u062c\u0627\u0628\u0629 \u0645\u0641\u064a\u062f\u0629\u061f",yes:"\u0646\u0639\u0645",no:"\u0644\u0627",search:"\u0628\u062d\u062b",initializeError:"\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0627\u062a\u0635\u0627\u0644. \u062d\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649 \u0628\u0639\u062f \u062f\u0642\u064a\u0642\u0629 \u0623\u0648 \u0646\u062d\u0648 \u0630\u0644\u0643.",assistant:"\u0627\u0644\u0645\u0633\u0627\u0639\u062f",you:"\u0623\u0646\u062a",searchingDocs:"\u0627\u0644\u0628\u062d\u062b \u0641\u064a \u0627\u0644\u0648\u062b\u0627\u0626\u0642. \u0642\u062f \u064a\u0633\u062a\u063a\u0631\u0642 \u0630\u0644\u0643 \u0644\u062d\u0638\u0629!",back:"\u0631\u062c\u0648\u0639",answer:"\u0625\u062c\u0627\u0628\u0629",loadingTools:"\u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064a \u064a\u0628\u062d\u062b \u0639\u0646 \u0627\u0644\u0623\u062f\u0648\u0627\u062a \u0644\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645"}},ro:{translation:{placeholderSearch:"Caut\u0103...",dialogPlaceholderSearch:"Cum pot s\u0103-mi public aplica\u021bia?",dialogPlaceholder:"Cum pot s\u0103-mi public aplica\u021bia?",poweredBy:"Propulsat de",reset:"Resetare",contactSupport:"Contacteaz\u0103 echipa de suport",welcomeMessage:"Salut, cum pot s\u0103 te ajut?",loading:"Se \xeencarc\u0103",generating:"Se genereaz\u0103",ask:"\xcentreab\u0103",verifiedSources:"Surse verificate",helpfulResponse:"\u021ai-a fost de ajutor acest r\u0103spuns?",yes:"Da",no:"Nu",search:"Caut\u0103",initializeError:"Eroare de conexiune. \xcencearc\u0103 din nou \xeen c\xe2teva minute.",assistant:"Asistent",you:"Tu",searchingDocs:"Caut \xeen documenta\u021bie. Acest proces poate dura c\xe2teva secunde!",back:"\xcenapoi",answer:"R\u0103spuns",loadingTools:"AI caut\u0103 instrumente pentru a utiliza"}},el:{translation:{placeholderSearch:"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7...",dialogPlaceholderSearch:"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03ce \u03bd\u03b1 \u03b1\u03bd\u03b1\u03c0\u03c4\u03cd\u03be\u03c9 \u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u03bc\u03bf\u03c5;",dialogPlaceholder:"\u03a0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03ce \u03bd\u03b1 \u03b1\u03bd\u03b1\u03c0\u03c4\u03cd\u03be\u03c9 \u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae \u03bc\u03bf\u03c5;",poweredBy:"Powered by",reset:"\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac",contactSupport:"\u03a5\u03c0\u03bf\u03c3\u03c4\u03ae\u03c1\u03b9\u03be\u03b7",welcomeMessage:"\u03a7\u03b1\u03af\u03c1\u03b5\u03c4\u03b5, \u03c0\u03ce\u03c2 \u03bc\u03c0\u03bf\u03c1\u03ce \u03bd\u03b1 \u03c3\u03b5 \u03b2\u03bf\u03b7\u03b8\u03ae\u03c3\u03c9;",loading:"\u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7",generating:"\u039c\u03b1\u03b6\u03b5\u03cd\u03c9 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2",ask:"\u039c\u03ac\u03b8\u03b5",verifiedSources:"\u0395\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03c5\u03bc\u03ad\u03bd\u03b5\u03c2 \u03c0\u03b7\u03b3\u03ad\u03c2",helpfulResponse:"\u0389\u03c4\u03b1\u03bd \u03c7\u03c1\u03ae\u03c3\u03b9\u03bc\u03b7 \u03b1\u03c5\u03c4\u03ae \u03b7 \u03b1\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7;",yes:"\u039d\u03b1\u03b9",no:"\u038c\u03c7\u03b9",search:"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7",initializeError:"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2. \u0394\u03bf\u03ba\u03af\u03bc\u03b1\u03c3\u03b5 \u03be\u03b1\u03bd\u03ac \u03c3\u03b5 \u03bb\u03af\u03b3\u03b1 \u03bb\u03b5\u03c0\u03c4\u03ac.",assistant:"\u0392\u03bf\u03b7\u03b8\u03cc\u03c2",you:"\u0395\u03c3\u03cd",searchingDocs:"\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7. \u039c\u03b9\u03b1 \u03c3\u03c4\u03b9\u03b3\u03bc\u03ae...",back:"\u03a0\u03af\u03c3\u03c9",answer:"\u0391\u03c0\u03ac\u03bd\u03c4\u03b7\u03c3\u03b7",loadingTools:"\u03a4\u03bf AI \u03c8\u03ac\u03c7\u03bd\u03b5\u03b9 \u03b3\u03b9\u03b1 \u03b5\u03c1\u03b3\u03b1\u03bb\u03b5\u03af\u03b1 \u03b3\u03b9\u03b1 \u03c7\u03c1\u03ae\u03c3\u03b7"}}},detection:{order:["querystring","cookie","sessionStorage","localStorage","navigator","htmlTag","path","subdomain"],caches:[""]},interpolation:{escapeValue:!1}});var Bx=function(e){return(0,r.useEffect)((function(){""!==e&&dv.changeLanguage(e)}),[e]),dv};var zx=function(e){var t=e.className,n=void 0===t?"ms-w-12 ms-h-12":t,o=e.logoColor,a=void 0===o?"white":o,i=ft(e,["className","logoColor"]);return r.createElement("svg",pt({"aria-label":"Logo",viewBox:"0 0 546 546",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n},i),r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_3620_357"},r.createElement("rect",{width:"546",height:"546",fill:"#fff"}))),r.createElement("g",{clipPath:"url(#clip0_3620_357)"},r.createElement("path",{d:"M264.987 200.961C264.987 160.363 297.811 127.564 338.44 127.564C379.068 127.564 411.892 160.409 411.892 200.961",stroke:a,strokeWidth:"44.0648",strokeMiterlimit:"10",strokeLinecap:"round"}),r.createElement("path",{d:"M412.03 408.171L412.03 200.961",stroke:a,strokeWidth:"44.0648",strokeMiterlimit:"10",strokeLinecap:"round"}),r.createElement("path",{d:"M264.935 409.074L264.987 200.961",stroke:a,strokeWidth:"44.0648",strokeMiterlimit:"10",strokeLinecap:"round"}),r.createElement("path",{d:"M118.137 200.96C118.37 160.363 151.382 127.752 192.01 127.985C232.638 128.218 265.273 161.206 265.04 201.803",stroke:a,strokeWidth:"44.0648",strokeMiterlimit:"10",strokeLinecap:"round"}),r.createElement("path",{d:"M118.169 195.409L116.949 408.12",stroke:a,strokeWidth:"44.0648",strokeMiterlimit:"10",strokeLinecap:"round"}),r.createElement("path",{d:"M339 198L338 377",stroke:a,strokeWidth:"42",strokeMiterlimit:"10",strokeLinecap:"round"}),r.createElement("path",{d:"M192 197L191 377",stroke:a,strokeWidth:"42",strokeMiterlimit:"10",strokeLinecap:"round"})))};function $x(e){var t=e.floatingButtonStyle,n=void 0===t?kr:t,o=e.icon,a=e.dialogPlaceholder,i=void 0===a?yx:a,s=e.positionOverwriteClassname,l=void 0===s?"":s,c=e.language,u=void 0===c?"":c,d=e.welcomeMessage,p=void 0===d?"":d,f=e.cmdShortcutKey,m=void 0===f?"k":f,h=e.customText,g=void 0===h?"":h,y=e.showPopup,b=void 0===y||y,v=e.popupText,w=void 0===v?"":v,k=e.dismissPopupAfter,x=void 0===k?10:k,S=ft(e,["floatingButtonStyle","icon","dialogPlaceholder","positionOverwriteClassname","language","welcomeMessage","cmdShortcutKey","customText","showPopup","popupText","dismissPopupAfter"]),_=r.useState(!1),E=_[0],C=_[1],A=Wy();A.i18n;var O=A.t;Bx(u);var T=function(e){e.key===m&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),C((function(e){return!e})))};(0,r.useEffect)((function(){return window.addEventListener("keydown",T),function(){window.removeEventListener("keydown",T)}}),[]);var P=(0,r.useState)(!1),j=P[0],N=P[1],R=(0,r.useState)(b),L=R[0],I=R[1],F=(0,r.useState)(!1),D=F[0],M=F[1],B="undefined"!=typeof window;return(0,r.useEffect)((function(){B&&(N(window.navigator.platform.toUpperCase().indexOf("MAC")>=0),b||I(window.innerWidth<700))}),[]),(0,r.useEffect)((function(){L&&-1!==x&&setTimeout((function(){M(!0)}),1e3*x)}),[L]),L?r.createElement(r.Fragment,null,r.createElement("div",{id:"ms-floating-button",className:"".concat(""!==l?l:""," ms-fixed ms-bottom-4 ms-right-8 ms-z-[100] ms-flex ms-flex-col ms-items-end hover:ms-cursor-pointer")},!D&&r.createElement("div",{className:"ms-relative ms-mb-4 "},r.createElement("div",{style:{backgroundColor:n.backgroundColor},className:"ms-absolute -ms-bottom-1 ms-right-6 -ms-z-10 ms-h-4 ms-w-4 ms-rotate-45"}),r.createElement("div",{style:{backgroundColor:n.backgroundColor},className:"ms-z-10 ms-flex ms-items-center ms-justify-center ms-rounded-lg ms-px-3 ms-py-2 "},r.createElement("p",{style:{color:n.color,margin:0},className:"ms-text-sm"},""!==w?w:""===p?O("welcomeMessage"):p))),r.createElement("div",{style:{backgroundColor:n.backgroundColor},onClick:function(){C((function(e){return!e})),M(!0)},className:"ms-flex ms-h-16 ms-w-16 ms-flex-col ms-items-center ms-justify-center ms-self-end ms-rounded-full ms-p-2 ms-transition"},r.createElement("div",{className:"".concat(E?"":"ms-rotate-0 "," ms-flex ms-h-full ms-w-full ms-transform ms-cursor-pointer ms-items-center ms-justify-center ms-rounded-full ms-transition-all ms-delay-75 ms-duration-100 ms-ease-in-out")},"string"==typeof o?r.createElement("img",{src:o,alt:"Floating button icon",className:"ms-h-12 ms-w-12 ms-rounded-md"}):null!=o?o:r.createElement(zx,{logoColor:n.color}))),r.createElement(mx,pt({hintText:i===yx?O("dialogPlaceholder"):i,openState:E,setOpenState:function(e){return C(e)},welcomeMessage:p},S)))):r.createElement(r.Fragment,null,r.createElement("div",{style:{backgroundColor:n.backgroundColor},id:"ms-floating-button-s",onClick:function(){return C((function(e){return!e}))},className:"".concat(E?"-ms-rotate-90":"ms-rotate-0"," ").concat(""!==l?l+" ms-h-fit ms-w-fit ":"ms-fixed ms-bottom-4 ms-right-8"," ms-z-[100] ms-flex ms-flex-col ms-items-center ms-justify-center ms-rounded-md ms-p-2 ms-transition")},r.createElement("div",{className:"".concat(E?"ms-mb-2 ms-rotate-90 ms-bg-opacity-10":"ms-rotate-0 "," ms-flex ms-h-full ms-w-full ms-transform ms-cursor-pointer ms-items-center ms-justify-center ms-rounded-full ms-transition-all ms-delay-75 ms-duration-100 ms-ease-in-out")},"string"==typeof o?r.createElement("img",{src:o,alt:"Floating button icon",className:"ms-h-12 ms-w-12 ms-rounded-md"}):null!=o?o:r.createElement(zx,{logoColor:n.color})),r.createElement("div",{style:{color:n.color},className:"ms-rounded-md ms-bg-white ms-bg-opacity-10 ms-p-1 ms-text-base ".concat(0===g.length&&j?"ms-text-base":g.length<9?"ms-text-sm":"ms-text-xs"," ms-transition-all ms-delay-75 ").concat(E?"".concat(""!==g?"ms-mt-4":"ms-mt-2"," ms-mb-4 ms-rotate-90 ms-scale-105 ms-bg-opacity-10"):"ms-mt-2 ms-scale-100")},""===g?j?"\u2318 + "+m.toUpperCase():"CTRL + "+m.toUpperCase():g)),r.createElement(mx,pt({hintText:i===yx?O("dialogPlaceholder"):i,openState:E,setOpenState:function(e){return C(e)},welcomeMessage:p,cmdShortcutKey:m},S)))}function qx(e){const t=r.createElement("img",{src:"/img/chain.png",style:{width:"40px"}},null),n=r.createElement("div",{style:{color:"#000000",fontSize:"22px",width:"48px",height:"48px",margin:"0px",padding:"0px",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center"}},[t]),{siteConfig:{customFields:o}}=(0,ce.A)(),a=r.createElement($x,{floatingButtonStyle:{color:"#000000",backgroundColor:"#f6f6f6"},anon_key:"b7f52734-297c-41dc-8737-edbd13196394",showSimpleSearch:!0,icon:n});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ct,{}),a]})}const Ux=(0,N.fM)([B.a,x.o,j.Tv,Se.VQ,s.Jx,function(e){let{children:t}=e;return(0,d.jsx)(R.y_,{children:(0,d.jsx)(P.e,{children:(0,d.jsx)(I,{children:t})})})}]);function Hx(e){let{children:t}=e;return(0,d.jsx)(Ux,{children:t})}var Vx=n(1107);function Gx(e){let{error:t,tryAgain:n}=e;return(0,d.jsx)("main",{className:"container margin-vert--xl",children:(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,d.jsx)(Vx.A,{as:"h1",className:"hero__title",children:(0,d.jsx)(c.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,d.jsx)("div",{className:"margin-vert--lg",children:(0,d.jsx)(De,{onClick:n,className:"button button--primary shadow--lw"})}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:"margin-vert--md",children:(0,d.jsx)(Me,{error:t})})]})})})}const Wx={mainWrapper:"mainWrapper_z2l0"};function Kx(e){const{children:t,noFooter:n,wrapperClassName:r,title:o,description:l}=e;return(0,b.J)(),(0,d.jsxs)(Hx,{children:[(0,d.jsx)(s.be,{title:o,description:l}),(0,d.jsx)(w,{}),(0,d.jsx)(T,{}),(0,d.jsx)(We,{}),(0,d.jsx)("div",{id:p,className:(0,a.A)(y.G.wrapper.main,Wx.mainWrapper,r),children:(0,d.jsx)(i.A,{fallback:e=>(0,d.jsx)(Gx,{...e}),children:t})}),!n&&(0,d.jsx)(qx,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(8774),o=n(6025),a=n(4586),i=n(6342),s=n(1122),l=n(4848);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Ay)(t.src),dark:(0,o.Ay)(t.srcDark||t.src)},i=(0,l.jsx)(s.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,a.A)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,o.Ay)(s?.href||"/"),m=n?"":t,h=s?.alt??m;return(0,l.jsxs)(r.A,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:h,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);var r=n(5260),o=n(4848);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.A,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},1122:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(6540),o=n(5066),a=n(2303),i=n(5293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(4848);function c(e){let{className:t,children:n}=e;const c=(0,a.A)(),{colorMode:u}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function u(e){const{sources:t,className:n,alt:r,...o}=e;return(0,l.jsx)(c,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>c});var r=n(6540),o=n(8193),a=n(205),i=n(3109),s=n(4848);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function m(e){if(!o.A.canUseDOM)return e?u:d}function h(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:u,style:c?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,a.A)((()=>{t||i(!0)}),[t]),(0,a.A)((()=>{o&&c(t)}),[o,t]),o?(0,s.jsx)(h,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:h;return(0,s.jsx)(r,{...n})}},5041:(e,t,n)=>{"use strict";n.d(t,{M:()=>h,o:()=>m});var r=n(6540),o=n(2303),a=n(679),i=n(9532),s=n(6342),l=n(4848);const c=(0,a.Wf)("docusaurus.announcement.dismiss"),u=(0,a.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,o.A)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function h(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>g});var r=n(6540),o=n(8193),a=n(9532),i=n(679),s=n(6342),l=n(4848);const c=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),h=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&h(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(c);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>v});var r=n(6540),o=n(4070),a=n(7065),i=n(6342),s=n(1754),l=n(9532),c=n(679),u=n(4848);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function h(){const e=(0,o.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return(0,u.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return s.C5?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.W);const t=(0,o.ht)(e),[n,i]=b(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(6540),o=n(9532),a=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(6540),o=n(9532),a=n(4848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocsVersionProvider");return e}},9876:(e,t,n)=>{"use strict";n.d(t,{e:()=>f,M:()=>m});var r=n(6540),o=n(5600),a=n(4581),i=n(6347),s=n(9532);function l(e){!function(e){const t=(0,i.W6)(),n=(0,s._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(6342),u=n(4848);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,c.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.l)(),n=!e&&"mobile"===t,[i,s]=(0,r.useState)(!1);l((()=>{if(i)return s(!1),!1}));const u=(0,r.useCallback)((()=>{s((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:i})),[e,n,u,i])}function f(e){let{children:t}=e;const n=p();return(0,u.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new s.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(6540),o=n(9532),a=n(4848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(6540);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),o=n(8193);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!o.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},1754:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>f,w8:()=>g,C5:()=>p,B5:()=>_,Vd:()=>k,QB:()=>S,fW:()=>x,OF:()=>w,Y:()=>b});var r=n(6540),o=n(6347),a=n(2831),i=n(4070),s=n(5597),l=n(2252),c=n(6588);function u(e){return Array.from(new Set(e))}var d=n(9169);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.ys)(e,t),h=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||h(e.items,t))}function y(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.ys)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.ys)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function w(){const e=(0,c.t)(),{pathname:t}=(0,o.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,s.g1)(e),o=(0,i.r7)(e);return(0,r.useMemo)((()=>u([t,n,o].filter(Boolean))),[t,n,o])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function _(e){let{route:t}=e;const n=(0,o.zy)(),r=(0,l.r)(),i=t.routes,s=i.find((e=>(0,o.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.v)(i),sidebarName:c,sidebarItems:u}}},1003:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>d,Jx:()=>m});var r=n(6540),o=n(5066),a=n(5260),i=n(3102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(6025),c=n(4586);var u=n(4848);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const s=function(e){const{siteConfig:t}=(0,c.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,l.hH)(),p=o?d(o,{absolute:!0}):void 0;return(0,u.jsxs)(a.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,u.jsx)("meta",{property:"og:image",content:p}),p&&(0,u.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),s=(0,o.A)(i,t);return(0,u.jsxs)(p.Provider,{value:s,children:[(0,u.jsx)(a.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function m(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(f,{className:(0,o.A)(r,a),children:t})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(6540),o=n(205),a=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,o.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,o.A)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),o=n(8328),a=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>c,gk:()=>f});var r=n(6540),o=n(8193),a=n(2303),i=(n(205),n(9532)),s=n(4848);const l=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.dV("ScrollControllerProvider");return e}const d=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),o=(0,r.useRef)(d()),a=(0,i._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,a.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&ot&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>r,tU:()=>o});n(4586);const r="default";function o(e,t){return`docs-${e}-${t}`}},679:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>u});n(6540);const r=JSON.parse('{"N":"localStorage","M":""}');var o=n(6763);const a=r.N;function i(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function s(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(o.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const c={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){const n=`${e}${r.M}`;if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const a=s(t?.persistence);return null===a?c:{get:()=>{try{return a.getItem(n)}catch(e){return o.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=a.getItem(n);a.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:a})}catch(t){o.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=a.getItem(n);a.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:a})}catch(e){o.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===a&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return o.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),o=n(6347),a=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:l}=(0,o.zy)(),c=(0,a.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),o=n(6347),a=n(9532);function i(e){const t=(0,o.zy)(),n=(0,a.ZC)(t),i=(0,a._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(4586);function o(){return(0,r.A)().siteConfig.themeConfig}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(2566);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=o,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,n?o(l):a(l));var l;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=a},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=n(2566);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(4784),o=n(6763),a=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},i=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{}).target,t=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(b.container)if(b.container instanceof Object)t=(e=a({},e,b.container)).width-e.left-e.right-2*b.margin,n=e.height-e.top-e.bottom-2*b.margin;else{var r=(s(b.container)?b.container:document.querySelector(b.container)).getBoundingClientRect(),o=r.width,i=r.height,c=r.left,u=r.top;e=a({},e,{width:o,height:i,left:c,top:u})}t=t||e.width-2*b.margin,n=n||e.height-2*b.margin;var d=v.zoomedHd||v.original,p=l(d)?t:d.naturalWidth||t,f=l(d)?n:d.naturalHeight||n,m=d.getBoundingClientRect(),h=m.top,g=m.left,y=m.width,w=m.height,k=Math.min(Math.max(y,p),t)/y,x=Math.min(Math.max(w,f),n)/w,S=Math.min(k,x),_="scale("+S+") translate3d("+((t-y)/2-g+b.margin+e.left)/S+"px, "+((n-w)/2-h+b.margin+e.top)/S+"px, 0)";v.zoomed.style.transform=_,v.zoomedHd&&(v.zoomedHd.style.transform=_)};return new r((function(n){if(e&&-1===m.indexOf(e))n(k);else{if(v.zoomed)n(k);else{if(e)v.original=e;else{if(!(m.length>0))return void n(k);var r=m;v.original=r[0]}if(v.original.dispatchEvent(u("medium-zoom:open",{detail:{zoom:k}})),y=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,g=!0,v.zoomed=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,o=t.width,a=t.height,i=e.cloneNode(),s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return i.removeAttribute("id"),i.style.position="absolute",i.style.top=n+s+"px",i.style.left=r+l+"px",i.style.width=o+"px",i.style.height=a+"px",i.style.transform="",i}(v.original),document.body.appendChild(w),b.template){var a=s(b.template)?b.template:document.querySelector(b.template);v.template=document.createElement("div"),v.template.appendChild(a.content.cloneNode(!0)),document.body.appendChild(v.template)}if(v.original.parentElement&&"PICTURE"===v.original.parentElement.tagName&&v.original.currentSrc&&(v.zoomed.src=v.original.currentSrc),document.body.appendChild(v.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),v.original.classList.add("medium-zoom-image--hidden"),v.zoomed.classList.add("medium-zoom-image--opened"),v.zoomed.addEventListener("click",p),v.zoomed.addEventListener("transitionend",(function e(){g=!1,v.zoomed.removeEventListener("transitionend",e),v.original.dispatchEvent(u("medium-zoom:opened",{detail:{zoom:k}})),n(k)})),v.original.getAttribute("data-zoom-src")){v.zoomedHd=v.zoomed.cloneNode(),v.zoomedHd.removeAttribute("srcset"),v.zoomedHd.removeAttribute("sizes"),v.zoomedHd.removeAttribute("loading"),v.zoomedHd.src=v.zoomed.getAttribute("data-zoom-src"),v.zoomedHd.onerror=function(){clearInterval(i),o.warn("Unable to reach the zoom image target "+v.zoomedHd.src),v.zoomedHd=null,t()};var i=setInterval((function(){v.zoomedHd.complete&&(clearInterval(i),v.zoomedHd.classList.add("medium-zoom-image--opened"),v.zoomedHd.addEventListener("click",p),document.body.appendChild(v.zoomedHd),t())}),10)}else if(v.original.hasAttribute("srcset")){v.zoomedHd=v.zoomed.cloneNode(),v.zoomedHd.removeAttribute("sizes"),v.zoomedHd.removeAttribute("loading");var l=v.zoomedHd.addEventListener("load",(function(){v.zoomedHd.removeEventListener("load",l),v.zoomedHd.classList.add("medium-zoom-image--opened"),v.zoomedHd.addEventListener("click",p),document.body.appendChild(v.zoomedHd),t()}))}else t()}}}))},p=function(){return new r((function(e){if(!g&&v.original){g=!0,document.body.classList.remove("medium-zoom--opened"),v.zoomed.style.transform="",v.zoomedHd&&(v.zoomedHd.style.transform=""),v.template&&(v.template.style.transition="opacity 150ms",v.template.style.opacity=0),v.original.dispatchEvent(u("medium-zoom:close",{detail:{zoom:k}})),v.zoomed.addEventListener("transitionend",(function t(){v.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(v.zoomed),v.zoomedHd&&document.body.removeChild(v.zoomedHd),document.body.removeChild(w),v.zoomed.classList.remove("medium-zoom-image--opened"),v.template&&document.body.removeChild(v.template),g=!1,v.zoomed.removeEventListener("transitionend",t),v.original.dispatchEvent(u("medium-zoom:closed",{detail:{zoom:k}})),v.original=null,v.zoomed=null,v.zoomedHd=null,v.template=null,e(k)}))}else e(k)}))},f=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target;return v.original?p():d({target:e})},m=[],h=[],g=!1,y=0,b=n,v={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?b=t:(t||"string"==typeof t)&&i(t);var w=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t}((b=a({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},b)).background);document.addEventListener("click",(function(e){var t=e.target;t!==w?-1!==m.indexOf(t)&&f({target:t}):p()})),document.addEventListener("keyup",(function(e){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||p()})),document.addEventListener("scroll",(function(){if(!g&&v.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(y-e)>b.scrollOffset&&setTimeout(p,150)}})),window.addEventListener("resize",p);var k={open:d,close:p,toggle:f,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e;if(e.background&&(w.style.background=e.background),e.container&&e.container instanceof Object&&(t.container=a({},b.container,e.container)),e.template){var n=s(e.template)?e.template:document.querySelector(e.template);t.template=n}return b=a({},b,t),m.forEach((function(e){e.dispatchEvent(u("medium-zoom:update",{detail:{zoom:k}}))})),k},clone:function(){return e(a({},b,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))},attach:i,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n0?t.reduce((function(e,t){return[].concat(e,c(t))}),[]):m;return r.forEach((function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(u("medium-zoom:detach",{detail:{zoom:k}}))})),m=m.filter((function(e){return-1===r.indexOf(e)})),k},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return m.forEach((function(r){r.addEventListener("medium-zoom:"+e,t,n)})),h.push({type:"medium-zoom:"+e,listener:t,options:n}),k},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return m.forEach((function(r){r.removeEventListener("medium-zoom:"+e,t,n)})),h=h.filter((function(n){return!(n.type==="medium-zoom:"+e&&n.listener.toString()===t.toString())})),k},getOptions:function(){return b},getImages:function(){return m},getZoomedImage:function(){return v.original}};return k},{themeConfig:p}=r.A;function f(e){var t,n;return document.querySelector('html[data-theme="dark"]')?(null===(t=e.background)||void 0===t?void 0:t.dark)||"rgb(50, 50, 50)":(null===(n=e.background)||void 0===n?void 0:n.light)||"rgb(255, 255, 255)"}const m=function(){if("undefined"==typeof window)return null;let e;const{zoom:t}=p,{selector:n=".markdown img",config:r={}}=t||{};if(!t)return null;r.background=f(t);var o=new MutationObserver((function(){e&&e.update({background:f(t)})}));const a=document.querySelector("html");return o.observe(a,{attributes:!0,attributeFilter:["data-theme"]}),setTimeout((()=>{e&&e.detach(),e=d(n,r)}),1e3),{onRouteUpdate(){setTimeout((()=>{e&&e.detach(),e=d(n,r)}),1e3)}}}()},8075:(e,t,n)=>{"use strict";var r=n(453),o=n(487),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},487:(e,t,n)=>{"use strict";var r=n(6743),o=n(453),a=n(6897),i=n(9675),s=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(l,s),u=n(655),d=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=c(r,l,arguments);return a(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},6763:(e,t,n)=>{var r=n(537),o=n(4148);function a(){return(new Date).getTime()}var i,s=Array.prototype.slice,l={};i=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var c=[[function(){},"log"],[function(){i.log.apply(i,arguments)},"info"],[function(){i.log.apply(i,arguments)},"warn"],[function(){i.warn.apply(i,arguments)},"error"],[function(e){l[e]=a()},"time"],[function(e){var t=l[e];if(!t)throw new Error("No such label: "+e);delete l[e];var n=a()-t;i.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=r.format.apply(null,arguments),i.error(e.stack)},"trace"],[function(e){i.log(r.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=s.call(arguments,1);o.ok(!1,r.format.apply(null,t))}},"assert"]],u=0;u{"use strict";var r=n(655),o=n(8068),a=n(9675),i=n(5795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!i&&i(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},8452:(e,t,n)=>{"use strict";var r=n(1189),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=n(41),l=n(592)(),c=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())return;var o;l?s(e,t,n,!0):s(e,t,n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s{"use strict";var r=n(453)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(o){r=!1}e.exports=r},1237:e=>{"use strict";e.exports=EvalError},9383:e=>{"use strict";e.exports=Error},9290:e=>{"use strict";e.exports=RangeError},9538:e=>{"use strict";e.exports=ReferenceError},8068:e=>{"use strict";e.exports=SyntaxError},9675:e=>{"use strict";e.exports=TypeError},5345:e=>{"use strict";e.exports=URIError},2682:(e,t,n)=>{"use strict";var r=n(9600),o=Object.prototype.toString,a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),"[object Array]"===o.call(e)?function(e,t,n){for(var r=0,o=e.length;r{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r{"use strict";var r=n(9353);e.exports=Function.prototype.bind||r},453:(e,t,n)=>{"use strict";var r,o=n(9383),a=n(1237),i=n(9290),s=n(9538),l=n(8068),c=n(9675),u=n(5345),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(t){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(I){f=null}var m=function(){throw new c},h=f?function(){try{return m}catch(e){try{return f(arguments,"callee").get}catch(t){return m}}}():m,g=n(4039)(),y=n(24)(),b=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),v={},w="undefined"!=typeof Uint8Array&&b?b(Uint8Array):r,k={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":h,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(b)try{null.error}catch(I){var x=b(b(I));k["%Error.prototype%"]=x}var S=function e(t){var n;if("%AsyncFunction%"===t)n=p("async function () {}");else if("%GeneratorFunction%"===t)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&b&&(n=b(o.prototype))}return k[t]=n,n},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=n(6743),C=n(9957),A=E.call(Function.call,Array.prototype.concat),O=E.call(Function.apply,Array.prototype.splice),T=E.call(Function.call,String.prototype.replace),P=E.call(Function.call,String.prototype.slice),j=E.call(Function.call,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,L=function(e,t){var n,r=e;if(C(_,r)&&(r="%"+(n=_[r])[0]+"%"),C(k,r)){var o=k[r];if(o===v&&(o=S(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===j(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=P(e,0,1),n=P(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,N,(function(e,t,n,o){r[r.length]=n?T(o,R,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=L("%"+r+"%",t),a=o.name,i=o.value,s=!1,u=o.alias;u&&(r=u[0],O(n,A([0,1],u)));for(var d=1,p=!0;d=n.length){var y=f(i,m);i=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:i[m]}else p=C(i,m),i=i[m];p&&!s&&(k[a]=i)}}return i}},5795:(e,t,n)=>{"use strict";var r=n(453)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(o){r=null}e.exports=r},592:(e,t,n)=>{"use strict";var r=n(655),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},24:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},4039:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(1333);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},1333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9092:(e,t,n)=>{"use strict";var r=n(1333);e.exports=function(){return r()&&!!Symbol.toStringTag}},9957:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=n(6743);e.exports=a.call(r,o)},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>C,yJ:()=>f,sC:()=>O,AO:()=>p});var r=n(8168);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var s=n(1561);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.A)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,h(),w.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),h=l(n),g=0;g{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},311:e=>{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},7244:(e,t,n)=>{"use strict";var r=n(9092)(),o=n(8075)("Object.prototype.toString"),a=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},i=function(e){return!!a(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return a(arguments)}();a.isLegacyArguments=i,e.exports=s?a:i},9600:e=>{"use strict";var t,n,r=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,t)}catch(f){f!==n&&(o=null)}else o=null;var a=/^\s*class\b/,i=function(e){try{var t=r.call(e);return a.test(t)}catch(n){return!1}},s=function(e){try{return!i(e)&&(r.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((u||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(n){}return!1})}e.exports=o?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,t)}catch(r){if(r!==n)return!1}return!i(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(c)return s(e);if(i(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},8184:(e,t,n)=>{"use strict";var r,o=Object.prototype.toString,a=Function.prototype.toString,i=/^\s*(?:function)?\*/,s=n(9092)(),l=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(i.test(a.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===o.call(e);if(!l)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&l(t)}return l(e)===r}},3003:e=>{"use strict";e.exports=function(e){return e!=e}},4133:(e,t,n)=>{"use strict";var r=n(487),o=n(8452),a=n(3003),i=n(6642),s=n(2464),l=r(i(),Number);o(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},6642:(e,t,n)=>{"use strict";var r=n(3003);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},2464:(e,t,n)=>{"use strict";var r=n(8452),o=n(6642);e.exports=function(){var e=o();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},5680:(e,t,n)=>{"use strict";var r=n(5767);e.exports=function(e){return!!r(e)}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},1798:(e,t,n)=>{"use strict";n.r(t)},8665:(e,t,n)=>{"use strict";n.r(t)},1818:(e,t,n)=>{"use strict";n.r(t)},641:(e,t,n)=>{"use strict";n.r(t)},119:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'

'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},9211:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},7653:(e,t,n)=>{"use strict";var r=n(8452),o=n(487),a=n(9211),i=n(9394),s=n(6576),l=o(i(),Object);r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},9394:(e,t,n)=>{"use strict";var r=n(9211);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},6576:(e,t,n)=>{"use strict";var r=n(9394),o=n(8452);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8875:(e,t,n)=>{"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=n(1093),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===a.call(e),r=i(e),s=t&&"[object String]"===a.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var m=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var h=0;h0)for(var g=0;g{"use strict";var r=Array.prototype.slice,o=n(1093),a=Object.keys,i=a?function(e){return a(e)}:n(8875),s=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},1093:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},8403:(e,t,n)=>{"use strict";var r=n(1189),o=n(1333)(),a=n(8075),i=Object,s=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),c=o?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=i(e);if(1===arguments.length)return n;for(var a=1;a{"use strict";var r=n(8403);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r{var r=n(4634);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,t){return s(a(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],f=n.index;if(s+=e.slice(i,f),i=f+d.length,p)s+=p[1];else{var m=e[i],h=n[2],g=n[3],y=n[4],b=n[5],v=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=h&&null!=m&&m!==h,x="+"===v||"*"===v,S="?"===v||"*"===v,_=n[2]||u,E=y||b;r.push({name:g||a++,prefix:h||"",delimiter:_,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:E?c(E):w?".*":"[^"+l(_)+"]+?"})}}return i{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},6969:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{var r=n(6763);const o=n(6969),a=n(8380),i=new Set;function s(e){void 0===e?e=Object.keys(o.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...i,...Object.keys(Prism.languages)];a(o,e,t).load((e=>{if(!(e in o.languages))return void(s.silent||r.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),i.add(e)}))}s.silent=!1,e.exports=s},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++o;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},8692:(e,t,n)=>{var r={"./":8722};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=8692},3157:(e,t,n)=>{var r={"./":8722};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var s={},l=e[r];if(l){function c(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in o(t,a),s[t]=!0,n[t])s[i]=!0}t(l.require,c),t(l.optional,c),t(l.modify,c)}n[r]=s,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),c=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(l);i=i.map(c),s=(s||[]).map(c);var u=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(u[t]=!0,e(t))}))}));for(var p,f=r(l),m=u;o(m);){for(var h in p={},m){var g=l[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var y in d)if(!(y in u))for(var b in f(y))if(b in u){p[y]=!0;break}for(var v in m=p)u[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,s={},l={};function c(e){if(e in s)return s[e];l[e]=!0;var o,u=[];for(var d in t(e))d in n&&u.push(d);if(0===u.length)o=r(e);else{var p=i(u.map((function(e){var t=c(e);return delete l[e],t})));a?o=a(p,(function(){return r(e)})):r(e)}return s[e]=o}for(var u in n)c(u);var d=[];for(var p in l)d.push(s[p]);return i(d)}(f,u,t,n)}};return w}}();e.exports=t},5606:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=i(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u1)for(var n=1;n{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6763),o=n(6540),a=n(9982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n